skysight-inc/HackerNews huggingface dataset:
> My understanding is US police officers are trained to fire the whole magazine of rounds.

No, this is incorrect. Police are trained to stop a threat. Handguns despite what you see in movies are actually quite poor at doing this, so the accepted and common doctrine is “at least 5-6 rounds center mass”.

This is in life or desth situations where that person must be stopped or someone else will die.

If police were trained for one and reassess, they would shoot one. Trained for two; and they’ll a lot two regardless if they have a good sight picture after the first shot or not.

So the training is “stop the threat”, be prepared to shoot 5 rounds center mass as quickly as possible, move, maintain a sight picture, do all the things you need to do but focus on the target first and gun and number of bullets second.
For alcohol, throttling the bottles worked for me. I consume one particular day of the week instead of any random day. I consciously say no to any urges/temptations in between. This has helped me to control my habit.

For controlling distractions, other hobbies like music or something else apart from programming keeps me ticking.

For internal distractions - I agree with the post. Separate me from problem I am trying to solve.
> US manufacturing has been growing steadily for decades.

You need to research a bit more what is behind these digits.

A lot of funny accounting where companies which haven't manufactured literally anything on US soil for decades somehow manage to accrue billions in "manufacturing output"
my cousin "volunteered" at her dad's hospital to get into harvard( which she did). Now she is doctor. I know for a fact that she had zero passion to be doctor, hated being in the medical school and hates her work.

Hard not be cynical and hate the institutions when witness stuff like this.
I mean I don’t think it’s condescending. I was the “smart kid” at my HS. People on the honors track weren’t any smarter than the rest, we just cared a lot more about our grades and looking good for colleges.

The “low performers” during HS, now that they’re unburdened by a stifling institution, are showing that they’re just as smart and talented but in areas that school didn’t bring out. One is a pastry chef, quite a few are artists and graphic designers, one is a copyrighter, one does industrial design, two are in theater now.

They could have done just fine in maths and physics but they, rightfully, didn’t really care.
The author takes the following statement to be incorrect:

> I had written code for a constant-time text comparison of the MAC but then realized that this is not an issue when using the MAC-then-encrypt method because the MAC is only compared after decryption to verify that the data is intact and the same as when it was encrypted. Since the correct MAC is only exposed when the correct encryption key is used it doesn’t matter whether the text comparison is done in constant-time or not. Changing to an encrypt-then-MAC method (requiring a constant-time MAC comparison) would not be backwards compatible with the current version.

I don't see anything wrong with this statement. With encrypt-then-MAC the application is going to calculate the MAC on the ciphertext then compare it against the MAC included with the ciphertext. If the two match then the application will decrypt the ciphertext into plaintext. If the attacker doesn't actually know the encryption key then the data will be garbled but that might not matter for certain attacks. The key to the attack is getting the MAC correct and to do that timing attacks on the comparison can be done.

But in this case we are using MAC-then-encrypt. The application is going to decrypt the ciphertext to produce plaintext and MAC. Every time the attacker changes the ciphertext both the MAC and the plaintext will change unpredictably. Even with the timing leak, the attacker can't do anything with the ciphertext to make it such that the MAC verifies the plaintext

One of the key flaws of modern security protocols is making them robust to bad implementations and side channels. I don't see the problem as being reasoning by Lego but rather in neglecting that the information you wish to protect is not just in the ciphertext, it can leak out into everything, the length of the message, padding, MAC, timing...
My Ph.D. work has used machine learning to model CRISPR editing outcomes, see https://www.maxwshen.com/
The problem with laying bare this purpose of these institutions is it destroys their credibility. If everyone knows it's just a social club, and that is formalized, it loses its prestige. It's beneficial to students who are enrolled due to family gifts that some students are enrolled due to being truly academically skilled. It furthers the impression the gift-giving segment may be skilled as well.
Haven't seen the movie but it is one of the drugs prescribed for altitude sickness. Or rather, one of the ones often carried for use in life-threatening cases.
How do you know tech stack isn't contributing?

> apps are slow and they fail left and right

Better tooling can improve performance and reduce errors.

> approach and management practices that you'd implement

What approach and management practices are currently used?
As a noobie, Eloquent Javascript was much better for me than The Good Parts. The Good Parts was a book of how not to program, followed by the right way of doing it. Eloquent was a guided path to understanding the language without being shown all the dead ends.

Knowing the dead ends and the history behind them is nice, but I spent a lot of brain power on the dead ends that Eloquent put towards better use.

We're also talking a small book vs a tome of knowledge, but the philosophy is different regardless of size.
> That's exactly the right solution to your problem. It's not a workaround. It is what you need

