skysight-inc/HackerNews huggingface dataset:
Here's my anecdata on getting better sleep. I've struggled with sleep a lot, I still do but not as much to the extent of previous years. I used to be at "Welcome to Hell, prepare to suffer, you'd wish you'd not be awake." (if one would follow this to its logical conclusion, one could see why this is problematic) And it is now at: "If you'd have slept 9 hours instead of 8, you'd probably feel at peak mental condition mate, try to sleep 9 hours, you can feel you could use the extra hour in this particular case :)"

I suffer from two things: being able to fall asleep and waking up after 4 hours.

Here's what I currently do/use/what works:

1. Airpods Max for suppressing noise in my room [1]. Plane flying by? I didn't hear it. The soft white noise is also nice. Playing music at night can sometimes regulate my mood. I don't sleep with it every night, only when I notice things in my room are too loud.

2. 0.3mg melatonin (taken 1 hour before sleep).

3. 10mg CBD (taken 1 hour before sleep).

4. A girlfriend to hug with during the night.

5. Meditation: in most cases this doesn't work at all, but around 10 to 20% of the time it knocks me out cold and then it's all I need.

6. Blue light blocking glasses (Flux for real life :) ).

7. A cold-ish room.

8. A heavy weighted blanket. This is especially helpful when I really feel like turning all the time, the heavy weight tires me out physically.

9. A sleeping mask.

These 9 things completely solve for being able to fall asleep. I don't have issues with it. They partially solve for being able to stay asleep. I sometimes still wake up. However, I have a higher likelihood to fall back asleep because the CBD + melatonin make me feel a bit woozy. Moreover, my girlfriend (if she's around), meditation, my heavy weighted blanket and chill music with Spotify + Airpods Max can all play their part.

[1] I have tinnitus so I need something over my ear as earplugs will amplify my tinnitus. Because of this, I need the best noise cancellation for headphones, and in my testing the Airpods Max won hands down. Moreover, it was the only white noise I could tolerate. I've tested Sony and Bose as well. Their white noise sound is too loud for me to be able to comfortably fall asleep. The white noise of the Airpods Max lowers my tinnitus a bit, but in return I hear white noise, which to me feels like a different tinnitus, albeit a bit nicer. I do suffer a bit in comfort and need to fix that with extra pillows which makes my position in bed a bit weird. If anyone has alternatives for this tip / setup (e.g. something else than the Airpods Max?), I'm curious :)
Uptime Monitor – RoboMiri, How to monitor your internet services
This article stinks of that feeling from the first sentence.

> The toll that working through the global pandemic has taken on employees’ job satisfaction and emotional well-being has focused business leaders on fostering workforce happiness as never before.

Yes, I'm sure it's that and not the record-high rates of resignation.
> I don't see NATO involving itself militarily. If a US soldier dies defending Ukraine, I think that enough people will ask "why are we shedding American blood for something that has nothing to do with us?"

Which is why it's been so stupid of the US and the EU to push for Ukraine's inclusion into the EU & NATO. All it has done is provoke Russia, who doesn't want foreign influence right on its borders and Ukraine isn't strategically relevant to NATO anyway.

Everyone comes out of this looking incredibly stupid.
Russia is a bully, and giving an inch will only end with more inches taken. Putin has written - at length - on his desires to reincorporate Ukraine.

Russia will not stop until someone makes them unable or unwilling to continue expanding.
For all it's positive PR, banking the unbanked who are less financially savvy and have weak institutions to protect them, has also made them prime targets for predatory banking practices. Similar to western countries, high yield loans target the most financially vulnerable, but unlike the US, Kenya doesn't have consumer protections or adequate bankruptcy laws.

More details:

https://www.bloomberg.com/news/features/2020-02-12/tech-star...
Hacking Humans
Your comment smells like resentment made into a social theory.

> Anyone who's not "secure for life" and has to keep the salaries coming in will have to deal with bad people, bad decisions, bad culture, etc. and become unhappy.

