skysight-inc/HackerNews huggingface dataset:
Hosting Static Websites as Unikernels on Amazon Web Services
Horlu: Create a website for your business from your Facebook Page instantly
Yes, but for how long? And what happens after you're put to pasture?

You can earn a lot more in the US when you're young (or at least, mid-career), but you'd better hope and pray that you never get sick, or laid off in late-middle age.

I've never lived in Germany, so I don't know the problems with their system, but the US system is (currently) a "get yours while the getting is good" approach to life.
According to the wiki at https://en.wikipedia.org/wiki/Seed_ball, the earliest records of aerial reforestation date back from 1930. In this period, planes were used to distribute seeds over certain inaccessible mountains in Honolulu after forest fires.

This article quotes the lead professor as saying doing it with big aircraft is expensive and poses logistic problems. So the only way to do it is through drones. I respect people trying to achieve maximum output with minimal resources.

> Dropping seeds instead of bombs seems like a plan that John Lennon would approve of.

That sounds like a bold statement, but I’m certainly willing to approve of it :)

Good job.
Or they just don't patch their systems.
What irks me about the Flux ecosystem / JS in general is the strange divergence between what is required (immutable data structures) and what new language features provide (ES6 classes). Immutable.js alleviates some of the pain of having to do full copies on state mutation, but this does not work in a satisfactory way with ES6 classes.

If the tendency of the developer community is towards (faux) functional programming, why is the language taking a OO direction (with the community actively discouraging using ES6 classes)? Coming from OO languages, I'd like to use ES6 classes, but I can't because I'm told it's not idiomatic and I don't want my code to stand out like a sore thumb. So, "native" JS devs don't want to use ES6 classes, and OO devs gone JS cannot use ES6 classes without looking like fools; why is the feature there?
"In some jurisdictions, pension guarantees have constitutional protections that may not be erasable by simply passing a bill."

You would be surprised what bills can be passed. The 3rd Reich ("Nazi Germany") was supposed to last one thousand years by the way. It didn't. And in the end laws won't enable to circumvent the laws of nature (limited resources).
On the same topic of CSRF prevention, we also recently wrote about the dangers of using Content Types for security -- https://medium.com/@longtermsec/chrome-just-hardened-the-nav...
I think you're talking a bit past temp-dude-87844's point.

Yes, a system based entirely on the contents of the contributions will end up modeled by the biases of those who take the decisions. But aren't those the same forces that would apply to a "work-focused" company environment like the article proposes?
> I know this works, but how come we can see the output of pv when it is redirected to /dev/null?

From pv's man page:

> Its standard input will be passed through to its standard output and progress will be shown on standard error.

> Maybe I just don't understand how pipes and redirection works since I rarely use Linux :(

The Windows/DOS command line has the same concepts[0], though it's probably used less often: by default a process has 3 FDs for STDIN (0), STDOUT (1) and STDERR (2).

At a shell

* you can feed a file to STDIN via <$FILE (so `</dev/zero pv` will feed the data of /dev/zero to pv), the 0 is optional

* you can pipe an output to a command (other | command) or the output of a command to an other (command | other)

* you can redirect the STDOUT or STDERR to files via 1> and 2> (the "1" is optional so 1> and > are the same thing) (you can redirect both independently)

* you can "merge" either output stream to the other by redirecting them to &FD so 1>&2 will redirect STDOUT (1) to STDERR (2) and 2>&1 will redirect STDERR (2) to STDOUT (1), you can combine that with a regular redirection so e.g. `command >foo 2>&1 ` or with a pipe (`command 2>&1 | other`)

And you can actually create more FDs to use in your pipelines[1] though I don't remember ever seeing

[0] https://support.microsoft.com/en-us/help/110930/redirecting-...

[1] http://tldp.org/LDP/abs/html/io-redirection.html
> If you only want to read then both zip and tar are good for this purpose

And programmatically accessing them is significantly more complicated than using SQLite which involves dropping a single header in your project and about 10 lines of code.

