skysight-inc/HackerNews huggingface dataset:
Going along with narrative requires suspension of disbelief. However, when you see obvious factual errors, disbelief comes knocking again as you begin questioning everything.
Less than 1 in 1000 I believe?
Is there something from a CS program that can't be learned from studying half a dozen books (or maybe a couple more)?

Because that's what "self-taught" means, and unless you can identify the things specifically that can't be practically learned by a determined person without going through a 4 year CS program, you're basically making things up to retrofit to your bias.

I don't know why so many people seem to believe that foundational CS knowledge can only be gained through doing a CS degree. The Internet was built by "computer people", and computer related resources were among the first things to be highly available and easily found on the Internet.

Maybe what you claim are true in a "literal" sense but I doubt it's very useful. Basically what you're saying is that assuming a person's that did not have a CS degree has a CS skill level X, then if they spent 4 more years studying CS they would presumably have a skill level > X. TBH at the highest levels I'm not sure whether this even holds, since once you get to a certain point, the depth of your knowledge and skill has to be complemented with some breadth as well. Often interdisciplinary knowledge brings new insights.
What's the saying? "I'll believe corporations are people when the government executes one in Texas." ..?
Not to mention the actual combat. It's hard to take a swordfight seriously when both parties seem preoccupied with swinging at their opponents sword.
The article make it look binary when in reality everyone is guessing to a certain degree. No one has ever come up to me in the street and asked for $1000. Everyone is guessing up to a point, but when there's too much incertitude, some decide to ask while others think it's better not to
My wife is a physician and it drives her crazy. It often manifests as a scene like:

Doctor 1: This patient has severe hepatitis, we need to get them into surgery stat!

Doctor 2: You mean they have an inflammation of their liver?

Which is truly the dumbest possible way for a doctor to respond in the real world, though obviously can be necessary for exposition to the viewer.

As a programmer, "Live Free or Die Hard", "Independence Day", and "Swordfish" are memorable examples of this sort of cinematic stupidity
I tested the following and it seems to work:

CREATE OR REPLACE FUNCTION run_with_adjusted_settings(query_text text)
RETURNS SETOF record
LANGUAGE plpgsql
AS $$
DECLARE
result_record record;
BEGIN
-- set_config ( setting_name text, new_value text, is_local boolean ) → text
-- Sets the parameter setting_name to new_value, and returns that value.
-- If is_local is true, the new value will only apply during the current transaction.
PERFORM set_config('statement_timeout', '10s', true);
PERFORM set_config('work_mem', '1MB', true);
PERFORM set_config('maintenance_work_mem', '1MB', true);
PERFORM set_config('max_parallel_workers_per_gather', '1', true);

-- Execute the provided query dynamically and return the results
FOR result_record IN EXECUTE query_text
LOOP
RETURN NEXT result_record;
END LOOP;

RETURN;
END;
$$;

-- Example usage:
SELECT *
FROM run_with_adjusted_settings('SELECT 1 as id, false as some_bool;') AS (id int, some_bool boolean);
idk

I also had Good ChildhoodTM by your definition.

Still I’m pretty sure I have been traumatized by the two big moves of my childhood, loosing my childhood friendships twice.

It doesn’t look big, I am ok at socializing so I have friends but I know that when shit hits the fan, it happens that I dream of my first childhood friend and I’m pretty convinced that this is why I sometimes feel alone even when I’m well surrounded.

The point wasn’t to tell my life but to say that you can’t really judge other’s "traumas". It’s highly personal how you feel about something and when someone doesn’t have something you have (in my case childhood friends) it’s easy to feel like it’s not important (maybe you can’t understand because your own childhood friendship eroded normally and you don’t feel like it’s an issue)
The point is that expertise in plumbing isn't essential to the plot. Sometimes it might be, but sometimes it is just a background thing that a plumber would catch but most people don't. If the scene is in the basement a plumber might notice that the drain pipes are all flowing uphill, but the average person just sees a bunch of pipes that to think look like the pipes in any other basement.

