skysight-inc/HackerNews huggingface dataset:
Thanks for the data! I think I may have different use cases than are covered by your benchmarks.

Do you often do that many independent $incs (or any query) in a single second? I have gotten much better performance by using `BulkWrite` to do a bunch of small updates in a batch.

To go to a specific example from the "Driver Benchmark" on the link from your first reply:

client[:users].insert_one(name: Digest::MD5.hexdigest(index.to_s))

I notice in this specific example that there's no separation of the hashing from the query timing. so I might try to do the hashing first then time just the inserts. I would also a batch of `insertOne`s and then do a bulk write so I'm making much fewer queries. I will often pick some random size like 1,000 queries or so and do the `bulkWrite ` when I have accumulated that many queries, have surpassed some time (like if it has been more than 0.5s since the last update) or if there's no more items to process. Additionally if the order of the inserts doesn't matter using `ordered: false` can provide additional speedup.

For me the limiting factor is mostly around the performance of BulkWrite. I haven't hit any performance bottlenecks there that would merit benchmarking different ways to use it, but I would mostly be trying to fine tune things like how to group the items in a BulkWrite for optimal performance if I did.

Even in the case of one-off queries it almost always feels faster on 7+ than earlier versions. As I mentioned the one bottleneck we hit with migration was that we had some queries where we were querying on fields that were not properly indexed and in those cases performance tanked horribly to the point where some queries actually stopped working. However, once we added an index the queries were always faster than on the old version. When we did hit problems, it took only a few minutes to figure out what to index then everything was fine. We didn't have to make changes to our application or the queries themselves to fix any issues we had.
Agreed heavily. I am still mustering up the energy and trying to dedicate time to actually read Infinite Jest. In the meantime, I have been reading DFW’s short stories, and they are fantastic.

I heavily enjoyed the one about playing tennis in midwest, the one about adult industry, and the few other ones I struggle recalling in the moment.

Something about DFW’s writing and train of thought (in his short stories) hits me just right. The musings on how he related certain math concepts to playing tennis in the wind specifically blew me away, as literally nothing about that should be relatable to me (neither from midwest nor play tennis nor have any interest in it), but it feels like it is.
Private jet crossing runway nearly causes crash at Midway airport
Digitalocean Partial Outage
Not about Martin. About Ousterhout. 27-30 years ago.
What declining rate of scientific advancement? Do you have a reference to support this claim? Curious.
Doctors themselves are at least partially, if not mostly, responsible for that lack of trust. The Sacklers might have been pushing on the doctors but the doctors were the ones writing the prescriptions and ultimately responsible for the health of their patients.
Brazil wasn't profiting from the war. Unless you count selling food and raw material as war profiteering.

It did require a largish monetary loan as condition of entering the war. And yes, it did invest the loan on a some industries.

Also, all of this is extensively covered by Brazilian schools. I have no idea what accusation you have of downplaying stuff.
For those wanting better mobile UX. There is an iOS app called “HACK” which I’ve been using happily for years.
Strictly the answer is yes with the more truthful answer being it depends on your manager.

The easiest way is probably being in a country that requires part time to be offered.
I have file A that's in two places and I run this.

I modify A_0. Does this modify A_1 as well or just kind of reify the new state of A_0 while leaving A_1 untouched?
Perhaps you read GP's quote too fast? Because it ends with:

>>>> Par extension. Plat principal. Un repas composé d’un hors-d’œuvre, une entrée et un dessert.

"By extension. Main dish. A meal consisting of an appetizer, an entrée and a dessert."

There the "entrée" is clearly the "main dish".
I'm curious as to why you wrote your own chess implementation - seems like this would have been much easier to implement with chessboard.js [1] and chess.js [2].

1. https://chessboardjs.com/

2. https://github.com/jhlywa/chess.js/blob/master/README.md
if file is not going to be modified (in the low-level sense - open("w") on the filename; as opposed to rename-and-create-new), then reflinks (what this app does) and hardlinks act somewhat identically.

