skysight-inc/HackerNews huggingface dataset:
Nio has some battery swap models that let you drive into a bay and it swaps the battery out for you in 5min or so.

That design is likely the only one that would really work with a "change the battery chemistry" option. All other electronic vehicles seem to use the battery ad the base of the car in a sled design, so updating the battery would be a 10k kind of affair, if possible.
Ending the massive subsidies for cars and pollution would go a long way. Most cities have huge amounts of space dedicated to subsidized car travel and storage, simply asking drivers to pay for what they use would go a long way towards improving the balance, as would removing legal requirements for continued subsidy. In the United States, even a bar owner who doesn’t want to encourage DUIs is still usually required to subsidize driving.

Much of the cost to transit and active transportation projects is often also car-related as those projects are forced into complicated engineering challenges to avoid taking any space from driving. If you want to roll out transit easily in almost any North American city, converting a single street parking lane into a dedicated bus lane is very cheap, and the revenues from less-subsidized off-street parking will pay for much of it.
Since most stuff is never replicated it should be much higher than that.
I mean, it's even a trope that a private detective, trying to go unnoticed in a group of people, would pull out a newspaper...
Lawyers will ensure at any cost that AI does not make their field redundant; I wonder if tech workers will be as smart.
Same background as you, still work a lot in Python to this day to a lesser degree. A couple of caveats: first, for strictly web-based integration tests, I agree that frequently they will give you what you need faster than units. Many popular API framework libs even give you a way to test the framework components as if they were being hit over http without having to “really” run the server via test clients. All of this is great. When you are working outside of a strictly HTTP paradigm, however, this can get complicated. When using Python for data-intensive tasks outside the realm of http (I.e. worker/task paradigm, event-driven, etc.) unit tests are sometimes the only feasible way of validating an atomic piece of work, as a task may need to invoke multiple functions/grow to do more, and a simple “fire task X in Docker and hope that you end up with the desired data store state afterwards” can get complicated and obscure lower level bugs that a unit test can account for.

Second: the rise of pedantic has given the Python ecosystem a great way to enforce typing and make up for python’s lack of SA. It can be really helpful to document what types are fed to which layers of the system. Since Pydantic will aggressively explode if users try to start throwing arbitrary models/data packaged around, it can really help if you’re working in a system where a model needs to change in one place rather than 10, and can lead to better hygiene than in the old days, where it was more common to pass less strict data wrappers around or have many layers of software defining their own interfaces rather than exporting that to a model which can be reused globally. In theory this is also possible with POPOs but in reality, duck-typing and mocks can lead developers into some really bad places where they think they’re typing things correctly until they get to the integration tests, which catch the bug and throw any unit work out the window for another iteration.
You just discovered that the peer review process is a big farce. Well done.
You misunderstand. The issue is that many more papers should be retracted. A paper this major that couldn't be replicated still took another decade to be retracted.

There are many more papers that are less cited that will never get looked at in enough detail to discover fraud.
Makes total sense in the light of this recent one:

>... at some financial institutions, you can get a SAR filed for knowing what a SAR is, because “advanced knowledge of anti-moneylaundering procedure” is a characteristic only of financial professionals and terrorists.
I tried to use PowerApps 3-4 years ago and it was a hot pile of garbage. Slow, impossible to use, underwhelming configuration options, no version control...a developer's nightmare
The Most Expensive Sour Raisins – A Story of Dark Patterns
I think their choice of distinguishing stream level semantics from tree level semantics is probably correct if you want to talk about general documents.

I mean an HTML document is much better modelled as a tree of nodes than a long string.
Yeah I’m thankful you brought it up. There’s a really well done documentary about their individual and then collaborative work but i’ve not found it. Will update with link if i do.

Update: might be

https://www.pbs.org/wgbh/nova/video/human-nature/
>Mediocre managers rely on lists

