skysight-inc/HackerNews huggingface dataset:
Sorry to disappoint, but the compilers for nearly 100% of the server, desktop, and mobile computers in the real world do not allow arbitrary pointer arithmetic. They cannot issue an error message for it because that is provably impossible to detect in the general case, but they do optimise on the basis that it does not happen, even if it breaks programs that try to make use of it. Consider this example for GCC:

int a[2], b[2];
int offset(void) { return b - a; }
int check(void) { return &a[1] + offset() == &b[1]; }

The function check() is optimised by GCC to return zero at -O1 optimisation level or higher, because it reasons that no matter how offset() is implemented, either the addition is undefined, or the comparison results in false.

(Note that GCC does this even in a few cases where it is unclear whether the optimisation is valid. The example I provided is slightly more complicated than I would have liked to avoid that issue; the optimisation is definitely valid in this example.)
It wasnt fun, it was borderline scam, Web3 of its time.
This is unheard of inside the Silicon Valley bubble. In our defense, it also doesn’t make sense that an employer doesn’t provide it for free. Coffee is cheap. It also adds productivity.
the lawyer will get probably a good chunk of it and the company will drag its feet to avoid payment or reduce the amount . not that much money. Goes to show how most outcomes are much smaller than headlines about tens or hundred million dollar settlements.
But then you have to constantly work around that in your code, making it read more like assembly in a way.
>In my European experience roundabouts are better for cars safety

Correct - roundabouts reduce traffic fatalities in intersections quite signficantly.

>worse for bicycle safety (cars are driven closer to bikes)

I think this probably depends on design - if cyclists have a separated path with a raised crossing, then they are likely safer than intersections.

>use up more land,

Arguably true.

>increment gas consumption (almost stop and then go vs just go). The latter point could be debated because it's worse for the cars on the main road, better for the ones on the small ones.

Roundabouts generally replace signalled intersections, and compared to those, roundabouts are probably better (slow down/yield vs full speed/full stop).
https://archive.ph/elYRW
Thanks for the extra details. I do agree with your last point.

That said, perhaps you could be a bit more charitable? I was not trying to provide extensive treatise on Gage's injury. I was highlighting one specific point of emotional impairment due to damage to PFC.
Could you share your nvim config for Ruby?

There are a lot of examples for Vim but found very few up to date for nvim.
Wow, thanks so much, I'm humbled!
Per DK's hypothesis, the added bias would be a decreasing function of underlying skill, not a constant as it is here. I think this is the only way to define it sensibly. It's easier to see what it's doing if you look at the scatterplot, although it's kind of annoying because the axes are flipped and it keeps the view centred on the data, so the points stay still and the axes move around them. Basically it's just translating all the points uniformly along the estimated score axis.
Hi there,

I am excited that massCode is released to version 2.0 .

What it is and why

massCode is a snippet manager for developers that helps you conveniently organize pieces of code and have quick access to them. Multilevel folders and tags are used for organization, and each snippet has fragments for even more granular structuring. The app supports Markdown so it can be used as a notebook if needed.

What's New

The new version of massCode is built on Electron 16, Vue 3 and TypeScript.

Electron v16 which gives you the ability to create a build for M1, Vue 3 & Vite is a very fast development and the final build of the frontend of the application.

In the new version of the application I am abandoning Monaco editor in favor of Ace editor, as it is a more lightweight library. Ace also supports much more language syntax highlighting and TextMate, which is more common than the proprietary Monarch for Monaco editor. The current version of massCode supports syntax highlighting for more than 170 languages.

The new version features a database based on plain JSON. The new version has API server available on localhost, which allows integration with other third party applications, e.g. Raycast or Alfred. Raycast extension is already ready.

I will be happy to get feedback, thanks!

https://github.com/massCodeIO/massCode
It's important to note that most ECC is not quantum-resistant and will be obsoleted in the coming years following completion of NIST's post-quantum cryptography competition.

Indeed, OpenSSH recently enabled PQC by default (NTRU Prime over X25519) [1]. ECC has, at best, a short-to-medium term lifespan right now.

1. https://www.zdnet.com/article/openssh-now-defaults-to-protec...
You're paying about a minute every time you have to wait for your IDE to start. That quickly adds up.
No, the birthday party didn't.

The company wrongfully firing him for the resulting panic attack did.

I mean, doing the birthday party after the employee specifically asked not to for that exact reason is inexcusable to start with.

Whoever decided that should have been fired, not the employee.
The coffee was much hotter than the industry standard.

McDonalds already had multiple successful suits against them about this very thing.

The lady in question got incredibly serious burns on her legs.

She originally sued only for medical expenses, and McDonalds wasn't interested in settling.

