skysight-inc/HackerNews huggingface dataset:
I tried a few different techniques including breathing and meditation and thinking out a fantasy universe has always worked the best for me.

It also helps me to realise when I'm unable to fall asleep at all. If I can't visually imaging what happens in my fantasy world I know my mind is to busy and I'm better of reading a book for 10 minutes and try again instead of forcing myself to sleep (which never works)
Hey that's one of the nicest compliment I ever got from a user/contributor, thanks! (Fabien from Stellarium team)
would be nice if true but turning waste water into drinking water is actually among the most difficult things and requires a very significant amount of high tech to achieve.

drinking water is a scarce resource and around 98% of use is not drinking but turning it into waste water and sewage.

source: veolia (world leader in water services).
Show HN: Damned, curses for shell
Show HN: Blog Writing Service UK for Small Businesses
I do not see how what you propose is practical.

Please describe how using an alternative name - that's the technical solution you propose - would sufficiently obscure his identity that he could continue to make posts in the style that he wishes. Posts which, among other things, refer to his acting experience.

Another "practical solution that has been known for centuries" is to describe the problem, as a way to push for a cultural change.

I disagree with your statement that the current result is simply that Wheaton has chosen to abstain from two social networks. Wheaton writes that he is "done with social media" and that "What we used to call microblogging isn’t worth the headache for me. I’m gonna focus my time and my energy on the things that I love, that make me happy, that support my family."

Nor do I see where Wheaton suggests that companies need to deal with the problem. I see "[Twitter's] never going to change, by the way." and "I respect and support [the Mastadon admin's] decision".
It's easier to go earlier to sleep if you wake up very early. Don't delay your wake up time and you're more tired in the evening. Also don't spend the night with activities that keep you awake. Just watch a movie/series or something or read a book. Usually makes me tired.
The tech industry is being propped up by ad money, no wonder we get all these privacy scandals.
I would argue that sprinkling your C++ version X code with equivalent C++ version Y code commented out is an indication that you may have too much time on your hands :)

Seriously though, in my opinion, it makes the code horrible to read. Comments were invented to provide a programmer to programmer communication method. Stick with 1 C++ version (even that is a lot!). Migrate code slowly or not at all (there is very rarely a solid justification to rewrite working production code), and remember anything you rewrite will need fully tested (and you may still miss some edge cases). Your fellow programmer and team will thank you.
The title here (“The long night that will last centuries...”, in case a mod changes it) is the last sentence of the essay.
I've been doing this ever since I can remember. But it only works if I exit the room so I always assumed it's related to the doorway effect (the brain forgets/discards stuff when you walk through a doorway).

Once I walk a little and get out of the room it's like turning a new page. I see things a lot clearer because I don't feel distracted about all the tiny things that creep into my mind after a while of sitting down and concentrating on the same problem. They're not "in the cache" anymore, probably because they were the easiest to discard when walking through the door.

It's not always useful, this "walking out and then back in the room" takes the edge off of any witty comeback I may find (and oh they're good sometimes). :D

I just had to walk out of the room to remember this ^^ corner case.
I mean, it works either way. Once you type the column names, it can guess the table name easily.

I use DataGrip at work and it can complete the column names without knowing the table name, so it ends up not being a problem.
Fixed rail is, well, fixed. If it doesn't exist where you are at the moment, or go where you want to go, that's too bad.

Is that not true of roads? If there is no road right now where I want to go, I'm out of luck. Or do you mean than no new rail is being laid? That doesn't fit my observations. I see new rail and new stations.

I wonder if you've got a specific context; perhaps you're thinking of small regions of the USA? Many of us (myself included) do not live in the USA. The USA is notoriously bad at rail.
not sure about macs as theyre not really my deal but with other laptops your best bet is to replace the thermal paste with something better, undervolt the CPU as much as you can and if that doesnt work get a cooling pad with fans
$88B is probably the US or North American market, where Facebook's revenue is $20B, not $40B.
Unless we know all the factors involved in 'survival' we can't assume that it's enhanced by greater energy efficiency. The latter may be counter-productive in ways that are not immediately obvious. Given the state of inefficiency of conversion that's evolved (survived), clearly there has not been a need for efficiency besting 1-2 per cent.
Needing a couple liters of drinking water daily to stay alive is actually quite universal.