They’re just a data structure… and a useful one at that… competent managers work in diverse ways. Schedules are made up of lists of information, do 10x managers not use schedules?
I my experience, you aren't actually doing nothing and having nothing asked of you.

You are more likely tasked with things that require spinning your wheels. Boring, pointless, and directionless work that doesn't challenge you. It just melts your brain.
Actually my comment was based on a sample of one couple I knew living in Greenwich. I recall they said something like "we never cooked at home during the years we were there". I wasn't sure if they were representative of inner city NY living - that's why I asked (my question was genuine and not intended to be dismissive - please read guidelines). They both came from cook at home families outside the US so their choice wasn't cultural AFAIK.
Yea, I just got notifications my little VPS fell over, I've rebooted it :D
there are a lot of interesting legal questions here, but surely in the Adobe/Mickey case, it's the user's input that's infringing. In the examples provided here, the user's input is obviously not infringing, so that leaves... the model's output?
AIJack: Security and Privacy Risk Simulator for Machine Learning
One of my favourite questions to ask people is where/how they discover new interesting things to read. If I ask myself this question, HN is definitely a major part of the answer.

Thanks everyone for sharing from this lurker and happy new year!
I'm curious - why would an earbud-activated LLM be preferable to just the normal interface with typing in the request? And why GPT specifically?

I can see the point with technologies that integrate directly into the surrounding environment, like using Google Lens to look up information about a real object, or translate printed text, and so on. But the LLM will still be a text generator either way - is it just about being able to dictate a request out loud and have the reply be read back?
What are your new years resolutions?
2024 gonna be wild
In truth, that's exactly what it is. My point in writing this wasn't to say "Ooh, look at Rust being so much better". The original PHP is wonderful and there is definitely something lost in a Rust translation. Other things gained as well. ¯\_(ツ)_/¯

This blog post is just a personal journey winding through the thought process it took to replicate that PHP in Rust, something I did because I thought I might learn something.
I’m not sure about this. It’s convenient, sure, but in my experience always entails more complicated build systems that are harder to understand when they go wrong.
$700 + $24/month subscription? Wow, that functionality better be really good.
After some number of paranoia pills one can imagine it from a perspective of a pilot as an early stage of attempt to hijack the plane.
yeah, I appreciate this clarification. "publishing" seems like a nebulous concept to me and the general act of publishing something rarely seems to be what draws the attention of the lawyers (whereas making money seems clearer-cut).

So I suppose the question will hang on whether OpenAI is "publishing" if it returns similarly infringing results for the same prompts, even though those results are individually generated for a given user query.
> was addressing those who in 2017 and today immediately respond to any talk of the US raising tariffs, or reducing its military commitments abroad, with how the US will suffer the most economically (often with invokings of the "petrodollar" nonsense)

Sure. I agree with you here. But that’s not how your original comment reads. It contests that we’d get poorer in a Smoot-Hawley scenario, not that we’d be relatively richer in a drastically-poorer world.
Version control and source control are interchangeable terms and they both refer to tracking changes, it doesn't have to be source code
Can you help me with some searchable terms for learning about case folding? Is that something specific to games? Specific to disk formats?
Good ideas but not applicable to HN.

HN has the simplest, cleanest, no distractions, information dense UI i have seen. It perfectly suits the site and medium. I wish more sites would adopt this approach of "actual usefulness" rather than "prettifying" into a complicated broken mess.
https://yewtu.be/watch?v=R62sm30G2Jw
You jest, but is it not accurate?
I don't disagree! I don't feel like the exact technical justification really makes a difference here; there were working projectors, and now there aren't, and it's hard to see how that's not directly due to Sony designing things in a way that required them to continue operating that part of the business in order for that not to happen.
All a small retraction rate tells us is that it’s very difficult to get a retraction. But as with peer review, whether or not there’s a lot of retractions tells you little about the quality of the unretracted papers.

