skysight-inc/HackerNews huggingface dataset:
With nix, the whole dependency hell problem is solved, so you will not get conflicting dependencies anymore (other than perhaps bugs). You could install the same program twice with the exact same version of libc compiled by gcc and clang for example and it would still not get into each other’s way.

Docker on the other hand doesn’t solve this problem itself - docker images can be built declaratively (eg. with nix itself), but it is more about managing the running of services with possibly different environments. A typical dockerfile will not be identical at all between two separate creations (most of the time it just installs programs from a repository without any versioning other than perhaps the distro’s major version)

The fact that we as in software developers use it for dev environment is just the unfortunate way it is.
> Why do so many headlines classify it as horse paste medicine?

Because, convinced in the absence of evidence, some people are acquiring it by the path of least resistance, which is farm-related retailers.

Some ask their doctors. Some of those doctors say sure because it's relatively safe. Others say no because they point out there's scant evidence it's effective.

The worst part is people are taking this in lieu of a vaccine because they're so convinced that it's ineffective or gene therapy or experimental and dangerous, etc. We're not dealing with data based reasoning. It's an emotional response rooted to some degree in American partisanship.
Better than writing really long descriptive function names is to not get carried away but write well described function names that show some intent or description and are chosen carefully. I worked on some code bases using long descriptive function names (inherited from another dev) and it wasn’t always useful. It was overkill. The descriptions were either too generic, too descriptive (redundant in half the cases) or handling such long saussage names was simply tiring. When you have to scroll right to read a name it becomes a problem..

The takeway is that merely writing very long descriptive names isn’t a silver bullet and could cause harm despite good intentions.

I suggest going back a after a few days for a refactoring (renaming functions or variables) and see how it reads to you. Then repeat the process a few days later when you’re even more detached from that code.

In many cases self documenting code is going to help you remember the model you had in your head when building it. And if done well it will help others as well, your code will end up not giving headaches to future maintainers.
I know the solution!

Hire a scrum-master! that will fix it.
...There was about 4000 years of Chinese history based around the Yangtze river valley, particularly north of it, as well as the main hub of the Qin dynasty. China has been a northern focused entity for almost it's entire existence, especially since Qin. That also includes the Qing and Yuan. Even the Ming were centralized in Beijing for a large portion of it's existence.
He just barely lost, after getting covid right before the election and looking like a huge fool, while democrats lost seats in the house, underperformed in the senate... no covid, he wins, easily.

If I were a Republican, I'd be congratulating you and handing you as much rope as I had right now. Say defund the police again, please, here's a megaphone, we'll record it for Fox News.
That is how I feel about these comments.

In a vacuum I like them and when I bump into a piece of 10 year old code commented like this it is great.

There is one caveat however, they have to be meticulously maintained and always updated to reflect every change made to the code. It is a huge caveat because more often than not the comments are out dated and no longer reflect the actual code and at that point they are detrimental.
Glad you posted. A lot of AI code simply cannot be trusted. In particularly, it's pretty obvious that the teams using it either don't do a lot of QA or don't understand how to test their systems in the first place. I find it mind-boggling that this technology is so widely used with such limited understanding.

The interesting question is how the hell do we fix this?
I agree that in this case (reading an article) HTTP is not a huge threat. But in 2021 I consider HTTPS + HSTS to be a basic hygiene factor.
This is very cool. I tried to signup though and it required a LinkedIn account. I deleted my LinkedIn account due to privacy policy changes I disagreed with.

Hope it can one day remove the prerequisite of a LinkedIn account.

Great idea and great work!
Show HN: A generic policy and constraint evaluator (Go)
Ask HN: Are some boot camps better for landing a job?
Hi all.
Thinking about doing a coding bootcamp for Data Science.

Thinking about Tech Academy or MIT xPro. They're both similar in modules, length, cost, etc.

Which one should I do? Do employers put credence on which coding bootcamp I attend? Thanks in advance
Most tech trends are less revolutionary than they first appear. Really life-changing stuff doesn’t come along that often.
Correlation doesn't mean causation. I'm sorry, but the theory is bonkers, which becomes clear after the assertion that the link between music and violence is "undeniable"
"I don't understand why someone would work 6 or 7 days. I'm rich, my company pays me crazy amounts of money, and I don't work more than 4 days."

Guess everyone will have to work on adtech, surveillance and engagement-at-all-costs so they can all have 4-day-weeks and still make 5 times the national average.
Yours is a well-written comment and I'd give it more than one upvote if I could. I wonder if the reality of Democrats' rather strong indifference to progressive economics and meaningful reform--and the GOP spending taxpayer dollars like a drunken sailor--rubs some folks the wrong way.
This happened to my great grandmother, I thought it was unusual, but I guess not.

