Better HN
topnewbestaskshowjobs
Log inSign up

tetha

4,973 karma · joined Apr 7, 2009 (17y ago) · 1,600 submissions

Submissions

comment 4d ago · link · parent

Complexity theory has a couple of interesting "sandwiches" as a prof called them.

For example, we know that LOGTIME is a subset of PTIME, which is a subset of NPTIME and PSPACE, both of which are a subset of EXPTIME. We also know that EXPTIME is strictly bigger than LOGTIME and PTIME.

So somewhere between PTIME, NP, PSPACE and EXPTIME, there must be a change in computational capability. We just don't know where.

This also exists between constant-depth circuit networks and algorithms using LOGSPACE. A circuit network of depth of log^2(input_size) can compute more than any nondeterministic LOGSPACE algorithm, which can compute more than a circuit network of constant depth using threshold gates. We also know that a deeper circuit network has strictly more computational power than the constant depth one.

But where is the specific jump in computational power? We don't know.

That makes the "practical applications" very strange to consider.

I keep jesting, the funniest resolution of P vs NP would be that P = NP, except it has a cost factor that stops any practical collapse, like a proven minimum of O(n^<number of atoms in the universe>). That'd be the most annoying resolution of them all.

comment 1w ago · link · parent

4-5 java based microservices, all of which logged their own stacktrace, and also included the remote stacktrace in their local stacktrace... which was in turned included in other remote stacktraces.

Add in all of the usual unpruned Java middleware calls, multiply by 4+ and you end up with oodles of things.

Out of which the dev needed the first 5 and the innermost 5 lines. Croak & Carp did that better. But I'm old.

comment 1w ago · link · parent

It's always an interesting thought that I had meetings about the log aggregation dropping stack traces that would take ~3 3.5" floppies to store. Each.

Zabbix also confuses operators at this point. I recently had to increase a cache. I chose to go from a solid 4MB to a luxurious 256MB.

I know high-performance Java, so just a little jab there, but you don't size JVM parameters like that, except maybe code caches. And before Rust comes in, we also have a Rust application running without good resource control and it wouldn't like those resource constraints.

There is truth to this article.

comment 1w ago · link · parent

And the follow-up question: Could it put one into a moon orbit if done right?

comment 1w ago · link · parent

I have The Drifter on the Todolist.

For some other smaller devs: "Elroy and the Aliens" was also a really good one. "Kathy Rain" also came out as a directors cut recently. There are some fun changes in there. "An English Haunting" was also fun. "If Fusion were that easy" was also quite neat.

There is a bunch of cool adventure games in the old style coming out recently. It's just hard to find them because "Adventure" and "Point & Click" are just such overloaded tags on Steam. Pretty much everything is tagged as "Adventure"

comment 1w ago · link · parent

Funeral for the Sun also came out recently. I'd call it more guess-y than Obra Dinn or the Golden Idol, but also very fun.