Of course in a lot of cases expertise is needed. However that isn't important. The important part is you have more knowledge about something than the average person.
> I've had a couple of times when I've been closely involved in an event that was covered in the national newspapers. Both times the stories were presented with major factual inaccuracies and with clear bias.

Same. A few years ago, I worked at a large tech company that a certain well-known news organization likes to cover. After a few articles were published relating to work I was involved in, I found myself thinking "Nope, that's totally wrong" or "Technically correct but presented in a biased way". I decided to cancel my news subscription with them because I realized that they have a certain narrative they want to present to the public, and why should I trust any of their reporting on other topics if the one I was involved in firsthand was just completely wrong?
Friendly reminder that the Obama Administration invested billions in broadband companies, in an effort to encourage them to build out their fiber plants and improve access speeds.

Do you know what they did with that money? Blew it on useless upgrading projects like digitizing their old drafts.

May as well have flushed it down the toilet. I'm perfectly fine with government imminent domain-ing that shit and selling it back to people at fair prices. Business didn't build those networks, government hand-outs taken from citizens' tax revenue built the network in this country.

There will be a point where people strike back against ISPs by attacking the infrastructure itself. If they won't upgrade it, damage it and make them upgrade it.
Exactly. IC people are humans too, just like the rest of us. It's convenient to assume they are sinister evil bastards (some of them are to be clear, but clearly not all of them), but it's an unhelpful and counterproductive stereotype.

I've known a few people involved in intelligence, and they absolutely believe they were serving and loving their country. It reminds me a bit of being an infrastructure person where when you mess up, everybody knows, but when you're doing your job well, nobody knows you exist. They see a constant and non-stop stream of threats that outsiders don't see, and when a threat is stopped nobody knows about it. I would bet it's not too hard to justify the intrusive capabilities and any "mistakes" made with them when you have that visibility into the successes. Humans are wonderful at justifying what they want to believe is true, and intel is no exception.

The individual intel person is not the problem here. It's a systemic problem enabled by legislation that needs to be addressed at the legislative level.
Maybe not every keyboard has to be designed for hunt-and-peckers. It's not even particularly original, Das Keyboard has sold blank keyboards for a decade, and many mobile keyboards have supported hiding the key labels for ages too (I've used it in Fleksy and MessagEase, but I'm sure many others have it too).

Maybe it's not for you. That's okay. If it's been a niche for this long then I doubt it's gonna be the default anytime soon.
Edge gets both.
>But given that relatively few super-hot loops of this kind are in typical programs, it is worth it.

In C programs these kind of super-hot loops are quite common, because if someone didn't have many such loops they probably wouldn't need to write in C/C++. And if C had the same overhead as Java in these cases, then people who needed to squeeze out every drop of performance would use a different language.
You have far too much faith in stupid people.
Remember, it took a year for the vaccines to be available. In the meantime everyone was contracting the virus and virtually everyone recovered.

So if these vaccines magically reversed heart damage caused from contracting the virus, it's news to me and you should be able to cite a peer reviewed study not funded by the manufacturers or their investors.
Exactly. The irony in all of this is that C is not a portable assembler. It'd be better if it were[1]!

If you want the exact semantics of a hardware instruction, you cannot get it, because the compiler reasons with C's abstract machine that assumes your program doesn't have undefined behavior, like signed wraparound, when in some situations you in fact do want signed wraparound, since that's what literally every modern CPU does.

[1] If the standard said that "the integer addition operator maps to the XYZ instruction on this target", that'd be something! But then compilers would have to reason about machine-level semantics to make optimizations. In reality, C's spec is designed by compiler writers for compiler writers, not for programs, and not for hardware.
I think the conventional way exceptions are implemented is pretty bad.

