skysight-inc/HackerNews huggingface dataset:
When was the last time most countries had a race riot? Some countries have racial tension but not all ethnically diverse countries have serious racial tension.

Even if its not race, all countries have divisions. Some countries function well enough that divisions dont devolve into riots. Other's don't.

> It doesn’t solve all administration problems.

The parent post basically was claiming that it helped with all administrative problems (a claim that i certainly agree is absurd)
Indeed. However I wish we could celebrate that replication a little more instead of selling everything as the hottest new finding since sliced bread.
It says "mostly women using the money to have more time to care for their children". I call this improvement, if not in "employment" (an abstract concept) then in "quality of life" (a real thing)
You’re right, service was probably not the right word to use. Maybe duty is a better one to describe the phenomenon.
“No HISTORY. You can repeat the last command by pressing the right-arrow“

IIRC, there’s some limited command line editing support using the function keys. You can also get command line history using https://en.wikipedia.org/wiki/DOSKEY (if your DOS has it)

“So figuring out the available commands is using a lot of DIR .EXE's and DIR .COM's.”

Try

C:\> DIR | MORE

(Alternatively, redirect the output to a file and use an editor. I think your DOS has edit.exe, but EDLIN is the true way)
I like the way "Is Bloom's "Two Sigma" phenomenon real? If so, what do we do about it?" is loaded. Touches on several "questions" in the vein of this article.

One load is "why don't we know this with more certainty?" It's a useful thing to know. What is achievable? What's the bar? How good could education be, regardless of resources and other limitations. If true, that can be our 100% marker for instructional effectiveness.

From there, we cold say that average school instruction is 10% effective or 60% effective.

Realistically, this needs to be tackled with a lot of force to make progress. Change is likely inconvenient, in a real world environment with limited resources. Maybe school should be 3 hrs per day, not 8.

In any case, I think it's notable that high-end private education, which has more resources available, have not pursued these kind of goals any more than public education.
> For folks who just want to create a web page, who don’t want to enter an industry, there’s a baffling array of techniques, but all the simplest, probably-best ones are stigmatized. It’s easier to stumble into building your resume in React with GraphQL than it is to type some HTML in Notepad.

I’ve experienced this. I started web development in 1996/1997, so I have a lot of experience building pages by hand. These days I do use Vue.js, but sometimes I’m still known to build pages by hand. I’ve gotten so much grief for it over the years. Not because there is anything technically wrong with my files, but because “it’s not the way things are done today”.
Thanks for sharing your experience, we will connect with you per email!
You'd be surprised, it may not take quite that long. With something like Chisel you can create that idea with little friction. Plus, it's "just" Scala so if you already know that it's a lot easier than, say, learning Verilog which has a very different syntax.
I'm really excited to watch China over the next ten or twenty years. A lot of the disfunction in American politics is, imo, because there's nothing important to focus on. Between Europe, SEA, and the Middle East no peers have emerged that can challenge Americans the way that China can. We might see a re-emergence of blatantly realist policy makers in our time.
I wouldn't rely on the PHP WS, it's a bit of a buggy crapshot and loves to crash when encountering complicated errors.
My concern is about the exit strategy. Most countries don't expect to eradicate the virus for decades, if ever, and vaccines are expected to be only partially effective. After months and potentially years of keeping the virus out, will these countries ever be able to switch and decide it's safe to let the virus in?
This. My experience in SE Asia has shown me this. Those really strong family links make people happy and provide a safety net that can't be beaten. But it comes at the cost of suppressing all individuality. No following your dream of being an artist - you need to earn money for the family. No marrying the weird guy your mum hates. No moving city because you need to find yourself.
As another person said, your pdf fonts are way too small. At least on my iPhone 8+ I’m having a super hard time with the size.
Kravitz's comment has received more than 1,360 likes
Kravitz's comment has received more than 1,360 likes while her Instagram post overall has received more than 396,840 likes as of Sunday evening.
Hulu did not immediately respond to Fox News’ request for comment on the young actress’s claim.
> and UWP et al

That remains to be seen in ~10 years at least :-P
I was refering to FB becoming faceboot, well okay I will stop criticizing them on HN, I know that alot of users work there
It is nice to see these posted. I wonder if the other engineering related sources at AWS get as much attention.

They have (in my opinion) an extremely good library of articles in their so called builders library.

For example these two below articles.

https://aws.amazon.com/builders-library/avoiding-fallback-in...
https://aws.amazon.com/builders-library/leader-election-in-d...

These topics are extremely hard to solve from scratch yet they are distilled pretty well in the above articles and they include a further reading section.

I would implore others to have a gander. I wish the same could be said for their documentation.
Ask HN: Need for openly available source-to-source compilation projects
Is there need for openly available, batteries included, source-to-source compilation projects?

I talk being able to transpile from one programming language source to another (java to rust, cobol to java and so on).

