skysight-inc/HackerNews huggingface dataset:
> The pi-zero is in stock in most places

I think the Pi Zero is no longer being produced, there's onl the Pi Zero W and the Pi Zero 2 W these days.

Neither costs 5€ at places where it is in stock. The cheapest in stock device is 18.57€.

A rp2040 is a completely different animal.
>> If I can make convincing messages based on the structure and swapping around pieces of data, then it sounds like I got past the encryption well enough to have a partial understanding of the plaintext.

I think that no, because you can manipulate the structure of an encrypted string and swap around pieces of it etc, without having to decrypt it.

As to making convincing messages, as you say, the entity making the messages and swapping around the data is a language model, but the entity reading the generated messages is a human. It is the human that finds the messages "convincing" as you say. We have no doubts that humans can decode meaning from text, even if we have no idea how we do it, yet. The question is whether language models can do the same thing. And what I say above is that there is no indication that they can, because all they do can be done by language generation, without any decoding of meaning needed.
Controller-centric UI design usually translates terribly backwards to mouse and keyboard inputs. You have more button inputs on a keyboard but only 1 "analog stick" to manipulate 3d space in the form of the mouse. On top of that because of the limited inputs of the controller menus are extremely terse to navigate. But it must be a cardinal sin at gamedev school to do anything other than the following.

A: Force console users to use a half thought out clunky pc interface

Or

B: Force PC users to go through a labrynth of ini files and menus because "well all the other platforms you can only adjust gamma and contrast so thats all were giving you in the options"

Both suck, its an unsexy problem nobody wants to invest time into fixing, but will have a huge ROI in terms of expierence and potentially a first mover advantage in terms of licensing out a viable pattern to major studios.
They reduce emissions already now
>it is far, far behind what Unreal Engine is capable of these days
Games aren't popular long-term because of their technical achievements. Valve's games have charm, partially due to the engine.
Yeah, that's what too many so-called ecologists tend to forget: if you really want to make the situation better, then you have to push for policies that may be actually accepted and implemented by the general public.

And that means that ecology must be the top priority... just after personal comfort!
Dancing person transformed to animation using StableDiffusion
This video is one of the most striking I have ever seen.
There are two things at play here: one is the very real, very negative impact that humanity (as a whole) is having on the environment. Two is the corporate/media machine trying extremely hard to divert attention away from themselves, and put the onus on individual people.

Make sure you put that plastic bottle in the recycling (never mind that the vast majority of it isn't going to be recycled anyway). Oh, ignore those new coal power plants, ignore us restricting green investments, ignore us lobbying to keep fossil fuels around for longer.

The climate change movement is good for humanity. Corporate media are, and have always been, trying to co-opt it.
Pretty solid recommendations. I picked a specific topic and chose three books that I've read about it and it recommended two other books that I have on my list, one that I have heard good things about but have decided against reading it and one that I haven't heard about and will check out.

Though as always, the problem with book recommendations is not that it's hard to find books about a specific topic, the problem is finding books that are a) good and b) different enough from other books I've read about a topic so as not to be very repetitive.

If this could solve a) I'd be very happy, though I cannot see how it would accomplish that.
The best attempt at solving this for myself was just going by book recommendations from actual people, but even that is hit or miss. Many people recommend books about a topic on which they've only read that one book and so they don't actually have anything to compare their book to. A book recommendation like that doesn't contain information about how good a book is, just if the one who read it liked it.

So in my opinion this is actually a pretty difficult problem and I'm not sure throwing an llm at it (I'm assuming that's what the ai in the title refers to) will solve it.

Still, it's a neat project.
The even more sluggish post 60 acceleration can a safety problem on fast moving highways
They don't need it because white people don't spice they food.
I wonder if this didnt start with 2005 7 series when it received FLIR Night Vision system. That thing was locked down due to ITAR and gave BMW excuse to pair with ECU.
I would argue this is different in the sense you’ll hardly find alternative for most of the plastic you use, while some can surely drastically reduce their footprint by eating beans instead of steaks, using smaller cars (when car is absolutely required), buying smaller house to heat…

