skysight-inc/HackerNews huggingface dataset:
I'm a master procrastinator. Mostly because I have so many things I could do that I have this background feeling that I'm neglecting everything else if I focus on one thing. And I get distracted easily and I hate trying to come back in the middle of something.

However, for some things, I have systems to cope.

I make -very- simple unbreakable rules.

I got fat, decided I needed to fix it, so now I set an alarm at 6am every second day and go to the gym.

No excuses, no fighting, the only thing I -have- to do is run for 10 minutes and then I can go home, if I do that, then I'm fine. I allocated an hour for training. What I find is that after I've started, I can continue without a problem. It's just the getting started.

I have other rules, if there's 4 forks in the sink, I stop everything and wash the dishes. No postponement.

If the milk is 1 day to expire, I stop everything and go shopping, I take the trash with me. (part of the rule)

If there are six or more t-shirts in the laundry I will remove my bed-sheets do a laundry load.

If the day is Sunday and I am about to eat I water my plants.

When I want to go to bed, I have to write down the first thing I will do the next day.

Incredibly simple rules that stop me in my tracks is the only way I can kick my own arse into doing something, otherwise I'll just let things go.

The simple rules thing only works because I convince myself that I cannot break the chain that I have set in motion. "all those other times I did it, I can't break it now, how pathetic is that". (alternatively when I start one: "I only lasted a week, wow, that's terrible, I have to be better than that")

--

caveat emptor: this does not work for my day job, because my job involves focus, and you might notice that most of my rules are about doing something mundane.
Ok, so we seem to agree print-to-pdf loses formatting. I share your interest in and fascination with this (weirdly irksome and edgecasey) problem but just about any modern browser provides better facilities for saving web pages with higher fidelity than 'print to pdf'. Print to pdf is so easy to beat, you'd have to go out of your way to find a way to not-beat it - say, saving just 'page source'.
Awesome work! Whenever people tell me they want to get started with NLP I tell them to play around with your libraries as they're the easiest way to immediately start doing cool things.
Guessing, but maybe better anti-scam and customer service mechanisms? But yeah, seems iffy to me too, but hard to say without knowing the particulars of the business.
Sure, but the idea of "mankind" is gendered / male-centric in the first place. We just defaulted to male because we always default to male.

Training yourself to default to non-gendered language like person-kind and to think about whether a term originates from problematic aspects of gender dynamics is a relatively easy first step towards breaking down some of the insidious aspects of sexism that are imbedded in language.
Harvard’s Reinhart and Rogoff Say This Time Is Different
Cyclists are going to revolt, everyone wants to beat their friends on their favorite hill. It was one of the features I loved most about the app as I could see myself improving compared to people I have a good reference to.
>If we treat those platforms as private. Then we are playing in s/o's backyard. You are totally at their mercy. They have every right to kick you out if they don't like your face. It's their property. You are a guest.

Maybe this depends on the laws of a country. Also, IMHO either a company offers their services to everyone or to no one. There are, of course, exceptions that aren't really exceptions. Creative work in an "exception". For instance, French painter Monet was so popular that he could choose his customers.
My Oculus Quest is the best toy that I have bought for myself in years, even more enjoyable since I did VR for SAIC and Disney about 20+ years ago, so super exciting to see such a fun low cost consumer VR device. I can’t wait to try a game/experience using hand tracking. Lot’s of great content, my favorites being the Darth Vader trilogy and the RX racket ball and ping pong games.
What did you find that helped you get to sleep?
As a full-stack dev who has started/but not finished tons of side projects because I hate the design part (okay, I'm more backend than frontend, I like vue/js but css/scss isn't my favorite part of the stack though I can do it in bulma, material-ui, vuetify/etc....)

