skysight-inc/HackerNews huggingface dataset:
> They’re typically, fairly young, fresh out of school

Okay, thanks for clarifying and snakes and ladders is a great game for kids but how long do kids remain kids? They don't and they shouldn't. They don't need constraining for long.

> 're highly opinionated about how you structure code, how you format your code (capitalization on all functions as a means to express public/private, tabs, etc), and how they want it to look.

And as a professional programmer I couldn't give a toss about this, I just want people to be consistent and sensible, and that means useful comments, documentation, a test suite, specs, not going insane on any particular style like OO/FP. You have to trust the programmer in the end cos all the guidelines in the world won't cure stupidity.
You don't give up any portability.

If the standard says that say, dereferencing a NULL pointer is UB it means you're not supposed to do that ever, on any OS or compiler. A compiler can choose to do something sensible like producing a fatal error message without any downside, since per standard that's not ever supposed to happen anyway.
Show me one taxi service anywhere in the world that did that before Uber forced them to to compete.
This is a great post, but I think it fails to see one important point...

> a founder selling at the Series D price of $210M, would make the same amount of money at exit as they would have if they’d sold for $38M after having only raised a seed round (...) Lifetimes of work and risk lie between a Seed round and a Series D round. And, despite increasing the value of the underlying business 7x, the dollars at exit for the founder remain roughly the same.

Even though the exit dollars might be the same, it's failing to see two important points:

a) founders taking money off the table in early rounds. Founders can sell part of their equity at their company just as a personal "cash out" strategy. 1password founders took their Series A mainly for this.
b) the network capital gained at a Series D company is NOWHERE near at a Series A company. It's impossible to put a dollar amount to that, but it'd say your career will be completely different from a successful Series A or Series D company.
Not to mention that most prescription medication specifies that it must be held at room temperature (72-ish degrees) or risk spoilage.

Your refrigerator will also work harder as the ambient temperature climbs.
IIRC, Mac OS Classic was written in Pascal, as were other operating systems. C just won the popularity contest.
That is a strong argument for using external tools to define the environment, and not installing any of the sort that’d read a .env file on any kind of deployed environment at all (just local dev machines)

So another mark in the “why have this feature in the first place?” column. The whole concept is for dev ergonomics, but this one’s making that worse for security reasons? Ugh. Just leave it out entirely, then.
Oh yeah, all that abhorrent red tape like "If you are a bank you have to prove you aren't doing funny things with people's money" and "if you provide financial services you need to make an honest effort to not fund like, actual terrorists, or north korea" and "We thought we learned our lesson about unregulated stocks back when it caused the great depression"
There is certainly a genetic component to bone health, but on average most people aren't able to build up enough bone mineral density and skeletal muscle without lifting heavy weights. You're dreaming if you believe you can get in shape by walking and doing some casual projects (heavy manual labor is another story). Beyond a certain age it becomes essentially impossible to build those up, and then you start gradually declining year by year. Do you want to spend the last years of your life crippled because you fell down the stairs and broke a hip?

In order to figure out how much muscle is needed, decide what you want to be able to do when you're old and then work backwards from there.

https://peterattiamd.com/how-to-train-for-the-centenarian-de...
I'd suggest that this has at least as much to do with theft deterrent than just being 'anti-repair'; as a deterrent, it seems effective.
Just make a request to the service which runs under root to change password. Include necessary credentials (e.g. current password or its hash) and new password (or its hash). How this request will be authenticated is another matter, but there are plenty of ways to authenticate a request. Or may be there should be better ways if current ways are flawed.

My point that it does not have to be coded in the kernel as a dedicated mechanism to circumvent protection. Use any IPC channel to send a message to another process which already runs under root and accept those messages.
Snide , unimaginative comment and not how I feel at all. One delivery truck can take hundreds of cars off the road.

