skysight-inc/HackerNews huggingface dataset:
Yes the author strikes me as a early/mid career SWE rather than a seasoned professional (10K hours is often used as an allusion to "mastery").

1. Junior: hack a solution from A to B by any means necessary

2. Mid-level: wait, design matters. Abstract everything up front!

3. Expert/mastery: wait, complexity also matters. Consider many paths and finds sweet spot that is simple, robust, extensible, maintainable.
Not true. It's like if a US Supreme Court justice got appointed the internet czar and started investigating, prosecuting and taking down things on the internet in secret without checks and balances.

That would never fly in the US.

Here's from an earlier comment:

Here's a good explanation of how the Brazilian Supreme Court did a creative and novel interpretation of the law to give itself powers to investigate and regulate the internet without law enforcement or legislative/executive involvement.

https://news.ycombinator.com/item?id=39966382

That's not enforcing the law.

As documented by the New York Times, the first thing the judge did after getting powers to censor was to call a Brazilian magazine article about the person that gave him those powers 'fake news' and got it removed. It later turned out that article was true so he had egg on his face and had to retract his censorship order.

> To run the investigation, Mr. Toffoli tapped Mr. Moraes, 53, an intense former federal justice minister and constitutional law professor who had joined the court in 2017.

> In his first action, Mr. Moraes ordered a Brazilian magazine, Crusoé, to remove an online article that showed links between Mr. Toffoli and a corruption investigation. Mr. Moraes called it “fake news.”

> Mr. Moraes later lifted the order after legal documents proved the article was accurate.

NYTimes article: https://archive.is/plQFT

How is the above 'clear and present danger' ? It's clear cut corruption.
I take it you were never in a psychiatric hospital with people urging you to get ECT?

I was. Hot baths don’t work, but that’s just me. Blanket recommendations are useless and harmful. It turns out I have a genetic issue causing my mood issues and diet is my treatment.
How was it a clear and present danger? I don’t see it.

If we’d considered subversive opinions clear and present danger and it was held up in court we may not have had a civil rights movement or a women’s suffrage movement, etc.

It’s like they like protests unless they disagree with the protests and then they label them threats to democracy.
You don't need to be confused, you can just talk to the person about something else for a bit to determine they aren't an imbecile, then verify their view is actually incoherent by talking to them about it, then write them off as part of the growing group of people that are choosing a fantasy they want to be true rather than the verifiable actual truth in front of them. it's pretty easy to suss out the situation by determining which of the 3 I's you are experiencing (imbecile, irrational, or I duffed it and had my mind changed by talking to them).
What it means in every context: the study of self-modifying systems. Nicky Case has a (very very introductory-level) interactive primer: https://ncase.me/loopy/
Ask HN: 1000+ visitors but 1 customer, how to get more conversions on your SaaS?
I have a saas, and I seem to gotten the hang of getting traffic to my site. However, the conversions remain low. Over 1000 people have viewed the website, ~400 users, 1 paying customer. How do I make this rate better? Any generalized tip that could apply here? For reference, my saas is a AI tool that assists in video production.

I have been not paying for marketing yet. I wanted to exhaust my options with free marketing on reddit, directories, etc., and optimize the conversion rate before I shell out money. Thank you in advance!
ERP modernization? Admins have heard of it
It may be of note that Schenck was used by the government to argue that speech exhorting people to burn their draft cards was not protected speech. Spare me the "clear and present danger to democracy" nonsense.

ETA: It has also been essentially superseded in the US. See Brandenburg v. Ohio.
I was very unBuddha while pursuing what currently enables my lack of expectations. I’m just discovering acting on the world with no expectations of what is next.
But who decides what is information and what is miss-information? This is the riddle of free speech.
as opposed to elon banning cisgender?
I handle this by never keeping production kubeconfigs on my local device. i pull them down on demand.
I think this is such an interesting issue. On one hand as a system developer, you want to keep existing customers happy with what they are used to. On the other- you want to grow and acquire new ones which requires upgrades to existing processes till you reach a limit - you need a new ui/ux. And what do you do? Maintain N versions?
> Can I give it local content (documents, spreadsheets, code, etc.)
It's coming roughly in December (may be sooner).

