skysight-inc/HackerNews huggingface dataset:
On reflection, I have kind of an interesting relationship with this thesis. Whether you should be quick to criticize kind of depends on the purpose of the discussion. Maybe in the context of the person writing the code that kills webservers, it was a reasonable idea. It could well be true at the same time that the software creating that context is, in fact, garbage.

I tend to think from the perspective of how to build systems tomorrow that are not garbage, so I lean towards labeling as garbage things that cause annoying code to have to be written; it's an optimistic perspective in a certain sense, that things can be better. But if you're going to bother judging past projects, which is already something to be careful with, it seems pretty clear as OP states that you'll learn more about by looking for reasons that the way they did things made sense at the time. With all the pesky humans involved, it may well be a sociological lesson rather than a technical one.
Anecdotally, my experience with the American healthcare system is the exact opposite of OP’s. I went through a bout of months of intense pain, seeing 7+ doctors. Each of them insisted on running (and re-running) blood test after blood test, even repeating blood tests that had already been done only days prior. In the end I had over 100 different blood tests done and the only thing ever prescribed was some heartburn medication.

Other times, my primary doctor always insists on doing blood tests before anything else. The only time I’ve been to him and been prescribed something before getting a blood test was when I went in for a muscle sprain, and even then the prescription was for some pretty mild muscle relaxers.
I’ve also had the pleasure of experiencing kidney stones, and even when in the ER for that the doctors were extremely hesitant to give me anything stronger than ibuprofen until they did multiple blood tests and imaging to confirm without a doubt that the opiates were necessary.

I know statistics say otherwise, but I too am always surprised to hear stories about American doctors handing out opiates like candy.
That is actually a pretty good translation with few mistakes
But why buying stocks of companies that will be bankrupt in the coming months?
> That is, I can control how my data lines up with the cache in C/C++, with sufficient care and effort. Doing the same thing in Haskell or OCaml would be considerably harder.

Would it really? The OCaml compiler is pretty simple and consistent; there was a story here not so long ago where some OCaml users diagnosed a CPU bug that people using C/C++ hadn't noticed.
Sacrificing present happiness for the future is the definition of a long term goal. Today I sacrificed alcohol I would have enjoyed so as to continue losing weight. If I thought I wouldn't be alive months from now to experience the benefits from said weight loss, why do it? Ironically that attitude would actually increase the odds of early-onset nastiness.

Why put money into my 401k that I can't touch without penalty for 40 years when I could enjoy it now?

Being content and at peace with oneself in the moment is possible, and should be striven for. But for my part I'd have a hard time being content with myself if I wasn't striving for better for both myself and my family.

In my experience the only lasting satisfaction in life comes from discharging meaningful responsibilities, that requires some sacrifice of momentary happiness. Happiness is great when it's around but has no staying power, and too many people get sucked into miserable hedonism while trying to turn it into a constant.
But you know? Do you ask a plumber to show you how to connect tubes, before hiring him?

Whiteboard interviews aren't even real life situations.
Market could still go up. The Fed just has to agree to print money until the strike ends.
I like the indexes, though without a query language implied I'm not sure how useful they are. I can see why you wouldn't want to specify a query language in a markup spec though.

I made a query language for use in situations just like this years ago, never ended up using it much though.

https://github.com/polm/philtre
> Mitigation tactics like shelter in place, ppe, and physical distancing are working. Tiger repelling rock would make sense if there was no data supporting this thesis.

It's the same as "You don't see any tigers around do you?" It's anecdotal. How do you know which of what you said is doing it, Shelter in place, ppe, physical distancing, or something else? You have no idea.

>> decide for themselves

>They elect officials to represent them. That is what Alameda County is doing.

Hey, thanks for snipping out the subject of "those that feel vulnerable" and implying I was talking about the majority of voters. And, you also know the person that ordered the stay at home order was appointed right?

>> And who's going to suffer most when he pulls his factory out of California?

> I don't have any data to tell you who that would be.

A state without private enterprise is not a good one for those "10,000 latinos and blacks" you worry so much about.
I have been developing all sorts of native and Web applications for a couple of decades now, and SPAs is something I avoid as much as possible.

And yes, I also implemented interactive desktop like applications as Web applications.

Server side rendering frameworks, with support for components and just enough JavaScript go a very long way, and best of all, they are faster than SPAs in every kind of device that customers might have.
LOL me too. They know I have rental properties but are always bitching about my small house and why I am not doing this or that. They don't know that my real estate portfolio is worth upwards of $5 million and when the mortgages start to be paid down, will eventually be generating $20,000 a month in rent. Look forward to telling them to get fucked when they come looking for some of that money.
>That means you _chose_ not to participate in the market

You can’t invest money you don’t have.
The intro makes me want to read it right now: https://managinghumans.com/