I think this sort of thing looks cool, though picnic.css (https://picnicss.com/tests) -- from another comment seems more my flavor.

Might be a good way to focus on the functionality, maybe use it w/ tailwinds for extra styles where needed, and launch faster make some $$ hire a person to do the design stuff I hate to do in an actual framework or something and launch a prettier v2.
A pizzeria owner made money buying his own $24 pizzas from DoorDash for $16
Look up WFOE, wholly owned foreign enterprises. There were indeed a lot of restrictions and pressure towards Joint Ventures, but conditions have relaxed a lot over the years and continues to, i.e. financial services last year. Motorola, Lucent, GM had WFOE arrangements (certain plants) in the mid 90s. Also keep in mind JVs provide foreign companies local expertise and massive subsidies, free land among other schemes. Foreign companies knew exactly what they were getting themselves into since the mid 90s, there are certain strategic sectors where JVs is expected, but companies also pick JV because frequently it was a good deal. You have to keep in mind a lot of the narrative around Chinese business is shaped by huge companies with loud lobbying voices in strategically important industries. For example the last US Shanghai Chamber of Commerce surveys concludes something like 95%+ of US companies in China doesn't care about IP... because most companies business models aren't based around IP. So you won't hear their complaints because mostly, foreign companies in China operate fine, particularly those that serve the Chinese market.
Considering the mainstream press like NYT love to attack the tech industry/silicon valley, I'm surprised they haven't zeroed in on this one yet.

I guess much like mass-surveillance before Snowden, we in the tech-world are the only ones who know how bad it really is and why that is so dangerous.
Why isn’t side loading viable for Android users?
Afaik Strava is more used by cyclists which is a more expensive sport. Everyone who is sort of serious uses it.
our application was an ocean faring application. You were not guaranteed internet access during operation. We requested our users register for a voyage prior to departing, and open the app to that voyage to initialize it.

we cached directly interrupting, for simple API calls. otherwise we tried to identify the minimum downloadable resources to create local information. we required users to explicitly publish gathered data.

the UI included clear indicators for when data was not yet published.

the mechanism for saving/loading data in and out of the app, and submitting it to the service, included version information which only changed when the shape of the data changed.
Nothing drastically changed since Torvalds had sended his gratitude[0].

[0] https://youtu.be/MShbP3OpASA?t=2997 (time coded)
Ask HN: What are some modern C/C++ code bases to contribute to?
> The weird thing is that it doesn't feel like I can't keep going... it's just that I sort of somehow don't keep going. I find my mind wandering more easily

That's exactly what I experience if I have a few too many days where my sleep is interrupted or I sleep badly. I already give myself very little leeway there, where I usually have about 5.5 to 6.5 hours before I need to wake up (I fall asleep very quickly), so it's a fairly good gauge of time). If something wakes me earlier than expected, it affects me the next day.

I find that coffee makes this harder to determine, as I'll still feel alert that next day, just as if I had better sleep, but I'll be less productive overall in all the ways you mentioned. I can still think coherently, but I appear to be able to do so about the same thing for a much shorter period before being distracted with something else.

> As I have come to understand this impact, it has given me greater empathy for addicts. My brain doesn't feel like a tired muscle, or like I'm doing anything wrong in the moment.

That's a very astute observation. I've noticed before that more sleep makes me more productive, yet there's always that allure to staying up a bit later and reading a little bit more in the book I'm reading (which is almost always the problem), or watching a little bit more, etc.

Like an addiction (I assume), the path from non-problematic behavior to problematic behavior is somewhat gradual, and noticing the problem is somewhat impaired by the negative effects of the problem itself. I don't set out to sleep very little, it just gradually gets worse where I'm skimping on sleep more and more often, until it's fairly consistent, and then I eventually notice and break out of it. Then the cycle repeats, but I generally spend far more time with little sleep than adequate sleep overall.
I'll even go as far as to say that everyone here has already read it.
I don't think it is, at least in the US. What most people forget about HIPAA is that the P stands for "Portability". The entire point behind it was that someone should be able to take their records from one hospital, doctor's office, or imaging clinic and then bring it to another one without having to go through another scan. DICOM was the industry's response to those portability requirements that our government put into place.
> I got a late start and I need to catch up.

I've found this mindset has led to some of my least healthy and least-disciplined decisions.

Then again, I think of "discipline" as doing the work to tend to the garden that feeds you. Maybe in your life-situation, you need to pass up the opportunity to play with a child.
I would approximate working with only 4 hours sleep to working with a post-hangover fuzzy head.

Sure you could function like that, but doing so regularly isn’t healthy for you and has a cumulative negative effect on productivity/output.
Denoising is one of those machine learning applications where it just seems to work too well. I was thinking about the idea of using machine learning for denoising a few weeks ago and then I stumbled on Nvidia’s work in the area and was totally blown away. The strategy Nvidia are adopting for their GPU where they utilise both ray tracing and deep learning cores for real-time applications is excellent.
As long as this companies keep investing in marketing over customer satisfaction and real value generation for shareholders the scenario is going to be the same regardless of covid etc. As you pointed out Refused is a good example: focus on business fundamentals, that's it.
I did it too for a few months. Felt great just doesn't work with society at all. 3h+ blocks are useful, especially when you need to get somewhere in a bigger city. And missing a nap is like missing a night of sleep, except it's not that easy to catch up without screwing your schedule. I did not have problem not being able to focus on something for 3h (btw AFAIR it was 2.5h for me? with 24 mins sleep). Nap felt like a pause, I could continue coding as if I went to the bathroom. Very much unlike me needing 1h in the morning to establish where exactly up and down are.

For startups - forget it unless you are going alone with no funding. Meetings just don't work. Nap have to be at exact times. It just doesn't work with social norms we have.