For example if you have multiple node_modules, or app installs, or source photos/videos (ones you don't edit), or music archives, then hardlinks work just fine.
Me neither and me too! Thanks :)
Literally the status quo for most of the history of democracy: putting your own country first...

The fact any Canadian thinks it's weird or anything like MAGA shows how far Canada has fallen...
TIPS would work, but you're not getting 4% on TIPS. Though you can get 2.375% on 30-year TIPS, which isn't bad, just not enough to suffice for the 4% rule.
> You've spent so much time explaining why AI tools don't work that you could have built a better one yourself by now.

> Your comments read like someone who's been burned by every tech hype cycle since COBOL was cutting edge.

> For someone who criticizes LLMs for being overconfident, you sure have strong opinions about literally everything in tech.
The order would normally be a matter of public record, and the ecosystem should follow these events carefully and ensure never to issue a certificate to such a company again as it undermines the entire system.
I would ask this on Reddit. I see more talk there about free access.
Hard problems that reduce to document ranking
A concept that I've been thinking about a lot lately: transforming complex problems into document ranking problems to make them easier to solve. LLMs can assist greatly here, as I demonstrated at inaugural DistrictCon this past weekend.
For sure 100%.

People are saying "you can charge more" and that's true but over the long haul with dry spells, re-work because you were stupid or a client outclevered you, trouble collecting, vacations, insurance and the fact you can skate by for a bit just showing up if you aren't feeling it for a few days at work, a good job probably does pay better and for certain types of people (I'm not one of those types of people) it is less stressful overall.

Like I said it's not for everyone.
Trump FTC Launching Task Force Focused on Corporate Labor Harms
What I Learned from My First Round of User Tests
It's smarter, but it also feels more aggressive than 3.5. I'm finding I need to tell it not to do superfluous things more often
Yes, USDS was responding to a need for tech professionals inside the government _after_ the (IIRC) 1990s purge. But the scope is even bigger than just digital services (it's just the domain I'm most familiar with)--the same applies to domain experts (e.g., accountants and tax lawyers to oversee the digital services built for the IRS, aerospace engineers to oversee the systems built by the DOD, etc). "Small government" isn't an unreasonable goal, but when you stupidly hack away at existing government, you end up writing blank checks to contractors and consultants ("welfare for consultants" doesn't even do it justice). Trump supporting Americans are about to find out why expertise is a real, valuable thing, although I'm skeptical that they will connect the dots between their policy and its outcomes.
Sounds like that contemptible SJW needs to stop being so judgmental. And it’s definitely rude to imply motives that someone doesn’t directly state, isn’t it?
VX1000 was peak camera in skateboarding. The one modern camera that seems somewhat close has been the whatever Lumix that the dudes at April Skateboards use. It's hd but has a 4:3 ratio and looks VX like in my opinion

https://www.youtube.com/watch?v=GuXqrq7aMO4

PS: I run skatevideosite.com, if anyone is interested in helping dev the site and skates hit me up!
How the hell is Sour Cream and Onion not on there
> median line count of methods

Auto-generate getters and setters for every instance variable and that will drag the average down. (Maybe a lot of those getters and setters should not have existed.)
So you think code that is ugly is bad code? Or is it that it uses janky/outdated features? What makes it good if not its lifetime value?

Surely you don’t just presume the quality of code based on the person who wrote the code, right?
AI currently as it's used, is replacing Google searches, but without multiple sources. So in learning coding, AI can explain things, but as far as multiple approaches to solve a problem, it won't specifically help with that, unless asked (which few people do).

IF (strong if) AI begins replacing coders, AI will code in it's own optimized language, I speculate something like minimized JS or WASM. It doesn't have to be human readable, it just needs to pass unit tests. So humans will probably only write unit tests, and AI will write code. So knowing programming will not be necessary anymore, only prompt-derived unit tests.
Is there any option to turn off trust for all certificates generated after a certain date? The ideal would be to let old certificates keep working, and not trust new ones.
I'm working on an open-source event tracking infrastructure using AWS and Apache Iceberg. Think Heap or Mixpanel but you own the data, the data is in your data like within seconds and it's dirt cheap.