Does europeans drivers are more sad than the American ones ?

Does vegan enjoy less their meal ?

Does Japanese feels poor to live in a 30m2 appartement ?

Hiding behind culture, habits and society is not enough to dumb their responsibility, especially for rich and smart people.

Don’t forget 30 days is often what it gets to form a new habit like dropping beef off your meal.
I thought you were just pleased to see me.
Where are you getting the $6m loss from? I can't see anything about it online.
Some stuff is truly limited. The other day I learned that China is a net importer of agricultural products and this has been the case for almost 20 years now.

It appears that their one child policy - something that would not fly in the west - prevented a major crisis here.
To judge that, we would have to have some idea whether they actually reduce the risk of suicide.

"...a negative association found many years after treatment is compatible with three scenarios: puberty blockers reduced suicidal ideation; puberty blockers had no effect on suicidal ideation; puberty blockers increased suicidal ideation, albeit not enough to counteract the initial negative effect of psychological problems on eligibility. Turban et al. (2020, p. 7) acknowledged that “the study’s cross-sectional design…does not allow for determination of causation.”"

https://link.springer.com/article/10.1007/s10508-020-01743-6
Yeah, opus is incredible for speech, but at those bitrates it gives music a kind of sibilant buzzing that I find really hard to listen to, whereas the muffled/underwater effect of mp3 and aac isn't much worse than just a lowpass filter.

What I found a few years ago was that explicitly lowpassing beforehand to match the other encoders (around 4-8kHz) gets rid of the buzzing. Apparently opus' threshold for automatically doing this is a lot lower than the other encoders; it keeps higher frequencies at the cost of more artifacts. I concluded that decimating or setting the encoder to 8kHz/"wideband" or lower was an improvement, with a similar resulting quality to AAC, but I still slightly preferred Fraunhofer at 12-28kbps.

By default, 12 and 24kbps are particularly bad; at 16k the quality goes up from going mono-only, and by 8k bandpassing is automatic.
There were people in Texas who were accused of murdering children with chainsaws and then using satanic magic to resurrect them, among other things. They were jailed for decades despite the accusations being completely insane and clearly wrong.
This is incredible. It reminds me of d86, the best assembly debugger I used as a kid.
Mastodon is never going to take off. I’ve been building SaaS applications for 15 years. I don’t think you understand the very low level of complexity required for mass adoption. Let’s just look at the signup process for a few minutes, using the UX convention of actions.

Twitter:

1. Search for Twitter.

2. Click on the first link.

3. Click sign up.

Mastodon:

1. Search for Mastodon.

2. Click the first link: mastodon.social.

3. Click create account.

4. Message modal pops up alerting the user that it is currently impossible to sign up to mastodon.social. But don’t worry, you can sign up on another server by clicking “Find another server.” At this point I’m confused. Why are there different servers? Will my friends be on the other server? Do we need to sign up on the same server? No explanation. I click the link.

5. Long page of options. No indication of quality or why I should choose one server over another. Now I am in choice paralysis. I click the first option (which has an anime figure on it). Surely - surely - the first option is the best option. The suggested option by whoever is running this application.

6. I land on a Korean language portal and I am done. I’m never coming back. Mastodon is dead to me. Forever.