Water is abundant is the ocean, but it is not drinking water. Drinking water is a scarce resources and using it to rinse dishes that are going into a dishwasher is an unnecessary waste of a vital resource.
I don't think I've ever written in a book. So many of the books I read are from libraries, or they're second-hand, perhaps very old, and I intend to pass them on later, so I think of a book as a thing shared between many people who might not want to see each other's notes.

Also, I've had to scan old books, when annotations were a nuisance.

Also, I've received books that previously belonged to the author and scanned through them looking for corrections by the author, with a view to incorporating them into a posthumous new edition. It is tedious to turn 300 pages looking for a correction that perhaps isn't there. Writing in a book is an inefficient way of recording half a dozen notes or corrections relating to a 300-page book. Writing those notes on a slip of paper inserted into the book would be more efficient.

I write on print-outs, of course. When the notes are sparse I make a mark in the corner of every page that I have written on so that I can quickly find those pages again.
I have been employing this method for 3 years and definitely reap the benefit of it. However, the better way is moving away from the environment and think or talk about different topics for a while.
Women caned in Malaysia for attempting to have lesbian sex
Daily life should be no problem even if you don't speak German. There are many people in Berlin who don't speak German.

But if you want to life in Germany for more than a year or two you really should learn the language. Getting to a basic level of German if you're an English speaker is not that hard.
The FBI Distributes Child Pornography to Catch People Who Look at It
In 1998 you had to be running Windows. Now you can run any OS, even if the browser you have to use for a certain site isn't your favorite. It's an improvement.

People have always wanted to use "the web" as an application platform. It didn't work that well in 1998, but it's pretty good now. Progress has been made.
Chinese will enter most of the deals then either weasel their way out to be compliant with the letter not the spirit of renege altogether. It is common in manufacturing and will be common in ecology as well. (corruption is a symptom of this)
When I learned about Webassembly, stellarium was high on the list of programs I thought would be nice if ported to the web. Like many people, I enjoy geeking about space and astronomy from times to times, but not enough to bother installing a dedicated software or keeping it up to date. Call me lazy if you want, but I'm sure there are many people like me. Now I know if I want to look at the sky on my computer, it's just one url in my web browser. Thanks.

A port for Celestia would be nice too.
I think easiest way is just to write a backend that emits .NET IR since infra is already there.
In full sun a plant can absorb far more light than it can handle. Apparently one of the little tricks of chloroplasts is how they shunt that power away without sustaining damage. Could we just do something with that power?

It’s a bit like turning the rotor blades when the wind is too high to keep the thing from ripping itself apart.

But imagine if you could make a turbine that generated tons more electricity in a gale force wind. Think what you could do with that much concentrated power.
Why this awful sounding album is a masterpiece
Because people like being able to hum "Danger Zone" while they are flying
only the exterior blankets would have such extreme temperature cycles, the inner aluminum hull would have a much more stable temperature. The diurnal would be much more benign. Still enough for CTE and fatigue to cause a failure.
... Personal Story ...

+ I was suffering from increasing myopia and astigmatism yearly.

+ It turns out my power was all wrong, it was wrong by 2 dipoters !!

+ Why ?

