skysight-inc/HackerNews huggingface dataset:
Could you please share the name of the game?
Implemented a live web version using CSS Variables: https://jgthms.com/hacker-news-dark-mode/
I'm curious, how do people judge this?

Personally I have some significant experience with maybe 5 different languages, which is already more diverse than the average software dev as far as I know. But I still wouldn't be comfortable to judge something like this.

For instance, I haven't worked with Swift, but I find it hard to believe it's much better than, say, C#, Scala, or Typescript, regarding those metrics. Do you have experience in those languages?
Shopify released a mobile app recently for this exact purpose.
https://wiki.mises.org/wiki/Inflation#Definitions
https://en.wikipedia.org/wiki/Inflation#Austrian_view
https://en.wikipedia.org/wiki/Monetary_inflation
https://blogs.wsj.com/economics/2011/05/13/inflation-definit...

"Webster’ American Dictionary of the English Language, published by G&C Merriam Co. in 1864, was the first to formally define inflation as an economic term:

undue expansion or increase, from over-issue; — said of currency."

https://www.clevelandfed.org/en/newsroom-and-events/publicat...

"its original meaning—a rise in the general price level caused by an imbalance between the quantity of money and trade needs"
GPT-2 generated satire news
Is there a search engine that actually combines selective search logic with reductive logic, so that can be used to actually search topically?
I wouldn't say the final vision is clear yet, but what I'd like to see would look something like a "liblinux.a", and you would compile your application using your normal compiler, and link it to this library to end up with a vmlinux that would run in a VM or on baremetal.

Actually achieving this is tricky: At the moment you need to use special compiler flags and a completely different link line from normal. Then there's the issue of how/whether the library Linux is configured generically or you somehow allow people to set CONFIG_* options.
> It does not apply in a scenario where you would statically link to the kernel.

That's not the interpretation everyone else uses.
It's easy to say that the reaction was hysterical when the change that users wanted was made (well sort of, there's still a whitelist for extensions with no definite end date). But if people just posted on the first HN thread "I don't like this" and left it at that, I bet they would have followed their original roadmap more closely if there was no outcry of the plan to replace the current browser with no extension support.

It's also worth putting into perspective that most of the "hysteria" is people posting their disapproval in HN/Reddit threads or putting thumbs down reactions on github comments. It's not like people were picketing Mozilla HQ.

I'm sure you can find examples of crazy people on Twitter, it's a group of over 100 dissatisified people, but that's certainly not the majority.
You can post them to various relevant subreddits (/r/whatsthisbug, /r/mycology, etc). Identification requests are very common and people are receiving them well, so you'll likely to get some answers.
All good questions without a clear answer at the moment. Bad pointers in the application can overwrite kernel data structures because everything runs in a single address space.
Ask HN: Accurate Movies/Shows?
Every movie featuring computers or programming is an absolute mockery of the field, to anyone who has ever written a program or turned on a computer. Most of the other fields that I have any knowledge of are similarly bad.

Are there any movies or TV shows which are accurate representations of the people and professions they depict?
This is one of my favorite subreddits. I don’t think I’ve ever even posted in it. It’s like real life Sherlock Holmes sometimes. Quite often people will post a piece of a car involved in a hit and run, and it will be solved in minutes. Or someone will post the oddest looking item, and not only will it get solved, but you’ll learn a bit of background that you never knew.
The Case Against Constant Positivity
https://twitter.com/nntaleb/status/1258931279317405696 and there are more tweets on that if you scroll the feed.
If stock prices represent anything concrete, how is it that Snapchat's market cap is higher than Ford's?

Do any of us actually believe that Snap's stock price is reflective of its value to society?

Today, stock prices are all about perception and company image. Most shares are non-voting, and don't pay dividends. And you can't take your stock and march to a company headquarters to demand that they give you something of value in exchange.

To an average small investor, shares in almost every company might as well be Magic cards. Their only value is to sell them later to a different collector.
Async/await split up your functions at their "blocking points" to fragments that can be run fragment-by-fragment, in an interleaved way by an executor / event loop, thus enabling high level of concurrency within a single OS thread.

