skysight-inc/HackerNews huggingface dataset:
It sounds like the author forgot to dup the fd before giving it to consume-data.

If he would have done that it would have closed the socket only once both fd were closed and the fds would have separate lifetimes like in the pipe example.
Valuable community housekeeping, thank you!
How the internet reshaped itself around Google's search algorithms
Yes - I think it would be interesting to see them actually produced. Could we get to 60% white pixels? Or 75%?

There could maybe be two solutions:

* Darkest/Brightest allowed by the QR algorithm,

* Darkest/Brightest technically valid, which would would not be chosen by the algorithm (i.e. if one manually chooses the masking pattern.

Perhaps also more solutions - 'Darkest/Brightest recognized by software X/Y/Z'
automation will increase worker productivity making smaller cohesive teams more efficient into producing results, entrepreneurship will be a lor more accessible, leading to a creation of specialized "skilled" jobs.
"Tyranny requires constant effort. It breaks, it leaks. Authority is brittle. Oppression is the mask of fear."

Excerpt from Nemik's manifesto from the excellent Andor https://starwars.fandom.com/wiki/The_Trail_of_Political_Cons...
couldn't you do it privately? find a family who is willing to take care of your kids for a while without getting any government agency involved?
Respectfully, I'm not trying to win people over or proselytize. This is what I believe strongly and I'm not trying to make it digestible. It is what it is.
In my experience, newspapers (and other media) are really bad at using hyperlinks. They don't really use them other than a bot linking a few keywords here and there to their internal category pages.
Ironically, but not surprisingly, in describing his alternative to hierarchy, the video essentially re-invents hierarchy. Anarchy is so fragile that even in a thought experiment by an anarchist, it can't even last 20 minutes.
Indeed, it was a good question. That's why I couldn't let it go either. I personally find the result quite interesting. Counterintuitive, but the most uniformly distributed load is probably the most likely to recover.

As always, https://xkcd.com/356/
Can ASICs benefit AI like it did for blockchain mining?
i think the biggest moat OSS companies have is production-grade infrastructure hosting.
Right, but even if I have the source code but can't patch the version that I'm running, that's not very useful to me.
NAT and firewalls, the trillion dollar hacks that break the Internet and require massive investments in central systems to do what endpoints could simply do if they networked together. (Trillion dollar because that’s probably what they really cost in lost efficiency, at least.)

Systems to defeat these exist: ICE/WebRTC, ZeroTier, Tailscale, dozens of other protocols I can’t recall, but they all add overhead and require coordination. There are also many of these systems which means there is no standard. There is no equivalent to TCP/IP that is universally available that works around the ugly hacks we have used to destroy the potential of the Internet.

It would be doable if everything were a desktop or a laptop, but most people use casual apps like Bluesky on phones. Phones have huge limits mostly around battery life. An always on P2P app on a phone will keep radios from sleeping and reduce battery life up to 50%. It’s also a problem for people who have crummy metered mobile plans. Firewalls require keepalive every 15 seconds or so or traversal must be done all over again, which means continuous chatter just to keep peer to peer links available.

If phones could just call each other without executing what amounts to a coordinated attack against middleboxes in the way, low power peer to peer might be feasible. You could do things like time synchronize so peers sync at designated times and the radios sleep the rest of the time. But we can’t have nice things.

All the heterogeneity and complexity in the Bluesky protocol exists to work around this. Without NAT and firewalls all you would need is maybe directory servers to find people and something to do the equivalent of dynamic DNS for when IPs change. That’s it.
Can this be used without using Nix at system level?
> I struggle to think of others, but I'm sure they exist.

Do you also struggle to think of businesses who are not OSS but successful? I think the list of non-opensource companies that became big is much, much larger - to the point I think it's fair to say successful OSS companies (from the perspective of making money, at least) are the extreme exception.
It's a bit disappointing to see Haier's very reasonable response (an extra high AWS load is expensive, because AWS is just expensive by design) but only after internet wide outrage.

Had Haier reached out and asked the dev to optimise their HTTP calls, or perhaps adviced him on what kind of call pattern their cloud servers were optimised for so that costs could be kept low, Haier wouldn't have received all this bad press. Like many reverse engineered APIs, the HACS plugin probably does a whole bunch of inefficient API calls because there's no way of knowing what API calls are cheap and what calls are expensive.

Haier could've gone further, and set up a dialogue to include a Haier component into Home Assistant directly, and slap a "works with home assistant" logo on their products' website. I'm no market analyst, but I'd be surprised if Haier wouldn't turn a profit on implementing official Home Assistant support.
Not a lot of application software interacts directly with ttys. I think the more relevant example here is stdio, which uses separate fds for reading and writing, like the pipe example.
SEO ruined the internet.
>>When we discuss open source business models with other founders, there are three complaints that come up again and again. These are:

- People might criticize my messy/bad/unfinished code

- Hackers will find and exploit security holes

- Competitors will steal my Intellectual Property

I think they are missing a 4th item which is "Amazon/AWS will commercialise and sell a service based on my code and not pay me anything."
As far as I know the .net debugger infrastructure is not open source, so unless you are happy to stay within the confines of VSCode, I think that your options are pretty limited for stepping through your code.

Running .net code on Linux is fine, though.
> You may choose to not fly on a boeing plane for political reasons

These are not political reasons. I'm for many years now trying to avoid flying on the 737 MAX and 787. Not because I dislike the planes even as a passenger, or because I worry about crashing, or because I have a political agenda. I want to use the little bit of voting with the wallet I have. This is the core of how our system works.

I understand that in the grand scheme of things this is not really doing anything, but if a sufficient number of people make airlines uncomfortable they will increase the pressure on Boeing to improve their processes.

The current duopoly/monopoly on aircraft manufacturers is preventing innovation in the space and I do not appreciate this a single bit.
At the moment word is that attackers encrypted Tietoevrys hypervisor platform (Hyper-V, vSphere or KVM not known) which was hosting multiple customers VMs. So attackers breached Tietoevrys management network, not customer networks.
This[1] comes under "doing a Microsoft right" ? It is my belief that M$ is intentionally not improving dotnet watch.

The current implementation is not as good as what you get from javascript world.

1. https://www.theverge.com/2021/10/22/22740701/microsoft-dotne...
Local API for Appliances
You mean to tell me that people don't often go around with balloons on 10 meter long strings?
> So is the rest all content? Not quite! There is also error correction, which is used to make sure that the QR code can still be read even if some parts are damaged, blurry, or missing. The error correction is generated by some fancy math, and we don't care about it here for the purpose of reading it by hand.

This should be explained better... I mean sure, the math can be hard.. but is the error correction appended at the end? After every byte? In the middle? Can we still read a qr code by hand if it has error correction (assuming it's not damaged, and we can skip the math part?)?
They can use non-violent methods all right when both sides are armed, but when one is not, anarchy says that it will do what the armed one wants.
> I'd throw Python out too, as it's just far too slow*, which would set wrong expectations for learners. While itmcaan be sped up by writing everything in C and calling it from Python you've already thrown C out, so that's not an option.

I'm not sure I follow you. Are you saying using e.g. numpy is not okay because it's implemented in C? How does that make any sense? The cpython interpreter itself is implemented in C so everything interpreted by cpython is just as much "in C" as something else like e.g. numpy.
Dull Men's Club
Robotics batchelors (and subsequently masters), offered in english (although one or two of the first year classes were in danish it wasn't too onerous to get around). A few years ago the government had an agenda to reduce foreign students so axed all (most?) of the english language batchelors, so it probably isnt available anymore.
Whatever. Don’t click it then.
Since llava is multimodal, I wonder if there's a chance here to strip a bit of complexity. Specifically, instead of going through 3 embeddings (llava internal, text, mini-lm), could you use the not-last layer of llava as your vector? It would probably require a bit of fine-tuning though.

For pure text, that's kind of how e5-mistral works https://huggingface.co/intfloat/e5-mistral-7b-instruct Or yeah, just use clip like another commenter suggests...
That reminds me a Apache module to protect websites using authentication via SAML (that was my case).
There are limitations. It scales well with a maximum number of around 70-80 nodes, which is a quite low number.
That is covered further down in the "Late stage" paragraph.
Basically, you are already winning if the big ones try to emulate you, though some advanced planning to mitigate this is needed. But it should not be the focus nor worry at the start, if I interpret the article correctly.
Have the Boomers Pinched Their Children's Futures? [video]
This is a just-so story without any empirical evidence.

The model of hierarchy is too simplistic. If you zoom in on the nodes you will see a more complex structure. It's not just one person but a host of people, operating in a semi-formal somewhat also anarchic structure. At every level of the hierarchy there is ample backup that will keep the system from collapsing.

Then there is also the dimension of efficiency that is completely missing from the discussion. Hierarchical systems might be more fragile but also much more efficient.
Interesting. I see! MRuby (Compilable Ruby for embedded systems etc) and Webasm Ruby might be fun areas for further projects :)
The problem there is using uninformative names, rather than URLs/URIs. Using the latter would be quite nice, since (as a reader) we could click on any of these links, or spider them to download the whole transitive closure of prior results; as a developer we could query those links to show e.g. their latest name, whether they've since been retracted/disproved, etc.
And the main one:

It's really hard to make any money by giving your product away for free...
There is EU law protecting interoperability projects (2009/24/ec) also Haier should be reported for anticompetitive behavior
Works surprisingly well for the plain white cloud case, I guess that's the only one where additive blending works correctly. The other all have pretty glaring z-sorting issues. Still, impressive in plain CSS.
Finding someone lost in the ocean is a huge challenge but wouldn't we expect a boarding team to be well prepared for this sort of thing? Don't they carry locator beacons, radios, flares or super-bright strobes, etc...? It seems strange that they could not find them doesn't it?
"Whoever can generate more organic clicks to a newly set up website & domain within three months wins." so you won't count all the views coming from HN?

What are the results so far?
Huh. How did you come to ask that question? I never mentioned how I code.
It is a bit dodgy to use a not for profit to make a for profit business. Its ok if its arm's length but the participation of people in the not for profit just makes one question the morals of today's world.
And challenge words in the Pacific were things like "lollipop", "lilliputian", and "lollapalooza"
I can't really understand this without seeing the equivalent SQL as I don't understand datalog.

Is this SQL query similar to the first datalog query you listed? I apologize for how HN formatted the below and my lack of understanding for how to get around it.

Select u.name, u.email, u.id
From Users u
Join Cookies c on u.name = c.name
Does the .mli file preserve documentation comments? IMHO the header file should be written for human consumption first. Documenting the implementation isn't by far as important.
> If after 6 years, Google tries to steal your lunch, you should have a brand, a team, and a community, that have spent the last few years preparing for a David versus Goliath-type fight.

From my experience, for procurement people all of that (brand, community, team, DX) will matter close to 0 in comparison to compliance, etc, if you are going head-to-head with an existing supplier like Google.
> You basically get sucked into a "what has AI ever done for us?" style debate analogous to Monty Python's Life of Brian.

Except today the bit (which wasn’t really a debate in the sketch because everyone agreed) would start with real current negatives such as accelerating the spread of misinformation and getting artists fired. In your analogy, it would be as if they were asking “what have the Romans ever done for us” during the war. Doesn’t really work.
The list of main complaints against OSS they present here is (conveniently?) missing the biggest one, in my opinion:

Your users can just host their own version instead of paying you.

It seems like many OSS companies mitigate this by leaving out features from the OSS version or making the deployment more difficult than it should be. I’m not complaining, I think it’s fair, but this is the reality.

It’s funny how they don’t address this one, but instead they list “oh no my code isn’t pretty” as a valid complaint against going OSS. Who cares.
This is really interesting and insightful. My only question is the assumption that the BL hack is damaging to society. A cynical response might be that a bunch of assorted medievalists, George Eliot scholars etc. didn't get access to their books... maybe some of them gave up and got jobs as plumbers, and GDP actually went up?
So this makes me wonder if I were running society what questions should I ask...

- what Automation initiatives never hit "take off"? I mean, like for Nuclear Fusion, human interplanetary exploration, and Quantum Computing there's some chance that the technology simply remains beyond us "forever", I guess that "forever" means more than the lifetime of the people who start the journey... or maybe actually just beyond humans full stop. We should admit there is a non-zero chance that FSD is one of these failing quests, even if a rational observer would have to say that that chance does seem to be shrinking and close enough to 0 to instill some confidence. Perhaps domestic robotics, auto-doctors, robot-manufacturing, programming, drug development will playout to automation - but maybe not.

- how do we consider the utilisation of the resources to do this? FSD has been very expensive so far, it's consumed lots of investment capital and lots of human creativity. Was that investment rational given where we stand? If society had held off and invested minimally from 2000->2024 how much would that have delayed the technology in reality? Or is it the other way round? Has the FSD investment facilitated the development of other technologies and created a 1->1 acceleration (for every year of 2000->2024 it's brought FSD a year closer than it would have been, so a cold start this year would mean FSD by 2050 or similar, whereas if we keep going then we can expect FSD by e.g. 2026)

- how do we value these outcomes? Are these unalloyed goods, or are some worse than the status-quo? It could be argued that the development of some technologies left the world worse off than before - smoking, social media, personal automobiles (I know this is politically charged but I am just using examples others have raised before). Can we choose rationally, especially if a large scale intervention and development process is required to realise these outcomes?
In the HN headline, the comma after "pandemic" makes it seem like the Arctic zombie viruses are also sparking terrifying new scientists. "Scientists" should either have "warn" after it like the original Guardian headline does, or the comma should be a colon. Source: me, an editor, and also easily amused at 5am.
Plenty of airlines have both A320 and B737 and/or a mix of NG/MAX. Replacing one with another will almost always have a different seat arrangement, necessitating mucking around with pre-allocated seats, and is avoided whenever practical.
Western firms are quaking as China's electric-car industry speeds up
I used one of their open source work in a project: https://github.com/supabase/wrappers

It’s appreciated since SaaS on AWS wasn’t a possibility.
I know this is a joke, but, this goes right back to the first time I deployed Ruby and had "the speed discussion" with people. We deployed a Ruby queueing server that used 10x as much CPU in the Ruby code than our preceding C version spent in its code (that wording is careful). It was also 1/10th the LOC and had more features, and given we spent ca 1/10th of a 2006-era Xeon core in user space, it felt like a worthwhile sacrifice - the vast majority of time was spent in the kernel handling IO.

It was what made me fall in love with Ruby: There are so many spaces where the time is spent elsewhere and the time spent doing things slowly in Ruby (though much faster than it used to be) doesn't matter.

Like a window manager.

I've even made performance tradeoffs that makes it much slower: On every adjustment of the layout, I iterate over every single window the WM knows about to filter a list of the wm's on this desktop, that are visible, and compare that to a serialized list of every single window that exists in the layout tree.

Because it's fast enough, and it saves bothering to keep proper track of state, and makes some of the code simpler.

Knowing when you can afford to pick the slow options on purpose is powerful.

Knowing when you can't afford to, is also important.
China's imports of machines to make chips rose 14% last year to $40B
One advantage of using open source products, even if you only use the commercial version, is that they place a limit on how “evil” the company can become: at some threshold, people might decide to put in the effort to fork it (like MariaDB).

My company has had people straight up tell us that they are comfortable using our managed service for that reason.
You act like it’s possible to be perfect and that accidents don’t happen in this world. why don’t you hold car makers to the same expectation just because they only go in two dimensions instead of three? Every company has bad workers that do bad jobs even mission critical jobs that endanger lives
Meta presumably using tanks instead of terminators because they’re still working on the legs?
https://archive.is/41j2C
I minored in sociology, a degree that some would consider "useless" but it's been absolutely invaluable in navigating the social dynamics within the various engineering orgs I've worked for.
> The point is to make social media providers replaceable

And how is that a sustainable business?
lol why do you think they picked those cities? No snow or ice or much inclement weather other than rain. It is not just scaling horizontally.
Last year I did some experimentation along these lines and I also found that no error correction was best, at least when 3d printing QR codes. I was trying to find how small I could print it and still have it be detectable. Like the sibling comment, I suspect it is because of individually larger pixels.
I don't know much about this history of (e.g.) Wall Street. But for Washington, DC, I can think of a lot of people who made it pretty far up the ladder before booze caught up with them. Wilbur Mill was head of the House Ways and Means Committee. Sumner Welles was Under Secretary of State. Mendel Rivers was head of the House Armed Services Committee.
Having multiple exercises that in the end get tied together is a pretty good idea! This would also highlight inconsistencies between different pieces of code that may indicate that the code has been generated and/or students are not understanding what they are doing.
There was a now detailed comment in the GitHub thread reminding people that Haier "Europe" has an increasingly large manufacturing presence in Russia. Probably another good reason to avoid them.
I’m sorry to inform you that just because of plane crashes doesn’t actually change the value of the company at all. First off the plane was purchased by someone else already, so they lose the plane. Second Boeings orders are placed in advance. You have to put up half the money before they even start to build the plane nobody’s gonna back out. There were hundreds of crashes in the 1970s today. We average about one every three years. The Boeing 777 is the safest airplane of all time. Followed by the 767 followed by the 757. Member airbus just crashed, although wasn’t their fault but things happen. If anything, it shows how strong the aircraft is, that a door can blow off on the thing stay together. Do you remember the Hawaiian airlines flight?
Would disagree. I write in other languages and I find things tough to read. There are things about ruby I find tough to read (like `unless`) and know many other people who agree.

Symbols work just fine in practice.
Tag with (1935) ??

Quite an interesting short read and I guess a prompt to actually read R.U.R
Why would execution speed be particularly relevant? Python is slow but that hasn't stopped many useful applications from being written it, plus proper use of libraries written in C (e.g., numpy) again mitigates the issue.

From a learning perspective, a slower language could actually be beneficial in the sense that it's impractical to brute force a solution to a problem in a way that you can get away with in C or similar.
Kind of hilarious how they don't mention the core need (and source of funding?) of these types of devices... spies
It can be used on non-NixOS Linux distributions and Mac OS.

https://nix-community.github.io/home-manager/index.xhtml#sec...
There are several very different topics here though.

One is rejection of hierarchy, which is not accepting an order of society based on some sense of the sacredness (hier(o-) denotes holy/sacred). In this sense, you can reject hierarchy but still accept some social organigram. For example one where every individual holds a position based on continuously evaluated results compared to clearly defined expected outcomes and extremely fluid social mobility. It’s permitted to doubt that such a human society ever existed so far.

An other topic is uncentralized/distributed social organization. They are not necessarily incompatible with behavior of social apes. But it’s probably far harder to build, as it requires a stable equilibrium of ability for each party to use brutal force to disband any particular will to reign through threats from other nodes, and diffuse education means to spread the will to refrain from such a nefarious behavior in each node.

The distribution of power is rather independent of whether the society is using some hieratic characters, like brainwashing through worship of some divinity and its gospel, or stricly secular means, like fiduciary subjugation through money.
For reference there were only 52 of these planes made compared to 171 max-9 varients