Doesn’t that sound good ?
If we target class instead of race we will likely end up helping the same people without violating any laws.
did you mean Dark Pattern?
What does an honest solution positions could come up with that would be accepted by a large majority of the voting public look like? In your opinion what should they be doing?

Edit: because another way to view the lens you dismiss is “how miserable do people need to get before they accept that something real is happening here?”
i would go a step further, and insist that test results of evidentiary DNA be provided for defense discovery, before probative DNA [sample from accused] is even touched by an examiner from forensic services lab.

as is the only thing stopping probative DNA from ending up in the evidence lane is a promise not to abuse the opportunity, that also says nothing about "by mistake" occurances
Yeah, I think we have 2 things here. Take an example model a "Ticket".

1. Dealing with custom fields. We provide a way you can map the custom fields specific to the company into the common Model.

2. Dealing with the naming difference Github has issues and Asana has Tasks. We map both the data into a common Ticket model.

This ensures that you integrate with our Ticketing Model and you are integrated to all the Ticketing platforms we support
I learned Scheme from George Springer in the '90s.

I just want a language with S-expression syntax and a proper numeric tower (like Scheme), with modern HAMT-based immutable collection types (like Clojure), and a native JIT so I don't have to mess with Java or JavaScript.

Does Racket fit the bill now?[1][2] Coming from Indiana, I was happy when they announced the move to Chez.

I was heartened by a post here yesterday about implementing a numeric tower on WASM.[3]

[1] https://docs.racket-lang.org/hamt/

[2] https://docs.racket-lang.org/guide/performance.html

[3] https://news.ycombinator.com/item?id=37158821
"Just trust me bro" is not a convincing argument. What are those issues, and why is 702 needed, rather than other approaches?
I'm a genealogist. I discourage everyone I can from uploading their DNA. For DNA to be secure, there doesn't just need to be firm walls, they can't ever be breached for a moment - not now or a generation from now.

Holders of DNA can't be bought out or come under the control of leadership that doesn't fully grasp and exercise privacy safeguards. They can't allow laws to be bought or leveraged that will compromise their ability to safeguard it.

LEO's use of DNA is a surveillance method and powerful interests will always feel compelled to use it to hunt people they perceive are enemies. Whatever info we may get by uploading it can't possibly be worth the risk to our descendants and relations.
https://sysdig.com/blog/labrat-cryptojacking-proxyjacking-ca...

Actual source
I'm guessing he discovered how many people are blocking him personally.
There's no concept of nice or priority in Postgres.

Queries usually stay out of each other's way, unless they're modifying the same data, causing lock contention.

What I've done in the past for "less important background queries" is use very short lock_timeout and short statement_timeout values. The query will fail if it can't acquire the lock quickly (and in turn won't hold extra locks), so you put it in a loop with a sleep.

https://www.postgresql.org/docs/15/runtime-config-client.htm...
>People get the government they deserve.
Spot on
People really should learn to say what they want - and also say no. Otherwise they'll just end up being unhappy because, whether they like it or not, there will always be people that are ignorant (and most of the times it won't even be on purpose).
MIPS for example has this. It has `addu` for normal integer addition that does not trap and `add` if you want to trap on overflows.
Depends where you live. In Southern California, air conditioning is extremely common. Either central or window units.

Go up to the Bay area, and I'd think it was fairly rare.
> That's the narrative, isn't it?

That is very observable phenomenon. You don't need "narrative" to see what kind of believes the same person have.

> But contraception and abortion really empower men to disrespect women, to treat them as objects, to use them up and toss them out like garbage. A man who doesn't need to worry about raising a child is a man who will easily rape or abuse.

This one is however completely made up. Rapists do not mind raped women having kids. Some of them rape so that there IS the kid and others simply assume they won't be caught.

Rapists use pregnancy to force women into marriage or lifelong coparenting, especially in conservative environments.

> A man who isn't obligated by financial support of a wife or children is a man who will cheat and move on when something hotter comes along

