skysight-inc/HackerNews huggingface dataset:
> (The more I work in Python, the more I think that Python's approach is actually a good one ...)

I've come to the opposite conclusion. I've "git cloned" several programs in both python and ruby (which has the same behaviour) only to discover that I can't actually install the project's dependencies. The larger your gemfile / requirements.txt is, the more likely this is to happen. All it takes is a couple packages in your tree to update their own dependencies out of sync with one another and you can run into this problem. A build that worked yesterday doesn't work today. Not because anyone made a mistake - but just because you got unlucky. Ugh.

Its a completely unnecessary landmine. Worse yet, new developers (or new teammembers) are very likely to run into this problem as it shows up when you're getting your dev environment setup.

This problem is entirely unnecessary. In (almost) every way, software should treat foo-1.x.x as a totally distinct package from foo-2.x.x. They're mutually incompatible anyway, and semantically the only thing they share is their name. There's no reason both packages can't be loaded into the package namespace at the same time. No reason but the mistakes of shortsighted package management systems.

RAM is cheap. My attention is expensive. Print a warning if you must, and I'll fix it when I feel like it.
malloc() will not return unmapped memory for small allocations. Your process might get killed if malloc() fails to get more backing pages.
Interestingly, re: red tape, Schmidt has been quoted from this same talk as saying if you get caught stealing IP then just “hire a whole bunch of lawyers to go clean the mess up, right?”
Possibly an unpopular view but I can't but think the FTC should be able to issue directions to Google and others which have almost instant effect. "this is a scam, shut it down" should not require them to "get back to you about that" if it comes from the Trade Commission.

I am pretty much all-in on more government regulation of Google. Not less. There should be a non-negotiable access path to ask why things happen and an appeals process to their lockouts for end users too. Mandatory human-in-the-loop review.
> IIUC, the way overcommit works on Linux

Doesn't vm.overcommit_memory == 2 disable overcommit? That's the situation we're talking about...
That is not O(1) for insert and read

Sort is O(log N)

Insert into sorted list is O(log N)

I am correct

If you need sorted keys that is easy but you cannot get O(1) which HASH gets on a good day

Not in this universe

The person who wants a HASH table with sorted keys actually wants a tree. Maths
Ask HN: If other people can't edit, is a "personal wiki" a wiki?
By definition, "a wiki is a form of hypertext publication on the internet which is collaboratively edited and managed by its audience directly through a web browser."

(https://en.wikipedia.org/wiki/Wiki)

Emphasis on "collaboratively edited" -- If only one person can edit the content, it by definition isn't a wiki, is it?

There are many "personal wikis" on the internet, each of which only editable to its owner only. I feel that it is an abuse of the term. If you agree with me, what do you think would be a better name for those kind of systems?

I myself is leaning towards "digital garden", but I would like to hear about your ideas.
Dart, angular don't matter in business. They are just "passionate" projects. Google's culture of having multiple teams trying to build and scrape and never commit to a product is a big problem. They aren't slow to adopt to trends but they always seem to "overthink" about products. So when they lose the edge they close the door on the product. In the case of Google Meet, Good Lord, they renamed at least six times before they finally settled.
Echoing the other replies here that idk what breakages this refers to. I switched since I liked lua better than vimscript (after writing a ton of vimscript). I don't use many plugins; the few I use haven't broken. Only encountered a single (non-serious) nvim bug that wasn't also a vim bug in many years of use.
Eric has a penchant for saying things he thinks before thinking about how they might be heard. He famously said, "There is no privacy, get over it. If you're not doing anything wrong you don't have anything to worry about."
Also: https://news.ycombinator.com/item?id=41275073
> If this is a matter of national security, realistically, you probably should not do this

Thank you for the concern, I understand where you're coming from; but fortunately, it's nothing that glamorous.

It is about low-level corruption (think county/city level) and things like nepotism, bad contracts, wastage of resources, etc.
Certainly! It’s just strange to me that we haven’t completely nailed this one down already in the courts.

It’s not like AI or guns where the tech is totally different. “Don’t take my stuff forever” hasn’t changed much. :)
Llama3.1-405B benchmarks at a level that I would certainly consider comparable to other SOTA models, as long as multimodality isn’t needed.

Regardless, OpenAI provides access to quite a few of their older models through the API, since the API lets you pass in a specific model version. I’m sure the older models won’t be available forever, but that is a much more stable target for researchers than just opening the ChatGPT website and typing in things.
I gave up when the rounds to solve increased to 20, iirc.
Have you considered using ad-blocker?
Yeah, I was on the nightly release (via nix) for a while. Rock solid.
I'm hoping these people don't have the $100K. We are talking about city/county-level corruption, shenanigans in the school district, etc.
> Those tends to be based on variants of democracy being "institutions that enable a peaceful transfer of power". This usually includes the so called democratic freedoms, overseeing journalists, and a non-politicized judicial system.

You can pretty clearly have a democracy without a peaceful transfer of power. Suppose the state of California had entered open revolt after the 2016 election and the rebellion had to be put down by the military. You could hardly have called that a peaceful transfer of power even if the end result was that people voted and the winner took office. And the reverse can also be true; some aging dictator undemocratically chooses a successor who comes into power without bloodshed.

Also, it is not the role of governments to oversee journalists, it is the role of journalists to oversee governments.

> Every practicing democracy however includes some exceptions for law and intelligence services, as that is required to uphold the system in times of uprisings and uncertainty.

These things are not inherent requirements, they are the implements of tyranny. Notice that the US constitution doesn't have these exceptions written into it, they were read into it by authoritarians and cowards in times of weakness.

The day you find out if you have principles or just empty words is the day when following them is hard.

> Advocating genocide or revolting against the democratic institutions is not considered within the bounds of democracy anywhere.

You can advocate whatever you want, you're just never allowed to actually do it.

Think about it. A system of checks and balances that can stop them from doing it even after they're already in power is the only thing that matters. If you have that, they can say whatever they want. If you don't have that, censorship doesn't help, because they can gain power under false pretenses (politicians lie) and your system isn't configured to stop them once they do. Indeed, a censorship apparatus would even make it worse, because now they're the ones deciding what gets censored.

Censorship is always the tool of the villain because lies and bad ideas can be openly refuted but the only solution to a ban on the truth is to defeat the ban.
What would be the point? Where would we send them? What would they do when they get there?

They can't be more effective telescopes than Hubble since they would be tiny, and it would be impossible to combine the images. Another problem is that they are too tiny to send radio back to the Earth.

How would we launch them? SpaceX gets them to Earth orbit. It would be expensive to get them to rest of Solar System. Sending out like Voyager probes would be harder that takes forever to get anywhere useful. Getting them up to speed of this object is beyond our technology.
A funny coincidence about this being from Lipscomb University: there's a British historian called Suzannah Lipscomb, who's done some documentaries. In one of them (I think it's 'Hidden Killers of the Victorian Home'), she talked about this exact topic!

The full doco should be available on YouTube if you search for it. There's a couple of YT channels that licence them, although sometimes they give them odd names.
> If you don't like puns (I love 'em) it must be a bit of a nightmare.

Mike Magee's last logoff doesn't register.
But why is a “config file” (which is usually no more than a few dozen bytes) a problem? If you agree to add the name of the file in your .gitignore, why do you even bother to ignore it in the first place. It pollutes the .gitignore file as much as it pollutes the root directory…
LLAMA 3.1 405b-Instruct is state of the art at the time of writing. It averages slightly worse than ChatGPT 4o, but to a mostly negligible extent for most research.
> They really didn't have any choice if they wanted to actually accomplish something.

microsoft in particular did their initial development of altair basic on harvard's pdp-10, using pdp-10 assemblers and debuggers; not only did they not have an altair, nobody had an altair

but an awful lot of pc software was written on pcs. woz wrote integer basic on the apple. bds c was assembled on cp/m. probably the majority of pc developers didn't have access to a bigger computer

those who did had an advantage, but sometimes it backfired. i remember the ucsd p-system as being unbearably slow, and i suspect that part of the reason was that its authors didn't empathize enough with their users' frustration to commit the efficiency hacks used by systems like eumel and basic-80
I had tried and failed multiple times to start using Vim (after using Vim binds for a while), and actually failed the transition right before my 6 month stint with Zed. It was actually this post[0] from the creator of Gleam [1] that brought LazyVim to my attention. I made a handle full of modifications, removing certain plugins and adding others. I'm very happy with the result. Its been two weeks of using it at both work and home productively.

0: https://lpil.uk/blog/what-i-use-2023/#software

1: https://gleam.run/
Incredibly general title for an incredibly specific claim. We’d be better off titling this “Drinking While Pregnant Is Bad”.
https://www.forkingpaths.co/p/billionaires-and-the-evolution...
It's quite possible that the victims were convinced to try the app by the attacker outside of the Play Store and the app existing on the store was just an attempt to give it additional credibility when they were directed to download it.
I am in a private Discord server that has two bots in it. One is a bot that is a basic Markov chain trained on the entire chat history. The second is a proper LLM trained on some amount of tokens backward. Both will occasionally just randomly chime in during the chat.

The markov chain bot is always considerably funnier.
Maybe the right solution is using a Markov chain or gpt1 to generate ideas and an LLM to cherry pick.
I loved this book and have read it a few times now. I was probably 13 too! The movie was okay. It just left a lot of important scenes out. (Like all book->movie things)
There's still a few working nitter instances, but they're far from reliable.
Thar seems a fine comparison when you're comparing quality. The SNOO is like a $200k luxury car, that once you open the hood you realize it's built like one of those mopeds from AliExpress that, because the people that made it don't want to be associated with it. Or the ones that say they're a "Yammaha"
What exactly is NATO without the US?

Funding reference: https://cdn.statcdn.com/Infographic/images/normal/14636.jpeg
(And Also You Shouldn’t Drive Drunk)
It’s always the order confirmations
> I updated my original post with examples.

Awesome, I'll dissect them and show you exactly where you're drawing the wrong conclusion ;)

