skysight-inc/HackerNews huggingface dataset:
google's rationale is good but not iron-clad.

in ardour, we use the convention that if a null value is allowed, pass a pointer; if a null value is not allowed, pass a ref.

the idea that Widget& implies something different about the likelihood of modification compared with Widget* is quite foreign to me. this is precisely what Widget const & is for.
Retroshare: Secure Communication for Everyone
Well Firefox actually does (Web Push API): https://support.mozilla.org/en-US/kb/push-notifications-fire...

>Firefox maintains an active connection to a push service in order to receive push messages as long as it is open. The connection ends when Firefox is closed.

I see what you're getting at, but I think the harshest criticism should be reserved for the worst services: those that actually hold your data hostage, don't provide an export functionality and use your data in all sorts of unethical ways.

Organisations that actually honestly do value privacy and try to make an effort to get it "right" should be given the benefit of the doubt and constructive criticism, as they might actually listen. In many cases the feature may simply be driven by convenience and the competition (e.g. cloud storage, accounts, sync), and having a toggle for those is the best you can do if they want to stay relevant. In other cases the privacy issue may have simply been overlooked and the feature is improved (IIRC Mozilla has had a few of these).

Maybe a big red "offline-only" toggle would be great, but the absence of that button does not in my eyes disqualify Zotero from being a great offline solution.
Visiting the website through WifiMask VPN (using Digital Ocean servers) works fine.
When I was a highschool kid we use as perforated card system (you punched them out with a paper clip). We were charged for usage by the card 1c each (1c was a lot more back in the 70s). We used to share and recycle cards "anyone got a 'goto 10'?"
Na, they're reacting too late. Given India's size and lack of healthcare infrastructure, they should have shutdown international travel and tested exhaustively early on. They let it get out of control and now are imposing a haphazard shutdown. The shutdown is needed, but there are too many reports of poor people going hungry for days.
> I must admit, I'm not fully sure I understand what its goals are and what we should expect its usecases to be.

I think the project itself lost its track. It started as an admirable goal of being a common low-level-ish compilation target for the browser. They managed to ship an MVP targeting C semantics.

But now it looks that now people are more interested in writing a yet another compiler to WebAssembly (which isn't even in a beta phase) than developing WebAssembly further. And pushing WebAssembly (which, once again, isn't even in beta) into all sorts of weird stuff like server-side apps. And this is occurring even in the orgs responsible for developing WebAssembly, like Mozilla.

WebAssembly was announced in 2015. In 2017 they had a Minimum Viable Product that was supported in all major browsers. We are a third way in 2020, and there's hardly anything beyond MVP.
This is meta.

If CNBC's adblocker-blocker popup really annoys you, do this. Open up browser devtools. Find the top most div of the adblocker-blocker and delete it.

The adblocker-blocker hijacks scroll events by blocking scrolling. Go to the top most content div and add this to element style

```
overflow: auto;
height: 100vh;
```

This will fix scrolling and allow you to read content, without having to turn off the adblocker. You can do this with many other sites.
I have only played around with it, but to me the possibility of using a language other than JS to write web apps is really exciting. I don't hate JavaScript by any means, I've used it professionally off and on for years, but it still frustrates me that for webapps you're basically forced to use it.
https://www.figma.com/blog/webassembly-cut-figmas-load-time-...
1) Writing all zeros is generally considered more SSD-friendly than random data. The exact reasons for this are complex in part because behavior of SSD controllers varies significantly with all-zero blocks. But, while absolutely inferior to using TRIM, there is reason to believe that writing all zeroes is less likely to lead to premature wear than random data.

2) While it's been "common knowledge" since Gutmann that data from old writes can be recovered (thus the advice to write multiple passes of random data), this turns out to have been iffy in Gutmann's day and an outright myth today. Multiple university teams have tried and failed to recover data using advanced techniques (such as SEM tomography) after a single zero pass. Generally the success rate for single bits is only slightly better than random chance. Gutmann himself criticized multi-pass overwriting as "a kind of voodoo incantation to banish evil spirits" and unnecessary today.