You might think this is hyperbole, but I promise you it is not. I’ve been in charge of A/B testing and UX centric development for web applications just like this for a very long time. Mastodon’s sign up process is easily one of the worst I have ever seen. Not a single UX person has been involved in the creation of this protocol.
Usually we have a base template with a content block that a child template can extend. The extend keyword supports variables as well. So we can create a dummy base template, e.g. fragment_base.html, that contains only the content block and if a request is coming from HTMX we set the base template to the dummy one, so the rendered template will contain only the fragment.
Pain in the *Deployments
Whether you are an individual developer or a business, what are the biggest pain points you experience while managing multiple cloud environments? And which CSPs suits you better and why?
Or 200 km. Of course it's a nice, round number in SI.
It is better on mobile, but on desktop google.com gives almost a full page of ads before the first result.
Good. Carl Sagan was a great man and a great inspiration source. Something that is forgotten somewhat today.
Customise Storefront UI 2 with vue.js – open-source UI Library
Storefront UI 2.0 is an open source UI Library catering specifically for eCommerce uses cases. Comes out of the box with a tailwind preset, figma file, typography package + base components, blocks and composables to help you achieve good performance and lots of flexibility.
A CO2 tax would solve this
Well said. Saying "everyone will be carbon literate in 30 years" is as accurate as it would have been predicting back in the the 60s that people now would be "asbestos literate". And just like the asbestos problem was fixed by making it illegal the same thing happens with carbon, of course not 100% of it (unlike asbestos) because that's impossible but close enough, for example it's ridiculous single use plastics are still legal in so many places, it's ridiculous high speed trains are not ubiquious by now, is ridiculous there are so many places where going by car is faster than public transportion, as well as many other laws and infrastructure that are long overdue, nothing to do with making everybodys job to bean-count "their" emissions.
About time hacker news woke up to this. Good post man
If you wish to avoid JRE, you can use Graal VM and compile to native AOT executables. Just takes a few minutes to download and play-around. (Even timed it with another Java disbeliever here on HN)

https://www.graalvm.org/latest/reference-manual/native-image...
I imagine there's a lot of former OGame & Planetarion players who still dread hearing an IRC tone in the night knowing it'll be someone either waking you up to say "you've got incoming!" or "send your fleet!". Planetarion still has quite an active community but unsurprisingly they've geared it to making sure people don't need to survive on 3 hours sleep now.
RaceCARduino: A Full-Body RC Car Built with ESP32 and JavaScript
People need to be carbon literate about as little as they need to be nicotine literate when buying cigarettes. Just like with cigarettes, the only thing we need as a society is to finally freaking price in the negative externalities of releasing carbon into consumer prices, aka carbon tax — just like we managed to do that with cigarettes.

If you still want to eat that $40 steak and can pay up for it, go for it. There's no need to curtail individual freedom when there's a simple and easy solution out there: Just make everyone pay for not just their consumption, but also for the damage it is causing on top. Problem solved.
The most important point of Taleb's is right near the top, in particular anything with graphs. This article pretty much just ignores that entire section (especially the quiz part is a very nice illustration for the statistically challenged). It doesn't even address the point that the outcome graph with the lower tail blocked is basically an entirely random distribution.

Then it happily continues to use the graphs and averaged results, that Taleb showed contain almost no signal, as if nothing happened.

