skysight-inc/HackerNews huggingface dataset:
That would be a major effort, without a very clear benefit. Curl is massive, just scroll through its man page.
I don't work in the industry, but what would you say to the people that do work at Meta who have good intentions and rationalize it by thinking to themselves, 'At least I can try to limit how bad they are, and if they didn't hire a good person like me, they would just hire a bad person doesn't care about the public.'?
Why? Merging master into the feature branch is done so that you can test the conflict resolution in the branch before inflicting it on everyone. It’s also done on a regular basis in longer running feature branches to prevent large conflicts from accumulating- you can merge master into your branch multiple times to stay current with master before ever merging back into master. I’m not sure why parent says this causes them to lose track of which changes happened in which branch. The history does get a bit more complex at a glance, but for any given commit, it’s easy to pinpoint their origin if using only merge commits. It only gets harder if you accidentally rebase someone else’s commits along the way. For smaller feature branches and smaller projects, it’s okay to merge branches into master, but for large branches, large projects, large teams, and teams that care about testing, merging master into feature branches is a best practice. What makes you consider it ‘wrong’?
> Well, let’s see. IG was acquired by FB in April 2012 and had somewhere above 10M users at the time. Around the same time, Twitter had around 140M accounts in US alone, nearly 500M worldwide.

So increasing your user base by one order of magnitude requires increasing the number of employees by more than two orders of magnitude? Rate of employee acquisition should probably never outpace rate of user acquisition, so I think that's a pretty clear sign that something was off.
Weed. The only thing that made my grandfather's life bearable (and even enjoyable). His tremor went away almost immediately (for the duration of the effect - 4-6 hours) and he could move swiftly and painlessly, even do some woodworking, brew his coffee, eat soup, and other tasks like that.

He consumed the THC extracted to alcohol shot (I guess some homemade spirit). The amount was low enough to not have any visible effect on his behavior.

One plant grown on their garden (legal where they lived) was enough for a whole year, and there were leftovers.
You can still add a set of curly braces around the loop to scope variables.

The syntax isn't as nice, and you have to remember to do it (maybe a linter can help with that) but it ends up more of a "nice to have".
Dorsey retained a chunk, maybe others
France's summer heatwaves likely to have caused 2,816 additional deaths
> NPPs require a permanent grid connection to not blow up

There is no risk of nuclear power stations blowing up if a power cable breaks!
Ask HN: What newsletters are you currently reading?
I'm curious to know what newsletters others are reading in the areas of venture capital, technology, financial, current events
>I would expect an OS capable of expending its swap file to try doing it before failing my malloc call though.

It takes A LOT of time to expand the swap file. So failing malloc immeditately seems, to me, the right way to handle it.

Maybe adding an optional callback to malloc to be notified when further allocations are possible would be a better way to handle this.
Aren't most DVDs 480i rather than 480p? At least all the ones I bothered to try were interlaced.
I believe that we are conditioned to restrict our command set based on what we know the device can do.

This betrays a spectacular failure of imagination on improving what the system can do. Show me a weather map. Show me turn by turn directions. Show me the television schedule. These are simple things that the display version cannot do.

Another problem is the clunkiness of accessing the apps. Ask foobar to tell me a joke … why not just “tell me a joke,” and remember that foobar is the preferred app to handle it? I have to remember two things. I have to remember that foobar is the app that I want, and tell me a joke is the command I must give to it.

Finally, volume control. When I ask it to turn it up, it stupidly increments it by one notch. Instead, it should take a sample of ambient noise, and pick a setting that is slightly above that. Otherwise, why would I be asking it to turn it up?

Just really simple simple things. I bet they could take 10 very smart people, that have never used this in the first place, and just watch them while they imagine all the possible things that could help around the house.
George Hotz thinks it's even less, on the order of 20-40 engineers.

"20 with cloud, 40 without. So much overlap between iOS, Android, and the web, three people can do all three. More for the backend." https://twitter.com/realGeorgeHotz/status/159371372367535718...
So organized religions are not cults because some people just show up for the donuts?

