skysight-inc/HackerNews huggingface dataset:
Yea, more of an issue of how this python library can cause misunderstandings, and ChatGPT failing in the same misunderstanding that would have been made by an engineer who lacks experience in that library.

This mistake would have happened even if they did not use ChatGPT.
Who the fuck wants to actually live in that kind of world as an employee?
Buy the book. It's hardcover. Feels good in the hands.
The State government in New York has been run like a mafia family, (including premeditation and predestination of position appointment, legislation, policy shifts etc as the norm) for some time now.

Please note: this can barely be considered a partisan comment.
>Microsoft laying off some people and child labor are in nowhere comparable. You lost the argument here.

Only the comparison, based on the part I quoted and replied to, wasn't about merely laying off some people. It was of maximizing shareholder value - of which this, and treating employees as disposable in general, is just one of countless examples.

And whose results, in aggregate, are comparable, if not worse, than child labor.

>You can go work at your local mom & pop SW shop if you want a cushy job for life. Of course you won't get a 400k TC package to buy that dream house either.

It's as if you're talking about some imaginary universe, where mom&pop SW shops are squashed by Big Tech in all kinds of ways, and where regular shitty jobs, with no "400k TC packages", from Walmart stuff to diaper-wearing Amazon warehouse workers, and countless others, are not also treated like disposable "human capital" and fired without second thought even when those companies make record profits.
Why did you just quote the start of the article?
To be fair, Instagram flags random posts all the time. I wouldn’t read too much into it.
The bad thing is what they did, not that the disclosed it.

I agree that this is probably to their disadvantage, but I would much rather have people admitting their faults than hiding them. If everyone did this the world would be better.

Of course the best solution is to not have faults but that is like saying that the solution to being poor is to have lots of money. It's much easier to say than do.
Oh man... it was just a random example of a business people regularly slam publicly for bad behavior with tons of alternatives. Feel free to fill in a bad company of your choice but often people simply keep going back to the company that ripped them off even when its trivial to change was my point.
> The inverse association between penis size dissatisfaction and gun ownership is linear; however, the association is weakest among men ages 60 and older. With these findings in mind, we failed to observe any differences in personal gun ownership between men who have and have not attempted penis enlargement.
I suspect it's just a different culture. People coming from UNIX and C learn from tutorials that use AT&T syntax, and probably would never think of writing code in assembly to begin with.
> It's actually a tricky bug, because usual tests wouldn't catch it (db wiped for good isolation)

Volume/load testing (or really, any decent acceptance testing) would catch it.
Overcomplexity of the stack strikes again.
The assumption is AI would exponentially improve itself.

If theyre dogfooding? The singularity is a natural belief'
Could you now address the objection? If that's the case, who's buying all the output?
I'm not sure if it's the same study or not but here they seem tobgave compared it with sham treatment: https://neuronewsinternational.com/flow-announces-pivotal-tr...

Where are you seeing that the trial mentioned in the article isn't double blind?
In their defense, I find SQLAlchemy syntax quite horrible, and I always have to look up everything. It also got a 2.0 release recently which changes some syntax (good luck guessing which version ChatGPT will use), and makes the process even more annoying.
I find the probability of someone on the internet being able to give you sound advice, without knowing your situation and personality extremely small.

For me personally it is most of the time about the balance between what you can afford, what would you think you would like to achieve and what you miss would. Reasonably, most of the people can't "have it all" (family, money, peace of mind, results, etc.).
"Boeing is on the verge of Bankruptcy"

Come on, this is like those American videos about how China is about to collapse at any second.
So men with guns are happier with the size of their junk?
This, too, is often a component of the grey-area, (bordering or rhyming strongly with fraud,) that a lot of these firms are finding themselves in.
> If it appears human, we will develop a false sense of trust. But you can never trust it as you would trust a human.

I actually really disagree with this. I think it's easier to distrust things that are human like. We are used to distrust humans. Less so things that seem like neutral tools.

