skysight-inc/HackerNews huggingface dataset:
> Just replied to another comment recommending C. Can you help me understand which core principles C would help to refine i.e. what am I leaving on the table if I go with a Rust or C++?

In the other thread you mention features. I suggest C because of its "simplicity", that is, its lack of features. It really is a thin abstraction on top of assembly. C's closeness to the hardware is edifying.

Moreover, since the goal is learning, History is quite relevant. Languages evolve in the context of their predecessors. You probably already know this for typescript since it is so close to JavaScript. But how do C++ and rust relate to C? And how does Go relate to C++ and C?

Languages always involve tradeoffs. For example, a language that checks memory bounds at runtime (Go) uses more CPU cycles than one that doesn't (C). A compiler that does checks is more complex than one that doesn't. Language features can help with safety (rust), but then the language takes more time to learn. Complexity can be hidden (Go garbage collection) to make up front learning easier, but this can make the language less flexible or more difficult to debug. Complexity can be exposed later but then the language learning curve is lengthened.

I'm not suggesting you go become a C pro, but learn enough to shoot yourself in the foot. It will help contextualize the features of these other languages and give your more mental tools for decision making in your own code.
They broke gnome extensions in release 42. Not very happy about it!
Personally when I think of apps I think of one-time purchases. Good on him for finding 2k+ people willing to pay $5/mo for a pomodoro timer but this seems much closer to SaaS than app to me.
They have sliced pickles, that's about the closest thing.
Alternate word list (albeit EN only) is this one: https://github.com/glutanimate/wordlist-medicalterms-en
Is it still using X? What WM is that?
But it’s also cheaper to transport and produce larger package sizes. So it’s not purely price discrimination (I don’t know how much is).

I think the canonical example is actually coupons.
I never met your co-workers so I have no axe to grind, nor am I accusing them of anything. But yeah neither of us has anything to gain here so let’s stop?
> 98% not counting periodic overhaul.

the reason for the null hypothesis is that if you had run one, you'd realize that solar has a 20 year periodic replacement, as compared to nuclear's 80 year periodic maintenance, so this argument (like all arguments) is against solar

.

> When that is a nuke, cost balloons out of sight.

Not when compared to literally any other power source

But if you hold it up in isolation, yeah, sure, it's expensive. Once every 50 years because of bad laws, you have to go in there and pay about a quarter what the plant was worth.

And it'd still be cheaper if you had to do it every ten years, plus more reliable, and it wouldn't waste all the copper and rare earths, and it wouldn't leave you with China as the new Middle East.

.

> But the cost of periodic steam turbine overhauls will be hard to bring down to match dusting off PV panels.

You don't dust PV panels off. That's daily cleaning.

Maintenance for PV panels is replacing them every 12-23 years depending on what brand you bought.

An honest discussion would really help.

.

> That is why the mirror-array solar projects all failed.

No it's not. Also, the mirror-array solar projects do better than the PV ones, if you take the time to look it up.

The reason the mirror-array solar projects failed is, like the PV projects, they bought into the myth of storage.

.

> but it will be hard to match PV-powered fuel synthesis for cost and convenience.

This is the only good reason to use PV, and it's because the end product that's desired is a chemical battery

Batteries are the only thing PV can fill, and gasoline is the only kind of battery anyone actually wants to buy

In the meantime, the idea of using PV for this is absolutely absurd. It's 1/5 the price to do it on nuclear, and you know, it turns out that people are sensitive to the price of gasoline.

If you do an actual comparison with actual numbers where all the solutions are checked for every claim, instead of just the one you want to make look a certain way, suddenly you realize why nobody's building this despite that all the parts are cheap and unregulated, and despite that the market demand is vast and well established.

If this was true, instead of posting about it, you should be building a proof of concept, then applying for a bank loan, so that you can get rich saving the planet.

