skysight-inc/HackerNews huggingface dataset:
I cross the street, intersection or otherwise, assuming that unless eye contact and acknowledgment have occurred, I am invisible.

I looked up how liability would be distributed if a jaywalker gets hit by a car and found this: https://www.mcreynoldsllp.com/hit-jaywalker-at-fault/

Quote:
"California follows a comparative negligence scheme. That means that a fact-finder (a judge or jury) will look at the actions of everyone involved in an accident and determine the percentage that each person is at fault. If a plaintiff was 40 percent at fault for the own accident, then their total injury award will be reduced by 40 percent.

If a driver hits a jaywalker, it is clear that the pedestrian was at least partially at fault for the accident. That does not, however, mean that the pedestrian was entirely at fault. If the auto driver was speeding, intoxicated, passing on the right, distracted, or otherwise driving negligently, then they may share fault. A judge or jury will weigh the actions of each party and the circumstances of the accident to determine each party’s relative fault and will adjust the potential damage awards accordingly.

If you were driving and a jaywalker jumped in front of your car, causing you to hit the pedestrian, swerve, crash your car, and injure yourself, you may have a personal injury claim against the pedestrian. The same analysis described above will ensue: Were you acting negligently? How negligent was the pedestrian? Who really caused the accident? A dedicated California car accident lawyer can evaluate your case and determine whether you, as the driver or the pedestrian, has a valid claim against the other parties involved and whether your potential award is likely to be reduced as a result of the comparative levels of fault."
State Machines!

It’s not something you had to learn just to pass a CS exam and then promptly purge from your memory.

The buffering state is a state, not an arrow!

User interface states should respond to inputs, including cancellation, retry, etc…
For Linux kernel's viewpoint where they are trying something new (io_uring_spawn) due to fork's problems, see https://lwn.net/Articles/908268/
There's no such thing as a "code point", sorry to say.

(I want to say "I told you so", remembering the silly arguments used 30 years ago about stateful text encodings, but that ship has thankfully sailed, leaving behind forever UTF-16 and other cruft.)
He repeatedly says “only use one that is part of the world wide web”. I’m not sure how you got from that that he is confused. Also it’s kind of funny that someone would think jwz would make that mistake.
RTK GPS can be 1cm accuracy with sub second time.
What is a SPA? It's not as if Googling this word will enlighten me.
There might be a need for these ideas, sure. They're worth exploring. But it's a bet, or a gamble: they're exploring novel territory. Hare aims to distill proven ideas into a simple package which represents the best approach as of $CURRENTYEAR, then use it to build a platform which will be stable for as long as possible. It might not be perfect -- the next language can improve on it, or maybe one of Hare's contemporaries will succeed -- but it will be dependable, and that's a trait worth optimizing for in at least one language.
That was very informative - it certainly does not give me the motivation to build my own billing system, but it does shed light on the scope of the task.

Side note: Is "I don't want to write/use a billing system" a compelling reason to release software for free?
But what if you don’t watch the video? That bandwidth is wasted.

Someone at Google did the math and figured they can save some single-digit percentage of their annual bandwidth spend.

At their scale thats $millions and that guy got promoted for frustrating every person out there like yourself.
Also available, at least if your hardware is aarch64. We've had some issues getting Chromium working on some of the other arm versions Alpine supports.

https://pkgs.alpinelinux.org/package/edge/testing/aarch64/co...
If people wanted to use things like generics and metaprogramming with Hare, what's the solution? Write a transpiler, or just don't–use another language? I admire wanting to keep the language simple, but generics usually makes my programs simpler. At the expense of a more complicated language specification.
Gotta stay on top. Free training data.
I burn about the same amount of calories walking at my desk every day. Just like you say, I’m able to eat what I want and not gain weight - or even lose it.
It feels like China is always overstated by the west
It's not a bug. This is perfectly acceptable behaviour according to the language standard. If anything, it's a standard bug.
Ublox ZED-F9P uses BeiDou, afaict, even in the US.
I loved my Dreamcast, so much PSO. We had two Dreamcasts stands that are usually in department stores in our startup, playing Samba de Amigo alot.

We also wrote a demo with scroller and star field on the VMU and called us VirtuaMunstaz.
Oh man that's great, that was my only gripe at the time. Thanks for the links.
Its backfiring for them in my case. Usually if I can’t find something easy within a few seconds, I decide its not worth the trouble to go on this research assignment of a search query and just close the tab. The little bit of trivia I wanted an answer for usually isn’t that important anyhow.
Yes, the point is to keep the airways open, but that’s hard to demonstrate hence the suggestion to “make a stream of small bubbles as you ascend”
Ok, now how do you provide a SecureUserCreatedStructuredData type?
Quick, give me money or China will destroy us. I also have only a high-school degree but I'll pretend I'm an AI expert.
This is why undefined behaviour is insidious: if a tiny part of your code is undefined behaviour, the behaviour of your entire programme is.
The project GP was accusing them of name sniping is only a few months older.
This is not a bug. This is the model of C. You should blame C not GCC.
> I'm expecting this article to make the rust crew go in a crusade again, and I think I might be with them this time.

