skysight-inc/HackerNews huggingface dataset:
> It boils down to the fact that a CPU using all of its cores uses more power than a CPU using only one of its cores.

This is true if your cores are all the same and running at the same frequency, but voltage/frequency scaling make things more complicated and heterogenous cores like in essentially every modern ARM processor completely destroy it. If you have a bunch of slow cores that are half as fast but use a quarter of the power [1], using threads to split up the work so you can still meet your deadline can definitely save power.

1: https://www.semanticscholar.org/paper/Power-aware-task-sched...
Nothing can be done for the first time, right?

The prospect of continued decline in costs of renewables and storage is real enough to deter investment in nuclear. The market is rendering its verdict.
We already know that there a natural oil leaks all over the ocean floor, which makes me wonder if a lot of such additional small leaks all over the world are really going to have an impact.
> Also, when doing readme's for ambitious projects it's probably best to mark what features are complete and which ones are just planned.

I think that's what issues and milestones are for. I tried to document as much as possible. Currently, a lot of UI features are not ready, and the HTML and CSS parser both need major rework.

> Right now it looks like the whole V-lang debacle IMO with lots of features promised and no way to know what is implemented and not, while wrapping other projects without acknowledging it.

Not a single external library included. Pretty much everything implemented by myself over the last 1 1/2 years.

Please don't confuse a Browser with a Browser Engine. I never claimed to replace WebKit, Blink and neither Gecko.

For now, I, as a single person working on the project, just didn't have the time to fork Servo into a reduced library that can be bundled anyhow - because that's a shitload of work to be done. For now I'm focussing on parsing and filtering, because the underlying network concept was proven to work. I had to build a test runner, too, to be able to even test these behaviours.

Currently the prototype of the UI is implemented in HTML5, reusing as much as possible from the nodejs-side ES2018 modules.
„€10B over 7 years [...] to rival foreign corporations such as Amazon, Google and Alibaba“

Does not sound like lot when compared to the annual invest of even just one of the IaaS giants.
Useful HTML file upload tips for web developers
not op but zcash is built on zk-snarks[0] and afaik monero offers complete anonymity as well[1].

[0]: https://z.cash/technology/zksnarks/

[1]: https://www.getmonero.org/get-started/faq/#anchor-different
But biology is also information...

Did you come up with a good reason for technology advanced enough to support interstellar travel but not being able to replicate lifeforms synthetically from a digital copy? Maybe alien lifeforms where the detailed chemistry hasn't been worked out?
Weekly routines and daily to-dos, periodically adjusted for long-term goals.

The power of routines is that your brain is not frequently using up energy for getting you to do whatever you have to do--instead, you're simply showing up to something you expect would happen.
I often wonder if this is the solution to the Fermi paradox. The assumptions go like this.

* Natural selection works everywhere, on individuals and societies. They compete even after survival is secure
* Intelligent creatures need social order and specialization to become industrial
* There will be administrative/ruling specialties because flat organizational hierarchies work for ants and bees but not when work and global coordination becomes complex
* Social order installed, tech attained
* Absolute power corrupts absolutely
* ET gulag, end of space travel, everyone is busy making war and pleasing dear leaders

No references.
I still remember how many years ago, when someone in my team told me one Friday afternoon "there's not something like 'undo' for 'drop table', right?".
He spent the weekend recreating the data.
A side effect of this is that if your individual productivity goes up, your real wage might go up, but if your whole industry’s productivity goes up, it’ll be mitigated by this effect.

Articles telling us to focus on team, rather than individual, productivity should probably be viewed through this lens.
You can google and find cases of US pilots getting fired and sentenced to a year in prison for flying intoxicated.

