skysight-inc/HackerNews huggingface dataset:
I encountered them quite soon, e.g. something like this [1]:

val result: Int | "INTERNAL_SERVER_ERROR" = 1
val m: Int = result match {
case "INTERNAL_SERVER_ERROR" => throw new Exception("Uh oh")
case t => t
}

It does work with a ClassTag and t: T, but then it thinks the match is not exhaustive. Compare that to Typescript [2].

In this specific language feature TS is kinda the gold standard. For example they can automatically narrow the type based on fields existing or not and their type, which can be used to provide a pretty decent implementation of sum types [3]

[1] https://scastie.scala-lang.org/oMdkLBIiRsqUkXv6qbP61g

[2] https://www.typescriptlang.org/play?#code/MYewdgzgLgBATgUwgV...

[3] https://www.typescriptlang.org/docs/handbook/unions-and-inte...
These headlines are nonstop and the only consistency seems to be that the victims are getting really seriously injured and/or killed/driven to death.

And that the US government is largely keeping the victims in the dark.

Vicious all around.
Wow, faster than Hugo. Holy s#%t! That’s insane!

Looks awesome, can’t wait to try it out.
So, semantically, what is `f(return)`? Are these examples supposed to actually do anything, or mirror actual code situations? Or is it just putting a monkey in front of a typewriter?
And I guess it’s 2015 edition, because it’ll fail in 2018 edition Rust: where the 2015 edition has ::u8(0u8), the 2018 edition will need you to write crate::u8(0u8) or self::u8(0u8), since only crates exist at the top level now, rather than the contents of the current crate as well.
It is. It's a strong oxidizer and damages your lungs. It makes the house smell better because it oxidizes volatile organic compounds in the air, but it's horrible for you.
I'm not disagreeing with you.

Well, except for the spelling of "lose".
Sean Carroll has also proposed two headed arrow of time.

If the direction of time is towards increasing entropy, the starting point of time is the lowest entropy configuration in the universe. The arrow of time is pointing away from that point.

https://www.preposterousuniverse.com/blog/2004/10/27/the-arr...

Spontaneous Inflation and the Origin of the Arrow of Time
https://arxiv.org/abs/hep-th/0410270

>Sean M. Carroll, Jennifer Chen

>We suggest that spontaneous eternal inflation can provide a natural explanation for the thermodynamic arrow of time, and discuss the underlying assumptions and consequences of this view. In the absence of inflation, we argue that systems coupled to gravity usually evolve asymptotically to the vacuum, which is the only natural state in a thermodynamic sense. In the presence of a small positive vacuum energy and an appropriate inflaton field, the de Sitter vacuum is unstable to the spontaneous onset of inflation at a higher energy scale. Starting from de Sitter, inflation can increase the total entropy of the universe without bound, creating universes similar to ours in the process. An important consequence of this picture is that inflation occurs asymptotically both forwards and backwards in time, implying a universe that is (statistically) time-symmetric on ultra-large scales
I believe that if all health records leaked tomorrow, the world would end up a better place.

Sure, someone might get more expensive insurance quotes or made fun of for having ADHD, HIV or acne treatment...

But I think that would be outweighed by health benefits by combing the data for correlations and causations that have been unidentified in the past. Being able to shut down things that are poisoning millions of people, but to such a minor extent it isn't immediately obvious, would have a big benefit for society.
Who have vested interests in stopping something like sci-hub?
Please do this - I deployed slack in a business environment - staff love it. Trying to get them to use alternatives with what they call "weird" interfaces is a no go.

Slack nailed it - and adoption numbers are proving that out over and over.