Men with children cheat all the time. In fact, kids make it harder for partner to leave when cheating is found.

> A man who will accompany his woman to the abortion mill is now a knight in shining armor for an empowered, liberated woman?

He is a man providing support to a woman that did not wanted to bear a kid yet. This may mean her being able to go to school, get a job, her previous kids having available parent.

------

You see clearly against abortion and while you pretend abortion is for men, your comment shown literally zero interest in women. You literally did not put in a single sentence about what being pregnant, with baby or having aborted coats woman. Literally only person you cared and thought about is a man.
Feynman wrote that in 70s, before emissions control, he could barely breathe in Pasadena, near Los Angeles. The smog burned the throat and eyes.
I'm surprised that evidence gathered through this method can't be thrown out in court. The customer that provided the DNA did not give consent to sharing the data, and the company holding the data did not give consent to share it with law enforcement (would be entertaining if the act of exploiting a security hole in the search form could be a CFAA violation on top of that).

Of course, this doesn't stop parallel construction; once they find their likely suspects through the illegally-obtained genetic search, they can likely often construct a case without even mentioning the genetic tracing.
Doesn't -Wall give you the error you want?
Why do you think this has not happened yet? Who do you think is in the best position to require this, and why have they not done so?
> We don't care, we don't have to, we're the phone company."

Hah! Haven't thought of that one in years. (You're dating yourself, BTW.)

For young whippersnappers, this is from https://vimeo.com/355556831 — a Lily Tomlin bit on SNL in the 70s, reprising one of her famous recurring characters from Laugh-In in the late 60s.
With the emergency vehicle, anyway, the driver at fault would be the car that hit it unless the emergency vehicle didn't have its lights and sirens going.
look at Japan, theyre 20 years ahead of us
Which of the two plausible interpretations is the strongest? Please enlighten me esteemed HN guideline expert. I am asking because I don't know the answer.
Dating apps should offer paid subscription plans that cater to people who are trying to use their social network for networking but not dating. It could reduce awkward situations and bring in revenue for their service.
Next you'll be telling us that we just "don't get" Demna Gvasalia and Vetements trying to "subvert the high fashion status quo" with $800 white t-shirts and $1,700 "destroyed jeans"...

Demna Gvasalia, attempting to subvert the high fashion status quo, while starting his career at Maison Martin Margiela and LV, working under Marc Jacobs...

Demna Gvasalia, whose current position is ... checks notes ... creative director of Balenciaga. Ahh, yes, very ... subversive.

The fashion world, even the high end, is not immune from criticism or outright mockery.
The biggest criticism I've heard is "I don't want my config language to be Turing-complete."

I agree; nobody does. But two of the three config languages I used started out as static no-frills languages and eventually became Turing-complete by accretion of need to support more and more complicated configurations, and given that they were headed there eventually, I wish they'd been Lua instead of a Turing-complete bespoke language with its own parser, its own (bad) error messages, little thought paid to debugging ("hey, it was never supposed to be complicated enough to need debugging!"), and no tooling.
> when exceptions would add no overhead

Isn't the overhead for C++ exceptions quite significant, especially if an exception is thrown?

Exception handling can also increase the size of the binary because of the additional data needed to handle stack unwinding and exception dispatch.

I think a number of optimizations are made quite a bit more complex by exception handling as well.
Donate to the Internet Archive/Wayback Machine!

https://help.archive.org/help/category/donations-2/donating-...
I appreciate having captions b/c I'm often watching in situations where I don't want to or can't hear audio.
This is a pretty good description.

"The primary distinguishing characteristic of systems programming when compared to application programming is that application programming aims to produce software which provides services to the user directly (e.g. word processor), whereas systems programming aims to produce software and software platforms which provide services to other software..."

https://en.wikipedia.org/wiki/Systems_programming
As someone who lives in a country where pickpocketing and theft are really common: agreed.