+ It turns out if you spend 12 hours a day in front of a computer, you start suffering from 'pseudo myopia', a temporary state where your ciliary muscles cannot relax, its quite harmless and normally reverses within 1 week of no screen time, but if you go to an optician - unless they correct for it they will give a wrong power !! which acts as a negative feedback to increase your power !! :(

+ The solution is quite simple and that is to check your power under dilation (3 days of blurryness ). I managed to fix all my headache and eye pain once I got the correct power but I am quite pissed about the whole thing.

+ I apply 0.01 atropine before sleeping to force relax my ciliary muscles since I cannot quit coding.

+ Sunlight is key but only when you are young, as you get older and see more opticians, wrong power can do more harm than lack of sunlight.

+ Atropine works even without sunlight, it the best control mechanism we have in 2018 (outside of taking up a non screen job or working outdoor )
What Causes Left Side Belly Pain?
Not very much polyglot though, with almost all services implemented in .NET Core
I have a piece of code in C++ that uses the LLVM API to walk over a bytecode file generated by clang, which generates my own more easily parsed format. Then my C# takes over from there. So it has quite a lot of LLVM code, but it technically doesn't need to, in theory.
To a certain extent design is the antithesis to agile. How can you create a good design when you make up new features on the go?

Following the above summary of the book Ousterhout argues for increments implementing abstractions instead of features.

Ordered the book now :)
I remember once, somebody told me that "often times when you think you're not asleep you actually are". Though it sounds absurd, this single line has helped my sleep immeasurably because often my sleeplessness is compounded by the frustration of not being able to sleep! So I just lie there, and let me thoughts go where they will and treat it as a kind of wakeful "dreaming".

The idea being that even though I'm "conscious" of not being asleep my body is still getting the benefit of rest.

It doesn't help completely all the time but it certainly takes the edge off.
I wonder what work environment exists, that would cause a worker to hide their mistakes and endanger the crew, instead of reporting it. And how many more mistakes go unreported?

I hope russia addresses the root issue, and not just fires the person responsible.
I see, okay thanks!
The belief* I had was that it is actually long periods of focus at a restricted set of ranges, eg some kind of atrophy. Though as in the footnote I realize this could be absorbed nonsense that followed the standard “screens == poor vision”. Happily when I was a child the threat to vision was reading books, which modern children are no longer at risk of ;)

* when I went to write this reply I realized that I don’t recall actually reading a paper on it, so it’s quite possible that it’s just another “everyone knows”-type fallacy
https://github.com/daeken/Nettens It's crazy early stage -- literally my project this weekend -- but it's a start. My goal is to compile Skia; maybe in a month or two.
$20bn slump is 4.9%, for those wondering .
15 Harmful effect of smoking on organs
https://www.chawlamedicos.com/blog/effect-of-cigarette-smoki...
and it also perfectly encapsulates the point of the piece.
EFL 2.0, Time to Rethink and Make Things Easier – Samsung Open Source Group
China is pushing hard for electric cars and is building renewable power as fast as possible.
On a couple of occasions I've tried "lucid dreaming". I imagine myself in a tunnel and I find a hole in the ground and descend down, down, down into the dark by a rope, and sometimes my mind will make some interesting things happen. Sometimes I'll just fall asleep :-)
Lost wax casting.
I still wonder (and hope not) if at some point we will build bridges the way we will build software. "Well yes, occasionally our bridges collapse, but statistically, the number of people that get across the bridge safely vastly outnumbers the amount of people that die in a spontaneous bridge collapse. Also we've gotten really fast at rebuilding them. So we don't see a problem."
Applicative is actually a lying name as it has little to do with Applicative category in maths. (an Arrow does, is a subkind of mathematical applicatives)

It is in the same category of lies like C++ calling its thing a class. (except C++ does not try to have math background)

I prefer a common name to a wrong and confusing name.
Android collecting 10 times more data than iOS, claims study
An ad blocker also removes the ads from Google search though.
#Google paid million dollars to track offline purchases using #Mastercard Data
I do like the PostgreSQL docs, they have a human feel to them and I usually get the answer I want pretty quickly.

https://www.postgresql.org/docs/10/static/index.html
I wonder what they are doing with the visitors on that site as they couldn't be bothered to comply with GDPR and instead geoblock the EU. Sadly, only the ugly AMP page works: https://amp.timeinc.net/thedrive/the-war-zone/7975/this-is-w....
Some is, I've seen a few decent examples using an Ultimaker [0] like Dinara Kasko's work [1]