There is of course, option like ANTLR, though it leaves ground wide open after parsing.

IMHO having such tool can help renovate legacy codebases easier, minimize over focus on programming language decisioning in greenfield projects.
Yet, despite noticing organizations always burdened with managing old codebases, surprisingly there aren't such tools built out in the open. Why? Do I mis-judge the demand space as being strong?
You're looking at this from privileged perspective of Bay Area software engineer, who can work from home, or even take few months break from work altoghether.

"Economy taking a hit" is just an euphemism for real tragedies, like people losing their jobs, their homes, not being able to pay for healthcare, etc. I read that there was a spike in suicides since the beginning of the lockdowns for those very reasons.

So now you can weight number of lives saved from COVID vs number of lives destroyed by lockdows, and only then you'll know if they were worth it.
You are correct, but maybe I should rephrase?

I have never gotten the sense that Tokyo people think that Japan would be better off if everybody living in rural areas were to drop dead tomorrow.

Rather, in grocery stores, foods and fruit proudly proclaim their prefecture of origin -- Iwate, Aomori, Hokkaido.

Tokyoites go to the countryside for vacation, for hot springs, to visit farms, that sort of thing.

Popular sentiment is that Japanese are sad that the countryside is dying, and there's a lot of push -- albeit with very limited success -- to get younger people back out there, because at some point, somebody has to grow the food.

Japan only produces 50% of the calories it needs to feed the population -- the rest are imported. That's a scary place to be in the world right now.

Rural brain drain is a real phenomenon, and related to the fact that Japan... and maybe all governments and large organizations, when I think about it, have a strong centralization pressure, to pack everything together in one place.

It takes active measures to resist that. Distribution is hard, but it pays dividends in terms of resilience and awareness.
Places to Go to in Kuala Lumpur
The first thing that comes to mind is things like right-to-left or top-to-bottom languages. Some ancient languages were written right-to-left and then left-to-right and then repeat.
This might also be interpretd as anti-feminist, since this will increase the non-adjusted gender pay gap.
Another proposal: a standardized search protocol over HTTP that can be implemented by most web servers and a DNS-like system of search indexes that use websites' built in index query endpoints (rather than crawling). Essentially decoupling search and advertising by building a search function into the internet standards.

Perhaps commercial products can improve over the quality of results, but simple text and keyword search can work this way.
I'm not claiming that an NN can't approximate human or super human intelligence, I'm claiming that using human writing as the only training set is not going to get you there.

The text simply doesn't contain enough information to draw a model of the world. Human language only makes sense if you understand the world, not the other way around.

Essentially what we're doing is similar to a human trying to learn psychology by reading books in Mandarin on it, while knowing neither the writing system nor the language. Except that human languages share some universal grammar, and share more or less the same notions about the world.
Top Weekend Getaways from New York City
This is only present in the CLI builds of php, And you should limit who can run the php scripts anyway on a production server.

Remember that setting up a reverse shell only requires a networkable shell (like bash). Most linuxes (including containers) there for have the capability of having reverse shells started on them. The way to protect abuse of PHP’s webserver function is the same as the one to protect against bash reverse shells. Do not allow any outbound traffic but only traffic you trust!

Do not blame php for having a feature that others have had for years. PHP’s version is no better or worse than any of them.
I've been doing this with singe file html pages that bundle all dependencies inline, no server necessary. It does put some restrictions on what you can do, since local files are sandboxed pretty hard, but with all dependencies inlined (and with WebAssembly you can get pretty crazy, like embedding SQLite in an html file) you can do quite a lot.

Just the other week I made a little app that loads CSV files from a room booking system to create monthly reports, which was done manually by the sole employee of our housing association and took several hours – now it takes minutes.

It's been my go to way to create easily deployed rich GUI apps for the past year or so, and is pretty simple to build with a few shell scripts to put it all together. The resulting html files can be big, but they load really quite fast and since they're deployed on to a machine and not served over a network the size doesn't matter that much. It's also way less than an electron deployment anyway.
I did some research on EVs for sale here in Australia and found that although they are not the cheapest, Telsa has the best recharging network.

The supercharger stations along the main highways around the country are well worth the extra price of the cars, if you need to go on a trip outside the cities it will make it much nicer.

They also have the best battery thermal management (in the model Y) with its air conditioner able to route warm or chilled coolant wherever it is needed on the fly inside the vehicle. They are the only ones on the market doing this.