If making an iCloud-locked iPhone and all of its parts useless is what it takes to make pickpocketing not worth it, i'm all for it.
Linux is an excellent example. There has been a fork that made it compile with the Intel compiler and if I remember correctly it was moderately faster. Of course it went nowhere.

Writing standard conformant code is hard and you do it if you have a good reason to do it. A lot of software has.

The Linux kernal hasn't and that is fine. If your project also doesn't have that constraint, good for you. 30 years ago you would still choose C and a particular compiler and you could get things done. Nowadays, why bother? You could choose a language that has no UB, compiles on any hardware that is reasonably common and is still performant.
https://archive.is/CThva
Worth noting that these characteristics generally hold for most cob bricks as well. It doesn't seem like it's particularly special because of the seaweed except that it's a way to use an abundant resource. Significant imo because of the minimal treatment necessary and lack of ecological harm in construction.

Wanna renovate? Wanna expand your building? Wanna take it apart and rebuild it entirely? It's basically just dirt so it's flexible to future growth and needs with minimal costs. The West tends to build buildings as if they're permanent but of course even skyscrapers need to come down eventually. All that glass, plastic, and even stuff like asbestos previously, is eventually gonna be taken apart. Usually mostly dumped to a landfill
The irony is lost on you.
>became grudgingly acceptable because it reduced smog

as well as switching from leaded gasoline. within my lifetime we no longer hear about acid rain. it took a lot of convincing to make the switch to unleaded, but the results are obvious. CFCs from spray cans are also an example.

essentially, we've known for decades that emission controls can allow for the climate to repair itself. it just takes a lot of convincing to get people/industry to accept those changes. we didn't need a global pandemic. or did we? GenZ has no experience with the examples i mentioned, so maybe this was their version???
Elon Musk isn't responsible for the success of his companies - they succeed in spite of him, because of the quality of the people who do the actual work, and their ability to manage him and keep him from doing to Tesla and SpaceX what he's doing to Twitter.

Unfortunately, modern American capitalism is obsessed with hero worship of CEOs and the myth of Elon Musk as a real life Tony Stark is just too compelling for people to shake off.
Thanks for explaining, this made my day!
I haven't used clojure since forever but I don't think this was particularly problematic. They even had nice literal syntax for different collection types and fairly powerful generalized collection abstractions, way better than the languages you mentioned IMO.
I did find mention of it in the docs! Perhaps it was supported, they just never shipped systems in that configuration.
I've been mulling over many tablet options recently with a goal to reduce the number of devices I travel with (terminal, email, playing HW accelerated video, reading comics). I considered everything from an iPad through a Surface with Linux and all the way to more exotic options like https://junocomputers.com/product/juno-tab-2/ or https://www.fydetabduo.com/ but they all lacked something. I was close to going with a Google Pixel with Graphene OS but Google's atrocious pricing in Europe made me reconsider. This one finally made me pull the trigger, mostly because it is Linux-first and came with no "This is a beta product" or "generally works, but..." asterisks. Fingers crossed that it delivers.
Mm, not necessarily all work contexts IMO, I just think it’s particularly helpful in software because software itself is highly semantic and software teams tend to not all come from the same exact background.

If you were doing something like sales, where both all your salesmen and clients were locals with the same social expectations on how to communicate implicitly, there wouldn’t be any direct benefits to trying to communicate explicitly, and doing so may come across as rude or offensive.
There's plenty of evidence that shows how deeply currupted the 3 letter agencies are in this country. The FBI, a Hoover organization, appears to me to be an organization that exists solely to persecute, blackmail and bait populists and small government types, aka the very people bureaucrats hate.

I'm not sure what kind of freedom you advocate for Ben, it certainly doesn't seem to jive with the notion of We the People.
I don't understand. What stops you from changing it yourself and swapping it back when you move out? And you're ready to propose more legislation.

Most programmable thermostats need batteries, which now have to be changed on a maintenance schedule. One more task for the superintendent.

