skysight-inc/HackerNews huggingface dataset:
This was the most interesting piece (imo): Things like GPT-4 are often shorthanded as generative AI tools, and their best-known applications include producing reports or essays, generating lines of code, and answering user inquiries on endless subjects. But Leufer emphasizes that they’re broader than that. “People can build apps on GPT-4, but they don’t have to be generative per se,” he says. Similarly, a company like Microsoft could build a facial recognition or object detection API, then let developers build downstream apps with unpredictable results. They can do it much faster than the EU can usher in specific regulations covering each app. And if the underlying models aren’t covered, individual developers could be the ones held responsible for not complying with the AI Act — even if the issue stems from the foundation model itself.
People are just stupid on this topic.

The moment the Rubicon is crossed, both the US and China would fall into an all out economic depression and that is exactly why that Rubicon will not be crossed in my lifetime.

This might be an issue at some point if you just graduated high school but for now we have mutually assured economic destruction.

I am far more worried about a debt bomb going off in China than a real bomb.
I don't write Perl code, but its CLI has been a very good way to replace sed with something decent. sed not supoorting Perl regex syntax, the most commonly kind of regex out there by large, is frankly disappointing. Even grep was able to put it together and add the -P switch. But sed is still stuck in the prehistoric syntax of ERE ("Extended Regular Expressions", as described in man pages) which e.g. instead of \d for a digit, use [[:digit:]], a syntax present in... zero? other tools or programming environments.
"It compiles so I don't need tests" is IMO more likely to be seen in relation to Haskell or Rust. Now with C# (and other popular languages) you may encounter big applications that don't have any kind of automated tests, but I don't think people are proudly declaring that compile=OK among this crowd.
SAT solvers are fun. Math is fun. Neither is the most important part of development.

Most of my time is not spent formally testing these methods; it is understanding how systems interact and their performance characteristics.

I disagree with OP's assertion about legacy languages; they have largely focused their improvements on the areas that actually matter to my day to day development.
https://archive.org/details/threescientistst00wrig
"I myself find it faster to work out algorithms in APL; then I translate these to PL/I for matching to the system environment."

--Fred Brooks, The Mythical Man Month, Ch. 12.
Dumb clickbait headline. Sure it’s a dumb form but it’s hardly the first or terribly uncommon to have a limited set of expected special characters. And maybe jaded but my first assumption is that was a set, not an example.

Finance sites, utilities, I think the treasury all have something similar. Maybe this person is super young and doesn’t have to interact with crusty online services.
I’m slightly confused by the aim of this article. It goes out if it’s way to state in the first few paragraphs how approachable it is to newcomers, then dives into talking about how good it is at making, other programming languages.

How big a desire of the average neophyte is to make themselves another language?
> NTSB investigating the runway landing of a Boeing 712 without the nose gear extended at Charlotte/Douglas International airport in Charlotte, North Carolina.

It's difficult to trust a news source that can't properly identify an airframe model in an article about an airplane crash. As far as I can as a tell, Boeing has never produced a model 712, it appears what the plane in question is some variant of the 717[1] but that's only a guess as I'm not an expert in the field.

[1] https://en.wikipedia.org/wiki/Boeing_717
>The Government’s amendment will gag people from speaking about how the DPC handles their complaint, and from speaking about how Big Tech firms or public bodies are misusing their data.

What is it with English Speaking countries and like the UK, US, Australia, now Ireland ?

If I understand DCP, this is suppose to prevent someone in Ireland from complaining how their personal data is used ? Seems English Speaking Countries are thinking of the dumbest laws in relation to tech.

Maybe I never hear about other countries tech laws due to where I live. Are laws like this and backdoor encryption laws being looked at in Germany, France, Nordic Countries ?
I remember when we first moved to the cloud from a datacenter. It was in us-east-1, and literally the day after the switch over (before we started configuring multi-region) was the first time us-east-1 had its major outage.