The award was later reduced.

If the answer to bad corporate behaviour is not regulation, but rather lawsuits, then that lawsuit perfectly encapsulated the series of legal escalations necessary to deal with a bad corporate actor, that has been alerted of a problem in their product, and refuses to resolve it.
In AZ "4 Way" or "All Way" signs are almost always present when applicable. These "Cross Traffic Does Not Stop" signs [1] are common (but not universal) at other intersections.

[1] https://bloximages.chicago2.vip.townnews.com/pinalcentral.co...
I'm surprised their legal/HR didn't push back or realize how much more this would cost them, I suspect your right that they felt embarrassed.
there are tons of comments here lambasting the company, which was my first reaction too, but then I noticed something important and think maybe the article might be leaving out some pretty important information. "Panic attack" can be pretty vague. I have them and it's usually just trouble breathing. However, everyone experiences them differently. A possible hint that the article is possibly omitting is here (emphasis mine):

> “My employees de-escalated the situation to get the plaintiff out of the building as quickly as possible while removing his access to the building, alerting me and sending out security reminders to ensure he could not access the building, which is exactly what they were supposed to do,” Brazil told Link NKY. “As an employer who puts our employee safety first, we have a zero-tolerance policy and we stand by our decision to terminate the plaintiff for his violation of our workplace violence policy.

It sounds like he may have done something physically violent to somebody. Of course it's terrible that they put him in that situation to begin with, but it does seem pretty plausible to me that if he became violent and injured a person (who may not have been his supervisor that ignored his request) that does sound like their reaction isn't nearly as unreasonable as it sounds when you omit all detail of violence.