Not being secure for life is what 99% of the world experience their entire life and out of these 99% a lof them are happy. I know in the Silicon Valley microcosm the perspective of being secure for life is something everyone is after but most people are happy to live paycheck to paycheck, save a bit of their revenue every month and enjoy their life.
>I'm a bit worried about the EU consequences by this, given our already high inflation rate and energy prices being very influental in that regard.

The existing pipelines have much more capacity. Nordstream just serves as a tool to take a bargaining chip away from Ukraine. The pipeline isn't actually scrapped, stuff is just halted. Additionally Russia didn't resupply it's storages in Western Europe much last year and we can now see why.

If Ukraine starts using it's bargaining chip i imagine we'll see those pipelines used real quick.
A bigger issue is the growing demand with multiple countries scrapping nuclear powerplants without replacement.

>A winner is obviously USA with the shale gas production but I'm sure EU will diversify in otehr regards as well.

Whilst I've heard that before as well as talks about LNG terminals....the US barely registers as a supplier behind Algeria, Qatar, Libia, Nigeria,... It's not exactly cheap to transport across the atlantic.
> I’m a Go developer by profession and Dart feels similar in ways. Simple language, simple type system, easy to learn, only one way to do things. Great compiler, great debugger, good ecosystem, good performance.

Hm that's interesting to me. As a Go dev I just felt like "welp, I'm in Java."

I don't dislike it, but it doesn't feel nearly as light.
> Cool. really appreciate the exchange.

Me too.

> By the way, I did go into the robotics gig with eyes wide open, knowing it was a military/defence-funded project.

FWIW, I should admit that I both envy and admire you for it.

Cheers, well met.
I definitely have ads on my google tv built into my Sony tv.
Why did this fall from #1 on HN to not on the front page in minutes? Is Slack a YC company?
A very happy and grateful user here, jumping in here just to thank you for the time and efforts to create this one! It saved me many hours of debugging after stupid midnight-coding-sessions mistakes. We even have it in our coding-style internal guidelines for some time now.
Yeah, don't buy a TV, just buy a (very large) monitor. If you're happy with a 43", this one is a good choice: LG 43UN700-B - but it's not OLED.
I agree, and what adds to that are quite long animations during cutscenes plus the fact that the screen gets blend to black quite often. Slows down dialogs even more.

Also some minor low res textures and visual glitches sometimes threw me out of the immersion as well, but other than that - absolutely excellent game! I highly recommend it to anyone who enjoyed the very first Pokemon games as well.
Easy, discard TV's from your life entirely.
> An illegal action which causes harm to (many) others should come at a cost.

> I would also apply this to idiots on the road who create enormous accidents.

That automatically incurs a large cost. The automatic cost is so large that there's no conceivable benefit to imposing another, formalized cost.
It's probably just a coincidence, but about 1 hour ago I was using Slack normally and I was sending some regular expression tips [1] for some teammates. I was explaining how \d and \D works, and how they must be escaped when inside a Ruby double quoted string, like "\\d" and "\\D".

First I tried to send the message and the Slack app showed a tiny error message in that specific message I've just sent. Then I've pressed the retry button. Immediately the Slack app stopped working... And here I am, browsing on HN.

It immediately reminded me of this joke [2]

[1] https://www.regular-expressions.info/shorthand.html
[2] https://twitter.com/brenankeller/status/1068615953989087232
There are plenty of paid products and even services out there that do not monetise your data.
Yes.

https://news.ycombinator.com/item?id=29413774

https://www.mattblaze.org/blog/faraday/
30 minutes is not arbitrary in the context of search and rescue. When someone has fallen overboard on a Naval vessel in most parts of the world's oceans their survival time is as short as 30 minutes: https://ussartf.org/cold_water_survival.htm