Cheap off the shelf parts don't do world-saving things, in general, or else someone would have already done it. If you believe that you can do something the world's scientists and engineers are desperately struggling to do using stuff you can buy at WalMart, there's a very solid probability that you're missing some key pieces in the evaluation, and should look up one of the publicly available studies.
Contact the store directly.
Keeping Your Smart Home Secure and Private (EFF)
When looking for advice, IMO the first question you need to ask is "what has this person actually built?"

Personally, I find that the people whose advice I love to read are guys like John Carmack or Jonathon Blow or Casey Muratori or Tim Sweeney. Those are guys that have or are continuing to solve difficult problems and have tons of hard won practical advice. When I look at someone like Uncle Bob or Ron Jeffries, I see people that struggle to write sudoku solvers and are mostly famous for giving advice, not for building great software.
Yes same. We had one which we had to recreate a whole EKS cluster because AWS couldn’t fix it too.

I don’t sleep these days.
Couldn't I "curry" a function

f(x,y)

to "partially apply" it on x=3 with just:

function(y) { return f(3,y); }

?

And then I've "partially applied" f. Is this what currying is?

The syntax I posted is ambivalent about which arguments you're partially applying, isn't that superior to only being able to provide the first argument?
For a small enough company you could even just use use k3s + offsite backups. Once you grow large enough you can setup machines in 2-4 locations across the land mass where your users exist. If you have enough than a hardware fault in one isn't an emergency and you'd be able to fly out to fix things if needed.

Realistically, on all flash, you are very unlikely to need to maintain anything on a server for a few years after deployment.
I think for the money I’d be in small claims court against the skill of Tesla’s legal team, I’ll get washed so I don’t think it’s worth my time.
Honestly, I didn’t even want full FSD. Tesla dropped the price of my car by 10k after I’d purchased but before I took delivery, they gave me this as a way to smooth it over so I didn’t just cancel my delivery, eat the 2k fee and re-order saving myself 8k. I didn’t trust Musk to deliver on his promises, but that was 2018-19. In my wildest dreams I didn’t imagine it would be 2022 and they just fired the team doing it, and I still don’t even have access to a beta test.
Golden Gate bride has a crew whose only job is to paint it. Again and again and again.

That’s all they do. Repaint it.

Kind of give you an idea of how important maintenance is.

I’m still not certain why all those Roman bridges are still around though.
Thanks. I'll have to do some googling on that.
They don't have the RAM on package though.
I can understand why you'd think that, but it's too cynical a take even for me ;)

For an infosec company to behave like, there is a huge risk of completely and utterly decimating their reputation, possibly forever.

My guess is that either (1), or both - (2) and (3):

1. There was skulduggery involved during the bidding process

2. Those at the NPCC responsible for awarding the contract did not have the required competence to do so

3. Those at the NPCC tasked with overseeing operations do not have the competence, or even the mindset, to do so

Regardless, to call it an "absolute clusterfuck" would be generous. I'm genuinely disgusted that the NPCC and Pervade have put so many organisations in jeopardy, and furthermore that they continue to do so, even when in possession of the facts. Astonishing.
I feel really, REALLY sorry for you, mate.
It's a 25 year (minimum) project. Make decisions and guide yourself patiently by the project's end goal of creating an intelligent, appreciative, caring, contributive and tolerant human being into this world. But like any long-term project, enjoy the journey, smell every rose and every stiff guinea pig or floating celestial goldfish along the way. Don't panic and crash - nor get overly enthusiastic about - any particular moment or new behavior or trend. You discover that the parenting story is an accumulation of a thousand phases of development. These phases, especially early on, can last as little as a couple of weeks. At onset, they create much anxiety in the new parent. But have confidence that they will always change into something new either more or less pleasing/frustrating. Certainly agree with the excellent sentiments shared above, reading, creating traditions, traveling. But consistency of discipline, values and emotions will always win in the long-term project goal. Just please don't be another parent who thinks their kids are the best, can do no wrong, and coddles the living shit out of future megalomaniacs. Other than that, should be a cake walk.
I distrust writeups like this that don't mention other, similar work. Alpine Linux diskless mode comes to mind[0].