I think he makes a good point. By having overflow be undefined you leave yourself open to all sorts of issues.
We use some f9p's from Ardusimple for building an AgOpenGPS autosteer system.
You probably want to use another language. Hare does not aim to support every use-case, but instead seeks to thrive in its niche. But I would also recommend giving Hare a shot and not writing it off because it lacks generics -- you can do a lot with it regardless.
How Long Does a Tesla Battery Last in Australia?
That would be a very interesting metric, could you grep|wc them and the locs?
I think it’s because they assume you’re watching a night with lights turned off?
I use GPS Status (com.eclipsim.gpsstatus2).
For me it was about to 2 years to get to the level of “if I can imagine the algorithm I have no doubt I can implement it”, but that was gradual and there are many more levels such as being able to code to a standard style or idiom, I would hesitate to identify an aha moment, but if there were one it would be after doing 2 online algorithms courses from Princeton and Stanford.
All these attempts to discredit musk come off as so contrived, on Reddit someone shared a screenshot of him saying he’d be interested to know what the world will like in 88 million years… (apparently 88 is a nazi dog whistle?).

Only he was responding to a tweet about how Madagascar had broken off from the mainland 88 million years ago, so nothing nefarious, but of course the thread was full of teeth gnashing.

A mod eventually sticked a comment saying “we don’t know musk’s intention, if he picked this tweet to reply to or if it’s unintentional, but there is more context”.

This is more of that. Vindman isn’t a classically Jewish name, and I (a Jew) had no idea he was Jewish, I doubt most people did, he doesn’t exactly dress religiously or make it a large part of his public identity.
No, or at least, if it is now, it historically hasn’t been (Firefox in particular suffered from this due to default-blocking other signals that Google used). They also had “having a Google account cookie” as a signal, which is a pretty nasty abuse of power.
The project should include a high level Domain Model diagram to see how things are connected.
oh man, they get a railroad? no fair, can we get these belt and road folks to fix up caltrain while they're at it? I guess not..
VPN industry is multi-billion, crypto exchanges are multi-billion, hosting is multi-billion. These are real industries - I mean a lot of people on HN are employed in companies that support and provide data / server hosting.

It starts with digital services and it spiders out from there. Enthusiasts who own retail stores accept crypto as a novelty or marketing strategy, but in 25 years it could be much more common.
> Another aspect is that you will present your scientific results to your colleagues, not your code (they are not interested in that),

Ah, yes you do not present your code and that's a flaw of science. Because nobody can really reproduce your results without, but it seems modern science gave up on the whole reproducibility thing.

> they are not interested in that

Ah no… they are very much interested in that, but you don't give them out because you want to keep adding little details in the form of new papers, rather than letting other groups compete on the same research. So keeping the code proprietary makes it difficult for other groups to do better than you.

It's all very unscientific and uncooperative really. Let's not pretend it's "science"…
So? There's still lots and lots and lots of cheap labor to import for decades.

The „competitive pressure“ will just worsen corporate pressure on local labour. Oh, immigration is getting lower, so we need more tax exemptions for new arrivals! Think „digital nomads“ (or whatever fancy term nowadays) visas.
"huh? high clockrates is exactly where hardware is going, we just haven't figured out how to get the silicon to work"

no, that's the opposite of where hardware is going. when was the last time flash latency or DRAM latency significantly improved? literally 15 years ago. Optane is the only improvement that has been made on that front and optane is effectively dead at this point. so actually latency and random IO is going backwards right now.

hardware is going in the direction of sustained block transfers - that is where NVMe is still improving today.

issuing random requests still basically sucks just as much as it did 15 years ago, and doing a lot of them in parallel is just a shitty bandaid patch on the problem. some workloads are irreducibly single-threaded, you simply can't proceed on the logic until you know the last bit of data. being able to do lots of those in parallel is nice, but it's the consolation prize on latency no longer scaling anymore.

so, stop doing random IO and just stream your workset in large blocks and have listeners pick off their bit (retrieve individual records, or perform their aggregations) as it streams by. Effectively, do your disk IO in big sustained transfers and then do the random IO in memory.

Not that memory has improved over the last 15 years either but it's better than doing it on disk.

SOLR is behind most of the big webscale search and commerce systems nowadays. Nobody is doing Amazon on RDBMS-style random IO systems, not even on database-style document systems like mongodb (which is really more pseudo-RDBMS than a true document search system).