These batteries often fail without warning. Which means pipes can freeze, leading to property damage. Most homeowners don't even know they have batteries till the heat stops working and they call the HVAC guy.
Use NewPipe, a massively better interface with features you actually want to use: https://newpipe.net
I also had the same impression. Only commenting to add another data point and point out it might be worth rewording if you're not outside the edit window :)
> DNA could be tested for traits that are "more likely to cause criminality". People with those traits can be more heavily scrutinized and surveiled. Or have their employment opportunities limited.

I don't think you need to consider other possibilities, this is a good enough example. And unfortunately it is not insane in the sense of paranoid, because this is what Nazis would be doing with it. Or NK jailing entire families for one member's crimes but basing it on DNA matches.
> Again I ask, when do we accuse the government of betraying us and the social contract?

With kindness, I offer that voting for officials who've expanded surveillance isn't in harmony with the above sentiment. Neither is us failing to speak out to news orgs that are rarely willing to elevate surveillance abuses over far less important content.

Part of the equation: Better behavior by us.
https://archive.ph/Tz5Lj
> When I used to live in California, air-conditioning was a rare and valuable treasure in a $3k/month apartment.

In the mild climates of the Bay Area and similar places, sure, but not, at least in the last half century or so, in the LA Basin and the Central Valley.
I’m curious about the nature of your business, $4M in profit in a year is really impressive. What business are you in?
The reasoning behind the decision to make integer overflow UB changes. As the thread starter mentioned, that reasoning was loops, so you don't need an overflow counter for everyday loops. Take loops out of the equation, and take certain high-performance integer computations where arguably you should have a dedicated FixedInt type, and the logical spec behavior might be silent promotion to BigInt (like JS, Python 3, Lisp, Scheme, Haskell) or a panic (like in Rust).

> [1] This is ignoring proprietary, hardware specific tools like CUDA. That's clearly in a different category when discussing programming languages, IMO.

Arguably they should be part of the conversation. One main reason for the recent ascendancy of NVidia over Intel is that they're basically unwrapping all the layers of microcode translation that Intel uses to make a modern superscalar processor act like an 8086, and saying "Here, we're going to devote that silicon to giving you more compute cores, you figure out how to use them effectively."
If only we had a modern language that did both... (which was strangely omitted from this article)
Yes, but no one waits for the guy in front of them to completely exit the plan before they walk down the aisle. It's always the entire line moves and people are always getting in the line. Never does row 12 wait for row 12 to be totally off the plane before standing and getting in the aisle. Row 13 is about 6 inches behind row 12 as they all walk out of the airplane. The only difference in real life between this proposed optimal is that in this design, you intentionally call out aisle, middle, window, while in the real world all the aisle people stand up automatically without being told. I'm saying his plan is already what's in the world just less planned and rigorous. But I've never been on a full plane where the aisle is empty as much as in the straw man simulation in this one.
When have they scammed enough customers to attract a proper class action lawsuit?

(I'm asking this as a non-American who is more used to governments passing consumer protection laws)
>In the meantime everyone was contracting the virus and virtually everyone recovered.

Aside from the half million excess deaths in the US in 2020?
Some of the people I am mocking do have that.

Also I mock myself regularly :)
Feedback on OpenAI cost tracking and optimization
Hey folks, we are a usage based billing platform for startups. You can meter customer usage, create a custom plan (subscriptions, usage based or hybrid) plans very easily. We are tailoring our solutions towards AI companies and wanted to explore a few pain points below.
Problem: Cost tracking and cost optimization for OpenAI (and other LLMs)
We’re working on 2 things right now:
· Simple python library that will automatically report OpenAI usage at a per customer level to our platform so we can offer detailed charts.
· Serverless semantic cache for ChatGPT (and other LLM’s) to help reduce usage cost.

Have anyone experienced pain when it comes to monitor cost and usage with OpenAI/ChatGPT or other LLMs? Curious to hear your feedback