Roadmap is following:

- October - private remote AI (when you need smarter AI than your machine can handle, but don't want your data to be logged or stored anywhere)

- November - Web search capabilities (so the AI will be capable of doing websearch out of the box)

- December - PDF, docs, code embedding.
2025 - tighter MacOS integration with context awareness.
This sounds like cope. The sheer volume of practical research that makes its way into Chinese manufacturing is astounding.
Yesterday, E. Musk quoted a Tweet that said if X capitulated to Brazil, we are all slaves. So I guess we are slaves now. I didn't make the rules.

The entire affair was pursued by Musk solely as a way to turn the handle on the vast right-wing noise machine, to give Shellenberger something to do.
Anti imperialist but if they had any chance they’d migrate to the great satan… oh people, such hypocrites.
Logging all C++ destructors, poor mans run-time tracing
I genuinely don’t understand why that matters. The fact that there exists bad editors that don’t support my workflow shouldn’t prevent me from using the tools that I like and am comfortable with. I use editors that don’t screw up makefiles so what’s the problem? If I take your argument to the absolutely absurd logical extreme, I shouldn’t use lower case letters because some character encodings don’t support them.
Wait till you hear about Dyson hair styling products (creams etc)

https://www.dyson.com/hair-care/styling-products/chitosan
> If the lending is indeed controlled and goes 1 loan per book, which I know it was before that NEL thing, I've got no problem with that, and it seems like the publishers also didn't [...] the publishers only went after IA after the NEL initiative launched

It was one loan per book per time chunk (i.e., no simultaneous loan) before that "emergency" initiative, and it returned to one loan per book per time chunk afterwards. Although the publishers sued only after the "emergency" initiative started, no, the systemic side seems to have a problem, because the rulings seem to call the "I keep the physical copy and lend access to the scans temporarily" idea as illegal.
Dare you say style? Dare you say grace? Dare you say this gibbon...has a funny face?
> Unless you have seen the contracts signed you can't know that

that's right, this is in fact a clever 4d chess move by Elon, who totally doesn't behave like a crack-addled loser, and he clearly won this round!
Another important aspect regarding supplements; so few are tested for how well they are absorbed by human digestion.
It looks like the falco rules mention proc.ppid.duration, but there's not yet a rule that matches on ppid:
rules/falco_rules.yaml
https://github.com/falcosecurity/rules/blob/main/rules/falco... :

> Tuning suggestions include looking at the duration of the parent process (proc.ppid.duration) to define your long-running app processes. Checking for newer fields such as proc.vpgid.name and proc.vpgid.exe instead of the direct parent process being a non-shell application could make the rule more robust.
They're using the autocert package which is the bare minimum. It's brittle, doesn't allow for horizontal scaling of your proxy instances because you're subject to Let's Encrypt rate limits and simultaneous cert limits. (Disclaimer: I help maintain Caddy) Caddy/Certmagic solves this by writing the data to a shared storage so only a single cert will be issued and reused/coordinated across all instances through the storage. It also doesn't have issuer fallback, doesn't do rate limit avoidance, doesn't respect ARI, etc.

Holding requests until an upstream is available is also something Caddy does well, just configure the reverse_proxy with try_duration and try_interval, it will keep trying to choose a healthy upstream (determined via active health checks done in a separate goroutine) for that request until it times out.

Their proxy headers handling doesn't consider trusted IPs so if enabled, someone could spoof their IP by setting X-Forwarded-For. At least it's off by default, but they don't warn about this.

This looks pretty undercooked. I get that it's simple and that's the point, but I would never use this for anything in its current state. There's just so many better options out there.
Can you explain how you could get someone else's user id? I get that this is still a big vulnerability but am trying to understand how that would happen.
Value types with contracts should be the focus here. Specifically, the story should not be of type str, but rather of type story that is only allowed to exist when it meets certain conditions.

This approach ensures only a single point of validation, a lower mental overhead as you are certain it is valid everywhere, and fast failure when it's not - by contract, even.

There are a few places where this concept is discussed, but the most concise phrase is: “Parse, don’t validate.”

Zod (TypeScript) is a good example of a library like this, as it is oriented around types. I’m not sure if Python has something similar.

However, overvalidation can make your code overly verbose, which is something I’ve fallen into before. Use it sparingly.
This all started from the original reply I commented on..

> WFH only is low quality experience for me. No close bonding. Just zoom calls. Hybrid/Flex is the way to go I think. No need to be in the office 100%, but show up if you can.
Or want your car to drive itself. I only drive long distance and my Comma has completely changed how often I visit family and improved my safety coming home from exhausting weekends.
Don't keep anything in the default .kube/config. Set KUBECONFIG envar instead. Keep every cluster in separate config. Set an indicator in PS1. Helm et al follow the envar. Roast my zsh:

k8x() {
export env=$1;
# exit if no param
if [ -z $1 ]; then
if [ -z ${KUBECONFIG+x} ]; then
echo "Need param of a k8s environment";
return 1
else
echo "Removing KUBECONFIG variable";
PS1="$(echo "$PS1" | sed -e 's;^([^)]*) ;;')";
unset KUBECONFIG;
return 0
fi
fi;
# exit if no file for param
cfgPath="$HOME/.kube/config.${env}";
if [ ! -f $cfgPath ]; then
echo "A config does not exist";
return 1
fi;
PS1="$(echo "$PS1" | sed -e 's;^([^)]*) ;;' -e 's;^;('$env') ;')";
export KUBECONFIG="$cfgPath";
}
I agree that their results are impressive. Just to be clear, however:

1. They compare their solver with a 1e-4 error tolerance to Gurobi with 1e-6. This may seem like a detail, but in the context of how typical LPs are formulated, this is a big difference. They have to do things this way because their solver simply isn't able to reach better accuracy (meanwhile, you can ask Gurobi for 1e-9, and it will happily comply in most cases).

2. They disable presolve, which is 100% reasonable in a scientific paper (makes things more reproducible, gives a better idea of what the solver actually does). If you look at their results to evaluate which solver you should use, though, the results will be misleading, because presolve is a huge part of what makes SOTA solvers fast.
Could you find the exit currently following that sound?

Can those alarms redirect you on real time to a secondary route to escape if the main is burning or blocked?
Infineon's CO2 Sensor Monitors Indoor Air Quality
Discussions

(281 points, 12 days ago, 159 comments) https://news.ycombinator.com/item?id=41491191

(30 points, 9 days ago, 38 comments) https://news.ycombinator.com/item?id=41521293
Since when did Broadcom provide those?
Elon Musk is not the government.
> What are you gaining out of this?

Stopping the deliberate debasement and pollution of our language. That's what I'm gaining. Or trying to.

Call it what it is ("traffic accidents"), and we can stop arguing. Other countries have fewer accidents? OK, that's worth talking about. I didn't "miss the nuance" because I'm not responding to that right here.

Or "bad road engineering" if that's what you want to talk about.
Do you think there is any speech that can be dangerous to democracy?

Do you think such speech should be allowed to exist?
This has inspired me.

I do a lot of stargazing and have experimented with voice memos for recording my observations. The problem of course is later going back and listening to the voice memo and getting organized information out of what essentially turns into me rambling to myself.

I'm going to try to use whisper + AI to transcribe my voice memos into structured notes.
I think that quote is common sense, or should be. It’s only news for people who subscribe to certain myths widely circulated on social media about what for-profit companies are legally required to do.
It makes me wish for a VR app with ultra HD reproductions, you could have normal maps and other 3d techniques to add another level of fidelity, the scale is also not a problem in VR.
Blepharitis perhaps?
I agree. Even bi-lingual (English+1) small models would be very useful to process localized data, for ex english-french, english-german, etc.

Right now the small models (llama 8B) can't handle this type of task, although they could if they were trained for bi lingual data.
Datacenters bleed watts and cash – all because they're afraid to flip a switch
Does this move ever go well?
Thanks, added myself there!
I don't know much about the Brazil case, but I think it's pretty clear it's not about "free speech" because he seems to treat countries very differently, depending on his personal opinion of the government in power (and who knows about any non-public deals).

Here's one article about blocking Modi critics in India:
https://www.theguardian.com/world/2023/apr/05/twitter-accuse...
From this data we must conclude that within our lifetimes all matter in the universe will eventually be reprogrammed in JavaScript.
> Unless you have seen the contracts signed you can't know that. Xitter is no longer a public company and as a private company has absolutely no such requirement.

Have you seen the contracts? How do you know there is _absolutely no such requirement_? Perhaps it’s not standard but private investment is private.
> if the deduplication isn't atomic with the application's actions, incorrect behavior results

So? What do the application requirements have to do with the question of whether or not exactly-once delivery is possible? The application is a red herring. Why do you keep bringing it up?

If you want to argue that exactly-once delivery is generally undesirable, that is not in dispute. What is in dispute is whether or not it is possible, and the application requirements cannot possibly have any bearing on that.
I just want to say I use Caddy for this exact thing and it works beautifully! :D Thank you all for your work!
Made it would be to vote and form a more perfect union.
It sounds like a refurbishment of a plant that was working just fine until 2019, not a new build of a design where you don't even know if it can be built.

(The originally submitted Vogtle-3/4 design could not be built)

In fact, last I checked they had already planned this refurbishment, but could not obtain the funds to do it, and thus shut down the plant instead.

¯\_(ツ)_/¯
It should not be title Omega-3!

The article clearly States Omega-3, 8, and Omega-9!
This guy created a hobbyist version. Very impressive.

https://youtu.be/E9KJ_f7REGw?si=hlMQIA9wNkQBniDX
Why Do So Many Tiny Asteroids Have Moons?
What you call "technical minutiae" I call "the meanings of words", which is very germane to the matter of human communication.
I used to have this problem too. Tried prescriptions, systane, hydration eye drops etc etc, but in the end but actually worked was baby shampoo rinsing my eyes twice a day and washing them it took some time but now it's completely gone. But for me I believe it was some sort of blepharitis that was blocking the glands that produced the lubrication my eyes needed, and now that I have a good routine, it appears to have solve the problem.
This isn't true, and certainly wasn't for most of the 20th century.
They do have one of the better EVs on the market.
Gag orders and compelled speech.

wonder why a known corrupt judge doesn't want to make orders in his name. And is hiding rulings from those subject to the rulings.

Clearly improper.
Valkey is just the way to go. No real reasons to stay with Redis. Valkey is supported by multiple industry players and by the Linux Foundation.
I think the intermediate level, do the refactoring first, clean code mentality is a big one to grow out of.

The ultimate mastery is to think about "what does the computer need to do?" If there is a button click and some data has to be aggregated, those are two operations that should result in two blocks of code changing, the event handler and the db select group by (or other data source).

Everything else beyond it is extraneous code and you should think very carefully if you are adding any line beyond that.

The worst in the typescript world is elaborate types which do not work all of the time. Better to have implicit types doing most of the heavy work and remember you are building software, not doing type system research.
> Libraries [...] do not make a copy

One of the purpose of libraries is to preserve copies, and they do need to make them - they just keep their own (in the past, they also copied books just to be sure). Nowadays, if they want to preserve more copies they just buy more.

> can't make a copy for someone else

That expression does not fit the idea of providing remote access to the physical copy, as if granting exclusive-per-time access to a "virtual camera", easily implemented through the scans. Which is a good idea.

> The physical book is special because not making copy and lending physical object that own

You should really rephrase that.
For A), if you have a bunch of tiny atoms bouncing around within a regular-sized sphere, then thermodynamics predicts that the sphere will experience some constant amount of pressure, with tiny fluctuations up and down. This result is interesting, since it just takes the ordinary system and asks, "What if we scale it up so that the atoms (stars) interact gravitationally?" Then, there is no equilibrium pressure experienced by the sphere, since the gravitational potential of the stars keeps increasing.
Analyzing the OpenAPI Tooling Ecosystem
what if you forget to run direnv the second time?
Just in case it’s not clear - printing too much money means creating inflation - which wrecks economies. But the solution is fairly simple - destroy the money once it has served the purpose of the government by directing actual real resources (people) towards the jobs the government wants done