3) By far the larger concern in data recovery, for platters as well as SSDs, is caches and remapping performed in the firmware. As a result, the ATA secure erase command is the best way to destroy data because it allows the controller to employ its special knowledge of the architecture of the drive. However, ATA SE has been found to be extremely inconsistently implemented, especially on consumer hard drives. The inability to reliably verify good completion of the ATA SE is a major contributor towards preference for "self-encrypting" drives in which ATA SE can be reliably achieved by clearing the internal crypto information, and the US government's recommendation that drives can only reliably be cleared by physical destruction. Physical destruction is probably your best bet as well, because self-encrypting enterprise drives come at a substantial price premium and you still lack insight into the quality of their firmware. In other words, the price of a drive with an assured good ATA SE implementation is probably higher than the price of a cheap drive and the one you'll replace it with after you crush it.
As anyone who lived in Central Florida or the Space Coast in the 80s and 90s can tell you, sonic booms from hypersonic objects returning from orbit are no joke. It's worth putting up with once or twice a year when you know the space shuttle is returning from orbiting the planet. But I imagine most people would be pretty annoyed with constant sonic booms from rich people traveling across the globe.
What about Bill de Blasio refused to shutdown restaurants and pubs over St Patrick's day, because "He wasn't there yet"
> This is the kind of weird, morally unacceptable reasoning about property rights that you will run into if you accept property as a all-powerful, unconstestable principle.

The average person has no ability to connect past and future. Most people, when tested, struggle to connect yesterday with today. Typical people don't save enough, don't plan and don't risk assess. If society gives an inch on property rights as an all-powerful, uncontestable principle then how exactly are we supposed to give people who plan ahead enough power to influence the flow of society?

For example, we're currently facing what is probably a 1:100 year pandemic. There are specialists out there (actuaries, some entrepreneurs, some doctors) who are comfortable with thinking about 1:100 year pandemics. If property rights were truly unbreachable, those people would quite happily build up a strategic supply of masks, tinned food, etc, etc ready for deployment in a crisis. Their families would make out like bandits once every hundred years; we'd be minting people as wealthy as Croesus. They don't do that. Because it would be stupid to. Because in a crisis, property rights break down a bit and it would be quickly identified that they don't 'need' supplies for 100,000 people and they would be pressured to give up supplies at an economically irrational price.

Nigh unconstestable property rights and the ability to act like a bastard in the short term are critical tools for linking the past and the future. Break that at your peril. I know 95% of people don't care about that link as much as they'd like to; but the 5% who use it are the people who accomplish literally all the infrastructure creation and planning. You won't miss it until it is gone; even then most people don't seem to understand what is happening if the communist failures we see every decade or so are any guide.
An R0 of 3 is still catastrophic. It’s your whole nuclear family plus one. What was R0 before?
If you are in Turkey, Egodan's boys are spying on EVERYONE,especially after the attempted coup.
Huawei is happy to provide spying through the router to Ergodan's Boogiemen - - in fact, several of them are probably next room over from you watching your screen now . . .
What is your prediction based on?
I really hope we're not still in this in a year. I work in soho in NYC and still have to go and handle stuff at the shop and the city is crazy right now.
I used to live in a town that had a university-run radio station.

What I liked was that they were able and willing to play music that otherwise wouldn't ever hit the airwaves. A lot of local bands got air play, and I thought that was simply great since radio can often be super repetitive.

One night they were doing a punk segment, so I called in as a joke and requested the song God Damn Son of a Bitch from the Revolting Cocks. The song is an instrumental, so they played it. But the intro and after discussions were absolutely hilarious. They referred to it as "Gol Darn Son of a Bee" and made fun of the fact that they couldn't say much about it other than that it was thankfully an instrumental.
Wow this is not good.