Yep, I agree! To clarify, the issue for me isn't having to use trait objects like this, it's the ergonomic issues that my parent comment brought up, e.g. not being able to require `EventHandler: Clone`. I'm not opposed to trait objects themselves; I just wish they were easier to use.
As someone about to graduate with a PhD in biochemistry who has been programming for ~10 years and personally used CRISPR/Cas9 ... the parent comment gave me a good laugh.

That being said, I can see some applications to using ML to analyze the results of CRISPR/Cas9 screens or better predict functional editing sites - but that's not exactly exclusive to Cas9.
From an user-centric standpoint, would not both secrets - roomname and password - be shared concurrently, potentially in the clear?

This drastically limits the utility. Communication channels are only as secure as the least secure participant! Especially in shared-secret implementations.

Every so often, Grandma wants to be cool too. And invite her friends.
Yes. It was akin to addiction. It suppress inflammation but after the effect is gone, a worse inflammation onset. Getting off of it gave me the worst!
At the risk of being a bad trope, if you’re struggling with the emotional half of things I would recommend therapy.

Even if you don’t “discover” something traumatic in your past that explains everything, having someone to explain your feelings to often does wonders for your emotional well being in general. A lot of therapists will also specialize in procrastination, and may have extra strategies that help.
This is good news, but it doesn't change anything from a public health perspective, because:

> Of those who are admitted, most also recover but some may need oxygen or mechanical ventilation.

> And these are the high-risk patients dexamethasone appears to help.

At best this might take a little bit of pressure off the healthcare system in the treatment of the most severe cases. As others pointed, steroids are powerful/dangerous stuff so they won't be using this except in the most advanced cases.
Have you considered that a professor's kid just might have picked up how to talk in a way that other professors like? That they might have learned how to work that is highly prized by academics?

Of course, none of this would be visible to a random dude from their hometown.

Applications are never just a perfect copy of you. You get to pick who writes letters of recommendation, you get to write the essays that frame and contextualize your successes and failures. Applying for things is a skill, and like all skills, it can be learned and improved.
And I bet your sandy CPU had active cooling. The A13 tops out at 2.7GHz because that's what Apple decided was safe for a passively cooled phone. I don't doubt that it could run at 4.5GHz in a desktop package, with a proper fan and heatsink.
That view is actually both extremely common, and very dangerous for the people genuinely suffering from ADHD symptoms, like myself.

Many years of misery could’ve been avoided had I not met people that thought this way, earlier in life.
You don't need all the firmware to be read-only, only the firmware update code, which can then require a hardware jumper to be set in order to update the firmware. Then the firmware can't be corrupted without physical access to set the jumper, and even if it is, the owner can still re-flash clean firmware because the update code is strictly read-only and therefore still clean.

And you already need to be able to at least detect that someone has had physical access, otherwise you can't even be sure that the device hasn't been replaced with a compromised one that forwards your credentials to the attacker.
> Daydreaming, imaginary arguments, and unnecessary tangents all tend to creep in (esp in the afternoon for some reason)

And then

> 2) Alcohol

Have you had your B12 levels checked? You might want to try a supplement.
No, not like that. At all, in fact.

This is an XTerm FAQ, and you are not in the analogous situation that you purport to be in. You are abusing "VT100" to describe the current state of affairs in the world; which is most definitely not a DEC VT100, not like a DEC VT100, and most definitely different in many important respects (such as colour, for starters) to a DEC VT100. It's even different to "ANSI" (again, which should be ECMA-48) in that no terminal or terminal emulator (that I know of) actually provides standard function keys (function keys being another thing that a DEC VT100 does not have). A few of them, sort of, provide the non-standard function keys from a VT220, which isn't a VT100 either.

Far from "winning", "ANSI/VT100" was superseded (by things that were better) within a few years, long ago.

* https://invisible-island.net/xterm/xterm.faq.html#what_is_vt...
I was referring to the operational complexity of the final product, not in the design or manufacturing. They have two main moving parts - the jet turbine, and the turbine connected to the fan (or prop). This is in comparison to the hundreds of moving parts your average ICE has for the drive train alone, not including the electrical system that lives alongside it to facilitate timed fuel ignition.

Jet engines are used on some older oil pumps because they can run for decades with minimal maintenance.
In case it’s helpful, I’ll plug Richard Mattuck’s “a guide to Feynman diagrams in the many body problem” here.
This book takes the magic out of Feynman diagrams for sure.
3K, 60fps, 130ms: achieving it with Rust
>Right so you’re saying they could randomly pick from their applicant pool because right now only perfect scores apply.

This would actually be a reasonable way to go. Set a cut off ACT/SAT/GPA and just do a lottery for kids that are above it. Actual fairness. Of course thats not what HPY + Stanford etc. are interested in. They are still just finishing schools for the elite. If you want actual meritocracy go to MIT or Caltech
Not sure if that's what you have in mind, but Microsoft now has an ARM-based product line :https://techcrunch.com/2019/10/02/microsoft-launches-the-arm...

