skysight-inc/HackerNews huggingface dataset:
Also bicycles, motorbikes, e-scooters, trams, trains, runaway objects...

I always thought that the city itself could be part of the swarm system. Roadside sensors could broadcast information to all relevant participants - such as "emergency vehicle incoming, move to the right lane, vehicles ID 123, 456 and 789 stop immediately" or "danger - static object at 45th km", or even "slow down/speed up to 60 km/h to optimize traffic flow".
sqlite is a library

zeromq is a library

That’s all the storage you need
> Heh, was that an attempt at sarcasm?

There was definitely a wink component, but at the same time, I meant it.

Half the code is just case / esac syntax, which you can (i do) find plenty use for outside of getopts. getopts itself is… manageable. In the end, the code is such a strong pattern, it's basically a snippet. The lack of variation is what makes it kinda easy to remember. Or you could put it in your notes or a gist and copy/paste.

> That's super difficult to do from memory, at least for me. Maybe I'm not as good at memorizing things as you are.

Nah, my memory is shot. It's a matter of practice, and not being shy with man pages. Use it often enough, it's in memory; after a long hiatus, the details are a "/^\s*getopts \[" away (assuming your man pager is less).
Correct

But it’s also kind of the opposite, if you’re poor you can’t access your rights and privileges. The government expects rich people to, so decides to save taxpayer resources and skipping the whole charade with deferred prosecution agreements
If it's based on Arch (insane rolling release crap idea) then I won't be using it.
I, too, enjoyed the domain whiplash I experienced as I went from word 1 to 2 in the article title.
Thank you for taking the time to explain!

I think I wasn't being very clear there. Sorry about that :(

There's a reason I said it's the type of speech that is protected by the First Amendment and not that the speech is protected by the First Amendment. The intent was to convey that what Elon is complaining about is something that can be protected (broadly speaking, reporting is one of the quintessential examples of First Amendment protected speech, after all), and therefore a First Amendment analysis must be done. Maybe I'll be surprised and the article will be deemed defamatory as a matter of law (i.e., it's reporting that is not protected by the First Amendment), but that analysis still has to take place before anything else.

> You and I do not have access to any of the evidence that will be presented in support of his allegations.

> To get there we need evidence that will only be available during the trial.

We do have some access to evidence courtesy of the complaint, since it must include at least something due to federal pleading standards.

I think those same pleading standards are part of why it's easy to not take a "wait-and-see" approach. Elon has to include enough evidence to show that he has a fair chance of winning as a matter of law. If the judge looks at the complaint and finds that the evidence there is insufficient to sustain the case, then whatever other evidence Elon may or may not be sitting on is effectively wasted. Elon could submit an amended complaint at that point, but he only gets one guaranteed try at that, so in theory he should save the time and cost and just get it right the first time.

In addition, even if the case survives a motion to dismiss he'd need to give that evidence to Media Matters as a part of discovery, they can use that same evidence in a motion for summary judgement (if appropriate, of course, since we don't know yet whether Media Matters actually disputes the factual accusations Elon made).

In other words, if Elon has truly damning evidence he's incentivized to show it as part of the initial submission, rather than squirrel it away in hopes of reaching the jury when that's far from a guarantee.
The parties have realigned around populism.
If you can crash the server with an improperly timed request, then you have a much bigger problem than client-side stuff.
The story of titanium
I keep repeating this every time someone talks about git and finds something weird or doesn't get branches, so I'm really glad your parent mentioned it as well and I know there's someone else out there that "gets" that:

In git it's all just labels/pointers

It's not useful at all to think about branches as the user sees them as "things" of their own. Branches don't "have" anything. Branches in that sense are just convenient labels.

Of course actual "branches" in the commit tree exist whether you label them or not. Until `git` does a garbage collection and gets rid of anything that doesn't have a pointer ultimately leading to it - something that a human would understand aka branch/tag. And that's why we call these labels "branches" as well but it's actually one word for two things here. The actual tree branch and the label that's called branch.

