skysight-inc/HackerNews huggingface dataset:
I've been thinking about getting a microserver. I already have a Synology NAS but I'd like something a bit more powerful to host Nextclound and a couple apps.

The Gen8 Microservers seemed neat, but they are getting old and rarer on eBay. Gen10 seems like a step back performance and feature wise.

With ILO not available (or a $100 upgrade), what is the benefit for a home / small business / enthusiast user of a Microserver vs. a custom built system? I could probably build a Ryzen based PC with a better performance / price ratio, just minus the ILO, and it's probably going to be quieter. Any optinions on this?
Japan's PM to ask all schools to temporarily close
Agreed.

When it costs $3270 to take a COVID-19 test [1], and if I’m young, and poor, and broke, then well, F that. I’m going to just take my chances and risk it. And try to not cough on some rich guy, because well, he has insurance that’ll probably pay for it.

And then our President tells us that not everyone can get a vaccine, just because it’s too expensive [2], and they can’t afford to pay for it. Tough luck. Meanwhile, he gives another tax cut to his rich billionaire buddies.

[1] https://www.miamiherald.com/news/health-care/article24047680...

[2] https://www.businessinsider.com/trump-administration-says-co...
I'm not sure how they got the data. I was able to find one company older than the one mentioned in the article which is still running. I'm referring to Birra e Pejes (Beer Peja) which was founded in 1968 [0].

There might be some discrepancies in this article because the information could have been obtained from English written sources, whereas, more accurate information is available in sources written in the native languages of each country.

[0] https://gjirafa.biz/birra-e-pejs-1
If you build things as components as you are supposed to (every backend and frontend framework has been geared around since the late 90s) Your CSS styling should correspond directly to your components (whether they are JS or a MVC partial view). So it should be obvious.

> You need to go digging around in all your stylesheets to figure it out and in most cases actually load up the page and inspect it.

When are you changing CSS and not inspecting the page at the same time? You are going to have to check your work. This doesn't happen if you keep things tidy as you go along. Working in a large team and/or scrum is no excuse for checking-in poor code.
And operator new is hardly used any more in modern C++ code.
Announced just about an hour ago, taking the country here (Japan) by surprise. Most JHS and HS are in the middle of final exams, and public High School entrance exams are next week. (Most university entrance exams are just finishing, though).

A hopefully good move, but might have been nicer to have given teachers and students more time to prepare (i.e., announce it a week earlier, perhaps?).

shrug Just my $0.02
The idea is to get "contacts" and tell them to be "hard to enumerate" and then collect a paycheck.
> In democratic societies
Show HN: Metomic Contextual Consent – a privacy layer under embedded content
For projects that are "finished" and will not be updated, I think using the archive function could be helpful. Marking a project as archived removes the issues tab among other things and clearly communicates that the owner is not interested in continued development.
Japanese Source: https://www3.nhk.or.jp/news/html/20200227/k10012304751000.ht...
Animated even and the code looks hand-drawn. I <3 it.

Fun fact: I worked at a nuclear engineering consultancy in the 90's. That's the not the fun fact. The hostnames of the computers were all Simpsons' character names.

rsh blinky

ftp homer
When I was a mid level front ender I would manually craft a lot of these for fun, really helps improve your css knowledge
The main turnoff for me was the possibility of data corruption bricking the entire dataset.

A glib high level overview of my last job for 6 years was "write out HDF5 files". In that time, I don't recall seeing a true data corruption problem with HDF5.

Now, I ran into many other problems with HDF5, typically surrounding the newer features that came along in 1.10, and its threading limitations. The older folks at that job would mention historical issues with data corruption (often from reading files as they're being written to), but I never saw it myself.
The genetics of happiness: does happiness depend upon ourselves?
If 8-20% of cases go critical/ ICU the insurance cost will end a ton of peoples lifes long term.
It's a public repo under a Facebook org; it's bound to be picked up on Reddit if it hasn't been already.

Personally, HN would be my go-to if I had a project to show and for which I was hoping for some high-quality collaboration.

If by 'reaching directly out' you mean contacting specific people, then it shouldn't be a public repo. Like I said, it's under a Facebook org, of course others will find it.
Won't be.

And 60k is not pretty impressive considering that many people already died without a proper diagnosis and was not included in the official counts. There is no trust that the reported numbers are reflective of the situation on the ground - in fact it is likely to be the tip of the iceberg.
The pigeon-hole principle.

If you have N+1 things and N pigeonholes to put them in, at least one pigeonhole must have more than 1 thing!
I don’t really understand your point. Just because all the implementations support the `asm` keyword doesn’t mean you need to know the assembly language of every CPU that has a c++ compiler.

You can write your code in modern c++ and ignore prehistoric carbuncles (some of which have been deprecated and eliminated FWIW). And you can call external code written in older dialects without having to look into its source code.
Joe, a Postgres query optimization bot
I think BEM is often misunderstood, it's not immediately obvious to beginners why it's helpful. Specificity is one problem it helps solve as you mentioned but the biggest thing for me is it forces you to think about what an element is and who it belongs to.

If someone writes '.nav a' they're saying "select all links inside of nav", but what they really wanted to say was "select all nav menu links, and nothing else", a class like '.nav__link' will never select other links that happen to be in the nav (CTA buttons, logo links, etc) and will survive markup restructuring, something like ".nav > ul > li > a' will not survive minor markup changes as it doesn't express what someone wanted to select in the first place. I think this way of thinking brings a lot of benefits that most CSS frameworks don't give.
Personally I think css utils are better suited for layout related stuff, acting more like layout primitives (hbox, vbox) etc since those tend to be pretty ad-hoc.

As far as concrete UI components go, I'm not sure this technique is any better, especially since you often need pretty ad-hoc styling with pseudos etc.

I think if CSS had built-in mixin support you could have the best of both worlds pretty easily, still crossing my fingers we get that some day, would be nice to drop all these build systems.
That's presumably the local legal entity for HSBC - most large companies operate by having at least one local legal entity in each country they operate in which are usually wholly owned subsidiaries of some other company in the group.
Defensive coding makes sense.

What is sql templating used for in the face of parameterized queries?
Eric Schmidt: Silicon Valley Needs the Federal Government
It seems to me that just a couple of do nothing placeholders were added to please Hans Boehm and get him to work on the c++ memory model :).
How do you know the failure rate is the same everywhere? It is very possible that the failure rate correlates with the region because it is not a purely stochastic process. Some users here think the government has no business in demanding census information and simply ignore it.
Holy mackerel's ghost.

That's mighty damn impressive.

More skills I will never have, like penmanship and singing. Give me about a week, and I'll have a red square and a blue circle aligned.
It will be as good as the sum of work put into it by the people in the ecosystem. That is the reason why MLIR was open-sourced very early in the development process, instead of thrown over the fence after being driven to completion by Google for a particular task.

Rust and friends do have IRs on top of LLVM IR. Developing and maintaining those IRs comes with an engineering cost. MLIR lets them partially share that cost with other projects that have similar needs.
> I think when this all comes to an end, China will be one of the countries that dealt with the virus the best. Countries without authoritarian governments likely don't have the means to effectively quarantine major cities and shut down massive portions of their economy immediately without major problems arising. Given a couple weeks, sure, but by then it will be too late.

Personally I think it was the PRC's actions that made the spread so bad in the first place. They tried to hide it at first and only stopped when they no longer could. I see no reason to expect their actions to be better than non-authoritarian governments when it's said and done, but I guess we'll just have to wait and see.
Would be even better if they had the option of 8x 2.5" slots and NBase-T or 10Gbps Ethernet. The old Gen 10 was way too large, this one I could replace my Synology with it running FreeNAS.
Sign up for the American Red Cross, disaster response. ARC is as organized as a volunteer-driven humanitarian organization can be. Once your family is secure, you can help others. Do not expect government to take care of basic needs. Federal, state, and municipal government can only do so much.

Don't bother responding to me with your opinion about misappropriation of funds. I spent a month volunteering in Louisiana after Katrina, taking days off without pay. Volunteers are always in short supply. The ARC is a vital institution.
The difference due to compiler versions isn’t wrong. What’s wrong is attributing it to the operating system. Especially given how easy it would be to just keep the same compiler version.

The problem with Phoronix v the build flags is not that they are different between systems/distros; quite the opposite: Phoronix builds the software in an unsupported way, ignoring system/distribution defaults. Which means, they measure software that’s miscompiled/misconfigured.
They make a big deal about the small size of the chip (less than a grain of rice). But what's the smallest size antenna this thing could be plugged into and remain effective?
What if I had two types of links, both of which were currently "text-blue-500 and underline" but I wanted to make one italics at some time in the future?
What If the Biggest Solar Storm on Record Happened Today? (2011)
From reading that review process, the main reason Debian banned it seems to be that in their view you can not use Debian together with SSPL licensed software and be compliant with the conditions of SSPL. The guideline (DFSG) does not specify what to do in this situation, which is acknowledged in the discussion, so the reason for banning the license comes down the fact that inclusion would not benefit the goal of the project.

The OSI seems more focused on the OSD 9, which depend on the interpretation of Services as derived works. This a different discussion and a very large grey zone. The review request did however get withdrawn we won't get a definitive answer.
Damn, this is dope! (Learnt that from my sons)

Now just give me a design surface tool that takes my raster drawn images and converts it to these CSS and I will be on it like a rash.
It seems that it’ll be safer to be in China, in 2 months, because they were actually serious about this, and forced all the quarantines and draconian measures.

Meanwhile the rest of the world is going to get ravaged.

I think Europe is going to explode in cases by next week.

Then the Middle East in 2 weeks.

Then South America in 3 weeks.

I think it’s already silently spreading in America. Maybe it’ll explode in 2 weeks.
there is nothing wrong with them, but pointers to member do not close over this, so you still need some form of binding to use them as callbacks.
The OP said "I think when this all comes to an end, China will be one of the countries that dealt with the virus the best." Had they dealt with it better initially, the might never have needed such draconian actions. "They made their bed" implies they did _not_ deal with it well at least initially.
If the US doesn’t qualify as a democracy either there aren’t any or the only one is Switzerland.
> that takes you right back to what they claim to be fighting.

... is also the kind of editorialising we don't need, when describing political views that don't align yours.

Shall we stop, or what?
Trump says US ' ready' for coronavirus
This paper [0] from a couple of days ago (24 Feb 2020) found that Betelgeuse's recent dimming was not caused by a drop in the star's surface temperature.

"We present optical spectrophotometry of the red supergiant Betelgeuse from 2020 February 15, during its recent unprecedented dimming episode. By comparing this spectrum to stellar atmosphere models for cool supergiants, as well as spectrophotometry of other Milky Way red supergiants, we conclude that Betelgeuse has a current effective temperature of 3600 +/- 25 K. While this is slightly cooler than previous measurements taken prior to Betelgeuse's recent lightcurve evolution, this drop in effective temperature is insufficient to explain Betelgeuse's recent optical dimming. We propose that episodic mass loss and an increase in the amount of large-grain circumstellar dust along our sightline to Betelgeuse is the most likely explanation for its recent photometric evolution."

One of the authors, Emily Levesque, also posted a related twitter thread. [1]

[0] https://arxiv.org/abs/2002.10463

[1] https://twitter.com/emsque/status/1232730880478765057
Always use prepared statements to set query parameters. This will handle 99.9% of all query use-cases. Constructing dynamic SQL from user input is a fool's game.
> Tailwind's draw seems to be in its name -- it helps you work faster.

And the argument is that this comes at the expense of maintainability.
Two things: other platforms and your own store.

There's a lot of other sizable platforms these days. AliExpress, Jet, eBay, Banggood, Wish, Rakuten and more.