> I wrote an article talking about design by contract and why it's better than TDD here

Nobody is advocating for TDD or disagreeing with that. Having unit tests != TDD.

> https://github.com/mempko/henhouse

So far as I can see, you're literally the only developer here -- which exactly illustrates my point. You can ignore a LOT of good engineering practices and be sloppy about a ton of things if you're the only developer (or one of a handful of developers), because hardly anything ever changes underneath you or without your knowledge. (Source: I've done it too.)

> See SQLite (uses assertions heavily)

SQLite has like... 3 developers? The vast majority, again, being 1 person. (I didn't even bother verifying your claim that they don't have unit tests, FWIW.)

> .NET framework from Microsoft

.NET absolutely has unit tests, here's one example: https://github.com/dotnet/runtime/blob/ebabdf94973a90b833925...

> Many of the C++ Boost libraries

All the ones I recall ever seeing have unit tests... which "many" don't? Here's one that does: https://github.com/boostorg/regex/blob/develop/test/regress/...

> Parts of Rust

Again, you're gonna have to cite what you're talking about because Rust definitely has unit tests: https://github.com/rust-lang/rust/blob/master/library/core/t...

> Parts of Qt. The Vala programming language, Ada GNAT... and many others.

I'm not gonna keep digging up their unit tests, you (hopefully) get the point above.

> I also included this research paper from Microsoft that shows a clear advantage of contracts and code quality

As I said above, nobody is arguing against contracts! A paper showing they're awesome doesn't mean they're substitutes for unit tests in every situation. Your paper only mentions the phrase "unit test" twice, and neither of them is saying DbC substitutes for them.
I think it’s the case. Perhaps I do need something more compelling. I’d love be building solutions that people can self-host. Power to the people type stuff
Certified Interchangeable Plug 7.4V Lithium Ion Battery Charger – 8.4V 1A
Running Postgres Inside Node-Red via WASM and PGlite
Probably. I’m of that age that you have a quarter-life crisis lol. I will have to dig deeper
But he also was the "adult in the room" that basically destroyed whatever moral core Google had as a startup.

It might have the been the correct move from a business standpoint and there was no way they'd keep "don't be evil" as a compass, but Eric Schmidt was there to push it all over the edge. The company's current PR issues[0] is perfectly seeded in his contribution to the company.

[0] PS: not counting the company potentially broken up a few years down the line.
SAS is good at reading pretty much anything.
I understand the limitation. Especially in the context of having the entire syntax tree parsed and stored like Zed.

I didn’t expect it to highlight 2 languages. I just wanted the Dockefile parts to be highlighted. But Zed stopped any highlighting after the first curly brace, which produces inferior results compared to the regex (assuming) based highlighters out there.
There's a subtle point there though. When you rely on something that was introduced in x.y.z, stating that your version requirement is x.y.0 is an error that can easily cause downstream breakage.
Everything that is provided by default by the OS.

Installing VLC used to be one of the first things people did on a new computer, including many non tech-savy people, along with a web browser that isn't IE/Edge.

Now the fraction who bother installing it is much smaller. The default video player is good enough for most usage (overall usage has declined anyway because of streaming).
It does not take long to build excellence in the grand scale of things. A culture with positive feedback that encourages good engineering with leadership recognition and monetary/equity rewards can produce a great company in less than a decade.

> who can bootstrap our manufacturing renaissance?

Look at SpaceX. You don’t need a great wizard of yore to teach you how to do things if you iterate and learn. They went from a joke 10 years ago to completely dominating and transforming the launch and LEO space industry.

Or, look at Boeing 70 years ago. They didn’t have a magic culture of excellence then either and it wasn’t bestowed on them by elders. They built it then and it can definitely be built again.
I'm not saying this hasn't happened to you, but I'm curious: are you working with scientific Python codebases or similar? I've done Python development off and on for the last ~10 years, and I think I can count the number of times I've had transitive conflicts on a single hand. But I almost never touch scientific/statistical/etc. Python codebases, so I'm curious is this is a discipline/practice concern in different subsets of the ecosystem.

(One of the ways I have seen this happen in this past is people attempting to use multiple requirements sources without synchronizing them or resolving them simultaneously. That's indeed a highway to pain city, and it's why modern Python packaging emphasizes either using a single standard metadata file like pyproject.toml or a fully locked environment specification like a frozen requirements file.)
> I asked Sundar [about Google losing the initiative]. He didn't really give me a very sharp answer.

Correction: this statement was made by the interviewer, Erik Brynjolfsson, and not Schmidt.
"An LLM, a Markov chain, and GPT-4 walk into a bar. The bartender says "We don't serve your kind here." GPT-4 leaves. The LLM stays to debate ethics. The Markov chain orders a bicycle made of spaghetti."

This is actually gold.
So was it that LLMs used to be capable of making actual jokes, or were they always this bad and I was just more impressed by the talking computer back then?
So far the winning “career” in this thread that made me excited was carpentry. Working with my hands! Otherwise I’d love to be a forest ranger or conservationist, but alas I have to wait for a double hip replacement lol
PL/M was developed by Gary Kildall for Intel, and the only compilers I've used ran under Intel's ISIS family of operating systems, originally on Intel Intellec MDS hardware, and only much later under first-party ISIS emulation on MS-DOS.

AFAIK, Intel never marketed its first-party development systems to hobbyists, so you're probably in the ballpark with "golf course" pricing.
Haha Office Space is a real feeling
US undercounts bird flu in cattle as farmers shun testing
What is Google supposed to win at? Being the most popular search engine? Being the highest grossing ad agency? Having the highest average salaries? Selling the most used cars? Curing cancer? Owning more generators than anyone else? Contributing money to youth groups? How do we judge whether Google is winning?
Or maybe mad that he wasted his life having no work-life balance and then realizing that lots of companies with work-life balance are productive and profitable.

I’m ordering something from Europe where the factory is shut down for the entire month of August. I just have to wait an extra month for that item. The company still gets my money because I need the item.

I also use a piece of software written by a European company. I will get no releases/patches this month. But that software company still got my money. I need/want the software.

I wonder how many hustle culture US tech founders find out that a lot of Europeans just don’t work at all for a whole month and finally start questioning some of this bullshit.

Clearly, not enough have come to their senses.
I've had so many dreams where it seemed like my brain was simulating some unusual social situation so that I would know how to behave and react in such a situation in real life. Especially situations that may cause stress or anxiety.
>>I don't think that well motivated and engineers work or produce less while WFH.

Thats the whole problem isn't it. Years back I was involved in a project(not WFH), like everyone worked at office. But the manager/lead was sort of a totally disengaged person. He would sit in a conf room all day. And come up with some weird things about freedom to work the way people liked.

There was no ticketing system, the code repo had no real commit and PR rules, no stand ups, no bug tracking, no feature backlog, nobody measuring how the project was going, and if it was even making progress. Only real visible thing about progress was a odd demo every now and then. To make things worse, there were two senior engineers who seem to make their own power structures and bully people into doing whatever they wanted. The project folded quickly enough of course.

Sure if every one was motivated and organised enough, things could have been better. But most people are not. And if people aren't engaged enough they just do whatever they want, or even worse do nothing.

If you are keeping lights on in a project, and have lots of old employees things do work fine with remote work. I think building things quickly, especially big things quickly, does require close 1-1 collaboration, and engagement. I don't think its too much to ask. Sometimes thats just how things work.
I’ve also been thinking about embedded and firmware. I have an EE degree so could do that if I re-read some stuff.

Firmware programming seems neat, I enjoy C programming as you really have to think to do anything
"Based on our extensive academic knowledge, what actions could be taken to substantially moderate the problems humanity experiences from our shortcomings in this area?" is physically possible to say, but it may not be metaphysically possible (to say, and follow up on).
Stephen Wiltshire – Autistic Savant Artist Draws New York City from Memory [video]
Fair enough. I do implement long polling!
People who sit in their cars an hour every morning, stressed by traffic and pollution before they even set foot in the office, who then attend back-to-back meaningless meetings and email and slack, and then get back in the goddamn car again for another hour if they're lucky, think everyone who doesn't perform this unhealthy and destructive ritual is a slacker.
Whats your motivation for building it? Also, does it have any downside since we are giving away browser control to it?
I'm used to articles like this having some citation, but this doesn't seem to have any. I know about los Alamos lab but not familiar with their writing, am I correct in assuming this is pre-published findings?
I'm not sure it's a good idea.

While such power can be theoretically socially beneficial when granted to truly benevolent agencies under non-corrupt democratic regimes, allow me to introduce you to the Russian Internet watchdog Roskomnadzor as an example how wrong things could get if the agency is not so benevolent.

And the issue with regimes is that they can get corrupt. Even the good ones.
If I'm sat in a car

There are other ways to commute. Commuting via train gave me a chance to go for a walk through parts of the city I'd otherwise not spend a lot of time in. Being stuck in suburban hell currently, working 100% from home is a nightmare scenario for me. Asshole neighbors. Constant noise (far worse than e.g. Oakland). Shit infrastructure (electric, telecom, whatever).

And, in my experience, collaboration almost always suffers. One coworker used to work 100% from his man cave but also refused to invest in getting decent WiFi coverage down there.

then it's also possible we're discussing the album that's playing, or a
video game we both enjoyed, or a novel we're both reading.

So? Even though HN has a hard on for eliminating human interaction, socialization is important.

That said, Schmidt is wrong to pin Google's failures on remote work. Pichai is a fucking moron and Google's toxic culture is destroying both their ability to put out competitive products and to keep anything around long enough to get meaningful market share.