skysight-inc/HackerNews huggingface dataset:
I've been wrangling Turbolinks-based frontends for many years now. Lots of straight HTML, lots of usage of MVVM frameworks (React & friends) for "rich widgets" (Turbolinks load events and a simple data-attribute markup schema makes it pretty easy to mount whatever, wherever).

The biggest trick is to remember that with a server-side rendered application is that _your application is the server stack_. What you ship to the user is just an interface. State stays with the Application, just render representation of the state to the client. IE: Prefer rendering HTML all the time. Turbo offers some exciting new patterns for rendering partial page HTML and shipping that to the client automatically, in the past I've done this by adding a specific content type of 'html/partial' and writing generic Javascript that makes a request and replaces its components content with the response.

I'm not sure how Turbo handles this, but one gotcha I've had to work around is making sure you deconstruct any JS state before you allow Turbolinks to complete page navigation. Because Turoblinks caches a copy of the "last page" DOM in memory as the user navigates, when the user uses the Back button Turbolinks can restore the cached page and make a request for a new copy of that page, and then do a replace with the fresh content. A little CSS makes this cached page look appropriate (ie: this is cached content, fresh is coming in a minute), but the gotcha comes with any DOM manipulation that any JS libraries may have performed.

A good example is a typeahead or time picker. Often times basic DOM is shipped to the client, like an input client and search button, and JS binds to that element on load and replaces it with a rich widget.

When you swap pages you have to remember to breakdown that rich widget and remove the DOM it added. Otherwise you can see odd behavior like the user hitting Back, seeing a Rich search widget, then a 2nd search widget shows up (depending on how you have your bindings set), then the remote content is loaded and wipes away what the user is seeing.

Basically if you make a mess, clean it up. Keep that in mind page by page, component by component, and you'll be fine.

Now for a complete reversal. Turbolinks offers a `keep` directive, you can tag DOM and if the tagged DOM exists in any new pages, Turbolinks will "port over" your old DOM into the new page. I abused this a few years back to build a WebRTC phone calling site. I "kept" the DOM that displayed the status of the current phone call. Because Turbolinks means I can keep a persistent JS process through a user session, effectively my users could make a WebRTC phone call and still navigate through our entire server-side rendered CRM app while maintaining the phone call. Very very handy.

I'm excited to try out Turbo.
I'm also curious about this func/proc distinction and have some questions. It certainly isn't a new concept. Functional languages like Haskell have a similar distinction between effectful actions and pure functions. D also has pure functions that can only call other pure functions, but I'm not sure how well that has worked out in practice. Languages like SML/OCaml make it easy to write purely functional code, but I don't think the language enforces it.

1:
Is there really no way to reuse procedural code in a pure setting? Say I have a procedure

proc inPlaceSort(a: mutable IntArray) { ... }

Is there any way to use this proc to define a func that returns a sorted copy? For example:

func pureSort(a: IntArray): IntArray =>
mutable array_copy = copyOf(a),
sort(array_copy),
array_copy

Do I have to write two separate sorting algorithms? In Haskell I can implement both efficiently with a single implementation in the ST Monad.

2:
Can pure functions perform logging?

3:
Can a procedure declare some parameters as immutable or as output-only?

- Immutable parameters: often you will want to perform an effect with some context which you don't want to mutate. Const parameters are heavily used in C++ and Rust.

- Output parameters: these are parameters that are initialized by the callee and not the caller. Most languages don't need this as they can return one or more values instead, but C# is a language that has this specific feature.

4:
Why invent a new term "expressive conditional" when "conditional expression" already exists? :^)
Don't you think everyone in society would be shocked to also know that, aside from suppressing her severe adverse reactions, they only tracked participants for 7 days - along with other blatantly obvious problems with the vaccine trial designs?
> release of highly contagious