I do NOT want Facebook to know whom I'm calling.
Maybe something to do with the pure voxel nature of DF. Pathing, liquid flows, etc. Factorio has a lot of pathing requirements, but everything is so much simpler when it's strictly 2D
its been more than 5 years, and nothing useful so far

you can do "cool" stuff like running DOOM in your browser... but why?
The book it came with, "Atomic Theory and Practise" was really well written and was a brilliant introduction to Computer Science.

I remember writing to Acorn with a question and received a hand-written reply from Sophie Wilson, (of later ARM processor fame).

I also watched Chris Curry demonstrate the forthcoming BBC computer to a packed Sheffield University lecture hall with the South Yorkshire Personal Computer Group. It blew everyone away!
As someone who often gets asked by government officials on what can be done to improve the lives of X, Y, or Z and what applications can be built and how can we use artificial intelligence in a sector, my first answer is to get X, Y, and Z to the table and in the room then we'll talk.

Alost anything other than that is a hammer looking for a nail, or an app looking for no user.

The same used to happen to us building custom software for enterprise, where an executive starts telling us features to build for analysts/salespeople/marketing/engineering, and what the product should do. We asked access to users and were denied, and got paid for software nobody uses which is demoralizing.

Our position now is: get the analysts/salespeople/marketing/engineering in the room and we'll build a product that drives value just fine.

A lot of problems exist not for lack of a mobile app, and people either fail to see the problems in terms of systems, incentives, friction, trust, etc or there's pressure to show something is being done and an app is a good way to do just that. Activity over output.

My opinion is: although the pressure may be strong on your brother to show something is being done, a good way to actually get things done is to meet the people your brother is trying to serve, and then serve them. Doing that may expose that many of them may have trouble actually acquiring soap, or are disabled and need someone to help them through this, or just need food and shelter.
Since language engines are usually in C++, it takes tons of time to compile (and link!) when you made the simplest change. It could be really annoying really fast if you need to recompile everything every time you change a mob's HP pool or anything.

The second reason is modding: World of Warcraft is scripted using Lua (like many games) and players can overwrite a lot of things via addons themselves being written in Lua.
That's where it's tricky, the compiler doesn't know, it's checked at runtime by the C++ function, which receives a list of Values, count them (actually quite convenient if we need to make variadic argument functions) and decide if it's fine or not, then does type checking on the needed argument. I know it sounds crazy because it can cause performance loss, but in a dynamic language like this one that's a cost I must pay.
I recommend using Flexible I/O tester (fio) to run burn-in new disks:
https://fio.readthedocs.io/en/latest/fio_doc.html#running-fi...

It will give you both performance statistics and catch checksum verification errors.
Do you have access to a formatted source of the data that was used to make the percentile calculator ? They claim it is based off the 2014 American Community Survey's Public Use Microdata Sample, but clicking on the provided link takes you to a directory with hundreds of zip folders.

Also the last link to "howmuch.net" states that their numbers include any wage earners whatsoever.

"There is one important caveat to keep in mind when thinking about our dataset. The SSA numbers include any wage earners whatsoever, even part-time workers like students and teenagers. If the worker reports his or her income to the IRS on a W2 form, he or she is included in these stats."
I had the run of a college computer lab. Always magic. Once groups for permissions came out they put the kids into the "brats" group for permissions - which was a fair reflection of the admins view of letting kids on the machines.

My high school was smarter. After I "hacked" the computers there - they put me in charge of maintaining them - I'd get called out of class to run around campus fixing computer things up. I didn't realize it at the time, but that was a forward thinking administrative office.
This has been standard Mac OS X behavior for a long time: on a machine with multiple IP addresses, connections will use the default gateway associated with the interface providing that address.
The call to munmap() requires both a stack (which will be unmapped at some point) and the code from libc (which will be unmapped at some time).

