skysight-inc/HackerNews huggingface dataset:
Why is it annoying? What you need is very subjective. Before I had a family I had no idea I'd want a guest room because I'd want extended family to stay. And when they stay in a hotel they spend way less time with us. I'm glad I live in a society where I can choose to spend my money and decide the trade offs for myself.
There is a real issue with providing the contestant the real exact file that will be used in the contest. Because there are 1e9 shades of gray between hard coding the correct answer in a single line program which doesn't even read the input, and processing the file as if we don't know what it contains.

This might become a contest of judging what is fair pre-computing and what is not.

That's why machine learning contests don't let participants see the final data.
Besides therealcamino answer, Energize C++ and Visual Age for C++ v4 provided a image like development experience for C++, including code replacement and incremental compilation at method/function level.

Sadly too expensive for their day, and eventually died, only for us to start having some of those features almost 30 years later.
Moon landing apart, Indian science punches far below its weight
Highly related: https://danluu.com/p95-skill/
Anyone up to also do this in Rust ?
If you just don’t listen on port 443, or (if you have other things on the same IP address that do talk HTTPS) even reject connections when clients indicate during TLS handshake that they’re here for www.bom.gov.au, you have no problems. There is no 404—you’ve got to have made a successful HTTP request before there can be one! There’s a regular connection error that the browser knows what to do with.

The problem is when you bypass the normal, universally-supported error path technique in order to try to be helpful. You just shouldn’t do that, ever as far as I can tell.

Same deal with DNS providers that intercept NXDOMAIN and replace it with a redirect to a search page: it breaks so much stuff. In 2012 I was stuck behind an ISP that intercepted NXDOMAIN on all DNS traffic, so I couldn’t even switch DNS provider to fix it. It was awful. (This, incidentally, is why everything needs transport encryption, because ISPs keep on proving themselves untrustworthy as a class.)
Yes, you are right. This came up yesterday and indeed two solutions were violating the "must work for all station names" rule by relying on specific hash functions optimized for the specific data set, which I unfortunately missed during evaluation. I've just removed these entries from the leaderboard for the time being. Both authors are reworking their submissions and then they'll be added back.

[0] https://twitter.com/mtopolnik/status/1742652716919251052
Hah, if only you've seen me in my ICE car.
Plenty of hoping and praying the glimmering fuel light doesn't die out and that I'll make it to the fuel station.
No peace mind of mind.
You can turn this into a pocket "lisp machine" by following the instructions on http://www.ulisp.com/show?4JAO - although I don't think this can make use of the LoRa interface (yet).

The hardware is cool, but its just a PCB and the edges of the display are vulnerable. I would recommend 3D printing a case to protect it, especially if you are planning to bring it around with you. There are .stp files for one in the official github repo.
>"And you are definitely making sub optimal decisions because you’re human."

Nope. I prefer to do what I want. And want is the criteria and hence optimal by definition. What others might think about it does not matter at all.
Epstein Documents
My mistake re DEI. I searched for "diversity," not sure why it didn't come up, guess I must've made a typo. The point that it wasn't what they were asking for stands.

> That's not illegal.

I think what you may be discovering is that you have more rights as an employee than you previously thought. Given that both of us have acknowledged we're not lawyers - we should assume the NLRB understands this better than us, right?
See the "Show & Tell", where folks are discussing solutions in different languages, including Rust: https://github.com/gunnarmorling/1brc/discussions/categories....
Riese & Müller Packster 70 Family. The only add on is a rain cover.
i see Tony Hoare is referenced, but no mention of Bill Roscoe and his bottom

https://www.cs.ox.ac.uk/people/bill.roscoe/publications/1.pd...
It is crazy how hard people try to read straw men into what other people say sometimes.
Yeah but what about continents other than Europe?
Many countries in Europe have had immigration without any control what so ever for years so I guess all of them?
Book Review: Practical Linux System Administration
In the suburban US, nothing is 15km away. All of the stores you typically go to are 0-5 miles way (grocery store, gas station, pharmacy, doctor, etc.). It is a very convenient place to live and people who want a to live in a house love suburbia because it is affordable, safe, and in general a nice place to live.

People living in rural America have to drive a lot farther than suburbanites.

Also, note that people who prefer to not own a car can choose to live in places with good public transit (mostly big cities like Chicago, New York, Washington DC, Boston, Philidelphia, etc.).
Gerhard Behles and Robert Henke on Ableton (2016)
so what? If you don't like Elon, boycott his products. Don't buy his shares. Don't work for him.

Elon's track record is doing things that have made him the richest person in the world, winning at multiple games many other very clever people are trying very hard to win, including engaging in fields of endeavor that the "socially conscious" among you claim that they endorse. Even Lenin and Mao would admit that Elon has accomplished things that they would wish to accomplish themselves.

That alone gives Elon credibility that vastly outpaces, collectively, yours, these disgruntled employees, and the Democratic Party who have decided he's public enemy number one because he got fed up with Twitter cooperating with a one party state to subvert the 1st amendment and suppress speech they don't like.

Let him be him, why do you have this incredible urge to control other people and make them say things you like, or punish them if they don't? Elon has earned the right to control Tesla, Twitter, and SpaceX, and Twitter was subverting democracy before Elon arrived, and that's what upsets you.

I don't care if you are disingenuous, if you're not, your sincerely held beliefs are dangerous to other people around you.
I used to have two Arowana about 15 years ago, they were fascinating fish. Then one day I got up in the morning and they were just… gone.

Tank was well sealed, nothing in there big enough to eat one let alone both of them, and I checked everywhere… one of the unsolved mysteries in my life is where they went.
why?

It doesn't hurt anyone, and they do pay premium for that.
It's just that they have different value system than you do.
The problem is that if they made a sub $10k vehicle now, "everyone" would buy it. That sounds great, but there's simply not enough battery factories to make the batteries for that many vehicles. The demand for expensive vehicles is still high enough that most of the EV battery factory output of the world can go to those expensive high margin vehicles, so of course the car makers haven't focused on low cost.

There are several dozen giga-scale battery factories coming online in the next few years. That should be a huge enabler to make cheap cars. Once they start to flood the market, the car makers will have to make budget vehicles to stay relevant.

There are also still a whole bunch of expensive R&D work still going on to optimize EV cars. Look at the cyber truck with its 48V and ethernet architecture. It made sense to launch that with an expensive vehicle so they can get a return on their R&D investment sooner. But now that they have it, they can apply it to a budget car and that should help lower cost by reducing the amount of copper wires needed.

Feels like everything is coming together for an explosion in EV growth. We're at the bottom of the ramp of the technology S-curve (logistics curve). We're in what feels a bit like a "false start" phase, but this phase is important for ironing out the kinks for the true mass-scale rollout.
Wounds heal faster when participants believe more time has passed
For performance benchmarking the minimal runtime is typically the best estimator if the computations are identical, cause it measures perf w/o interrupts.

If the language is garbage collected, or if the test is randomized you obviously don't want to look at the minimum.
People are people, changing "X" is like tyring to change the weather.
You're getting flak for this, but this kind of thinking is prevalent in Europe from what I see. Especially the car part. Almost everybody drives small cars. Pickup trucks that don't have a company name on them are as rare as exotic cars.
I ran it, it was slower than the reference implementation and didn't format the output exactly as defined.
A few years ago I wrote a 'plugin' feature of various sections that allowed changes to me modifed, compiled and reloaded while the game/editor was running.

It was a C project and it really is not that hard to do (once you get over the thought process and tinkering)

Once I got the hang of it I could whip something together within a few hours.

There was sections for- input, motion, renderer, sound, and frontend/gui. Some allowed to loading multiple things.. others a single instance.