As far as I know they are also the only carmaker working on constructing future car models out of huge die casts, which will greatly speed up production and cut costs. This has nothing to do with being electric cars, any car company could have done this already, but didn't?
The PHP built in web server is useful in development. It's not intended for production. Good for getting a quick example running locally
Kali Linux 2020.3
Maybe going on a cocaine/stim bender can sustain this for a little while then crash through the weekends when everyone is less productive. Obviously a terrible idea long-term to avoid chemical dependence/brain damage, but it's common enough that I've met quite a few of these "barely sleep yet hyper-productive" types that are abusing stimulants beyond coffee to keep it going during the work week.
U.S. urges Linux users to secure kernels from new Russian malware threat
Might this change now that things like game copy protections are implementing syscalls manually?
Ask HN: Dealing with monitoring software on work computers and transparency
Does your company run any monitoring software on your work computer? If so, does it interfere at all with development tooling? My company's IT team has been very secretive with the tools and settings they are deploying. Their applications are interrupting build tools and there are rumors floating around web traffic is being monitored as well. The company can do as they wish with their property but I'm interested in where one draws the line.
If anything it's better since, in general, one party isn't there just to sell something to the other.
Linux Commands frequently used by Sysadmins – Part 3
Late response, my apologies.

At some point we've got to address the question of how much energy is supplied to how many people and for how long.

Population is expected to rise for at least another 30-80 years, to between 9 and 12 billions by most estimates. These may not see US levels of energy access, but most authors project per capita energy wealth roughly comparable to present day European levels, largely as electricity. This represents multiples of present generating capacity.[1]

And energy represented by virtually any nonrenewable stock, including most fissionanbles, is finite. That's before allowing for technical limitations, concerns, wastes, risks, or other impacts.

When the U.S. was first transitioning from wood to coal, roughly 1860--1880, then-known reserves were calculated as sufficient for at least one million years at then-present rates of consumption.[2] The problem, of course, is that rates of consumption increased somewhat, by a greater rate than those of new coal discoveries. I can remember in the 1970s National Geographic adverts assuring readers that America's coal reserves were good for another 1,000 years, already a thousandfold reduction from 100 years prior. Today official estimates tend to run 200--300 years, though pessimistic ones suggest scarcely a century.[3] That's roughly 10,000 times sorter than initially anticipated, thanks largely to the Jevons Paradox: low-cost goods and increased efficience stimulate demand.

And all this before acknowledging that we simple cannot burn much more of the stuff.

So, no, I don't buy that "supplying 100% of global generation doesn't have any bearing on current reality.", as even a small fraction of a growing number, most especially an exponentially growing one, remains a large number.

________________________________

Notes:

1. 1991 per capita use, 287.8 GJ US, 75.3 GJ world, 123.6 GJ Europe. bp Statistical Review of World Energy 2020, p. 11. At 123 GJ * 12 billions souls, total global energy demand would be 1,476 EJ, vs. 584 EJ consumed 2019, a 250% increase. Total 2019 electric generation was 27,005 TWh, or 97.2 EJ, 16.6% of total global energy consumption. That works out to 3.46 MWh/capita, or about 395 W continuous per person.

2. Henry Erni, Coal oil and petroleum: their origin, history, geology, and chemistry (1865), p. 14. https://archive.org/details/coaloilpetroleum00erni/page/14/m...

3. BP's 2020 report gives an R/P ratio, reseves vs. production, equivalent to years supply at present consumption, of 390 years. This is an increase, though almost entirely due to reduced extraction, down from 22.27 EJ in 2011 to 14.30 in 2019. Consumption has fallen by more.
While not built into node, I like "serve" best in terms of syntax, even if it only supports static sites.

serve .
Done
Canada is the leader in the size of seed stage deals
Yes, this does look like html in another cloth. I learnt about this from here: https://nofluffjuststuff.com/blog/douglas_crockford/2007/06/...

Compare:

<strong>important</strong>

with:

@strong{important}

It looks like some characters saved here. I don't know how much savings would be in the long run.

For big sections, one could use @begin{blah} content here @end{blah}.

It looks a bit plesant in my eyes (than html). And only _one_ special character @, which is repeated twice to escape it.
Teens felt less anxious and more connected to school during lockdown
This is how Flutter works.
Partially effective vaccines are good enough to basically eradicate the virus if everybody gets them. No country will continue pandemic measures after a sufficient number of people are vaccinated.
Apologies for only getting back to you now.

Yeah this is all fine once you have accepted the trade offs and designed your threat model around it. People get extremely zealous around this sort of shit.

One decision for another person does not need to be taken by everyone else just because it makes sense for you.

I, like you am concerned about the use of data but I take a different approach. I don't mind if my data is used for product insight/generation once it is aggregated anonymized data, with the caveat that the website and or service is GDPR compliant.

I give bonus points to any website that lets you nuke your account from the profile page without having to jump through e-mail hoops. I had a recent experience of requesting an account erasure under GDPR via e-mail. I expected the usual "are you sure?", "do you know the implications?", "who are you?" but no they just deleted the account straight away. I only found out it had been done by trying to login to the service again.

