skysight-inc/HackerNews huggingface dataset:
What seems that the fundamental problem is that the functions depend on global state that is not explicitly passed in (is the user logged in?). Maybe an explicit session parameter could work better here. You only have a session when the user is logged in, so you can't even pass anything to the functions otherwise. It can of course be passed further recursively.
So what I meant is that you see the exact same maybe pattern in many projects but instead of returning null there is a guard that throws an exception. I agree with the solution.
i'm using it from time to time, for quick share of small files, and it always works great
You get far by only knowing the main categories: circle with red border is forbidden, blue circle is mandatory, blue square is informational.
I don’t disagree with the premise for very small applications, but

> The quiz state machine is full in memory

> The queue system for the matchmaking is in memory

Means those will be nuked as soon as a new version gets uploaded. it really wouldn’t have been much extra work to put this into SQLite as well, and would lead to a much better user experience during updates
My dad liked Oppenheimer too.

He is 65.

Maybe stick to cartoons? Rick and Morty and Marvel?
They did pretty good given that Barbie got the higher number of views/sales as well as the videos floating around of people who did the whole "Barbieheimer" tour who just surfed TikTok on their phones during the film (because of how bored they were I presume).

If this is how the general public reacted to a movie like Oppenheimer, its impressive how well they actually did viewer wise.
Easy gamble to make when you don't live in a country with regular 33'c temperatures at 60% humidity. And if your gamble turns out wrong will you compensate the victims? Will you advocate for borders to be opened up as they have to flee their countries?
> an opportunity for many of the people living near the equator to become more prosperous

Please tell us, what you have in mind. More economic growth?
there are multiple options depending on the form of training

But basically it's some (potentially complicated and roundabout) variation of given an anti-examples trace back the weight related to it and change them in some way.

through idk. what currently the best way to do so in low level technical detail is when it comes to LLM training

