skysight-inc/HackerNews huggingface dataset:
Failure is part of learning. The failure of my project Graphite Docs (https://graphitedocs.com) crushed me too. I had built something new and exciting for a niche community, but I had failed to leverage the community that already loved it. Instead, I tried going after the “bigger” fish. The ever-elusive enterprise clients. That, in my opinion, is ultimately what did me in.

I did an interview on Failory that goes into a lot more detail: https://www.failory.com/interview/graphite-docs

But the biggest lesson I learned is how and when to validate things. Validation doesn’t stop once you’ve launched. And validation should also not be so intense that you never launch. It’s a delicate balance that I feel much more equipped to manage now.
> Linux headers and header updates are also decoupled from kernel packages in NixOS

Huh indeed you are right. I just confirmed that commenting out this line in my configuration.nix:

boot.kernelPackages = pkgs.linuxPackages_latest;

Causing a version change of the kernel from 5.9.16 to 5.4.91, only updates very few packages. The list of packages: linux-modules, firmware, linux-modules-shrunk, etc-nixos.conf, kernel-modules, etc, stage-1-init.sh, initrd-linux-5.4.91

Which is quite small. And only 62.81 MiB to download, almost nothing for NixOS.

> If you run unstable.

Actually I run stable Nix OS (with KDE Plasma as DE). Still there is a lot of download traffic. Those gigabytes I am referring to are from the stable version :). Just ran nix-collect-garbage, got to delete 11 GB in 3348 store paths :p.
> It's possible for there to be no good guys in a fight

Without Amazon for this would have end up like Qt software .In this case Amazon clearly are the good guys. Although they do it in their self interest, i am glad it happened.
Everyone today ties their persona and personal identity around what they do, what they purchase and what their opinion is.

In some developer circles, merely opening an issue or criticizing a feature is now considered rude, because someone worked on it very hard and they might get offended at pointing the bug or lacking design. This problem is getting more and more widespread.

Some people see disagreeing with any of their mundane opinions as assault on their character.

With the advent of social media, blocking people for having different opinions, institutionalizing “safe” “spaces” in academia, so that freedom from “offense” or “insult” is seen as more virtuous than having freedom of opinions and ideas, it’s no surprising that people expect to be awarded for merely participating, or they fall in existential depressions.
First two bullets could do without the qualification, IMHO. “keeping an eye on the newbies” is just condescending.

My take:

* Typed languages are generally better.

* Standups are actually useful.

* Process is helpful, when not used as a straitjacket.
Why the stainless steel version?
> For instance, sometimes stemming words is the right way to go, but if you are say doing a medical system where two very different medicines could be spelled similar and stem to the same word...