Yet when China does it (accidentally or not) it’s considered unthinkable for our political class. If you think people in Washington couldn’t be less worried about their electorates. If anything COVID has been a boon to hide their massive incompetence diverting discussions around mandates, vaccinations and other woke virtue signaling.
China? already done

https://riscv.org/news/2021/10/alibaba-announces-open-source...

New Zealand too .....

https://github.com/MoonbaseOtago/vroom
If you own a Switch, I encourage you to drop whatever it is you're doing and go lick one of the cartridges.

You need to experience this.
Close to a million people have died in the US. That is a pretty important point in the labour market, quite aside from the brutal human cost.

The people demanding "let 'er rip" got what they wanted - mass death to avoid personal inconvenience - and it turns out that they're getting an economic cost anyway.
If you're going to state vaccine effectiveness percentages then you need to define the endpoint. Stating that it provides 40% protection against Omicron is meaningless. Is that against PCR confirmed infection, symptomatic infection, hospitalization, death, or something else? And over what time period?

The reality is that two doses of the existing mRNA vaccines still provide very good protection against severe disease for the vast majority of patients.

https://peterattiamd.com/covid-part2/
I agree on why another format. Reading some of the discussion that someone posted when CFF was introduced I'm even more mystified, one of the arguments is that bibtex treats @software as an alias to @misc, which is weird because this seems to be an implementation detail of the what bibtex the program does not of the file format. In fact I believe using biblatex one can distinguish between the @software and @misc.
No kidding! Got COVID and it sucked. Worth ruining millions of people's lives like we have over the last two years, and are continuing to do? Absolutely not!
Not precisely the same thing, but even more insidious (or brilliant, depending on who you ask):

> Operation Rubicon (German: Operation Rubikon), until the late 1980s called Operation Thesaurus, was a secret operation by the West German Federal Intelligence Service (BND) and the U.S. Central Intelligence Agency (CIA), lasting from 1970 to 1993 and 2018, respectively, to gather communication intelligence of encrypted government communications of other countries.[1][2] This was accomplished through the sale of manipulated encryption technology (CX-52) from Swiss-based Crypto AG, which was secretly owned and influenced by the two services from 1970 onwards.[1] In a comprehensive CIA historical account of the operation leaked in early 2020, it was referred to as the "intelligence coup of the century" in a Washington Post article.

https://en.wikipedia.org/wiki/Operation_Rubicon_(Crypto_AG)
If the 60 year old is wise and humble and 30 year old is open minded and not smug, it'd create a hell of a learning environment.
The most sold book in the world, by a large margin, for a long long time, is The Bible. If genetic historians and biblical scholars succeed, perhaps someday the unknown decedents of the unknown authors and other known valid holders of IP rights, such as the decedents of Moses and brothers, sisters and cousins of Jesus, could one day be fairly compensated. But it would end up being everyone alive, so we should do that, fairly compensate all the IP holders for the unpaid use of all that IP, including all the movies and TV shows, and including all interest accrued across the centuries, and literally everyone will get rich off the proceeds of past, current and future Bible sales. Crazy idea, but it just might work.
There’s no chance he wasn’t incensed - this case got media attention, and their strategy of dumping a case on him Friday, then lying to him - and asking him to accept those lies at face value - forced him to take a drastic measure which made him look like the asshole in said media attention.

The legal community isn’t that large, and fucking over a judge to score a meaningless win is a really fucking stupid idea. They’ve thrown their credibility out the window, and I doubt those lawyers will ever make a claim in that district without every single syllable being heavily scrutinized. That judge won’t forget about this, and neither will his colleagues. That’s besides the damage they did to their brand - suing your nearby competitor because they’ll give your staff massive pay increases is a master stroke of terrible marketing.

If I was a ThedaCare investor I’d absolutely be reading up on what the fiduciary duty of corporate officers are, because at a plain reading it seems they’re attempting to drive down the valuation.
Apparently they even made an official Sony VAIO Hackintosh.