First, a lot of languages make you use an awkward, unnecessary scope to catch an exception. e.g., you want to declare and initialize a variable to the value of a function that can throw (and assign some other value if it does. Well, you've got to split the declaration and initialization, putting the declaration outside the scopes try and catch create. That one's an unforced error -- languages don't have to do that to use exceptions, but for some reason many do. It's pretty weird to have to add homespun utilities for fundamental control flow scenarios.

But the bigger issue is that you really want to handle the error conditions at the lowest level where you have enough context to do so correctly. That's usually pretty low, but exceptions default to "send it all the way to the top". The default is either invisible or invisible in practice, depending on the language, and wrong, so programs end up riddled with these issues. You tend to end up with these higher-level functions that can throw all kinds of exceptions, many of which are meaningless to the caller. E.g. someone adds a file cache one day and all of a sudden some higher-level HandleRequest function can through a IO exception... because the cache code didn't handle it... because they never even realized it was a possibility. You couldn't design a better mechanism for creating leaky abstractions.

I think anything a function might return needs to be an explicit part of its signature, and a caller needs to handle it explicitly, even if just to indicate, pass it up the line. The langue doesn't need to require a lot of boilerplate to do this.

That's just my experience from having lived through it.
Wheeler was also a former small ISP CEO, so everyone assumed he'd be in big telco's pockets. That he turned into the main driver of full net neutrality was shocking.
Low-fat also means no satisfaction. You can eat a ton of rice cakes to no avail. Try a salad with no oil or cheese. Ugh.
From rumors I heard, for a while there before 2005, NASA was one of the biggest buyers of salvage sun4 hardware. they had multiple missions running on it and there were some particular high rate data input cards on mbus that were hard to duplicate on other platforms.

"we have a closet full of sparc 10s, we figure that'll be enough to last as long as the satellite"
> There are undeniably power users for whom every last bit of performance translates to very large sums of money, and I don’t claim to know how to satisfy them otherwise.

That is the key, right there.

In the 1970s, C may have been considered a general-purpose programming langauge. Today, given the landscape of languages currently available, C and C++ have a much more niche role. They are appropriate for the "power users" described above, who need every last bit of performance, at the cost of more development effort.

When I'm working in C, I'm frequently watching the assembly language output closely, making sure that I'm getting the optimizations I expect. I frequently find missed optimization bugs in compilers. In these scenarios, undefined behavior is a tool that can actually help achieve my goal. The question I'm always asking myself is: what do I have to write in C to get the assembly language output I expect? Here is an example of such a journey: https://blog.reverberate.org/2021/04/21/musttail-efficient-i...

I created the https://github.com/protocolbuffers/upb project a long time ago. It's written in C, and over the years it has gotten to a state where the speed and code size are pretty compelling. Both speed and code size are very important to the use cases where it is being used. It's a relatively small code base also. I think focused, performance-oriented kernels are the area where C makes the most sense.
How do you know that they love this country? Pure conjecture. Evidence, however, indicates the contrary; they break the laws to suppress people for power. That's pretty much the definition of evil.
Isn't the epoch times a far right paper funded by the Falun Gong religious group?
It's too bad then that the rest of the show was so awful.

How can writers focused on scientific accuracy create such ugly and unlikeable caricatures for their cast and embed so much anti-intellectualism in every episode?
Modern industrial farming "wastes" tons of energy to get their desired outputs.

It's possible that the machines were advanced at some things but something that human bodies produced was something they couldn't directly synthesize.
This is possible, but unless processor accelerated comes at a great cost. You'd need a branch after every math, unless the compiler could prove the math wouldn't overflow.

The ARM mode described elsewhere in the thread where there's an overflow flag that persists across operations would help; then you could do a check less frequently.

A mode were you get a processor exception would be great, if adding that doesn't add significant cost to operations that don't overflow. Assuming the response to such an exception is expected to be a core dump, the cost of generating such an exception can be high; of course if someone builds their bignumber library around the exception, that won't be great.
I always interpreted "battery" to be lazy shorthand for using the humans as data storage or computation. Like an external hard drive or compute cluster. But I knew I was amending the story so I could stay invested in it.
macOS Configuration Using Nix-Darwin And home-manager
This one is super easy. We're getting this story from a band of lunatics. Of course their understanding of the situation is limited by the framework they exist in.
Hah, that takes me back!! MY first internship was at SAP and I foolishly didn't even ask which technologies I would work with... ABAP is literally the worst lol. This was 2018 btw
> "yall doin okay?"

Speaking as a Southerner, this sentence is so on point.
Regardless of where you sit on the line between ambition and optimizing for founder outcomes, I think we can all agree first time founders aren't thinking about the math here enough and are far more susceptible to listening to what VCs say they should do and care about. Having been in this position, all I can say is I'm glad we didn't raise more money because we had far more exit options. I really appreciate what Bryce and indie have done to change the narrative here.
I think they're worried about losing non-profit status.
The most important point IMHO

> The headset in use weighs a hair over a pound on the head. It's balanced well with just the back-strap especially after you crank on the knob to get the tightness right. Over the course of the hour and a half or so I got to use the headset after setup, some light neck fatigue set in. Other headsets like the Valve Index are worse, though.
That's an interesting opinion.

But it has very little to do with the C programming language.
It is also true that for some (many?) people it is very hard to say 'No'. I don't know any psychological/technical name for this but it is simply true and it is in their nature.

When asked directly, they will give in even if they don't like doing what is being asked.

'Asking' in these cases is actually exploitation (if done with prior knowledge).
The reason there is not a lot of dialogue around this is because the numbers don't work for all parties at the right time.

When you have a small founder team, you need capital for essentially nothing to show. You can't raise that capital selling the $170M exit dream to angels or a fund.

Conversely, VCs are assuming a 10% or less success rate across their portfolio. And of that, maybe 2-3% of portcos really returning everything.

So they don't have the luxury of shepherding 100 portcos to $170M exits, since in reality, a $1b exit has a similar chance of happening as a $170M exit. Which is to say very very low.

There's no magic sauce, no prime formula, no wizened or sageinvestor. It's a shit show from start to finish. You're best off finding investors who are on the same wavelength as you, and focusing less on whether you hit a home run or a grand slam.

When you get to a place where you're printing cash or whatever, then sure, make sure the math works out for you. But for 99% of all founders, this question never comes, and they spend too much time thinking about it.
The optimization opportunities do indeed come from the first option, "ignoring the situation completely with unpredictable results". That is: the compiler assumes that the undefined behavior will not happen, and optimizes based on it. They do not "actively seek out the situation", it's in fact the opposite, they assume that the situation simply won't happen. And "deleting whole sections of code" is just the normal "unreachable code" optimization: code which cannot be reached on any feasible execution path will be deleted.
As someone who moved from jetbrains to sublime-text and then helix, I can safely say I'll never use a graphical IDE again. They're so damn resource heavy, a good text editor and a terminal window do great.
Anecdotally, amongst my peer group AirBnBing is waaaay down. Pricing is out of control (even more than hotels), and there's usually a long chore list AND expensive cleaning fee on top.
>So to the question, how do they manage to eat?

No, but how do they do that without a $50,000 SUV? /s
Does he? “Here’s a phrase I use, and what it means” seems fine to me. There might be a bit of personal history why he chose a plumber, but I’m guessing he doesn’t remember.
If you are not logged in to YouTube you get generic crappy recommendations, why not this for someone without history turned on?

I use the YouTube recommender extensively and understand the issues about getting increasing crap in recs. I really have no interest in fake science crap or conspiracy theory crap! So I aggressively "do not like" videos or channels that turn up with this junk. I'm not sure I could use YouTube without the recommender and would not use it if I got constant crap. The "do not like" tells the recommender not to send that particular type of crap and though more crap will inevitably drift in, the result is a pretty useful feature.
It can't just be the sun. Growing tomatoes in a yard in Marin even has different time tables and IMO yield than it does in the valley just east of it.
Wow, the gall of those people. It should be punishable for a business to lie to you like this. You made a financial decision based on information that the business should have on file.
Real estate in Canada? Just the way it's outlined makes it sound like some foreign led fraud as opposed to a mostly home grown corrupt practices.

A similar thing happens in American suburbs where they expand cities with business malls and suburban development to enlarge the tax base but ignore O&M on infrastructure then sell more development to compensate.

But in china, they were selling development with ever building them because it became an investment vehicle.
In college we hit that age where classmates started losing grandparents. I was one of the oldest grandchildren so I had a few years yet.

Some of these people absolutely fell apart. It was the first time they’d ever lost anyone and they couldn’t process it. When gently pressed, we would find out they had no pets growing up. They had not lost so much as a goldfish.

A painless life can set you up for failure when real adversity comes. You lack the resilience, and in some cases the empathy, to navigate these situations. That’s not trauma, but it is loss.

Those experiences gave me a whole new perspective on peers whose parents got them goldfish or hamsters at a young age. Some of these parents were setting up object lessons. Basically the chicken pox party of loss.

At that point I had lost a dog, and as a sensitive kid it wrecked me. And the worst part of it was every time I caught my breath some new asshole would offer his condolences. Thanks, I wasn’t thinking about my dog for ten minutes and now I’m thinking about her again. Can we just stop talking about it please?

I learned to offer sympathy without an agenda. Engaging them is trying to make them process on your timeline. It’s thoughtless, even a little cruel. Definitely selfish. A good friend will step in and push if weeks later you have not mourned. But the next day? Give them space, Jesus.

I really appreciated, in that moment, the northern midwestern trope of bringing the bereaved food and just sitting with them. Let them talk, or not. I almost pulled a muscle watching Lars and the Real Girl. The little old ladies sitting in his living room, knitting, surrounded by casseroles and hot dishes. Just talking to each other and watching him out of the corner of their eyes. Talking about anything else. Yep that’s about it. Here if you need us, not holding our breath for you to say so.
> avoiding Join statements is a common best practice for Clickhouse users seeking performant queries on large datasets

its common best practice on any database, because if both joined tables don't fit memory, then merge join is O(nlogn) operation which indeed many times slower than querying denormalized schema, which will have linear execution time.
It's always been a bit disturbing that there is no accounting for your tissue or organs after they're removed.

The cops don't need to swipe your DNA from a complimentary drink during questioning. They'll just pull your foreskin out of cold storage.
All I see is a blank white page with a popup inviting me to subscribe with no cancel button.
Bur does it support client-side interactions?

Sorry, stupid pun, it's Friday night here.

I usually avoid career-related content, and the headline got me with its intentional-or-not ambiguity.

If you think I'm rambling nonsense, I was talking about next.js, and this still lines up pretty well with the first paragraph.

I have to admit that I didn't read the full FA, so I'm spending more time commenting than reading.

But the advice in the first money quote is good, I think.

I switched jobs fairly recently. I don't do this frequently.
that's just because they're mining for what computers need to function: RLHF data.
One of the reasons I like fantasy is the plot is set in a universe with different physics and so much of my knowledge of this world can be set aside. Even then though I often wonder how do they feed those large cities with only wilderness between them (most are set on navigable water, even though it is just luck at least the city location doesn't violate possibility, but the lack of explanation of how they get food) - underground dwarf cities are the worse about this.
Well, I guess what I am trying to say is that more people are asked to do work, but less work, and paid less for it too, adjusted for inflation.

Gig economy and short stints at jobs are an example of how little employers really value their labor force, as opposed to the “company man” who worked for decades and got a pension.