10/10
But that's not what your parent post is about. It's about that in America, you need to worry more about U.S. surveillance than about Chinese surveillance. And when in China, you need to worry more about Chinese surveillance than American surveillance.

What you state has nothing to do with that. If I understand you right, you are saying that you should be more worried in China than in the U.S. overall. That might be true, I can't judge. I can imagine there are rules in China too, maybe they are just not so pleasent? And I suspect some folks in Portland have some mixed feelings about the "just kidnap" part too.
Great observation about Python scripts in the downloads folder. Here's a way to make this vulnerability even easier to exploit: Place a `sitecustomize.py` file in there. That way, you don't even need the `-m pip`, since that file will be imported automatically on any Python run.
To get https don't you have to put a paid load balancer in front of it? At that point it's both more effort and costly than Netlify.
> If you want something more "real", MIPS and RISC-V are also not too hard,...

I personally think that MIPS is just not relevant enough in the real world anymore to deserve being taught at school. But I do get that there already is a lot of material out there.

I'd personally go with a risc-v subset at first and expand on it.
I understand they're not the same, but I'm wondering if it would be reasonable to analyze the impact of the COVID-19 stimulus checks as a data point to inform the effects of UBI.
Thank you dang message received and my apologies. You are right.
How does a feature of the Command line version of php impact developers? Developers should not run applications on production machines themselves (either its a script, a deployement agent / engine or a operations guy that does that work (including devops guy with operations)).

As for security you must keep up with the capabilities of the tools you use. Php has been able to run as a webserver for years (even before 5) all they did is implement a good sane dev server to run php code without setting up a complex php environment (that is probably less secure).
Foreign alphabet transliteration drama thread under the best hacking-grade article in years. Thanks, hn.
I might not be following here. Windows kernel functions are those in ntdll.dll. They've been stable for a very long time as far as I am aware. Well, the 30% of them that are documented at least. It's used by drivers, antivirus and rootkits.

C headers with the prototypes are available from the Windows Driver Development Kit. It's not something you want to use though, the average kernel function takes 10 arguments to support both sync and async IO.

https://docs.microsoft.com/en-us/windows/win32/api/winternl/...
SELinux is made to prevent this kind of issues. Or rather: To encode the safety advice made by the author as a set of rules/constraints and ship it to everyone.

Now the question is: Is SELinux the sawstop the author asks for?
As another poster wrote, the main problem is not the neural network itself, it is the training set, and very likely the training algorithm as well.

My claim is that working knowledge of the world is simply not encoded in human text. All human text (and speech) presupposes a certain model of the world that is learned from experiencing the world, likely based on a model that itself is partially pre-trained by evolutionary processes.
Oh, cool! I thought this file was just prefixed with some random garbage.

Unrelated: I used this to verify that my daily scheduled full scan of my Linux laptop works. This is required by compliance at $WORK. It reports found viruses via the i3-nagbar.
Yeah the key point is:

‘ And, of course, a person can post two hashes – for contradictory messages – and only publish replies one of them. ‘
Habits and Skills for Successful Software Engineers
Hm your move from google to iCloud begs the question: You don't see any issues moving from one big-vendor-"free"-lock-in solution to another?
No, it shows that the US will no longer tolerate state subsidized corporations from supplanting other corporations trying to play by the rules.
Yeah, but… why? We already have all our tooling built around HTML syntax, why start something new that is not meaningfully better? All you’re doing is fracturing the ecosystem needlessly.
Doubtful. There have long been software that abuses syscalls and other kernel level features to implement Sony rootkits and other DRM. Ironically those that implement game copy protection would be annoyed if syscalls were stabilized because the whole reason they use unstable syscalls is to obfuscate what they're doing and make the program extremely sensitive to tampering.
you can't do that. when you implement search you need a global view over the collection to understand what are the most relevant documents. You are describing the paradise of the spammers :)
From A/B tests we have seen that having good representations of products is much more important than tons of behavioral data. In the cases when we do use behavioral data, what we have found is that unless we use it in conjunction with our product representations we do not get sufficient leverage on using it.
I'm surprised you mentioned Berlin (where I live now) - I think most Germans consider it one of the less pleasant German cities (compared to say Munich, Stuttgart, Heidelberg, etc or other German speaking cities like Vienna or Zurich).

Prenzlauerberg is a fancy/hip neighborhood and not representative of how the average Berliner lives.
https://news.ycombinator.com/item?id=24245683
patio11 wrote about “dropping hashes” here: https://www.kalzumeus.com/essays/dropping-hashes/
Odd that Perl isn't on that list since it was the basis of yaxu's first live-coding performances before he developed Tidal.
> the site could require a secondary recovery email address from an approved provider

No. I have a domain precisely because of avoiding a monopoly, duoplily, oligopoly on my email. Any service that required this would have me walk. The footsteps of a single zhte415 may not be loud, but I feel, especially in tech, I would not be alone.