skysight-inc/HackerNews huggingface dataset:
I am all in for Rust in the kernel (as drivers) and I am really curious of how they will manage sharing memory across boundaries (user <--> kernel spaces).

For example, an H264 encoder/decoder module in the kernel: let's say I have a Freescale/NXP i.MX6 platform with a HW H264 decoder, and I have to create kernel module to talk to it. Then use this module from an user space application to decode a video file.

What I did (modified actually) in the past is a module that allocated a couple of (aligned) buffers in video memory and then passed them around between the HW decoder, kernel module and user space application.

This is usually done to not force a deep copy of >100KB buffer for every decoded frame. This memory is shared between different parts of the implementation, meaning that the same buffer belongs to up to 3 parties at any given time. Also, the allocation is done once and lives for the entire application life, usually allocating like 3 buffer so when one buffer is being decoded I can still use already decoded buffers for writing them into a file.

I know there is an alternative (hack?) using something called Pin (possibly clashing with, like, a GPIO Pin?) but I didn't get so deep already with Rust to really understand it.

Ah! whatever driver/module they do, it should be accessible with C. So Rust must fill the gap between "Some C code in userland" <--> Rust <--> "More C code in the kernel", so I'm really interested to see how ownership works in this case.

Userland C app says: "Hey Rust kernel module, take this struct and do something", the I go and change the contents of that struct from another thread in my userland application. Would this be possible?
Burning that kind of fuel near populated areas is a problem, so long-distance shipping is probably the best use for it.
The effort & equipment required to perform such an upgrade is significant and is very unlikely to be used at scale for defeating market segmentation.
Let's Encrypt has de facto monopoly. I think we could have added HTTPS if we had dozens of projects like Let's Encrypt otherwise this is just handing over too much control to one organisation.
Silicon has been suggested as an alternative to carbon as basis for biochemistry. Ammonia-based life has also been suggested (and is also a rather common sci-fi trope).
Millions of people get screwed by the healthcare system but when writing an article about what that looks like you've got to pick a few relatable cases to follow.

There's no unusual nuance in this case. That's the point. It's a very typical example of a pattern that's happening all over. Money shows up and destroys culture.
Then just sell only to the people what went last year first if this is your explicit goal? You could also use some sort of sponsor system if you want to preserve some sort nerd purity; it just seems more honest than using an onerous ticket buying process to reach that same goal of preserving the visitor mix.
There's a balance there - the court records need to be public so that the justice system can be held accountable by the public in some way, and records need to be available to inform precedent for future decisions. That needs to be weighed against what you mentioned, the impact of the availability of those records on the people they are about.
Because they support rms obviously.
I'd be nice : do you have a mail address ?
That's what I use as default.

But IMO it is a far cry from 2007 Google and only holds a candle because Google has nerfed itself.

And sadly, much of it isn't because they don't have resources for AI or even larger index but because of the same QA issues that Google has struggled with:

- including results that doesn't contain my search terms / too much fuzzing

- ignoring double quotes

Both probably in order to please the mythical ordinary/average user I guess.

Guess what: techies got me to change to startup Google and I guess we will get people to change to another search engine as soon as one is ready.

In the meantime I use DDG. The difference is mostly negligible now and when it isn't it is 20 times faster (I don't think this is hyperbole) to mash in a !g at the end of my DDG search than the other way around.

FTR: same goes for browsers. For me Firefox has always been best, but they have nerfed themselves and keep ignoring us techies to such a degree that I will - if necessary - pay monthly to get a safe, supported version of the same with my old extensions working, but not to Mozilla Foundation, only to the Corporation (the ones who create the browser) or someone else.
The Wikipedia article on the Hutter Prize should have a cross-reference to the Loebner Prize as there's a close analogy and some of the same criticism applies, I think.
Wait, so all the papers you were part of had more than 1000 authors?
Some DBs support "literal tables" which makes this a little less nasty:

SELECT n FROM (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS d(n)

for instance:

SELECT seq = units.n + tens.n*10 + hundreds.n*100 + thousands.n*1000
FROM (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS units(n)
CROSS JOIN (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS tens(n)
CROSS JOIN (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS hundreds(n)
CROSS JOIN (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS thousands(n)
WHERE units.n + tens.n*10 + hundreds.n*100 + thousands.n*1000 BETWEEN 1 AND 1337

You can make it neater still by making the sub-table with a CTE:

WITH Digits AS (SELECT n FROM (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS d(n))
SELECT seq = units.n + tens.n*10 + hundreds.n*100 + thousands.n*1000
FROM Digits AS units
CROSS JOIN Digits AS tens
CROSS JOIN Digits AS hundreds
CROSS JOIN Digits AS thousands
WHERE units.n + tens.n*10 + hundreds.n*100 + thousands.n*1000 BETWEEN 1 AND 1337

or

WITH Digits AS (SELECT n FROM (VALUES (0), (1), (2), (3), (4), (5), (6), (7), (8), (9)) AS d(n))
, Thousands AS (SELECT seq = units.n + tens.n*10 + hundreds.n*100 + thousands.n*1000
FROM Digits AS units
CROSS JOIN Digits AS tens
CROSS JOIN Digits AS hundreds
CROSS JOIN Digits AS thousands
)
SELECT seq FROM thousands ORDER BY seq
WHERE units.n + tens.n*10 + hundreds.n*100 + thousands.n*1000 BETWEEN 1 AND 1337

though at that point you probably have the recursive option so you'd need to test to see which is more efficient. As a further hack you can combine this and the recursive CTE to extend the number of rows you can return when recursion limits would otherwise be a problem.

You can also use simple window functions to make a sequence from a system table that you know will have a few thousand rows:

SELECT n=ROW_NUMBER() OVER (ORDER BY object_id) FROM sys.all_columns

Or if you just need a few thousand rows to hang randomly generated data from you don't even need the function.

All a bit hacky compared to some DBs that have sequence support, but useful for generating test data or numbers tables where that isn't supported.
I really struggle to believe that "Google" thinks this itty bitty extension that a rounding error % of their users use would have an impact on their buisness model, which was grounds to kick it off the store.

This "just" sounds like the typical story we hear so often of an overzealous "app" reviewer waking up on the wrong side of the bed and just decided to delete someone's product and/or business (which is a huge problem itself!)
A Dutch auction is more or less strategically equivalent to a first-price, sealed-bid auction.

The advantages of VCG over that would be:

- it's easier to implement. Dutch is admittedly easier to
understand, but with VCG your average buyer would only need to fill a box in a form.

- there is provable dominance of truthful bidding

There are also downsides, admittedly:

- it doesn't maximize seller revenues

- it doesn't work if all bidders collude (unlikely in this scenario)

- a dishonest seller could use shill/fake bids to increase the going price
Prince Harry Joins BetterUp as Chief Impact Officer
>Of course the prices are going to increase. If the supply is the same and the demand increases, the price increases. There is nothing anybody can do about that.

The profit over the targeted ticket price could be returned uniformly to ticket holders. I guess this would be hard to do in practice and may complicate bidding strategies but it would avoid price increases.
Unless I’m very much mistaken, the Suez is in Egypt, so the detour would be around Africa.
Around the horn of Africa. The Suez canal is in Egypt, Africa. The Panama canal in in Panama, central America.

You are thinking of the wrong channel.
As a side-thing, I'm building PriceUnlock, something that would help people price their SaaS products (aimed specifically at SaaS products)

Essentially, you'd add a few lines of code and then use our dashboard to:

* Set up pricing campaigns (with rules: e.g. show $29/mo for month 1, show $99/mo for month 2 etc)
* Set up localised pricing, so you'd stop leaving money on the table by charging US-prices in lower-income countries

I've announced it here: https://bychgroup.com/price-unlock/ — Would be curious to hear other people's opinions as it relates to Lenny's article
> Let's Encrypt has de facto monopoly.

Is that even remotely true?

There are alternatives to Lets Encrypt - AWS has an equivalent project where they issue free SSL certs for AWS resources.
This is a very, very, very naive take.

Laws like this exist to only be enforced as needed to screw people as needed. Of course there is not going to be a big enforcement push because that's not the point. The point is to give busybodies a means to screw their neighbors under color of law.
My personal theory of modern software development is that the #1 and #2 things you can to do improve software quality are:

1) Make sure devs can run a realistic version of the whole stack locally.

2) Drive incremental build times and effort on the whole stack to zero.

With today's world of frameworks, dependencies, and microservices it's too hard to just "think through" a change. You need to try it, adjust, and try it again. Reducing friction on the iteration cycle makes this task pleasant and increases the likelihood of discovering the best solution. When this cycle is painful devs are likely to stop at the first working solution (or even partially working).
> Some organizations have stopped counting papers with over some number of authors (i.e. 1000) which is progress

You reminded me of this classic paper: https://improbable.com/airchives/classical/articles/peanut_b...
This kind of problems are present everywhere where empty headed suits allocate resources without a clue of the field.
I haven't compared the severity of lockdowns or intensity of travel in China and other countries. I've never been to China. But, I've read that it's a very complex society with tons of different ethnic groups, massive inequality, massive migration waves back to the cities and forth, massive problems like tuberculosis rate 20x the TB rate in the States, so saying how they just lock every single human down seems like a bit of an oversimplification to me. But what do i know.
That's a skill that's useful to anyone. Like budgeting or being able to cook. It's not an answer to "what comes after coding?".
> Still slower than Java but I think it's well worth it for the productivity gain.

I have never seen this play out it practise. The most productive engineers I know can touch type well and know their editor/IDE inside-out, have a solid grasp of the basics and preferring not too many abstraction layers, and a workflow optimised for fast dev cycles.
Sure, build your startup with Scala or Haskell - I'll bet on the Ruby / Golang / Lisp competitors.
DNS cache poisoning, bit flips, and other such attacks. It does nothing for your site's confidentiality or availability, but it ensures the validity of the DNS records.

Scummy DNS providers like commercial ISPs tend to hijack certain DNS queries for their own gain. With DNSSEC they cannot do so.

Furthermore, with the slow but soon irreversible switch over to DNS over HTTPS, with all the DNS centralisation it brings, knowing for sure that nobody tampered with DNS records is a necessity.

Additionally, DNS records are also used in technologies like encrypted eSNI headers. If you are able to supply bad or old eSNI data to another site's cache, that might cause slowdowns or even breakages when eSNI or its successor eventually rolls out. Alternative PKI solutions also store TLS public keys in DNS records, so those are essential to get right as well.
Yes, but obviously, there is more work to be done to secure our human rights, as you point out.
Chrome's dev tools just work better for me, too. For instance, when there's an error in the console, clicking on the filename/line does nothing most of the time in Firefox now. I once fixed it by resetting firefox (per some instructions on the web) but it broken again within days.

Chrome's just works, every time.

Oddly, it sorta worked for me in FF the other day, but it took me to the minified source, which wasn't terribly helpful in an app that I'm writing.

I still use Firefox 99% of the time, but it really pains me that that one feature is so broken.
Yes it’s a very difficult balancing act, (I assume CAC means Customer Acquisition Cost) and there are a lot of overheads they need to cover. Figuring what the right price is to be competitive but also cover all marketing and other costs is not easy.

Of course as a customer I want the best deal for the lowest price, so I guess one should take the view of a customer with a grain of salt unless there are competitors who can beat you on price and adequate quality.
Even if you excuse his terrible personal opinions and his egregious personal hygiene, you cannot excuse his behaviour, specially around women.

https://twitter.com/_sagesharp_/status/1173637138413318144?s...
Usually the European entity is a separate company, technically you can still work for the American MS or the Swedish MS for example.

Having said that, taxation is usually based on residency so it is definitely exposes you to tricky tax rules and procedures and complicates things like pension or health insurance.
https://xkcd.com/1831/ relevant xkcd
Cities are different. Copenhagen for example is the opposite of what you describe. I’ve walked miles and miles in Copenhagen. My head tilted just a little to also see what is above the shop fronts. A lot of beautiful architecture. Very inspiring. For a period I lived near a very large cemetery. Many many peaceful walks there. Not a living soul there to disturb your creativity.
I see "unsafe" more like "this is code that the compiler can't prove it holds its invariants, but in fact it does and I hope the programmer added a comment to explain why".
Democracy is emergent behavior, you need free and fair elections and the general public to vote. Elected officials are a tiny part of that, just as an individual cell of your body is no more you than a single person is a country.

Science is similarly emergent behavior. You need the exchange of ideas, not just say a science fair where people go through the motions of experiments, but those experiments don’t get used by others to design new experiments etc.
Every organisation in Poland I've worked at has used google docs and GSuite.

On the other hand, we're mostly using it for few page design doc, and have no idea what "final professional doc" or what "proper section numbers" are and why would anyone care.
> When critics mention this, they point to merchants pretending to accept Bitcoin but in actual fact enrolling a payment processor to instantly convert it to fiat.

That argument strikes me as something that doesn't take into account the fact that the fiat currency system is essentially a legacy system that some are trying to replace.

Of course the safest approach to this would be to try to decouple from the legacy financial system at the interfaces, like the payment gateways. Ship of Theseus style, the entire legacy system could be replaced in place with the participants able to continue trading in the meanwhile.
Versace Owner Says Routine Cleaning Can't Stop Covid Harm; Seeks 1.2B
>Do white people not work on their cars?

Rich (mostly) white people who want these kinds of laws and draft them on behalf of their constituents don't.

This is basically a blue collar vs white collar thing.

The people who are really rich don't care either. Their houses are more than the minimum setback apart and they can afford fences if they don't wanna look at something and they can afford big garages and barns to work in so as not to annoy their neighbors to the point of building fences.

Caring about what your neighbors do is solidly the purview of upper middle class busybodies.
We joke that they are testing GPT-3 on that site.
Self-disclosure: Mojeek CEO. On your points:

- Our search engine works and has been doing so for >15 years. Our search quality needs improving but does so gradually. And it's independent; our own crawler, index and infrastructure

- We just introduced non-tracking search ads: https://www.mojeek.com/support/ads/

- We use "No Tracking , Just Search" and "Search without Surveillance"

We've been building for 15 years; here's our founder story: https://news.ycombinator.com/item?id=26502140
Even 30% of your employees have significant bargaining power - losing them all at once could be devastating to any entity.
Yeah, but recursive CTEs are a different beast and still do not support pushdown. I am not sure if any database supports pushdown into recursive CTEs.
Is there any objective context here? What has RMS said, what are the attacks? I assume there are also fair, clear-headed criticisms of what he has said and how he said it.
I wasn't mean to get at them specifically, just to indicate that when you were used to what the high end CRM SaaS companies charge, $99.50 for unlimited users does seem exceptional. Mind you, if they can deliver on that for that price good on them!

Edit: I do admit to being a bit suspicious about anything that promises unlimited availability of any resource for a fixed price.
where opting out of tracking is not a possibility for anyone but the most technically inclined (although that's almost already the situation now).

DNS over HTTPS is another example of Chrome trying to workaround means of blocking tracking.
Envssh – environment friendly SSH client demo
For what it's worth this argument - that users are actually able to switch to Android if they don't like the iOS app store and that consitutes competition - will be tested by the courts in the Epic vs Apple case.

Epic says this is not a real factor for consumers, despite it still harming them.
Only for infinite number of parallelized processors?
Having had a few nights out in the Knaack, that was sad to read. I lived in Prenzlauer Berg for a short while in the mid-nineties and the clubs were a larger part of what Prenzlauer Berg such an interesting/happening area to live in. Before that, I had lived between Biesdorf and Marzahn – which was a quite a different experience (for a bearded, long-haired “auslander”).
Thanks for this! I had no idea this existed and am quite intrigued by it :)

I quickly run into a segmentation fault of macOS though when trying to choose a sample...
I question the view that being privacy and performance oriented are at odds. In practical terms, there is likely to be some correlation as surveillance often uses more client-side resources.
Coronavirus: 'Double mutant' Covid variant found in India
Yes, the voucher code is the best solution I have seen to this problem. It still has all kinds of problems, but it's the least bad fix I know of.
AFP reports gust of wind.

> Early reports speculated the vessel suffered a loss of power, but the ship’s operator, Evergreen Marine Corp, told Agence France-Presse it ran aground after being hit by a gust of wind.

https://www.theguardian.com/world/2021/mar/24/huge-container...
I find it funny how you're contrasting labor centric and free market.

What is the market based on, if not labor? Why do you consider that caring for that labor is anti-"free market"? I guess a purist might think that even a minimum wage is anti-"free market", but I'd argue that such purists are living in an alternate reality and that argument is wrong.
The article focuses on server-side Node, rather than its role as a CLI tool. Compared to V8, Ruby, Python, and PHP are not performant. Node’s libuv network library was highly concurrent and Node built single-core concurrency into the runtime and libraries; multi-core concurrency, however, is not best-of-class.

IMO, Ryan Dahl made two fundamental mistakes in both Node and Deno that make them uncompetitive for simple server-side 12-Factor Apps: 1. No web Gateway Interface like WSGI and Rack, and 2. No DBMS API/SPI like JDBC. Express was supposed to be a Microframework like Sinatra and Flask but developers have to spend most of their time defining a robust web server. Since the http server and app code are tightly integrated, 12-Factor Apps or JSON API Microservices are more complicated than they need to be in Node. The lack of a JDBC-like API/SPI hurts many languages included Node and Rust.

The GIL languages are not performant nor concurrent but they have good httpd/dbms interfaces. All the popular server-side language/runtimes are flawed along some fundamental dimension. Server-side REST shouldn’t be this complicated.
Perhaps it is best to implement algorithm D in D language ;-)

Joking aside, since D natively support inline assembler it won't be a poor compromise and trade-off for algorithm D implementation in D.

[1]https://en.m.wikipedia.org/wiki/Inline_assembler
>only the crazy ones would still venture out in that stage.

Depending on location, that could still be a useful segment to exclude. People takkng their kids on a long-planned and long-promised visit to an attraction, who wake up feeling 'a bit under the weather' may be tempted to go anyway.
Very unlikely. Germany had no chance of invading Britain as its navy was a joke. Without invading the Soviet Union, it would have run out of oil even faster than it historically did, crippling its ability to defend against bombing attacks.

Without an Eastern Front, more troops may have been available to defend against a naval invasion. But eventually, Stalin would have likely opened the front himself. Even if not, a lot of troops would have been necessary to guard against a possible Soviet invasion anyway.
Fun Fact: While Phoenix is indeed in a desert, it is a high desert (unlike the Mojave desert in Southern California), and there are canals that bring water from the Northern part of the Arizona, which has more mountains (in terms of square miles) than Switzerland. Also lots of great places to go skiing.

Arizona has so much water that historically it spent 2/3 of its water on growing water intensive crops like alfalfa and cotton. The nice thing about growing crops in the desert is year round sunlight allows you to get more harvests in. As rain damages cotton, the ideal place to grow it would be something like a desert with canals bringing in water from mountains nearby.

But semiconductor plants offer much better revenue per gallon of water than alfalfa or cotton, so it makes a lot of sense that Arizona is trying to migrate its water allocation to higher value-add industries, and of course the state would rather be known for semiconductors than for cotton.
Call me chaotic neutral, but an auction for a Penny Arcade convention should really be a penny auction.
Nothing to do with the article, SQL, or a DB, but I can't help wanting to add even just a bit when I see array languaes mentioned. So, in J it's just:

?~1000000

or, if you don't need elements to be unique:

?$~1000000

Though it's just an array, not a persistent table - I don't know much about Jd :(
Yeah, I think your absolutely correct.

Gardening is actually quite hard in this regard. Everyone is always sharing tips and tricks, for different crops, different species of said crops, different climates, different soils, different hemispheres, different sides of a mountain etc

I think there will be a cool database where you can filter by those factors one day but not sure we are quite there just yet.