The input one was a good example. I had keyboard using SDL2. One day, someone had a XBox controller in their bag and asked to borrow it while watching a movie. I added support for that. So, when the game loaded, you could specify you are using Keyboard and XBox controller.. so it loads them. If there was a bug, I could modify, recompile and reload.

For the renderer, I had opengl by default... and never got round to doing a Vulkan version. Would have been interesting to have them 'swap' during a live play to compare and tinker.

(the motion was for the mouse. Without really looking into it, I was kinda hoping that would have been a nice setup for VR support but never owned one. Might be something in 2024)

This Live++ looks cool and maybe useful for companies that are spending a bit of cash on decent tools (Unreal, etc) but for small projects, I dont think this is needed.

To be honest, I did not think what I was doing was called 'hot reloading' until, a few years later, I came across Casey Muratori's Handmade hero series. Atleast, I believe it was from there - or other variants at that time.

There are lessons learned, though. I was creating header and src files (with makefiles) for each implementation. If I had to revisit this sort of this, would keep it header only... keeping the build minimal. Might not work.. something I would try, anyway.
SHA-3 (also BLAKE2 or BLAKE3) is definitely more secure for very large documents than SHA-2.

The security (i.e. the difficulty in finding collisions) decreases with the length of the document for SHA-2 and it stays constant for SHA-3.

Nevertheless, it is unlikely that typical legal documents are big enough for this to matter, except when the hashes would be e.g. for entire seized HDDs or SSDs, so SHA-2 is an acceptable choice for replacing MD5.

The only reason why SHA-3 has not become widespread is that it, like also AES, requires hardware support for good performance, but for some reason Intel has not added an SHA-3 instruction to the x86 ISA. Arrow Lake S, expected to be launched at the end of this year, will add support for SHA-512 and for the Chinese standard hashes, but there is still no intention to add SHA-3 (like Arm already did).

Both AES and SHA-3 are not recommendable on CPUs without dedicated instructions, due to low performance, but with hardware support they become faster than any alternatives. The difference between them is that now only the cheaper microcontrollers lack AES support, while SHA-3 support is still seldom encountered.
Yeah, and I'd count caching results between runs into the same category, i.e. against the spirit of this challenge. Folks should keep in mind that the goal is to learn something new, rather than "winning" by cheating the rules.
Also (AFAIK) not in JavaScript. An essential property of cooperative multitasking is that you can say “if you feel like it, pause me and run some other code for a while now” to the OS.

Async only allows you to say “run foo now until it has data” to the JavaScript runtime.

IMO, async/await in JavaScript are more like one shot coroutines, not cooperative multitasking.

Having said that, the JavaScript event loop is doing cooperative multitasking (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Even...)
This is a pedantic note, but in general Pharma does not care about antibiotics drug development - It’s an economic desert. If it was a cancer or serious rare disease drug, they’d be grinding up buckets of ants yesterday.
Yeah, I've managed 8+ years in my city without owning a car, and still did lots of things with a car. Just had to change my mindset about costs. Like, paying €50 to rent from a carshare outside the apartment to go skiing for 2-3 hours felt really expensive in the beginning. But then I realized, that with the money saved from not owning a car, I could actually probably do this twice a week during winter season and still come out far ahead.

It's just that when you buy a car, you don't see the price tag on each trip.
Probably not, given that Android's security model sandboxes apps and accordingly can identify which one is trying to access a given keychain credential.
I think the upside is that these utils are not set in stone and never updated. Future maintainers will probably find it easier to work on a more modern codebase with more footgun protections. So, yes while the current utils is great, at some point the code will have to be modified and I would much rather modify clean Rust code than 30, 40, 50 year old super optimized C that no one truly understands anymore.
Which works great when you're willing to back that up by force (1945-2010ish). But once you stop, you're regarded as weak enough to challenge.
Exploring Amazon Verified Permissions [video]
In this video I do a raw, unedited exploration of Amazon Verified Permissions with a practical use-case. I hope you find it useful
How does a lithium mine cause the deaths of billions of people?
I think the central problem for me boils down to some fairly essential math.