Maybe they don't get fired if they report themselves unable to fly beforehand but I wouldn't quite call that a no blame culture.
كود خصم سنتربوينت لاقوى خصم
اقوى الخصومات الى عملاء سنتربوينت الكرام من خلال كود خصم سنتربوينت المتجدد و خصوماته التى لا تنتهى الى جميع المتسوقين
Because there is no incentive. The current political incentive in Germany is to keep the existing fossil fuel power plants running for as long as possible to avoid investments that could ruin the "Schwarze Null" (the government's "no new debt" policy).
What is the PDP-11 instruction set?
What is this? – Red Teaming Experiments
I've had a lot of fun writing a simple FORTH-like recently:

https://github.com/skx/foth/

Inspired by a previous hackernews comment-thread, I don't use a return-stack. So while I do have support for `if` it is implemented in a hardwired fashion.

I'd love to spend the time to do it properly, but I suspect rabbit-hole wouldn't even begin to describe the amount of time I'd sink into it.
You’d prefer someone who lies to the population and downplays science and experts in the field of epidemiology? Do you really think this is going to lead to economic recovery?
This is not exactly my area of expertise, but seems the author should read

Dawid, A. Philip. "The well-calibrated Bayesian." Journal of the American Statistical Association 77.379 (1982): 605-610.

which explains how you should interpret randomness in forecasting non-repeatable events. I don't know if 538 uses Bayesian modeling though. I think Andrew Gelman had written about this once, and as I just checked he just wrote another post on election forecast [1].

[1]: https://statmodeling.stat.columbia.edu/2020/07/31/thinking-a...
Pepsi' Frito division sells $12.5B worth of chips annually

https://www.forbes.com/companies/frito-lay/#2abba8be30bf

In comparison, it's expected $11B will be spent on the US Presidential election.

https://abc7.com/2020-election-campaign-spending-trump-biden...

That's a lot of money, but its still less than we spend on chips.
> were the US, Italy, and other more severely affected countries already major travel hubs for people coming from early affected regions?

That only played a role very early on, at the beginning of the pandemic, when imported cases drove spread of the virus.

As the pandemic goes on, community spread becomes the dominant factor, so policies that affect transmission can have a huge effect.

The most dramatic example of this is China. The virus began there, so they had zero time to prepare. They were more "in the path of the storm" than anyone. There was a major outbreak in Hubei province, and the virus gained a foothold in every major city in the country. But then, beginning in late January, China had an extremely strict lockdown that lasted several weeks. Transmission chains ended, and the prevalence of the virus was brought down to a minimal level. Since then, extensive testing and symptom checks in public have kept the epidemic from resurging, and the government has reacted with immediate lockdowns wherever the virus has resurfaced. Compare that to the US (and many countries, though the US is one of the most extreme examples), where the epidemic has been allowed to continue for months.
Yes, Manuel, I'm talking about you! :)
> I didn't expect this to be posted on HN because the project is kind of still in its infancy.

Hi, one of my minions found it and I decided to post it here.

Sorry about that.
Not really they lost a day of data, toy database.
Man-made chemicals influence genes controlling aging, immune system, metabolism
There is almost never a single cause. If a single cause can trigger a disaster, then there is another cause by definition - poor system design.

E.g. in the article's case it is clear that there is some sort of procedural deficiency there that allows the configuration variables to be set wrong and thus cause a connection to the wrong database.

Another one is that the function that has directly caused the data loss DOES NOT CHECK for this.

Yet another WTF is that if that code is meant to ever run on a development system, why is it in a production codebase in the first place?

And the worst bit? They throw arms up in the air, unable to identify the reason why this has happened. So they are leaving the possibility open to another similar mistake happening in the future, even though they have removed the offending code.

Oh and the fact that they don't have backups except for those of the hosting provider (which really shouldn't be relied on except as the last hail Mary solution!) is telling.

That's not a robust system design, especially if they are hosting customers' data.
people first" to "economy first", to the point that sometimes it feels like people exist only to serve economy.

I don’t see these as mutually exclusive. The state of the economy dictates what we can afford in terms of healthcare, infrastructure, education, defence and much more. It is directly correlated with life expectancy and quality of life. Sure top-line numbers don’t tell the whole story, but they do tell a lot of it.
But then strings and most of the stdlib aren't available to you unless you want one big massive memory leak.
Interesting and deliberate IP 114.114.114.114