[0] https://ultimaker.com/en/stories/19498-using-3d-printed-shap...

[1] http://www.sogoodmagazine.com/pastry-blog/pastry-chef-articl...
To be fair most tmux use cases are:

ssh -> tmux -> start something -> ctrl-b d -> logout

and maybe later:

ssh -> tmux a

to check the status.
It may be cumbersome, but it's one of the things you do once. Colleagues can help you with translations.

Many internet, phone and other companies employ young people for support tasks who can speak english most of the time, so it shouldn't be a big issue. Especially if you go to offline stores in Berlin to fill out the forms.
> “I ought to be able to generalize this,” I say.

lol, it's no wonder he never finishes a program. But this isn't a problem limited to Haskell - one can start generalizing unnecessarily in any language.

To be fair though, the Haskell ecosystem as described in this article (and from my experience) is quite frustrating, and it makes me appreciate my current language Rust that much more.
How Non-Line-Of-Sight Imaging Sees Around Corners
Drinking water does not fall from the sky, in part of the world where there are factories, motor vehicles, power plants, lightning and other cause of air pollution rain water is usually contaminated.

It may be considered safe to use to water your lawn unless it is too acid, but you should not drinking without treating it first. Especially if it has been collected and stored in a reservoir.

Then again food literally grows on trees, you just have to collect it.

Point is most of the time dishwashers do not run on rain water but on drinking water which is a scarce and vital resource so we ought to avoid wasting it.
Well, it made me think the piece would speculate about the climate change effects for the coming centuries. So for me it would have helped with a more straight forward title.
The problem is that in a real war (as in not a war with jets versus people in caves) the carriers will be lost in days. Look how easy targets they are to even old diesel subs. They get sunk in pretty much all realistic training against any foe with a sub. Otherwise it only takes one ballistic anti-ship missile per carrier. They need to go the way of the battleships.
That clicked a lot, the first sentennce, if code architecture is like a building with many extra dimensions then programming has this quantic challenge of getting beyond the fourth dimension of time to an intuition of how to build the foundations and subsequent DSL design levels of the code building's own future state, as if the future state exists in the present along with all other possible building states (that fit project[ed] constraints), since time is not a restraining cognitive concept in those higher dimensions of architectural mathematic representation.
It's about Scala, not Haskell, but the gist is the same:

at my company we're giving new candidates a live coding interview where they get one hour to write a very simple application using either Java or Scala. Candidates are free to choose between those languages.

The funny thing is, that candidates who choose Scala are never able to fully finish the assignment. Even though the application is really simple, many don't finish half of it and some even get completely stuck in complex for-comprehensions and what not.
Candidates who choose Java however mostly are able to finish the assignment. The code might not always be the most elegant, but it does what it is supposed to do.

Even though I like Scala a lot, I feel it has the downside that it gives you too many options to do the same thing. This can get in the way when you are simply trying to implement some basic business feature.
While this is neat and all, 99% of the time you aint gonna need it.
This should not be a surprise to anyone. (The fact its human, the cover-up is interesting)

Leaks from human error/wear should be orders of magnitude more likely.

I'll admit I was blown away when it was not a crack but a neat hole which more confirmed the earlier meteorite/space junk theory which I found highly unlikely.

The fact the info coming out of NASA would be so incorrect does make me question other statements.

I still don't believe Oumuamua is from another solar system, that serviette math doesn't add up, but no one in the entire field seems to be willing to make the call. Equivocally I've yet to see the maths saying it's possible, if it is, where is this info?

Science is still very fundamentally broken. And if the rocket scientists can't get it right how much chance do the pseudo-scientists in psychology have?
Living up to the standards of the Russian space station in the Armageddon movie.
A simple tool to document single react components
Tools for Working with Excel and Python
This is exactly the matter discussed here, one method being wasteful in term of drinking water and the other is not.