> If you want to do random writes then more consideration is needed.

Which you almost certainly what you want to do for the sorts of use cases where SQLite is also under consideration.
Interesting. The internet says the shadow of the moon during an eclipse has a speed between 500m - 1500m per second. So from a high point you really can see the shadow racing across earth.
o_O really? I must be living in the wrong universe. I often wish there were less tutorial videos, podcasts and such and just give me the text. I read much better than listen. Must be me. There's also of course the language barrier although I did get a 8 out of 9 on my IELTS for understanding spoken English and I live in British Columbia for some years now -- but then again, reading comprehension was 8.5 and to this day I have no clue where I lost that half point.
> My description is, from my limited understanding, just describing General Relativity, which is a totally accepted and highly verified by observation and experiment.

Grandparent is indeed describing GR. I wanted to try to give a more outside perspective; I think we forget just how weird GR is just because we're used to it. I wonder how we'd be thinking about quantum gravity if we'd discovered QM (which has been verified far more rigorously than GR) first.

> Where you say it is incompatible with quantization, you are assuming that gravity has any quantization to begin with, which has never been observed.

Sure, but as I said quantization is how all other known physics works. While indeed we haven't observed quantization of gravity, fundamentally gravity happens in the same universe as the rest of physics, so something has to give. (And continuous approximations to quantized reality are again exactly how the rest of physics works, whereas I struggle to even imagine how you could recover quantum behaviour from a continuous underlying theory - though I'd be fascinated to hear about any such efforts).
The Hydro Quebec plants are near the arctic. Some of them are near the tundra line (where trees suddenly stop growing and lichen takes over).

Don't expect much rotting that far north. It will take centuries to even start to rot. Also don't expect underwater logging either. This is the Boreal forest, not the rockies one. It's even past the northern limit for Boreal Cedar, the only mildly valuable tree you might find. After that, you get young evergreen and pine. They burn before they get old and grow slowly due to the climate.
I listen to BBC Radio Four "Today", "World at One", or "PM" (sometimes all of them). They don't have good tech or science content.
Slightly tangential but:

7zip amazes me. It hasn't been regularly updated for years, and still comes out on top of most benchmarks. And yet I find that many, if not most, people on Windows use WinRAR.

It's good software, easy to install, easy to use, and it doesn't nag the user with warnings about licensing. I don't quite understand how WinRAR got popular in the first place with that kind of competition.
inflation distorts these numbers pretty massively. Especially when you consider something like "quantitative easing" to actually be causing massive inflation, but not visible to consumers in anything except housing, health care and education (all three are not tracked by typical inflation indicators either). The reason that traditional indicators are not being touched is that money is being sucked out of peoples pockets by the aforementioned three factors faster than printed money can inflate them.
If there is a reset I hope it's actually effective at fully deflating the bubbles this time.
Apple developers get standardised machine learning library
I think you mean bike-shedding.
>and the project will not move forward any more, after so many decades.

Lockheed Martin licensed ESP from Microsoft and develops it as Prepar3D.
Am i correct in assuming that floating point operations would stress these machines even more so, so in other words if the hash computation somehow required lots of floating point calculations the time taken to crack would be much longer?
> Is it some carryover from coding? If so it's bad practice outside of code. Don't stain the standards.

Nah, it's sort of carryover from old days of plaintext e-mails, except we still communicate with plaintext a lot, so it's still relevant. It originates from the same space that gave you ALL CAPS = SHOUTING and emoticons.

Typical emphasis characters are underscore and asterisks. Many software will recognize them. Like Markdown parsers. Or like HN, wich italicizes text between asterisks. Or Skype, which responds both to asterisks, underscores, and then probably some more.

Complaining about this is kind of like complaining about using punctuation in an English sentence. It's not the users who are the problem - it's the other crowd, that doesn't know the rules and traditions of the medium.
* The most accurate map for Aug 21, 2017's total solar eclipse for north America (nasa.gov)
You may want to check the detailed reports using the "Add-on Compatibility Reporter" extension. I found that the default indication is very conservative, and I used several extensions that were initially marked as not compatible, but actually worked well.

