skysight-inc/HackerNews huggingface dataset:
... and unfortunately without spaced repetition. It was once part of the premium service but has been removed around a year ago. Source: I was a paying user.
You can already do exactly that. Just put .js at the end of your filename.

Or set `noImplicitAny` to false if you want to retain some type checking.
My theory is that in order to replace C/C++ in the systems language space we are going to need several different types of languages.

Rust is pretty nice, but the options for allocation and it's ownership type system make it a mismatch for certain types of applications (probably games and OS's but we'll see how that plays out).

I think regions are neat. And I'm looking for an opportunity both for playing around with it myself and for the programming language community at large getting more exposure to them.

More ideas exposed to more people leads to better ideas of how to fit everything together and how to leverage what features to solve some problems better.
> I can't help but think it is just another way to discriminate against folks

I've had company owners admit this to me in private.
I’m don’t write C++, but isn’t the code extremely messy? Also it appears to be C++ and not C like the “Read me” says.
OPA is to policy automation as Terraform is to infrastructure as code
Show HN: Built a dockable Menu that turns into a sidebar on drag n drop
Yeah - thanks!
Ironically, you seemed to have full (and complete) understanding of my intended meaning. Maybe you shouldn't comment on the use of language unless you have an understanding of linguistic deep structures. ;)
The risk profile for all the age groups is wildly different. I don't think its a bad idea for people > age X to get this vaccine, one because they have a much higher risk of serious harm from corona _AND_ perhaps less risk of long term affects. But for someone who has very low risk of serious harm from corona, perhaps it makes sense to wait a little bit?
If there's one IPO that I'm not excited about, is this one. This is a shit model. And I want to apologize in advance to any Wish employees that may be here and that are surely doing hard work to build the logistics and consumer layers of this business.

This is a business built on top of cheap Chinese goods, subsidized shipping and low customer expectations. High transaction volume with very low margins, and totally exposed to the winds of international trade policy.

This is just a fancy wrapper on top of AliExpress which is honestly superior when it comes to buy crap. In AliExpress you get way more insight into what you're buying and its quality, shipping times, shipping rates, etc. In Wish you don't and you will most likely get the most low tier quality product.

I hope that an IPO can bring more discipline into their business and help them move to a more sustainable and innovative model.
I think I'm font blind :) I hav't notice any difference on these code samples until I read its git readme and come back again.
“can persist” is not specified with a percentage of flu patients, and thus cannot be inferred to be “common” as you state from the evidence provided alone.

Precisely what overall percentage of flu patients across the general population experience continuing symptoms after 14-21 days?

(Any common influenza in any typical year in the past decade is fine.)
"Supports" and "ready for production" are two entirely different things.
I have one as well, and my experience with BT speakers is odd: It works fine in VLC, but not in Chromium or any of the pre-installed games.
All comments are written by neural networks,in the end.
Then relax the rules to monetize, or dump them altogether
"following the latest trends" basically works as a definition for the word "modern" in the context of programming languages. "involving recent techniques" etc. why modern? is a fair question I guess but why not? are there any good arguments against things like type inference, generics and lambdas?
Slack allows my colleagues to chock it full of multi-megabyte animated gifs and cat images, but VSCode so far doesn't.

I'm not surprised that Slack's memory use tends to explode.
I agree that would be honest, but I also think it's less effective.
It's unfortunate that keyboard input is an afterthought for most systems.

OS X is probably the best overall, with easy installation (with one gotcha for development) and SIL Ukelele being a decent editor.

XKB is tolerable, overcomplicated in some ways and limited in others (really needing a layout to be paired with an .XCompose), but Linux Desktops™ make it painful to configure any layout that doesn't ship with their system.
Werid. You hate the language and the bloat, but you still would choose Electron over something like Lazarus?
I understand performance concerns, but not "native" app. Most popular thing on desktop used by people are Facebook, Youtube, Instagram, Gmail and Google Calendar, Reddit, Netflix, Wikipedia.

I have never seen people avoiding them, because they don't have a native interface. As long as interface is intutive, people are happy to use them.
There are an infinitely many propositions that cannot be proved

or disproved in foundational theories of Computer Science.

However, foundational theories exclude the [Gödel 1831]
proposition *I'mUnprovable* because including it would
make the theories inconsistent for reasons mentioned
elsewhere in this discussion.
For the uninitiated among us (including myself) could you explain what an HBA is? Or share any more details on how you’d build a low-cost NAS that’s not a Raspberry Pi?

I have a Raspberry Pi 4 that mounts a USB hard disk and serves files over SMB and Nextcloud. I have been considering reformatting the drive to ZFS or btrfs and booting the Pi directly from that so that I can start taking snapshots. Is this a bad idea?