You're only trying to add "nuance" because you're intimately familiar with organized religion. When you look at other cults, you say to yourself "obviously that's a cult because they're all zealots." But is that likely to be true? Probably not. Humans always have a wide variety of motivations for the things they do. I'm sure many people have joined cults because they're lonely or hungry.

As for your example with the homeless shelter, it would be a cult if you and the other members were part of the homeless shelter based off of a shared philosophy that was given to you from birth that involved practicing arcane rituals worshiping an ancient deity.
Interestingly, I've seen code that uses the flexible array member idiom with MSVC. I'm fairly certain I first saw this in the windows code base when I worked at MS, and I believe it may even be in some public headers somewhere. In order to compile on MSVC, the trick uses MemberName[0] or MemberName[1] rather than the standard MemberName[]. GCC and clang warn about this. I suspect it might have been a common idiom in pre-C99 days.
It was actually released at a normal price (I think I paid $20 for it), but yeah, didn't realize it was a limited release that's now going for big money.

(The limited release thing is annoying, but... it's a niche market, and one of the ways they get people to buy things at full price instead of waiting for 50% sales, so I get it.)
Ever try to plan out an electronics project? I often have about 35 datasheets open with a half dozen different price lists.
Is it possible that the meteorite picked up the amino acids from Earth's atmosphere or during the impact?
Apparently -$10,000,000,000.00.
I don't really mind a clickbaity joke as long as the contents are good. Found the hack itself pretty cool.
Small comment:

I think you have your integer example backwards, ie [1,8) = [1,7].
Not anymore, because I find that the iOS version of Zotero covers most of the use cases in the comments

But I still print when I want to show stuff to other people, or for lab bench protocols
Me too, on macOS, I notice memory is freed more.
Can this run on my Fedora desktop?
TouchDesigner is very popular in this space.

https://derivative.ca/
looks pretty good, congrats to the team.
Gitlab supports an option called "Fast-forward merge":

> No merge commits are created.

> Fast-forward merges only.

> When there is a merge conflict, the user is given the option to rebase.

The maintainer can enable this for a project.
How Long Would Society Last During a Total Grid Collapse? [video]
2009 + on average 7 years between recessions. The next one was going to be 2019 at the latest.

Everyone saw the recession. https://markets.businessinsider.com/news/stocks/yield-curve-...

What seems to have been tried is subvert the actual technical recession with a produced recession. Lockdowns, etc. So when you lift the lockdown, it ought break the recession pattern. But when they broke it, ouchies started happening. They were warned money printing would lead to inflation. Politically they chose to disbelieve and they were wrong.

The only reason we aren't in a technical recession right now is inflation not being accounted for. If this goes on much longer it's going to be a depression. An interesting metric for measuring economic depression is looking around you. Are the people around you all getting depressed?
HN posting: Win for Open-Source Legally: Settlement Reached in Stockfish vs. ChessBase

Title of article: Settlement Reached in Stockfish v ChessBase

Was the title edited, or is this editorialism? Also:

> The agreement also includes the necessity to hire a Free Software Compliance Officer to assure that further violations do not occur. Critically, the agreement includes no financial compensation for the Stockfish team, not even legal fees. There are fines for violating the settlement, but they would be paid to the Free Software Foundation Europe and not the Stockfish team.
It is important to say, and it is simply not mentioned, that this problem is an American problem.
I'm a parent who has had children in day care for the last four years. The parallels between daycare for our toddlers and what many startups and big tech companies have provided and allowed to transpire are very clear to me and many of my peers. As a sibling comment stated, we've been using the phrase within our circles for many years. Those circles? Private group chats and friend groups. Mostly due to the climate in tech of mob mentality, groupthink, and the reaction against thoughts that run afoul of the orthodoxy of the week.

Your choice of wording suggests that you find the phrase or concept offensive, which would be understandable. But attacking the phrase as a talking point is shallow.
Because tabs and bookmarks are not the same thing. It's harder to find something in a bookmark, easier to just go through the opened tabs quickly if you know it's there but don't remember the name
Meta Sued over Data Retention for 'Forced' Personal Ads
That update behavior where ff is still running and existing tabs mostly keep working, but new tabs don't, has been a thing for years and everyone hates it, not just you or me.

I thought it was possibly related to ff on ubuntu switching to being a snap by default (even though I thought I had forced my system to have no snaps and no snapd and added a special ppa for ff) and said something in a comment on hn, and several people clued me in it's way older than that and I'm not the only one who hates it.

It's like ff devs don't actually use browsers, which is crazy of course. But, they really are ok with always having to blow away everything ypu have going at any random time middle of the day? (it's always someone's middle of their day or stretch of involved work)

They never have tabs open with partially filled forms or search results or web apps that "restore tabs" won't restore the way they were? Or this just doesn't bother them?

It feels like a case of "you're holding it wrong", as in the user should shape their usage pattern around ff's update strategy, like, always do and apt upgrade before sitting down, and never after starting to work, and if you leave tabs and work open over night, well I guess just don't do that?
I think it is wrong to value the well-being of some humans more than others.
You listed a bunch of requirements without an argument that fulfilling those requirements actually entails an exponential growth in employees.
As Elon stated, 90% are "managers", whose period of notice is 3 seconds.

Others have 14 days, and sometimes more. But I doubt it
because those "managers" famously hire Russians & Indians (outside EU) to do the dirty work.

https://www.suomi.fi/citizen/working-life-and-unemployment/r...
UPG – AI Text to Code
GPT driven AI code writing.
Mastodon vulnerable to multiple system configuration problems
And yet most movies are closer to 24:10 which even Blu-Rays don't seem to support so all the video streams come with built in black bars to make them 16:9 :|
https://rocketgit.com/user/sylware/lnanohtmltiledmap/source/...
Quickadd: A Python library for extracting date and time from natural language
I'm not really familiar with how they do payrolls in USA, but I'm pretty sure it isn't some rocket science (pun intended) and can be done rather cheaply by an outsourced firm.

Also, why are you (and many others here) refer to Musk as "E-Lon"? Is it supposed to be a derogatory nickname?
But then we end up with the OOM Killer, which is awful - randomly kill the biggest process because "reasons".... It would be better if the OS could say no.
Mark II sounds like he'd rather be sleeping than helping the person in the demo video.
> The WASM is only 311kb

That's gargantuan.
Of course they do. But looking further I also don't like the idea of Chrome being the only tested/supported browser everywhere and giving Google even more dominance over the web than they already have.
That's why I have “make sure to justify deviations from” in there.

It's easy enough to make that policy, but you run the risk of making the development process too unwieldy to implement (See: Taligent's Style Guide).