https://github.com/manymetrics/manymetrics
They wrote their own because it's more fun to do that, and also because they really wanted me to win. The computer is really really bad
"A pouch is most useful when it is empty" - Confuseus
When I saw this thread I wanted to toss a comment in: If you used FreeCAD prior to 1.0 and abandoned it because editing past operations was an exercise in frustration-- give it a try. It now seems to be as robust in editing as solidworks or onshape is.. and is now quite usable.
Streamlining CI Infrastructure at Puzzle with Dagger, KubeVirt, and ArgoCD
Maybe so, but at least those people in the western bubble can just stop using the platform. Every little bit helps.
I have not worked for a place that did daily updates for over a decade, and they only did it sparingly during particularly busy weeks. This is absolutely not the norm in "every tech job." In my current job, I have a 30 minute meeting w/my manager every two weeks which is my only update meeting with him, and it's usually canceled.
Kind of along these lines but for C++: https://docs.carbon-lang.dev/
for me psychedelics tend to cause things to "pop out" at me more but they don't cause new things to appear on top of reality
It’s interesting that we just assume a newer language produces “better code”
I love that that was written by a 6 year old but very well could have been written by someone much older. I could very well see that as the chorus to a Mountain Goats song.
Show HN: Framerr,use it to capture shots by displaying it in a virtual frame
TL;DR, for ambiguous tasks, Claude 3.5 Sonnet performed far better than the other language models. It generated a SQL query that better conformed to the user's input, and created a JSON object that demonstrated superior reasoning skills. These tasks were related to highly-specific finance tasks.
I might be misremembering, but I think Congress had passed a law mandating "buy, not build". Was Clinton pushing that policy, or was he implementing it, or am I conflating multiple distinct "small government" initiatives?
This topic is near and dear to me. It is so important that I'm working full-time on a game about how a first contact with an extraterrestrial could look like. If you are interested, I just released a free demo with ~2 hours of content: https://store.steampowered.com/app/3040110/Outsider/
Could this be used without Deno or React, just a vanilla webpage? Can it p2p sync two client databases with WebRTC?

Does it use OPFS or IndexedDB?
"Hundreds of fishing vessels vanishing along Argentina’s waters" (2021) - https://news.ycombinator.com/item?id=27412691
All debt is functionally similar in that it represents an obligation from the borrower to the creditor generally with interest which must be paid off in full or consequences will follow. Analogies can recognize similarities in a situation which can help to illustrate a point even when situations are not identical. But sure, no one is coming to confiscate air force one if the US doesn't pay off it's debt :D.
Nope. But I'm thinking of a locally hosted medical assistant might be clutch.
audio files; renders, etc.
> Since ancient times there were places where you could pay for food, but that was always a side business of an establishment

I don't think that's correct: They've excavated fast-food joints from under the ashes of Pompeii. There's nothing to say a business like that needs to be a side hustle of anything else.
I use LLMs all day and they've replaced a lot of what I'd previously searched for. Even so, I don't think I'm ready yet for an LLM as default search engine. LLMs are useful for generating information based on what they know about. For example, generating useful commands for tools like `ffmpeg` or `jq`. They're not better than a search engine for finding factual information, like "What is the population of Canada?" LLM hallucination is still a thing.

LLMs replace some of the work we'd previously had to rely on search engines for. They're not a replacement for everything, and they shouldn't be used as such.
I think a more interesting question is: what if internet protocols and routing equipment were designed from scratch today? Besides much larger packets, I'm guessing something basic in the style of UDP would be chosen to replace HTTP to simplify query-response lookups, a much simpler streaming protocol would be chosen to replace TCP and support all the video playing going on, and those two protocols would more efficiently handle the vast majority of traffic.
Hyperspace said I can save 10GB.

But then I ran this command and saved over 20GB:

brew install fclones
cd ~
fclones group . | fclones dedupe

I've used fclones before in the default mode (create hard links) but this is the first time I've run it at the top level of my home folder, in dedupe mode (i.e. using APFS clones). Fingers crossed it didn't wreck anything.
>You even might say "this seems like trolling; I didn't say X at all..." And, if it's clearly trolling, you flag it.

This clearly doesn't work when you're the minority. Flag bombing is a real thing on HN. Just look at my original comments where I gave clear arguments why that logic is flawed due to double standards and cherry picking can of worms it opens up. Plenty of other examples on HN as well.

People will flag bomb you just because they don't like what you said, even though what you said is the truth (ask a LLM if my reasoning and arguments are sound) and doesn't break the rules, people just don't like being exposed as hypocrites when they see themselves as pillars of virtue (narcissistic main character/hero syndrome).

Hating Elon Musk at every corner is the current trend amongst this crowd, and if you fight the trend in any way, even with logical devil's advocate arguments, you will get flag bombed, because people are subject to mob behavior (been documented in psychology) and only want to hear comments that reinforce their beliefs not ones that tear down their beliefs. Basically the behavior is all emotional, not logical or rational.

I continued the discussion instead of flagging those who act in bad faith (the majority of replies I got) since I don't care about upvotes, I care about debating ideas and proving a point.
Is there a FS that keeps only diffs in clone files? It would be neat
Read() Return Value May Surprise
This is why we need AI to be open. Imagine if ChatGPT had forced her to watch a five-minute advertisement before each query – which is going to happen in the near future.
Thank you for sharing your journey, it itself is already insightful. I've never thought of writing as creating constraints that shape what comes next! And putting technical problems next to creativity, that makes a lot of senses!
Pinecone's New Architecture
This is a cool program.

What system is it using for the “play with computer”? Is it custom or one of the available chess engines?

I wonder if there is a way to alter the difficulty of the computer program.
fwiw Lines-of-Code / Method (Digitalk V/286 image, 1989) = 7

https://dl.acm.org/doi/10.1145/74878.74904
Reddit is going down in quality for a lot of the smaller subs, smaller subs the mods will literally ban you if your profile or post history doesnt match with their preferences or narrative. Reddit needs to bring a lot of unknown mods under control or share ban statistics for smaller subs and reasons.
Interesting, something must have changed then - the qwant search extension definitely does not leak the search to the default search engine - I checked myself with Proxyman.
golang is a sidegrade at best, in many ways it's very last century when compared to C#