Came to the United States as a teenager not knowing English, but quickly picked it up. Eventually her french speaking elders all died off so she stopped speaking french out of circumstance, she never taught her kids french and french materials were not available at the time. In her 90s she said she didn't remember how to speak french. I thought it was sad but it actually didn't bother her because she didn't need to speak french anymore.

Some people who didn't know her thought she was senile if she mentioned this to them.
You absolutely want this, relatively obscure, book:

https://www.amazon.com/Foundations-Interpretation-Quantum-Me...

There are some translation/copy-writing issues but don't let that put you off. It has a solid coverage of quantization of Hamiltonian mechanics in both matrix mechanics and wave mechanics, and then the unification of the two - all following the historical narrative.
I've forgotten who first wrote this, so I can't credit them, but there's a saying that if someone can't write clear, clean, and understandable code, why does anyone expect them to be able to write clear, clean, and understandable English (or whatever language)?

It's quite a bit easier to write something the compiler or runtime can understand, there's no need for meaningful names, consistent structure, or conceptual coherence. As long as it builds and passes whatever tests, the computer will accept it.
Unpack the word “effective” used here. It is still the case that ordinary cloth masks are less effective than higher grade masks.

As a health official you are weighing the question: do we advocate a sub-optimal approach on the grounds that it is better than nothing, when we know a large segment of the population will be militantly non-compliant anyway? There were anti-mask protests back in the Spanish Flu days too.

Point being, it’s not a binary thing, and there’s some consensus that has to be built in the early stages.
If you have these preferences then the onus is on you to disclose them. As long as you say "I would like to be in a relationship with someone who can have children with me" on your first date, and not discriminate between e.g. trans women and cis women who can't give birth, it's ok.
The Protobuf documentation made me cringe. Every character of its "personality" adds a cognitive burden for the reader and a maintenance burden for anyone who has to update it. If a developer wants to be cute with the same brevity and clarity that the comments would have otherwise, fine. Otherwise it's self-indulgent performative trash that should be rejected in review.
It's okay because the private company is supporting liberal theology. When it's a conservative decision, it's evil and should be abolished.
Time and active readers.

Want well documented (and tested and thought out) code?

Then give the coders people outside of their team / hierarchy who are going to check it / read it / use it.

And then give them time.

And repeat.
Sure but drug advertising is ubiquitous so it’s not a valid criticism to attack people for being influenced by a particular channel.
They actually do pretty easily find ways around that. My dad used to play in traveling sports teams when I was a kid and hated going to the midwest. All the bars were organized as "private clubs" where the rule was you needed a member to vouch for you before they'd let you in. Somehow, random strangers at the bars would magically vouch for all of his white teammates but not for him.
Seems to me like the same problem Voat ran into. Generally, subreddits are banned for a reason, so any site that allows essentially any legal content is filled with those not allowed elsewhere. So when people want an alternative to reddit, the biggest one is filled with people that the majority don't want to deal with. And so those people tend to just stay on reddit.

Epik hosting is simply acting as a dumb pipe. But because you really only look for alternatives if the big players kick you out, they're linked to those services now.
TBH sometimes you don't think about this stuff.

Back in college, my (CS) department shared a student area with the students from the EE department, so naturally a friendly rivalry evolved.

There was a shared common area, and a private office for CS and EE each, both separated by lockable doors from the common area.

One day, we arrived to find that the EE department had left a taunting note on a desk in our (still) locked office.