The program gets a list of all the allocated pages first, then creates one more for the JIT code (and a copy of the list) which is unmapped as the last thing it does. There really is no other way of doing it.
How do you explain the early government-enforced shutdowns, and expansive testing programs? I think the response from the general population has also been better in some of these countries, but there is a marked difference in the government responses.
> Now, the President wasn't part of your conversational context, in fact there was no conversational context, nor any context with the speaker.

That's an awesome example! My proposed patch would be: singular instantiated concrete nouns in English always need a determiner, and we should use the most specific determiner that pragmatics will give a plausible meaning to. (So also "our mother lives in Boston" is preferable to ?"the mother lives in Boston" but the second option is possible in some contexts.)

> More generally, any attempt to give simple rules for this part of English grammar will fail, and will not generalize to other languages with articles.

Yeah, that's a great point. For example, Portuguese commonly requires articles with abstract nouns, where English would forbid them.

"O amor é um dos maiores prazeres da vida."

'(the) love is one of the greatest pleasures of (the) life'

Someone learning one language from the other might first think "oh, great, this language has definite and indefinite articles, just like my native language -- it's no problem, I already understand this". But that understanding will fall down when confronted with situations like abstract nouns.

Ancient Greek has definite articles but no indefinite articles, and I was taught that definite articles are mandatory with people's proper names (ὁ Πλάτων, '(the) Plato'). But it's apparently more complicated than that, because for example in

https://www.perseus.tufts.edu/hopper/text?doc=Perseus%3Atext...

sometimes he's called ὁ Πλάτων and sometimes Πλάτων (for reasons that I don't grasp). And similarly in Portuguese, it's common to refer to people in the third person by a proper name plus definite article (o João, a Maria) but neither obligatory nor universal. My intuition is that it's a very mild honorific and that it's only done when we think the listener is already familiar with the person referred to, but I'm not a native speaker and I bet that intuition isn't quite right either.

So yeah! These rules feel super-simple, and they're really not.
We (Appfigures) are scanning apps for SDKs so we know which trackers, analytics, location trackers apps are using.

We’re working on a way to make that data accessible to app developers so they can learn from competitors, but having a simple way to tell if an app tracks you that doesn’t require signing up or anything like that could be an interesting idea.

Would you actually check an app before downloading/using it?
Revising terminology seems to run contrary to a strive for consistency.
The labour theory of value is easily discredited. The market determines the value i.e. what people are willing to pay for something.

The labour theory of value is simply describing the cost of producing something. Whether people are willing to buy it as that price (which would be same as selling it at cost) is an entirely different matter.
Regarding the future reduction in revenue- I consider this to be just another way to “flatten the curve”. Spread out some of the money to help during this time of emergency, and when things are getting back to normal, they’ll figure it out.

Regarding the accounting of these gift cards, it appears that this functionality (the ability to sell them) has to be activated in the Square POS system, and upon use, becomes just as easy to redeem as cash. Square does all of the accounting for you.
There are plenty of metal-walled houses mate... down under we call them sheds, fair dinkum. https://www.google.com/search?q=metal+clad+house+australia (Thermal transfer properties are notably different from traditional building materials!)

Plastic modular houses ... not quite houses but used structurally where providing novel utility. For example they fill two-part fused thermoformed plastic containers with water for crowd control in riots. Recently half of Hong Kong was filled with these. https://www.google.com/search?q=water+filled+barrier
Because Facebook could figure out WHO YOU ARE TALKING WITH. If you're talking with someone "sensitive", Facebook will know.

Perhaps FB needs to use heuristics to join Caller A with Caller B based upon timestamps, etc.

But ZOOM is a messaging app and the IMPLICATION is that FB will know some EXTRA DETAIL about my private life: the other people in it.

It's not like this is CANDY CRUSH - duh that's just some game. This is ZOOM, a face-to-face communications app. Much more serious.

