skysight-inc/HackerNews huggingface dataset:
Here's an example straight from code I've rewritten at least 5 times because I'm allergic to saving myself time:

export enum ErrorCode {
InvalidEntity = 1,
NotSupported = 2,
UnexpectedServerError = 3,
InvalidRequest = 4,
Validation = 5,
// ...
}

export enum ResponseStatus {
Success = "success",
Error = "error",
}

export class ResponseEnvelope<T> {
public readonly status: ResponseStatus = ResponseStatus.Success;
public readonly data: T | Pruned<T> | null = null;
public readonly error?: {
code: ErrorCode,
message: string,
details: object | string,
status: ResponseStatus,
};

constructor(opts?: Partial<ResponseEnvelope<T>>) {
if (opts) {
if (opts.status) { this.status = opts.status; }
if (opts.data) { this.data = opts.data; }
if (opts.error) { this.error = opts.error; }
}

if (!this.data) { return; }

// Prune if the thing is prunable
this.data = prune(this.data);
}

}

Hopefully this isn't too hard to grok, it's Typescript.

BTW, If you're cringing at the number scheme for the ErrorCode enum, don't worry I am too. This is why I prefer to use strings rather than numbers, and it basically just ends up being stuff like "invalid-entity", etc.
Software that makes bad assumptions tends to fail on in a million times on 'normal' systems, but everytime on others. Driving those one in a million cases out makes everything a lot more reliable for us all.
I built a desktop app that is based on Sqlite, and it is extended to handle other separators.

Not sure if this is what you are looking for.

You can try it out: https://superintendent.app

PS. it also loads GBs of file in 10-20s because that part is written in C.
Huh. I really don't see the appeal of that aesthetic. To me it just looks poorly done, not vintage. If it's actually trying to be vintage, it misses the mark.
Well... maybe not. I would have no trouble giving a pig a good life and then eating it.
If you want hardware that actually works with Linux, System76 all the way.

Which one you chose is a matter of taste, preferences, and finances.
It’s easy to say that from a statistical standpoint. I’m sure if you were a victim in one of these less-likely accidents at the hands of faulty autonomous tech you would not be so adamant. Forcing this technology onto people sounds a lot like fascism.
128 character US-ASCII is indeed fundamental. It is an almost verbatim translation from the teletypewriter command set: https://en.wikipedia.org/wiki/ASCII
> I'd argue no vehicle should be on the road sans occupant to be honest.

So someone napping in the passenger seat is fine, but empty isn't? Why?

> Especially if it's being summoned for some sort of service.

Especially? When it's doing some sort of service is when it's the most ridiculous to have someone hanging around doing nothing.

If you don't want a summon button, just say so. Don't say summon should need a passenger.

> You think that it's totally okay to have a vehicle titled to you auto -accept a request that could be coming from any moron out there?

I didn't say that.

I don't think even a ride share would go to anyone, but I wasn't even suggesting that, I was talking about any kind of summon at all, so by default that would be the owner.
I believe you are going to add more. Here are a few things I learnt after listening to a wealthy person looking for a place in India to build massive research, retreat kinda home, for his family, and the people who pop in to live their work.

The temperature range is one of the many factors. Even in a hotter area (from statistics), you can create a pleasant environment around the year if you have enough space and strategically plant trees and other greens, without any artificial air conditioning.

Soil: Look for soil quality and their changes over time and thus the likelihood of future quality.

Water: This is one of the most important ones. I believe you want to live/retire in the outskirts, grow your food, etc. Water plays a crucial role in what you want to do and what life you will have.

Calamities: History of natural calamities.

The others will be crime rates, political unrests, and accessibility, depending on how far you want to stay away from the crowd.

