skysight-inc/HackerNews huggingface dataset:
> Because with per-corporation unions, your employees joining makes you less competitive.

There doesn't seem to be a lot of evidence to support this. Why would it even be true? The union isn't some magical thing.
I’ve been on a journey to learn a bit about battery tech by building my own “solar generator”. Terrible name, but something like a jackery or blue yeti.

I acquired 4 lithium iron phosphate cells along with a bms, solar charge controller and various doodads.

I had to learn about balancing the cells, wiring, etc. it’s been a bit of a rabbit hole for sure.

I ended up building 1.2kwh battery for powering my fridge and lights while camping. For less than half the price of an equivalent off the shelf unit. Of course it has taken an enormous amount of learning, but that’s free.

One the more interesting revelations to me, is how much I under appreciated industrial design before. On the first glance a device like a battery pack is a square box with a couple of outlets but I’ve certainly had a difficult time making it look nice. Internal component wiring is also an interesting challenge.
How the Sun looks from other planets
I use Apple Maps for all of my transit needs, but I still keep Google for business data and lists like this. I don't find the Apple Maps list set-up to be what I want from this kind of feature. I do find it reasonable to keep two maps apps on my home screen, though.
I don't need it, but upvoting just because of your dedication to the project. It also looks very nice, and the extension is a cherry on top
Douglas J. McCarron head of the Carpenters Union Las Vegas, they own the most expensive piece of property in the USA (or thought to be) right across from the White House. The carpenters also do welders, carpet layers, ceiling tile, and a few others. Mostly in the upper US, as the south is known for being right to work. Some government contracts will pay prevailing wages even to non-union workers to make the bids fair.
From a jazz musician's perspective, classical theorists tend to confuse the map with the territory. Classical theory is (at least historically) often prescriptive rather than descriptive, which tends to cause some friction when applied to music outside of that idiom.
Pretty much any human presented with a tiny slither of information immediately asks for and or invents a “narrative” to “make sense” of what occurred.

The less datapoints you have, the easier it is to make a line that fits.

We’re great at pretending to understand, masters at nodding wisely.
Hiring another dev does not give them access to the raw numbers. It's not the same thing at all
it is specifically the signals-based approach pioneered by Solid, https://youtu.be/82dzMKZzHrY?t=12314
Doesn't the computer fraud and abuse act cover this?
because it won’t—entertaining the question legitimises these snake-oil peddlers
> Toll roads change price based on type of vehicle and don't allow all types of vehicles. Discrimination.

I suspect they can't capriciously tell you that you're not allowed on the road because they don't want to associate with you, as you are a "scumbag."
1B Row Challenge
https://www.youtube.com/watch?v=9ONQo6BmfvY

https://www.yahoo.com/news/floridas-housing-market-seeing-ni...

https://www.tampabay.com/news/florida-politics/2024/07/23/ha...

https://www.newsweek.com/florida-homeowners-desperately-tryi...

https://www.newsweek.com/florida-homeowners-relocating-insur...

https://www.redfin.com/news/florida-condo-prices-dropping/

Central Florida is "home ish" but will be moving out soon. The situation is not what you communicate it to be.
It's "fine" in the way that I would leave that company at the first opportunity.
1.) The Olympics have never been a place for a second chance. There are miracles of course and occasionally some low ranked athletes perform well. But for the most part, it’s the best of the best.

2.) Relatively few Olympic sports even have professional leagues that we would think of as professional leagues.

3.) A small number of stars make money. The vast majority make absolutely no money. Instead of trusting a snarky person on the internet, here is a quote from the CEO of the USATF:

“Most of our [athletes] make less than $50,000 a year, and for many, much less than that”

Or consider that in 2016, ~ 140 athletes had to resort to GoFundMe to pay their costs to attend the Olympics.

4.) They talk about letting professionals in like it was a simple thing. Professionals in the Olympics have been a problem since 1912 when Jim Thorpe had his medals in decathlon and pentathlon stripped because he had played professional baseball.

5.) The way they talk about IOC corruption implies they must have stopped watching the Olympics in 1920. Budapest won the games that year but the France dominated IOC stripped them of it (they had been enemies in World War One) and gave it to Brussels.

That’s a start. I can continue if needed.
Ye that's actually not a bad point - there's like Google's DNS 8.8.8.4 and also 9.9.9.9 which I was researching - another option I guess is to let your ISP do the DNS, but unsure on that as well - what do you think would be best (still deciding which to use!)
Related:

The One Billion Row Challenge (482 points, 7 months ago, 350 comments) https://news.ycombinator.com/item?id=38851337

The One Billion Row Challenge – .NET Edition (104 points, 7 months ago, 23 comments) https://news.ycombinator.com/item?id=38898143