This is not a serious rebuttal.
It's weird, I've heard of the author plenty of times (and frequently use https://github.com/boyter/scc), I would've thought they knew about using an empty interface to emulate a set with no overhead in Go.
So which of the 3 is this?
Basically, copyright.

The BBC generally doesn't have the rights to stream programmes outside the UK.

Even within the UK, they often don't have the rights to stream programmes they've acquired for linear broadcast (typically sport).

Often they don't have the rights to repeat programmes made by or for the BBC, because they sold those rights to other channels/companies. For example, for Doctor Who's 50th anniversary, they repeated the first story, but could only broadcast it on linear TV, not on demand.

Also, the BBC is not the UK government and doesn't fund the NHS :)
"There's no place for superstition in science"

The universe is eternal xD
I own no car, never have. In exchange for becoming a vegetarian, am I allowed to continue to eat meat in your world? Or do I have to change my lifestyle because a group of bigots is pointing fingers?
Thats true, but they are a lot more expensive.

I've been looking to replace my current intel 10watt server with a AMD ~10 watt device for a >3x performance boost, but they are all going to cost >$250.
That's simply not true at all. Except for a very narrow range of commodities price is very weakly correlated with production costs. The difference between a $10 steak and a $300 steak is not correlated with the energy used to produce either (in fact it may be negatively correlated, as the cheaper steak is likely to come from more industrial agriculture). And even production costs are rarely correlated with energy consumption (only for certain raw materials like aluminium, steel, and those tend to be produced in countries with cheap / subsidised energy).
I guess being Elon Musk is quite painful.
Cool little game!

My main user feedback is that I was a bit confused by the controls. For example it wasn't obvious I had to use arrows. Otherwise it's great.

Also, it's amazing you spun this off from a replit bounty project made by a 16 years old dev! Did you order the bounty? I'd be curious to learn more about your experience, such as whether it was hard to find someone, and whether you needed a lot of back and forth on speccing the project.
Yeah, that can be a bit unsettling.

But, on the bright side, the important thing is that these developments can ease life for folks with dementia by learning their routines and their habits via AI. Then provide prompts for the elderly to allow them to live happily. These prompts can help you "remember" things without feeling lost or terrified. They can also provide them with a conversational partner without costing healthcare industry a lot of money.

My fear is that I will develop dementia, Alzheimer's and feel alone and isolated. I'm honestly more afraid of being alone and feeling terrified than forgetting and living my remaining days out in relative peace and happiness.
> If we're not at net negative carbon emissions by 2050 we're in deep trouble

That's not a given. Considering we can predict the havoc climate change will wreak, smart people will have adapted in times, while idiots will have been crying around about the world refusing to go back to pre-industrial age.
Would you ditch Linux, because Canonical has been making concerning decisions with Ubuntu ?
The new one has 7.1 0-60 which is pretty solid: https://www.caranddriver.com/news/a42229923/2023-toyota-priu...
>plants prefer higher CO2

Correct.

>rising CO2 is actually likely to do more good than harm to ecosystems.

Incorrect. There's many cases where this clearly outweights the benefits, such as the acidification of the ocean, but also general disruptions of the ecosystems. https://en.wikipedia.org/wiki/CO2_Coalition
Being poor is not enough. Your government, our government contracts debt to spend on your behalf, about 3x what you earn, and they build airports, wars, industries, city towers, running KPMG audits (probably the most CO2-intensive among all that) with your money.

You can be farming carrots and live like a hermit and still be funding the CO2 industry.
that's a culture issue that is changing rapidly to avoid that. Also that was common due to previous limitations in the language.

regarding the "com.lol.myapp", i actually think this is a good think for package management, it avoids naming issues with packages for different vendors and forks. On the code itself you should only see these on the import lines on top of the file, which isn't really a big deal.

I think most people issues with java come from old legacy codebases that had over the top patterns like that due to limitations in the language and culture. Nowadays, with a proper conventions guide, java can be quite clean. Sure it won't ever be as clean as something new as Kotlin, as it tries hard to maintain backwards compatibility, so old ugly stuff will remain in the language (even if you don't use it, you might see old code that does), and new stuff designs are restricted by what already exists, but it still has its advantages over new shiny things like kotlin for example: new pattern matching, compile time and compatibility (kotlin "100% compatibility" doesn't actually cover everything, and compatibility is important for Big Co with loads of teams and loads of internal and external dependencies and tools)
Since 2012, Raspberry Pi boards are assembled at a Sony factory in Wales. http://www.sonypencoed.co.uk/case-studies/raspberry-pi/
> Well John brought her in and insisted that she be there because she was part of him and he couldn't do it without her there, so I don't know why you'd be annoyed at her tbh.

This is basically saying that she has no agency over her own actions, when clearly that is not the case.
In javascript the analogue is async / await, only without the need to manually mark code "async"
I think the the main issue is software support.
ARM chips manufacturers are providing bad software. Kernel is outdated, hardware acceleration is undocumented, etc.
And when there is good software support, it is oriented towards smartphones and never lasts more than 3 years (hello Qualcomm).

So lots of industries are willing to compromise the performances (Raspi are not top-of-the-line SBC) over a very stable software
I chased that rabbit hole briefly and it's not very clear that the hashed value is required to be <= UINT32_MAX. Closest is a claim by the same author as this post:

> It seems obvious that on 32-bit and 64-bit systems, the function should not give different results

and a commit to mask off the low bits in an implementation elsewhere.

Well, maybe that would be convenient, but overall it seems unimportant. It's necessary for the tool writing the table and the tool reading it to agree but cross compilation is absolutely full of hazards like this anyway.

The code looks fine to me for what that's worth. I can see the assignment in the if being contentious.
How do they bind it?
The interface you'd want to implement is probably https://docs.oracle.com/en/java/javase/20/docs/api/java.base... (and Appendable for the equivalent to Writer, probably AutoCloseable and Flushable as well.)

However, there's lots of code which just takes a Reader/Writer and then you're SOL.

(In general, the I/O interface/class hierarchy in Java is a bit of a mess because a lot of it was retrofitted to maintain binary compatibility. The equivalent stuff in Guava seems a bit saner, but of course not directly usable with all the 3rd party libraries you might want -- it has shims for the most part, though.)
As jselysianeagle points out in response to this it seems it's tough here, too. I guess that's the case. I had a former colleague who is very much a stronger Data Engineer than I am take about 3 months to find their ideal role. The thing is when the layoffs happened at his old firm he got the 3 months notice period that is common here plus some severance that held him over for a few months on top of that which meant finding new work was not a stressor.

But as the OP points out if you're a competent person and interview well and are good at what you do (and one would hope someone at the highest tiers of the industry working at places like Apple, Microsoft, Google, Facebook, etc. are) then finding work here in the EU is not hard.

From what I have seen EU companies would all but kill for really strong US talent. They can't get this talent because would be folks be they in the US or abroad want to go or stay in the US for those bonkers high salaries. But if living and working in the EU is appealing then the perks are really, really nice. ~30 days of vacation time on top of public/bank holidays. Family leave for the birth of children. Really long notice periods in the case of being fired or laid off. Good severance. And then all the perks of social welfare states like subsidized or social medicine, good public transit, good travel to other countries etc., etc.

So to answer sneed_chucker's question:

A few years ago while perusing the Who's Hiring here on HN I saw that a startup based in Hamburg (I didn't know where that was at the time) was hiring for a Python engineer. I applied (only having taught myself Python to an beginner+_level but was eager to learn) and I got the role!