And a branch and a tag are basically the same exact thing underneath, just a file in the `.git` directory somewhere that contains a commit hash. All the meaning and differentiation of branch or tag is just in the human brain and how we and our tools treat them. Such as if you look at a particular commit in your tool of choice, it will tell you which branch it's part of. To create a branch you can literally just create a thousand randomly named files in the right part of the `.git` directory containing the same commit hash and suddenly this commit "is on all those branches". That's what git does and why creating a branch in git is so super fast.
I love Qt Framework, but the entire project has this weird entrenchment around using UIC or QML which are both designed to be some sort of templating for easily creating apps.

However when actually writing code this stuff is practically magic which was confusing for me to learn about.

I found it much quicker and logical to just write the classes and register your widgets/components in the C++ class constructor than use these magic files which rely on nested XML/JSON. The entire point of these files is to make building an app seem easy (even easier than HTML + JS) but I find the entire thing confusing and overly engineered when you really need to write and reference logic.
That’s the point of markets.

Three ways to get someone to do something:

* make them love you

* pay them

* make them fear you

Markets incentivize behavior that would otherwise require altruism or fear.
Diseases like this typically internally spread out along the ophthalmic division of the fifth (trigeminal) cranial nerve, having breached the blood-barrier rather than the blood-ocular barrier.

To have it show up in the eye repeatedly may simply indicate it’s travelled back down the nerve.

The pathway is not even rare, so I wonder what is newsworthy here. e.g. 500k Americans live with herpes simplex keratitis (or “eye herpes”) though many don’t realise, and you don’t see that on HN frontpage.
Afaik some are similar, yes. But we also have different types of neurons etc. Maybe we'll get there with a generalist approach, but imho the first step is a patchwork of specialists.
Every "social event" that I have attended over video chat has been a cringey fail. As you note, for most people, that kind of stuff just can't replace in-person interaction.
First-time non-violent offenders are treated softly under U.S. laws, both small and big fish.

A defendant will get even softer treatment if they willingly surrender themselves and plead guilty, saving law enforcement the effort of a manhunt and prosecutors the stress of an extradition and criminal trial.

Zhao already knew he was going to be indicted because of the subpoenas from the U.S. Justice Department. He retained lawyers to negotiate a deal before finally arriving in the US to plead guilty.

It's just the way it is.
I would also add that that the FOSS bug report experience is in some ways better.

And in FOSS, reporting a bug is more worth it since without a QA department it probably won't be fixed unless it's reported.
You cannot abstract away a 3 order of magnitude difference in bandwidth and latency.
From that link:

Log in to the Cloudflare dashboard
and select your account and domain.

What does that mean? Do I have to register a domain with Cloudflare first?
Excellent and succinct description of risk to all institutions

> Google's culture eroded. Decisions went from being made for the benefit of users, to the benefit of Google, to the benefit of whoever was making the decision.
This isn't asking someone else to make this work, it's more of a caution to convince folks like me to just use "import git" rather than pygit2:

So something like this was what I expected to work, but leaves the repo in detached head state:

import pygit2
def checkout_branch(path, branch_name):
repo = pygit2.Repository(path)

branch_ref = repo.lookup_reference(f"refs/remotes/origin/{branch_name}")
print(f"{branch_ref.name}")

repo.checkout(branch_ref)

The branch_ref.name prints "refs/remotes/origin/test" but git status says "HEAD detached at origin/test"

So I'm probably feeding the wrong thing into repo.checkout, but I'm honestly not sure what else it should be.

Funnily enough, git itself tries to do the right thing if pulled in a detached head state:

From https://github.com/testorg/example
* [new branch] test -> origin/test
You are not currently on a branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.

git pull <remote> <branch>
For the generation of simplified Bézier paths, I hope they consider the new methods in kurbo[1]. These have some fairly fancy math behind them and result in pretty close to a global optimum in terms of the minimal number of segments needed to hit an error target. They don't do implicit low-pass filtering, rather treat the input as a source of truth, but perhaps options could be added for that.