I would hope that most style guides have caveats for deviation (disclaimer: I haven't read a style guide in eons, so I don't know what they generally say, these days).

I'd say that "We should do it this way, but, if you think your way is better, convince me." is a good approach.

Really, I see a lot of problems, caused by corporations' obsession with hiring lots of bad programmers, and trying to force them to be good programmers, by setting up strict boundaries, as opposed to just hiring a few good programmers, in the first place (which, admittedly, has its own issues). This is nothing new. I have seen this since the 1980s.

The really cool thing about software, is its flexibility. I feel that the enormous toolbox at my disposal, along with my experience in using said tools, makes it possible for me to develop some pretty good stuff. If someone tried to force me to do a "lowest common denominator" approach, I don't think the results would be good.
Because Leaflet is an extensible library for building map UIs using the browser, using DOM elements as grid cells, and using SVG in some cases for overlay geometry and user interaction.

Things that are mandatory for map display, like:

- Label priority and positioning

- Display of internationalized, RTL, and Bidi text

- Geometry rasterization and styling

Are outside the scope of Leaflet's core design and can be implemented by plugins, one of which I have linked in a sibling comment.
Maybe I watch too much science fiction, but I can easily imagine a grid of plastic or aluminum panels which you could snap off when you wanted to work in the wall, and snap back on when finished. I don’t have a feel for if it could be done economically. It would certainly be a way different look from what we are used to.
Yeah I mean if you ask me what the optimal solution is it would have to be a combination of the two, more specifically vector data overlaid on top of satelite imagery.