When you are fueling up a gasoline vehicle, you are drawing something like 10-20 megawatts of effective power for the duration. And remember, this is pretty much any gas station. Now, what kind of power output can I expect at the highest end supercharging station under the best possible circumstances?

The solution seems to be hybrid where you have options. Certainly, using electrical charging allows you to manage the prime mover's carbon emissions better, but you'd be able to dramatically improve adoption if you had a backup plan for less enthusiastic or diligent customers. I suspect most consumers don't have "minimize carbon emissions" set as their #1 priority when purchasing or operating an automobile.

If we really wanted to, how dense could we make a gasoline generator? I know we can make the actual generator incredibly tiny. What about the engine? What if we are hedging for the "just in case" and aren't managing full-time emissions? Remember - most consumers just need a psychological safety blanket. You are probably never going to run this thing.
This is quite possible the coolest technical accomplishment i've seen in... since... well, further back then i can currently recall. On some level, even more impressive (to me) than the AI-related advances of the 2020s. Absolutely mind-blowing.

Edit: i don't mind saying that such accomplishments make me feel completely inadequate as a developer.
You can write service structs which depend on service structs similar to spring, and there are libraries which can generate the code that does the wiring for you.

I've always wired my stuff manually in Go though, which is useful if I want to optionally load different subsystems because of some config, etc.
In most cases I don't think it will be that simple. The cost of a dining room is not necessarily paid in money. You might for instance find two houses that are the same price where one is a bit bigger because it has a dining room but it is also on a smaller lot. If you choose the first house you are paying for the dining room by accepting a smaller lot.
There is the possibility /proc is not mounted, right?
I used to use it daily back in 2013.

Even put together flow [1] a stack based on it because the workflow with Pharo and Mapless [2] felt so nice.

And blogged about it:

Flow - A living full-stack ‎framework for the web - https://medium.com/@sebastiansastre/flow-a-living-full-stack...

Improving the Amber Experience - Some small steps to improve the productivity and overall experience of developing with Amber Smalltalk -
https://medium.com/@sebastiansastre/improving-the-amber-expe...

Flow demoed at Smalltalks2014 - https://medium.com/@sebastiansastre/flow-demoed-at-smalltalk...

Upgrading to flow 0.2 - https://medium.com/@sebastiansastre/upgrading-to-flow-0-2-d4...

[1] https://github.com/flow-stack/flow

[2] https://github.com/sebastianconcept/Mapless
I seen an LLM, or maybe another variant of “AI” [0] a while back that could aid design of electronic circuits by having a pool of data sheets added for referencing.

As you were querying specs for a board at component level it could give you a schematic, I think, with citations to the actual data sheets.

I suppose the same scale up could be used for systems that needed a varying number of specific power supplies.

[0] https://www.flux.ai/p
To Make
The point about being hostile by default is precisely what pushed me towards suicide attempts. Without any context it's very easy to jump to conclusions. Few people consider it might be a zebra not a horse when they hear the sound of hooves.

Some people cannot live with actions they have done; others feel they cannot live with the limited options available in the future. I was the latter.
100% agree with home cooked meals. You have the liberty of choosing among 100000 ingredients. No restaurant offers that variety.

And for the "dining room just for parties" argument from above: it is actually possible to invite your neighbours, your friends, your colleagues, ... to dinner more than once a year. I almost never had people turn down such an invitation.
Drunk Berlin Firemen Driving Emergency Patient to Hospital on Nye [German]
Ok, I’ll bite - why?
Yeah it worked fairly well. IIRC there wasn't any kind of dynamically allocated data at all as is common in embedded projects. All strings were stored as fixed size, basically char[64]. Instead of storing pointers, I stored offsets within the memory file, since the base address changes from run to run.