[1]: https://docs.rs/kurbo/latest/kurbo/simplify/index.html
If you do not know what you are looking for you should not look.
If you know what you are looking for get a warrant.
They used the exact same strategy that map makers did with Phantom Settlements (https://en.wikipedia.org/wiki/Phantom_settlement).
An app doesn't need to be multi-threaded to horizontally scale the physical hardware. A load balancer can dispatch requests to multiple single-threaded processes running on individual servers.
wow, shocked at the blatant rip-off
It's not an article about ships and their parts. Its an article about how ships communicate things to each other - thus the focus on markings, writings, etc.
To add to this, perhaps anecdotal but I've noticed Flutter to be in that specific area of people who like it and use it feel like they're underdogs, fighting in the war to make it the next big thing. It's not the default way to write an app on either Android nor iOS, so they're vocal about spreading the word and getting/keeping momentum.

People who use Swift/UIKit to make apps may like it, but it's also the default way to make an iOS app, so they don't feel the need to fight a war. That language was handed down from above as the winner of iOS development. Same for Java/Kotlin/native UI libraries on Android.
Curious that the annual funding has dropped to extremely low levels. It looks like they have no more than two or three people supporting this program. I wonder if AT&T has alternate revenue streams for this data.
Honestly, on the whole, I dislike it, and I don't understand why there is so much resistance to RTO for those companies trying to make it happen (assuming they aren't trying to get people in 5 days a week).

Hybrid (2-3 days per week in the office) is best, IMO.
this happens to me 90% of the time i load twitter. i have to hard refresh the page for it to load.
That is actually very damning evidence. You really do need brains to copy and get away with it.
Oddly, I don't see anything about pricing for Workers AI on the Workers pricing page[0] but their Workers AI blog post from Sept 2023[1] says the pricing is per 1k "neurons":

> Users will be able to choose from two ways to run Workers AI:

> Regular Twitch Neurons (RTN) - running wherever there's capacity at $0.01 / 1k neurons

> Fast Twitch Neurons (FTN) - running at nearest user location at $0.125 / 1k neurons

> Neurons are a way to measure AI output that always scales down to zero (if you get no usage, you will be charged for 0 neurons).

Here's the key detail:

> To give you a sense of what you can accomplish with a thousand neurons, you can: generate 130 LLM responses, 830 image classifications, or 1,250 embeddings.

[0] - https://developers.cloudflare.com/workers/platform/pricing

[1] - https://blog.cloudflare.com/workers-ai/
PHP 8.3
The Bavarian: So konnst des a segn. German: So kann man das auch sehen

It looses a lot in writing, and I suck in writing Bavarian.
nitter: https://nitter.net/dbrand/status/1727721586856222893#m
No, I'm saying that 420 parts per million is still much lower than 3000-9000 parts per million.

Also, even a number they chose is plain trolling. Of all numbers, 420 ppm is what they "calculated".
This may be part of it. Even now in Thailand "fresh" (I use that term very loosely) meat bought from a supermarket can have wildly different times before it has an odour, and that's without considering the wet markets where everything is out in the open air relying on a block of ice to keep it "fresh".
Green throwaway accounts are highly encouraged in this discussion
Yes. Worst that should happen is getting a 404 or something. A crash due to requesting a piece of data that has not yet been created is poor design.
How to adpot Realtime updates in your app
"coproduct type"
I recently bought a GIGABYTE - M34WQ. It’s 3440x1440 so I can fit a full browser and IDE side by side. Plugs into the Mac with just a single USB-C cable, has a KVM switch so you can plug your mouse keyboard into the monitor and have it controlled two PCs. Has built in speakers. Around $420 USD.
https://www.rtings.com/monitor/reviews/gigabyte/m34wq
Do you know how one can get a job as a graphics developer if they know most of these? I do Graphics programming as a hobby, and I learned a lot of what you mentioned here. But since I don't have any job experience, I never really get any interviews.
The actual program of sterilizing indigenous people and experimenting on black people in the US sure didn't help.

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

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