In rare circumstances the water can be much colder than average and this drops below 30 minutes, but for the most part the military operates in waters with survival time no lower than 30 minutes.
must we really go through this game where you pretend not to be an extremist and we pretend not to notice you are an extremist? the overwhelming majority of the world does not subscribe to your views on showing porn to children.
Dan has enough on his plate I would say. HN links to original sources, that's in the guidelines, if that's Twitter then so be it, if you want to replace the links there are browser plug ins that will do that for you with ease.
I'm not sure how it's implemented, but Flutter does work with screen readers.

https://docs.flutter.dev/development/accessibility-and-local...
This is stupidity. The software used to produce these works does, in fact, require "intervention or creative input from a human author" through prompts, iterative selection, parameter tuning, and not least, creation and execution of the software itself. Generative software is a tool, like a hammer or paintbrush. The output does not magically appear without human intervention.

The quality of output also improves with skill and creativity in a demonstrable and clear way. There are actual artists using this tool to great effect.

This frames the problem in such a way that it would be reasonable to say that art produced with photoshop cannot be copyrighted, especially using generative brushes, predictive fill, or anything else that algorithmically modifies pixels.

Absurd take by an ignorant bureacracy.
Plus: We just learn when we teach
"you don't truly know a subject until you can teach it to somebody else"

...even if that "somebody else" is you tomorrow.

This is in line with the Feynman's Technique.
Well... even I would like to get rich quick and not have to work. I would hope the parents push them to do some sort of genuine work. At least then they can see how the world works - get rich quick stuff is just a lottery that you'll lose, and at least you make something through labor (life is hard).
Mozilla and Meta Working Together on Privacy-Preserving Ad Attribution
6 minutes ago a collegue asked "issues with slack"

4 minutes ago I posted a screenshot of this being top story on HN so "yes" is a good bet

Now it's nowhere on the front page?
Einstein's Theory of Antiwork
https://news.ycombinator.com/item?id=30428142
I've lived in Bucharest for a couple of years and know the country very well.
HTML and JavaScript usage all features stack rank
Down for me. Can't use the desktop app or the browser. The app seems normal, but IDK if it's receiving traffic.
In my opinion - absolutely. If you're caught driving at 150mph you will go to jail even if you didn't hit or kill anyone, because the potential for harm was huge. It's the same here - even if no one suffered as the result of his jammer, it could have easily led to a situation where someone else was unable to call emergency services when necessary. The law about jammers is what it is for a very clear reason.
I’m running it on decently nice hardware, but most of the pages take around ten seconds to load. I did some investigation and it sure looks like it gets to 100% cpu usage and stays there frequently. I’m wondering if I have PHP misconfigured.
There's a lot of unnecessarily complicated recommendations here. It's really quite simple.

1: factory reset the TV
2: don't connect it to the Internet.
3: use a decent set top box for all your streaming needs. Be it a console, Apple TV, Chromecast, or Nvidia shield (avoid the cheaper Android TV devices, those are heavily ad subsidized)
If I understood your argument correctly than it applies more to the Amish than to poor countries because some things are definitely a sign of progress, like ending malnourishment, supplying shelter and curing basic diseases.

Where I agree with you is that not every progress is progress to everyone, for example the above mentioned Amish usually refuse medical treatments in old age but are open to it when they are in the productive age. Would it be progress for them to undergo cancer treatment when they are 80? Maybe, maybe not. Is it progress when they get clean environment for childbirth? Definitely.
esbuild-config: config files for esbuild
Right now Russia plays China off against the West and vice versa. If this triangle collapses into the traditional West vs East pair of alliances, Russia will be the junior partner and lose their superpower status.

It'll also worsen their status in the States where we've got the strange situation of crystallizing the situation in the States of not being sure who the bad guy is: is it China or Russia? If they are allies then it is obvious they both are. Why Americans need an agreed upon bad guy to hate on is a different topic...
Eh, France also has a number of languages that are distinctly not French. But it also has a long history of being a heavily centralized state where everything revolves around Paris, and other languages/dialects were ruthlessly suppressed for a long time.
Or a cellular Apple Watch…
Wallabag does not seem to have a good way to quick-capture from mobile, unless I am missing something.
> nothing really bad happened to them at all