I got complaints even on teams font size being too small! Don't underestimate these issues.
The problem with Proton is that some things cannot be bypassed. I recently downloaded a multiplayer game that uses Xigncode (anti cheat software) and it simply doesn't work with proton. I know the game works flawlessly because I played a version of it from a different publisher that didn't use anti cheat software (it's not a competitive game).
Scala can compile to JS or LLVM. Why owning a platform when amazing ones already exist?
This reminds me of an argument I had with a friend in October. When the weather got cold, I only wanted to socialize with our small group of friends outside because the open air was safer, but she only wanted to socialize inside because she thought being outside in the cold would make her catch COVID.
I don't see any evidence of this being GvR taking undeserved credit rather than it just being another of the weird cults that 4chan has built up around major programming figures from the late 1990s.
Similar to the lawyers who seek out non-compliant websites, direct disabled people there, and then represent them in a lawsuit.
Speaking of Li's work, he's also done a lot to improve the REPL and scripting experiences for Scala. Combined with Scala 3, this is great for rapid prototypes, simple tools, and glue.
Another commonality is that writing and programming uses the same type of mental energy thus after eight ours of programming you will most likely not have energy for 2h of writing.
Well yeah because Prometheus was inspired by Google's Borgmon and soon there will be another product inspired by Google's Monarch.

Google's SRE stack is lightyears ahead of anything else out there simply because they're at the scale where they can afford to hire dedicated developers to just write internal ops software where most other SREs are understaffed and overworked just on operational projects.
Amusingly I made a prototype of something similar 4 years ago during university:
https://www.facebook.com/1764751847/videos/10202928199083698...

It was done to promote the use of Ferrofluid for DataVis rather than a consumer product.
Also a DO customer here, both personally and as a company all our infra runs on DO. I really like it except that the management platform is pretty slow and not very searchable which is annoying. Other than that it's great (and I prefer it vastly to AWS).
I still find front end JavaScript development to be a chore, the least appealing part of any project idea, despite actually liking Working with HTML and CSS… it’s not even really JavaScript as a language.

It’s the ecosystem I don’t like. I read about “opinionated frameworks” and for a backend framework that tends to be something like Django or Rails, frameworks built to give you everything top to bottom, with clear layering and extension points. However for front end frameworks opinionated seems to mean “has more indecipherable lisp/scheme function/macro style logic” that does what the original author designed it for wonderfully but is a royal pain to extend, modify or really build off in any way other than just forking it.

I’d call this a “framework for sites where SEO is critical” not really an “opinionated framework” it’s more of a “single issue framework” to borrow a political term”

The only “opinionated framework” I’ve ever used in the front end/JavaScript world that felt like a cohesive, truly opinionated framework in the backend Django/Rails kinda way is EmberJS. Which I highly recommend to people who hate the whole JavaScript ecosystem churn. About the only negative I can highlight was poor IDE tooling with older versions which the most recent releases have improved on their end, but is for the most part an issue of IDE developers like JetBrains not considering EmberJS as important as the Angular family and the React, Vue, and other JSX based system family. Which I can understand for the most part due to business realities, but also this is hardly a good reason not to try something when the tools have full auto-reload and progressive compilation to efficiently test things in the browser as you make changes in any text editor you like.
The crypto-revolution and its consequences were a disaster for the human race...
Office Politics: A Working Letter
In Rust, just about everything’s an expression. `return` is an expression that diverges, meaning it’s of type never (spelled !, and coercible to any type, since you know the value will never actually be used).

Here are another couple of ways of writing the same general concept:

f({
return;
() // () in this case because f takes a parameter of that type
});

let x = return;
f(x);

So f() will never actually be called. You’ll get an unreachable_code warning on f.

As a minimal case it’s mostly just funny, but the underlying concept does find its way into real Rust code, mostly in generated code (such as with macros). Also, although just about everything’s supposed to be an expression, sometimes things that can be an expression or a statement go a little bit funny, and return is a prime candidate for things going wrong in weird ways in the compiler frontend or in code generation or something, so it’s worthwhile having such tests (there will be more involved tests of return specifically elsewhere).
off topic remark:
As is often the case when I come across a youtube link, I briefly thought about clicking on it but somehow decided against it. I figure it's because the link (as always with youtube) doesn't contain any hint to what the video is about.

I wish it were best practise to always put the title of the linked video next to the cryptic link itself.

If you think about it: if you put the title there, you allow possibly hundreds of users scrolling past this link to better judge, whether they want to follow the link or not. Just one small effort for the person posting, probably useful for many different users.

It's in a way similar to the question of whether you fill in the subject for an email sent to a number of people. A little effort for the sender can possibly save several recipients' time.

Just sayin' ..
For what it's worth, I went to the Registry Editor, deleted the entries in HKEY_CLASSES_ROOT for Skype and Spotify completely, and these are still showing up as installed.

Makes me wonder if Windows is somehow pre-installing custom scheme handlers for these, whether you have them or not. As far as I know, Skype comes with Windows, so there is no way to test a fresh installation that never had it at all, but Spotify? Is there anyone using a completely clean fresh Windows installation that can test if this demo thinks it is installed even though it isn't?
A lot of people don't get threading. I'm in a small but active channel for our work team. It's roughly 15 people in a large company so it works well for us to engage and share. The problem is two others thread correctly, the rest just SPAM the main thread and when they do get the inkling to thread a reply it's often a new divergent thread off of a small conversation that someone threaded out earlier to be polite to the main.

But the worst... The worst offender on our team thinks all of their replies must be seen by everyone. So they use the "Also send to #mainthread..." for every message they send. It's almost as if training on async chat is required for some as there's a total disregard for etiquette from some.
If you want to hire someone anyways, hire a senior engineer and let him start from scratch. Two problems solved at once.
Some ways of phrasing things are conversation enders, not inviting anyone to talk at all.

This is one of those.

It's telling people there's no point in engaging, there's nowhere to go from here.
I have a feeling there is a very short security-hygiene checklist that, if followed, could prevent the vast majority of the ransomware attacked that we have seen in the last few years.

* Keep all systems up to date with the latest patches.

* Have a DR plan and test it regularly.

* Make frequent backups, verify them, and keep them offline.

Historically organizations have been so bad at backups that the advice has been to automate them as much as possible, to try to ensure that a recent backup at least exists. But I am increasingly of the opinion that the next level of backup maturity is to dial back on the automation and invest manual effort in airgapping the backups.

Fully automated backups are necessarily part of the software attack surface.

If you have to hire more ops people to rotate tapes by hand every day, that will have to be a cost of doing business safely.
Hm. I learned programming in large parts thanks to The Little Schemer, SICP and Scheme/Racket. LSP wasn’t a thing then and it worked fine anyway. Much of the code I wrote (and evaluated manually) was on paper.

Regarding the autoformatter... Not sure if Racket really needs that since the syntax is so simple. But maybe it would be an improvement.
Cool, do you have a link for the paper?

EDIT: Found I think [http://www.larsblackmore.com/nae_bridge_2016.pdf]
I gave you textbook macro about deflationary currencies and you gave me hand wavy talking points about the 1800s that are easily verified as lies https://en.wikipedia.org/wiki/List_of_recessions_in_the_Unit.... But that doesn't even matter since that era's global financial system was too different to draw much parallels. In particular, asset prices weren't globally and instantly synchronized so financial crises were more regional. People still widely relied on barter instead of cash back then, ffs! As soon as the markets became global and connected enough in the early 1900s, gold became the memetic deflationary asset of the time and when it got intertwined enough with the financial system, went on to cause the great depression, fuel WWII etc.

You provided an article about the unrelated Cantillon effect instead of deflation? Maybe you mean to meant to paste another link?
It's an interesting perspective, but from what little creative work I have done I would say the big difference is programming is very logical, very precise, and creative work is very expressive, and very, very imprecise. Creative work really requires you to listen to how you feel about the final product, how it sounds, how it is experienced, while programming is really about being organized and correct. I suppose there is some overlap, after all programmers need to think about user experiences as well, but that's not the same thing.
(Elder.js Author)

SvelteKit's offering is great. Much better than Sapper. For Vite the HMR on SvelteKit is better than Elder.js but SvelteKit doesn't offer Partial Hydration.

The main difference is Elder.js is designed for static sites and offers tools to help make building large static sites easier.

For instance, when it comes to building non-trivial static sites, there is a lot of data massaging that needs to happen and be in sync across the entire project. A good example is when reading from a headless CMS or generating a sitemap.

With Elder.js, you can massage this data once and add it where you need to via a hook and it will be available on all pages.

SvelteKit is less opinionated. It is apples and oranges.

edit: a word.
Generally, rather than trying to be a generic framework/tool/system allowing all approaches and preferences and practices, it is optimized for / selects a certain subset toward a (hopefully) stated goal and subset.

It is "opinionated" in the sense that it has an "opinion" on what's the right way to accomplish a certain outcome, and thus it preselects/premakes some choices for you.

The implicit tradeoff is that it may not be as good at general problems / all approaches, but may be better or easier or both for specific goals / approaches.
Existing journal publishers.

Also the FBI are sort of infamous for going after foreign, easy targets in order to make their numbers. Sci hub is run by a guy in one of the -stans as a non profit community type org I believe?
So we're still letting monopolies blatantly buy out all their competition, I see (also see: Facebook's purchases of Instagram + Whatsapp).
Huh, in French, 'hasard' (pronounced azar) means randomness in general. The spelling change is weird
However, the compiler has to continue to be able to compile 2015 edition code, as it is still guaranteed to work and be intermixable with 2018 (and soon, 2021) code in the same application.
Toxic Tech Companies to Avoid
> It can only be an act of war if it was done by a nation state

This is not true. For example major countries like the United States and the United Kingdom are not nation states but can still commit acts of war under international law.
> it would worsen his life for no benefit

Why are we talking about benefits for a person that beheaded and ATE someone?
Not really.

Stocks are overvalued, but are backed by real-world items with an actual value.

A stock's value is bounded below by its breakup value. So if people lost interest in IBM, at some point the stock would be worth buying just for its property and IP.

But there's nothing preventing any cryptocoin from going to zero, except sentiment.
To be fair, doing the exact opposite of what Trump supports is a good rule of thumb if you have no other info or expertise to go on.

Though in this particular case, I don't really remember him being all that positive about vaccines for Covid or in general.

Here's a publication worrying about him undermining vaccines before Covid was a thing: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5678397/

Which is another data point to support the general principle.
I'm a line manager and I 100% agree with this. I call this kind of behaviour Business LARPing - doing those things that you _think_ managers or business owners or whatever are supposed to do regardless of whether it's helping you or anyone else.
I believe the difference in moving parts between a combustion engine and electric motor is about two orders of magnitude (20 vs 2000).

I would say "practically no moving parts" is an ok term in relative comparison but thats just my opinion.

There isn't really a debate, as far as size, weight, complexity and maintenance electric motors win over combustions engines.

The problem of course is the battery size cost and weight compared to a gas tank.

Bottom line though electric cars have much less maintenance and much of that can be attributes to much less moving parts.
> and doesn't allow the developer using it a choice in those matters.

I never took "opinionated" software as "no configuration". For me it's always been "custom defaults". It might provide some configuration, it might not, but what makes it opinionated is the fact that the defaults are not generally applicable, but rather tailored for a specific use case.
The original research was suspended in part due to how dangerous these fuels were, hydrazine doesn't sound like a very promising option being extremely toxic and flammable.
Stoked to hear what you think.

We're building ElderGuide.com (a nursing home directory) which has 18k complex pages in about 1 minute 22 seconds.
> I think it's the language of a tribalist to say your opponent is deflecting without something more substantial

Have you considered there might be a different explanation here than me lacking "substance" and you somehow being full of it? Ironically, have you considered you might be the one instantly jumping to a conclusion about me just based on a couple offhand internet comments on a discussion that's barely even started?

I think it's quite ridiculous (and frankly, rude) to accuse people of being "tribal" or lacking "substance" just because they you a couple quick comments summarizing years of events and didn't spend hours preemptively writing you an essay with detailed analysis and citations. And bear in mind that jumping to -isms accusations so quickly itself has the exact opposite effect of the one you're hoping for.
A lot of the discussion of "health" in the US is actually coded conversation about physical attractiveness.
Complete, tested tape backups would cure many, many ills. They're out of fashion, but..
I am resigning along with most other Freenode staff
It's run by a lady in Kazakhstan
So does this mean if I call `f(return)`, it will return from the calling context without ever calling the function `f`?
I'm so psyched about this. I've followed the development of Scala 3 for pretty much the whole voyage, and I think they've done an incredible job bringing the community along through some pretty radical changes to the language. It has definitely not been an easy process herding a community with very big, informed, divergent opinions on the language.

In the end, I think they did an awesome job. Many, many sacred cows of old Scala were confronted. I think the result is a much more approachable language, where simple things are easier.
There is no statement from any Federal official that says anything like this.
Sounds like you are in software development.

The most practical way to fame and fortune with STEM in America is entrepreneurship. Elon Musk doesn't have a PhD. Bill Gates didn't even have a BS.

The point being that down where the rubber meets the road, ability supercedes credentials and running your own company is the best way to demonstrate ability. Corporate America has a poor track record when it comes to acknowledging and rewarding STEM --- hence the reason they have to literally beg kids to become their technology slaves as China kicks their azz.
The two practices have quite a bit in common, including the need to break down a very large, hard-to-grasp problem (a novel or an application) into a set of smaller easier-to-solve problems (objects, functions, chapters) that fit together in a coherent whole.

I wrote a similar post when, after many years of software development, I finally got around to writing my first novel. https://adiamond.me/2015/01/writing-and-programming/

The author is right in saying the key is really to show up and put in the work. That can be really hard for a lot of people, but programmers are already accustomed to it.

BTW, Vikram Chandra's Geek Sublime also does a good job investigating the ties between writing code and writing prose. https://www.goodreads.com/book/show/19353724-geek-sublime

Chandra goes way back, pointing out that the generative grammar we use today to describe valid programming language constructs was first created 2500 years ago in India by a guy named Panini who fully and precisely described the structure of the entire Sanskrit language. There's more on that here, if you're interested: https://medium.com/@dmitrypavluk/we-should-thank-sanskrit-fo...
The market cap of Tether seems to be on an exponential curve.

I wonder for how long can they keep it going like that.
DXVK is just Direct X for Linux. It's just a library the same way libc is a library. Why would I care about what libraries my games use?

The problem isn't the compatibility, it's the reliability. You can't expect every game to work under Proton. It's always a gamble.

If there was a guarantee that every game works then it would be indistinguishable from excellent first party support. The reason why it's only good enough is that you have to sacrifice the titles that don't work.
Yes, I've seen those too. I've already alerted OPTA to this and have sent multiple messages to Google, nothing however has changed so far.

This is a total scam and should be dealt with accordingly.
Your measure of sanity is the inverse of my measure of freedom, and the same as my measure of government authoritarianism.
The California Executive Order creating a shutdown was issued by the Governor, who is elected.
Ah, the marvels of modern computer processors when they’re not running 18 layers of bloat.

Re: https://elderguide.com is that where the Elderjs name comes from?
Cool! Some of my favorite sci-fi writers are programmers or former programmers — Andy Weir, Charlie Stross, Dennis Taylor.

Although that may have more to do with me (as a programmer) than with any relationship between fiction and software.
Need Help in BMT
For-profit subscriptions publishers, to be clear. Not all journal publishers. An increasing number are open-access and have no interest in bringing down scihub (and the feeling is no doubt mututal!)
The Worshipful Company of Information Technologists