They handled all the visa paperwork and for a while my visa was tied to my employer. It's called a blue card here. Think of it like a green card. And as long as I was making > 50k euros and such I could live in Germany. When I changed employers I had to get my blue card updated. Since I've been here about 5 years now I have an open ended one so when I change employers I do not have to get it updated.

I really do like it here a lot.

Small plug: DeliveryHero, based in Berlin, -- the company I work for currently -- regularly (well we used to, let's see when hiring picks up again) hired folks from abroad and upon the first salary was often a relocation bonus of 5k euros or more to help folks get settled here. It's based on where you're coming from so if you were coming from the US I'd think it'd be closer to 7.5k or 10k even.

Hope that helps!

> But it seems like first you need to get a company that's willing to hire you and wait for you to relocate before starting, no?

Yes. DO NOT JUST SHOW UP IN GERMANY ON A 90 DAY VISA HOPING TO FIND WORK. Most apartments won't even give you a lease without a job and it's hard to get a job without a proper visa. Do the work before hand.
The part where he jumps to repeat a letter is both smart and funny to watch.
Indeed, highly recommended watching the full video!
The most famous recent example if probably Ghosn fleeing Japan to Lebanon. It does make one wonder how likely it will be for the next case. That being said, the coincidence of great wealth and being from a country that treats you as a hero and doesn't have extradition treaties with the west does seem quite low, but obviously not zero.