Think about how much attention has to be paid for retractions to happen, how long the work existed without retraction, how difficult it was to get a retraction for outright fraud (ignoring work that itself was poor quality). This maybe says more about the incentives against retraction which then explains the low retraction counts better than whether or not the remaining papers are good. After all, the papers that have been retracted are high citation count papers that are foundational for certain avenues of research (this one for Alzheimer’s, the other famous fraudulent work about honesty pledges, etc). What does this say about all the papers that then cite these papers as work they’re basing theirs off of. What about the papers that then “agree” with papers that turn out to be completely fraudulent?
$7mil/year split among 500 developers* is $14,000/year, which is slightly below the US poverty line for a single person at $14,580/year. I don’t know many C++/Rust developers will work for that wage, so perhaps “hundreds” is an exaggeration.

* (“hundreds” is between 200 and 999, so I split the difference in favor of the lower end of that spectrum.)
> ignore the fact that US explicitly did not protect non US flagged vessels during tanker wars for years

Granted. And as I mentioned were lazy deployers. But to a greater tendency than any historic great power, once we intervene, we haven’t tended to discriminate.

> Sal Mercogliano of What's Going on in Shipping

Thank you! Will watch.

> presuppose US is some benevolent provider of global security

No. It hypothesises that we are entering into a trade that is no longer at advantageous terms.

> Houthi/Iran targetting is discriminating enough for PRC to ride things out

True. I wager they’ve been lucky, but that’s neither here nor there. Maybe I should retract and propose the greatest beneficiary is the KSA, not PRC.
They are operated by and for the elite. Sociopaths are overrepresented in the elite.
While working on effection@v3 (https://github.com/thefrontside/effection) we spent a bunch of time ensuring that our delimited continuations could handle deep recursive call stacks in Deno.

PR: https://github.com/thefrontside/continuation/pull/11

TCO would have definitely simplified this issue.

What’s worse is hitting maximum memory callstack exception is very tricky to catch and is not reliable across runtimes. So when a user hits it it can be tricky to track down.
Wonder if this is a case of journalism in the blood, or having media connections others don’t have (probably both).
Of course, Joseph Heller and Franz Kafka never met, but if they had...
Look forward to checking it out more, but I found the Turkish 'i' functions particularly interesting. Seems oddly specific - are there not other languages with similar situation? Why isn't this abstracted, I wonder, or why is it included at all? Seems "kitchen sink"-y. Maybe there's some explanation somewhere. Anyways, love Crockford, helped save a project with his JS deepcopy implementation (in addition to JSON and all the other work he's done with the programming community)
They're called "knockers"; generally the score threshold for a free game or "replay" isn't hard-coded but is instead based on the grand champion score, so depending on location they can very from very low to very high.
> some of the biggest consumers, namely browsers, actually notice if they’re using too much of your RAM and adjust how they work so they don’t ask for so much RAM

Maybe there are reasons, but it is not nearly good enough -- I frequently run out of RAM and encounter OOM kills (prefer not to deal with linux swap), usually requiring a reboot. I really wish that I could just set an upper limit on (e.g.) firefox RAM usage -- 8GB for example -- instead of its insistence on using all of the unused RAM minus a couple to several hundred MB, which does not leave enough room for memory usage spikes. There might even be a way to set this buried somewhere in the config parameters, but I could never find it. It must be technically possible to set some limit because otherwise the browser would not be able to maintain a somewhat consistent usage just below the total system RAM.
It's a file system feature, all it means to be case folding is that capital and non-capital letters are treated the same, as NTFS does.

All Linux filesystems will by default allow "TEST" and "test" and "Test" to exist in the same folder, which no Windows application is ever intended to handle. Wine works around this by default.
The way it works is if a flight attendant feels a passenger is somehow a risk they will notify the captain who has the authority to boot them. The captain has a locked door to hide behind and doesn't want to deal with whatever's going on so will almost always just tell the flight attendant they can boot the passenger without any further investigation. The problem is the captain is the one with the regulatory training and the flight attendants are generally fairly poorly trained on anything beyond the emergency landing and evacuation procedures on the card. As such they tend to not really be very well versed in FAA regulations, airline procedures/policy, or security/evaluating threats, hence why weird shit like this happens with some regularity.

I've had them lose their absolute shit for putting tape over a broken strobing seat light on a night flight and got to watch them attempt to improperly deplane a flight without a tail stand risking a tip over. On the continum of aerospace professional to barista the training they get is much closer to the latter unfortunately. This follows the general trend of airlines doing everything in their power to avoid investing in their employees.
Likewise. This has been a hell of a year, for better and worse (mostly worse). HN is a reliable place where I can have reasonable conversations about stuff I love doing. It's a shining example of what I wish the internet was.
Now that sounds like a catch-22 if I ever saw one.

You can only avoid breaking the rules if you know what they are, but if you do you've already broken them.
Except for comment section performance on large threads
This is arguably good advice in most circumstances, even in private projects. Like it or not, self-promotion gets you noticed. Getting noticed grants you opportunities. Opportunities let you show off what you can do. Rinse and repeat.

Doesn't need to be embellished.
Universally true AFAIK. He has never failed to respond to me within minutes. Baffling.
This isn't the first time that trials of psychedelics were performed on active-duty troops...

https://en.wikipedia.org/wiki/Edgewood_Arsenal_human_experim...

https://en.wikipedia.org/wiki/MKUltra
> The root problem is that Sony exited the market and left a lot of cinema owners out to dry with the looming cost of $50,000+ per auditorium for replacement projectors.

That's the point I was trying to make; if someone accidentally pushed a broken update, that sucks, but its not the first or the last time it will happen, and at least there's a clear path to it getting fixed and someone being paid to do it. The cert being expired and the only company who would have been in charge of fixing that not really caring anymore sounds to me worse from pretty much any possible point of view, and selling a product that will stop working if you decide to stop servicing it seems pretty terrible.
Quick Question: What's the semantic difference between:

a) "Man says he was kicked off X for Y"

and

b) "Man kicked off X for Y"