One Billion Row Challenge Shows Java Can Process 1B Rows File in 2 Seconds (107 points, 6 months ago, 73 comments) https://news.ycombinator.com/item?id=39175500

The One Billion Row Challenge in Go: from 1m45s to 4s in nine solutions (499 points, 5 months ago, 191 comments) https://news.ycombinator.com/item?id=39578501

The One Billion Row Challenge in CUDA (241 points, 4 months ago, 74 comments) https://news.ycombinator.com/item?id=40014711
Thanks for pointing this out. It's hard to communicate ipv4 and I dread even reading ipv6.

I don't understand why they didn't just add two or four more fields to ipv4 e.g. 0.91.127.0.0.1 is localhost where 0.91 can be omitted in the local context.

PS: I don't understand how networking works. Feels very very complex and full of jargons.
The idea of embedding SQLite in the kernel, reminds me of IBM OS/400 (the operating system of the IBM AS/400, nowadays known as IBM i). It contains a built-in relational database, although exactly how deeply integrated it is, is not entirely clear, due to lack of details of its inner workings.

Putting a relational database in the OS kernel is an interesting violation of standard layering. Obviously has the potential to unleash a lot of issues, but also could possibly enable novel features.
That's cool. I'd love to be able to do that but my hacking skills are somewhat confined to the digital domain. What's going to be really interesting in the next few years is the number of batteries coming out of cars which could be re-purposed for grid storage or back-up domestic power like your set-up here. Typically an ev battery is determined to be at end-of-life when it's reached 80% of original capacity. However, the capacity is also dependent on how fast you try to cycle it and over what range of SoC. The bigger the SoC window and the faster the cycling the more stress put on the battery and the larger the losses. Taking batteries out of cars and putting them in boxes, cycling them slowly and within a smaller SoC window means you can get a lot more life out of them.
Most code with branches is not “algorithms”. (Bear with me.) It’s simple loops and function calls and vtable indirection. Those can be predicted with very high accuracy, and loops in particular by their very nature dominate execution. For every unpredictable branch in your quicksort there are several very predictable branches that do things like check bounds, the recursion base case, and return address.
Here's the opposite of your scalable implementation: 1mil checkboxes in under 1000 characters! (Deno)

https://gist.github.com/jeff-hykin/4cdebafd8698298d021f103e2...
> the countries with sectoral unions all compete relatively well.

Relative to what? The question isn't really whether Poland is more or less competitive than California (the other differences between them would dominate), it's where they would each be with the other system.

> And the cohesion provided by sectoral unions is enough of a social benefit that you rarely find their employer class willing to destroy that contract.

It also tends to result in market concentration because a startup who can't hire in an industry without negotiating with a huge existing union is put at a disadvantage relative to large incumbents, and the incumbents may like it that way.
I see, that does seem pretty cool

Always appreciate getting a glimpse into the mentality of the users/maintainers of the more niche Linux distributions out there

Thanks for sharing :)
Yes, but it's hard to find in the kernel:

https://github.com/torvalds/linux/tree/5437f30d3458ad36e83ab...
The Input Tube [pdf]
About a year ago I submitted the book this is from, and a user, @fuzzfactor, offered to provide more relevant info on the linked section if desired (https://news.ycombinator.com/item?id=34299135). I saw that comment after the reply window closed, so I'm submitting just that section to hopefully catch their attention and generate some discussion on it.
Nice, this problem is isomorphic to the probability/graph theory problem “hunters and rabbits” from Matousek’s discrete math textbook, except with the slight modification that instead of “n hunters with perfect accuracy each randomly and simultaneously shoot one rabbit among a set of m rabbits”, it’s “n birthday havers each simultaneously have a birthday among m=365 days”

There is a closed form solution to this problem’s expectation for arbitrary n and m, which I’ve linked below:

https://math.stackexchange.com/questions/610250/a-question-o...
I love Svelte and agree with you about performance, but its built-in CSS management has some showstopper bugs that are more likely to become apparent the bigger your app gets. If you use :global to target elements in child components (which is inevitable), you’ll run into specificity issues caused by Svelte not removing CSS after components stop rendering. Apparently it’s “by design”, i.e. it’s too hard for the Svelte maintainers to figure out and/or cleaning up would hurt them in benchmarks.

I guess it’s OK if you use something else for CSS such as Tailwind.
Regardless, it's a fair point. Most of the attack surface on client / end user boxes these days is through social engineering and end user stupidity. Vanishingly little of it on modern OSes comes from external sources like a scan revealing a mistakenly open port. It's just that the threat profile has shifted toward making users make mistakes to the point where so much resource is thrown at fooling users now that, by the numbers and the ransomware profits, it's more effective than trying to penetrate software remotely.
How are you determining what you’re specifically known for?

Mine has a ton of stuff:

https://hn2.wilsonl.in/user/AndrewKemendo
Aircraft are thirsty and burn lots of fuel, right?
This may help, and you may be surprised at how well an N100 can run Plex. https://www.doscher.com/gpu-passthrough-for-intel/
> I don't think SQLite can run on a block device out of the box, it needs locking primitives and a second file for the journal or WAL

It ships with an example VFS which shows you how to do this: https://www.sqlite.org/src/doc/trunk/src/test_onefile.c
> How are the employer's and employee's interests aligned exactly?

If there was no shared interest, whey would employees and employers ever work together in the first place?
Looks like this was the real reason Facebook could not comply with China's data sovereignty laws and had to abandon the market.

The fact Apple and Microsoft services both work in China shows they are a little more trustworthy.
If you play ten note chords — one for each finger — in quick succession, that can rack up a lot of inserts in short time period (say, medium-worst case, 100Hz, for playing a chord like that five times per second, counting both “on” and “off” events).

It’s also worth taking into consideration damper pedal velocity changes. When you go from “off” (velocity 0) to fully “on” and depressed (velocity 127), a lot of intermediate values will get fired off at high frequency.

Ultimately though you are right; it’s not enough frequency of information to overload SQLite (or a file system), probably by several orders of magnitude.
I don't know why but Facebook is the one tech company that I just can't have a good opinion about. I like and dislike Google, Microsoft, Apple, NvidiA, AMD, Intel and the rest for different things but I just hate Facebook. I closed my facebook account about 10-11 years back put a filter to keep facebook out of my search results. And I have to say it works I rarely see anything about Facebook on my Google news feeds etc. I still use WhatsApp though as that is the biggest communication app outside China in Asia
A bowl of word salad, clickbait title and expectation to get some real answers from HN community, really?
> The government is likely to further push for mergers among banks to solve the problem because Beijing lacks a proper mechanism for banks to leave the market.

A forced merger exactly is the mechanism by which the US FDIC removes failing banks from the system. There's a sort of auction offered over the weekend to potential acquirers, with the FDIC subsidizing the deal if necessary, and shareholders of the acquired typically wiped out.
Well, center of Moscow and any other city are basically different countries in terms of quality of life and all other first-world stuff.
Good to know, do you develop battery powered hardware?
Not to downplay it but at least this requires users to download the Onavo app, which isn’t so common.

The one that I wonder about a lot is this: there are two (non-deprecated) types of webview you can use in iOS: WKWebview and SFSafariViewController. They’re intended for very different uses.

When you tap on a link in the Facebook app they should use SFSafariViewController. It’s private (app code has no visibility into it), it shares cookies with Safari, it’s literally intended for “load some external web content within the context of this app”

Instead, FB still uses WKWebView. With that you can inject arbitrary JS into any page you want. Track navigations, resources loaded, the works. Given the revelations we’ve seen in this article and many others I shudder to imagine what FB is doing with those capabilities. They’re probably tracking user behavior on external sites down to every tap on every pixel. It seems insane to think they might be tracking every username and password entered in their in-app webviews but they have the technical capability to. And do we really trust that they wouldn’t?
> Maybe "BIRTH" and "DEATH"

Constructors and destructors
Money, If I recall correctly they paid teens to install and use the app
James Burke said it best

https://youtube.com/watch?v=-XoTGFC-0NA&pp=ygUrQ29ubmVjdGlvb...
99% of corporate networks? That can't be true.

I do know that this is done - in fact worked at a pretty major smartphone manufacturer and never logged in to any personal account on work devices. It was pretty obvious by even just looking at the security info on chrome/firefox that the certificate used was a root signed by the company itself. I used to shout at the top of my lungs to my friends, that hey, _this_ is how your information is vulnerable to the corporate overlords, but I guess they weren't as paranoid as I.

The first thing I checked when moving to my next employer was if they were intercepting SSL traffic like this. (They weren't - they used Falcon)
I thought LZ4 was obsoleted by Zstd's superfast modes but maybe not.
> Instead, it was to support "note" and "point" commands. Atari believed people would use files as a database, and with the sector chaining, it was impossible to jump around in a file without reading it linearly. So a program could "note" its position in a file (sector and offset) and then return there later with the point command. This is where verifying that the file number in the user-supplied sector number matched the entry used when opening the file came in. Without that number, there would be no verification that a "point" would end up in the right file.

Interesting to hear this terminology used in the context of 8-bit Atari computers. The terms NOTE and POINT come from IBM mainframes, where there are OS/360 macros by those names. NOTE essentially does an fgetpos and POINT an fsetpos
It's not a container-only distro, that's secondary, it's more like VMware Esxi, does VMs, too, but with extra bits (like ceph). It's good stuff, try it.
> Available for Windows, macOS, and Linux in standalone and plugin formats (AU, VST3).
Until about a decade ago, humans created software by writing lines of code.

I must have blinked and missed the new way.
I have to agree, high performance teams need to be together in proximity to do world changing stuff (or maybe in AR worlds that are as natural as real worlds in the future). Remote work is for big standard work that doesn’t require too much innovation or if 1 person is capable of carrying the team. Yet to see counter examples to this
FYI, cheap BMS's often don't have low-temperature charge cutout. You may want to test yours if you haven't already.

I also wouldn't trust any nameplate amperage ratings - find something that can sink enough load and verify nothing gets to a temperature high enough to heat even part of a cell beyond its thermal limits.

Another thing to watch for: bus bar corrosion. It's all fun and games until one of the connections develops a small resistance, causes that terminal to heat up enough and poof.

Lastly: the biggest killer of battery packs is physical damage. Physically securing and protecting the cells sufficiently is really, really important - even for LiFePO4.
Show HN: Desktop Devin
Biggest insight from the article: clang does not need to generate SSA with phi nodes (which can get complicated and subtle). It can simply generate a sort of "degenerate" SSA which avoids phi nodes by storing and loading results to memory. This way the front end can concentrate on converting the front end C/C++ code to something simple.

Many of memory/load stores will be removed later in the pipeline and changed to registers. That is something for the optimization pipeline. Thats when phi nodes etc. will be insert and come into play.
God, the amount of enterprise speak in there is overwhelming.
My understanding is guns per person has gone up significantly, but percentage of people who own guns has not. Which means some people of LOTS of guns.
Probably a combination of

- they’ve had a long history of trying to undermine privacy to extend profits. From stuff like in the article, to tracking pixels, alleged ghost accounts, and fighting anything that hampers tracking. Of the companies you listed, only Google has any crossover, but doesn’t come anywhere near as close.

- they’re irresponsible with the effects of their algorithm to amplify hate speech. None of your other companies have anything like that.

- they are dishonest in their marketing. Almost all their Quest ads and feature reveals use concept visualization to deceive users for example on what is possible. Mark often speaks in double speak when addressing issues. Double speak isn’t unique to them but they definitely take dishonest advertising to the limit versus the other companies on your list.

I know Meta are having a popularity renaissance with their open weight (not open source) models in this AI cycle, as is Mark with his his recent PR blitz to reinvent his image.

However I think they’re culturally the only one of your companies listed who lack a moral core to their work. I think culture is top down, and both Zuckerberg and Thiel have instilled a culture of “success at all costs” for the way Meta operates.

The other companies on your list are definitely capitalist too, but have some sense of responsibility with their output.
> How would you go about making that pile of garbage into something fast?

Make a Rosetta analog and translate to an instruction set that is amenable to efficient prediction, wide dispatch, etc., replacing all the iAPX hardware object oriented nonsense with conventional logic. If necessary, extend the CPU to accommodate whatever memory ordering behavior is necessary for efficient execution, ah la Apple Silicon ARM with x86 total store ordering.
No, read what they're replying-to.

I wrote one sentence about how "there are ways for companies to go too far", which I think is pretty dang uncontroversial and trivially-true. However that user replied with what is clearly a disagreement, with corporate justifications and placing sole responsibility on employees to avoid the hardware.

This leads to two competing options:

(A) They simply can't imagine any scenario where a company might "go too far" and be at fault.

(B) Their stance is much milder, but for some reason they are replying to a straw-man argument that isn't what I actually wrote.

Of those two ambiguities, I went with (A), but if you think (B) is a more-charitable reading...
Antarctica?
Let's not pretend that's a good number, either.
>You know, magic

>So I became a programmer because I wanted to be a wizard

that's a classic MIT AI lab idea.

"We'll actually see that Computer so-called-Science actually has a lot in common with magic."[0]

[0] https://www.youtube.com/watch?v=2Op3QLzMgSY 0:40, and a lot in the SICP textbook

all your rblx info is still true, by the way. there's a lot more you can script with too, including internal and external API integration, inter-game info transfer, transactions, all kinds of stuff.
A piece of advice I've taken to heart is whenever I'm sending something in writing, to think about how I would feel if I needed to repeat the same things in court or if I found those messages in the news. Not that I've ever said anything near that egregious but it still helps.
This has some similarities to the "Bluedogs" artificial life simulation that I made during university: https://www.tamale.net/bluedogs/ . In Bluedogs, each entity has bytecode which determines its behavior. The simulation churns out random entities which don't know how to move. Finally, it generates one that can turn and its progeny quickly fill the virtual world. Bluedogs also uses color to show geneology.
Oops, should've been: prudence <-> justice