Other smaller games in this niche would be "Death at Fleming Manor" (it's a bit laboursome to play) and "The Seance at Blake Manor" (Took me a bit to get used to, but honestly very interesting), if we're collecting. Which we should. Maybe I need a blog.

comment 1w ago · link · parent

I can very much recommend looking at games developed and published by Wadjet Eye Games.

You can see the learning throughout the years, with the Blackwell Chronicles being a bit linear, and some games in between being a bit of a miss.

But "Unavowed" or the new "Old Skies" are excellent games I consider on par with the old golden age. "Technobabylon", "Resonance" and "The Excavation of Hob's Barrow" are also very far up.

comment 3w ago · link · parent

I always recommend to use weird numbers for different tasks. That way, you can see "oh my system is under severe load at *:13 (or 17, 23, 42, ...). That must be this cron job"

comment 3w ago · link · parent

I don't think a UAF on its own allows control hijacking in an exploit. You will need further logic bugs or the ability to legitimately or illegitimately control memory, either via further requests / function calls, OOB writes and such. And it will always be extremely specific to the application vulnerable.

For example, I remember an exploit workshop around reuse of passwd entries. The vulnerable would validate a passwd entry for a non-root user, use it a bit, and later on free and zero it out for security purposes... except it then looked at the passwd entry again in some conditions. Suddenly, the uid was non-zero at first, and zero later on, so later decisions assumed the user was root.

In a more concurrent situation, a possible vulnerability was a shared cache of these passwd entries. It wouldn't zero them out anymore, but you could create a race condition of starting requests as user A, and then hammering requests as user B, so you'd end up mixing up the permission contexts of these users. Because the passwd entry that had been released back to the pool was overwritten, and then re-read with the value from another context.

The necessary line of thinking tends to be very different from thinking about program code regularly.

comment 3w ago · link · parent

If the addressed person does not comply, you can also add "or else" in a threatening tone.

Such a funny movie.

comment 4w ago · link · parent

And even with a mutual agreement - default LLM output tends to be very hard and inefficient to read. We've spent quite a bit of time at work to setup a few writing skills for Claude.

For example, mine is a technical writing skill based on the old book "The Art of Scientific Writing": Front load information as much as possible - the first paragraph of a document should be a summary, the first sentence of a paragraph should summarize. Short sentences building on each other. Always show evidence.

Someone else spent quite a while optimizing a standardized PR description template, with a section for intent, expected changes, risk, rollout coordination and such.

That made the slop a lot more tolerable.

comment 1mo ago · link · parent

Oh nice. Then I have to thank you for a possible non-horrible upgrade path. If you were close by, I'd invite you for some icecream or a round of pool :)

comment 1mo ago · link · parent

Good to know. Does the first invocation recompute and check the hash of the wheel locally afterwards to ensure integrity?

comment 1mo ago · link · parent

Rebind the keys for player one.

That being said, the one player campaign seems way faster and higher damage than I remember. But heck I love this blast from the past.

comment 1mo ago · link · parent

And strictly speaking you cannot trust the pip upgrade of pip with the vulnerable cert in the trust store due to certifi, which you also cannot upgrade safely with pip for the same reason. All of these are at one out of two compromises from being MITM'd during the upgrade.

So strictly we have to burn everything python to the ground and reinstall entirely.

comment 1mo ago · link · parent

They are also incentivized to find high severity vulnerabilities - and/or to announce found vulnerabilities as high severity.

After all, what would all that hardware and research be worth it, if it didn't find the most critical vulnerabilities around?

comment 1mo ago · link · parent

Well at least we know about it while or before the giant patch effort for everything else goes on. Just put it onto the pile.

Who turned on hard mode this week?

comment 1mo ago · link · parent

It's the attitude that riles me.

This demonstrates how hard we are messed up in a CA revocation. But no need to rub it in like that, is there?

comment 1mo ago · link · parent

> He added that global SSL/TLS is a small part of eMudhra’s business contributing to about 1% of the global revenue

Good that we are now investing thousands of engineering hours globally to fix this.

Several tech stacks require upgrades of their runtime, python is an ungodly mess with certifi, but yes. It's just 1% of your revenue.

Sorry, it's been a long week.

comment 1mo ago · link · parent

I think I'm too old for this industry

I want to go back to talks by bored defcon guys or gals calmly stating how they obtained private keys of a globally trusted CA with just a bit of math. Which, mind you, ate the other part of the teams time.

Now I know how much I hustled today likely due to that atrocity of a video. I think I will take a vacation day and sit in a forest near a river on friday.

comment 1mo ago · link · parent

Quite the strange communication. It was posted on the forum in May, and may have landed in developer notes afterwards, but the general mail to users went out less than 1 month before deadline. And now quite a few customers are mad.

It's also not the best business case. We've been tolerating infra-code in Bitbucket, because it would be a pain to migrate.

Now someone snidely remarked: Once we have done this migration in a hurry, don't we know all the places we have to touch to move out of Bitbucket - in order to avoid such short-term activity? It's difficult to answer no to that.

comment 1mo ago · link · parent

Curiously, that makes integration a trapdoor function and a possible cryptographic primitive. Not a very practical one, but...

comment 2mo ago · link · parent

I'm on the fence there.

To pace something is a fairly regular formulation in racing, running, cycling, most sports. You can "pace yourself to reach the festival by bike in about three hours to not gas out". This means to control your speed and time investment intentionally so you don't run out of energy or steam and run into leg cramps before your goal. We can "pace a rollout slowly to burn out risks", or "increase the pace of a rollout due to adverse factors".

But I have noted a point to simplify my vocabulary at work to optimize the audience capable of understanding. So I rather defer the delving into deep dark corners of the dictionary derived from devouring literature to a simple intro or outro, and people find it funny, especially if the rest is easy to read. Claude on the other hand does not do that.

comment 2mo ago · link · parent

I would rather say the argument is simplified, but on a decent track. Because there are two angles to it.

I've been wondering what sectors I wouldn't maintain and develop infrastructure for, because I consider it a strength of mine that I don't entirely care about that. I'm not excited about your product, for good or bad.

Defense for example is on an edge there. Supporting the creation of death and suffering in other humans does not sit right with me. Being defenseless doesn't sit right either, as it can create suffering and death for people I know as well.

Online gambling is more on the nope side. Maybe with a decent regulated german company, but if you start working with some eastern-europan online video gambling sites with pretty girls as dealers, you are suddenly very close to human trafficking and many more things connected to it.

So I guess directly causing human suffering and pain is a boundary for me. And yes, if you push that argument to an extreme, if you search long enough, you realize that pure existence causes suffering to other people, animals and the planet and must be ceased.

But then there is that other side - in the current system (and arguably many before) you have to do a job to get money to live, and a lot of people like the person making cars have no choice about that. I guess we are contributing to that suffering as well by existing.

So, minimizing the direct suffering and pain I cause seems to be a sensible directive.

comment 2mo ago · link · parent

It's funny. My experience of running Win95-Era Games, especially more wonky one like Cavelands on Linux with Wine is far better than on Windows. And DosBox is a given. So e.g. both Civ 2 and Civ 1 are just standard launchers on my Linux box.

And with something like Lutris, it's not a lot of tinkering. "Install game from setup.exe". Done in a lot of cases, needs a few winetricks or dll overrides in some cases for the wonky ones.

comment 2mo ago · link · parent

It's going to be interesting, because liability cases tend to revolve around the involved people, the duty they had in a situation, and if they fulfilled that duty (or were prevented in some way by someone else not fulfilling their duty).

For example, for a runaway car (example from a sibling comment), the driver could be liable because they forgot the parking brake. The driver could be liable for a lack of maintenance and inspection. A mechanic could be liable for not reinstalling brake pads correctly. Or the manufacturer of the car or the brake pads could be liable because of a systemic defect.

Or it could grow even more complex, maybe the brakes are designed that they have to be maintained in a very specific way, and the mechanic did a reasonable maintenance and inspection but it failed later due to this maintenance. That could split liability between the manufacturer and the mechanic.

As an example, with other software, you as a developer or operator of a software have a duty to ensure it does not access computer systems you do not own in unintended ways. And this could go beyond liability into criminal territory.

It'll be interesting what OpenAI gets slapped with there.

comment 2mo ago · link · parent

> It is precisely about showing that you can still propagate backdoored code if the compromised binary in your seed is NOT the compiler.

But that seems like quibbling about semantics. Thompson says that if a compromised binary generates a binary, you cannot trust the generated binary.

This does not even have to be gcc, it could be vim. Or strip. Or cat. Or dd.

Or an iop to write data to persistent storage if the firmware of your SSD is compromised.

comment 2mo ago · link · parent

> Skills have some instructions but are primarily informed repo specific instructions and keep their context away from the rest of the repo to keep things sanitised for me.

Skills and agents in the Claude world can also be extended and evolved over time, as they are committed "code".

For example, we have an agent which can take a statement or a support ticket and identifies the services, tenants and infrastructure components likely meant in the ticket or request. Similar to a skill, Claude can invoke this on demand in a conversation.

This started very simple, but various people spent time tuning it over the last 4-6 months. They have "taught" it to pick up on jargon from different departments, writing style of different departments, how they think about their systems.

With all of that tuning over time it has become quite "clever" in identifying the mentioned systems and - if requested - the train of thought leading to this conclusion.

Similar things are happening with skills for various task, be it Ansible integration tests, upgrade chores and so on. The first version can be fairly underwhelming, but continuously improving it after each usage can make them very powerful.

comment 2mo ago · link · parent

This becomes fun if you start to prioritize security work on CVEs rated higher, not affecting you, over security work on CVEs rated lower and affecting you.

Or prioritizing chasing CVEs currently not affecting you over architectural work improving security.

The CVE should be fixed, I fully agree, but where does it land as a priority? Less competent security teams push /all/ CVEs as Sev0 over /all/ other topics.

comment 2mo ago · link · parent

I agree this is a scope or focus thing. Different tools for different things.

If you are already maintaining a tool chain, a supply chain and skills in an SPA framework for multiple customer-facing, client-driven projects, I don't think you have much of a use for HTMX. Hence why at work, we have our full-time frontend engineers doing this, because it gives you the most flashy quality.

I am an infrastructure engineer. I have privately tried out a couple of SPA frameworks, The complexity to set this up for the first time is immense. And if you have rarely touched projects, the churn of the tooling and dependency ecosystem is taking up a significant amount of time for something that may be nice to have at work, or a pet project at home.

It's not cool if you have half a day to touch an old project and everything has rotted away around it so nothing interesting gets done. Something like Pydantic, Flask or Django + Jinja generally doesn't do that. And HTMX can make it nicer fairly cheaply.

12345
54