I’ve looked at buying dedicated NAS hardware before (mostly Synology products) but I’m always deterred by the cost. A low end Synology NAS with drives runs around $500 or $600, which is a huge jump from my little Pi.
Well the truth is, almost no organisations ever consider cost before they get started. That's one of the purposes of "cloud credits" that AWS/GCP/etc give out to new companies and projects that they are very successful in that.

Even worse, organisations rarely do it even once they're up and running and spending large sums - and even then I have never seen the impetus for cost control ever come from within the technology department. It's finance that reins in the spending later, and usually by sticking with the same cloud supplier but limiting activity - so now you need to get someone to sign off on your infrastructure before you provision any of it - which is largely the problem the cloud was supposed to solve.
100% incorrect.

These are the very first mRNA vaccines. Here is Wikiepdia to confirm. [1]

You. Are. An. Alpha. Tester. And so is the rest of the world. We all are.

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

"Up until November 2020, no mRNA vaccine, drug, or technology platform, had ever been approved for use in humans, and before 2020, mRNA was only considered a theoretical possibility for effective use in human"
It's a very recent development in the language; one of the ripples that radiated out from the George Floyd protests.

The NY Times hosted a piece that explains the reasoning behind it: https://www.nytimes.com/2020/07/05/insider/capitalized-black...
A bit like google glasses false start at a consumer device, but taken up by plant maintenance workers.

Is this a thing or is it mostly anecdotic? (honest question)
As a lisper, I find “modern syntax” means “looks vaguely like C or JavaScript”
This sounds like a great addition for servers written in Swift. Pair it with the very easy to use and clean command line arguments package and it should be "trivial" to add management/diagnostic console full of commands to your server.

Traditionally for HTTP servers I carve off a URL prefix, e.g. /diagnostics/ or listen on a different port, and make handlers there to let me know how things are going. The downside is that I then have to protect those which collides with whatever other authentication is going on.

Moving that to a command console eliminates all those ways to screw up and let evil people into my diagnostic functions.

The command line parser package is trivial to use once you get the hang of it and generates acceptable "help" automatically, so you'll end up with a custom CLI of your diagnostic commands with a "help" function to remember them for essentially zero coding and maintenance effort.

Now I have to spend all day resisting the urge to weld this into my latest HTTP server to see how it goes.

Update: There is an example server in the Sources/NIOSSHServer directory of the repository. 5 files, about 500 lines total to implement a "bash" command executer and a remote port forwarder.

Update 2: 50 minutes in and I have an ssh server embedded in my server. Maybe. When I send a command it explodes my process with a Posix.close() to a bad file descriptor tripping a precondition check. So, maybe don't rush this to a live server.
The CNCF is pretty distinct from organizations like Debian or The Linux Foundation, and even Debian comes under the same sort of fire I'm about to lay down here. At this time, I think it's more skepticism than the understanding of what the problem is, but it boils down to corporate influence and what level of influence companies are allowed to have on projects.

Companies have several methods of influence:

- Financial contributions (and the projects nature of dependence)

- Developer interest and representation (eg: when a mega-corp installs a developer and combines that with things like funding)

- Board representation

A quick anecdotal example was the whole kerfuffle about Google using it's influence to insert kustomize into kubectl. [0]

Big organizations like Debian or the CNCF are attractively large targets for the above concerns.

[0] https://goteleport.com/blog/kubernetes-kustomize-kep-kerfuff...
No, I do want to learn things, but the choice is simple, you either:

1. Learn Electron and implement an app, publish to all platforms.