0 - https://wiki.alpinelinux.org/wiki/Installation#Diskless_Mode
Do their voting records reveal them to be anything other than mainstream Republicans? I'll admit that Romney's votes to impeach the man whose endorsement he sought in 2012 were unusually bold,but I can't think of any effect he's had on his party. Quite the opposite actually - at one point Romney claimed he was pro choice, but he's clearly fallen in line. His evolution towards mainstream Republicanism also put him in the comical position of running against the "Romneycare" universal healthcare plan once Democrats adapted it into the Affordable Care Act or "Obamacare".

There's a reason that Romney, McConnell, and Trump share the same party, dysfunctional thought their relationship might be.
This seems self-contradictory. It's not really debated at all except on the extreme fringe. Hard to call that "hotly".
Always buy seats for your kids! Don't try to hold the baby on your lap; it won't end well for either of you :)

Seat belt extenders for larger fliers are invaluable for getting the car seat buckled in too!
Who would you prefer to pay rent to?

The reality is unless you’re some rich dude who can borrow dad’s datacenter (And that’s cool if so), you’re either going to be renting colo space, virtual servers, etc.

It’s always a challenge in business to avoid the trap of spending dollars to save pennies.

IMO, you’re better off working in AWS/GCP/Azure and engineering around the strengths of those platforms. That’s all about team and engineering discipline. I’m not in the startup world, but I’ve seen people lift and shift on-prem architecture and business process to cloud and set money on fire. Likewise, I’ve seen systems that reduced 5 year TCO by 80% by building to the platform strengths.
It was a regular doctor's visit with my primary care.

My point is that a lot of doctors don't try to root cause problems, they just look at the most obvious symptoms and send patients on their way.

Not bothering to figure out why my BP was dangerously high was, odd, to say the least.