Will be purchasing ASAP. Thanks for the heads-up.
The Beauty of Hardware
for the people that are tasked to make websites (i.e. us, HN readers), they're easier to work with and they save us time

The premise of the article is that they are not easier to work with and do not save time in most situations. I agree.

Most websites are fundamentally documents, even those that think of themselves as apps. You could even build gmail quite easily as a document based app with some limited use of fetch() or WebSockets to get the data you need, though it's one of the few applications where a less document based approach might help.

React and other js frameworks are a huge amount of overhead for very little gain if you see the web this way. Your about page is not improved by using react.
This is explicitly security oriented code. The release notes indicate a high awareness of security issues and discuss some advanced topics and items its trying to mitigate.... and then the code has a way of leaking kernel memory. Do you really doubt an engineer (or potentially team of engineers) working in security could not see what was outlined in the article? Its suspect at least
It probably does not. I’ll need to understand FUSE better...
Plus he backs it up with speaking. It's narrow and credible enough that it works.

It doesn't work with a thin resume.
What you describe sounds very similar to the definition of a "domain specific language".
Which will be very useful when the utility workers of the stock exchange strike and the lights turn off.
>The ruling CCP is diametrically opposed to most Western political and social values and itself feels very threatened by democracy and personal liberty.

I'd like some folks from China to respond to my comment, to make sure I'm not talking out of my ass, but in discussions with my friends who are from Taiwan or from Guangzhou the Chinese seem perfectly fine with rejecting "Western political and social values" as long as it means stable and consistent security and economic growth. And frankly I don't blame them. There is no physical law that says western democracies == happiness.
This embeds an offline version of draw.io; I hadn't previously realised that this site is open source:
https://github.com/jgraph/drawio

Very neat!
Unsorted waste cost is often regulated to be higher than what the immediate costs are. And landfills are banned in a lot of places so the unsorted waste has to be resorted and the uncrecycleable parts incinerated[1].

[1] eg see third column of table 3.1 at https://www.eea.europa.eu/themes/waste/waste-management/muni...
Social stuff has gotten complicated by living in a world with a global internet. We each individually bring our personal experiences and prejudices to the table and often have no idea what the context is.

I got my first experience as a moderator on an email list with about 300 members and they were all "gifted." It was a parenting list for people with gifted kids, basically, and every single person there was used to being the smartest person in the room. So if you disagreed, obviously, you must be an idiot who had no idea what you were talking about.

It took a long time to lay some groundwork and convince people they were, for the first time in their lives, hanging out with 299 other people just as smart as they were who had read just as much as they had on the topic and so forth and, in some cases, drawn other conclusions.

That felt like a long, hard haul to me and then I quit after about six months because I was relatively new to the forum and my boss basically told me I was stabbing her in the back for doing my job and I was all "I ain't being paid enough for this." because it was a volunteer position.

I quit and let her know what she was doing wrong as a going away present, because I'm generous like that. I'm sure my analysis wasn't appreciated. It was most likely interpreted as sour grapes and as me pissing all over her as I left.

HN is better than most places about this kind of thing, but it's just hard communicating on the internet and not knowing the same things about the people we are speaking with that we tend to know about people physically in the same room. We haven't gotten all that sorted out yet and we may never sort it out.

If we don't sort it out, the result may be massive die back of the human race to a level we know how to cope with. The internet is our opportunity to sort a bunch of things that aren't working well, but I don't know if we are successfully tackling those questions.

Perhaps this post by Colin is one small crumb that can move that forward. And perhaps not. Perhaps it will get lost in the crowd and make no real difference.
this could be really cool if it can tie directly into your ORMs like TypeORM. does anyone know if something like it even exist?
Such a difficult question. My thoughts: we're all trying to strike a balance between work and family. Whatever balance you manage, be present wherever you are. For whatever time you are with your family put away your phone, and be present mentally. Your children will be thrilled if they get 30 minutes a day of you uninterrupted even if you are working much of the rest of the time.
My first thought is I hate tabs.
This is an excellent analysis. For me the key quote is “One of the trends that’s jumped out is that lockdown orders have tended to ratify public behaviour as much as prescribe or circumscribe it”. The author argues quite convincingly (with transportation data) that the decision to lockdown is, as he writes, ‘crowdsourced’ and coming from a groundswell of micro-decisions made on the individual level, and that consequentially the debate on lifting lockdown orders is rather moot: people will likely continue to be very prudent after the orders are lifted just as they were very prudent before they were officially promulgated.
That’s not been my experience, but I’m sure it’s hyper location/company specific.