114 is the mainland China number for an equivalent of the yellow pages. Phone number lookup.
They hope to get additional investing from industry, which sounds quite reasonable in this case.
Lol. Europe is such a joke. I bet they waste it all with nothing to little to show for it.
The ELT (rather than ETL) insight was really cool, hadn't heard of that before.

Unless though, you're on a massive, massive scale, Just Use Postgres, and write your ETL (ELT now?) queues normally. Keep It Simple Stupid.
Nim beats D on metaprogramming.
Time-restricted eating: efficacy versus effectiveness
> Thankfully our database is a managed database from DigitalOcean, which means that DigitalOcean automatically do backups once a day.
Do cloud providers provide a smaller window for backup. Are there better ways to reduce the backup window here for DBs? Would love to understand any techniques folks use to minimize the backup window?
The authors of Moment also actively recommend switching off Moment onto a different date library like Luxon or Date-fns. Shouldn't be on this list.
Doubt

Humans reaction times are much slower than that. In fact for some things it can take a whole second https://www.visualexpert.com/Resources/reactiontime.html

Maybe racing sports have shorter reaction times, but I'd be frankly surprised if it was something < 100ms

10fps for your average drive should be more than enough
Obscurix – Arch Linux-based OS configured for privacy, security and anonymity
Yes! Let us use your own cloud provider which are not on top.

This leads to issues for everyone who is then limited to EU cloud providers.

General speaking, perhaps its good enough for base load of small companies but you do not want to develop on a telekom based cloud platform.

They are much slower and basically non innvative.
If you are interested in platform independence, why even bother with the Unix utilities? You can accomplish the same with Python, have results that are more readable to the non-Unix crowd, and not rely upon sometimes esoteric knowledge of the Unix utilities (and the inconsistencies between vendors).

That isn't to say that the Unix utilities are without merit. I have used them extensively for similar tasks. That being said, it is in environments where everyone used some version of Unix (typically Linux, Solaris, or Mac OS X).
As a european, i still think those kind of measures are trying to cure the symptoms by throwing huge pile of cash, rather that fix the core issue : that the private sector in europe is currently unable to produce GAFA-sized companies in the IT sector.

My intuition is that once again the money will be grabbed by existing big companies that proved unable to innovate, but are the best at capturing public fundings.

EDIT : and i should add, helping politicians look good. All in all it will only help everybody pretend they're doing something, while letting the ship sink even more.
It is because politicians lie. Filtering one side but no the other by the media and social media is censoring.

They are interfering with election.
This is the kind of shoots I do on the spot when walking and travelling. Small traces of urbanite or something.
You don't have direct control over caches, however if you have control over memory layout you can indirectly influence how the code performs by leveraging the proper cache sizes/lanes. If that's your goal, you cannot focus on program flow alone, and that's the main point.

Low-level and high-performance code is not "pretty" by modern standards, as it often requires DMA and tight control over data placement in order to fully leverage instruction-level and hardware-level parallelism. The hardware influences how the data structure layout should be first, and we work on top of it. We abstract structs and containers that capture this layout, so that we can still have a readable program flow at the end.

In this sense, C++ can still be used as a glorified assembler, without the need to drop down to ASM for the simple stuff as your for loop: nobody wants to do that (me included). But contrarily to C, you can avoid a ton of preprocessor macros and get improved type checking, while still using ASM in selected spots if needed.

Your example about vector<bool> is not really surprising. Do you want the iterator to be efficient, or consistent? Tough choice, depending on the scenario. It's annoying that it's not standardized in one form or the other. I remember I was fretting over this detail over 10 years ago, but in actuality I used vector<bool> exactly 0 times in my career so far.