A bag of baby spinach can provide the entire RDA for potassium. Go a couple weeks with 0 potassium in your diet (it requires effort, oops on my part) and see what happens. (I'd been working on an eggplant curry recipe literally every night for a couple weeks trying to get it perfect) thankfully such dietary stupidity is easily fixed.

As another example I just witnessed a case of roseola being misdiagnosed as an ear infection.

My primary care doc misdiagnosed a leg length difference as arthritis in one of my knee joints. (Pain was due to muscle imbalance causing the knee to be pulled out of position, I visited a podiatrist and he was a bit upset at my primary care doctor...)

You may be a good doctor who does proper investigations, but my point is a lot of people have encountered doctors with very bad diagnostic abilities, or doctors who just ignore them outright.
Maybe if I explain what a Monad is in Plain English it'll help you understand functors?

A monad is just a monoid in the category of endofunctors.
I don't have a better suggestion, but emissions per Capita isn't necessarily fair. For instance adding another horrifically oppressed person can't mean that the elite of that country "deserve" to be able to emit more CO2. It's somewhat less clear how that should extend to economic inequality, of how it should apply in individual real world cases, but it does seem a flaw of the model.
Please tell me more? I've a bit been wondering if a non profit could be better than a Limited Liability Company for some future projects

And I work 60h/week already, cannot join two coops to learn more :-(

I suppose one problem could be that they'd try to make decisions via consensus or votes -- but there might be one person who is brighter and/or knows more than the others, and leaving most decisions to that one can be an improvement?

Imagine the Linux kernel starting to make decisions via consensus or votes, rather than a BDFL?

(I'm sbd else)
> do people still advise that kind of design?

It is a constant discussion. You can always find examples of long functions with lots of state which is hard to follow and then there are always examples of code where people went too short. And then there are always people taking any of those examples and showing why they were wrong.

I myself like going to the extremes for fun/toy/throwaway projects (not only on these but also with rules like "no `if`" or "no raw `for` loop" etc) to try out all the different alternatives and then resetting my default based on cases where it went well and where it went bad.

No such rule is always right, but most hmstem from being exposed to too much of one extreme.
Can you imagine getting your news from a version of Richard Stallman.
Another thought on careers, I think parenthood is also a good gateway into management level roles. You get practice being the boss at home and that skill translates. A lot of work problems are very similar to dealing with angry toddlers.
Then they should not be using autopilot. When I have autopilot engaged I am way more alert. Also you aren’t “doing nothing” when you have autopilot engaged. The car annoys you if it doesn’t sense any force on the wheel within 10 seconds and even if you are looking at your phone (or anywhere other than the road) the car annoys you too (yes there’s a camera in the cabin looking at you when you’re on autopilot).
Increasing GDP doesn't mean increasing standard of living especially if your goal when you're making decisions is to increase the GDP.
If it's for learning choose Rust. Go has not much to teach you since it's such a basic language. Actually I would also choose Rust for getting things done. It just takes longer to master.
Obligatory "Hitler reacts to Functional Programming"

https://www.youtube.com/watch?v=ADqLBc1vFwI
They use a tiny sample size for a vaccine that’s been given to hundreds of millions of people, and are very cagey about exactly what serious side effects they’re measuring
But doesn’t your statement prove that there are decisions and things the user of a node can make which effect the end result? Therefore, is not just process node that matters.
With modern "burstable" CPUs, aren't they always peaking for short periods of time? Aren't there different heat thresholds, some that are more dangerous than others?

Like maybe you could change the throttling curve from (percent "max") 120-120-100-100-80-80-80-100-100... to a more consistent 90-90-90-90-90... but as long as the CPU knows internally when to throttle down to avoid damage, does it really matter either way? Fast-fast-slow-slow vs medium-med-med-med?
Funny how such a dire diagnosis lacks any photographic evidence of the damage.

Like just for basic journalism: "We think" is different than, "We know". If it's so bad, wouldn't one be able to casually see some sort of rust/damage from a visit? That would then comfort the leaked documents.
Obviously not on the same level as genital mutilation, but yeah, this weirds me out too, and unlike circumcision this seems quite a global phenomenon (although seemingly limited to lower socio-economic demographics). There's a baby girl at our local kindergarten who has her ears pierced. It makes her look like a fashion accessory instead of a child.
There is an excellent book on this theme, which I have been recommending liberally for several years: "A Paradise Built in Hell: The Extraordinary Communities That Arise in Disaster".

https://www.amazon.com/Paradise-Built-Hell-Extraordinary-Com...
> It’s sobering to think that we as parents are responsible not only for a slice of someone’s life but for its entire trajectory.

I don't agree (but I'm not sober!). Your kids will make their own lives, and their own mistakes. Once they're past 12, there's not a lot you can do to shape that trajectory.

My kids were stroppy and rebellious. One became a sort of underground environmentalist, the other became a rather conservative schoolmarm (which to me was a rebellion). They chose to be rebellious; I wasn't responsible for that (except possibly through genetics). At the time, I'd have preferred for them to be compliant, because it would have been more convenient. Now, of course, I'm glad that both my kids turned out to be assertive, confident adults that think for themselves.

Oh yes - kids turn into adults in about 15 years. By the time they're 20, they've either gone or they want to go. Raising kids will only ever be a small part of your life. Even if you find it hard, it's not a life-sentence.
At the time I carefully tracked everything I ate and realized I hadn't consumed any potassium for a couple weeks, but had a high salt intake.

Lots of sodium, no potassium, things get out of wack quickly.
I can't share a screenshot of the statistics due to copyright restrictions, but I can confirm that what user JumpCrisscross said (about the statistics) is true.
I've always found the Underhanded C Contest[0] to be a particularly interesting source of insight. Sadly it's been on hiatus for several years now.

0. http://www.underhanded-c.org/
I bet quickcheck-style testing or a fuzzing framework would find those bugs.

I tried using "fast-check" for some parsing code in JavaScript that needs to handle floats and it was pretty good at reminding me of the corner cases. Or at least some of them.
Thanks for whoever keeps on working on this. My serotonine levels are increasing just by reading.
If this happened I'd be willing to bet the Eiffel tower would be more associated with Hitler than France after a few generations.
you are a doctor... bro
I joined a new team about two years back.

They were very reliant on runbooks for operational things.

Problem was, at least half of them were out of date.

Need to access logs on a machine when they aren't being sent someplace like {Datadog, Cloudwatch, etc.}? Here are the SSH instructions. But wait, this key is no longer in the secure vault. etc. etc. with no updated information on how to get the new IAM or whatever permissions needed for SSH access.

I think calling it a culture problem is a cop-out, unfortunately.

Documentation woes, in and of themselves, exist everywhere in this industry. I don't know what the solution is, but I just don't think it's a culture thing.

If anything, it should be a mental health thing. You're on-call and get paged at 3AM about some metric drastically falling and you can't get the logs on your usual log system and need to log into a machine or cluster directly. And since your team is heavily runbook-reactive (new term I just coined to describe a team reliant on runbooks to solve "known" problems rather than learned knowledge), you're totally stuck and under a lot of pressure precisely because the runbook is no longer applicable. This is never fun for anyone.

One possible approach is setting up a type of Red vs Blue team monthly or quarterly event. Half the team spends the week randomly "breaking" things (ideally in a stage or other, more isolated environment) and the other half gets the pages, learns what runbooks are out of date or otherwise no longer correct, fix the issue both operationally and in the runbooks. Additionally, in the process one team learns about what kinds of issues can break the system(s) and the other team learns about what kinds of fixes can return the system(s) to working order.

Then switch off roles every other time.
Thanks this is what I was looking for! Pointers are one of those things I’ve heard about for years but don’t know too much about. I know that in js objects are passed by copies of a reference to that object in memory. I have never felt that there was something missing here — only that it requires an understanding of which types in js are passed by value vs reference. What is the upside to pointers in C? For instance in js I can pass an object to a function that modifies the object’s properties. The only thing I can’t do (I think) is pass an object to a function, and then reassign that object’s reference to a new object literal such that the original object reference now references the new object literal. Is this gap in a language like js where pointers come in, or am I missing the forest for the trees? If this is where pointers become useful/beneficial to be knowledgeable on, can they really be that useful? Full disclaimer that I don’t know anything about pointers aside from implementing data structures in js e.g. a linked list node has a `this.next` property, but in other languages this seems to be called/implemented as a pointer from what I’ve seen.

To sum my thoughts on this up: can you help me understand why pointers would be useful for me to invest in learning on the level of C versus continuing to let them be abstracted away/not present in my language? What would that knowledge do for me? Will I be a better problem solver etc. thanks again!
The world needs many great teachers, and many great builders.

I love taking advice from both groups, treating neither as a silver bullet.
Is tiny-core linux open source? I would like to see their package selection configuration.
Small distributions are a ideal case study for grokking the internals.
If you limit yourself to sane, 1.0 web simple pages such as Hacker News, sure. If you need to visit anything using unoptimized 100+ MB of Javascript? Good Luck.
Eh I must not have made my point well. Most similar partnerships (e.g., Goldman, Bain) have more structural oversight
Yes. Although RSS feels like a waste of time in 2022.
Afaik Go's scheduler is not unique. What does it do better then Haskell or Elixir?
Correct link: https://docs.google.com/document/d/1Y37iLc-KDm-ZC9UOLEvBs9RB...

Looks like you copied the text from last month's post, but HN will abbreviate links, so you'll copy the abbreviated version with a ^C/^V.
Hey. Sorry to hear about your issues. I would love to help, but I don't know how to.

I am based in Europe, but used to live in the US. Is there a specific type of job, even if part-time, that you think you could do well?
My point was that expectations have changed over time...

You can get as pedantic as you want over the exact sizes, but someone buying a computer today expects more storage than someone who was buying a computer in the early 90s.
Integer floats can be checked for equality perfectly.

Uncle Bob is a fraud by the way. Turning a perfectly readable medium length function into a class with dozens of tiny methods is a cardinal sin in my eyes. Then later someone stumbles upon this class and reuses some of these methods in one way or another, while working on a problem completely unrelated to the original, thus entangling the two implementations…