skysight-inc/HackerNews huggingface dataset:
> NES Tetris is both a pretty good implementation to be enjoyable, and it's unchanging in a way that makes it ideal for competition. It is gaining new players to this day.

Not only new players, but also new techniques (for fast side movement):

After 1. DAS (holding the d-pad) and 2. Hypertapping (rapidly tapping the d-pad with one finger) now there is 3. Rolling (rapidly tapping the controller with multiple fingers in succession). The geekiness is strong with these.

https://kottke.org/21/05/new-nes-tetris-technique
Wow, all that code is needed to feed a string to WebAssembly.instantiateStreaming()?

What does the code do?

I was hoping there could be a trick like feeding a "blob:..." url to instantiateStreaming() or something.

Since the bottleneck of a codebase typically is a single loop, I think it often would be a good approach to rewrite that one in Webassembly by hand.
> Since it’s selecting people based on race.

This can also apply to antiracism, which as I understand it [1] is policy that attempts to undo structural racism, not policy that is absent of race-conscious treatment. I think this question would also be more interesting to answer because everyone already agrees that affirmative action literally does factor in race. The more controversial part is whether it serves to reinforce or counteract some forms of systemic racism.

[1] From a modern viewpoint (e.g. Kendi), although I'm not sure if this word previously had different uses.
I shared it below in reply to another comment :)
We can thank developers for the widespread usage of "telemetry" in apps. (Even the word "telemetry" is designed to mask it's real meaning: tracking. Would any developer use the more honest word? Of course not.)

If you want to learn how your users use your software - simply ask them. There are lots of cheap research methods from the usability field.

Expect more telemetry in desktop apps, particularly with the rise of Electron.

Developers don't oppose these developments, they are often the ones who initiate these tracking features in the first place.

Witness the popularity of Electron-based Visual Studio Code with built-in telemetry. Most developers could not care less.
You can get a link to a particular comment by clicking on the timestamp next to the posters name.

May I recommend an organized note taking system copying the literal text and link for reference. I like org-roam with a hotkey to capture title and if existent any highlighted text.

https://github.com/org-roam/org-roam

There are of course about a million ways to skin this particular cat and plenty of them are good.

The benefit of using your own system is that you can trivially reference information from many websites via one method instead of relying on the many and varied features of many sites. The benefit of copying the full relevant text is both that you can search that text and if a site or a comment goes missing tomorrow or 5 years from now you aren't out the information.
The github readme mentions that it used to be built on top of the old Mozilla XUL stuff but recently switched over to Electron. That's probably why it only ran on old FF.
Quitting and chosing a better place to work is a perfectly valid way to claw your way to the top. Your top. Not their top.

Changing a job is not easy; it requires strength too. It's not always the right thing to do, but it's not necessarily a sign of weakness; au contraire.
Assuming it's anything like its predecessors, everything since the NXT has shaft encoders built into the motors, which was nice considering you had to eat two of your three sensor inputs on RCX robots if you wanted to drive in a straight line...
What exactly is Timescale DB, is it built on top of Postgres or a plugin for postgres or postgres API compatible DB built from ground up?
The Swiss Army Media Knife
I have to say that M$ has screwed up diskpart in some versions of Windows. Sometimes it simply cannot clean the disk correctly after being formatted using some other tools such as Rufus.
Record Berkshire Hathaway share price breaks Nasdaq
No cloth-like material on walls is used to absorb reflections of sound, it's not needed, usually a modest amount of furniture, wooden flooring and perhaps some curtains on the windows are enough. I think when we speak about residential buildings, the rooms are not that big and there are not a lot of people in a room at a time, so it's not really an issue. When you have a pub full of people and the owners didn't think about acoustic treatment, it's a different story of course.

Rugs are not 100% coverage but the rugs that were used here in the past were maybe 90% coverage? Like not glued to the floor but covering most of it. So these are not popular anymore.
Rufus is nice and all, but these days I want a dozen different OS installs and live cds on not-a-dozen thumb drives. YUMI is my one-stop shop.
> If we apply Occam's razor [1] decision between "Wuhan, however, is home of the Wuhan Institute of Virology, a leading world center for research on coronaviruses" and "Wuhan, there is a wet market where under certain conditions virus can jump from bat to monkey to person" is relatively straightforward

Heh, what is the Razor or other applicable language construct when someone gives two options and then suggests there's one they think is obviously correct, without saying which one or why - leaving it completely opaque or confusing to the casual reader?

I legit do not know which of the two cases here you think Occam's Razor applies straightforwardly. I can make easy cases for both sides being the simplest explanation.

e.g., "it seems simplest that the leading world centre would have excellent safety protocols and thus the chaotic wet market in a region known for those viruses is more likely the source", vs "it seems simplest that human error in a research environment studying these viruses compared to a wet market where, if that was a likely vector, we'd surely be seeing these things way more often", kind of thing.
Well content ID is bad for some cases like classical music where if you perform a piece that is in the public domain it will get claimed because the system apparently finds it really hard to distinguish different performances of the same piece.
You’re not wrong (though I’m not sure what 1800 has to do with anything...I was just pointing out, as you also do, that by 1900 the state’s forests were gone), but:

> Really the problem in California is that a lot of people from the East Coast have moved here and decided that forests were some precious resource that needs to be preserved

That seems pretty speculative. Doesn’t it seem more likely that people just don’t want the forests near them to burn, so that their houses don’t burn down either? And now, most of the state is “near” someone?
The parent poster gave you a great example in terms of the same resume getting fewer call backs with a black sounding name. Instead of dismissing it as a conspiracy theory it would be good to understand it.

https://hbswk.hbs.edu/item/minorities-who-whiten-job-resumes...
Those are exceptions, should not change view based on that.
No animal can harm humans like we do others.
LEGO Mindstorms was easily the best gift my parents ever got me in terms of setting me on the path I'm on.

Younger me was ecstatic getting a Robotics Invention System 2.0 set for Christmas in 2001 (anyone remember the yellow RCX?), along with the Vision Command and Ultimate Builder set kits. Ended up joining a robotics club shortly after because I wanted to enter the competitions.

I started learning Java and C after I got bored with the block programming interface with LeJOS and brickOS.
Responsive Admin Panel or Dashboard Using Flutter
A bird is smaller than a missile and has a weaker radar response than a stealth fighter. Being able to track a bird in flight over the sea, while yourself flying far above and much faster than it, clearly communicates you'll also be capable of tracking enemy missiles and drones from distance. For technology in active military service it is impressive.

It's also not about "shaking in their shoes", but about making the other powers aware. This is the soft war that's been happening ever since first two human groups met each other - showing off your sticks and stones to deter others from trying to attack you in the first place.
Whether we like it or not, the narrative has already become about China. That is the reality. Geopolitics, Military brinkmanship, Economic realities all are at play here. In spite of all this muddying, our Scientists/Investigators need to work together to get at the truth. Else the Racists/Jingoists/Warmongers will paint a facade to further their nefarious agendas. Condoning it now will truly open the Pandora's box of "Biological Weapons".
You're a bit too trustful towards the flawless functioning of the scientific community. Scientists are humans and are prone the same group think errors like everyone else. Historical examples are plenty, e.g. Darwin was ridiculed by his peers about his theory of evolution, or the more recent erratic theory that coronary diseases are purely caused by eating too much fat and not by sugar.

In this case, as the article mentions, there was a conflict of interest as well that might well have motivated some leading scientists in the field to campaign against the theory that the Wuhan lab was the source of the outbreak.
Shelljs – Portable Unix shell commands for Node.js
Yeah, feels like they should use the Haskell IO monad "do" notation style where the await is implicit unless you use let.

This would require the scripts to no longer be vanilla JavaScript, but it seems easy to extend sucrase/babel to do that transpiling.
I prefer C, but I technically write C++ because my “C code” sometimes uses references instead of pointers. (Why did that never become a C feature, anyway? It’s completely independent from OO/exceptions/templates/etc.) Luckily, in most any environment you can name, installing a C compiler actually implicitly installs a C++ compiler as well; so I can hand my “C code” library to people and tell them it’s C, and the fact that there’re a few .cpp files in there won’t be a problem, any more than having some .asm files in there would be.

I’d like to use std::string as well, but I want my code to externally obey the C FFI, rather than the C++ one (I.e. no need for the linking code to know it needs to initialize the C++ runtime), so I can’t really use any STL. Still wishing C had a standard, portable, found-in-all-compilers prefix-length strings library...
The out of order initialisation is not supported because it would be confusing with the order of destruction.
Note that initializing the members in a constructor in a different order is allowed, but they are actually still initialized in the declaration order. That's quite confusing and most compiler warn about that. So in a way it's good the same mistake was not done in designated initialized.

I don't know why the array notation is not allowed in C++.
> I can't imagine most people don't just tune ads out most of the time.

"Most" means "not all".
The above un-informed screed is amusing, since it illustrates how the left thinks they know what they're talking about and what's best for others, when they have no clue.

>> he doesn't move in the same social circles as those elites
> That's just untrue.

It is true - Trump never was a New York A-lister or B-lister. He could move in business circles, but not social ones.

> they will keep drawing the wrong conclusions about what to do.

His supporters wanted a wall, and he started construction on it.

Harris is supposed to be the immigration czar, yet she's afraid to be photographed near the border, because there's no wall.

The CCP engaged in trade violations, and he addressed that with tariffs.

Sounds like the right conclusions to me, even obvious.

> Trump supporters don't like reality as it is

His supporters like that he was willing to be their voice against the establishment in competing globally in the job market against illegal aliens, instead of being dismissed by the left as "deplorables."

> you never need to switch jobs

For most people, especially as they get older, there is no option for switching jobs - either you get on long-term disability or you're homeless. This one phrase proves how out of touch you are with reality.

Sometimes people don't appreciate what they have until it's gone.

The Democratic party and White House staff are infested with CCP lobbyists, including Biden's family and his Chief of Staff. Since the CCP has been in a cold war with the US since the 1950s, I hope it turns out well, but Trump/Pompeo had a clear strategy, and Biden doesn't.

As an illustration of what the CCP wants, consider rare earths or 5G. China has world-wide monopolies on those - but their goal is world-wide monopolies on everything, regardless of dumping rules.

Trump was the best and most productive US President in the past 75 years. Shame on the left for two baseless impeachments that prevented our leader from even accomplishing more.

You should know what you're talking about before posting screeds on HN. But then I could say the same thing about most of the left - it would be nice to have paradise on earth, but Marxism doesn't get you there.
sounds interesting, but wondering if this will be something we can download and play with, or if its just them showing off and we cant get our hands on it...
All IO in JS is async, you either have a Promise-based API (which can be sugared with await) or callbacks. The only exceptions are Node APIs which are explicitly synchronous in their names and CommonJS require. All of which are either discouraged or being generationally phased out (CJS->ESM).

That it extends to the $ function (anything preceding a backtick in JS is a “tagged literal” but also a function call) is just API consistency because it can’t know whether you’re calling exit versus something which actually performs IO. So it always returns a Promise.
Also,this sars cov-2 virus will not infect bats. That really hurts the 'it came from the bats' theory.
I made first tests with Timescale 10 days ago with logs of a website.
First result, I was impressed by the compression: 13GB of compressed CSV files - 1 PostgreSQL table of 63GB - 1 Timescale hypertable of 4GB.
Then, I saw improvements on the performance of my queries, between 23% and 92% faster on the hypertable versus the table.
This is definitely interesting and I will look into it further. I'm getting from "it's not a good idea to put weblogs on Postgresql" to "why not, if it helps simplify our infra".
Precisely. Articles such as this, without metastudy to back up spurious claims, are the horoscopes of the modern age! Project your own culture upon it and espouse the 'correct' creed.
I’m a full stack engineer at a YC funded start up
... OR YANDEX
Where does your wastewater go in your city? As long as you are not bottling it up and selling it out of state, isn’t most of it returned to the California ecosystem?
Ask HN: Charisma (faked) trumps (real) technical skills?
Apparently, in the society we live, somebody who is more skilled than a more charismatic person is usually not going get as many opportunities.

I know this from first hand experience, as I am a highly skilled person and people seem to consider me as uncharismatic (which is an illusion, as I actually can be very charismatic if you actually get to know me in a positive way).

The thing is, the universities and many people otherwise on a power trip (such as the "Julia Stewards") fail to invoke the hidden charisma inside me. So to them, I seem as a very uncharismatic person who needs to be ostracized and banned.

So, a highly skilled person like me who is perceiceved as not being charismatic (due to having a spine and backbone against people on a power trip), will be ostracized and banned and not get opportunities.

However, the less skilled people who are perceived as charismatic are often involved in secret gossip and backstabbing and are less technically skilled, yet they get promoted and receive the most opportunities.
The vector extension has many good properties, like the ability to adapt to various size/complexity of processors: it can be implemented slowly on a small processor, and quickly on fast processor. This is because the instructions are very abstract and most of the control is done by the core instead of the compiler, like splitting the vectors into chunks that can be computed per cycle by the core.

But then you loose the fixed instruction execution time: if you configure your registers to be larger than the compute units of the core, the instruction will take multiple cycles.

Citing wikipedia on RISC archs:

"The main distinguishing feature of RISC architecture is that the instruction set is optimized with a large number of registers and a highly regular instruction pipeline, allowing a low number of clock cycles per instruction (CPI)"

- a highly regular instruction pipeline: Nope

- a low number of clock cycles per instruction (CPI): Nope

In the 80'-90', it became apparent that RISC vs CISC was a moot point, and both types of ISA could be equally efficient. However, I think if you want a universal ISA, CISC is better because it is easier to decompose complex instructions into smaller ones on small processor, rather than to detect patterns of simple instructions and optimize them on a large processor.

This is the direction RISC-V took with the vector extension. But I find it a stretch to call it a RISC ISA then.
What Can You Do with Python Programming Language?
I'll give you 2 examples and tell me which is more readable:

console.log('start')
doA()
.then(() => {
doB()
.then(() => {
doC()
.then(() => {
console.log('finish')
})
})
})
.catch((error) => {
console.log(error)
})

Or

console.log('start')
try {
await doA()
await doB()
await doC()
console.log('finish')
} catch (error) {
console.log(error)
}
Show HN: We made a day planner for emoji lovers
Notmoji is a new comfortable and simple day planner. When you have too much to work on you get irritated seeing the long text note, right? So do we! Our idea was simple but effective way to make this easy for you. Because we are one among you so we understand you better than others.
Emojis bring emotion to our thoughts, and now with Notmoji you can create to-dos using emojis. Turning your to-dos into easy-to-use, intuitive, fast, elegant like never before.
Our trait words -
Simple, Easy and Organized notes, for both workplace and at home. So organize, cross-check, and mark as done with Notmoji.
Ask HN: What are the resources for curated insights on Bitcoin, Ethereum etc.?
I want to read and understand more on promising crypto currency.
Do you view the millions of existences prevented by contraception the same way? Those humans also don’t exist for entirely preventable reasons …

This seems like an on its face absurd and pointless argument to me. In these scenarios we are basically talking about unborn hypothetical future cows and from that perspective your argument makes no sense at all.

Cattle would obviously continue to exist in some form, even with a greatly diminished population – so we are not even talking about extinction.

Is the fact that compared to 100 years ago the US horse population shrank by 50% (due to reduced demand) a great tragedy? Obviously not. Obviously.

This argument is so weirdly absurd.
Ah okay I figured I was remembering incorrectly but was pretty sure it was, at least initially, interpreted.
I used to use Pencil back in college, when it was still based on XULRunner, not Electron.

It's a pity that the tool hasn't gained much traction in the mean time.
> I warn it is very expressive
> ~3m23 the actual footage

Pigs are stunned, hanged by their back legs and have their throats cut. What's the problem?

If this is inhumane, how should humane slaughtering look like according to you?
11% of Americans openly believe in white supremacy and half of republicans think immigration weakens us as a nation despite centuries of America benefiting profoundly from immigration.

https://www.vox.com/2018/8/10/17670992/study-white-americans...
Yeah I think decluttering the dependency tree is one of the best things we can do in terms of advancing web development. We're finally getting to the point where a sensible web stack might be possible with WASM and WebGPU, but you still mostly need this miles-deep toolchain to build anything for it
> Is the wolf diabolically evil? ... What if I hunt the animal and kill it and then consume it, like the lion, the tiger, the hawk, and the dolphin?

As much as I respect the intelligence of those animals, what a remarkably low bar to measure ourselves against. May as well justify manslaughter and rape as while we're at it. Drawing a line that arbitrarily suits certain primal desires and justifying it by pointing at animals is how we move backward, not forward.
Dog Money
I have a (perhaps unpopular) pet theory that college as we know it going to cease to exist sometime in the next several decades. In its current direction it feels like it’s becoming more about gaming the system. Those who do the “best” are really just the best at looking like the best.

I saw so many of my peers in college “learning” strictly for the sake of getting good grades, not to understand the material conceptually. I’ll try an analogy—-it feels like college is social media and students are aspiring influencers, all jockeying to find the right aesthetic and be that perfect shining light with all the followers but it turns out they’re all optimizing to the same local max and end up as copies of copies of copies. In the end all their resumes look the same. A bit drab, sweeping, and cynical, admittedly, but that’s what I think.

Anyway, my theory is that with ubiquitous high speed Internet, remote work being more widely acceptable, and continued suburbanization, future generations will look less favorably at taking on a huge debt burden to attend in-person college and something _like_ highly niche online trade/vocational schools or guilds will become popular and widely acceptable as a substitute for a four year degree in certain positions.
How to Make Memories Last Forever? (Mother's Day)
Happy Mother's Day, 40% off with Code: MOM8
How to Make Memories Last Forever?
Alxum: WEme USB 3.0 to SATA Adapter Cable: $11.99!
Allows you to connect any 2.5 or 3.5 SATA drive to your computer for faster data transferring, Supports up to 18TB.
Adapter: https://www.alxum.com/products/hard-drive-usb-adapter
Blog: https://www.alxum.com/blogs/news/how-to-make-memories-last-f...
Video: https://youtu.be/EJiyx78A3Jo
#Alxum #WEme #HDD #Computer #Storage #Desktop #IT #Office #School
dd can do seek, skip, re-block. It's unusual to need the features but they exist for good reasons. I used dd to transfer 4.1BSD release tapes to a vax 11/720 via rl02 10meg pack and reconstruct the chunks on the receive side, long ago.
Toxic workplaces are enabled by everyone, not just a few people. When something unacceptable happens, make a decision that even though it didn’t happen to you this time, that’s not the kind of place you want to work. Don’t make other peoples problems your own, but stand up for them.

And most importantly, realize that if you can’t quit a job for reasons even if you witness something terrible happen, you’re not an employee, you’re a slave. Cultivate the resources and make life decisions so that no job is too good to quit, no income stream too important to lose.

And from time to time, when it’s necessary, use that wealth to protect yourself and people around you. Be able to go to your boss or your CEO or your HR department and be able to say “this is unacceptable, fix it or accept my resignation”.

A lot of bad things still happen to people (women, minorities, people who are really invested in their career, and more) in part because there isn’t that feedback of people standing up and walking out... too many people are too afraid of standing up for what’s right or losing income.
> C died and C++ is newer and better version of it

That's kind of my opinion. C didn't die for legacy reasons, but starting new project in C seems a nonsense to me.

C++ just has so many features that makes the development of programs and libraries easier, for almost no extra costs.