So for the incompatible ones, particularly if they're rather niche (= not many people tried them with electrolysis), you may want to force multi-process and try them. And don't forget to make a report using the Reporter add-on, whether it went well or not ;)
Aka The Projects.
Mortgages to buy houses are not at all inevitable. Arguably they're the root of most of our debt issues.
Interesting project.

What's all this voodoo inside Makefile, I would love more comments in there. I think that would be the first step for anyone wanting to contribute, to understand the Makefile.

@echo "[go] compiling go sources into a standalone .o file"
@GOARCH=$(GOARCH) GOOS=$(GOOS) go build -n 2>&1 | sed \
-e "1s|^|set -e\n|" \
-e "1s|^|export GOOS=$(GOOS)\n|" \
-e "1s|^|export GOARCH=$(GOARCH)\n|" \
-e "1s|^|WORK='$(BUILD_ABS_DIR)'\n|" \
-e "1s|^|alias pack='go tool pack'\n|" \
-e "/^mv/d" \
-e "s|-extld|-tmpdir='$(BUILD_ABS_DIR)' -linkmode=external -extldflags='-nostartfiles -nodefaultlibs -nostdlib -r' -extld|g" \
| sh 2>&1 | sed -e "s/^/ | /g"

edit I think I understand what's happening here, funny how writing it down helps one understand. It's just building up a build script with sed and executing it. The thing was I didn't know sed could do that. TIL
I think (not sure) that AMD is faster per $ not faster for mining specifically ? So it makes more sense when mining for bitcoin to buy the fastest per $ cards ?
https://www.droneseed.co/ based out of Seattle is building drones and seed cartridges specifically for reforestation.
Well, if you're German that means you move to Silicon Valley, make the big bucks for a few decades, then move back to Germany when your health starts to fail.
It makes sense for any kind of code.

This is software engineering. Thinking about the tradeoffs and whether they are appropriate or warranted is bread and butter. It very much makes sense to ask whether all of this is merely optimizing for a benchmark at the expense of other factors that might turn out to be more important, such as long term maintainability, portability, behaviour in some common cases which are significantly unlike the benchmark, and so forth.

Several people have made some of these points here and in other discussions; and not only do they make sense, they are an important part of the discipline.

Is the optimized implementation documented well enough that other people coming to it anew can understand it in another 10 years' time? How many of the magic constants have to be tweaked as the operating system evolves? Is it clear to maintenance programmers how they need to be tweaked? Does optimizing for the benchmark skew the implementation too far away from one common case where one is only wanting a few "y"s (because, say, the program being told "y" only asks 17 questions) resulting in every invocation of the yes program rapidly generating KiBs or even MiBs of output, that lives in pipe buffers in kernel space unused and only to be thrown away? Does it make more sense to put buffer size optimizations in the C library where all can benefit? What is the benefit of optimizing for Linux-only system calls on GNU Hurd? Will we optimize yes for GNU Hurd, too, in the same codebase? How much conditional compilation will we end up with? If the C library is improved to do better in the future, is it a problem that the optimized for benchmark program no longer automatically gains from it? How much of a problem is it that a GNU program is now not portable to systems other than Linux, and is locked into one operating system?

And what about other benchmarks? Many have noted that this benchmark pretty much relies on the fact that the output of the yes program is simply thrown away, and no real work is being done by anything else on the system. What about a benchmark where it is? What about a benchmark where it is important that yes issues a system call per line, yielding the CPU to other processes so that they can process that line before yes bothers to print the next? What about a benchmark that measures kernel memory usage and treats lower as better? What about benchmarks that measure how small the yes program is; not just in terms of code but in terms of memory, I/O, and CPU usages; because the memory, I/O, and CPU should actually be given to more important programs than yes on the system that are actually the system's main function? What about low impact?

Yes, it's fun to focus narrowly and optimize yes so that it generates as much output as it can for one specific toy usage. But in engineering one has to ask and think about so much more.
1. Salaries are much lower than, let's say US or Switzerland.

