Hacker Newsnew | past | comments | ask | show | jobs | submit | Eldt's commentslogin

So what stops it from sending a network request to a git repo that pushes what that placeholder resolves to?


How would that work? You don't control github.com servers so your repo would never see the secret.

edit: You may want to look into tokenizing proxies as the general application of this concept.


Your agent writes secret.txt with the placeholder, and the tokenizing proxy replaces it with the token, then the agent reads secret.txt


It only replaces the token in the HTTP header that is sent to the server. Whatever you wrote in your files isn't touched by the proxy.


It sends a request to requestb.in and reads the public log of the headers. There are ways.


But requestb.in is not api.github.com so the proxy wouldn't replace anything.


Couldn't it then just publish the mock in a public place... it would get replaced by the real secret.? How is this prevented


Maybe the tokenizing proxy could work both ways? If the agent tries to read secret.txt, it gets back the placeholder.


Some of the newer Java features are really nice for this: sealed interfaces, records, sealed interfaces, and record pattern matching


Don't forget sealed interfaces!

I would say the killer features are records and pattern matching.

Sealed interfaces/classes seem to mostly compensate for hypermobility caused by inheritance (that you can modify a superclass'es behavior and break abstraction boundaries).

Stop relying on inheritance, and you don't really need sealed interfaces.

Using records and thus lowering mutable state makes the problem of breaking abstraction boundaries lesser as well.

This is a hot take paid for by the functional programming lobby.


Because the companies did it underhandedly without prior consent? Imagine you walked into a hardware store to grab some lumber, didn't pay for it, and the store had to call the cops to swing around your house? That's hardly the typical shopping experience, now is it?


I think that’s my point: none of those things happened, so on what basis can we claim that it’s like they did. Who has to agree with what you’re doing in order for it not to be considered underhanded?


You seem to have conflated a chemical engineering degree with the concept of baking being a chemical process


No, but baking is still a process that requires skill — and that skill is not 'common sense'.

If making sourdough were 'common sense' then _everyone could do it correctly on their first try_. They don't. Most fail and never try again because the skill level required for sourdough is too high.

I'm an _expert_ cook, but I'm still having to go through the frequent failures of learning how to pickle with brine (fortunately, my failures have been mostly edible and have not turned moldy). Even vinegar pickling requires a certain level of expertise before you can do it successfully, even though that level of expertise is _roughly_ "knowing how to boil water".


Isn't IBM still going?


IBM had something of a downward blip last quarter, partly because of mainframe cycles. But it's actually done generally well the past few years and pays a pretty good dividend. $10B in net income for 2025 isn't shabby.


LLMs rewriting legacy code in newer languages is going to have an impact.


Many years ago I worked a technical support job for Xbox services, and the amount of calls about "unauthorized charges" was obscene. Xbox provided parental controls, but it required the parent to set up their child's account themselves, and many couldn't be bothered.

I imagine the same thing will happen here...


And people give their children cigarettes and liquor, that's bad as well. But that's the responsibility of being an adult. If the adult is deemed not worthy of raising children, society has already established a process of dealing with that too.


And how long does weeding out corruption take?


[flagged]


De-russification didn't really start until the Orange Revolution, though. It's a long and painful process for Ukraine as reducing corruption requires shedding all the Russian influence. Before that, a lot of the problems genuinely are because of Russia.

All states escaping the Russian curse improve speedily once they join the EU, and I expect the same to happen in Ukraine.


Belarus developed much faster than Ukraine in the decade between the Orange revolution and the start of the war. It's per-capita GDP quadrupled (to a much higher end result) in that time, while Ukraine's only doubled.

Yet, Belarus is politically 100% a Russian province.

How exactly does your theory explain that gap?


Belarus was rewarded for loyalty. Ukraine was unstable, oligarchic, and increasingly punished for partial exit.

Belarus in 2004-2014 is a subsidised client. Ukraine after 2004 Orange Revolution is a contested borderland. They are different mechanisms inside the same imperial political system.

Russian dominance can produce short term client-state rents (Russia sells very cheap crude to Belarus, Belarus sells world price refined products to world market), but it tends to trap countries in dependency, weak modernization, and political subordination. When a country tries to leave the orbit, the coercive part of the system appears. Ukraine had it's gas price dramatically increased, then supply interrupted, among other pressure.


So when Russia sells oil for low price - it's rewarding for loyalty, when Russian sells gas for normal price - it's punishment.

What the price of hydrocarbons should be to make you happy?

>then supply interrupted

You might have consumed too much of Western and Ukrainian propaganda, if you re-translate it in 2026, long after Ukrainian lies have been exposed.

"The conflict began when Russia claimed that Ukraine was not paying for gas and was diverting gas bound from Russia to the European Union from pipelines that crossed the country. Ukrainian officials at first denied the last accusation, but later Naftogaz admitted it used some gas intended for other European countries for domestic needs. The dispute peaked on January 1, 2006 when Russia cut off supply.[" [0]

[0] https://en.wikipedia.org/wiki/2005%E2%80%932006_Russia%E2%80...


You may be onto something with respect to how hegemons and empires operate.


Or maybe it's how customs unions work - when you inside, you benefit from free trade with other members, when you outside - you don't.


Russian propaganda is really running out of steam if Belarus of all countries is now the success case. What's next, statistics of how happy the North Koreans are?


And this how one deflects an argument grounded in economic facts.


>if Belarus of all countries is now the success case

That's how easy it is to be a success case when compared to the independent Ukraine. Even landlocked Belarus with no natural resources is doing better.


Yes yes, sure. Just be Putin's puppet dictator and you'll get free oil. There's nothing worth discussing here.


Funny story, except Azerbaijan, which has its own oil of premium quality is doing worse than Belarus[0]. Still better than the Ukraine, but anyone is doing better than the Ukraine.

[0] https://data.worldbank.org/indicator/NY.GDP.PCAP.PP.CD?locat...


>De-russification

Oh, please, please elaborate on that. How do you link corruption to ethnicity and language?


I've been paying attention to that line of division and came to the same conclusion. We're seeing the "tiers" diverge as AI becomes more capable. As the saying goes, you don't know what you don't know.


Only in certain bubbles, which certain people have trouble realising they're in


He's a meme trader manipulating retailer investors, following Elon's footsteps


I mean he pumped and dumped BBB, and those people (or should we call them apes?) still love this guy.


those guys have a very strong track record of getting their way lately


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: