skysight-inc/HackerNews huggingface dataset:
This is one of my favourite topics that seems straightforward (What's the optimal sleep length?) but is a lot more tricky.

> If you go through actual studies and systematic reviews it is really hard to make much of a case that 6 hours is much worse (if at all) than 8, yet alone anything more than that.

The absence of evidence that 6 is much worse than 8 hours is not evidence that 6 is not much worse than 8 hours. It doesn't matter that much in this case because we already agree that it's worse - the question is how much worse.

Better or worse is measured in averages, on a population level, and here we see exactly the adverse health outcomes you cited (and a lot more that you didn't cite) from [1].

Here is where things get tricky for two reasons:

1) Population studies don't translate into personal health advice - there are plenty of folks striving on 4 hours a night (but they are rare in relative terms).

2) Overly long sleep durations are also associated with adverse health outcomes, and we don't know why! We believe we have a good understanding why short sleep is linked to some health outcomes linked to certain metabolic pathways, e.g. obesity or diabetes. And also we can take one individual, restrict their sleep, and see that their cognitive performance is impaired, and from here, it is reasonable to assume we understand the link between short sleep and accidents and injuries.

For the overly long sleep however, we have no idea (as far as I'm aware of).
iOS has a crippled browser which purposefully does not support PWAs, with notifications and such.
Did consumers need those products? Would they have bought the same thing but from a different company? If not, would they iblnstead put this money into savings for a rainy day? Would they save for a house? Wouod we have less homeless and vulnerable people?

Would the clever people working on ads and manipulating consumers actually pursue careers like chemical enginerting which solves fundamental problems of human civilisation?
What are O&O and OA?
Well, they shouldn’t be angry at all, because they got a $15 billion profit. People are a bit too tough to please if that makes them angry, especially in light of the fact that we will be paying for the most recent stimulus packages for generations, and they seem to have public support.
I think the idea is that in the limit T->inf the profits go to zero.
It's a shame it didn't work out for you.

> we have WSL 2 on Windows which is what I use

My new work laptop runs Windows, so I'm interested in WSL2. I gather that it has good integration with Windows (eg you can type notepad and notepad will open)- which is convenient but removes any security boundary.

> Does Parallels let you seamlessly run floating windows across your VM and macOS?

I don't use Parallels, or Mac. But I believe so- they call it Coherence https://kb.parallels.com/4670

I agree that not everything is as convenient.
My papercuts were not being able to type `code .` to make a new VSCode window. And not being able to use the new tab shortcut in my terminal to make a new tab in the current directory.

I've made a little project to solve both those issues for me https://github.com/ccouzens/ssh-nicety
It works, but is fairly bespoke to my setup. It uses Unix Domain sockets (which probably excludes Windows). The only new terminal it can launch atm is gnome-terminal.
This is why running something like VSCode on your Mac with the remote ssh dev setup is the best of all worlds.

https://code.visualstudio.com/docs/remote/remote-overview

Virtualized Linux on x86 AND being able to run VSCode on your Mac for great fonts, WiFi, screen etc without having to fuss with drivers.

Of course ssh and tmux also work well for this purpose.
Because the Enlightenment was a complex social phenomenon with multiple prerequisites...?
Variables and Constants in Java
Neural network from TENET exploiting time inversion
It would take me some effort to make and maintain a separate version. Users would report bugs which have been fixed months ago, because they did not update it, etc.

I think the importance of "offline apps" is overrated today. Personally, I spend less than 10 hours a year on a device without internet, and I think this number is decreasing each year, for everyone.

People use Google Maps and Wikipedia without having them on their hard drives. On the other hand, it is nice, that you can simply close a website and there is no track of that service in your computer.
Added some repos related to some private projects just to help you out. Gotta list ‘em all. (Poliwrath, sandslash, farfetchd... seriously how is farfetch’d not used!)
Perhaps, but the point was that these banks in no way “socialized their biggest failures”.
The Neo4j GraphQL Library Beta Release
I was definitely not asked for consent on being tracked online for advertisement purposes. Consent needs to be explicit, specific, unambiguous and freely given. Hiding this behind sugar coated language is illegal in the EU.

I very much appreciate the work on NOYB to remind companies that privacy is not optional.

P.S. While "building something useless" is not illegal, I find the usage of this information shitty. "You bought X, we'll display ads for X for the next two weeks." How likely is one to buy another bike? Or another pram? Why is the AdTech industry insisting on collecting information that it can't use and is invasive?
Fair point. I find Front End theraputic so it doesn't seem daunting to me.

It's definitely a long term strategy, but people love eating Candy even if it gives you a stomach ache.
I got 81%, all my errors were from misidentifying big data services as Pokémon. If I had known that the set of Pokémon was limited to the 386 from first three generations, I probably would have gotten 100%.

...and if the quiz had included Pokémon from the full set of 898 in the last generation of games, I would have fared a lot worse.
Sorry I just noticed there was a bug with Safari iOS where webp was not being show so the viewport for the browser was invisible. This could have affected a lot of people. Fixed now.
I wonder why do they tolerate big boys like CCP then and state sanctioned genocide under its nose.
Yes, you're right. However, cryptocurrencies have the potential to keep those politicians away from messing with it. What I didn't clarify is that I meant all the other gocernment officials that can scrutinize whats happening: judges, lawyers, economists, etc.
If you visit a Progressive Web App a couple of times, the browser may ask if you want to add it to the Home Screen. Works for me on Android at least.
I'd say the system for coordination is pretty good in Europe.

There is a specialist EU agency for fisheries inspection (The EFCA located in Vigo, Spain) A lot is being done there to ensure the rules are abided. Placing inspectors on board, tracking the behaviour of the boats, and so on. But of course the budgets of this agency are nowhere near that of the agency for medicine or chemistry, and cheating is easy when you're alone at sea (using hidden compartiments for example).

The European Commission has a Directorate-General for fisheries, which does research on how much fish there is, and negotiates treaties on fisheries quotas with other nations. I believe they have great intentions, but not every one cares about sustainability, and if money talks countries like China can outbid the EU.

Source: My dad was known as the Eliot Ness of fisheries.
Ask HN: I feel my career is at a dead end. Any advice on what could I do?
Hey HN,

I'm 35, working for an IT consultancy company and I feel my career is going at a dead end.

I did well with my career (maybe too much?) and after 10 years I'm far away from coding activities, more involved in project management and I'm not sure that this is what I want.

I like coding (that's why I started this job, I also consider myself good at coding) I like to learn and explore new things.

The problem is that, at same time I feel that coding can't be a lifetime career: what will happen in 10 years from now? Maybe company will prefer younger coders to hire and I will not be able to find a job anymore? (I have family, I can't risk to lose my job)
Shall I find now another role or company that may be can offer me a job where I can cover for both roles (Coding and project management)?

I'd like to hear your point of view, maybe I'm missing something here. Thanks in advance for any advice.
Many much less expensive non-IoT smoke alarms now voice announce the alarm type and location.
> Is FB sometimes incompetent? Sure (who isn't at that scale).

Do you mean to imply that we should be more forgiving of Facebook because of the scale you operate at? I feel like it’s the exact opposite. You very aggressively sought to grow to that scale, it’s not something that just happened to you. With that should come an immense sense of responsibility, but instead Facebook has stepped up with reckless behavior, lies and manipulation.

> the cynics would never admit this point, but it's true, e.g. the amount of resources and cross-company efforts thrown at improving privacy is incredible

Sure, call me a cynic. But I imagine this is where your perspective as an employee might be distorted. From the inside it might look like there’s a lot of effort put into something like this, but from the outside it’s clear it’s nowhere near enough.
>At some point in the next millennium, all work will be creative work and the concept of a minimum wage probably won't even make sense anymore.

That would require us to stop our biological urges to reproduce endlessly. No matter how much technological advancement you have, if the population grows faster than technological progress you're not going to have the necessary surplus for an utopia.
Can confirm. Did well at the quiz due entirely to wasting too much time on Pokemon.
What I find more amazing is what an incredible equalizer IT is: An individual with nothing more than a computer (and $50 worth of rented production infrastructure) plus the right skills can build a project that makes a (well-deserved) million a year, from anywhere in the world.

It also shows the power of smart design and keeping as much as you can client side. Attempting to move any of the actual work to the server side would create an unsustainable amount of a) additional development work, b) infrastructure cost, c) infrastructure operations work. It's also a great example that you truly can do everything inside a browser nowadays.