For example you could give it some input => trace weights => get output => pass output to LLM only trained on racist data => if racist LLM thinks it likely that it could have produced the output flag it as "bad" => identify relevant weights from trace which produced this "bad" output => change them (naively e.g. reverse apply gradients. Practically that isn't that easy. You have a hard time to differentiate between weights which contributed mainly due to e.g. word structure and such which contributed due to semantic problematic reasons and the perfect set of weight is likely not in the opposite direction of the bad ones).
>I am prepared to defend this point to the end.

Doesn't matter, you'd still be wrong about the correctness of the spelling. The development of differentiated versions of a language for racial, ethnic, and cultural minorities is accepted and studied by linguists in both spoken and written form, e.g.:

https://en.wikipedia.org/wiki/African-American_English

Alternate spellings like that are not considered mispellings, as they are usually intentional and/or part of such a dialect. Persons using them are not losing on a spelling bee, they're using an alternative "canon".

As for the paper: a model using statistical inference (going from statistics on how a group tends to write a word to an assumption of the membership to the group of someone writing like that) is not using stereotypes, it's using data (e.g. from online discussions of the group).

The association "use of languge/dialect X == lazy, etc" though, is racist.

That said, I'm willing to entertain the idea of "stupid" for other kinds of unintentional real mispellings like "they're/their". Those are not confined to a specific group though. Not that I don't make them all the time when quickly hammering some point in anger on HN...
Even without any editor features from the last 20 years (like auto-adding and auto-closing braces), typing semicolons and curly braces should not end up taking a significant portion of time.
"major banks 2008: too big to fail"

"Boeing: too big to be grounded"
> Tbh. after the recent sets of Microsoft ToS/Privacy Terms I would argue _any usage of Microsoft Windows and/or most Microsoft products_ is not legally possible in a public office handling any private or otherwise sensitive data.

Then MS is violating GDPR and must come into compliance, less it risks turning into a cashcow for the EU and get fined billions of dollars day after day.
The risk of not being compatible with XYZ Word/Excel/Powerpoint feature is too great. Do you really want your employees to not be able to open the client's document because you cheaped out on your productivity suite? Or, conversely, your prospective customer to not be able to open your proposal because of the same?

Alternatives did exist, who remembers Lotus Notes, Word Perfect, Open Office, Apple Pages, ..., but to use them today would be akin to deploying a new fangled AI web app as a Flash application.
that's a good example!
People need sometime to build tolerance to a given temperature. Someone who lives in Manaus or Belem do Para, Brazilian Amazonia would have a hard time getting used even to daily averages around 40F, and vice-versa.
This is just one big ad for their product.
Haha fair counter - but I think the typical current ways of reviews is more unnecessarily inefficient and the downside risk of something going wrong in a PR being merged is way lower than in the FDA/housing inspection case.

There are types of code changes that definitely need reviews - but those are the small minority of all code changes and the way we approach those changes should be different from how we handle all other changes
To me there's something very likeable about the highest offices in the land getting a public reprimand for not keeping things in order properly, it lets me dream I live in a society with equality before the law.
...and the rest of Africa, Indonesia and northern South America too. Talk about eurocentric...
And book Termination Shock.
One Billionaire took it upon himself to seed sulfur in upper atmosphere.

And
Not for global warming, but in The Matrix, humans darkened the skies to fight the machines.
I am used to the curly brackets, and my keyboard muscle memory is used to the curly brackets.

I put the cursor over a curly bracket, press CTRL-M, the cursor navigates to the other curly bracket.

My eyes also parse code much faster when it is both indented and with proper brackets.

Python just makes more difficult some common tasks like commenting out a try/catch block without having to reindent all the code inside.

Not a win IMO. In fact, Python presumes it is easier to use, while in reality, it is not.
You are right, but i can roll updates during the night without causing any issue.
Since after you finished playing you don't have a way to access your old games anymore
> “Functions should do something, not maybe do something…”

But it did do something, it checked if the user logged was logged in first.
It's pretty clear attempting to get numerous bad actors to fix their polluting behaviour isn't going to make things happen any faster (and is in any case a monumentally different task). So we must deal with the problem after it occurs, instead.
Can we make the conditions for them even harsher? Does that not seem like a problem?
This is why we should study it...
You don't vote for the European Commission....
Show HN: Goki – Review flashcards in the terminal
""
Imagine a journalist finds a folder on a park bench, opens it, and sees a telephone number inside. She dials the number. A famous rapper answers and spews a racist rant. If no one gave her permission to open the folder and the rapper’s telephone number was unlisted, should the reporter go to jail for publishing what she heard?

If that sounds ridiculous, it’s because it is. And yet, add in a computer and the Internet, and that’s basically what a newly unsealed federal indictment accuses Florida journalist Tim Burke of doing when he found and disseminated outtakes of Tucker Carlson’s Fox News interview with Ye, the artist formerly known as Kanye West, going on the first of many antisemitic diatribes.""

https://arstechnica.com/tech-policy/2024/03/charges-against-...

"According to Burke, the video of Carlson’s interview with Ye was streamed via a publicly available, unencrypted URL that anyone could access by typing the address into your browser."
He was also the guy in the car that told Teller that the windshield stopped UV. Teller's response was "what stops the glass?"
I find it very interesting that the higher they are in the stack, the more people tend to talk about algebra (monads, functors, etc). I wonder why is that the case? Doesn't kernel or firmware require this level of abstraction?
Very expensive.

AFAIK the model can’t be quantized during backprop, so right there you’d need a ton of RAM.

Backprop is faster bc it can be parallelized, but IIRC you need to hold an entire copy of the model for each backprop process.
There are plenty of traditional mom-stays-at-home families in germany, compared to, say, france. What country are you comparing germany to?
Didn’t DPO supplant rlhf?
An interesting note about braces is how US-keyboard centric they are. Typing a braces in many keyboard layouts requires 3 keys presses (or AltGr)

Not having braces makes python very easy to teach where the keyboard layouts do not favour those characters accessibility.
> "A few years later, after numerous customer complaints, we realized that bugs in our JDBC driver were killing performance." [...] "We had been spending many engineer years making the queries fast, shaving off fractions of a second here and there from query times. But the connectors that most of our users were using added far more latency than we had saved. What’s more, we were completely blind to that fact. No one at Google actually used the JDBC drivers" [...] "The query time that users were seeing was invisible to us, and we considered it someone else’s problem."

This is frustrating to read: "completely blind" to years of customer complaints, and they don't eat their own dogfood.
I am a fan of "distributed computing" - but I do not make it complicated.

I have created a generic broker daemon, which reads messages (in) and places them in the appropriate service (queue) which, at this time, is using sqlite.

Then, a bunch of daemons (workers) connect to the broker service, and processes anything in the queue (process) and tells the broker when the message is OK or errored (output)

I also have commands to check a service queue, active workers, etc.

The broker is generic, simple, and fast. The workers do the actual, specific job.

The communication between the client<-->broker and broker<-->worker is ZeroMQ.
There is also a "publish" if you choose to join, which some client programs do.. so they can see any errors on-the-fly.

Installation/deployment is on a linux server using SystemD. Nothing fancy or complicated.

Purpose is that this broker could serve useful for many projects I do in the future.
Solo and freeform on a piano.
Properly indenting code is fine. Now try modifying that code, like removing an if statement inside somewhat nested code and trying to ensure that everything still has the same meaning as before. With Python, you can never be sure you did it right.
Even smaller nit: Isn't it basically two sides of the same coin in this context? I'm not sure what the intent was in the previous post, but it could just as well be from the perspective of someone living in a desirable country worried about a lot of immigration of less fortunate people.
Title: You don't need a database.

Half way down the article: The questions are stored in a sqlite database
The US is waging a dirty and brutal economic war against China.

At the same time they are unable to make Israel stop the genocide in Gaza.
That site doesn't seem great, but according to Wiktionary "assay" is a doublet of "essay", i.e. the origin is the same but they were borrowed into English via two different sources.

"Assay" came via Norman, "essay" came via French.

There are lots of other examples like this where one word came from Norman and the other from French, e.g. warden + guardian, warranty + guarantee
In this case I think it refers to organized religion in general, which is older, roughly dating to the beginning of agriculture and city formation.
I agree with you, but this is what happens in reality. Laws and regulations get abused more than they get used, unless they are very well written. The minimum would be to require the EU itself to not use Microsoft 365 and other services that they have explicitly tried to counteract with their laws.

Change the word "propaganda" to "marketing", if it is offensive to you.
It's also possible that time is real. One thing happens after/causes another. It's possible that when you are in a flow state your brain is just failing to notice the time that is objectively passing in the world around you.
I remember reading the story for the first time and my feelings of pity and horror when the protagonist's decline began.

With lifespans increasing, many of us will have Charlie's experience.
$ python3 -c 'from __future__ import braces'
File "<string>", line 1
SyntaxError: not a chance
$
Definitely some good points, but a few comments:

- I don't think performance is secondary as put here, but perhaps closer to binary. As in: does it perform well enough? Check. Now let's move onto judging everything else. In this sense, it's not secondary because before you can work on anything else you need to work on performance. Else you're not even at the table. Once you're at the table it's a different story though. The author points this out themselves: "I should mention that DuckDB is fast". If it wasn't, then you probably would be competing on performance, at least until you got that "performant" tick out of the way.

- "The one [database engine] who is moving most quickly will be the one that wins in the end": Perhaps a valid-ish point, but certainly not practical. Acceleration isn't constant. Your progress will be much faster as a new player in the space, but if you manage to get to where e.g. Snowflake is, your progress will certainly slow down. So as someone choosing a system today, I can't just judge by today's acceleration and extrapolate that it will continue into the future.

So overall some good points in there, but the conclusions feel a bit off for me. Although this: "how quickly you can go from idea to answer, not query to result" is a point I'd love to see explored. Feels interesting enough to warrant its own investigation.
It's a bit click-bait-ish. You don't need computers, here is my tic-tac-toe on a piece of paper + pen. Just use the right tool for the job.
Pretty well, so to see.
If Peter Jackson could CGI Lord of the Rings two decades ago, then it should be pretty cheap to CGI a zoom shot on a cookie-cutter WWII "boom town" now. And there are probably quite a few WWII-era aerial photographs to start from.
Worth shipping, but not worth investing massive amounts of time in.

On the other hand, suppose you actually hoped to grow and make enough money on something to pay the salary of a few dozen people. Let's say you start with golang and sqlite3, ready to handle 1000s of people an hour, everything is going great, and then someone posts your thing to Hacker News (or it goes viral elsewhere). Suddenly you have millions of eyeballs an hour, of whom your non-scalable infrastructure turns away 99.9%. What's the chance you get another shot after you've re-architected everything to be more scalable?

I don't have a good idea how likely that is; at some point I seem to recall hearing that Stack Overflow was run on just two servers, made possible because it was just efficient. But it's certainly something to take into consideration if you're hoping to grow large; and only something to ignore if you don't really care.
Am still having the same issue, happened all of a sudden last week. Do you know if it happens with other password lockers?

Removing a char from the email and adding it back again doesn't solve it for me
The biggest quality of life improvement for me with git is a bash function I wrote that does add all, commit and push in one. Turns out I don’t care about all the granular control it provides 99% of the time, it’s cumbersome:

$ save This is a commit message no quotes
We developers take proud for being able to get our head around a complex solution. And unfortunately sometimes that becomes a driver for building complex solutions for problems, that otherwise could have been solved much simpler. But in that case we loose interest.

Me, personally, I often find myself in situations like this. Where if I clearly understand the solution in my head, I might be a bit reluctant to actually code it
and get the job done. Kinda like, you know the solution exists, and then you move on to something more interesting.
In my 5 decades of flying regularly (US-based flights), this is made crystal clear by flight attendants and repeated PA announcements.
Wholesale swallowing of russian propaganda counts as being woke these days?
>there was blood at the ceiling

>it came back all of the sudden

top quality writing there..
most financing in the US for parties come from corporate donations, very much with a condition imposed by the corporation. Kind of acting like a bribe.
I used to live in a subtropical region when I was a child in the 90s and it's pretty remarkable how hot the winters are today over there. That experience alone taught me that no way the climate change is not real. It's a bit like with the economy, you feel something is pretty wrong, but a lot of people for one reason or another will deny and try to brush it off, then after many years you get to see articles about how tough times have been in the last X years.
It is quite the impactful story. Saw it under a Twitter (X) thread on IQ and orders of thinking - worth the read.
I love MonoDraw. It is a amazing tool with a great UI. Just a breeze to use!
It's kind of... hilarious that Reddit has managed to wait so long that they've ended up shooting for an IPO just after the company's third largest individual shareholder (Altman) created an existential threat to destroy reddit.

A couple of years ago I think you could've made a decent argument for reddit, it's never going to have as good economics as Facebook but there's definitely value and communities there. It's a bit like twitter- big reach but poor economics.

The problem is that with Generative AI there's just an enormous question mark over the business. What is Reddit going to do to ensure that their pseudonymous user base are real people and it isn't just going to be over-run with bots. They already had a smaller version of this problem - astroturf advertising, but now that problem is on steriods. And because they don't have any money they don't have the resources to solve this problem!

If you want to buy this stock I just don't know how you justify to yourself that any of the numbers are going to be real. How many unique users are real users? How many ads that were displayed appeared in front of real eyes? How many comments are actually hand written? And if you as a shareholder don't know, the hell is Reddit going to persuade advertisers?
If the data in your app doesn't matter at all, and you have no availability requirement, sure keep everything in memory. I don't see what Go has to do with it however, any language should be fine.
While LibreOffice works like a charm on Linux, it's way behind in Windows and macOS. Microsoft's tools use the screen space much more efficiently under both.

While I understand that looks isn't everything (I use Eclipse with great joy), it's to the point that hinders productivity in these tools.
We had the same incident around 2007-2008 with China Airlines. The scary point that it happened almost the same place, from Taiwan to Bali about 1 hour before the landing.
Yes I do mean the Kria line, but one for this new Spartan Ultrascale+. I already buy packaged versions of $30 FPGAs because it alleviates most of the integration effort.
On the half dozen (European) airlines I’ve flown, it’s always been “seatbelts are recommended at all times”. Never a requirement.
FAQ

Does it scale?

No.

oh good
The memories…

I often wondered what would happen to those wonderful Orisinal mini games after Flash's death, without actually checking out the site. Would Ferry Halim find the time to port them to "HTML5"? Would they just… disappear forever?

It turns out that they know run in Ruffle[1], a Rust/WASM based Flash Player emulator I've never heard of (or forgotten about). The handful of them that I have tested work flawlessly.

[1] https://ruffle.rs/
Can attest - for similar use cases. I did much the same (shameless plug, just like the original): https://friendsyeights.com/

Game state is kept in memory, the server is single process (Node.js as it happens), connections use websockets, it just works.

Does it scale? No. Could it scale with a similar approach? Sure, with some additional work: separate games could be distributed over many instances (a sharding strategy). There's no redundancy there, but it's a game, not a credit card processing system.

However, I do snapshot game state in JSON files on disk so that games are not terminated by every new deployment. In a single-process model, that's safe when using synchronous filesystem calls. Just don't try it in a multithreaded system. Though it may take many moons, you will eventually lose your "poor man's database" to a race condition.

Still, would I use this technique to host people's taxes? Hard no. I wouldn't even use it to host their blog posts. Durability matters for those use cases.
> atmospheric alteration on a large scale seems like a dangerous game.

Were already doing that...
> i can roll updates during the night without causing any issue

This isn't universally true.

I work on a telephony platform, some components of which need to be upgraded very carefully, because if you just restart the daemon without first transferring load elsewhere then you drop people's calls.

OK, there are less calls at night time, but there are calls all of the time and people don't expect their calls to randomly drop just because it's night time.
I remember this from many years ago. Some truly wonderful little games, all calm and relaxing. Thanks for submitting this!
They face dry heat, not humid, extreme heat. These are different problems. Dry heat easier to solve.
Do you have experience of asking for these type of funding documents before 2016? Was is much easier then?

Because the argument (as you describe it) doesn't make any sense, so I would expect they already have another nonsensical interpretation of some other law at hand from before GDPR applied.
That still works, as it always has.
I've been a vim user for so long it doesn't even make sense to do the math to give a year. Around 2013, my buddy at work and I switched to Emacs just to try something different. We only lasted a few months. One thing that I took away from that experience was Magit. I was a CLI user of Git because all the other interfaces just bothered me. When I went back to Vim, I started using fugitive. It wasn't bad, but it just didn't have that same Magit feel that I really enjoyed. I tried the Atom text editor for about a year. It was the best Vim-emulator I'd ever seen at the time. Someone had been working on a Magit clone for it. It reminded me of how enjoyable Magit truly was. Flash forward a couple of years, I'm on NeoVim and someone starts working on NeoGit. I couldn't contain my excitement. It's cool to see someone untangle the experience from any one particular editor.