Notions of conspiracy form easily when reality provides so much material.
If this isn’t obvious, we are lost. Creating a rest endpoint where a library would do is pure insanity.
Yep. It can go very bad. My father just had a simple (mostly non-invasive) biopsy done and ended up nearly dying and with brain damage due to antibacterial resistant bacterial infection from the minor surgery.
A machine learning podcast that explores more than just algorithms and data: Life lessons from the experts.
> the stacktrace can end up on someone's desk

This is chillingly scary and one reason why I use Linux desktop.
Surgical scrubs are disposable. Patient gowns are usually made of tough materials like cotton and polyester that can tolerate a fair amount of heat. If bleach in lukewarm water doesn't work, how about a boil wash?

Boil washing is usually done at 90-95C, but I suppose you could achieve higher temperatures with a bit of extra pressure in a purpose-built machine. No living pathogen is known to survive an autoclave at 120C.

Steam might be similarly effective on fixed hard surfaces like stainless steel and linoleum. Any non-disposable material that cannot withstand bleach, alcohol, or 120C for a few seconds a day probably doesn't belong in a hospital anyway.
My time to shine.

I had a surgery last January, broken labrum on both hips, left was "ok" and the right was really damaged, still it was an arthroscopic surgery and I could go on with my life 2 weeks after, but... 3 weeks after the surgery my right hip was getting worse, way worse, the pain was like nothing I have ever felt, I couldn't sleep, I couldn't walk, I couldn't even touch my fucking leg that I felt a nuclear bomb going off inside of it. No fever, puncture was ok, nothing that could deemed it as an infection. I was in literal agony, not even the strongest analgesics worked. I did a blood test and the PCR was off the charts, "yup, that's an infection, it's 10 AM, don't eat anything, today at 17hs you go in surgery".

I had a toilette done, infection was cleaned off but still I couldn't even move my leg, I lost all the muscle. Fast forward today, I had the worst 7 months of my life, antibiotics for 6 months but wait, there's more... Both infection and the initial cartilage problem evolved into a septic arthritis, last week I went into surgery again to have my hip replaced by a temporary spacer while the biopsy is performed and I will go in again in a month or so to get my definitive prosthesis.

For those who want to know, the bacteria was a Pseudomona.

So yeah, don't fuck with infections.
I totally side with you, I had exactly this in mind, too. :)
CA can share gun owners' personal info with researchers, appeals court rules
Union did end up meaning another thing that is just like C union and just as unsafe.
100% agreed, and this, obviously, can have very serious consequences,
which is why it was important to me to correct my earlier error.
That name so, pure gold!
I believe it's not stable because it gives std::boxed::Box special treatment in the language. They'd rather find a solution that could work equally well for smart pointers defined outside of std.

Box patterns are likely to be superseded by one of these:

https://github.com/rust-lang/rust/issues/42640

https://github.com/rust-lang/rust/issues/87121
I regularly share this with teams that I work with. I think it's the clearest explanation of how to write docs that I've seen.

I see "explanation" and "how-to" conflated so regularly, as a quickstart how-to guide falls into a tangent of explaining why something works a certain way.
> implicit comparison of GP to an unspecified made up character making racist comments

The guy is implying he can't make jokes anymore because the jokes he wants to make are no longer politically correct, aka racist or sexist or whatever else. Yes I'm going to compare it to times when people lemented they could no longer be racist. What?

> This phrase alone proves that discussing anything with you is of no use.

It was a joke.
Wow, thanks for your candor.
This only solves the second example (the "map" one), but not the first example because it doesn't contain any promise-returning function that throws.
Don’t forget rust also has unions. Not using the name “union” for a feature that’s different than unions doesn’t feel “obviously wrong” to me.
> who's going to jail for violating constitutional rights?