Nonetheless, your app is super cool and has given me ideas. Start with all the software possible and commission a small research team to pinpoint a few locations and zero in your final choices. ;-)
C suite 'runs' the business, but hasn't a clue how to run it.
After over three decades of covering Russia, I leave in despair
Yeah I noticed that too. Glosses over things and doesn't explain them. Leaves you asking for sources and more proof.
My company's single-sign-on got upgraded with mandatory 2FA a couple years back, and somehow requires it every time. It's really more of a non-stop-sign-on, I probably do it 10 times on any given day (including waiting for the SMS, etc, I wonder how much this one poorly-configured service costs them).
The Legendary Survival Story of Sir Ernest Shackleton
This organization of functionality is intentional. It provides support for code modification orthogonal to instruction cache coherency support. The range of types of implementations of RISC-V is broad enough that imposing instruction cache coherency on all of them wouldn't be optimal. The I/D consistency proposal provides SW control now, while not requiring particular implementations.

Particular RISC-V Platform specs may end up requiring I/D coherency, like Arm is recommending in SBSA Level 6, but that's left for later, if ever.
Maybe "Googolplex!" ?
RISC these days really refers mostly to uniformity with a bit of simplicity bolted on the side. Big instructions sets aren't really avoidable in practice, but the advantage AArch64 and RV64 have over X86 in theory is that they aren't totally insane (e.g. AArch64 is fixed width) and reliant on lots of trickery to preserve a machine model from the 70s.

RISC-V basically eliminates a lot of microarchitectural state (flags), whereas AArch64 updates that state conditionally. We will find out which approach is superior soon.
I don’t know what OP thinks is the reason, but the actual reason is CORS.

Web Devs (such as me) have asked for e.g. DELETE as an acceptable formmethod (e.g. https://github.com/whatwg/html/issues/3577) however WHATWG always pushes back citing security concerns such as CORS.

I suspect this is not what OP had in mind since it is trivial to send a DELETE request with a simple JavaScript:

<button onclick="fetch('/api/resource/42', { method: 'DELETE' })">
Delete
</button>
Reminds me of my 2008 bmw 3 series, one night in the hills, taking the twistes at speed, I hit a pothole in the road. This mechanical force caused a misread on one of the two redundant throttle position sensors in the accelerator pedal.

As a safety feature the car went into limp mode, limited it’s rpm and performance to less than about 40% of power and threw all the Christmas lights it could at the dash, error codes and idrive warnings.

I limped the car home and did a fault code reset from my laptop with the pirated bmw dealer software via a bluetooth-obdc2 dongle and it was fine after that.

Of course the problem continued under strenuous driving conditions. I could’ve replaced the pedal assembly but meh, it was always a good reminder to back off a bit in my 1800kg car.
That’s such a brilliant idea. Thank you for sharing.
This is very common in the BMW world as well.
Is it possible to scale that trade down to something one could do at home, without much equipment and therefore not require much in the way of planning permission? Scale that transaction down 1/3000th to get £100 for the trade. If you could do that every day it would set you up for a yearly pre-tax income of £36k; instead of trading 1GWh the trade would be 333KWh, equivalent to 1.2 Gigajoules.

Solve the Pumped Hydro storage equation E = mgh (Energy = mass * gravitational acceleration * height) for 1.2e9 = mass * 9.81 * 2 meter lift => 60 Megagrams of water => 60 tons of water lifted 2 meters will do it.

Water is ~1 ton per cubic meter, that's 60 cubic meters, about a 4x4x4 meter cube. Twice the volume of a small outdoor pool. And it would need enough pumping power to move it two meters in half an hour for one settlement period. One millimeter per second. That seems infeasibly huge. (Even scaling it down another 1/10th is 6 tons of water which is large. maybe if it could be lifting a cubic meter of Iron, 8 tons, by one meter, it could be £5/day or £1500/year. A tenth the size again it would never pay for itself, and now I'm almost at the systems of dragging lumps of rock on rails up a slope to store energy and letting them roll down to release it).
That's not how chat works - you're using a wrong analogy, and probably causing confusion and frustration amongst your coworkers. Chat is nothing like walking up to someone. "got a sec" is a waste of time and an annoyance, the sooner you learn that the better. Just put the greeting with the question: "Got a sec, I was wondering if blahblahblah?" Or even better "Hey, I was wondering if blahblahblah". Then they can respond right away, or not, or say, "Give me a few and I'll get back to you". This is how modern chat works, please learn it!
I want to respond to this because I have encountered the same thing, multiple times, during my 40 years of cycling.

The implied "locked eyes therefor I am safe" is NOT a thing. I apologize to the inexperienced if I implied that. You got to watch the whole process. But in the distribution of the MV danger types, not paying attention at all is much higher IMHO.

Everyone knows this? I had this happen on my own street that I live on with a neighbor two houses down. Yeah, I was rude.
"From the factory, the TRX has a top speed of 118 mph before any Hennessey upgrades. And while the tuner doesn't actually reveal the Mammoth's top speed,..."

Do they make tires that size that are rated higher? And of course, do you want to take something like that (aero, celery of gravity, etc) faster than that?
In my experience you tend to get better engineering staff when it's one organization, along with a better customer/product focus.

When it's two independent teams, you tend to get a more research focused Data Science organization and a team of engineers more focused on plumbing.

Which option is better will depend on the organization goals. If you think that you have a straight research problem than a dedicated research team is useful. If you want to ship product than one team is better.
Like Android/iOS?
Perhaps you are more fortunate than me, but in my career, there have been times where I couldn't dictate the platform used. This is actually the case for many people - I daresay the majority - who work in the software industry. So while I understand (and of course agree with) the sentiment, it's rather trite. Plugins are there for the rest of us.
I agree.

> If you are unable to distill the concepts or thoughts into language, then you have likely not fully understood the problem.

Or maybe I have understood it, and I believe that a diagram would help my reader understand it too.
Chronic Epstein-Barr Virus (mono, stays around in, say, the liver).
That's why I buy System76. They make _Linux_ hardware and they actually support their products. I don't have time to play system integrator.
Whoa whoa talk about AdBlock Plus and integrity!

AdBlock Plus seems to whitelist your ads if you pay them millions [1][2]. The euphemism ABP (and their parent company Eyeo) uses is 'acceptable ads'. Acceptable to Eyeo I guess. It's opt-out at the users end.

OP knows all about this [3][4].

I'm not a fan of some of Mozilla's policies but I'm thankful if it's true that Ublock Origin is shown preference over the shady, user-disrespecting ABP.

[1] Google paid AdBlock Plus to get its ads whitelisted
https://news.ycombinator.com/item?id=5995140

[2] gorhill, UbO developer on Eyeo
https://nitter.net/gorhill/search?f=tweets&q=%22eyeo%22

[3] https://news.ycombinator.com/item?id=6818307

[4] https://news.ycombinator.com/item?id=5946892

[5] Eyeo on HN
https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

[6] https://news.ycombinator.com/item?id=28746231
I think you misunderstand how this works. When you get a custom vehicle you don’t really give a shit about regulations or reasons for them. As long as you can register it and renew your registration you will most likely do whatever you want to it. I am fairly familiar with custom motorcycles in the US. Most states and cities have regulations regarding noise levels. The EPA requires bikes to have catalytic converters to reduce emissions. But a bike in the hands of someone who cares about its performance will not stay stock of long. Usually the catalytic converter is removed (it restricts the exhaust system and you can get a few ponies by doing this), and the entire exhaust system is replaced with a shorter and wider one that will let the engine breathe better. That makes it a lot louder. You will also modify the fuel system to run less lean (lean means higher than stoichiometric air/fuel ratio). Lean fueling runs hotter since gasoline doesn’t cool off the cylinders and it doesn’t give you optimal power, but it burns cleaner. Instead you bring the ratio closer to 14:1 to get better power and a cooler running engine.

Most cops won’t pull you over for an exhaust that is too loud unless you keep blasting it in your neighborhood enough for neighbors to complain. And none of them will ever check your fueling system. Manufactures of these devices sell them as “non-public use only”, knowing full well you won’t race your 800 lb Harley. The saving grace is that most people don’t do this. Only a few people buy motorcycles (or high performance cars) and of those only a few modify them to this extent.
> Given all of that, why has this not affected cryptocurrency valuations?

Many believe it's one of the factors that is.
> Results for "evidence of election fraud 2020" - at least 5 results showing major election fraud took place.