Which is why we should favor one over the other.
Yeah, the finicky nature of the human body

Too little time outside: myopia and lack of vit D. Too much time: skin cancer

No exercise: bad. A little bit more exercise than usual: oh everything hurts now
That link agrees with the Economists' observation of the decline in casual nudity: "I still live in Holland, but very few women go topless anymore. Topless just isn't cool. It's not considered very classy, much less sexy or erotic in any way. Although the topless trend has subsided greatly since I first came to this country, the Dutch attitude about the human body has not."

The author writes "Our Anglo-Saxon squeamishness with nudity and bodily functions started sometime between the Middle-Ages and the Victorians and it has continued ever since." and "I still get a wee bit queasy when the soccer coaches require the 9 and 10 year olds to take group showers after the games."

I do not believe the author is aware of changes in US views of nudity even over the last couple of generations. For generations, children swam nude in indoor pools in the US. Quoting from https://en.wikipedia.org/wiki/Nude_swimming#Indoor_pools : "The 1937 Administration of Health and Physical Recreation training manual stated, "Nude bathing for boys is practiced universally, in a few schools girls may swim nude and this is the most sanitary method."

Elsewhere on that page points out "In America, skinny dipping by boys [in the late 1800s] was common."

It also suggests that the 'squeamishness with nudity' was due to the 'rise of the influence of Christian Evangelicals' during the Victorian era.
The true military technique for falling asleep easily is to march 15 miles carrying a 100lb rucksack first
> I avoid mine except for turning my alarm on.

Two solutions to this - get a standalone alarm clock, or set up an alarm to repeat on weekdays so you don't have to do it every evening.
What if the camera was super high resolution and hyper-spectral?
"Bed, Bath, Bus" is always how I've heard it described. I keep washable crayons in the shower to write things down, and it invariably works better than trying to grind out a problem.
My take on measuring AI progress
Particular how fates of post-Communist countries like Poland/Czechia/Slovakia/Lithuania vs Estonia dispersed. The former chose a way of low-cost, outsourcing and offshoring for global hegemons, many emigrated to developed countries like UK or Germany - cutting off their chance of success. One from post-Communist country will always be an underdog there trying to navigate the complex realities, business connections, regulations.

Meanwhile Estonia - extraordinary luck, lots of talent. Perhaps because it's a small country, cosy environment, one is less likely to emigrate? Proximity to and cultural similarities with Finland? Sad that both - Kazaa and Skype had become its own blown egg with only the brands surviving, Americans killed both.
Mozart/Oz??? I never heard of it. Now there is another rabbit cave to spelunk in my search for the perfect programming language.
A Troubled School’s Alarming Death Rate
There are four ways I considered for implementing this: write an LLVM backend that spits out .NET binaries; write an LLVM backend that spits out C# or CIL assembly; read the LLVM bytecode from .NET and then generate code from there; use the LLVM API to generate some intermediary then handle the compilation from .NET.

I tried #3 first, but landed on #4 in the interest of time. It's not the cleanest approach -- that'd be either using the LLVM API from .NET or implementing a proper backend (assuming there's some decent implementation of a .NET binary writer, since that's a mess) -- but it's stupid simple and effective.
Amazon has one of the perfect data mixes - like Google, it has all the infrastructure for true intent based advertising (sponsored listings on result pages, based on specific searches or product info), as well as comprehensive end-to-end customer journey information for your more passive advertising as well.

The latter will probably earn them decent scratch, even if it's perhaps not long-term sustainable with data issues and adblocking (Facebook can work for passive advertising because the user intent is snacks of procrastination, passive ads can be snacks of procrastination too if done well, though will always be low rent). The former though, now they're in pretty much every vertical, is where the winning happens.

As in the article, even if companies don't sell through Amazon, there'll still be an Amazon Tax if they want to get into the search results like with AdWords.

I wouldn't be at all surprised to see Amazon leapfrog Facebook, once their attribution pixel gets some traction in the wild.