Of course this all supposed governments are sensibly allocating resources towards positive goals (but as these are usually education, pensions, health, defence etc then yeah mostly most democracies do this cos that’s what makes voters happier)

https://www.cambridge.org/core/journals/social-policy-and-so...
What is so historic important at an parking lot?
Yup, they’d make it in the image of the countries they come from because it’s they what they know and like.

It’s hard to teach a dog new tricks. People don’t change in the face of a new environment. This is illustrated by the fact emigrants tend to preserve their home culture with less change than the home country itself.
Electricity supply to consumers was affected how? And please separate this out from the general energy crisis of 2021-2023.

Since we didn't have "no electricity for some months" in this one-off, and, as I explained elsewhere, had optionality, not quite sure how you extrapolate from an event not happening to an event happening every few decades.

Gosh, so we're not ever going to invest sufficiently in battery tech for that to ever work. Glad you cleared that up for us.

But to be clear, it wasn't some random "human nature" that caused the underinvestment. It was official government policy, and that government policy has now been changed.

The renewables mafia that is still in control in Germany was also in control in France. That has been taken care of, mostly by being exposed to the harsh light of Reality™.

The law that mandated reduction and forbade expansion of nuclear was repealed March 2023. They are now expanding capacity, build first 6 and then an additional 8 simplified EPR2 reactors.