Unfortunately I'm not really aware of any FOSS dataset for that yet, but that may change in the coming decades if the price of mass to orbit goes down.
Done for instance in

- http://lambdaway.free.fr/lambdawalks/?view=Lsort

- http://lambdaway.free.fr/lambdawalks/?view=fft

- http://lambdaway.free.fr/lambdawalks/?view=tablesort

I gave these examples as useful tools at the end of the document amongst others.

My concerns are elsewhere, as you can see by looking at the wiki page.
Whatsapp, discord, telegram, and all other chat apps have a very easy time scaling. Using user count as a metric and comparing them to Twitter is pretty disingenuous. Instagram is a much better comparison, which had 1/50th the user count of Twitter at its acquisition.

Chat apps are well known to rely on infrastructure that scales up exceedingly well. That is why there are so many of them, and why they all have 100 tech employees or less.

Instagram at the time of the acquisition could have run on 20 servers plus S3. Today's Instagram, along with today's Twitter, does a lot of work that is super-linear in user count, and has something like 2000 engineers. Timeline building is reportedly O(n^2) in user count. The scale difference has a huge effect.

Notice that chat apps have no equivalent to "timeline building." The worst scale factor a chat app has is linear.
some things actually just work
does not support WebGL? thanks, gonna look into that.
I’m suspicious that most of the value in these systems comes from a small fraction of the effort and many technology jobs boil down to knowing you’re a huge cost center and putting on a performance to hide that.
It has to do with how cpus do floating point division.

Here is an article that discusses this, along with workarounds:

https://dl.acm.org/doi/10.1145/3503512