Regarding the incredulous people who can't imagine how 12 TB/month cost only $50, the hosting provider may be taking a small loss on it, and make it up with other customers. At Hetzner, extra bandwidth (after you've exhausted your included allocation) retails for 1 EUR/TB + VAT. A provider can afford to lose $10-20/month on a single customer, and kicking them out is probably not worth the effort and the risk of even the smallest amount of bad press/word-of-mouth.
iOS does support PWA. Notifications are not supported, but PWA is more than notifications.
https://shelly.cloud/products/shelly-smoke-smart-home-automa...

Soon...
`zoonavigator`,`zkui` and so on

(you can use keyword `zookeeper` search in github to find more)
They wouldn’t have taken non-voting shares if this were the stance they were taking. When the government owns a controlling interest in a private company, investors will shy away from it. Even if the government doesn’t run the day-to-day operations, they can replace management at-will with people who will obey commands based upon political interests of the ruling party. That is an unacceptable risk to many investors. Ultimately, if they own it, they run it.

The point is that the outcome would not have been the same, because investors would not have treated the companies the same.
95% of GitHub repos using NumPy/PyTorch don't get the randomness they intended.
Binary Lambda Calculus (2012)
With AWS it's really hard to tell which of their SDKs are up to cutting edge feature parity and which not, that some of them are and some of them are not is a real shame.