It would be great to get some more details. For the record I'm not saying the firing was justified - I have no idea. Obviously a jury who does know decided it wasn't justified, and they have a lot more information than I/we do so they're probably right. All I'm saying is there may be some important information that we don't have that makes it a little less clear-cut evil.
I think the opposite is what is happening, the regulated CBD products aren't regulated in a way that keeps them free of psychoactive components and nobody noticed yet or aren't too excited to try to change it, legalization being on the menu all over the place.
Probably bumped into somebody blocking the door on the way out.
To be charitable, they may have meant something more like 'personal devices which people use directly'. (Though maybe not - it would be odd to exclude servers, which are one of Linux's biggest 'clients'. Perhaps they meant to exclude the more mundane types: routers, lightbulbs, etc.)
Makes sense outside cities. Not so great in cities.
> P-256 [or] wait an extra second [...] use P-521 or ED25519

Huh? I was under impression that any of those 3 take only a few milliseconds to compute, unlike classic RSA/DSA:

$ for i in \
> "-t ecdsa -b 256" \
> "-t ecdsa -b 521" \
> "-t ed25519"; do
> echo -n "$i "
> (time for j in {1..1000}; do
> rm -f deleteme
> ssh-keygen $i -N "" -f deleteme
> done) 2>&1 | grep user
> done
-t ecdsa -b 256 user 0m1.887s
-t ecdsa -b 521 user 0m2.172s
-t ed25519 user 0m3.382s
> It even makes you type the name of the repo you want to make private before proceeding - I don't see how that wouldn't make anyone snap out of autopilot.

If you're using Github's CLI tool, you can autoconfirm repo deletion so that you won't have to type the name ever again. It seems like if Github were to change their UI, they would need to somehow change their API as well.
Actually, no. The burden is on mustached to show that it does, not on dcgudeman to show that it does not.
> because I don't want to send a notarized request every time I need to delete a folder, format a disk or submit a SQL query

Aah yes, the only 2 extreme options, no/minimal warnings and extreme warnings. "Who needs rationality or subtlety on the internet anyway?"
If the outcome is them inconveniencing everyone involved because they haven't really thought about the situation, who cares what the intention is? GP is supporting the argument that drivers should not do unexpected things, and this is a good example of how that rule trumps trying (ineffectually) to be nice. There are lots of situations where someone simply taking their right-of-way or continuing to do what they're doing is much more efficient and safe than suddenly stopping or changing course in the name of courtesy.
Perhaps it is pedantic, but in case someone reads your comment and doesn't click on the image, the name "cope cage" is a meme based around making fun of them. I think these things don't have convenient a real name because they are improvised. "Improvised top attack armor" or something like that is probably what a journalist would call them. And they probably won't get a real name because they apparently they basically suck.
The slat armor is also only effective against the RPG-7 type warheads, where the fuse is in the nose and crushing the side of the warhead keeps the electric detonation signal from getting to the detonator.

Other warheads will detonate when they hit the slat armor. With the net result of improved standoff distance. Most warheads don't incorporate enough stand off because it's hard to do so. The extra standoff actually improves penetration.

That said, the AT4 is perfectly usable for side shots, such as in an ambush.
> dive behind seemingly irrelevant procedural cover like that when an employee is forced to walk out in embarrassment

To be fair, an employee having a panic attack because one your managers did something they were informed in advance would cause a panic attack is textbook disgruntled.
This reads like they knew they fucked up and responded by trying to make the other guy "the problem".

What a bizarre and totally avoidable situation.
Without seeing the clause verbatim, I also suspect there is a misreading going on here. Having dealt with noncompete clauses in a previous job, writing one like what the OP suggests is one of the surest ways to get a judge to find that the clause is unenforceable.
Psychs are absolutely not comparable to "sober" activities. While things like meditation have benefits, you are still largely operating in the same regimes within the neural network in the brain.

The main idea behind psychs is that they allow you to operate in a vastly different regimes. And, unlike McDonalds, and compared to other drugs, they are INCREDIBLY safe. It should be a no brainer for anyone needing them to use them.
Eisenhower Warns of ‘Scientific-Technological Elite’ Coup in Farewell Speech
Elon Musk is a gas lighter and his takeover attempt has nothing to do with free speech. Judge people by what they do, not just what they say. In the last few years, Musk and his companies have:

Asked China to censor social media criticism: https://amp.interestingengineering.com/tesla-asked-china-cen...

Doxed Tesla critics and tried to get them fired, complained to their bosses, and sued them: https://www.inverse.com/article/47461-elon-musk-responds-to-...

https://www.hindustantimes.com/india-news/randeep-hothi-the-...

Paid private investigators to dig up dirt on people who criticized him: https://www.buzzfeednews.com/article/ryanmac/elon-musk-unswo...

Placed dangerous features behind NDAs: https://www.businessinsider.com/elon-musk-tesla-fsd-beta-nda...

Fired people who posted accurate depictions of their products: https://teslanorth.com/2022/03/16/tesla-fires-employee-behin...

And swatted, harassed, and sued several whistleblowers: https://jalopnik.com/elon-musk-tried-to-destroy-a-whistleblo...

This takeover has nothing to do with free speech and everything to do with controlling the public narrative. Elon is a masterful troll and manipulator of public perception, but behind the scenes is not pretty.
I can think of three scenarios in which "risk taking" occurs :

First wherever wealth is accumulated in such excremental proportions that risk itself is no longer (as much of) a factor (eg FAANG-tier companies, ultrarich investors)

Second wherever the need for/value of solutions is judged too high for their development to be contingent on the existence of a viable business model (eg public sector, academia)

Third wherever normally risk-averse people misjudge the risks

It's hard to think of anything else in this mode of production. Innovation is stymied by the threat of precarity, which looms over the vast majority of people. The others must operate either on prudence and sheer volume, or "luck"
The point is not that it was not effective - It was plenty effective. The part that makes it theatrical is that the employee was of no threat to anyone. His panic attack was caused by the (perceived) threat of being forced into a public gathering, and injury was added to insult by the actual threat of having security "escort" him from the building.
Of all the things care to know about Jesus, this isn't it. Pretty sure the whole son-of-god aspect, the historicity of his life, the origin of his cult, many other things are more interesting than the potential exact cause of death of someone crucified by the Romans...
There is no contest. Roundabouts are better than silly multi-way stops any day of the week.

There are hundreds of reasons why. But I'll just name the most obvious one that you've missed.

Traffic volume.

Multi-way stops just kill traffic throughput.

Its a hard fact. You make each vehicle stop.

Meanwhile roundabouts can safely and efficiently move staggering amounts of traffic. Want to move more traffic ? Add an extra lane or two.

P.S. As for the bicycle saftey...

Historically yes, but only to a degree, because I'd argue that if you can't manage to avoid hitting a bicycle on a roundabout then you probably should not be driving because you are most likely also committing lots of other dangerous driving offences elsewhere.

Going forward however, it should be stressed that a lot more attention is being paid to cyclist safety, both in terms of further re-enforcing driver awareness (i.e. more prominent in driver training and examination) but also in terms of vehicle design (especially HGVs) and roundabout design.

I could also argue that with a multi-way stop, perhaps especially at night or in inclement weather or where HGVs are at play, that your cyclist might not be immune to death or injury.
Finally, a reliable way to control large populations of disagreeable people!
Haha, I heard another good one about a nun going into a bar..
You're discussing switching algorithms like LSODA?

This is a really good question that I don't have a neat answer to. You can actually also hit similar issues when naively vectorising some stiff algorithms that detect when to recalculate Jacobians: at each timestep, some batch elements will want the recalculation whilst some won't.

In both cases, something like what you suggest might be a possible solution. And thankfully support for such custom batching will Soon (tm) be coming to JAX.

In the mean time, Diffrax actually side-steps the problem by not implementing those kinds of solvers. New solvers usually get added on a by-request basis, so this just hasn't been an issue yet.

So:

1. Do you know what DifferentialEquations.jl does in this scenario when running on the GPU? (On the CPU needing to sychronise batch elements usually isn't such a concern.)

2. If the price of using JAX is giving up a bit of performance in this one use case, then I think I'm okay with that. The clear contenders in this space are JAX and Julia, and right now it's a concious choice to be using JAX as a better fit for the problems I'm tackling. This comparison is something I've written about before: https://discourse.julialang.org/t/state-of-machine-learning-....
I've never heard someone say "the night of the DNC primary in 2015 there was a dramatic shift." Not sure what your comment about ads is related to.
That's how it works, yes, but why is it strange and a little weird?
The title seems like bait. They fired him because he had a panic attack, the party triggered it but wasn't the reason for the judgment.
Just a note, I am an avid long-time Rust user and contributor, but I have never met these "RIIR folks". They seem to exist only in anecdotes.
The 1990s, when even low cost constructions still used a million screws, making it possible to non-destructively take apart this thing.
Why do people cheat in online games and what we can do about it
Which translates to less than 2% in public security and policing, i.e. less as % of GDP relative to US. All this number shows is PRC doesn't spend much on military and about EU levels on policing but gets misconstrued as PRC overspending on domestic security. That's true for every NATO country that underspends on military.
It's natural once you've learnt it -- throroughfare doesn't really matter, the street you're on is signed as having right of way or you have yield signs, otherwise always yield to the car from the right. No signage => yield right.

I'm still not sure who's got the right of way e.g. in US parking lots or unsigned back roads. The person going straight, I think? But that's not always clear depending on road topology. "Yield to the right" seems more well-defined, but maybe because I got used to it.
"People have strong opinions on how other people should behave."

Humans do.
> Hopefully the effect is becoming obvious - by impacting the statistical armour and detonating at that point, the armour has given the RPG a free c.300+ mm of free standoff extension. The armour just amplified the threat capability by a good 20%, making life worse for you inside that vehicle.

For an APC with ~5cm of armour, pretty much any garden variety shaped charge will penetrate it with ease. If the chance of penetration is already 100% it doesn't matter if the charge is 20% stronger. But having the cage at least gives a small chance of stopping the charge from ever detonating.

Different story with tanks though, where the extra 20% could mean the difference between a badly damaged hull and the complete destruction of both tank and crew.
The sad thing is that most often, the actual villains trick everyone into thinking it's a different party.

When bad people rise to power, they often do so vilifying one or more other groups. The odds are not in our favor, collectively, we will be tricked as well.
Ahh right, it's the old "others have it worse so he doesn't deserve it" argument.
> Javelin is a 50 lbs weapon. Sure, some of that weight is computer and night-vision. But most of that weight difference is explosives (I assume the 2nd tandem charge in particular).

No most of it is the motor. The entire warhead of Javelin weight just 8.4 kg. That's the entire warhead - not just the explosive. An EFP contains a lot of 'inert' metal that gets formed into a projectile.

(Can we not use pounds in a technical military discussion, lol.)
It'll be interesting to see who makes up the bulk of Twitter shareholders. If it's investors who would like to get a nice quick return on their investment and free up funds to use elsewhere, the Board is going to incur their wrath. But if it's mostly investors looking for long term growth and they believe Twitter can provide that, this would be a way of creating stability.

The global economy is very volatile right now so it wouldn't be surprising if some investors weren't thrilled about the prospect of suddenly needing to find a new place to put their resources. But is Twitter itself really all that stable? Lots of new competitors are popping up, the reputation of the company is constantly taking a beating, and it doesn't appear to have much of a plan for generating stable cashflow, at least not at a level you'd want for its valuation.

I expect at least a couple of investors to speak up loudly in opposition to this plan but have no idea if they'll be the majority.
The SunOS -> Solaris transition was before I joined the industry and in spite of multiple attempts at reading around the topic I've never found an explanation of what happened that actually made sense to me.
I've asked (sometimes stupid) questions in the Nim Matrix channel about some particular thing I was stuck on, and every time someone has answered it graciously and almost immediately. The community has been great, and I'm starting to really like the language.

For me it's like Python in the sense that I can bang out a quick, single-file program on a whim, but if it starts growing beyond that Nim is really fast, expressive, and portable. I can cross-compile a binary for any common platform (Nintendo Switch even), and then just send it over and run it.
He wouldn't do that, but it would be useful for them to understand that's what they are doing right now.