https://www.theverge.com/2014/2/5/5380832/sony-vaio-apple-os...
There was an was an incident with Games Workshop and fan animation. Games Workshop has set up their own animation studio and decided to go hard against the fan community that grew around the setting.

The whole incident made me mad, sure. But what it really made me feel was disenfranchised under the regime we live, as it is.

We... are not allowed to LIKE things, unless we do so under a capricious mega corps terms. And whatever release valves our society have are guarded behind financial, logistical, legal barriers, that are just inaccessibly to all but the largest fish with the most to lose. The fact that you like something is and can only be, as far as our culture is concerned, an asset to some corps bottom line. That's it. You're chattel and chattel only.

Sit there

Consume passively

Do not do anything.

Every time I see a thing that I like, this thought just stews in the back of my mind. Fandoms are cattle pens. Liking things is a mistake.
My 3a xl battery is at 91% design capacity(1), 3385 mAh, and is still utterly sufficient and far better than any other phone I've had.

Hardly death's door...

(1)As measured by Accubattery just now
> Apple makes some really nice devices, but there's a lot of people (myself included) that have a strong aversion to their "you don't want this, you want this other thing that we decided" mentality. Their software commonly does something totally different than what you tell it to do, because they decided it's better. Because of that, I will never own an iphone.

I feel like this gets talked about a lot in the abstract but it's rare that I actually run into a limitation in normal usage, and when it is I usually agree with the decision behind it (e.g. limiting cross-application data access for security reasons or moving away from kernel extensions). I think the best example is not supporting different browser engines but I have very mixed emotions there because I'd love to be able to use Firefox but iOS is basically the main thing keeping “the web” from meaning “what the Chrome team chooses to support”.
What are the wages now? What is the wage you want? Seems odd to ask people to sign a petition for higher pay without these basic details.
In this context, I presume that BM means Burning Man, though it took me a while to arrive at that answer.
What _does_ it mean, then?
64.3% currently. 83.9% have had 2 doses.
Thank you for this detailed explanation. Making the matrix one-dimensional makes sense from the performance standpoint.
Yes. In the EU product "denatured alcohol" for most purposes is likewise treated with the same agent. This replaces the widespread use of methanol and similar products which are poisonous (yes even if you call the product "meths" it probably isn't methanol in the EU today). The rationale is that poisoning people is not an appropriate reaction to attempted tax avoidance. Alcohol is only "denatured" because booze is taxed, there's no technical reason to use poison, and so the EU took the poison out, for the same reason it doesn't execute or torture criminals.
like https://www.vice.com/en/article/pkpbgy/apple-will-tell-you-h...?
ResNet-50 achieving a 60% accuracy on CIFAR-10.

As far as I can tell, SOTA ("state of the art") is 99% on CIFAR-10 [1]. The first entry in wikipedia, for 2010, shows 21.1% error rate, so 78.9% accuracy. Which is to say a 60% accuracy rate is far from useful to put it mildly.

Essentially, with that low an accuracy rate, I don't think there's reason to think the predictions are meaningful in a practical sense. But maybe there's something I'm missing in accuracy description.

[1] https://en.wikipedia.org/wiki/CIFAR-10
Don't even get me started on France24!
"I have at least one copy of Newsweek from the 80's.."

See, this is exactly what I'm talking about. My guess is that you're a middle class white guy, age 55-70, who learned during his formative years during the cold war that America was the greatest country ever, that we were beset from all sides by foreigners trying to destroy our way of life, and now, some 40 years later, your brain simply cannot accept anything that contradicts that fundamental narrative. I've seen it before. Your point of view on the world was essentially set in stone by the age of 20, and will never change. That's the world that to you seems normal, and anything else seems unreal and unbelievable.

I don't claim to be personally an expert on anything climate related, but the entire scientific community is unanimous on this issue- media does tend to overhype climate change, but they hype up everything. They are not who I'm talking about. I'm referring to the specific predictions as far as degrees of warming of qualified scientists, which indicate that we should probably expect about 3 degrees of warming, more or less.

Whereas you are a Random Stranger on the Internet, and I could easily give you lots of information and context disproving your vague and angry assertions ("screeching?"). But it won't make any difference, so I won't bother unless you show some signs of self awareness.
This is spooky. I just read this post, cmd+tabbed to my mail app, refreshed, and got a version of this exact email.

I never have problems with gmail+spam otherwise.
> Even before the James Webb Space Telescope was launched, for example, the first call-out for proposals drew 1,173 ideas that would require 24,500 hours of prime observing time. But only 6,000 hours were available.

Can someone explain this to me? I've Google'd and not gotten much. 6000 hours is like 250 days. I thought the Webb has a 10-20 life. So how does that work? How much of each "day" is prime time? and why?
Two countries.

Now do the same with Israel.
TSC doesn't need to "stick around", right? Just a run-once and the program is over?

In those cases, https://github.com/fitzgen/bumpalo works amazingly as an arena. You can pretty much forget about reference counting and have direct references everywhere in your graph. The disadvantage is that it's hard to modify your tree without leaving memory around.

We use it extensively in http://github.com/dioxusLabs/dioxus and don't need to worry about Rc anywhere in the graph/diffing code.
People are asking about BLAS already in various threads, but if they know the size of their matrices beforehand, it might be interesting to try EIGEN. EIGEN also has the benefit that it is an all-template C++ library so I guess it should be somehow possible to spit out the WASM (I know nothing about WASM).

Of course usually BLAS beats EIGEN, but for small, known-sized matrices, it might have a chance.
> The US lost 15K people last week to Omicron.

Bullshit. There is no data to suggest all of those deaths were from omicron, and no reason to believe that's the case either. Don't spread misinformation.
If I want to discover the content hash can't I just advertise that I have the discovery hash then wait for someone to ask me for it?

I think one approach here would be to encrypted the data with the content hash. Then you ask for the data by discovery hash, but if you don't actually know the content hash it is useless to you. This way the content hash is still critical to getting access to the content but never sent over the wire.

I wrote a proposal for doing something similar to this encryption inside the UnixFS protocol that is usually used for serving websites across gateways but apparently there was no interest and they wanted to deprecate that protocol.
First of all, it's "unnatural", second, you seem to have misunderstood what "artificial" means in this context, it even explains in the Wikipedia article, that it's external stimulation of existing immune response via vaccines and medication etc. Please do your research and read the articles before assuming.
Not to be too snarky, but perhaps the onus is on you to do some homework if you want to understand a niche article for which you lack context?

Laying out matrices like that is pretty standard, especially for a post about vectorization.
>> I have known more people whose lives have been ruined by getting a Ph.D. in physics than by drugs.

> Ruined, really?

The "I" in that sentence is doing a lot of work, and Katz is a sort of generally a foolish know-it-all on everything outside of his field. See, e.g., his defense of the Iraq war. Sounds like he knows everything, but the blind spots are astounding (and now, two decades later, finally obvious to even the least informed layman.) I remember reading it and shaking my head at the time -- 'this is what dunning-kruger looks like!'. The piece aged about as well as I would've predicted at the time.

From what I've heard about Katz and his advising... style... the selection bias of this "I" is particularly perverse.

That said...

> Like living on the street ruined?

Yes, and this is a MUCH more serious problem than you're giving it credit for.

PhD stipends are NOT normal salaries/wages! AFAIK it's literally the only full-time position where the employer does not have to pay FICA taxes. That means no unemployment benefits. That means homelessness if you don't find a job immediately after graduation.

Why might you not find a job immediately after completing a physics phd? Perhaps you graduate during a multi-year hiring slow-down caused by a global pandemic or a financial crisis. I.e., you're one of roughly a third of recent cohorts.

I've known many people who failed to find a post-doc and ended up homeless for a period of time because they didn't realize that they couldn't even rely on federal unemployment as a stop-gap. One of my wife's former peers slept on our couch for a couple months.

I've know many, MANY more people who would've been homeless for a period of time in their late 20s after half a decade of working full-time had it not been for family support. Truly astounding numbers. Perhaps 1/2 to 2/3rds of my wife's graduating cohort fell into that category.

I opted out of academia with TT offers in hand because I don't understand how people can run a group staffed by grad students and look themselves in the mirror in the morning.
Imagine if the development work for covid vaccines ends up with more effective vaccines against things like flu and even the common cold
Can we objectively measure beauty and legibility?
U can wash regular chips?
I dont know if you can say that Sony is doing stuff “poorly”. Most of the hardware they make is very solid. Think about their speakers, headphones, the consoles, etc.
But yes i agree, they are a huge company with a lot of divisions where sometimes the decisions are at odds.
Which parts do you think are doing poorly?
I'm not an expert, but I think "autonomic arousal" can be interepreted, crudely, as stress and anxiety:

"A disorder characterized by persistent or recurrent signs and symptoms mediated by the autonomic nervous system, excluding pain but including palpitation, hyperventilation, or nausea. It is not diagnosed if it is caused by a general medical condition."[1]

In which case, he's suggesting people who procrastinate can reduce this tendency by acclimating themselves to stressful situations, such as cold showers or ice baths. It doesn't seem to have anything to do with motivation, just getting rid of the anxiety that is presumably stopping you from working.

One of his podcast episodes goes more into these points. It's been a long time since I listened to it, so I don't remember most of it, but this article seems to be a good overview, and explains why the "30 deep breaths" are one of the techniques he's suggesting in that tweet: https://www.scientificamerican.com/article/vision-and-breath...

1. Autonomic arousal disorder in A Dictionary of Psychology
Running TypeScript directly is a great part, but there’s a bigger, little-discussed aspect: Deno has a built-in, prescribed, standardized,

- Testing framework

- Linter

- Bundler

- Formatter

It’s like having Cargo or Go’s CLI for JavaScript/TypeScript. It eliminates so much fiddling and breakage, gets everyone in the ecosystem on the same page, etc. Even for a solo project it’s been a dream to use, compared with the hodgepodge of a Node project.
At least for me one of my favorite things is how integrated it is, after having used Rust for a while, having the compiler, linter, lightweight testing and formatting all in one bundle is an amazing time saver and a major boon for me. No more fiddling with ever growing configurations for ESLint, or having to install Jest/Ava/uvu/tap for testing and their ESLint rules and then Prettier which may also require ESLint... I realize not everyone cares enough to configure it, but the approach of Deno (and Rust, and Go, and so on) is such a weight of my shoulders when starting a project. Just open Neovim, create a TypeScript file, write some tests, all without having to do any kind of configuration or installation of packages.
Probably yes. As I move forward in life, my free time is dwindling faster than I like. Work responsibilities and other fun stuff seeps in.

I'm not complaining most of the time, but sometimes I want to be able to spend a day working mindlessly on my computer to try new things and fool around.
Sure. I'll write more about it tomorrow in the morning. It is to long to write it on my mobile :)
Kids swallowing coin cell batteries is a recurring and very serious problem. Hospitals will take it very seriously (x-rays, etc) if there's even a suspicion that one has been swallowed.
It might be good advice, but that's not engineering in concept, spirit, or practice of the term.

I don't usually pick an absolute, decisive side in the "what counts as engineering" debate, but this is the opposite of engineering.
DIY Atlas of Space
I would suggest that there's an inherent trade-off at work here. It was more exciting largely because of the time and work involved.
Show HN: SimpleX Chat v1.0 has been released – Double Ratchet Encryption
Battle Tested, Event-Driven Patterns for Your Microservices Architecture
Louis Rossmann's commentary on about it:

https://www.youtube.com/watch?v=9NGRJaPPilM