The owners were pissed that it had gone down and it wasn't that it went down, it was that we were basically sitting around with our thumbs up our ass. When things went down in our DC, we just fixed them or at least we could give an ETA until things went back to normal. We had absolutely nothing. We couldn't access anything, and AWS was being slow in acknowledging an issue even existed.

That was a good lesson that day: the cloud is not necessarily better.
France Bans Short Haul Flights, with Numerous Exceptions
US public wants climate change dealt with, but doesn’t like the options
Well we can build a startup that offer cheaper health/life insurance based on phone data tracking and see how people would react.

This exists. I saw a commercial for it on late-night TV.

At the bottom it noted that it was not available in California or Massachusetts, which is what made me curious to look into it and see why it's so bad that it's been banned in certain states.
That is one option, and it is fine. Adapting to people treating a PoC as a full product by making it a more full-featured product is basically stopping doing PoC.
Our data product is delivered in CSV format. Even though I create user documentation mainly using csvkit, grep and sed, I would love to convert all those solutions to AWK. Sometimes AWK is more readable than sed and csvkit requires installation.

It will be nice to have a awk cookbook for CSV. In terms of CSV maniupulation and querying there is only a limited number of operations and I think there is potential to standardize those operation using AWK.
It absolutely isn't the same as Apple Watch, not sure what you've been looking at.

Apple Watch lasts hours with active GPS tracking while Garmin will last for a day (or even several days when in so-called Expedition mode).

Nothing from Apple comes close to Garmin's battery life at same usage.
If your theory is that they can raise prices arbitrarily for profit, then you have to explain why they have not already done so.

Insurance companies complete on actuarial accuracy. I'd rather bad drivers pay more, and be in incentivized to drive better, than young drivers and all drivers pay more.
I just use it to create the initial layout and then if I need anything additional I just ask chatgpt to create it. You still have to know what you’re doing but I find that GUI code is mostly boilerplate code that is really tedious to create from scratch. ChatGPT is a 5x productivity boost.
Skipping title and end credits should be configurable and automatic per show. This half measure is almost as bad as nothing at all. If I enjoyed having the remote in my hand constantly I’d have a cable subscription instead.
Dev tools market is indeed an interesting business to make tons of money. Because of the huge value that it offers to businesses. If you look at the dev tool product companies (even open-source ones) started 10 years back, most of them were either acquired for billions, and many of them did IPO. And most VCs missed this opportunity since they were skeptical about this space.

I think that is what is driving the current VC funding trend in dev tools. Also, considering the future of software engineering, dev tools will have even more adoption than before.

And regarding the pessimistic comments in HN, they are mostly coming from people who lack in-depth knowledge about how businesses work.
London Office for Open AI
If running with -m, or -c and an import of package matching name of malicious package. Doesn't happen when running your own script (located in another directory) that imports that package, even if you are running it in that directory.
I strongly disagree, I think you misunderstood the purpose of a PoC

We build these things to flesh out ideas, to put something in front of PMs and ideally customers, to get feedback, and to make sure that we have a good bead on what the Most Important Problem is.

PoCs are disposable, sticks-and-ductape contraptions to demo features, and maybe have a small subset of users to play with for a limited time. They are by no means starting points for actual development.
Temperature-Dependent Sex Determination
Because they make enough money that they can afford to make one and the model expands to match the resources available to train it.
"I've found a way to reduce payouts and reducing adjuster staffing, by helping drivers avoid crashes"
Check out Simple SMS Messenger[1], been using it since Signal dropped SMS support.

[1]: https://f-droid.org/en/packages/com.simplemobiletools.smsmes...

[2]: https://f-droid.org/en/packages/com.simplemobiletools.thanky...

[3]: https://github.com/SimpleMobileTools/Simple-SMS-Messenger
I am initial user of Kagi. It was great until they started the pricing. I quit as I dont see simply search service is worth their pricing. I have DuckDuckGo alternative which is free. Then you.com come along which I now pay monthly. Kagi need to offer more if they want that kind of pricing. Or offer a low end versions that cost like Bitwarden.
I currently have a Banglejs.2 and although the UI doesn't feel as snappy, it's IMO a decent enough alternative, although I miss the buttons from my Pebble.