Again, please don't consider this as if I was praising C++. There are _many_ areas, including lack of standardization in the stdlib area (vector<bool> being one of many), that I don't like. I just want to say that it's an incredibly versatile tool which is very hard to replace given the same constraints.
My impression of the Swiss cheese model is that it's used to take liability from the software vendor and (optionally) put it back on the software purchaser. Sure, there was a software error, but really, Mr. Customer, if this was so important, then you really should have been paying more attention and noticed the data issues sooner.
They used to have a 24 hour rental program. Unfortunately, 4 got totalled in Manhattan (mostly because they are fragile) so they killed it
Yeah this stuff still happens. Just recently in 2019, the GPS clock rolled over. The cellphone I had at the time (it was a 2011 build) couldn't deal with it and displayed a wrong GPS date, thankfully it was not used to prime the internal clock and was limited to the GPS diagnosis app. But still interesting. In the new protocol they only added 3 more bits, creating 157 year long epochs. I'd argue that this epoch is more dangerous than the currently deployed one because with the currently deployed one it's more likely that manufacturers build ability to cope with a rollover into their devices. It's also shorter than the lifetime of the united states...
> IF you paid off a house in 5 years, you bought way less house than you could afford.

Of course I did, that's the whole point to me. Moving to a location with a nice quality/standard of living with housing available far below my income so that it's not a financial burden. Everyone has a different goal - a small, modest house in a nice place to live is all many of us ask. And not being in debt.

> Home ownership (especially for $500k+) is heavily subsidized in the USA

A really nice house (nicer than mine for sure, even a brand new build) here is 250k. 500k buys a lot of house here (miniature mansions in some places), there are plenty of nice places to live in the USA for 150-250k. I just checked Zillow, where I grew up half way across the country (where parents still live) is the same prices as here. Not everyone lives in an overly expensive housing market or wants a massively large house/land.
In America they often talk about these huge sums of money being raised by politicians.

Where does it go in a campaign? Adverts?
I feel like redditors in particular hate Bolsanaro just because he's right wing. What you've said is incredibly sad though.
you cannot "force" funding. if you lack behind the competition, you must embrace protectionism.

China is successful in that sphere compared to India because they closed the market and developed sustainable and partially better alternatives to American products.

Europe must so the same - tax and limit American products. Let the home market copy and adapt then innovate. This is THE ONLY way.
> I think that's what issues and milestones are for. I tried to document as much as possible.

I agree, but then those should not be mentioned in the readme as "Features". Are there any things mentioned in the readme in present tense that are not currently implemented?

> Please don't confuse a Browser with a Browser Engine. I never claimed to replace WebKit, Blink and neither Gecko.

In https://github.com/tholian-network/stealth/blob/X0/browser/b... you spawn chromium (or other browsers). Chromium is a browser.

I'm not saying that you have to fork or implement a browser, I'm just saying that if you wrap an existing browser it's best to be upfront about it and not make it sound like you have implemented a browser. I wouldn't have objected if the readme said something like "It uses chromium/electron or other browsers under the hood" at the beginning.

This is especially critical if you claim improved privacy or security.

> For now, I, as a single person working on the project

I'm not complaining about the quality or the scope of the work. I'm saying that what the readme presents as the current status of the project does not match reality.
The Buck 65 music video "Roses in the Rain" uses utility poles in a similar way! https://youtu.be/YJY2dt8B-vY
I can't alt-tab out of games unless they are Linux native typically. I am using Arch Linux with Gnome.

I've noticed games that are unity or another cross platform toolkit always run better than engines that seem to be console/windows only.
Some problems like rattles can't be found until you drive the car. Which requires accepting delivery.
Governments can, or at least did* outperform the private sector in some technologies, but not in all and I would be surprised if cloud computing was one of them. The experience of government trying this is littered with failure e.g. ICL mainframes. Who’s going to take the lead on this, Groupe Bull??

* e.g. aerospace not withstanding companies like SpaceX.
Haskell web framework IHP aims to make web development type-safe and easy
How to Use iPhone Emergency SOS Mode
SpaceX Starlink Mission Live
> the argument at the moment is the Johnson is being too careful to protect people at the expense of the economy