The problem is that your split-up async function ceases to be a normal function. It doesn't use the stack in a similar way than normal functions. Furthermore, the executor / event loop is required for running those async functions.

So you can't call async functions from normal functions, because they aren't. You need to create an event loop and then hand the task over for it to process it. Your world splits up into sync and async functions.

Go and Erlang are going with the similar "lightweight thread" approach as Java's project Loom. On the other hand, JS, Python and C# have gone with async. I'm not sure if these languages actually need async, going with something similar as project Loom would have also fit, and would have been simpler from the user perspective, perhaps? But hindsight is 20/20.

Rust has also gone async, and I'd argue it's the only one of the pack who really have async/await as a necessity - this is because of two design requirements that differ from Java, C#, Python and JS: 1) must have native-level performance when calling foreign code that expects a C-like stack. Something like Loom doesn't provide that. 2) must not have an implicit default runtime.
> but we (meaning computer users) spent decades downloading sketchy executables for our Windows PCs.

This is sadly not a valid comparison. Our PCa have a far more critical role in our lives now, have far more power to hurt us, and are reachable by 1000x more malicious actors.

We are in a new, dangerous world. We need much better OSes with much stronger sandboxing for our modern world.
I used a Google Custom Search Engine (CSE) to remove results from Softonic and alikes, it works well, but still very Google.
Manga Rock Shuts Down Due to Piracy
People will be back on a plane and vacationing as soon as things open up. Just like people crowded the bars in Wisconsin as soon as they opened up. A loud minority of scared people is what you are hearing in the media. I have two vacations planned already.
So if your "userspace" payload is dynamically linked and loaded at runtime, it's no longer a problem? I don't think that there is a big performance hit for dynamic loading. Probably something like LTO won't work.
You can debug a normal kernel over the network. I imagine you can do the same with a unikernel.
Show HN: neo.mjs main thread addons
I’m interested in why you’d pick green potato’s
What about the other 40 windows?