And there was one more reason for the lull in investment: France did the initial expansion under the Messmer Plan far too quickly. They nuclearized their grid in just 15 years.

Which sounds great, and of course completely puts the lie to those who claim that nuclear is "too slow". But there is a problem: these nuclear plants are not just quick to build, they also last pretty much forever, at least 60 years, many if not most are being extended to 80 years and the experts say there's no reason not to go to 100.

If you have built all the nuclear power plants you need in 15 years and they last 100 years, you have nothing to build for 85 years (or 65 / 45 years if you assume 80/60 year lifespans).

That's a problem, because your nuclear industry will wither and die in that time.

Which it pretty much did.
Meh, who cares. I got a flipper zero already. Fun nerd toy, but not something more useful than a novelty. Nothing about it made me think “but if this was running Linux it would be way better”.
Discussion (46 points, 84 days ago, 18 comments) https://news.ycombinator.com/item?id=40829401
> To discard the duplicates, you need to update your state based on the first message and consult that state for all subsequent messages. Someone must be delivered those messages for this to happen.

Yes, that's right.

> If you say that someone can then pass you messages exactly once over a perfectly reliable channel, well.. sure.

So you concede that you were wrong?

> But the system still has to deal with duplicate delivery and update its state based on that.

Well, part of the system does. But that part can be hidden behind an abstraction layer so that "you" can have exactly-once delivery doe some value of "you".

> (And potentially must durably persist this state. And, then, if your application doesn't have exactly the same persistence/transactional boundaries as what's doing the deduping, you have problems...).

Sure, but as I pointed out to you in the other thread in which we are engaged, that is irrelevant to the question of whether or not exactly-once delivery is possible.
Would love a VR version with the features you mentionned, looking at details with my nose on it...
> A former colleague of mine had a good way to describe it: technical debt is like financial debt, too much will kill you but if you don’t have any you will be outgunned by those that do.

Yeah, this is a very astute observation.

It's also worth noting that the cost of technical debt is higher for larger organizations. Refactoring is very cheap when you're just one or a few people, but prohibitively expensive to the point of impossible when working in a much larger organization.

I think it's generally a bad idea to write code to large-organization standards when you're working alone. It makes your process much more rigid than it needs to be. The great benefit of flying solo or with a small team is exactly how nimble you can be, the small cost of re-writes and even throwing stuff away.