For example, people mindlessly fill out forms presented by large corporations asking for personal information. I think people would be less inclined to trust an LLM with that information, even if it it's actually likely to be less actionable (at least with current capabilities).
The problem with this line of labeling is there are multiple possible “spectrums”. I’m not sure what the best visualization would be… Like a starburst, with the center being normal, and all possible disorders going away (except they can be combined, so this isn’t perfect either).

But, if you’re asking about the typical autistic inability to communicate with others, then yeah, 0-1 works as well as any. Just don’t take it as literal or as the only possible set of traits.
I know. He must be oversimplifying. It's pretty basic stuff, the way it's phrased it's definitely wrong.
> 1,283 with known malicious code (229 million installs)

Not expecting that many.

I sometimes randomly try interesting extensions out. Will not do this again. Should only install extensions recommended by Microsoft I guess.

Maybe the same applies for browser extensions?
VA Has the World's Biggest Data Center Market. Can It Also Decarbonize Its Grid?
I wonder how much spectrum screaming we’re doing from the perspective of other species’ sight and sound.
Glad I hit the mark! I'll provide a copy below. Fair warning: only tested on Linux, not Mac/BSD:

NOTE_DIR="${NOTE_DIR:-${HOME}/notes}"
CURRENT_NOTE=$(date +%Y-week%V)
LAST_WEEK_NAME=$(date -d '7 days ago' +%Y-week%V)
NOTE_PATHS=("$NOTE_DIR/$CURRENT_NOTE" "$NOTE_DIR/$LAST_WEEK_NAME")
EDITOR="${EDITOR:-vim}"
if [[ $EDITOR == *vim* ]]; then
# Run the vim-like editor with tabs
$EDITOR -c ':tab all' "${NOTE_PATHS[@]}"
else
# Run the editor without vim tab arg
$EDITOR "${NOTE_PATHS[@]}"
fi

The bit for '$EDITOR' makes this work for 'vim', but also 'gvim' (vim-X11) and 'neovim'.

The assumption for 'else' is that the other editors simply accept an array of arguments with no other direction required

Edit: I realize now I misspoke - no yearly directories [anymore]; dashed names instead! Apparently I quit that in week 10 of 2023.

IIRC, managing the directories added a few lines I didn't care to keep. I don't look outside of the two week window often :)
Volvo Is Shifting EV Production to Belgium from China
See, this is the sort of thing I expect chatgpt/copilot to produce. Instead, I ask for a joke and it returns the most flat-lined humor. Guess I'll have to run my own local models.
What? This doesn't make any sense:

1. First, if you look at the code they posted, they had the same bug on line 45 where they create new Stripe customers.