I do might the Timeline UI, it still is in my opinion the pinnacle of what a smartwatch OS should aim for. It focused to keep the core function of a watch (time and time-related events) at the top.
> Add a supplemental registration tax to EVs and hybrids to make up the cost of consuming less fuel

Q: How much fuel duty and tax does the average ICE vehicle (or rather, its driver) contribute?

I did some back-of-napkin math and came up with a figure of €500
Doesn't look like ChatGPT. Grammatical errors like "on large data corpus," the poor comma usage, misspelling crude, etc. are more of a human thing.
What are you going to do, _not_ walk around with a phone in your pocket?

Sounds like me three days a week.

I walk out of my home carrying nothing more than a $20 bill and a newspaper. I go to the French cafe a couple of blocks away and have a leisurely lunch while reading the news without any tech or financial company following me around tracing, tallying, tabulating, and selling my life.

I call it "normal."
Cosmology is so interesting in that everything is inferred so indirectly.
You pick a version of the compiler and stick with it until you're ready to try a newer version?
-P?
Using Rust as an example, both the borrow checker ("region-based memory management": https://www.cs.umd.edu/projects/cyclone/papers/cyclone-regio... ) and affine types were "useless" in that they failed to find any practical adoption in industry... until they suddenly weren't. Nearly the entire field of mathematics is "useless" in this way, until one day somebody accidentally invents Boolean algebra or Fourier transforms or etc. and changes the world in the process.
It's not just hope right? Many of them are doing serious business. But I just don't know how they provide clear value.
All you need is Cody
That's a dev-centric perspective.

Alternately, a PoC should address the core business and usability questions. Everything else, including technical feasibility, is secondary and trivially solved with enough resources.

In the order of importance, the first question is "is this worth doing", only then you ask "how can we do this"
Would the increase in deaths YOY be related to increase in drivers? https://hedgescompany.com/blog/2018/10/number-of-licensed-dr...

Maybe the driving age should be increased to 18 or 21, and cut off at 75. Relatedly, what type of driver causes these accidents the most? My guess is that it is a subpopulation of teens and elderly.

Edit: the safety recommendations in the article do not account for a steady influx of new drivers. I am unconvinced that applying clamming or lower limits neccesarily does anything to mitigate a careless, inattentive driver. Tbh, age limit seem to be the most easily implementable solution. Voters may hate any who push for it though (but if it comes from a bipartisan group, then the blame can be diluted).

Applying age limits may also help with congestion issues.
Even if you make it clear they will continue to use it.

I have one bit of code 'i do not claim any knowledge of' that I bashed out in under 1 day with promises that it will be re-written soon. 5 years on I still get questions about it. I get questions because it is a PoC that does one thing very well and everything else badly.
> In reality, the ping you’ll experience will be worse, at around 215ms (which is a pretty amazing feat in and of itself - all those factors above only double the time it takes to get from Sydney to the eastern US).

Isn't it double just because ping measures round trip time?
Fair point, in the context of a silver bullet his intent was clearly to describe a single thing that improved productivity across the board. I had to go re-read the paper to reset my perspective.
Dafny is a cool language.

Conal Eliot, in his 2023 Zurihac talk, says that in order to get efficiency (faster computers that can do more with less) at scale (not merely resilience which we get by adding redundancy and operational tooling) we need languages and tools that allow us to precisely specify the correct program.

Dafny is a good step in that direction. I’m also keen to see where the depedently typed programming languages like Lean 4 and Idris 2 will take us. Proof-carrying code could be very useful.
We have Adult Search option available for API customers. This will be rolled out on mojeek.com very soon.
There seems to be pretty clear consensus that the OceanGate CEO was impervious to good advice.
How do you perform correlation implies causation on this?

I am Canadian and the government actually said a couple of times that WFH employees were more efficient.
I guess it might be better than no VPN in a pinch, but who would seriously voluntarily trust their browsing data to Microsoft? Sure, they might not be able to see everything because of TLS, but then again, it's using their browser, so who is to say this isn't another surveillance vector that we later will find out was using a flawed encryption scheme?
AI Could Pay Dividends to Americans, Literally
Hmmm yeah that's a good point. I've slept in my car while camping and had a decent time. Working with a laptop might be harder but maybe even good for focus (with regular breaks ofcourse).

I had a mini-AC unit (basically just a fan that blows air through some ice water) which works pretty well as long as I have a steady supply of ice.
How does RedHat know said user is the one who distributed the changes? If the changes are given to Team Rocky on CD via USPS, there would be know way to know which RedHat user is the one giving changes to Rocky.
This seems like a good use case for some sort of spam filtering. Maybe the web is that big, but what percentage of it is data someone will ever care about? I wonder if you could make a good-enough search with agressive filtering of pages before they enter the index.
Perfectionism vs. Pragmatism in Product Engineering
That ignores any other libraries you use which may not make the same choice as you.
I’ve got the phone driving app from Allstate that monitors my driving via an iPhone app. I’ve seen my insurance go down as a result.
It makes the same mistakes all the other watches I've tried do. It'll track drumming, for instance, as swimming. But it's easy enough to update the activity or just delete it from your history altogether.
What you're missing is the "why?". Why is vaccine safety such an important issue to him that he's bringing it up during a presidential candidate town hall? What problem is he trying to fix with these new studies? The answer is he's bought into a bunch of anti-vaccine conspiracy theories. His demand for improved vaccine safety is based on a false premise that vaccines cause various problems. That premise is what has been thoroughly discredited, and everything about his argument falls apart from there. He's not trying to fix any real problem, because there is no problem to fix. The only result here is spreading misinformation about vaccine safety, which increases vaccine hesitancy, which increases preventable deaths.

There are plenty of links to sources on his Wikipedia page, if you'd like more information.
> I think the nose contacts at 0:13, so gently it's amazing.

If you like that, check out JetBlue 292; landing's about half way through the video. https://www.youtube.com/watch?v=epKrA8KjYvg
Doesn't that raise the cost of the installation by an order of magnitude?
Privacy in the WeChat Ecosystem
…and an F150 uses more fuel than a car.

Your comparison is misleading. Compare an ICE car to an EV car, not the lightest EV to the heaviest ICE.
For me, its not just time, but also motivation. I cannot count how many site projects died in the early days, just because I came up with this impossible perfect thing it should be, having all the things. Then implementing it becoumes a chore. The amount of code/time I'd have to invest to make this imagination a reality becomes a mountain I cannot climb. Either because a lack of skill/knowledge, time, motivation, dedication, or just all of them. Usually this ends in me giving up the whole thing for good, ending most of these hobby project before they even began.

Starting with a "MVP", something that can be implemented quickly (relative to "the perfect thing") and provides some immediate benefit or feedback, pretty much always works better for me.

Its something I still stuggle a lot with. Its hard for me to get things done, because whatever I build never holds up to what I want it to be. But I think, I am getting better of accepting that, and just getting _something_ done.
FWIW, I co-authored this piece. Happy to discuss.
Sure but if your bet is that you're going to drag all of law to a new billing model that's similar to what mechanics have done the fact that you might not be successful is a significant risk point in the profile of your product and substantially affects whether or not someone invests. It's not a trivial solution that's easy to implement as an external vendor.

For instance, discovery is a lot more complex than doing a standard operation on a car and the variance in hours worked depends heavily on specific details of the case which lends itself very poorly to charging a standardized price for discovery.
Apple is not going to enter the commodity server business, that is just a race to the bottom and probably the reason they got out of it in the first place.

The only reason XCode Cloud (or XCode at all) exists is because people need it to develop for ios, if developers could choose anything else they would.

At this point they are a luxury consumer product company, that is where the margins are that have made them successful for the last 10 years.
>I'd rather some scrappy startup have all my data than my bank or my insurance provider

Facebook was once a scrappy startup.

As was Google.
If that's your view of success then many of the web's biggest services aren't successful
Aye, but cross runway collisions are still a thing. I rest at the gate :D
I know someone who's an actuary, and the reality is much simpler: people who consent to tracking tend to be safer drivers because they aren't afraid of the insurance company seeing their driving habits.

It gives the insurance company a way to identify a lower risk group of drivers so they can charge that group lower prices.
I wonder how much efficiency would be lost by using a thicker glass -- or even bulletproof material -- on the panels. I imagine this has been considered but there are technical and financial reasons not to.
Came here to recommend Withings. I have the ScanWatch and love it. All the other watches I've tried were either too dumb (o.g. pebble and the similar tiny Garmin) or too smart (android wear / Apple Watch). Withings strikes a perfect balance between the two
Show HN: I built an open-source “unit testing” suite for prompts ⮂ inputs
Hi HN,

I'm pleased to share Promptspot, an open-source (Apache License 2.0) project that helps automate testing of large language model (LLM) prompts against an array of input data.

Modern LLMs offer an enormous amount of leverage if you "teach the bot to fish" — i.e. simply prompt it with both a "system prompt" (which typically doesn't change often) and a dynamic input, which is often application state, search results, recent activity, user profile data, etc.

Existing playgrounds and prompt management systems often lack the rigor and flexibility required for this dynamic approach — and as more teams adopt this pattern, I hope Promptspot can become a useful tool for testing, monitoring, and centralizing this data.

Promptspot currently supports text-davinci-003 from OpenAI, but I hope to add support for more models soon. Contributions welcome!
State of Website Analytics in 2023
>You can make a well performing website through SSR and a backend templating language, yes.

>However , In a business setting with lots of developers this usually becomes an abhorrently performing website despite the SSR with the same templating language.

I'm not sure this follows. It's harder to do client side rendering because your data is across a slow HTTP barrier. And the client is maintaining state which is harder than stateless.

The problem with SSR is that it's usually tied with single applications which are usually monoliths. But neither of these are requirements for SSR. If you break up your monolith into modules and/or SOA you get the best of both worlds.

But for reasons I don't understand nobody does it this way. It's either monolith + SSR or microservices + client rendering
Inflection AI, the Year-Old Startup Behind Chatbot Pi, Raises $1.3B
US Judge Permanently Bans Digital Artist from Selling His ‘MetaBirkin’ NFTs
But dependencies can also be expressed by the location of a symlink
I can second the recommendation for QKSMS, it's simple and reliable in my experience.
I don't think it's wrong to take yourself down in a crazy unproven sub, even if you die. But taking paying tourists (not explorers; tourists) who are not experts and cannot vet the safety of your device -- that's unconscionable and probably criminal had the perpetrators survived.
It sounds good in theory, but this usually results in picking the cheapest freelancers.

A magazine which fires all its writers is not looking for quality, it's looking to cut costs.
I'm not oracle so I can't say if you are wrong but wouldn't that be a significant investment to go compete in a market where margins are not that great while risking to dilute their brand?
The actual scarcity of real materials, machinery, and labour in the world is not merely "some market mechanism".

It's indirect and inexact, but it's not random.
Adding tracker capability typically costs no more than the panels, so definitely not an order of magnitude increase.
I'm assuming that wind-driven "Baseball-Sized Hail" might also have a detrimental affect on wind turbine blades?
But this isn't necessarily proportional to the amount of wear-and-tear they cause on roads.
Isn't Clojure the literal "Lisp for the modern day(a.k.a JVM)"?

I hope I don't get kicked out of HN altogether for this comment :)
Ask HN: Best AR Device?
Apple vision pro looks incredible.
Someone suggested Xreal Air as an alternative already available. There is also Rokid Air.

What would you recommend ? Am I missing some other better alternatives ?