Why does someone always have to go to jail? Just stop the program. Once it’s clearly illegal you can start adding to our list of incarcerated.
The Rust language team wants a more general solution that also works with types like `Arc`, instead of hardcoding a special case for `Box` into the language. This is generally called "deref patterns." But there are tricky open design questions, so the effort is stalled until someone comes up with a proposal addressing them
Implying you can be free with that threat of homelessness.
Methinks cognitive dissonance is one of his strong suits.
That was a rhetorical question. The explanation you gave was the correct one but it wasn't nectary since it was obvious and self-suggested from my rant.
The guy said he can't be racist or violent or sexist in his jokes anymore. Why can't we compare that to people who used to murder those who were different than them?
I'm maybe naive, but is it not possible to supply a repository interface for the user to implement? Bring your own glue?

The library uses only the interface to work with whatever orm/db connector exists in the client project.

If services at any given company all use a standard db library, it could even directly interface assuming your using that. I don't think we're talking about public apis and packages here.
Maybe it's because you can use a Rust enum like in C by doing a field-less or unit-only enum?
Are there any resistant to gamma irradiation procedures today?
Sure, I didn't say it was the same, only they are more powerful than C, C++ and C#.
Yep, bitcoin is totally dead. That's why its more than doubled in price over the past year, while Dow Jones is up a whopping 3% in the same time period (and a single bitcoin currently costs more than a single share of Dow Jones stock).
ATSC3 is encrypted in some markets.
India seeks to regulate deepfakes amid ethical concerns
I might say something like that. My background is a lot of JavaScript and a little bit of other things like c++, python, Ruby, php, etc.

To me, enums are one of the great things about Rust, and I wish I had the same capabilities in JavaScript and other languages.
I misspoke. They are going to have some sort of stock sale so employees can partially cash out.
Drones enable the use of defibrillators before ambulance arrival
'Haste' was a must, back then. Every other step was fast, then.
Revolutionizing Lipa with the Breez SDK
I'm sure you know car and cdr are named for historic reasons and they are not featured in ML family languages as listed above. But coming back to the name of "sum type", I find it very potent to be used with "product type" to reason about Algebraic Data Type's properties, like a * (b + c) = a * b + a * c and don't understand why it's often avoided to be called in this way in "mainstream" programming languages.
> You couldn't model Rust's `Option` or `Result` as a java enum.

For reference, they can be modeled as a "sealed" class since Java 17. https://openjdk.org/jeps/409

Prior to Java 17, sealed classes feature can be partially recreated via private constructors in the super classes. This approach forces you to put all classes in a single Java file, which can be awkward to navigate.
Even with the internet I was unable to explain to my GP back in 2006 what this was. All I could present was 'I dunno, maybe it's epilepsy, it's like an electrical zap sound deep in my head at times', I was told it was nonsense and sent away without any further knowledge.

Sometimes I wonder if it's remotely related to the other obscure 'unable to name until post-2010 internet knowledge' syndrome that I suffer - Alice in Wonderland syndrome. Although I do know that the cause for that was operations on/or my amblyopic strabismus 40+ years ago. Certainly it appeared first while I was convalescing.

edit: to add a little bit of clarification here, sometime around 2010 I learnt what they were both called due to one of those clickbaity buzzfeed-style '50 bizarre medical issues you won't believe' style pieces.
>The reality, sadly, is that the majority of companies who outsource to India only do so for one reason. Aggressive cost-cutting.

Of course companies will optimize for the best bang for the buck labor the same way you optimize for the best bang for the buck products when you shop for something, that's how capitalism works, it's a two way street.

Now if the move to India, or anywhere else, lowers the development cost without lowering the product quality, why is that a problem?

I would understand this being an issue when offshoring causes the quality of the product to go to shit, but it often isn't the case anymore, so what's then problem here?

Unless of course you mean the problem is "THEY TOOK OUR JOBS!" which would be understandable but like I said, capitalism is a two way street.
How does that work? It doesn't look like ! is a command or shell builtin, so I guess it's an argument to if.
Hydrothermal vent extremophiles are also very resistant to radiation.