Spotify has removed a bunch of episodes from his podcast. Some Dr. Seuss books got pulled because "racism".

Those who forget (or maybe just don't know) history are doomed to repeat it. It always starts with silencing dissenters. Just look at what happened in Canada.

But hey, I guess in stnmtn's world there is nothing worth complaining about unless people end up in the gulag. But by then it is too late.
I saw that and I’ll admit that I’m more on Martin’s side on this issue, but without seeing the slides in question its hard to say who is more in the right. Knowing the amount of lawyers Martin and their parent company IPG has I’m sure they had some say in this public squabble. The weird thing is that Accenture made the ad and did get credit from Coinbase. Accenture has been trying to eat away traditional agency business for a long time. I wonder what their side of the story is. It also sounds like Martin didn’t produce much or any work for them. They were named agency of record before their new CMO started. Normally, a CMO picks their own agency.

Just speaking from experience I always take agency talk with a grain of salt. So many big names outsource their work to freelancers, boutique shops, or directors that they’ve used in the past because agency folk don’t want to fully think things through. I would be interested in hearing what Danny Robinson has to say. He’s the CCO at Martin, but I doubt he would take to twitter for this.
The word "racism" strictly refers to prejudice and/or discrimination in any context where systemic power differentials are involved. White supremacy might definitely be a relevant power differential, but there are others that can be just as relevant, such as the very real power held by admissions bureaucracies in academia.

This does mean that, yes, so-called 'reverse' racism in such contexts, particularly when accompanied by systemic prejudice against e.g. whites and asians (such as an implied theory that they have less "character", "well-roundedness" or "diversity" than other groups) is in fact racism.
People can fake being idiots, or aren't idiots but do overreaction-idiotic stuff for group-dynamics reasons so that's why the sentence should be possible.

Is this guy really an idiot? That's a job for a judge to determine - which is the human element that is supposed to be a counterpart to the code in a system of law.
I got the 65” last year: took some adjustment to get the sound to be okay as the defaults were pretty bad. Otherwise it’s decent.
Down for some of my accounts, but not others.
https://news.ycombinator.com/item?id=30428510
How do you know that was really his intent? There are many other avenues for parental controls in iOS and Android, and many providers also offer this service. He chose the options that was not only illegal but one that would prevent his neighbors from using their phones, possibly during an emergency. He’s either dumb or he had other intentions in mind. But this is why we have the courts to decide these matters.
Oh, it never even got that far. I think I only had two or three leetcode tests, and, of course, they were Binary Tree tests (which I would still be bad at). To be fair, I did have a couple of "take-home" tests, but they were looking for buzzword du jour solutions, as opposed to ones that worked, with half the code, much higher Quality, and twice the performance.

My skills were (and have been, since I wrote my first line of code) very relevant, as you can actually easily see, simply by viewing my rather extensive portfolio (which no one ever does). That covers over a decade, and my last checkin was about five minutes ago (in fact, just this second, I got a TestFlight notification that my next build is ready). I never actually stopped coding.

But no one ever bothered looking at it. I've mentioned that, here, before. By "leveling up," I was really talking about developing work habits that didn't rely on corporate infrastructure, worked for a standup desk at home, and in a much smaller scope (I used to run a C++ image processing shop, and I have switched to just working on apps in Swift). Once I realized that no one was going to hire me for the skills I used to get paid for, I decided to concentrate on the ones that I enjoyed.

Also, I wanted to become much more proficient at Swift. I've been writing it since the day it was announced (and releasing apps, written in it). This had been my "nights and weekends" work, and now, it was my full-time work. If I had been employed, doing this work, I would have had to go through the same adjustments, anyway -maybe. It's quite possible that most corporate stuff is still done in ObjC.

Also, I wanted to dedicate a bunch of time to writing stuff. I enjoy writing. It also helps me to be a better programmer and architect.

And, I guess the best part of "leveling up," was learning some essential self-respect. Employers don't want employees to have self-respect (well, I did, but, apparently, I'm an outlier. My employers certainly didn't want me to have any). Once I had that, the scales fell from my eyes, and I realized what I was missing.

And, no, I never want to work for anyone, ever again. I have become spoiled, by not having my work ignored, destroyed, and misused. That makes me very happy. I suspect that employers wouldn't be happy with my "uppity" attitude.
I see that you can’t actually come up with a reasonable argument to defend your archaic views.

Over here in Europe naked asses and even gasp breasts are a fairly common sight at beaches. Normal people don’t object to this.

I’s guess that in most of the world it’s still common to beat your wife, despite that I subscribe to the view that people who beat their wives suck.
> But… I have… numerous times.

Sure, I don't doubt that. The current proportion, from a quick google search, is between 1%-10% in the western world. That's after A LOT of effort and before any serious pushback.

Now try doing it for 99% of the population. The world population. How long will that take? 100 years? 500? Don't forget that historically impoverished areas are on the rise economically, and they want, justifiably, what they didn't have an abundance of - meat (among other things).

Now imagine we get real artificial meat, that people can't tell apart, but is cheaper, better tasting and nicer to look at.
How long till we get the percentage of people who don't eat "real" meat up to 90%? 20 years? Maybe less?

So it's up to you how many animals will have to be killed before we stop eating them.
Play First and Lose: Zugzwang in Chess, Math and Pizzas
I think you're asking the right question. Very unpopular opinion, but I think some of it comes down to genetics. I know a guy who is just always happy, no matter what. I've just never seen him feeling down. He grew up in a somewhat challenging situation but it doesn't seem to matter. I really think some of it is just the way he's wired. He has a lot of energy, is physically active everyday and doesn't fall asleep easily. This dude has the personality of a friendly dog (in a good way). He's a very reliable friend and I would trust him with my life.

The complete answer is probably that it goes both ways. People have a natural tendency to be more anxious or more energetic or happy or sad, a baseline if you will. If you take care of your body, it helps. If you're exposed to stressful situations, especially in childhood, that can become a risk factor later. But, IMO, there's definitely people out there who are genetically lucky in this area, and others less so.

I'm going to note that just suggesting that there's a genetic component is controversial because it goes against the modern day idea that "you can do anything if you just try hard enough" a little bit. The fact is though, we're all genetically unique. I think it's a good idea to acknowledge that we all start in a different place. That doesn't mean you can't work on yourself. Even short people can run a marathon and develop a lot more endurance if they train as opposed to playing videogames all day.

It also comes down to knowing your strengths and weaknesses. I feel like I have a natural tendency to feel more down and tired than others. I've developed healthy coping strategies and structured my life in a way that I can minimize stress. Being aware of my own limitations makes me better able to cope with them. Pretending that I'm one of those always happy people would not.
>Contractor: "Hi, we need to kill the power to the house now."

>Me: "Oh, ok, let me shut down my computer."

and they're killing the power 0.1 seconds after you told them the computer is shut down? If the drive only lost the last 2 or 3 seconds of writes, you'll be fine.

>And, everything I've been reading lately is simply that there's nothing safe about this. How is shutting down a computer ever safe now? How long do we have to wait to ensure our data is flushed correctly, by everything?

that's a good point. maybe the drives still get some residual power from the motherboard even when the computer is "off", and that's enough to finish the writes?
The US has caused more death in the past 60 years from military intervention than all other countries combined
From https://status.slack.com/

> Uptime for the current quarter: 100%

This is another one of those system status pages that appears to be 100% for SLA reasons. An outage and partial outage are the same in my mind. I understand that money is involved, but the current trend into no visibility into company outages is frustrating to say the least.
And you found those cities comparable?