As another commenter mentioned, I too carry a battery for longer trips, which is useful for charging devices when physically on the move and away from outlets. The model I chose from Anker can also top up a MBP, albeit slowly.
You poor thing. Drink your warm milk and go back to sleep.
Yeah, that seems odd. But then, I know zero about German law. I suppose that none of the charges against him warrant extradition, so they're cool with him remaining in India. But on the other hand, he has a criminal record, so they don't have to repatriate him.
Is that really an "entirely different compilation paradigm?"

Most (all?) GCC frontends compile to a common IR. The main difference really is that GCC doesn't market that as an interface for interacting with the compiler. In LLVM, the IR is the product, in GCC its the individual language compilers.
Vim-simple-todo: Mappings to manage GitHub-like task lists
That's basically the Librem 5 (https://puri.sm/products/librem-5/) and to me the most exciting thing about it.
App-based grocery stores can provide a more personalized experience
A lot of the time you’re not reviewed in isolation.
There is a stack of resumes and 5 of them are a yes, but there’s a budget for 2. Or you have roughly the same experience but demand a bit more money.

In all of those cases having a real provable thing they can anchor their decision on is a big win.

Anything in a resume can be suspect. Every time you describe something awesome you did at a previous job, there is “another side” - for example you built this microservice that scales this problematic thing and everyone was happy, but after you left there is not enough docs and now people are struggling to maintain it. Or you were great at code review and everyone really appreciated your input, but it turns out they were shy and didn’t tell it to your face, but complained about you behind your back.

Anyway open source work is a very clear way for someone evaluating you to have a concrete data point. It might not be accurate, but the interviewer will often perceive it as such. The old “a bird in the hand is worth two in the bush” kind of mentality.

But its more than that. People usually make it as a ”will this achieve my goals” kind of thing. You don’t do open source _just_ so you’ll get an additional interview. You do OS because you’re helping the global human understanding, you’re becoming a better, more helpful and knowledgeable dev, and because it’s your passion.

And if you are those things, it’s a great sign for the interviewer that you can be a good fit for almost any dev position.
The article was brutal. I think Wired should have put a warning at the beginning of the article, instead of the very end, but; do you really think censoring yourself from all harsh reality and expecting "disney" endings for everything is wise? Should every article contain a hopeful message with mandatory rose colored glasses? Should survivorship bias echoing be enforced? Zealous positivity can prevent you from somber reflection, asking difficult questions, and growing as a person overall. I don't think its wise to dwell on negative realities like the information technology fueled Muslim concentration camps in China or the relative slave labor that manufactures your electronics and clothing or the cows and chickens that get brutally slaughtered so that you can eat meat and make necessary protein chains; but, hey, I enjoy my steak and my smartphone and just keep rolling baby! That's life.
$100 in stocks is a meaningless "investment"

e.g. https://www.cnbc.com/2018/01/18/few-americans-have-enough-sa...

> Only 39% of Americans have enough savings to cover a $1,000 emergency

So you're part of the 61% of americans with less than $1k on hand, but you put it into the stock market, congrats! At the end of the year you have $999 + 6% roi = $1059. Best case scenario you're looking at less than $10k for retirement after 30 years of this.
If all one has been exposed is a development world of web-based consumer-facing front-ends (CFUI), it is hard to imagine that the majority of software lies elsewhere. Hard to imagine that anything else is important. It leads to a viewpoint that modern programming is mainly about UI interacting with a database.
Providing for an assumed future requires sacrifice and is the right bet. While doing that, understand that the journey is the destination. It's a tall order but somewhere in there is the answer to a lot of life's questions.
If we could get an extension like this for every file type VS Code could basically become your OS (desktop environment) or file manager at the very least.
How Learning Is Different Than Fixing
Ah, fair enough. I totally forgot that reason, haha.
So long as you keep it in mind, it’s just statistics. There have been studies with both good and bad tests. The test itself is probably easier to compensate for in a confidence interval, than selection bias which is usually unknown.
>people will likely continue to be very prudent after the orders are lifted just as they were very prudent before they were officially promulgated.

The debate is not moot because an imprudent minority can ruin it for the rest of us. Based on the models I've seen, the % of people disobeying the lockdown (even an informal lockdown) has a highly non-linear affect on the effectiveness.
There are things I would like to see come out of this. I have a compromised immune system and I saw a lot of benefits for me. My life mostly carried on as usual. A few things I typically attend were cancelled, but I already work from home and don't get out much.

I hope the pandemic leads to certain hygiene things being take more seriously and improved, like public bathrooms. I hope it continues to be easier for me to avoid certain things post pandemic without it raising an eyebrow.

But if people were better about not doing awful things like blowing their nose in crowded public spaces, I don't think we really need a lock down, honestly. I have a serious medical condition and I habitually avoid large crowds and certain other things, but most people don't really know how much my life choices are driven by my medical situation. I look sort of "normal" in some sense. I sure as hell don't run around wearing a mask and gloves when I go out.
They could do the same with CMake (and regain things like IDE support) but I think it goes against the spirit of the hack.
Why most developers fail their first tech interviews
I found this to be true depending on job source.