They even implemented a x86 emulator in order to run your usual native software on it.
I'm not sure what you mean, it's not like procrastinating is a mental disorder or permanent disability like being blind. If you are avoiding work that you need to be doing then by definition you are procrastinating, career success has nothing to do with it.

It's not like it's insensitive to say you are anxious about something minor when there exists people with more severe anxiety problems. It's just the name of a symptom.
> Potential energy in a gravity well is negative. The "zero" point is the limit when you get far away from all gravitational bodies.

Like all potential energies, its definition is relative and its zero point convention.

> As the body falls down the gravity well, it gains kinetic energy and loses mass.

So you’re a saying that hydrogen lower in a gravity well will fuse worse?
The Datacenter as a Computer [pdf]
Found this recently, and wanted to share. I'm sure someone will find this interesting.

Partly written by Url Holzle, of Google.
It turns out actually learning the material on a test over the span of a few years helps you do well on the test. That used to be called getting an education.
Your green username indicates you're new to HN. Gratuitous swearing and accusing are not really part of the culture here, which is why you're being downvoted. There are already (too) many places on the internet for that sort of behavior.
No wonder we start counting at zero, it all started with a nun.
The Apple Game: How Good a Person Are You?
I would also argue in direct contrast to the author that it makes a difference in terms of keeping interest. The new thing to learn in a dynamic ever changing landscape is also a way of staving off monotony.

I legitimately don't care about React hooks though one way or another and it's a bizarre thing to draw a line at.
He big reason to move production offshore was labor cost (straight comparative advantage); now it’s path dependency as the whole supply chain has migrated. This was the US’s big advantage 1890s-1980s but that time has passed.

Advanced robotics will offer a chance of a fundamental restructuring as labor costs continue to contribute a declining proportion of COGS. The factories and supply chains could be completely distributed and resilient. But the example of the Internet is discouraging: the ultimate end-to-end system ended up highly centralized too.
An note regarding the memory usage in Chromium and uBO specifically.

I have observed that even though the memory usage as reported by developer tools under "JavaScript VM instance" stay rather stable in uBO[1] even after a lot of memory churning operations[2], the figure reported in Chromium's Task Manager keeps climbing up after each of these memory churning operation, and forcing garbage collection does not bring the reported usage down in the Task Manager.

There is something happening in Chromium's extension process (and outside the JavaScript VM in which the extension run) which may cause wildly various memory figures for even the same extension depending on how much memory-churning operations have occurred -- I wish Chromium devs would provide technical insights about this.

* * *

[1] Around 8 MB when using default settings/lists.

[2] For instance, repeatedly purging all filter lists and forcing an update.
I vividly remember 2016. I was doing backend programming at the time, but no one I knew were using Angular.js at that time for new codebases.

React emerged in 2013, by 2014 the hype was at full swing, and by 2015 React "won" the framework battle.

It's been 5+ years since then, and React JavaScript world was remarkably stable. Fashion changes were largely superficial: React.createClass vs ES classes, Heavy use of Decorators vs not using them, and now Hooks. These were mostly cosmetic choices, and if your team picked the wrong side they could migrate over relatively painlessly or straight up ignore the issues for years.

On the other side of spectrum we have Ember that maintained backward compatibility and ease of upgrades since ~2013, Angular 2+ is doing the same for many years, too.

The whole "JavaScript fatigue" meme has to go.
Oof, fun times at Intel right now. There are pockets of Intel not forgetting what made it successful, but they're usually the most difficult places to grow a career as they get snuffed out pretty quick
"The Gold Card does not provide for a work permit for dependents of the card holder. Your spouse should get their own work permit."

Just like the TN visa. That's a deal breaker right there.
That’s not really “data points” in any useful sense of the word. The sim3 community could be a few thousand people - still large enough to be a community where this came up as a noticed issue, but not meaningfully large in any real sense as far as Apple is concerned.
Open source API to evaluate risk of Covid-19 contamination during a trip
Watch Live: Trump to Sign Executive Order on Police Reform
Sure, my point is, then you have to suck up the fact that you live from paycheck to paycheck (which was what I was responding to). You don't need to but you choose to, that's fine.

And nah, never had this much work, my network is only growing (and I have not lived in a city for 20 years), I don't need to commute because remote work is great (for the past 25 years). I meet plenty of like minded people on the internet; for me that works. Not saying it's for anyone, but it works for me (and my family and friends by the way).

But yeah, everyone should do what they want and like; just saying there are alternatives if you don't want to live from paycheck to paycheck and live in a city.
How Rust Lets Us Monitor 30k API calls/min
The MSDN Subscriber Downloads site (now “My Visual Studio” or similar) hasn’t needed IE since... 2011?

Microsoft gives away the ISOs for non-LTSB builds for free - it’s the product-keys that they care about.
I have been a windows user for 25 years.