Apple should flag this for its users on the App Store.
Some friends and I have started doing this with terrible movies, straight-to-DVD Steven Seagal/Nicolas Cage style stuff. Problem is we're all starting the movie at very slightly different times, like within 15 seconds but still sometimes hard to guess what people are referencing.
Oh, and we don't use voice chat, it's just Whatsapp. I personally wouldn't feel comfortable piping up in a group of ten or twelve, some of whom I haven't met, I much prefer typing a joke, and am a fast enough typist that I'm not too much behind the action I'm writing about.
It totally depends on the instance:

Was it a piece of atomic data at the system of generation? Likely SoR

Was it an aggregated/mastered/other data? Likely Source of Truth

SoR = Where it came from

SoT = Where you get it from
Im merely trying to drag the concept of separating ideas and reality as two different but very real worlds under the spotlight of everyone's attention. This concept is fundamental and very old. I won't be able to defend this idea with formal proofs.
Isn't it about time we let go of the distinction? I get that C++ is a lost battle, but moving forward.

What I'm really interested in is whether an argument is allowed to be modified by the function or not. I'm pretty sure the compiler has a better chance of making the right decisions concerning performance. Especially considering how best practices morph as languages/compilers evolve.

Go has the same issues, I'm at the point where I'm mostly passing anything that's not supposed to be modified by value. Notable exceptions are interfaces, which need pointer receivers to work for reasons.
Show HN: Cross-Domain Recommender System
That's not what you'd typically understand as an FFI; that's just an interpreter / VM API. A foreign function interface would generally allow something running in the VM to call arbitrary external (hence foreign) functions that were not written against the VM's API, i.e. don't have a binding.

For example, this is what FFI could look like in some language:

lib = ffi.load("kernel32)
lib.TerminateProcess.args = (ffi.voidptr, ffi.unsigned)
lib.TerminateProcess.returns = ffi.int
lib.TerminateProcess.callconv = "stdcall"
lib.TerminateProcess(1234, 56)

Arguably you neither want nor need FFI for a game scripting language.
I can imagine it, and I'm more afraid of the economic impact than the virus.
Relatedly, if you're reading the page on a high-DPI screen and wondering why the pictures are so dark and blurry, try opening your browser's JS console and running this:

document.head.appendChild(document.createElement('style')).sheet.insertRule('img:not(:hover) { image-rendering: crisp-edges !important; }', 0)

Line/pixel art especially suffers from the rescaling filters that came with retina displays.
I'm going with "everyone" now that the USA is #1 at something as of today: The most diagnosed cases of any country in the world, even China.
How is finding an anecdote a invalidate a generalization? The majority of the most powerful global corporations are US companies. They don’t (in general) get that way by being incompetent.
Actually, Trump calling it "Chinese Virus" seems to track exactly with the CCP planting those silly stories about the virus being created by the U.S. military. Now that they seem to be toning that rhetoric down, he has also stopped calling it "Chinese Virus."
Well, apparently 40% of the staff in intensive care unit exposed to covid victims has been infected, so I'm not sure how useful those fancy suits are.
Conversely, now may be the time to do the ground work so that a startup is ready to launch as soon as demand returns.

Maybe not doable with VC money, but with sweat equity.
Tabletop Simulator
Not only is it better for the environment (less land and energy use, less greenhouse emissions) but this week in Australia, interestingly as a result of COVID-19 panic buying, meat (particularly mince; also rice, pasta, cereals, toilet paper and hand sanitizer) have been sold out in most retailers whereas mushrooms remain available. Still more evidence of my personal opinion that mass psychology effects of the current scenario are far more dangerous than the disease.
Right, I'm confused /curious about FFI calls not regular function calls.
Comparing a large multicultural richer country does seem weird.

Indeed a tiny 126 million soul tiny country can not be compared with a country of 330 million souls. Also the USA having 1.5x the GDP / Capita does make Japan the richer country.

These countries unlike the USA have more economically and socially interventionist governments. I do wonder if the culture of Germany is closer to Japan or USA. To tackle a pandemic do you need more leadership or culture?

I mean beyond national security where is USA leadership?