2. Taxes are much higher then, let's say US or Switzerland.

3. Real Estate prices are totally out of whack.

So if you make 60k (a very good salary for an engineer even in a big city) and want to raise a family of four you are basically on the same level as a non-working immigrant family of four. But yes, you have access to schools, universities and health care.

The trend that people are leaving or looking for exit options is definitely significant accelerating.
I have a theory that may not be popular around here. I also probably have not thought this through and researched it enough, but I will throw it out there anyway. I would love to have it torn to shreds by someone who has studied economics or more likely this is something that has already been extensively researched.

It seems to me that real sustained economic growth cannot happen without population growth, at least the way things work right now. Efficiencies gained through technological innovation and financial manipulation cannot sustain growth indefinitely, they just smooth out the bumps and with population growth help increase the rate of economic growth. And without economic growth, we are going to keep running into these issues and others brought up in the article.

Look at Japan, no amount of economic/financial manipulation has really helped them. Their main economic issues stem from the fact that there are not enough young people.

Aside from epidemics/catastrophes, there has almost always been sustained population growth through human history. It is in our nature to multiply and expand. I feel this is why so many people are fascinated with space and space colonization.

The current demographic trends in western society is unprecedented and in my estimation, I do not think it will end well unless someone finds another solution, or these demographic trends are reversed.

Feel free to rip apart my theory. I would love to hear what someone with a better understanding of this area has to say.
History by lawsuit: After Gawkers demise, “inventor of email” targets Techdirt
Uber director resigns after making sexist joke at meeting about sexism
System programming in Rust: beyond safety
Vegetarian diets almost twice as effective in reducing body weight, study finds
Thinking twice about it, there is something exciting here about the concept.

Of all databases, sqlite has this special interest : it's the perfect tool to be embedded as local database in clients.

Now, if we consider that blockchain is a new p2p effort to build decentralized softwares, putting sqlite on a blockchain makes a lot of sense : this is a mean to distribute data for decentralized apps.

It also makes sense in an era where data mining becomes a thing on its own, and not just as part of a software stack.

Now, this is clearly not a drop in for our usual database on our server (where latency and concurrent writing is the topmost concern, two points which are blockchains weak points - and sqlite weakpoints), but there is certainly something to explore there.
More than 2B people overweight or obese, new study finds
Hold on, your country has separate pension ages for each gender?
You don't need to lock down whole devices. You just need to lock down applications what they can do.
The problem is that the basic unix (and windows) APIs are designed with malicious users, but not malicious programs in mind. What iOS and Android tries is bolting on a permission system on those old APIs, leading to overcomplicated brittle systems that fall behind what can be achieved.
> IMO the difference between threads and processes is somewhat academic.

At a linux-implementation level the difference is almost irrelevant. At a code level the difference between your variables being shared by default versus "thread"-local by default is huge.
I still occasionally use My Asus 1000HE (early 2009) and my Sony Vaio FE11S (2006), both still run fine with Arch/Ubuntu and Mate. Getting more and more difficult to find distro's though.
The Full List of 1000 Slack Communities
And it's most likely a carry over from when typewriters where in use, where you go back and add underscores under the characters by typing over them. Underscores where of course the italics of a typewriter font, unless you had a really fancy typewriter.

On a _terminal_ you can't - or couldn't compose characters, so you add a hint in the front and the end of the word.

Just deal with it.

It's like the characters added for simulated deletion, that jokingly tell other suckers^H^H^H^H^H^H^H people what you really think. On a suitably incompatible terminal (or vastly overrated editor), this was actually what it looked like when trying to delete text by pressing backspace or some obscure control-character.

Ahh, and simulated hangup noise that you get when you are criticising Hacker New, although that have never happ485734095-.sdf834-...####+3+323803040830
Property video
The Firefox browser source code has a list of current TLDs, IIRC. There's over a thousand. You could use that to at least verify the TLD part.