A variation on that argument, is that careful protection is only an option if the economy is simultaneously protected, by paying people and businesses cash, otherwise people desperate for income will not comply with lockdown directives.

We're seeing that being argued from Manchester right now: They want a national "circuit breaker" rather than local lockdown, because a national one is more likely to be accompanied by financial support, as well as a shorter "tier 3" lockdown in Manchester.

Not mentioned much, but hovering in the background, is a minority but significant number of people who aren't entitled to government financial support of any kind. Some as individuals (no recourse to public funds) and some as businesses (started business at a time that haven't shown figures yet by April, or were in an invest-and-spend phase so low/negative profit). In the absence of any government support, during lockdown they depend on volunteers for food and temporary non-eviction law to keep their homes, so they have a strong incentive to resist lockdown measures.
This smells a bit Soviet. Instead of allowing small businesses to breathe more freely, take more risk and grow to US size companies (in 3x larger internal market!) they try to build a top down copy using an army of grant and procurement funds eaters.. despicable.
Docker 'can' be used as a way to provide a shell which has a consistent set of programs installed. (As a bonus, using Docker this way let's you avoid 'polluting' the host OS with various packages).

Sure, this case where it's just coreutils + csvlookup, the benefit for the added abstractions isn't so great. Using docker like this makes more sense if there are more dependencies. (Maybe it's just easier to say "use docker" than to explain how to install a dependency on different OSs?).

In general, I think it's fine for people to be able to solve problems without having a full understanding of the mechanisms involved in getting the tool to work. If they need to know it later, they'll learn it then. This is a top-down approach -- But, naturally, there'll be some awkward solutions on the way.
what could go wrong
Thanks for the link! Nice to see someone working on it.
Phil Daru Body Armour Review – Is It Legit? Find Out Here
Why would they? The 4$ wage wouldn’t even scratch the surface of college costs these days. The cost/wage ration is unreal now. Gone are days where a summer paper route paid for the semester. The more rational thing to do would be to spend the time studying, or enjoy your free time before you lose it for a decade.
Not going outside a 5 km radius from home would barely allow me to visit the neighbours. I can imagine the situation is similar for quite a lot of people Down Under.

On the plus side, we were doing social distancing before it was cool.
You have to start somewhere. Total annual EU budget is 150 billion EUR.
> CPUs get more energy efficient at lower speeds.

intuitively i agree but how does this fall in line with the 'race to idle' concept?

would love to see some graphs with operations-per-watt for different cpu/arch.
I think it is a bit early to make that call.
The recent COVID-App is a prime example of that. SAP plus German Telekom, neither of which is known for innovation, grab a 60M plus deal to develop a single app.

In Italy a startup took over the job for 1/50 of the price and with at least as good or better job.

Is the above play a problem for Germany? No. Do you they even understand an problem? I don't think so.
Those numbers are entirely different.

The 750mn cases is an estimate based on seroprevalence studies. The 1mn deaths are based on deaths following a positive PCR test. A more appropriate comparison is 1mn deaths over 35mn cases, leading to a CFR of over 2%.

Odd how no one ever quotes that number.
> I was in Bucharest a couple of years ago and used wired broadband in an apartment. It was good - not terribly faster than what I get here, or at least.

Often in apartment rentals in Romania, the link to the apartment is a fast fiber one, but 1) the installers didn’t properly connect all eight pins to the ethernet cable, and/or 2) the apartment’s owner has installed a slow router. Gigabit routers have until recently been a specialist item in Romania that had to be special-ordered, and the owners of rented apartments and cafes just bought a cheap slow router at the local hypermarket. So, the internet that customers enjoyed was always slower than the physical connection could have provided.
I think the csvlook utility comes from the Command Line Data Science book the author cites. I read some of that book, there was good info in there, but ultimately it was a bit annoying because it's author based a lot of things on utilities he had written himself (like csvlook) which in many cases just did trivial things you could easily have done with shell commands or coreutils.