FWIW lemmatization may be a good alternative to stemming. Stemming is algorithmic and can generate errors, as you point out; "caring" for example might naively be stemmed to "car". Lemmatization uses a dictionary of senses and their root words to avoid this. For common English, there's Princeton's Wordnet (https://wordnet.princeton.edu/). Lemmatizing technical niches, like medicine, would require an additional dictionary.
Wait till China pulls a hong kong on taiwan. It will be clearer...
Do those include other trace minerals?
Baka! You're the dummy, Shinji! Now get in the robot!
Peace of mind comes first The Best Brain Health, Anti-tinnitus
>It's either apartment living or close to nature

I actually agree with you. I grew up in what, at least at the time, would probably properly be called ex-urban and live somewhere similar today (on 5 acres next neighbors with a lot more land as well as conservation land but within a few miles of plenty of stores, etc.).

I've never had much interest in classical suburbia but I do like cities--at least to visit.

2 hours gets you way out of even most Northeastern US cities. I'm about 90 minutes to get into Boston at rush hour if I time it right and less in the evening. I've actually commuted into the city--I also have a pretty convenient commuter rail--for some days for about a year and a half. It wouldn't have been sustainable long-term though.
Definitely not. That has nothing to do with anti-trust violation.
Anecdotally, the symptoms of a concussion resemble feeling sleep deprived and even the slightest adverse situation will lead to excessive stress.
Think pipenv is becoming the de facto standard for package management. https://realpython.com/pipenv-guide/
Connecting it to plumbing is a big issue and will limit it’s usefulness. Also, energy density doesn’t matter for this use case - it’s just sitting outside your home or garage and there is enough space.

They should make this into a portable unit and sell it as a UPS. Higher storage density is useful here.
Thanks! I didn't find a way to create a dummy display with native Win10 tools. There was a way to do it in previous minor releases, but with recent Win10 updates Microsoft has removed it or disabled. So went for a hardware solution instead, as I didn't want to install any 3rd party software. That's quite reliable solution, just need to be careful if moving laptop too much :)
I’ve tried a few, and my favourite combination is pyenv-virtualenv and pip-tools.
I'm not going to flag this post, because I believe that it is a teachable moment.

What about this post is at all on-topic? It is a TV news station's blogpost, fitting cleanly into the off-topic guidelines.

This is not the first such post from this account, either; they have a history of off-topic submissions. Why?
Don’t forget the sensationalist left that has proliferated the idea of “fat” “shaming”, where merely pointing out an unhealthy lifestyle is considered rude, insulting, shaming or elitist.
Nurses, Text Animations
This (I assume) is most jobs in “technical” desktop software (cad, sound editing, automation...) and game tech.

I had a job like this my whole career. I’m describing the area I want to stay in :)
Really? I’ve been using Python for 15 years and never heard anyone say “GIL”. How and what is GIL preventing?
No, this is the real deal.
Number pads are a bit out of fashion, but they are awesome for touch-typing digits.

That being said, if you can't remember 6 digits, just imagine how the rest of your work suffers at that point. Everyone is better served by you taking a nap first
So why majority of the most impactful invetions were done for taxpayers money not money acquired by restricting access to IP?
Are you the author? You both use a lot of words to say very little.
Some of us use multiple screens and virtual workspaces, it's not mutually exclusive.
> Security wise, any popular CMS will be a security nightmare.

I disagree, and I think it comes from a different understanding of what web security is.

Popular CMS software benefits from millions of people hammering on installations. If the community constructs a sane process for handling vulnerability reports (and WP has), then the average user of that software benefits from a robust continuous testing regime that they could never afford themselves. Testing and patching is an extremely important component of web application security in the long run, and also very expensive to do well. Most custom CMS projects do not bother to do it at all, and yet fool themselves into thinking they are secure because they wrote their own code.

No one can write secure software on the first try. The most well-funded and well-regarded software companies in the world spend tremendous effort on coding practices and testing, and still ship vulnerabilities.

Continuous testing and patching is always required. If your website is the only one running your CMS software, your first hint of a vulnerability may be when it gets exploited in production.
This is precisely what they did in RHEL 8: /usr/libexec/platform-python
py2 str == py3 bytes

py2 unicode == py3 str

The problem with this approach is that they wanted to reuse the `str` name, which requires a big "flag day", where it switches meaning and compatibility is effectively impossible across that boundary (without ugly hacks).

What they could have done instead would have been to just rename `str` to `bytes`, but retain a deprecated `str` alias that pointed to `bytes`.

That would keep old scripts running indefinitely, while hopefully spewing enough warnings that any maintained libraries and scripts would make the transition.