The following may not work for your use case and I'm no expert in the area, but it could be possible to write a simple shell script to dig the mx records, and fail out if there's no such, and if you wanted to go a step further, you could open SMTP, and fail out if you can't, and if you wanted to go a step further you could even on the mx maybe even do a direct ping or some other lookup of the address part in that session, so long as the server is not a catchall. I feel the total bandwidth outlay would be no more then a small http roundtrip. Tho you might get a bit of hit on the connection time, or retries, as my feeling is not all SMTP hosts are speedy. Thanks
Six Signs That Your Mobile App Needs an Instant Update
Why we’re betting against real-time team messaging
Yeah, but we want to reduce the population old people, not young people. Maybe an intergenerational war.
Things that Idris improves things over Haskell
SQLite is good when you’re mostly reading.

For writing, the major drawback of SQLite is it doesn’t support concurrent writes.

All filesystems do (at least when writing different files), all full-fledged RDBMS-es do, even some embedded databases do (like ESENT). Yet, in SQLite only a single thread can write.

Even embedded chips are multicore these days…
I've been mocked on HN for saying this before but Bash and other shells of it's ilk are programming languages in their own right. I mean sure you're dependant on the suite of tools in $PATH to do anything useful, but that's not that much different to the standard libraries that make modern languages so powerful.
I think it was open sourced as version 0.8 or something along those lines, so that would be 8 major releases.
Hacksplaining – Interactive Web Vulnerability Exercises
Implementing a non flushable javax.json.JsonObjectBuilder
I think we covered this in my Econ courses.
Uber board member resigns after sexist comment
Anthology of Profitable Software Side Hustles
I've never had file associations working with 7z on any machine. :/
> All filesystems do (at least when writing different files)

The article is about writing 100000 files, which will not scale well (since there will be massive contention at the directory inode).
The lag seems gone! :-) This is very promising!
When you have population growth (or non-native settlers), they prop up the old. It's a pyramid scheme.
I'm no historian but I believe that there is a precedent for the current demographic trends - the late Roman Empire. From what I've read, birth rates didn't sufficiently outpace infant mortality rates during the late days of Roman rule, which may have been a contributing factor to the fall of the Empire.
This is basically conventional wisdom.

Why do you think politicians say they will sort out immigration, but then encourage even more immigrants? They want more workers.

I am not so convinced, given that our jobs are all supposed to be automated soon, we shouldn't have to rely on more humans to grow economically.

In the UK they claim we need mass immigration for growth, but jobs that teenagers used to do are now being done by grown adults, so I don't believe it. We also apparently have terrible productivity compared to other countries. I think that if we stopped relying on extra humans, productivity would suddenlg rocket.
Show HN: Etar Calendar. Android open source, material design calendar
While I totally agree with most of the article, it made me grind my teeth at the frequency the author changes the oil in their car... That poor valvetrain will be full of gummy carbon deposits. RIP whoever buys the car second-hand.
It does keep things /very/ simple.

Treat every core as a node, and enjoy scaling across devices?
North America, Asia Pacific tipped to beat Europe in 5G adoption
Ulysses (and probably Quiver too) can just give you a "pretty view" of your existing folder structure, and since it's all plaintext/MD you can work with your data on Windows/Linux just fine, and there's nothing keeping someone from makes similar apps on the other OSes.

I used to use OneNote for everything, until I moved to Macs... Not only there was no Mac version at first, OneNote STILL doesn't let you import old local notebooks into the Mac version.

With Ulysses/Quiver at least I know that what I write on the Mac will still be readable on Windows/Linux..
> which lead to myths like Apple Pay using a new PAN every time out pay.

Yeah I discovered much later that's effectively a function of tap-to-pay (which is highly prominent here in Australia, unlike many countries, almost every shop terminal has support and almost all bank cards have it also... chip and pin is also standard, and signatures are never allowed for domestic card even with a swipe)
Wouldn't the equivalent contractor wage factor those costs in though, plus a risk premium for short term work ideally
At the pool? Go to the beach!