Or on the flipside: if you want to do random IO on your SSDs, do random IO on your SSDs - forget the whole filesystem layer, and use a key-value SSD (which do exist). That's what your database provides right now, after all. But RDBMS (or, again, quasi-RDBMS random-IO document stores like Mongo) doesn't play to the strength of SSDs anymore, that's not where they're getting better, and if you want to treat it as a block store then you might as well stream big blocks and not do random IO on your device layer.

https://www.mydistributed.systems/2020/07/towards-building-h...
As much as this is a win for community fiber, there are several things worth noting. This is a very spread out area with a extremely low population density. There are less than 9000 people in the whole town. Also this community has been fighting against high density housing for a long time by blocking construction of new housing and imposing restrictions on the kind of housing that can be build in the city. Although I believe that this is mostly to keep the property values high as currently the cheapest home in this city is going for around 3.5 million.

https://www.sfchronicle.com/politics/article/California-citi...
> People who treat others badly will seek out people with self-esteem issues, because they will come back for abuse again and again. Whereas a person with high self-esteem will not put up with abuse.

Not just that, that kind of relationship presents itself (at least on the surface) as the comfort zone of both parties. The narcissistic end gets the validation and self-esteem boost. And the person with more self-doubt hears what they already believe in (even if they're trying to change it).

That's why it can be a dangerous path because a narcissist (pretty much by definition) is not there to help you make progress, they're there to reinforce their own ego.
It’s quite easy to convert crypto into Amazon gift cards, which can then be used to buy stuff on Amazon. So it’s not exactly a big hop to go from crypto to Amazon.
There is actually a substantial amount of flavor left, but just like in coffee, it's very difficult to extract without increasing the surface area of the vegetables and meat you add in. And how can you increase the surface area? Exactly the way you'd expect to.

James Hoffmann has a video on this topic https://www.youtube.com/watch?v=VV68NiRulEk
This seems unsustainable. Cranberry fields forever?

Seriously, we need legally imposed limits on the use of single-use plastic wrapping, a correction of the economics and a change in habits.

Our family consumes two kinds of crispbread. One manufacturer (Wasa) uses paper for its wrapping. The other (FinnCrisp) use a plastic wrapping inside a carton box. That's just absurd.

Other products may not have a single-use alternative, like meat. Consigned containers is a solution here, already widely in use for beverages in many countries.

As long as manufacturers can get away with wrapping stuff in plastic, they will. We need to pressure them into finding alternatives.

As someone else pointed out here, we are paying a high price already for the damage we're doing to the environment (waste collection infrastructure, rising insurance prices, tax-funded repairs after natural disasters). If we folded those costs into the prices of the products most responsible for them, and added some legislation on top, we could change quite a few habits in relatively little time. It just needs someone with guts to make those decisions, which is something in rather short supply, at least here in Germany...

End of rant.
Lua is a small, lean, and fast scripting language ideal for working with web servers, especially on small Linux devices and low end Virtual Private Servers.
I started learning Python when I was 12 years old by reading books. I could understand the mechanics but I couldn't solve a problem I hadn't seen solved before. I tried to make a game of hangman, but I simply couldn't design it. I gave up on it.

Several months later, perhaps a year, I sat down to try it again. For some reason it wasn't so hard this time. I was able to get it to work.

I don't remember what my other projects were, but I remember struggling to design some more software. I couldn't tell where to begin or how stuff should work. So I'd just jump in somewhere and start somehow. I'd flesh out one component, and then when I'd go to write a component that integrated with it, I found my first design was wrong. I ended up throwing out drafts and restarting.

Through a grueling repetition of this I learned to have a better intuition. I increased my capacity to hold a large and complex program in my head, and to reason about it. I remember a job interview at 18 years old, when someone told me, "you write decent Python." I was quite proud.

I don't think they're was a single moment where it clicked. It was a painful teething process of repeatedly painting myself into a corner, throwing everything out, and starting again. I was very lucky to have supportive adults in my life who helped me out, along with kind strangers on the internet who looked at my broken code.

I'll tell you about one small moment of realization. Once I was asking for help online with a problem relating to my masking an import with a local variable, or something like that. After this was explained to me, Ned Batchelder gave me a command; "now, realize that importing is just a special case of assignment."

It legit blew my mind. It felt like a zen master had imparted special wisdom to me. It was a magical pedagogical moment I've never experienced again. Thanks again, nedbat.
You don't need angular momentum to define spin. Spin is a concept that naturally arises just from the geometry of our space. You can define spin of a human body. I wrote a blog post about this https://dandanua.github.io/posts/the-spin-of-a-human-body/
Dreamcast was amazing. Unfortunately most gamers didn't give it a look as they were too hyped for PS2 due to specs.
Funny that for quite a while the dreamcast games were performing and looking better.
Another question that has not been answered yet: What happened to all the great arcade games of the Dreamcast? In 40 years it has been my favorite console so far and I would love to play again all the good games it had. The only fun alternative is the Neo Geo but the graphics are a bit outdated.
> I did not mention sit down restaurants because they generaly do not advertise.

They do in the US. TV adverts are littered with ads for national chains (Olive Garden, Buffalo Wild Wings, Red Robin, etc).

Media that allows more targeted local stuff (Facebook, billboards, newspaper, Google maps, etc) is plastered with ads for local sit down restaurants. If anything these ones advertise even more because they don’t have an established mindshare.
The worst is airdrop which will shift and shimmy drop targets as they're discovered …
Incidentally, the bus used by the controllers (maple) actually had support for a second analog stick, but they never released a controller that used it (by which i mean a regular gamepad, there were several novelty controllers for certain games and IDK if any of them put it to use).

Speaking of novelty controllers, SEGA nearly beat Wii to the motion control fad by several years. There was a fishing rod controller and a pair of maraccas that both used motion controls. they also had a prototype of a more general-purpose motion controller which strongly resembles the wii remote but unfortunately this was never released (source: https://segaretro.org/Air_NiGHTS )

If they had just made that their core control method instead of an optional gimmick that only a few games used, history could have been very different.
That's probably the first text on business/management that I found interesting to read. In my (limited) experience, such texts are usually extremely dry, and lack any logic. Often they seem to recommend abstract rules without any reason. This text was more "reasonable", and the funnel experiment is very suggestive.

BTW, why woiuld the author wonder about the multiplication of loss and probability? Why would it be a convolution? I suppose the intention is to minimize expected loss.
> This isn't a developed nation, perhaps if the west is willing to do business your comment and sentiment has validity but sitting at Chinese workers and Chinese debt us better than sitting at a distance and pitying those poor people and occasionally tossing charity their way.

I disagree. It is sometimes better to do nothing if the alternative causes more problems than it solves. Laos' time would have come naturally given stable government and consistent investment. They are now on a fast-track to failure.

> Perhaps instead of criticizing China you should criticize the west for not besting China?

As I said before, if a better solution cannot be proposed, it is better to do nothing, rather than an action that will most certainly end in failure. Without a stable government in Laos, all investment will likely be misused. It is up for the Laos people to decide when they are ready.

China is also trying to become a world leader, it therefore opens itself up to criticism. There is a lot of responsibility if you want to wear large shoes.

> Why isn't europe doing this, afterall they are the final destination of the belt road and they get a ton of stuff from China and can benefit to trade with the rest of asia?

Europe isn't accepting charity from China, if anything it is the other way around. China receives favourable trading terms because they are a developing Country. The belt and road is not being built by China as a charity project, it is directly for their own economic gain.

> IMF and worldbank also hold a ton of debt on developing countries.

They do, but this is something that is currently a work-in-progress. Debt forgiveness is now more common and there is increasing regulation regarding issuing of loans to debt-trap companies.

> I mean, I like to think I am the last person to support the CCP but bullshit is bullshit!

I have no idea of your background, but you do appear (at least in this case) be supporting to actions of the CCP to debt-trap Laos.
Thank you for answering.
Also, I did check the dictionary before asked.
As others comments pointed out, it does have a meaning of adjacency or contrast, and I guessed that this is where this usage was coming from.
But still, even with this meaning, I feel a bit of an adversarial meaning.
"Contrast" itself is adversarial, right? Because it comes from comparison.
For instance, in "the chair against the wall", I can see the chair exerting force against the all, and the wall reacting to it with equal intensity and opposite direction (Newton's Third Law).
Yet, in Willson's tweet, I can't imagine anything like that coming off of a git repository and git notes, hence my comment.

As an addendum, my first language is Portuguese, and a direct translation for this word is "contra"¹ which fits all the meanings for "against" listed in Merriam-Webster, except the adjacency one.
I've never seen "contra" being used for this meaning in the wild, and I guess this is the reason I feel a bit off about it and never used it myself for that meaning when communicating in English.

¹ https://dicionario.priberam.org/contra
I tried teaching myself programming for a few years, on and off.

But it wasn't until I took a statistics class, which involved programming in R, that I began to realize the purpose of functions: to handle inputs, and return outputs.

The class involved data engineering, so I created functions to deal specifically with data.

And it was then that I realized "Ohhh... functions in any language just operate on data... so... with this knowledge, now I see the purpose of application routes in web frameworks like ExpressJS, Python Flask, etc."

A course on relational databases helped me understand how to store data.

And from there, I finally realized the purpose of a REST API, and how browsers connect to servers.

At that point, I realized "Wow, I finally understand how to create a full stack app (including database design)"
> foreign content because I'm using CC anyway so why not

and then you get to experience the phenomenon where you forget that a movie was foreign at all because you knew what everyone was saying just as well as if they were speaking in english