Also, switching is hell. It's a torture.
These companies are beyond being unicorns though. I work at a unicorn and our whole R&D team is only like 100-120 people.
Mozilla have been very clear that they don’t have the resources to win every battle. They’re slipping in the browser wars. I too would love them to fight every battle, but I understand the importance of them managing their limited resources and fighting those battles that can help them towards ‘winning the bigger war’ and staying alive.
> Centralized walled gardens are going to face this no matter what policy they have. Too loose? They run afoul of laws and offend people. Too strict? They develop a reputation for censorship and offend people. There is no way they can win.

Yes, they can win. The problem isn't that you're "too loose" or "too strict". The problem is that you have different users with different views of whether the same things is acceptable. You win by restricting your user base to people who agree on what should and shouldn't be allowed.
> It seems that there’s very high variation in how people respond to sleep deprivation.

There you go. It's the tyranny of averages: when variation between humans is greater than the effect of the intervention.

This reminds me of reading The How of Happiness and learning that happiness is basically 50% genetics, 10% circumstances and 40% behavior. The author frames that 40% as a really big number, but I thought about it the other way around: if you're unlucky enough to be born into the bottom decile of genetic happiness, then you could do everything right and still be less happy than someone with really good happiness genes who does everything wrong.

Some people get smashed by any lack of sleep, and some people (most notably short sleepers) are totally fine with as little as 4 hours a night. There is no advice that works for both kinds, and formulating advice based on averages is committing a grave fallacy.

I suppose the world of health research is plagued by this erroneous assumption that humans are more or less the same. In some ways sure, but in many ways we are profoundly different.
This just gives me a 404.
Yes and do you really think morality will never come into play if those decisions are made by the government? What are the chances that this government would go to bat for an app by Black Lives Matter as opposed to Focus on the Family?
TikTok names top Disney streaming exec as new CEO
I'd imagine if you offered people hardhats and heavy machinery to fix the roads they complain about quite a few would line up to do it "for free". Before wrecking the equipment and destroying property.

And like I said, people are willing to do it for free because they have normalized a cultural expectation to do so. But it was the same normalization parents had that if their kids were going to learn to read in the 18th century they would have to teach it themselves because private tutors were well outside the reach of a majority of the working poor.

People were willing to farm for themselves for centuries but the tools and lack of expertise and specialization made it incredibly inefficient. People built their own houses, but they were rarely more than rough cut lumber piled together with thatch for a roof. Human history is the realization of the value of expertise and specialization to make general problems everyone faces inefficiently focused managed problems by experts that can be radically more productive at it than the uninformed.

I'm just trying to say just because its culturally normalized now does not mean its predestined to always be the way of social organization. And that economics is a really strong motivator to change behaviors - its why reproduction rates drop so radically in industrialized countries in the first place.
Exactly. if you're outdoor and 6 feet away from people (walking in the park, etc) you don't need a facial covering.
> Note that Mersenne Twister is an awful PRNG despite its enduring popularity.

References? I'm not being snide. I need to save those for future arguments.
This is pretty cool Ryan! One small suggestion would be to allow me to remove a "layer" by right clicking on it. With the preface that i played with this for only 10 minutes or so, I can't really see an intuitive way of doing so.
I'd been wondering why runs recorded with NRC don't have GPS data in healthkit. That's really disappointing, since I love the app overall. The guided runs with Coach Bennett in particular are great.
"Costs" does not have to mean "advertising".

Here's some quality content: https://www.raptitude.com/

I've been following that blog for years, via RSS. Every article he writes, I read. He gives it away. You can support him by becoming a patron or signing up to courses, etc. he offers. No advertising, and very high quality.
Are you manually printing each page to PDF? I would love to have an automated way to do this but haven't figured out how to deal with logging into subscription based site and all that.

There is also some degree of messiness even with printing to PDF. For example let's say I want to save an HN or Reddit discussion along with the comments - I would need to make sure I capture all the comments that overflow to "More" on HN or are behind a "load more comments" link on Reddit. Is there any elegant way to traverse all that and capture it?
For Uber specifically?

Money, better and cheaper transportation where it sucked, and jobs for much more people than just developers.
Yes, so would you rather Google not warn users of the possible danger?
I discovered that about 1/3 of people can be sleep deprived without any ill effects, which is the bucket I fall in. Another 1/3 will be disgruntled but can function at a lower level, but for the last 1/3, it's catastrophic and can't function at all. That's my wife, and what exemplified this the most was after having kids. She was almost immediately a wreck but I was able to hold together with the lack of sleep and spent most of the time being the caregiver for our kids during the toughest parts of the night.

Previous, I had another incident of sleep where I got 4-5 hours of sleep a day for about a year, and then it all came crashing down on me eventually.