Because a) is the form of the actual article headline.

Interestingly this appears to be the same Bindley Sangster with a ASAF background, aviation connections and official postions in both Georgia and Jamaica:

The grandson of the late Sir Donald Sangster, Jamaica’s second prime minister, Sangster said he views the HIA role as adhering to his grandfather’s ideals of service to Jamaica.

A veteran of the United State Air Force and a member of the Advisory Committee of the Aviation Institute of Maintenance, he also works to identify opportunities for students within the aviation industry and to create specialised training programmes.

https://our.today/honorary-investment-advisor-appointed-for-...

All of which adds some weight to his claim.
The pilot likely heard "I think 24E is acting suspiciously, he tried to mess with the entertainment system, can we boot him?" and responded by saying "yeah go for it" before resuming checklists.
How does this differ from a one-dimensional array?
That's being disingenuous. In my first comment I link to two sources that both show that the US GDP would go down, not up, in a world without international trade. If you can't use context to understand that I was and am saying that the US would be hurt less than all other countries (and thus would be more prosperous *relative to the rest of the world*, as opposed to being poorer relative to the rest of the world), that's your onus, not mine.
I would claim I will never fly Delta again, but they have those delicious little biscotti crackers I love to dip in coffee.
Here's my anecdote: In extensive exposure to a top-25 global university, and to a top-10 elite one, there was a big difference in the student body and the education. The latter was a different world; the education was innovative, brilliant, demanding at a very high level that I didn't anticipate. The students operated at a different level, world-class talent with shocking intelligence and, for their age, experience, being prepared - in a good way - to be world leaders.