Just last week I wrote basically the same thing as an ad-hoc solution using boto3 because I had 10s of TB of data to pull out of Glacier and distribute across S3 buckets. It wasn't a big deal because I'm experienced writing parallel network code in Python and having big datastreams flow, and boto3 has good documentation, but things like this really shouldn't be left as an exercise to the SDK consumer.
>, despite the fact that they’re earning poverty wages and would benefit from an increase to the minimum wage.

It could lose them their job, or not. You don't know that. Nobody knows that. That's why if you must raise the minimum wage, you do it slowly, step by step.
No, currently only sent from poland.
Are most of the database's files within the container's filesystem (as opposed to a volume mount)?

Most of the performance issues with Docker on Mac happen in setups where source code or other files are volume mounted from the Mac filesystem into the container filesystem.
Cool! I've been listening a lot to the Draftsmen podcast lately and one thing that they keep mentioning is "studying the (old) Masters". I'm not sure if these qualify as "Masterworks" per their definition but it's from the same era, i.e., when drawings/engravings/art had to be planned and executed carefully because a mistake is not as cheap as a CTRL + Z.

Another thing Draftsmen made me realize is the actual art (or at least craftsmanship) of comics. They may be mass entertainment (i.e., we're talking mainstream here, not your charming indie series) but even in their early incarnations comic art was still grounded in solid art principles. A lot of the works here exhibit that thesis:

- Prints like https://www.oldbookillustrations.com/illustrations/dreams-lu... remind me of Marc Hempel's work on The Kindly Ones arc of Gaiman's Sandman.

- Kind of a cheap shot to mention Charles Vess but look at prints like https://www.oldbookillustrations.com/illustrations/many-beat... and you really see the movements that influenced him.

- The range of https://www.oldbookillustrations.com/illustrations/woman-par... might as well be 80s-90s pop art, if not for the finer details in the shadows.

- Like Vess, Frazetta might be too easy an example but I fancy he took his technique of theatrical lighting and exaggerated dynamic ranges from old black and white engravings.
It's similar to Spectre. We had more pressing issues back then. As those issues are solved, we moved to more tricky ones which did not get much attention before.
6 submissions so far in the last week: https://hn.algolia.com/?dateRange=pastWeek&page=0&prefix=tru...
There's a link down the article to an even more gut-gnawingly huge fishing vessel, the Russian-flagged 'LaFayette'.

It's longer and has only a slightly smaller displacement than the UK's new Queen Elizabeth-class aircraft carriers :\

Article:
https://britishseafishing.co.uk/the-lafayette-floating-fish-...

Images:
https://www.google.co.uk/search?q=lafayette+fish+factory&sou...
Recommending Ritalin at all as a first response is dangerous as well...
Ask HN: What's Going on in India?
Hello Hackers,

I have a more, and more frequent thoughts about opening satellite office either in India, or in Bangladesh.

What do you think I should need to know?
I am assuming this new coin will be made with the technology and of another successful coin, be it ethereum, cardano, polkadot, stellar, or even XRP.
And I'm also hoping the code is fully audited before launching.
Smart contracts seem like a must in that upcoming city.
Deliberate Culture vs. Passive Culture
The need for VMs or containers for security (on end user machines) is the fallout of insufficient OS security mechanisms.

A better solution would be a desktop OS with proper application sandboxing. Mac OS is taking many steps in that direction.

Linux - as usual - has a multitude of solutions, all of them problematic. (AppArmor, SeLinux, Firejail, Snap, Flatpak)
Don't they have a LED to indicate low power? I don't know much about smoke detectors, but I'd imagine they'd have a LED on at all times to indicate that they're working.
Maybe a Progressive Web App could work? If I remember correctly, it requires basically just adding a cache manifest.

Initial setup can be finnicky (test it on a separate subdomain!) but it shouldn't require much more than a correctly configured cache manifest and a few lines of code to handle updates.
They will just call you brainwashed. I am already giving up on telling others. In the future, we will be living in matrix, and everyone will be happy with their reality.
Oracle has been gaslighting programmers about APIs for a decade
Because the way to stop the spread of flu would be living in full lockdown forever. Not only would that be the end for most of the economy, just a year has shown the other serious negative health impacts that inflicts on people. We have locked down to deal with the imminent disaster posed by COVID-19, but pretending this is sustainable in the long term is delusional.

Illness is a fact of life. Maybe one day we'll cure flu and the common cold, but in the meantime we accept the minimal risk in exchange for being able to actually enjoy life.
Would people read ToS, if they were more "attractive"? Well, maybe some, but then again, it would be a chore anyway. I do not see a way to make people spend a substantial amount of time on it, if they are not absolutely forced to do it (for example if the stakes are high). However, I do not have any papers to back it up, it is just my hunch.
Predicting the Future – What 1981 Got Wrong
Retired NASA Chief Flight Director Gene Kranz: Failure Is Not an Option
After reading “There’s no elegant solution to FizzBuzz”, immediately had to check how I might try to be unnecessarily clever if I had to do it in Python and arrived at:

for i in range(1, 100):
divisible_by_3 = i % 3 == 0
divisible_by_5 = i % 5 == 0
fizz = 'Fizz' if divisible_by_3 else ''
buzz = 'Buzz' if divisible_by_5 else ''
num = '' if divisible_by_3 or divisible_by_5 else i
print "{0}{1}{2}".format(fizz, buzz, num)

(In reality, of course, I would likely have had to look up the modulo operator first.)
To be fair something as simple as adding a self-signed cert bypasses more AVs than it should.

It would work as long as it doesn't become popular. Very few people would put in as much effort as long as there are easier ways around.
> whats the point of their owners, what do they contribute?

they contribute to the creation of the asset via supplying capital in the first place. And for taking on the risk of this contribution, they get to own their portion of the future output of said asset.
Did you use a native filesystem inside the VM or a host filesystem remoted into the VM?
Yes! Show me the hi-res goat!

What a disappointing article. I was all excited...
Why would he need new innovative tech? Don't you think there's already plenty of that in many crypto coins to make this project happen?
Are you not allowed to use WeChat to communicate with people in China? Why is that?
I can afford anything - and I’d rather have 45 minutes of my NP’s undivided attention than the typical doctor visits of a ten minute meet and greet.
Not at all. A bad situation does not mean its okay or even beneficial to abandon statistics or the scientific method to scare people.

Publish when there’s data worth talking about. Keep it to yourself if it’s underbaked.
Facebooks "contact import" feature had been running on (in the EU):

- it's the user who commits the crime

- it's a crime not pursed by the state without anyone suing

IMHO it's kinda ridiculous that this "gap in laws/regulations" hasn't been closed years ago.
The economic arguments against minimum wage are that you are not underpaying the employees in the first place. If the only job these people can do pays minimum wage then that is how it is. If they could do better jobs they wouldn't get paid minimum wage. Therefore the minimum wage either does nothing and is purely cosmetic or when it does something it prevents the labor market from functioning properly.

It's like rent control. It's just a tool for politicians to deflect blame and shift the problem elsewhere for the benefit of their own careers.

Meanwhile a job guarantee would actually solve the problem by putting a salary floor but since everyone is asking for a minimum wage increase it is not going to happen.
> Separate work time and leisure time, otherwise as a solo dev you feel guilty for not working all the time, which makes it harder to start work.

This is exactly what I feel. Thanks for clarifying this for me :)
I don't know much about nix.