(even if poorly managed and overbloated enterprise codebases may lead you to believe otherwise, they are quite detached from what modern C# is supposed to look like)
Although everything seems to be researched thoroughly there are many mistakes. Mistakes that are pretty basic (like Venlafaxine having it's origin in an amphetamin instead of tramadol) and lead me to the assumption of sloppy work. In addition study results are stated as facts whereas reproducibility is very poor in psychiatry.

In addition microdosing escitalopram at like 2,5mg/d seems like it is mostly placebo. When introducing a drug there are dose response studies done, that determined that ESC needs 10mg for most people to be effective against depression. Same with 2,5% of the starter selegiline dose.

I think the texts of this author need to be viewed with much caution.
Nordic countries teach critical thinking a lot more than for example USA, and tend to be more secular. You can claim it to be a coincidence all you want, but you just sound like a religious person who is not comfortable outside their own bubble.
I live in a midwestern city of 50k. The only alternative we have is Hobby Lobby. I can't say I loved the selection available at Joann's, but at least we had something.

Unfortunately not all of us live in dense urban centers that can support boutique craft stores.
Sabine doesn't even say it's disproven, and the paper doesn't claim that it's disproven, it just claims that one of the earliest proofs that it was a singularity was incorrect. There's an important distinction there. If someone points out a flaw in a proof of the pythagorean theorem, that doesn't mean the theorem is disproved, it just means that the proof was wrong.
My niece would disagree. She loves playing violin just for the playing of it.
Yes, some call the people born in that era "decreței" loosely translated as children of the decree. Yes, they did not really respect women's reproductive rights. There are a bunch of horror stories about that aspect of Ceaușescu's regime.
Isn't that just the observable universe?
Was the incomplete, obstinate, reactive answer in this case yours or mine?
Thanks, and thank you for reading! :)
Hey there. Hope you get something figured out! I'm rooting for you.
Yeah but with JS you’re already miles away from that sort of instruction-level efficiency. For example, if it’s a object, you have to try and coerce it to a number
>And I felt bad, as though I've suppressed her natural self and ability to be excited about such a thing. She's now pacified to live in my world.

> An irrational feeling, because she's now at much less risk of being run over by a vehicle, but it was a feeling nonetheless.

I think this respects my position and my intent. You're being a pragmatist, giving her the best life possible.

Speaking to changing her nature and protecting her. They might not be in harmony but they both suggest thoughtful, considerate reasoning. And it's okay if they aren't in harmony; a future understanding might reconcile them.
QUIC is redesigned TCP.
My dad worked on Mercury and Apollo. The first put men in space and the second put men on the moon. There was a shit ton of spin offs from this. We got a step up on GPS because some grad students were saying what if after recording Sputnik ephemerides.

Research doesn't work by central planning. Grants to researchers is competitive. There's corruption not because of the scientific method but rather because of the human condition.

Your view of this is very politicized. I'm done here.
I'm writing a list of tech projects and companies with headquarter in EU : https://github.com/uscneps/Awesome-European-Tech the idea is to give attention to the Europe tech ecosystem.
What I'm really noting here is that Apple had no good options.

Capitulating would've meant giving the UK government the back door they wanted. They didn't do that. They complied in a loud and public way, which unmistakably shined a light on the insane request.

The only other options for them were withdrawal from the UK market entirely, or a secret court fight they'd probably lose.

To me, their actual response reads more like malicious compliance than "caving," which usually implies giving up completely.
Very nice of you to think that I am not going to blunder this way
View types redux and abstract fields
The Federal Acquisition Streamlining Act of 1994 ("buy not build") was a part of this.
As long as your coworkers can decline the invite without bad feelings, this seems OK. I don't want to spend my work time socializing, personally, because I have work to do. But I also don't want anyone to think that my declining such things is personal in any way.
> The "AI system" is not making the hiring and firing decisions.

How do you know? Do you think past decisions to halt contracts based on simple keyword searches or fire people only to ask them to come back hours later supports the theory that they’ll just “look further”?
I think you might be misunderstanding my comment. I was arguing that the government has variously employed experts, and when they've been fired under the pretense of "smaller, more efficient government" then we end up hiring contractors and consultants who can take advantage of a stupider government and charge astronomical rates for broken systems. I'm NOT making a claim about the expertise of these consultancies. Stupidly hacking away at government results in costlier, lower-quality governance (which suits the billionaire class that is less dependent on governance and directly benefits from a lack of oversight, at least in the short term).
If I understand correctly, a COW clone references the same contents (just like a hardlink) as long as all the filesystem references are pointing to identical file contents.

Once you open one of the reference handles and modify the contents, the copy-on-write process is invoked by the filesystem, and the underlying data is copied into a new, separate file with your new changes, breaking the link.

Comparing with a hardlink, there is no copy-on-write, so any changes made to the contents when editing the file opened from one reference would also show up if you open the other hardlinks to the same file contents.
> the feminist prescription for a female doctor is "lady doctor", not "doctress"

Being male I hesitate to speak for feminists, but I’m fairly sure at least 2nd wave ones would prefer just “doctor” and would frown on “lady” as an unnecessary qualifier.
Most code that i clean up is a lot easier to maintain after making it a lot DRYer.

The point is not about being DRY, on itself, though. The point is that the code then has better abstractions which are easy to reason about.

UB seems to take abstractions a lot too far, replacing e.g. 2 lines of very clear code with some cleartotals abstraction.