Maybe a very simple comparison is between young tennis players that work with a local pro and go to tennis camp, and the super-talented ones working with elite professional coaches, the kind that train world champions. It was clear that there is no way you could teach yourself at anywhere near the level of top-10, nor find that education at most schools. And remember that your peers are part of your education - you won't find that population of peers either.

I know some institutions hire only from the elite, top-10 schools. I used to think it was 83% prejudice, but after those experiences I understand why. It's still lazy and unfair, but I also see significant reasons for it, maybe 33% prejudice.

(Possibly other top-10 schools aren't as good as the one I have experience with, of course.)
But not everyone is cheating. There will always be enough players that even if you just match players based on their skill level, you'll always have someone at your own level to play with.

In fact, I'd like to see the same bots developed by cheaters be used for NPCs as well.
Agree, its a super nice UI and UX. First time I used them was around 2010 and it was already a joy to use. Would be kind of nice to have a Synology DSM front end to cloud IaaS.
> I find it surprising that the JS specification also includes optimizations an engine should implement.

Algorithmic complexity is an essential part of defining an interface.
dsm being diskstation manager ?
SteamOS dev here - lack of case folding is one (but solvable, we supported development on native case folding for ext4), but general stability issues are the main concern. Our testing with btrfs has not been promising for deploying it in a zero-maintenance manner to many users and finnicky SD cards and have it Just Work, but we're keeping an eye on things and weighing where we could contribute.
You're just making up results, sans data. Your paper won't even pass peer review - on HN.
How miners could make sustainable profits after all BTC are mined
People would say transaction fees would do, but I doubt it would be sufficient enough for miners to sustain.
> All a small retraction rate tells us is that it’s very difficult to get a retraction.

You're just making the data fit your preconceived beliefs, which would is how we get fraudulant research.
Another good source for RTK receiver stuff could be https://www.ardusimple.com/

I was once going through the same process and considered buying from them. But then a more official survey turned out to be rather cheap so I did not have any need any more.
For those who down vote this without even dare to explain why, if you did not see sin is a type of "son", it is OK. Otherwise you are piece of crap that deserves every bit of Xi's purge.
What data do you have to support that?
I use BTRFS with compression because my SD card is old (like, a decade old) and slow. (De)ompressing the assets takes a bit of CPU time but the slow I/O is noticeably faster because of it.

Deduplication can be useful if you store the Proton/Wine runtimes on the same disk. Different games may need different runtimes, the latest version isn't always the best, and a Wine environment without any games inside of it can take up a couple hundred megabytes just for DLLs and other common dependencies. Deduplicating can save a chunk of wasted storage, although with current flash storage prices that's probably not worth worrying about in practice.

Some people like the checksumming but IMO that's not all that useful without ECC memory.
Who's Counting?
https://bendauphinee.com/writing/ Link to the post
I mean the trains have free wifi in the Netherlands, so that kind of works.

More expensive than just driving to your destination though.
Context: I tried and failed at convincing management in moving my work monorepo to bazel. We have around 5 core languages plus a bunch of dsls.

If you don't mind sharing, what languages do you build in your bazel workspace? Were you able to use hermetic toolchains for these languages without any major hiccups? Finally, do you use engflow or buildbuddy atop bazel?

Thanks!
Does anyone "love" Next.js's new App Router?
I’m trying to build a new Next.js app after years of working in the API router, getStaticProps days.

I am a technophile who checks this site too many times a day to learn the next thing, but I’m struggling to adjust to Next.js 13, “use client”/“use server”, Server Components.

Has it clicked for anyone else yet? I was loving Svelte but then Runes?

Am I just an old crotchety dev who can’t keep up, or is it genuinely a new framework and I need to forget everything I knew about old Next.js?
So, this is an easier case to make today (though to be honest I remain pretty skeptical of this), but in 2001 this was very far from being clear cut. The dot-com bubble had just burst and software looked like it might be a small niche or even just a fad in permanent decline.
Tiny Stack (Astro, SQLite, Litestream)