About 10 years ago, I was doing algorithmic trading globally and would sometimes watch my trades until 1-2am, and then wake up at 6am to be ready for US trading. I was doing fine with no problems from lack of sleep, and then one day after about a year I stopped being able to think clearly. I was having real trouble thinking or learning new things and had a bad headache. I went to my doctor and she immediately scheduled an MRI because she thought I might have a brain tumor. I was scared shitless, but I was able to get the MRI the next day. After the results came back negative for brain tumor, I thought maybe it's sleep, so I left work in the middle of the day and fell asleep and slept for about 16 hours. I realized right there and then I was sleep deprived, so I stopped trading immediately and focused on trying to sleep properly.

These days I need close to 7.5 hrs of sleep a day and if I get less, I'll feel it pretty quickly as opposed to 10 years ago when I felt nothing.
Yes! Thanks for the correction.

>>
The Nobel Prize in Literature 1950 was awarded to Earl (Bertrand Arthur William) Russell "in recognition of his varied and significant writings in which he champions humanitarian ideals and freedom of thought."

https://www.nobelprize.org/prizes/literature/1950/summary/
Okay let me explain why this is a "control" rather than "service" or "handles". Say I am running an Ad using Google Ads. I get to reach all those people who are using Google services. And since Google has majority marketshare I can easily reach my customers and scale them as much as my budget allows. But at the same time I am bound by an ever-changing Google Policy that dictates what I should put in the Ad and what I shouldn't. Imagine that I or someone in my team pushes out an Ad that violates their policy somewhere. Depending on the scale of violation they can ban you form Advertising on Google platforms ever again. Now, you say that is a good thing. It keeps the bad guys out. I agree with you there. But it is not fool proof. I have seen Ads get rejected for frivolous reasons (like you can't have two different links in the same ad group). Now these rejections stack up and can get you a ban too. Have missed a payment because of some issue with your credit card or bank? Account suspension is a real possibility. Have you used the same credit card for two different Ad accounts? Be prepared to get suspended. Same mobile number for two different Ad accounts? Be prepared to get suspended. There are so many ways you can go wrong and get banned from ever using Google Ads again. Now this is where the danger is. If your business is highly dependent on Google Ads you will lose out on that huge marketshare you had earlier. I don't want my business to be affected because of some stupid policy violation that caused my account to be banned.
I'm currently building a similar tool, but for groups and teams. Would appreciate any feedback if anyone's keen on checking it out :) https://www.inverse.network/
It would be interesting to see the ratio of how many micro services an org maintains vs the number of engineers.
Notice "alicorn" is actually the name of the unicorns' horn, historically.

At some point people started using it for winged unicorns, presumably because "Ali" would be Latin for "wings" but this seems a recent development.
Pfft.. there are many.. and new ones keep popping up every once in a while. That's why I keep coming back.
If I was Trump's doctor, and he asked me for hydroxychloroquine, I would give him a placebo.
And yet you are treating their comment like a "real problem"... you're the one crusading, they just gently and non-confrontationally made a suggestion. You could have just passed on by if you didn't agree with their suggestion, but you turned it into a crusade against them. To the observer, you are in fact the one acting like a "snowflake" fired up (dare I say "triggered") by their actually quite gentle suggestion, in which they make it clear that they weren't accusing anyone of ill-intent.

Do you think your annoyance and anger at their suggestion is a "real problem" or a "snowflake problem"? If you don't think it matters that much if someone says "man year" or "person year" (you said it wasn't a "real problem"), why is the suggestion to do either way so triggering to you? Do you think it might be more in line with how worthy of your annoyance it is to see someone suggest "person year" (maybe not worth that much annoyance in the grand scheme of thing when we have 'real problems'?) to reflect on your own about why their suggestion to say "person year" made you so angry and upset, without needing to reply on HN and turn it into a crusade?
NATO forces? Are you sure?
I agree, I don't think they have much power. But what I said was they are relatively more powerful, and I meant compared to regular free users. Some 3rd-party devs will have apps with many, many users and those users will likely value the work the developer has put in. They will be forced to relay the news to all their users right now and I imagine they'll still be pretty angry about it.

And I also entirely agree Strava needs to change. Their strategy has been non-existent for years. I was a paid subscriber for around 2 years. In that time I dutifully (naively) submitted bug reports and feature requests since I wasn't really getting much use out of the premium features but I wanted to support it. However, I never saw any value in the few changes they made so I figured my support was misplaced. I've been a happy free user ever since. I use their platform as a way bring together my data that's spread across 9 years and various Garmin, Wahoo and TomTom devices. I put quite a lot of value in that data and I trust Strava with it all. I definitely trust them less now. I think they could have handled this a lot better.
I think it's. Usually, compiler generates each concrete implementation for generic. But in go, that's programmer's job. Maybe it's trade off for language's simplicity.
yes, true. But what alternative do we have? If such a power user breaks windows registry in a _really_ bad way, the fastest solution, by far, is to just reinstall anything. And, again, if you are smart about having your /home folders on a separate partition, reinstalling Ubuntu is way faster. So even in this worst case scenario Windows loses.