2. Choose your target OS, learn the native toolkit, implement the app, switch to other OS, implement again, rinse and repeat for all, and in the case of linux you have to deal with multiple toolkits and you have to know the quirks around Wayland support (with electron you don't necessarily as chromium handles most of that).

One of them simply takes way more time and effort than the other.
So vaccinate those at serious risk who we were closing things down for in anticipation of the vaccine. When the serious at risk people are no longer seriously at risk then there is no need for all the shutdowns. No need to vaccinate everyone is there?
Foot and Inch Marks: Use Straight Quotes, Not Curly
Are any of those recent techniques?
This article, like so many others, makes an assumption that Salt is the 4th place configuration management tool. It is not, it is a python orchestration framework that just happens to have a configuration state module.

Deployments I've written in Salt just use the Python API (https://docs.saltstack.com/en/latest/ref/clients/) to make changes to machines or infrastructure. That's the power of it, and unfortunately its terribly underutilized.

There are legitimate criticisms of Salt of course. There's a lot of moving parts, there's a lot of half-baked stuff, the crypto has been questioned, but the core idea is honestly pretty great and its always been a pleasure to work with.
Hi, author here. This is a work which extends Bob Nystrom's clox (of Crafting Interpeters fame) with a GC idea I've had for some time. It was inspired by my work with ring buffers and HAMTs. The basic idea is that by using 3 layers of HAMTs for object handle dereferences, the oldest 2 can be asynchronously consolidated into a new area before being swapped in, making the GC an O(1) operation. As all allocations are within a ring, this also gives consolidation. I'm hoping this idea could be re-applied outside this proof-of-concept to VMs for more established languages, e.g. the Erlang BEAM VM.

Thanks for taking a look! I'll do my best to answer all questions posted here today (though I will be away from my keyboard at times throughout the day). Also, and after that, please feel free to reach out to me by email.

--Dan
We feel the damage caused by the lies around the Iraq war and their alleged weapons of mass destruction until today. The Bush/Blair administration pushed for war and claimed to the whole world that they have proof of weapons of mass destruction in Iraq, requiring immediate intervention. But this proved to be a lie. [1]

We follow(ed) populists who used the facts that our leaders lied to us and that we did not believe them anymore. We can't combat this pandemic or the climate catastrophe effectively because opportunists sow distrust and they can because we distrust our leaders because they lied to us.

The world would be a very different place today (a better one!), if our leaders didn't have lied to us.

[1] https://www.theguardian.com/world/2004/oct/07/usa.iraq1
"We're super inclusive! We ooze inclusivity! We've never been non-inclusive ever, not even once!" This whole thing reminds me of a post I saw on reddit a few days ago:

My 4-year-old: "Daddy, I didn't go peepee anywhere in the house. I just want you to know that."
What a crazy roundabout system...
The trick to enjoying this is opting in/out on a per language or project basis.

Iosevka has a proportional variant with all the fancy ligatures that’s just delightful.
Ionic and Developer Tooling [audio]
Not even using a Mac? I am surprised.
> With an interface, anyone else could come along and create their own implementation.

Not true in Rust, because the type returned by the function is a concrete type.

I think we may be overloading “name” here, a bit. If you return an “impl” in Rust, you have to name an interface, but you can’t actually create new instances of the concrete type returned by the function.
New Apache Kafka to AWS S3 Connector
Why is it so hard to choose unique names?

https://github.com/bastibe/lunatic-python
It looks like there are parental controls: https://corp.roblox.com/faq/

TBH I wished I looked this up a long time ago, by default if a child creates an account it doesn't put them through any kind of "get a parent" workflow. (Contrast with signing up for a child Xbox account or Google account).
Agree that it's best for society if we don't shame people for voicing their beliefs, and that wasn't my intent.

I actually think OC made a valid point - that is, there is an extremely small chance this vaccination causes long term effects, and therefore, if every individual were to act independetly according to their own self-interest, they would avoid the vaccine. This is true for all vaccines, and reminds me of the tragedy of the commons.

I'm actually curious, though, why the OC wants to discuss this. There is truth to his comment, but if you aren't willing to be a team player, there's no good in recruiting others to your way of thinking.
Surgical Face Masks: No Statistically Significant Benefit Against Covid-19
Well said. A total reversal can lead to new problems which are just as bad as the problems you're fleeing from.
The State of Tax Justice in 2020
This may be the subject of an amazing HBR article in 10-15 years.

"Businesses need to evaluate before blindly using AWS" - Why is that seemingly logical sentence proven false so many times every day in so many companies?

In my opinion, the success of AWS is due to the way it interacts with corporate hierarchy. It allows every level to externalize some annoying part of their job in exchange for a little more money. Even Finance is happy because capital expenditures (that require more complex planning and tax handling) turn into operating expenses.

Eventually the board will wonder what happened to earnings per share, but by that time the project to migrate off amazon will be impossibly large and most people with the skills to run their own infrastructure will have retired.
Unfortunately I come at it from another time when Adobe killed their svg viewer in favour of flash long before the browsers supported svg completely. We had built a charting product that was cool and super interactive and dependent on the svg viewer...
Our autistic 11yr old could not handle it at all.

Our other two (younger) kids loved it... past tense here because we had to cut it off for all because it was too emotionally traumatizing for the 11yr old, plus some of the content was questionable.

You can turn off chat.

The games can be... err... interesting. People shooting guns at each other and other such things.

Just keep an eye on it.
Remember the crap you saw/did on IRC as a kid.
I'm not really interested in game development, but what stood out in this article is that this is essentially the author's brag document. It would be very easy for him to continue to update this article and send his manager a link any time performance reviews come around.
Hint: Nobody in the world cares about feet and inches outside of Myanmar, North Korea and the USA. Nobody.
We just recently launched our desktop app on Electron for very similar reasons.

I've also heard that PWAs have made significant progress toward being a viable option for building a desktop app. Curious what folks think about this as an Electron / native alternative.
Study identifies reasons for soaring nuclear plant cost overruns in the U.S.
I know taxes are a little dry but the Tax Justice Network does really fascinating research and taxes are critical to the functioning society and how much governments are collecting have dramatic repercussions on people and businesses. Some key findings:

- Countries are losing over $427 billion in tax each year to international corporate tax abuse and private tax evasion. That’s nearly 34 million nurses’ yearly salaries lost every year, or one nurse’s yearly salary every second.

- More tax is lost to tax havens ever year due to corporate tax abuse by multinational corporations then due to private tax evasion by individuals. Multinational corporations short-change countries out of $245 billion in tax every year while people who mover their wealth offshore short-change their governments out $182 billion less in tax every year.
Higher income countries lose a lot more tax than lower income countries, but the impact of those tax losses are far greater on lower income countries public spending. Higher incomes countries tax losses are equal to 8 per cent of their public health budgets while lower incomes countries tax losses are equal to over half their public health budgets.

- Almost all responsibility for global tax losses falls on higher income countries. Higher income countries were responsible for 98 per cent of all the tax loss countries around the world lost, whereas lower income countries were responsible for just 2 per cent.
> With 'pure Elisp' I mean no FFI. Most Wayland compositors call low-level interfaces to manipulate graphics, but we can not implement such a compositor since those interfaces are largely absent in Elisp and the performance would be of a great concern. So I tend to make a subcompositor that runs on top of another compositor (mutter for example) to offloads most dirty work and only deals with window management. But even this simplified design can not be realized due to the inability of Elisp to send/receive file descriptors through a socket.

It seems like in this case it's a limitation of elisp, not wayland.
So you’re saying that code you wouldn’t be able to write with rust would crash at runtime in Vale right?
as far as programming language evolution goes I have to assume "recent" refers to a span of 20 years or so - otherwise I don't think we have any recent techniques
They dropped the claim of being backed by cash and now openly admit it on their website that they are backed by "other assets", which is probably mostly bitcoin they buy with all that fake money they print, which in turn raises the price of bitcoin so their "reserves" go up on paper.

>Nobody in crypto wants to expose them because the value of their own holdings will plummet to zero

Gotta give it to them it's a pretty smart scheme. Print money out thin air and co-opt the whole crypto community to not question it as it'd crash everything.

I do wonder how much longer that can continue.
The Vietnam war saw an average of 2k KIA deaths per year on the American side, if you take its whole duration into account, or about 4k KIA deaths per year if you start at Johnson's escalation. The peak number of US causalities per year was 16,899 in 1968. The 2k/year and 4k/year averages are both biased due to several years with very low activity that were still considered part of the war. Hopefully these numbers should put the numbers in the article in perspective.

>KILLED IN ACTION 40,934 [0]

>from 1 November 1955[A 1] to the fall of Saigon on 30 April 1975. [1]

>Johnson's escalation, 1963–1969 [1]

[0] https://www.archives.gov/research/military/vietnam-war/casua...
[1] https://en.wikipedia.org/wiki/Vietnam_War
To my mind, it's not a huge market, but purists definitely exist. Do they justify the cost? It seems worth analyzing, but it's definitely a big cost if you want to stay cross-platform but use native tools.
Ask HN: Why most of the stores/platforms ask for a 30% cut?
I understand that monopolies (like app stores) can do more or less what they want, but... why most of the hotel booking, food order platforms, etc. ask for a 30% cut? Where is the exact number for everybody coming from?
There is something there about the different standards people use to judge the virus vs the vaccine.

The vaccine could have “unknown long term effects”.

But the virus “only has an x%” death rate”. No concern about unknown long term effects.
> https://developer.roblox.com/en-us/articles/Creating-Your-Fi...

Thanks!
Quite a big difference between the two examples, wouldn't you say?

The worst thing said about Hubspot in the book is that it's a cold-calling meat grinder for new college grads, and that company basically embodied all the ridiculous rah-rah stereotype of startup culture. That's what I remember at least.

Uber OTOH had a culture of sexism and sexual harrassment that the CEO failed to address, while also flouting taxi laws in several countries and losing unimaginable amounts of money chasing pipe dreams like self-driving cars.
Thanks, because from the github page I had no idea what "Actor" meant, though I was interested to know more. Reading the code sample did not give me any better idea what was meant by the word "Actor"

It would be great if every github readme had a "motivation" section at the top. Why not link it there?
Remembering Duke Nukem 3D with Mark Parker at Pcgn.tv
> My favourite monospaced font is Triplicate: the only true serif monospace that I know of

Also: https://github.com/yellow-type-foundry/xanhmono / https://fonts.google.com/specimen/Xanh+Mono
I started working with C++ several months ago, mostly due to curiosity.

Though I haven't done anything that I would consider extremely complex, memory corruption seems easy enough to deal with by planning.

Maybe because it is so ingrained as whenever I heard discussions of C++, memory (de)allocation and memory corruption was always the first thing people talked about. Dealing with de-allocation feels like closing a curly brace, almost automatic.