At first we thought they airdropped it (since the office walls didn't reach all the way to the slightly domed ceiling), but we didn't think of the obvious: The office doors simply had their hinges on the outside. They straight up took the door off the hinges, and then put it back.
If we can find availability of any of dozens of parts we are short, CEO orders are to buy out the inventory.

Hoarding is a component of the shortage, and may be the both trigger and cause for extending the problem from months to years. Semi companies are buying new equipment at record levels, but even the equipment companies are thrashing to find chips to control their equipment.

Analysts may want to keep an eye on balance sheet inventories at electronics manufacturers like Jabil, Flextronix, Fabrinet and their ilk to get an idea of the extent of hoarding in the market.
there are new exploited deposits of hydrogen, formed at great depths under high pressure and temperatures.
https://hydroma.ca/en/ is one
I do not know if there are more and their production volume?
Political is not. Religious is.
Making it easy to hide comments == making it easy to forget to update comments.
But why is it not a pillar of ancient Celtic religion, for example? They were literally burning people in wicker cages for religious reasons. When you say "burning man", I certainly imagine druids much more readily than Christianity.
Oh this simply made my day!!!
IMO if you have to lie, you've already ceded the moral high ground.
This wasn't about being pro/anti abortion, this is about them violating GoDaddy's ToS. Although I'm sure they weren't heartbroken over enforcing it.

"You will not collect or harvest (or permit anyone else to collect or harvest) any User Content (as defined below) or any non-public or personally identifiable information about another User or any other person or entity without their express prior written consent"
The GPL requires someone to publish their own source if they distribute binaries.

The GPL does not say that you must publish anyone else’s derivative work.

The concept you are suggesting is ridiculous. Imagine if Linus had to host every kernel fork ever.
An Epidemic of Wage Theft Is Costing Workers Hundreds of Millions a Year (2014)
Isn't the containers does the same job? https://addons.mozilla.org/en-US/firefox/addon/multi-account...
Looks like the cert is for a different domain (redis.io) AND it expired August 7, 2020.
This will never happen. The chronically incompetent SNP are too busy spending hundreds of millions on two ships and and ensuring men can run women’s rape crisis centres to achieve anything that would require even a modicum of skilful administration
3.2M Americans are still long-term unemployed as benefits set to expire
There is a somewhat similar tradition in Poland (without the gitf economy art and drugs). People burn an effigy of winter god called Marzanna on the first day of astronomical Spring (and/or throw it into a nearby river). It's common in most Slavic countries I think, but in some of them it vanished because catholic church was fighting it at one point.

There are accusations of misogyny because that's the world we live in, but mostly nobody cares cause it's fun for kids.

Ironically this pagan tradition comes from a religion that was much more woman-friendly than catholicism that replaced it.
This article is written with respect to the recent film "revival"[1], and posits that this would have been a great product for Cosina to take advantage of it.

[1] in quotes because I personally don't believe it's sustainable.
OCAML is used extensively for high-frequency trading, so indeed functional languages are used all the time in low latency settings.

Galois has done work in Haskell for developing hard real-time applications. Here’s a dataflow language they built for example: https://leepike.github.io/pub_pages/rv2010.html
You have changed the goal posts about three times now. I said Puritans and Libertarians, not Anglo Christians.
Your comparison of this error to Jews being labelled rats is obviously a comparison made in bad faith. Also I think it's funny that you assume that if there were more black people in the industry there would be more outrage. It seems regardless of what happens, black people want more outrage even when outrage is not justified. Even math is racist and not objective. Jesus.
The typical Chinese millennial, who makes $22,000 a year
That actually looks pretty interesting.

How do you handle load balancing of inbound traffic.. do you use a pod running Traefik or similar? How do the pods communicate when they are deploying, unavailable or busy and so on?

I guess I could get this from your site but there's a LOT of information on the first pages there and possibly not what I am looking for.
It’s just the SNP wasting even more money
Right - my point was the baker case was closer to being protected than this GoDaddy stuff. And despite that, it was still within the law.

It's a little more nuanced because abortion is less linked to religion than gay marriage is to being gay. You can in theory link a variety of nonsense to your Christian faith (if you can prove false you can prove anything blah blah blah)
You mean like hydroxychloroquine and ivermectin?

So because Trump talked about the former that somehow makes it political? What a weak argument.
Just so I follow, do you recognize the existence indirect coercion by necessities (which very well could be the result of private property creating artificial scarcity) at all?

Because if you do I have no idea how you can come to the idea that one can just "walk away".

> The USDA is not a tangent

It is, you're switching the topic to be about government, and a contemporary setting, instead of continuing on the topic of a private property owner and a hypothetical libertarian society.

Libertarians seem to have a bad habit of using unnecessarily convoluted language.
There is a very simple explanation. China is a >60% of the world chip market, and probably is even more now since China was the first country to reopen: https://daxueconsulting.com/chinas-semiconductor-industry/

Giant stocks of everything started to vaporise overnight, all at the around same time last November.

I have a few STM32 reels of different models some of which I can now sell at $10 per MCU. A 100-fold increase in price, that beats any bitcoin.

The starvation of seventies, and hungry eighties have taught Chinese a thing, or two about shortages.

People in the ex-USSR countries had the same tendency to run hoarding stuff on every economic doom announcement.
There's also some funkyness with btrfs subvolumes:

https://news.ycombinator.com/item?id=28274054
Could use a round 'to-zero' option (which rounds down on positive numbers and up on negative numbers.)

Here are the options in .net 5:

https://docs.microsoft.com/en-us/dotnet/api/system.midpointr...
Hypothetically you'd have to prove in court that you had an established history of refusing people with that particularly shirt colour.

That might be difficult, especially if you were lying.
He was 23 years old at the time.

(But he was already doing important work on QM, like the introduction of the density matrix earlier that year. https://en.wikipedia.org/wiki/Mathematical_Foundations_of_Qu... would be published five years later.)
Is it not immoral to break the law even if the law is immoral? What if said policy makers believe what you consider "not immoral" to be just that, immoral? Wouldn't they be on the side of correct morality?

This is why the logic of "who is more moral" fails because someone believes they're safeguarding "true" morality. Hence why we are a nation of laws and institutions that upholds or challenges them. Which is why I disagree with you, it is unreasonable (even though it's not why GoDaddy dropped them). If the law is immoral/unjust, take it to court. Otherwise shut up and deal with it. That's what civil rights leaders did back in the 60's. They didn't just whine on twitter.
Reader view cut the crap for me.
Godaddy isn't a problem per se.

But what about AWS? Or data centers? What if banks and farms and electric companies start doing this? That's where this is going. Companies taking political or ideological approaches is becoming normalized, and if infrastructure follows suit, we are in serious trouble. Godaddy is uncomfortably close to this.
I thought crypto was mostly gpu though?
Worth comparing: http://steve-yegge.blogspot.com/2008/02/portrait-of-n00b.htm... A "n00b" is scared of code, and wants as much help to understand it as possible. An "expert" already knows all they need to know to work on the code, and is more productive by putting as much code on the screen as they can.

Rather.. I think part of the point is, context matters. If the team is small, and the project is changing rapidly.. I think the needs and expectations for documentation are different than if the project or team is large and change is slow.
There’s been such a rapid and massive movement towards YIMBYism and pro-housing in people’s performative politics (as in, what they yell loudly about on social and digital media) that I’ve been left wondering what has influenced that trend.

It doesn’t seem to be genuine interest in solving the problem, because I’ve never once seen answers to even the most obvious concerns with one-track “build more housing in the already-densest areas with no plan to expand the already-overstressed infrastructure” advocacies that are seemingly so popular.

Walking through San Francisco is already an exercise in avoiding a never-ending canvas of human shit stains (some dog shit, but mostly human shit). Every public transit system underserves the transit needs and every terminal is overrun with discarded humans.

But yes let’s cram in a shitload more housing and just wave our hands about all the remaining infrastructure, social work, culture change and community-building that would actually make the city a better place.
the point of the 4 day week is that the 5 day week is too long to be efficient/time productive
This community has a lot of people in positions that can have a big impact on the direction of society. Going in to an echo chamber somewhere else achieves nothing.
- Running: Great way to get clarity of mind can be done during the lunch break. Bonus, you get fit.

- Hiking: Great way to disconnect from the busy city, see amazing places, get some blood flowing and have a bit of adventure. Bonus, you get fit.

- Gym: You get fit. Bonus, you meet people from around your neighborhood.
If you check the inventory of a company like TI, it seems as if their manufacturing went offline overnight. You can not find TI parts anymore on Digikey. Same for ST. This is unthinkable. Only some companies that are a bit more specialized and upmarket like Analog Devices still have some stuff left.

I wonder what would be the long lasting effect for these companies where entire products will get redesigned around what's available - many times these product designs live for 5-10 years. How many companies had to get TI parts out of their products? How's that going to affect TI revenue in few years time?
And honey is bee vomit. What possible use could this observation be? The means of a substance's production is entirely secondary to it's utility to humans in terms of how folks value it.
Why Encryption Is Important
> Are there certain chips that are plentiful that we could port a lot of software over to?

I sense a potential misunderstanding here: Not every chip runs code. Microcontrollers and processors do, but there are many different kind of chips. Some convert voltages, some massage signals, some drive motors, etc.

Why is this important? Porting code will only help you when you are swapping microcontrollers or processors. Which is just a tinny sliver of all the ICs in use. Porting code won't get you anywhere if what you are missing from your BOM is a boost-buck IC, or an opamp.
Is the shortage of common components (such as the 10k 0406 resistor you mention) due to: increased demand that can't be met due to unavailable capacity or because the manufacturers scaled production down during the past year and now there is no capacity to scale it back up? Or because supply chain shortages that feed the fabs (raw materials)?
> since the elite who own the rentable units will just raise their rates

We could also just make the elite pay for it. Just saying.
App Bownload Video YouTube
> I’m a proponent of that. Just rewriting old java or python monsters in an efficient language like Rust would easily give us an order of magnitude better efficiency.

Do not rewrite software in Rust, because Rust is not an efficient language. It's a memory, and RAM hog, and it's unstable, with major breakers every release. Switching to Rust is not a thing for a profit seeking enterprise.

In practice, it's an n-fold downgrade from good C on performance.
I assume we agree with what liberalism is, the question is what liberalism does.

Saying the latter doesn't matter, is assuming liberalism will be judged by a liberal audience. But that's cheating. Most people are illiberal, more than you, more than me. Liberalism needs to survive their judgement too.
> I have half the chance of being shot by the police and a third the risk of being incarcerated than white people.

This claim completely contradicts every statistic I've seen on the topic. Can you pass along a source for this? It's a significant adjustment to my thinking on this topic if I can cite a source.

If it's the book you link to the end of your comments, I'll have to have it to my reading list.