2. The issue is not multiple subscriptions per user (again, if you look at the code, you'll see each Subscription has one foreign key user_id column). The problem is if you had multiple subscriptions (each from different users) created from the same backend instance then they'd get the same PK.
Thanks for confirming my suspicions. I hate all religion, though for real harms and not imagined ones.
I came here to scream Raycast… but this is a great breakdown. Raycast replaces _so many_ apps (and even web browser functionality) for me, and I’m not even on the Pro tier.

To your list, I would add app shortcuts / key commands / quick links / snippets / code image generators (optically from selection) to name a few.
Rectangle - Window Management

Firefox - WebBrowers Because it's not Google

Folx - BitTorrent & Download Manager

Wireguard - VPN

DisplayLinkManager - Multi Display Manager

DrawIO - Diagram Software

Warp - Terminal

IINA - Video Player

CodeEdit - Text & Code Editor

Bitwarden - Password Management
can't be modeled is probably not what I should have said, rather I meant more like the error for a globally optimal model is still high
I was sad when the creator tried to raise enough funds to open-source Sciter and there wasn't much interest. If 1% of the people who complain about Electron had pledged something, we would have it as a good alternative today.
Yeah, but Lithuanians were the biggest slave traders on the Baltic sea up until until Christianity was widely adopted in the 15th century
Possible Boeing future CEO candidates [video]
Is that marketing (advertising) or product market fit?
> In betting on outcomes, there are two roles - bet (“long”) and lay (“short”).

I have no interest in the Humpty Dumpty principle of word usage. My point was not about the names we use for things, but about the things themselves. You can't make what has been called "gambling" in the discussion up to now the same thing as what has been called "insurance" in the discussion up to now by changing the words you use to describe them.

> You’re saying that because these are morally different

I have said nothing whatever about the relative morality of gambling vs. insurance. I have only pointed out that they are not the same thing, they are opposites--gambling is taking on risk, insurance is transferring it.
This is so cool! We need more of this in the world. I don't have any interest in washers, but if her interest is more than superficial I'm sure she could make them interesting. I would definitely chat her up and listen to what she has to say. She'd also be good to do an AMA.
Sure, you can follow along the old meme: https://twitter.com/vbhvsgr/status/1419369352164372482

Though in practice in decent languages it's much less likely you'd write your own `any -> any, any`-typed library for whatever (in this case DB interactions), and use a strongly typed one in which this would at least have been a much more explicit mistake to make.
Would "we screwed up by blindly trusting ChatGPT" annoy you less? Because that's how I read it.

Or more specially, given the context: "We were in a rush to translate a bunch of code and ChatGPT was doing such an impressive job helping that we became complacent and forgot that it just parrots back text it has seen before with something that looks like intelligence but without actual comprehension. So when it copied a common bug, we weren't paying enough attention to catch it."
> Four should be the basis of antitrust policy. Less than four, and there are two options - break up, or become a regulated public utility.

3 options; usually monopolies are matched by regulatory constraints making competition expensive. Removing the barriers to other firms entering the market is always an option.
It's a practical constraint rather than a theoretical one.

If your photons are 1 nm wavelength, you're making a black hole of at least 3.37e17 kg:

http://www.wolframalpha.com/input/?i=0.5nm%20%2A%20c%5E2%20%...

Which is about 3e34 joules, or the total energy output of our sun over 2.5 years.

The longer the wavelength, the more energy you need.

You have to also make sure they're timed precisely enough to all be within the (target) horizon at the same time.

IIRC there's also a quantum mechanical limit on energy density distributions (I have a lower confidence feeling that this is Heisenburg uncertainty?), but I don't know enough about it to get Wolfram Alpha to calculate it for me.
Cardio Workout for a Healthy Heart
I would suspect this is entirely in response to llama-3 almost topping the human preference leaderboard not by raw performance but by having the slightest amount of personality. Nobody wants to talk with a bot that sounds like a fuckin dictionary even if it is 5% smarter.
This is actually not totally correct. AAV’s form episomes, which are circular DNA structures that are basically extra chromosomes. The fact that AAV’s don’t randomly insert themselves into DNA makes them safer for clinical uses like this.

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2519600/
Embeddings arnt grnerative AI.

Theyre just vecotors of arbitrary.dimension and similarity is calculated by a ndimensional fnction.
There is no vendor lockin with nextjs
Load testing - yes, but it's not that usual unfortunately. (Even though it should be) Acceptance testing - again, maybe, if they use 20 or so subscriptions in one batch, which may not be the case.
I don't think that perspective really holds up to practical scrutiny. The most common sources of tech debt in the real world are when new features are tacked onto existing software without integrating with them fully/smoothly.

As a relatable example, think about how the Control Panel in Windows still uses a 2000s-era UI, even as the Settings menu, and most of the rest of the OS, uses a new UI. The likely reason for this is that it was faster to tack on a new UI and leave the Control Panel as-is. It would've taken more time to refactor the Control Panel from the ground up to accomodate a new UI.

The end result is that there are now two separate settings interfaces, and there is probably some ongoing engineering effort required in maintaining both and keeping them coherent with one another. That's a classic example of tech debt - save time now, but it may cost you later.

But, by your definition, the old UI and the new UI are separate pieces of software, therefore there is no debt. How does that track?
Hello, HN!

I've taken a few months off between jobs and decided to properly build something I've wanted for a while now.

MemKit is a spaced-repetition flashcard app done right. (Disclaimer: it's still a work in progress, so it's not "done" in that sense of the word.) Here's what I mean by "done right":

- Minimal friction to use. You can immediately start using the app. You are automatically given an account. You don't have to sign up or type in a username or password.

- No demands. You don't have to set a n email, phone number, or even a username! But you can, if you want to. Email or phone number is a necessity for account recovery, of course. Note that emails and phone numbers are not yet implemented.

- No ads. No selling data. No algorithms to maximize use — users should only use the app if and when they want to.

- Maximal simplicity / minimal complexity. There is really only one feature — tags. Tags allow you to group together arbitrary things for ease of review (e.g., #math groups together all math things). When you make a thing, you can associate to it multiple tags. And a single tag can be associated to multiple things. You don't need "courses" and "flashcard sets" preclude the association of a single flashcard to multiple sets, in many competing apps. I have attempted to avoid bloat and complexity as much as possible.

- You grade yourself. Many education apps grade your answers for you. I think self-grading is a crucial part of the learning and memorization process.

- The right technology. This is the most contentious point. I chose Rust and an extremely fast server-side rendering framework, Maud, coupled with a minimal amount of vanilla JS. Nginx is my web server and, I know this is somewhat dubious, redis is my primary DB. I want to see how far I can scale on 1 $30/month server as my only cost, outside of my domain registration.

Please let me know if you like it!

Roadmap:

- emails and phone numbers (going with mailgun and twilio)

- better insight into time-to-review, how often a thing was missed, etc.

- API, image, and sound support to enable, say, uploading 1,000 most frequently used Spanish words

- AI generated quizzes. Obviously comes with all current downsides of LLMs but self-grading avoids many of these problems.
SQLAlchemy syntax is ridiculously obvious and straightforward as long as you're not doing anything weird.

The takeaway here is that they weren't mature enough to realize they were, in fact, doing something "weird". I.e. Using UUIDs for PKs, because hey "Netflix does it so we have to too! Oh and we need an engineering blog to advertise it".

Edit. More clarity about why the UUID is my point of blame: If they had used a surrogate and sequential Integer PK for their tables, they would never have to tell SQLAlchemy what the default would be, it's implied because it's the standard and non-weird behavior that doesn't include a footgun.
Isn’t this just one of the milestones that’ll eventually happen? Blind panic due to security always occurs at some point. There must be a ‘law’ defined for this somewhere.
Having to recursively and iteratively hunt missing dependencies with ldd can be pretty tedious. So this seems like a good improvement. Will try it next time I get an obscure not found
I strongly recommend listening to the interview that accompanies that article - it influenced my thinking on this issue a lot. https://www.youtube.com/watch?v=iyJj9RxSsBY&t=9m21s
In general I would agree.

But AI can take the all the positive traits from humans to sound as likeable and trustable as possible (and companies curretly do that).

Social engineering is a thing. We like and trust some people, and some we don’t, without any evidence about their behavior history.

And, doesn’t your example conflict your intial claim? Because people trust humans, they send forms.
Why not? That’s £500/day. It’s a standard UK contractor dev rate.
I'm a long time Apple fan and user but I very much dislike their App Store and its policies. In principle, a fair and open App Store (outside of things like porn and illegal activities) make sense. But it's neither. It's used as a crutch to beat developers with and actively harm users.

I'd much rather they fix their policies than be forced to by the government. But they don't actual care about the users, and so I can't wait until the US does what the EU did (even if its not the best solution).
> db wiped for good isolation

Why? In fact, not having good isolation would have caught this bug. Generate random emails for each test. Why would you test on a completely new db as if that is what will happen in the real world?
The same amount.

The 4 companies are competing for their share of the existing business
we needed a command line network debugging tool/app for some customers to run. turned out that Go's ability to cross-compile and build single-binary apps on mac/windows/linux/android/freebsd was just perfect for that use case. single code base, easy build management, single-file .exe distribution per platform, same app experience on all platforms for customers. A+.
This is a different project from https://spreadsheets-are-all-you-need.ai/index.html ( https://news.ycombinator.com/item?id=39700256 ) (might be interesting for another angle on it, doesn't look like it has much of a presentation beyond the README though.)
Wait… what!?

This is the first I’m hearing of this. Do you have any references?
While the physical form of this is wonderful, the thing I would really want to do is sit down with her and discuss the characteristics and uses of each washer.
in germany, austria and switzerland, the sharing of such information is illegal, and at best possible with a warrant. in the european union a general storing of all contact data is also not allowed. member states may only have laws that allow storing such data under very specific circumstances.
I'd want separate.

Check out monkeytype (free typing practice thing) that has a nice stats-over-time/personal-best scores.
One solution would be to have a separate default (static value) and default_factory (callable that returns a value) keyword argument, and make a static default on a PK (or other unique) column, by default, be an error.
If you draw a venn diagram of people that collect washers, and people that would set up a booth to talk to others, the intersection is going to be extremely small.
Your comment doesn't make any sense to me. 200ms is already extremely low latency.
Nothing dependent on an honor system lasts long (in the US at least). Some bonehead always ruins the nice thing! Life with the inevitable bad actor is worse for everyone… but we manage.
Fair; re-reading TFA, now I realize you explicitly instructed me to stop reading in the first paragraph :)

Trying to redeem myself with an on-topic question: isn't what you want more of a "refactoring of Blink" than "building a browser engine"? I would be surprised if a complete rewrite was really necessary for the features you want, since "saving state" already happens to some extent in all engines (even if it's just reloading from the cache) and I've seen reports about Gecko integrating multi-core cascade from Servo. What makes it hard to incrementally improve upon the current engines?
Came to ask this same question. I have a post-receive hook on my server that instamagically deploys whenever I push to it. It is simple and awesome and is basically just a builtin git feature.
Tldr: we want experts in our programming language but they charge a lot so it’s not good for our budget.
1Blocker — Ad Blocker
Bear — For note taking
Calendar 366 — Mostly for its Menu Bar feature
Homebrew — Package Manager
Magnet — Window Manager
NetNewsWire — RSS Reader
PopClip — Adds iOS like pop-overs to macOS
Solstice — Sunrise/Sunset times
StopTheMadness — Safari Better Web Extension
Tailscale
Things — Todos
VSCode
Can anyone identify the object on the table to her right?
We are talking about the government being the party that wants the information, so in that environment needing a warrant is not a huge hindrance.
Can't use Mac without rectangle. You don't need magnet.