Shouldn't an "objective" search engine return results that are true (that there was no systemic election fraud) instead of results that fit his personal biases?
Belarus may be preparing to invade Ukraine
"no glibc" makes programs bigger; they have to contain their own library. Presumably, that small TC executable made some DOS/BIOS calls; that would be its OS-supplied library. That gives you things like file I/O and reading the keyboard.

Anyway I don't think you're quite explaining it (in spite of a good effort and nice points) because, look, the mere hash table module in my TXR language has 30K of machine code. This happens to be 32 bit x86:

$ size opt/hash.o
text data bss dec hex filename
31558 100 8 31666 7bb2 opt/hash.o

It's just a bunch of hash table functions.

I cannot say, oh, my hash table functions are almost bigger than Turbo Pascal 3 for MS-DOS because of documentation (there isn't any), autocomplete (none and not applicable) or because I have networking, multitasking (also not applicable).

I mean, Turbo Pascal 3 probably has some internal hash table itself, and provides an entire language and IDE, in the same space as my hash table stuff.

/bin/ls on Debian 11, x86_64:

size /bin/ls
text data bss dec hex filename
131876 4728 4824 141428 22874 /bin/ls

What are the amazing features in ls? It does ANSI color and probably something with extended attributes; so, ooooh! that must be why it's four times bigger than Turbo Pascal 3?
In the United States, maybe. In most places requiring ASCII is an arbitrary middle finger.

Most of us have encountered the "please enter a valid name" after filling in a form.
Still got mine. First gen, Mac only, Firewire. Haven't turned it on in a few years, I wonder if it still goes...
Some mix of the following:

1. I've spent very little time around farm animals

2. I've always eaten meat, so assuming lack of inner life is an easy way to make sense of that behavior ethically

3. Given their inability to communicate and comparatively small intelligence, it isn't clear how much awareness they possess.
Most of this applies to sufficiently modern gas vehicle. Even my motorcycle has now drive-by-wire throttle, computer-controlled fuel injection, and computer controlled brakes in addition to throttle control and other stuff. We will need to get used to the fact that many modern devices we use in everyday life are very sophisticaed and beyond "fix it yourself". Even your home fridge is likely to have a computer and bluetooth.
You're speaking my language! I agree with everything you said. We are actually in talks with Refinitiv, they would allow us to re-sell their data on our website (bloomberg will not).

Here's my two cents here/my angle. I think that 95% of the data in bloomberg terminal isn't needed for the common investor. Further, companies like ours will not replace Bloomberg terminal, we don't plan to go for their customers, and we know we cannot compete with the ridiculous level of data they have. Honestly, full respect and hats off to them they have worked super hard to build that up and deserve their moat.

I do think there's a ton of room for more practical solution that works for the common person (not a financial professional) and that there will be more decentralization of financial data, maybe not all of it, but I see it happening now where companies like Finnhub and others are slowly building their own empires/chipping away at their own custom data and I think there will be competitors that creep up. I guess time will tell though!

It really is a fun snaky problem to solve, I love solving problems that people think are unsolvable, maybe I'm dumb (probably) but it makes the process all the more fun when you know you're swimming with sharks
I think some of Google's efforts are genuinely for the public good, like Project Zero.
I’m still looking for a place like Auckland (cuz property market) - 23 celcius for around 6 months, decent humidity.

Azores seemed similar, but most maps forget humidity which makes it tad too warm.
Sort of, but is it any better if the GraphQL layer still has to make 15 requests in order to serve a single useful response?
I think in the future people will just resort to checking yandex/baidu/duckduckgo every time they think the results might be censored. The opposing regimes are likely to censor complimentary parts of the web.
If it comes down to WW3, then it would end with the carving up of Russia into something more managable like Germany was, plus removing their nukes. Nixon tried the mad man with nukes threat when he was president. Didn't work there either. What we are seeing is Russia's death throes. Communism failed in the late 60's and capitalism saved china when Nixon opened them up in 72. Then Russia went deeper Iron Curtain and plundered and suppressed its populace to 'succeed'. They are suppressing Ukrain because if Ukrain (and Shell) tapped into the Ukrainian oil reserves, they'd be about the #14 oil producing state, and just happened to also be the main pipeline to europe for the USSR. Russia fears that Ukrain could subvert their oil empire. Ukrain will, and already has, because no one will do business with Russia.
> We test every situation that we can think of: errors, edge cases, and so on.

Pretty bold claim. Either their fantasy can't think of many weird data issues, or their data is somehow guaranteed to be always validated, or they came up with a magic secret sauce for data unit testing.

Could anybody explain what they mean by their version of unit testing?

Does it mean to test that a change in code will still successfully process the same static data sample as was tested previously?

If not using static data, what does it test when the input data changes? Does it validate the input data?
that's horrible- people just go around calling other people 'POCs'? how dehumanizing!
Agree that the tendency exists but don't see the tradeoff between transactional and messy in this example--you should be able to create a new product with options [...] in the same request, perhaps using /options to ascertain what's available before posting to /products, depending on the situation.
Good thoughtful article.

Another interesting idea is 'potential energy'. If a boulder sits on a hill for 1 million years, because it's in a gravitational field, it has had a 'potential energy' compared to the bottom of the hill. Take away the field, you take away the PE. Usually the word 'potential' means 'capable of being but not yet in existence'. Similarly, the electric potential of two points in an electric field may be different ... and there's a 'potential difference' between them. (Confusing? No wonder the term was changed to voltage!)

Liked seeing that Feynmann quote for the first time: 'It is important to realize that in physics today, we have no knowledge of what energy is.' [In 4.1 of https://www.feynmanlectures.caltech.edu/I_04.html]
Take a look at T14. It's the progression of the T4xx line. Lot's of ports. Good performance. Good Linux support. Still fairly upgradable.
POTUS warns Russia will pay 'a severe price' if Chemical-Weapons used in Ukraine
I think you could effectively connection sequence this interface? Though it'd be electronic sequencing rather than a physical one like on usb ports, you could make it so that a particular non-symmetrical set of pins need to be in a certain position before power is delivered through any power pins. Assuming there are multiple grounds, it could be continuity through all the ground pins that would allow power to flow.

And since the snap-in boards are all rigid you don't really need to worry about the possibility that contact will be made in like.. a rolling way. Either the pins are on the board or they're not.

But I'm not an EE, just a hobbyist, so maybe there's something I've missed there and what I'm thinking is way more complicated than I think.
Sure, but it doesn't always happen like that.

You're in sales at a company in a highly competitive space and are exited. You're not the kind of person to premeditate taking anything with you, perhaps you left on good terms. You join another company and someone there asks you for the book of business or sales leads you were working on that the previous company. Oh look, your login to the CRM system is still working, and you can get a glimpse of information that you shouldn't have access to as a non-FTE. It seems benign, so you copy down a few phone numbers and email addresses. This isn't an academic example.

This wouldn't even be a possibility if the account was locked down immediately. It's obviously much more difficult to control access to information while you are employed (this is a subplot of Snowcrash, afterall), but immediate lockout isn't meant to mitigate that risk. It's meant to mitigate risks from an account being active that shouldn't be.
Ah yes, the exchanges love to keep their data private/monetized... but they are a business too so I get it.

Lets definitely keep in touch, I'll check out your profile. I appreciate the support thanks!

ISINs... what a mess, ha! We don't touch those
"Making high profit vehicles like this is also helping stellantis bankroll the transition to electric cars."

And keeps regular people from affording an EV truck. Although, I also hate how much stupid tech they put in them.

"Cars are getting more fuel efficient and the average car is not a supercharged v8."

I was surprised that I recently got 20.5 mpg hauling 1200 lbs of lumber. That was almost double what I expected to get.

"There is a lot to geek out to in vehicle engineering."

I absolutely agree. Prior to computer (and phreaks, and ham, etc) hot rodders where hackers. There's still a lot of interesting tech and concepts to explore.
Ironically (in the context of this thread), the most reliable vehicle I have ever owned is turning out to be a Jaguar I-PACE.