From the abstract: "Drawing a floating-point number uniformly at random from an interval [a, b) is usually performed by a location-scale transformation of some floating-point number drawn uniformly from [0, 1). Due to the weak properties of floating-point arithmetic, such a transformation cannot ensure respect of the bounds, uniformity or spatial equidistributivity."
Yes! The flood dynamics are what create viable salmon habitat. The dams are a double-whammy for salmon - salmon can't access habitat above them, plus dams alter the natural flood regime and destroy habitat below them.
Grab (https://www.grab.com/my/), Amazon Logistics, Apple (afaik) and some other mobile apps already do this. Full-time staff are correcting OpenStreetMap with one-way restrictions, speed limits, road width. Strava allows OpenStreetMap mappers to see where people walked/cycled to identify missing paths. Facebook is tracing new roads based on machine-learning satellite imagery (https://wiki.openstreetmap.org/wiki/RapiD).
These problems while not uniquely American, are certainly made worse by the US attitude to both data privacy and tax returns.
I don't know about software engineering more generally, but I found it worse than useless for my work in data science (machine learning and ETL pipelines), spitting out code that was so wrong that it couldn't be salvaged. I suspect there's a wide variance in the degree to which Copilot will indeed pay for itself.
This is a great idea; my go-to approach is the "I'll use PowerPoint to do that and take a screenshot" mindset since I don't have a need for publication quality output.

I really like the comparison site that you have created - it's great for learning these languages. I would love to see a plugin for Obsidian for the times where I need to add a custom drawing to my notes. It looks like there already are plugins for PlantUML[1] and graphviz[2] today.

[1] https://github.com/QAMichaelPeng/obsidian-graphviz

[2] https://github.com/joethei/obsidian-plantuml
There's an effort to add support for sha256, but it's... not recommended https://lwn.net/Articles/898522/
I've done several projects rebase-only with limited resources and time constraints. In fact, it saved resources and time when we did it.

You have been repaid the time investment spent learning rebase commands, after once being able to avoid a really bad merge conflict.
A bit off topic, but can we start straight up catching these in Low Earth Orbit? What's the hard part here? Detecting them before they're close or getting a earth orbiting satellite to the precise right place at the right time?
We built a generative AI prototype for 3D models and scenes in 2 weeks using only 8,000 models. The results are promising and show that models generated in 3D can be curated to the user, helping to overcome potential licensing issues.
I've always regarded the principal task when implementing a program to be creating the necessary data structures and a set of functions that represent a vocabulary for manipulating them. So every program I write contains a small domain specific language. Isn't this what everyone does?

'Official' small languages only make sense when the user base is large, this is why SQL exists but a mainstream language for manipulating Maxwell's equations does not.
I suspect that if Twitter can maintain itself and become the new Parler/Truth Social/etc. It will ultimately reveal that it itself magnifies underlying political power but doesn't create it(for the parties, for Musk it may become an incredible source of political power). Twitter amplified Trump's rise and may have ultimately been the source of his downfall. Be careful what you wish for I think becomes prescient.

And a platform dominated by Andrew Tates and Donald Trumps will be strongly popular (inspire fanaticism), but not broadly popular, and may alienate people. If Elon Musk lets twitter become a cesspool, and conservatives embrace the cesspool, I think it will lead to a new understanding of "brand safety".
Yes, retributive justice is very popular among the general public, particularly those affected by crime who are often the loudest voices.

But it is a morally and functionally bankrupt theory of justice, which is why I will always point out that our legal system was also built on other more productive and more moral theories of justice.
‘He was fast. He ran you right over’: what it’s like to get hit by an SUV
I know the bus factor is the morbid "how many people can get hit by a bus?" idea, but I actually like to present it as "how wide is the bus?" in terms of people being the conduits along which information and instructions flow; a wider bus provides redundancy. Aside from being more positive I think it's also more accurate for how we want teams to work. The "win the lottery and quit" metaphor is just stupid.
You can buy a lot of politicians for 44B and there would not be anywhere near as much smoke and flames. Guess that didn't have enough of a hit?
It happens pretty often when two different people are adding a new function in the same area of a file. It's likely that as you're working on that function, you'll be modifying the surrounding lines a few times (say, you have a first pass for the happy path, then start adding error handling in various passes; or, handling one case of an algorithm in each commit).

Rebase is still by far the most common case in our repo, as yes, these cases appear very rarely. But when they do happen, it's often worth it to do a merge and mess up a history a little bit (or squash, which messes with history in another way) rather than resolving conflicts over and over.

Someone else was also suggesting rerere for this use case, but I've never used it myself and I don't know how well it actually handles these types of use cases.
Is it possible to fall back to a jpeg if the browser does not support js, wasm, or web workers? With a <picture> element, maybe?

I did some tests on my own server and found that for some reason it's quite fast when running on https, but super slow on insecure http. Not sure why that is, maybe the browser disallows something that's important here for insecure connections.
New Asahi Linux release with many new features
Not sure if NYS generates 70% of its electricity from hydro, but is possible that 70% of the electricity that NYS consumes comes from hydro. I believe that NYS imports a lot of electricity from Canada where it is generated from hydro.
Kind of like the way clickbait complaints once had a point, but now are cliché.
Linear extrapolation seems to be a common theme in the comments. People take a product they know and then essentially say “Twitter only has X times as many users, surely they only need X times as many engineers. The other employees were excess!”

I haven’t worked on Twitter-scale products. But I do wonder if it’s safe to draw a straight line between services that have middling and large scales. Things don’t necessarily work the same at the extremes.
Asahi Linux November 2022 Progress Report
I am surprised I can't see this here. Wasn't anyone else taught [closed; closed] and ]open; open[ notation in school?
> Instagram had around 10M users at acquisition

No, they had 30M:

https://www.vox.com/2017/4/9/15235940/facebook-instagram-acq...
Catch it with what?