Using two large monitors is bad for your neck.
Coronavirus: A third of hospital patients develop dangerous blood clots
Which alternative?
https://support.apple.com/guide/mac-help/use-emoji-and-symbo...
According to The United States Copyright Office (https://www.copyright.gov/circs/circ03.pdf):

Advantages to Using a Copyright Notice

Although notice is optional for unpublished works, foreign works, or works published on or after
March 1, 1989, using a copyright notice carries the following benefits:

• Notice makes potential users aware that copyright is claimed in the work.

• In the case of a published work, a notice may prevent a defendant in a copyright infringement
action from attempting to limit his or her liability for damages or injunctive relief based on an
innocent infringement defense.

• Notice identifies the copyright owner at the time the work was first published for parties seeking permission to use the work.

• Notice identifies the year of first publication, which may be used to determine the term of
copyright protection in the case of an anonymous work, a pseudonymous work, or a work
made for hire.

• Notice may prevent the work from becoming an orphan work by identifying the copyright
owner and specifying the term of the copyright.
Nice project! Not a quarantine project, but we've been building data frame abstractions in Python for genetics [1] [2]. We spent a lot of time studying the existing abstractions (pandas, R/dplyr, pyspark, etc.) Desinging a data frame in Python is an interesting and challenging problem. Our design is far from perfect, but I think we've found an interesting design point. Here's your example in Hail:

>>> vehicles = hl.import_table('vehicles.csv', impute=True, delimiter=',', quote='"')
>>> t = vehicles.filter(vehicles.make == "Saab")
>>> t = t.order_by(t.year)
>>> t.show(3)
+-------+--------+-------+-------+----------------+-------------------+---------------------+-------+----------+-----------+-------+-------+
| id | make | model | year | class | trans | drive | cyl | displ | fuel | hwy | cty |
+-------+--------+-------+-------+----------------+-------------------+---------------------+-------+----------+-----------+-------+-------+
| int32 | str | str | int32 | str | str | str | int32 | float64 | str | int32 | int32 |
+-------+--------+-------+-------+----------------+-------------------+---------------------+-------+----------+-----------+-------+-------+
| 380 | "Saab" | "900" | 1985 | "Compact Cars" | "Automatic 3-spd" | "Front-Wheel Drive" | 4 | 2.00e+00 | "Regular" | 19 | 16 |
| 381 | "Saab" | "900" | 1985 | "Compact Cars" | "Automatic 3-spd" | "Front-Wheel Drive" | 4 | 2.00e+00 | "Regular" | 21 | 16 |
| 382 | "Saab" | "900" | 1985 | "Compact Cars" | "Manual 5-spd" | "Front-Wheel Drive" | 4 | 2.00e+00 | "Regular" | 23 | 17 |
+-------+--------+-------+-------+----------------+-------------------+---------------------+-------+----------+-----------+-------+-------+
showing top 3 rows

Hail's tables are functional. Operations like `filter` and `order_by` return new tables. That means it would be an error to use `vehicles.year` in the `order_by`, since the input and the sort expression refer to different tables. Unfortunately, this means you can't use `.` chaining.

A little more background on the project: Hail's raison d'etre is a 3-dimensional generalization data frames we use for genetic data called a MatrixTable [3]. Conceptually, it is matrix-of-dicts rather than lists-of-dicts.

Genetic data is massive, so all of this is lazy and works on out of core data. The Python front end constructs an IR representing the query, it's fed through a query optimizer (written in Scala) and executed by a backend. We're working on multiple backends, but our primary backend right now is Spark.

[1] https://hail.is/docs/0.2/index.html

[2] https://hail.is/docs/0.2/hail.Table.html

[3] https://hail.is/docs/0.2/hail.MatrixTable.html
In case you are not familiar with neo.mjs yet, it is a new UI framework which runs inside a web worker to use multi threading to the fullest.

https://github.com/neomjs/neo

I just finished the main thread addons, so this is my highlight for the week.

In case you want to work with other libraries or tools which need to include their own scripts, you can now do this with adding addons to the main thread. Examples are highlight js, showdown, Google Analytics.

Each addon got an optional entry point: onDomContentLoaded, where you can import new scripts or stylesheets as needed. You can expose methods to other workers (in most cases to the app worker) to directly use them as promises.

Choosing which addons you want to use is convenient: Just drop each one into the Neo.config (e.g. https://github.com/neomjs/neo/blob/dev/apps/realworld/index....)

This way we can ensure, that the main-thread is as small as possible since each app only needs to include the addons it needs.

Under the hood this is working with dynamic imports. This does work in the dev env with no JS builds at all (Chrome 80), as well as the webpack build versions (dist).

Using webpack this was tricky at first, since the __webpack_public_path__ config is not sufficient: we only want to build one main thread for all possible apps, but app entry points can be on different folder tree levels. So, using publicPath for the main thread was not an option. A small override of __webpack_require__.p for the dist versions did already fix it though.

Feedback appreciated!
Hindsight is 20/20. Without lockdown it could have been significantly worse. And even if not there was no way to know beforehand.

As restrictions are ended any future waves should provide more insight into their effectiveness.
The absolutely most simple solution would be:

html {
filter: invert(0.95);
background: rgba(9, 9, 16, .95);
}

screenshot: https://i.imgur.com/vFko6OI.png
> I’ve long believed that the IT world moves in cycles but this is a very clear example of exactly that. Java has gone from green threads to Posix threads and now back to green threads.

No it’s not the same thing - Java was previously M:1, then became M:M, and now Loom is M:N and also preserves M:M at the same time.
Well, that may be, but we don't know when a concerted effort began. Just a guess, but this was probably a small team (or individual) trying some things out as an R&D project to see if it had legs. At some point there was enough promise so that the company put serious effort into it. That might have been 2 or 3 years ago. At any rate, it has company focus now.
If it helps, I've had many submitted articles flagged within a few minutes from posting them, the majority of them on debates regarding gender and neuroscience. My conclusion at the time was that they were being flagged by users who felt the articles pushed a certain liberal agenda (though that was not my intention). Despite that, I didn't conclude HN users in general have a certain political affiliation. Note that it only takes a few users to flag and bury an article and other users can do little to salvage a sufficiently flagged article.
I agree wholeheartedly. I spent so much time needlessly trying to be smart.
Sort of. Would a user use all of that compute if it all wasn’t wasted? Probably not. What we’ve done is “inflate away” (similar to fiat and central bank policy) the need for additional human developer time through Moore’s law. We all pay for this through annual tech spend, which keeps the advancement treadmill running.

Human time is expensive, so it makes sense to throw anything cheaper at the problem first.
Deadlines start now for safe voting in November
> My guess is this is a hobby for him.

I’m not sure what would give you that idea.

He’s said in interviews he expects that when the EDM thing takes off he’ll transition out of his role at Goldman. Apparently he had to cancel a couple weeks of shows in Ibiza after COVID hit.
> So it is political suicide for the government to let either drop in value for an extended period of time. Therefore, over the long term, house prices and stock prices will likely go up because politicians want to be reelected.

The obituary for Capitalism will point to this factor. The politicians killed it.
Start local, check your business district and/or chamber of commerce. Depending on your state (assuming US-based) also restaurant groups like frla.org. You can also try to target other companies thay already have large restaurant customer bases, but then you become a SKU in their offerings. It may be more about lead genertion than anything else.

Source: spent the last 5 years doing SaaS where one of the verticals is restaurants. I'm on the tech/product side, but some of these are things we've looked at for marketing and finding leads.
https://brewboard.app/ - shareable BrewBoards for home and craft brewers, right there on your nearest screen.

Initially hacked together the bones of this back in October lats year to fix frustrations with my chalk board (well, mainly with my writing and organization). Lockdown gave me the chance and impetus to focus in on this with lots of help from my awesome co-workers. We launched yesterday - but still have so much we want to add to this.

I wrote up some background here: https://www.suckingstones.com/2020/04/28/brewboard-backgroun...

If you're a brewer (particularly if you use Brewer's Friend - since we already have an integration in place) please give it a try and send us your feedback. We want to take the chalk board to a new level. Oh, and here's my board: https://brewboard.app/boards/MGMvq-wZ1ks4
> I fail to see how being in a well ventilated warehouse is risky

Just because you don't understand it doesn't mean it isn't happening.

https://www.washingtonpost.com/technology/2020/03/24/amazon-...
Are those kernel bypasses better than the Linux-based RDMA we've had for ages (on appropriate fabrics)?
Ask HN: Is there a search engine which includes only what the Chinese government wants me to see?
> We believe, paraphrasing a famous quote, that those who do not understand make are condemned to reinvent it, poorly.

Alas, I think the developers have in fact done just that. Make is not a build system. Make is a batch shell.

Build2 didn't produce a better make, they produced yet another C++ build system.
The Linux Kernel FPGA Subsystem
40-60% of the unexposed produce Covid-19 antibodies due to earlier cold exposure [pdf]
I wonder how it feels to engage at that level with a community which almost universally abhors your product. Any Oracle devs around to comment? ;)
Things breaking is the natural order of the world. No one needs an incentive to break anything, merely a lack of incentive to fix will suffice
1. Yellow pages or equivalent.
2. Maps software. Simply search for restaurants within a geographic area.
3. Coupon mailers. You can subscribe to these and get a ton of info about local small businesses.
That's not really that great of a reason
I built a search engine for this and other, similar purposes. With Crawl Crawler you start out by searching the meta data of a Common Crawl ("CC") crawl. Then you define a sub section of that data collection by designing a query which search result includes your favorite sites. Then you enrich that sub section by linking those meta data documents (that come from CC's WAT repo) to full text extracts or HTML from CC's WET repo or the WWW. Then you set it to recurringly refresh that section. Voila! You have created a search index that includes your preferred sites. https://crawlcrawler.com
Some of the classic recession indicators (Sahm, Chauvet) are just starting to peak [1]. Both have led multi-year declines in stock prices. Is this time different from last time and the time before that?

[1] https://fred.stlouisfed.org/graph/?g=qYNJ
'not' and 'not x not' are paths, 'and' and 'or' are computations. ('not x not' is just the path on a pair that applies 'not' to each of the two elements - products are pairs, sums are either-or). Diagrams like this generally express a theorem as the diagram commuting. So the theorem is that if you compute 'and' and then lift the result along the path 'not', that's the same as lifting the input along the path 'not x not' and computing 'or'. More mind-bendingly, but ultimately more powerfully, it's also the statement that if you lift the whole computation 'and' along this kind of higher-level path that applies 'not' to everything, the result is 'or'.
NHS may say 'no evidence' - but it seems likely what they mean is that nobody has done a vitamin D-coronavirus trial. So it isn't that there is no evidence but rather the evidence is not overwhelming.

"No evidence" makes it sound like there is actually no evidence. There is evidence - it just got linked in the two comments that make up the root of this thread.
> Google does, however, have a monopoly on search traffic; if Google delists your site, it has effectively disappeared from 90+% of peoples' (mis-)conception of the internet[1]. A government the purports to support a free market must[0] regulate the latter case.

As much people talk about Google's monopoly, I've not seen anyone bring up this point, which is what I was talking about in my previous comment. And I would absolutely agree with you that this could represent an issue of abuse of your position in the market. Would the next step be to prove this abuse occurs? For instance, if I google "maps" I'll get google's maps first, for sure. But I'll also get apple's maps, bing's maps, open map, and mapquest on the first page.
Dark mode is an accessibility and ergonomics feature that should be supported by websites through CSS whenever possible. Of course browsers need to support it in the first place for it to work, but that seems to be mostly the case:

https://caniuse.com/#feat=prefers-color-scheme
That's not how simple preferred works. That would be participating preferred. And I'd strongly suspect this is simple preferred, as participating preferred is exceptionally rare for Silicon Valley-type companies (it does happen though).

Investors get either the 1x or convert to common. So the most recent investors will take their 1x ($72mm if public sources are correct, which might include some shares bought by previous investors), but previous investors are likely to convert to common if their price per share of purchase is below the acquisition price. But even in your simple example, the $250mm is only split between founders and team, the shareholders who take their 1x are done prior to that point.
Sunday seems like a good day
How anyone can continue to place so much faith into dogmatic science, after the global and nearly universal failure of these same institutions to properly prepare for and handle covid, is beyond me.

This post is pure fear porn. Environmentalists have been making these same doomsday predictions since literally the 60s and deadlines continue to come and go without incident.

Look, the papers that predict what's more likely to happen aren't sexy, so they don't get read much if they're published at all. The truth is that based on all of our evidence regarding the speed of climate change in the past, if there's any change from human emissions it will be slow and take on the order of 100+ years, during which time the only measurable indicator will be an increased rate of turnover and spending for infrastructure projects, maybe a slight uptick in immigration, as we have a bigger storm or a bigger flood here and there.

That doesn't even mention the potential benefits to climate change - there's nothing that says that the earth won't potentially have more fertile land area if the permafrost thaws, for example. But such an attitude is clearly not popular among alarmists.
Learn-To-Hack.com hack your girlfriend WhatsApp for free
Hmm, my machine doesn't.
But you aren't betting on the economy, you're betting on the perceived value of current publicly traded equities. For example, if a company you invest in goes bankrupt, you don't get that money back later when the economy recovers.
I’ve got a bit of a hypothesis about why we’ve seen a decade+ of near-0 rates with virtually no inflation. It’s all about the wealth disparity.

The wealthiest already have huge amounts of money saved and invested in the markets. Adding to the money supply primarily benefits those who already have the most money. So something like 80% of new money winds up in the hands of the top 1%, who save it, consume no extra (aside from stocks), and have no impact on the basket of goods.

I think this also partly explains the high P/E ratios we’ve seen over the past decade+.

Nothing in economics is that simple. But this feels reasonable to me. Anything I’m missing?
That's specific to Coffeescript. Implicit returns in Scheme don't do that.