And, can you sell a selection of products on those various platforms as teasers to lure customers to more products on your own e-comm? This way, you capture more of the value than give it away to them. You would have to find a way to run your own site/app and do shipping, but that's the trade-offs.
DTrace, for one.
Amazing achievement. How long did it take you to do each?
Huh. In Norway they were acquitted. Same story. Seems like a significant difference in the law tradition.
Replying to the edit for further clarification:

> Apparently I shouldn't have simplified "paramaterazation of SQL" as "sanitize your input"

It's not a simplification, it's incorrect. An SQL query is output. You are sending data out of your application code, via the SQL library driver.

It may seem like I'm splitting hairs here, but I've seen this distinction misunderstood in this way often enough in situations that severely compromise security.

Some people think of "output" as purely the end product of application flow, and all I/O that happens in between is somehow lumped together as indistinct "input". There's a reason I/O has two separate letters, and the distinction is crucial for securing your application.

TL;DR:

values passed to an I/O function (like stdout, file.write(), response.write(), db.query(), etc.) are all output, those returned from an I/O function (like stdin, file read, db query results or requestObject.getQueryParam()) are input. Sanitize the former, NOT the latter.

Validate the latter (ideally. Though I'd say this is more about stability than security).
I’m confused because I agree with this comment, but your other comments mentioned:

> "sanitizing input" is plain nonsense

> "Unsafe input" is not a thing.

Have you ever used hand sanitizer? The point of hand sanitizer is to reject infectious diseases outright.... you know, so they don’t get IN your body. You seem to have adopted a narrowly defined sense of sanitization which does not include “mercilessly discard/destroy”.
The Forest Spirits of Today Are Computers
I have nothing to gain from this. I'm not selling anything, unless you consider the concept that the virus is "more dangerous than they lead you to believe" a meme that is seeking to replicate in the Dawkins sense.

I love the Chinese people and culture. I studied the language in college. I have moral disagreements with the CCP, but I'm not trying to attack or disparage it here.

To refer back to the videos, in the case where there has been a claim that critically sick people are being sent off to the crematoriums while still alive, I doubt that there is a high ranking official making that decision. It's probably fear, volume of cases, and utter exhaustion of some limited individuals in the health care system. If the story is even true.

I admit that many of these videos are dubious (especially the Falun Gong ones), but taken together there is some underlying theme here. Whatever that is, I think it's prudent to be cautious. We haven't seen an event like this in our lifetimes, so it's easy to forget how drastic and extensive they can be.

As an aside, I took two semesters of immunology in undergrad, a special topics virology course, and a bunch of biochem. I only have an undergraduate understanding, and a foggy one at that. Zoonotic diseases often have trouble when they jump the species barrier: they're too lethal, have a low transmission, etc. This one seems to have won the genetic lottery.
as someone that works in operations.. This is pretty common think. Lets still do things how we did it on bare metal inside kubernetes.

They are stuck in the same mindset and just think Kubernetes is a automation tool.

I see it all day long as I interview people.
Large exoplanet could have the right conditions for life
Honestly not sure if I can get past this. It's wrong and he should care.
So I have to ask, why not move to ebay? Is their fee schedule worse than Etsy? I only buy from ebay and from the buyer perspective I enjoy the protections offered.

if Etsy wants to damage their brand than so be it. However there are multiple market places out there and this move by Etsy may be the push people need to look into them or start one.

edit: Found a comparison [0] spreadsheet for fees/etc, no comment from me on accuracy but it does show ebay as higher

[0] https://docs.google.com/spreadsheets/d/1z9PZDYLzlJe4fRgS85UX...
Modern GPUs usually have most of their ports as full-size DisplayPort..
This makes me think that there should be two names in package management: a UID, and the import/use-it name.

Many such systems do work like that, but the UID is chosen by the author, so invariably it's a close match to the import/use-it name, and often it's actually the preferred name because the other had to be mangled to be syntactically correct in a program. Consequently, the main display name is the UID; not the import/use-it name.

The UID should be generated by the package manager, and only the import/use-it name chosen by the author. The latter would be the one prominantly displayed, and be allowed to conflict with other packages (that have different UIDs).

Even if you wanted to use two that shared an import/use-it name, there could just be a way of renaming them in the requirements/lockfile, e.g.:

[dependencies]
d34db33f = { version = "^0.1", name = "isomorphic_git" }
l333333t = { version = "^3.2", name = "native_git" }

where usually both of those use the import/use-it name `git`, and the names `isomorphic_git` & `native_git` are whatever I fancied for this project with this dependencies file - could've been `foo` & `bar`.

(Perhaps a more human-friendly format would be `git = "^0.1"`, and we only have to specify something like `= { uid = "d34db33f", ...` when the package manager detects that there is a naming collision. Of course the lockfile, if used, would already have the UID, in case a colliding package was suddenly created.)
Welcome to the Age of Pandemics
Agreed. As a longterm users of both Excel and Google sheets, for simple tasks G-sheets is enough (and probably better for sharing). But any complex modelling should be done in Excel - it has far superior performance, short-cut keys, and analytical options. Being able to see the calculations easily for non-technical people is also a big advantage over other analytical products like Jupyter notebooks (e.g. Python / r) or SAS. Of course for really big data / stats modelling you need to use SAS/notebooks/stata (not a fan of the last one). Horses for Courses.
Replace the two double negatives and you get a better title:

"You can't make C++ beautiful, but you must try."
> you cite a single number in a single funeral home on a single day and try to extrapolate from that.

I did. Thank you for calling me out on that.

I still find it interesting that the funeral home employees were (allegedly--again, this is Falun Gong) instructed not to talk to anyone about cremation volume and that the numbers provided were an order of magnitude lower than what this individual cited.

> China banned funerals and mandated cremations, and my guess is that they did so for the purpose of masking the death toll.

I was thinking it could be more innocuous: preventing bodies with high viral titers that are shedding from being hugged by uninfected loved ones. But you could also be right.
> is Haskell's Hindley-Milner type identification system Turing complete?

I'm out of my depth, but I'm pretty sure HM is not Turing complete by design as otherwise it wouldn't be able to guarantee that inference completes. An HM type system is about as powerful you can get without being Turing complete.

There are extensions to the type systems of languages that use HM making them Turing complete, but when using those extensions inference is not guaranteed or doesn't work at all.
Memristive Synapses Connect Brain and Silicon Spiking Neurons
Meals on food delivery apps can be 90% more than if bought from the restaurant
Twitter is such a shitty website to have to look at anything on that's bigger than a tweet.
RISC-V Gaining Ground
A lot of food comes from China
> All you need is a wireframe made in wood or plastic, a bare board, and a fan.

Yes, but no. Yes, that will work. No, that will very likely not be compliant with your local RFI regulations.

That being said there is little excuse for cases with non-deburred edges when you can get cases that are fully painted (in and out) and have most cut-outs folded over for surprisingly little money (~50 €, which really makes you question how any of the questions make a profit off of it, not to speak of workers involved).
This is what I see when I click the link [0], the text is right there.

What do you see when you open the link ?
(no sarcasm or offence intended)

0: https://imgur.com/a/CkrGGDR
A cross-platform C# editor based on Roslyn and AvalonEdit
No date in title?

This is a classic.
Well the G4932E runs at exactly half the clock rate, so it's not surprising that it uses half the power. Just disable one of the two cores and now you have a 3.8GHz single core processor with a TDP of 27W:

echo 0 > /sys/devices/system/cpu/cpu1/online

Alternatively you could reduce the clock speed to 1.9GHz for both cores:

cpufreq-set -f 1900
(need to load the userspace governor also)

And of course you can schedule this to happen at a particular time of day.
Water - 1.5 litres for each day.

Food - 2000 calories per day for every male, 1500 for every female.

And buy a water filter and gas burner/camping stove.
You could hide the computer behind a painting.
digging a cave with a spoon. if hand-made, hat off to patience
TDP is largely irrelevant. You are interested in either energy per task or power for availability, neither of which you can figure out from a datasheet. The latter is essentially the same as idle power, but depends on what services you run.