Eventually they could remove `str` entirely (though I'd personally be against it), but that would still give an actual transition period where everything would be seamlessly compatible.

Same thing with literals: deprecate bare strings, and transition to having to pick explicitly between `b"foo"` and `u"foo"`. Eventually consider removing bare strings entirely. DO NOT just change the meaning of bare strings while removing the ability to pick the default explicitly (in contrast, 3.0 removed `u"asdf"`, and it was only reintroduced several versions later).

What made me personally lose faith in the Python Core team wasn't that Guido made an old mistake a long time ago. It wasn't that they wanted to fix it. It was the absolutely bone-headed way that they prioritized aesthetics over the migration story.
This and kemitchell's previous installments are extremely helpful IMO.

Wrt AGPL though,

- unlike GPL, it hasn't stood in court (or has it, and in which jurisdiction?); which is kindof a biggie since there may be legal uncertainties and costs, to put it mildly; in particular

- I've heard the concern that, on top of the copyright/contract law debate mentioned, AGPL can't be applied to the maximum-viral/contagious degree desired by those who consider licensing their work under AGPL (forcing AWS to either publish their network provisioning stack under GPL, say, or cease using third-party AGPL software alltogether) because AGPL or any license cannot legally limit rights to third-party software.

Disclaimer: IANAL (4 semesters, though)
During a very difficult time in my life recently, I found it impossible to sleep. I would have stress nightmares and even when i did fall asleep, I would soon wake myself up with specific scenarios my mind was trying to work out.

I was incapacitated by this, which exacerbated my situation.

I eventually noticed that I could fall asleep if I sat with my daughters while they watched TV. This evolved to me falling asleep with the TV on. ...but the light, noise, and discomfort of the couch made this poor quality sleep.

Which then evolved to me falling asleep in bed with earphones on just listening to old tv, not watching. But I noticed that as soon as the tv show stopped, I would have nightmares again.

This evolved into me selecting 8 hours of movies that, on low volume, keep me asleep all night and I've essentially solved my sleep problem - despite this stressful situation persists.

My colleagues has instead started taking prescription sleeping pills.

I have found that selection of audio is important. It cannot be interesting or novel. It cannot be sound only - there must be speech. It must be content you enjoy, but have seen multiple times before. ...and it must have peaceful audio without screaming, shooting, abrupt sounds.

Interestingly, I no longer dream at all. The audio has essentially supplanted dreaming. I know this because on the occasions that the audio fails, my dreams return and are a notable experience.

I have been doing this for over 6 months now. 8 solid hours of sleep per night on the same programming all night. No ill effects noted. It has been instrumental in coping.

Food for thought. It seems stress caused insomnia can be cured without drugs, and dreams are optional for humans.
I'm a little disappointed at the percentage of comments which extrapolate personal anecdotes into societal behavior, and without addressing the data in this study - even to poke holes in the methodology, which is totally fair game (though IMO quite good, especially for what they had to work with).

The whole point of a 15,000-person survey like this is so that we're not all stuck guessing based on our own experiences. Obviously one can argue that what employers were telling employees they would do post-COVID as of October 2020 is not what employers will actually do (and give reasons why!), but it's still likely to be more accurate than any individual's speculation (including mine!).

In particular, the survey addressed 2 topics that a lot of comments seem to not incorporate:

1. At population, employer, and individual level, it's not either/or. The paper title doesn't do a good job of conveying this. All 3 entities seem open to everything on the continuum, based on their employees, work type, and so on.

Statements like "I promise that it won't stick for the broader society" imply a more binary outcome than the survey results predict (and maybe than anything predicts). The survey concludes that, of the roughly 50% of employees who can work from home, they'll average 2 days per week (or 23% of total hours worked). IOW, WFH doesn't need to move everyone all the time in order to have massive effects. Some people changing some of the time is enough.

2. Employer plans vs. employee desires. Lots of commenters state their preferences and then try to generalize from that, but.. the survey captured that too. To just skim those results, scroll to page 60 for employee-desired vs. employer-planned % of working days. Gist: if WFH is roughly the same productivity, employers plan ~22% of days and employees desire ~45% of days to be WFH. In all productivity cases, employees preferred a higher % of days to be WFH than employers.

Page 43 shows answers to the pay raise or cut employees would take in order to work from home 2-3 days per week.

It also breaks down the change in perception about WFH by demographic cohort on page 55. For example, those with no children and those with children at home both had significant improvements in their perception of WFH. Those with children had more improvement in perception than those without children. As the study wrote: "This 23 percent figure [post-COVID WFH as a % of full time days] is almost five times larger than in the pre-pandemic time use data, but still half as large as what workers want in a post-pandemic world."

Of course, there's a place for speculation and anecdotes. This paper - and hopefully soon, more studies like it - should let us evolve from speculating based on only our personal experience to thinking about its methodology and results.
Singapore is hot and humid all year long. Locals might be used to it but in my time there, a short 10 minute walk to the station means I'm covered in sweat by the time I get there. So I can certainly see why people would prefer cars.

That said I loved Singapore and I love it's awesome public transportation and its abundant taxies that were easily reservable long before Uber existed.
It doesn't make sense to skimp on these devices. The amount of value that a £420 laptop could have provided is much greater than whatever this thing is.

It's like the boots quote from that disc world book. If it is cheap and crap you will buy it again and again. If it is expensive and good you'll keep it for a long time. Especially nowadays when Intel fails to improve performance of laptops.
> You're definitely not writing general-purpose libraries that guarantee correctness for a wide variety of usage.

At the risk of sounding like a dick, I’m a member of the Django technical board and have been involved with its development for quite a while. Is that widely used or general purpose enough?

If you want a string then it needs to be a valid string with a known encoding (not necessarily utf8). If you want to pass through any data regardless of its contents then you use bytes. They are two very different things with very different use cases.

If I read a file as utf8 I want it to error if it contains garbage, non-text contents because the decoding failed. Any other way pushes the error down later into your system to places that assume a string contains a string but it’s actually arbitrary bytes. We did this in py2 and it was a nightmare.

I concede that it’s convenient to ignore the difference in some circumstances, but differentiating between bytes/str has a lot of advantages and makes Python code more resilient and easier to read.
Awwh. They should at least keep the tourist location in SF. Many moons ago, it was a decent shop.
Just to chime in about immigrants, since I've seen them mentioned several times as hard working and willing to do so for little remuneration and you are suggesting that British people should be more like them.

I am from one of those countries that come and work in UK. The people that work in the fields for cheap, live in horrible conditions in UK, just to be able to send money to their families back home, their life is not in UK.
That's not a role model for hardworking, these people are just desperate and would prefer to live a more normal, less hardworking life.
This comment is as funny as the parent comment.
Where are the vaccines from non-capitalist societies? Fact is, it was necessary. Incentives are part of the solution, not just the end product.
DDoSers are abusing Microsoft RDP to make attacks more powerful
Being fat linked with worse heart health even in people who exercise
The Problem with Commercial Open Source
> judge ideas by the people that support them

No, that's a different type of fallacy called appeal to authority[0]. Mind you, this one is more subtle, in the sense that it may not be a fallacy if there is an overarching consensus.

[0] https://en.wikipedia.org/wiki/Argument_from_authority
Anyone have tips for managing sleep in the winter months? It seems like I can stay up forever (until 02-04) and don't get so tired. I need to be in bed by 23 actually.
Highly doubt any Zen master would reprimand you.
Any habit you want to keep needs to be sustainable, if it doesn't fit the way your life works, you probably won't keep it.
They would however most likely encourage you to challenge yourself from time to time when possible to see if you can get comfortable doing a longer session once in a while.
how do you implying that on Hacker News truth never gets 'rewarded' with negative Karma points?
Maybe, for basic use cases. I use Forestry as a CMS for my Jekyll site. I only have two templates: page and blog post.
> Otherwise why not buy local?

Yes, why not? Reasons like expertise on EU investments in English were already an eroding advantage. Many finance groups were already reducing the portion of their staff there and are now moving more of their staff to offices in the EU.

(The UK was in a tough spot because it wouldn't commit to the EU. The fix was to make a worse choice, the UK is too small and too dependent on eroding advantages to maintain what it had.)
It’s necessary to incentivize people to invent and manufacture the vaccine.

It’s amazing to me that we now have a generation coming up that doesn’t know that we—-that is the human race—-tried socialism, really gave it the old college try, and it. did. not. work. For a significant period of time most of the educated people in the world thought it would work. This was not some fringe idea that was never given a fair shot.

(I’m talking here about actual socialism, not welfare capitalism that many on the contemporary left and right call socialism for their own propagandist reasons.)
It's not a fear mongering term. It properly describes the risk. Fear mongering would be "water death chemicals", but considering how serious of an issue this is I'm not even sure that should be considered fear mongering.
Most C code on Unix is at least c99, quite a bit is c11.

It also definitely didn't take until 2021 for C++11 support, I work on lots of codebase with c++14 and c++17.

I don't know what experiences you have had but I work on lots of large c and c++ codebase which work on many OSes and compilers.
But your real estate doesn’t change, you just redecorate your 1-room apartment each time you want to do something different
I live directly across I-405 from this redeveloped property. It’s been amazing to see the change.

I am in the process of buying a few acres of land further south of this area, in Buckley, WA.

I hope to build a garage/shop on the property, have space for my amateur radio hobby, and a few years from now, build a modest home. I would then sell my current home here in Kirkland.

Yet no one knows what tomorrow will bring. So I have no idea of how any of this will actually unfold.
This business trend extends well beyond pharmaceuticals/vaccine makers (see the auto industry). As an industry matures it also tends to consolidate. There are many economic factors that drive this and we shouldn't assume foul play.

https://hbr.org/2002/12/the-consolidation-curve
Yes it was the 99 storm. Our village Lost electricity,tree fell on the only road to the village,and several houses including ours lost tiles. Everyone got busy to repair everything and cleared the road.
Advent of Code only permits GitHub, Google, Twitter and Reddit, despite using OAuth.
You're talking about Europe as if it's one city, like Chicago is. There are upwards of 30 countries on the European continent, a subset of which are in the European Union. They certainly have more than one city between themselves; some even have many cities!

You're likely being downvoted for the ignorance.
Who is the hard worker in this statement? A corporation is literally a set of legal documents. No human was discussed at all.
Will send you a message
It's mostly about the act and statement just fits.

Yes. You can weave baskets for years, but just f__k a goat once and you'll no longer be known as John the basket weaver. Even if I haven't seen the act with my own eyes.
Hmm. So glide is a specific type of floss, and regular floss is ok?
I may be a less usual case on this forum, but I really like printed references. The walls of my cube at the office had cheat sheets pinned up (boilerplate code I need once a blue moon, lookup tables for codes, a map with county names and FIPS codes). I've written notes on most of them. On the shelves, I'd have reference books. On the file drawers, pages of notes and printed journal articles (with more notes).

Having written this, I see this could be an impetus to get better at taking notes with software. But some remote jobs and people really benefit from keeping physical things close by.
Do you see any pure software niches, or is everything right now heavily involved with hardware/wetware?
What is the reason to accept update request using GET method instead of POST?
"Last" varies depending on if it's contaminated with Acetobacter or not, which can turn it to vinegar.
See also Vysor: https://github.com/koush/vysor.io by the creator of ClockworkMod.

It streams Android and iOS UI to desktops with actionable controls.
Yep, not being dogmatic about standups having to be daily, or indeed about any process, is invariably a win - do what works for the team!

I'm working in a small team just now, just 5 of us, and a short, daily standup is working well for us - and it's usually finished in 7 minutes or so.

In my last project (where I wasn't leading the standups), the teams were bigger, 10 people in each, and they went.on.forever. Neither the scrum master or PM were strict at curtailing them or keeping them relevant. Everyone hated it.
Except for a couple of years spent in apartments, this is not all my experience, either of cities or of suburbs. In my childhood and teens in the suburbs, kids would gather in a yard or a drive to play games--tag, hide-and-seek, kickball, touch football, basketball--and so one got to know them and their families. Now, in a city, and on a block mostly of free-standing houses, I know by name somebody or everybody in most of the houses on the street, and know some of them pretty well.