(rant incoming)

This is actually something that bothers me with contemporary programming languages - the huge amount of implicit state due to function calls on the stack and the way the heap is organized. I'm much more in favor of a data-oriented design where you don't get to freely allocate objects, but need to strictly organize them according to a model. I imagine this would also make formal verification a lot easier, since you have a single global coherent view of the program state, kind of like being forced to store all important program state in a database (except more efficient since it's just memory).

Ironically I've become a big fan of global variables. In my experience the classic criticism of "anything could modify anything" doesn't really hold - using globals enables me to statically analyze all usages, not to mention setting memory breakpoints becomes much easier as well - I always know what I want to watch, instead of it being some pointer that will be allocated at some unknown time, 20 stack frames away from the actual usage.
This is simply not true. If it were, then a monitor at the equator would be ruined merely by rotating it to face east instead of west, or north instead of south. They would have needed to sell four different monitors, to accommodate customers who were going to face their monitors in different directions. Even away from the equator most of the magnetic field points north/south rather than into or away from the Earth. More likely vibration during shipping defocused your monitor somewhat; a TV–repair shop probably could have fixed it.
Do people with 9-5 office jobs work the full 8 hours?
Their should be no optimizations which rely on a-priori knowledge of the dataset. I.e. if you calculate a perfect hash function at runtime by inspecting the dataset, that's fine (not sure whether it's beneficial), but hard coding it, is not.
My 10 year old EV has a button on the steering wheel that will show all the chargers it knows about within range.

If planning a route using the built in satnav it will say "you won't make it, add a charging stop?"

But there's so many chargers I don't even bother planning.
That's nice and all, but if I were to have done that, when I was living in a small town, I'd have been cold and wet a lot of the time. Don't see how to use the savings to fix that.
There are plenty of older Corollas you can use on a track day. My AE92 did fine for a few laps.
Sure, it may be a publicity stunt, but it's the type of publicity stunt I like. Will it ever launch? Who knows? Will they find a biological origin for Mode-3 particles? Who knows? It's cool that they're going to fly by Venus (which is sort of hard) and look for life. Seems cooler than sending a Tesla into space.
To be blunt, and clearer: Apple's reason, your reason, for them being hostile towards webapps is unconvincing.
> I know a group, where 8 people + a dungeon master meet weekly/bi-weekly to play DnD.

The (bi)weekly social engagement that is an important part of their social life is not an edge case though.
The kernel is 13kb, entirely self-contained, and capable of running without the .Net runtime.
The brain is incredibly plastic.

Chinese is spoken by 1.7B people and ostensibly most of them can read Chinese.

If you listened to accounts of Western learners' experiences learning to read and write Chinese, you'd probably believe it's some insurmountable and elitist language. They don't use an alphabet, how cruel and complex for newcomers.

Immersion and necessity enable us all to accomplish really astounding things. When I consider my own personal journey - I learned how to code after a career switch, and if I were to enumerate all the things I have since internalised with respect to programming and software engineering, it would have seemed absolutely impossible looking at it from day one.

From an education perspective, I wonder whether we lack the mechanisms to and culture to develop the tenacity to get over the initial learning barriers of difficult stuff.

I love how YouTube is now finding more creative ways to show how music theory is relevant. Eg how contrapuntal music theory was critical to making music for Pokémon on the GB due to the very limited sound making capabilities.
Ethereum Manual for Digital Primitives – I need feedback for this short novel
ELF might be weirder, but as an end user I much prefer it compared to having to deal with implibs and declspecs and all that nonsense on Windows.
It’s a great choice as a self-contained Lisp computer; see:

http://www.ulisp.com/show?4JAO
I was hiring for a role in Australia, and had to sign off an exception because the preferred candidate had an unpaid speeding ticket in California.

On the other hand we definitely hired people without speeding tickets who were likely deep agents for foreign states.