Does it solve the security problem by preventing access to the majority of your home directory?

Or solve it by only allowing you to install vetted libraries?
Funny to use a demo image that has been photoshopped together in the first place!
Sure, it's real, but it is not affected by scarcity. Monopolies are never a good idea, they suit oligarchs at the expense of mankind.

First-movers already have an advantage in the market, this seems to be a natural incentive for R&D. And then also consider that many innovators and inventors do what they do for reasons outside of gaining monetary compensation.

Any consequences of greater secrecy would be largely overshadowed by the advantage of having an actually competitive market in film, tech, healthcare, and etc. Imagine if any manufacturer could produce insulin, or if any film student could shoot their own Star Wars movie.
If one runs Linux, one runs a Linux kernel. The idea that there be a single main management daemon for this single kernel seems singularly simple.

I can track the angst at the loss of the "little guy" in the process, but the arguments offered in the article seem FUD.

If systemd were dodgy, it would fail.

Also, if systemd is really ao evil, maybe *BSD is worth a look.
> The biggest drawback I can think of is if you ever needed to leave the house.

Add ZeroTier to the equation and as long as you have Internet connection when you're outside the house you'll probably not even notice it.
Why are they less likely to save lives - isn't the smoke detector and alarm part exactly the same as a non-IoT device?
I wish people started thinking of other coins ehen thinking crypto.
Bitcoin is bulky and far from the most advanced and economically feasible.
XRP for example can easily handle all the transactions quickly and extremely cheaply.
These days it’s hard to tell.

As for filtering recruiters I think it’s a very SV centric problem and also quite a privileged problem to have. It’s funny as long as you don’t actually need a job because your rent is due.
AFAIK it cannot catch fish, but only process and freeze it. That doesn't make it less grim though.

BTW, it seems it's declared as an IUU (pirate) ship. Don't know whether it's still operating or is it possible to operate under these conditions.
Having both your laptop and desktop on a WireGuard vpn with the gateway on your choice of cloud host would solve that problem, also it would solve having to deal with wandering IP addresses as you may find with a home internet connection
T-mobile doesn’t apply a traditional throttle but instead they deprioritize you on the towers. So as long as you're on a tower that doesn't typically get congested (typical in residential areas since people use their home Wi-Fi instead) you're fine.