Local positions depending on the match can be 8 / 10.

Remote roles in other countries. Indeed 1 in 25. Stackoverflow 1 in 100. Angelist 2 in 10 (best 10) then 1 in 25.
I have clicked on github links in resumes many times, and I have yet to get impressed. Most of the time you‘d find empty repositories, some forks that were never touched, and other garbage, and hardly any activity. If you can‘t clean up your profile when submitting an application, just remove that link.
each small store will have little bargaining power when it comes to their suppliers. therefore, each little store will end up paying "market price".

Eventually, the small stores join up together to bargain for a wholesale price lower than market price to their suppliers, and thus earn a higher margin.

ala, what you see at walmart today.
The only practical remedy for this in the US is free antibody testing for asymptomatics and free infection testing for those with symptoms. Ideology will prevent this from happening even though the same actors never bat an eyelash over blowing trillions on pointless wars.
We're talking about slightly different things: you're thinking cloud vs. on-prem, while I mean no longer giving SIEM vendors a free pass for crappy parsing & classification of most data and pushing that to users. Running the SIEM via a managed cloud happens to make this easier, but not actually 100% required (e.g., federated learning.)

Historically, Splunk, Elastic, and other SIEM vendors abdicated most responsibilities here despite marketing that suggest they're good at ingest/parsing/correlation across different products ("single pane of glass"). Requiring IT/security teams to do parsing + classification across an ever-changing stack of client/server apps + security tools is a lot of work given the ever-increasing list of other responsibilities they have, and a gross duplication of effort across organizations. The result has meant a lot of incompletely configured systems, a big blocker on most data & automation efforts ("garbage in / garbage out"), and burning internal team time + professional service dollars on week 1 stuff. In contrast, not so hard for a vendor to amortize parsing across all its users. (Which Microsoft and Google are pushing towards, afaict.)

And agreed, teams should be able to iterate on the interesting stuff, not reinventing the wheel on parsing winlogs/apache/netflow/zeek/palo alto/etc and normalizing them to the taxonomy of the year. To the original point about ATT&CK, teams should be training & labeling & sharing models, while ATT&CK is informal ideas (very 1970s/1980s) and manual SIGMA rules (very 1990s/2000s), yet we know that is unreliable and too much work to maintain & grow. They need to be able to quickly work w/ feature engineering teams, not work in ignorance of them nor in isolation.
This is because golint complains if you do not write a comment above an exported function. While it does indeed seem silly when reading the code, the purpose is for the go documentation that is automatically generated from this.

See https://golang.org/pkg/net/http/#NewRequest for an example of this in action where the comment is essentially worthless, and this comes from the go std library.

Go's stance is that it is better to always have people document exports, even if some are trivial and duplicates, it is better to always enforce it so that comments are there for the exports that do benefit from a "why".

If you really hate the comments, in your own projects you can use Revive which is a drop-in replacement for golint and allows you to disable lint rules like comment annotations.

https://revive.run/
You mean go from a peasant nation to first (object,man,woman,space station) in space?
It is amazing how many people seem to build an invoicing/quoting product. A ton of them are actually successful too.

What is it about this niche that makes it a thing that everyone wants to start.
Avorion: Procedurally Generated Galaxy Exploration Game
> you're "participating" in some sense, but not with any real impact

just like voting has no real "impact" right?

Participating has an impact. The impact may not be as big as you'd want, but it's there. and it's better than not participating.
Empathy and patience are underrated qualities in developers. The empathy to not immediately blame the developers and the patience to find the actual reason behind the problem.

Blaming developers reminds me of the Design of Everyday Things where Norman discusses human error. He makes the point that human error should be an extraordinarily rare cause of an incident. Instead one can always go further and find the root of the human error. Why was the code quality poor? Were the developers being rushed? Were proper standards not put into place? Did we hire the wrong people? Did we misunderstand the problem? Was there a miscommunication between management and developers?
I prefer blocking ads by browser extension for PC/iOS and device local MiTM solution (like AdGuard) for Android because these solutions can block more precisely and easier to unblock things permanently or temporary, compared to DNS server solution like Pi-hole or NextDNS. Why choose DNS solution? I suspect the reasons are maybe like for lower resource usage (especially for smartphones), works for smart device like TV.
Quick Guide to Production Debugging
What keeps surprising me is how angry you are against the industry, and yet are unable to do anything useful to our society besides writing rants on online forums.

After all I would expect that with such energy we would have seen you at some GDC(E) teaching us the true path, leading the way out of the slavery from game development industry practices.

But no, we get rants on online forums instead.
Sounds like exactly what I was looking for, where did you pick it up?