Owly is my fav for anti sleeping at certain times. Though critical to disable the ads via startup features. I haven't found abetter one. Though it has quirks.

Also some commands in the cli for like key repeat. Like wtf why can't I turn off accent hold when I want to repeat letters.
that’s a bold claim, could you give an example?
Haha ya that's how it works atm.

My idea was that you could run a few rounds to practice certain operators and watch how your average scores improve over time. And since the rounds are only a minute, it's low commitment.

Going to add other modes though based on feedback
A few years back I found a youtube channel about unusual guns.

And it was fascinating because they had all these zany, really distinctive guns like four-barrelled shotguns and revolver-rifles.

Unfortunately they ran out of such weapons pretty quickly and the channel devolved into a lot of "this gun that looks and works just like every other AK-47 is interesting because it was made in Hungary, and most Hungarian AKs received an upgrade but this one didn't" which I personally felt was a bit of a snoozefest.

But if you're interested in seeing a great many very minor variants of mundane items, you might like gun history.
Welp yeah that won’t work
Golang, in my experience is good for developing:
- CLIs
- Backend services exposing REST, gRPC APIs which are fast, and performance
- pretty decent for scripting too
- event based services which need to scale using concurrency

I'd think twice about using it for web front end or complicated GUI although both are of course possible
Isn't webGL's GLSL directly delegated to the driver just like normal OpenGL? Also one could easily write a lot of frontends and a single massive centralised backend with multiple processor targets and optimisation profiles. Think about V8 which works for both JavaScript and WebAssembly. This would create a much simpler codebase and if you're going to use a parser generator it could very well be a breeze.
Basically the Linux CLI version of depends.exe.
Why X-Rays Can't Push Interstellar Sails
Good point thank you! I'll add another decimal point