And saying incompatibilities on Windows obviously means you know nothing about Windows.

Even vb6 applications still run on the platform and that's 30 years old!

Note: I also use Ubuntu desktop and Ubuntu server ;)
Isn't the issue that Apple doesn't charge the same 30% surcharge to their own business units? Apple controls the entire ecosystem and can use it's control to force anti-competive terms on its competition.
Travis Foundation Is Shutting Down
Did not realize I had to do full on research before posting on everything? My point if you had read it would be boot.ini allows multi boot in particular cases. I am not sure on the UEFI bits as I do not really multi boot anymore. I am sure it is great or miserable. I just personally have little need to do it anymore as VM's tend to solve the particular issues I ran into. Did your browbeating me bring much to the discussion? Why did you bother to comment other than to mock me? Am I understanding YOU correctly?
The question is not whether they can "technically" do it - of course they can, as they've already demonstrated. The question is whether they can make it work from a market perspective.

Last time they transitioned from a niche architecture to the architecture that was already mainstream - and happened to be faster and more power-efficient as well. That was basically a no-brainer, it could not fail from a market perspective (from a technical perspective however, it could), because it essentialy tore down previously-existing compatibility barriers between whatever software the mainstream of computer users used and what Mac users used. This time, they would transition AWAY from the mainstream laptop and desktop computing architecture to a niche architecture in that area, which, while still maybe being more power-efficient and maybe even faster (we'll just have to give them the benefit of the doubt there until we hold actual hardware in our hands), erects new compatibility barriers between the mainstream architecture and all people using software based on it and Apple's computer offerings.

This can only work from a market perspective if they either are big enough to drive such a momentum of customer and developer attention to this "new" platform that they essentially manage to make it successful all by themselves, or if they actually happen to be the harbinger of a future movement to ARM in desktop computing scenarios which will at some point in and out of itself be much larger than Apple's share of desktop computing space.

If either one of these happens to turn out to be true, they will be able to make that transition work. If none of these turn out to be true, they will fail (measured by falling Mac market- and mind-share), regardless of whether they execute the transition well from a technical standpoint, which I agree they will be very likely to do.
Hmm well you learned about the very useful NASA guy that ripped it apart and found the latency is only 20ms so that's good I suppose.
https://harpers.org/archive/2019/12/lefty-lingo/
It's not just about blowing up factories with missiles. There's a much greater persistent security threat.
As someone who has glaucoma (diagnosed at the young age of 25, unfortunately, but thankfully with almost no vision loss) and also has a need for corticosteroids due to other issues... yes, this is a very fine line I sometimes have to walk. Corticosteroids exacerbate eye pressure problems that come with glaucoma, which could counter the effects of my glaucoma medications.
So far as I understand, there's a belief (not entirely unsupported, although I don't know the details) that sexual orientation is a relatively immutable property of the individual, built in from a young age if not from birth.

I think "innate" is a fair description of that.

But I don't know that there's any particular beliefs about whether that property (sexual orientation) as encoded directly in the brain[1] is "prefers men" or "homosexual", which I think is what we're discussing here. This is why I suggested "epistemic primacy" - whether other things we can say follow from "homosexual" or whether it follows from other things.

[1] for those who even subscribe to a physical understanding of consciousness - we're talking about a diverse group; otherwise we can possibly find an equivalent notion
Apt (Advanced Package Management Tool) Complete Beginner's Guide for Linux
Trust me, if I could’ve gotten on medication sooner, my life would be clearly better today.

Don’t let the years go by, moderate consumption of stimulants can be really beneficial for someone with ADHD, and you don’t realise this until you’ve tried.

No harm in talking to a professional about it.
I should clarify, when I'm saying "jet", I do mean turbofans. And turbofans still include a jet engine, but the output turns a turbine which rotates the fans.
A massive recall and a world of hurt for Nintendo and Nvidia
Hey! Thanks for the heads up, can you email Jess [at] oxide [dot] computer and I will add you and try to figure it out! Thanks!
The problem to me isn't so much hype trains for this or that framework but that, as a Front-Ender myself, many Front-End Devs don't know how to do anything without a framework; the person I report to, the Front-End Manager, had been mucking about with jQuery for 15 years straight and didn't know about CSS animations.

I was able to work alongside a very saavy consultant for a year when I started out who I feel pointed me in the right direction wrt coding 'from the problem itself', if you will, but they'd have me do interviews and I'd be astounded at what applicants didn't know or grasp who'd been doin this front-end thing much longer than I.

If there were better solution design pedagogy instead of React's original marketing of "We know better about efficient DOM updates than you" I think you'd see substantially less reliance on these types of things, and probably a lot less unmaintainable code disguised as maintainable because it uses "a framework".
Are we not including macOS in this? Still the best UNIX desktop experience, IMHO.