Going this route means you're going to leverage all the well tested Linux VFS code and your tests will execute with higher fidelity.
2,274 karma · joined October 7, 2016
Going this route means you're going to leverage all the well tested Linux VFS code and your tests will execute with higher fidelity.
Example framework:
https://github.com/skypjack/entt?tab=readme-ov-file
It has benefits besides memory/cache optimizations. It organizes logic in a much more composable way that is friendly for reuse.
That is quite expensive. Obviously you need to physically add the register to the chip.
After that the real work comes. You need to change your ISA to make the register addressible by machine code. Pdp11 had 8 general purpose registers so they used 3 bits everywhere to address the registers. Now we need 4 sometimes. Many op codes can work on 2 registers, so we need to use 8 out of 16 bits to address both where before we only needed 6. Also pdp11 had fixed 16 bits for instruction encoding so either we change it to 18 bit instructions or do more radical changes on the ISA.
This quickly spirals into significant amounts of work versus encoding results and error values into the same register.
Classic worse is better example.
That said - in Java I do think it would be near impossible for the ecosystem to adopt a similar mechanic, so from a practical standpoint this may be the only way to reliably propagate context.
The uncertainty is in the global reserve currency that is used to price every transaction and structure terms of every contract.
The tariff panic is the straw that broke the back of an already over stressed, over leveraged system.
If equities are doing 'well' it's because some of the really strong companies may be able to persevere through all the chaos. I don't think most people will be able to predict which companies those will be.
With money itself broken I wouldn't want to hold onto too much physical cash or bonds. There will be many sovereign defaults (or money printing - which is just as much of a default). Gold and bitcoin will still exist after we get through this chaotic period and therefore many people are rotating into those assets.
Id recommend using QEmu for the type of work the author is doing. It makes iteration much faster.
Inheritance taxes don't sit well for many reasons that are actually interesting to discuss
+ People's desire to support friends, families and personal interests is a core reason for an individual to work beyond individual self sufficiency. This makes it very easy to empathize with the millionaire impacted by gift / inheritance taxes that may never be applied to you.
+ Taxes have already been paid on this money - double dipping is very easy to cast as unfair.
+ Clumsy implementations of these types of taxes create situations where small family owned farms and businesses need to be liquidated to cover taxes causing more pain and disruption for families.
+ The constant slippery slope of taxes initially targeted at 'the rich' but over time effecting more and more people due to combinations of inflation and revenue seeking.
+ The simple fact that if the US just seized all the wealth of 800+ billionaires today - it would only be worth 6.2 trillion dollars [1], which doesn't even cover the 6.8 trillion dollars the government spent in 2024. So what do we do next year?
Do we need more revenue? Are we getting the revenue the right way (aka is everyone paying their fair share)? Maybe... But there is certainly a spending problem too.
1: https://inequality.org/article/billionaire-wealth-keeps-grow...
If you read exit(3) you'll see that you also need a controlling terminal for the kernel to send SIGHUP to the processes in your foreground process group.
In python it'd look roughly like:
master, slave = os.openpty()
# ensure we can call setsid successfully
try:
pid = os.fork()
if pid > 0:
os.close(master)
os.close(slave)
sys.exit(0)
finally:
sys.exit(1)
os.setsid()
# we are now session leader and process group leader
fcntl.ioctl(master, termios.TIOCSCTTY, 0)
# we now have a controlling pty - closing master will send us a SIGHUP
os.close(slave)
# go start spawning subprocesses - if _this_ process is killed, they will receive SIGHUPs. Unless they take themselves out of your session or the foreground process group.Generally you'd use this functionality to implement something like sshd or an interactive shell. HQ seems roughly analogous.
This is the weakest argument ever and frankly they should be embarrassed even typing it out.
Ross was given a life sentence without possibility of parole an incomparable sentence in relation to all other parties that were involved.
Give one of the implementations a try: https://github.com/psanford/wormhole-william
Historically people used to sell compilers - so minimizing installation to dev machines probably was a savings (and in those times space was at a premium everywhere).
That said - I am with you, give me any other programming language besides shell!
A file is a stream of bytes that a process can get by giving the os a string (name) that has all sorts of encoding/decoding rules that rely on runtime state.
Chromium exists - literally as a baseline for several other corporations to build a browser.
If you wanted to do something meaningful - you must separate search and ads, everything else is rearranging deck chairs on the Titanic.
From a hygiene perspective - freeing the return of another API is an anti pattern. If you need the caller to release objects there should provide a FooLib_bar_destory(bar) or similar.
Using setenv is mostly always a hack that relies on a bunch of assumptions that could easily change and be hard to debug.
26 years ago people knew this API was broken but didn't fix it due to inertia of breaking buggy programs further.
There really shouldn't be a need to change your own process's envvars. For subprocesses just use the proper exec function. For anything else there should be a clear API to call rather than changing a global variable and hoping some code far away from yours rereads it and handles things correctly.
So yeah you definitely could (there'd be other reasons why java wouldn't be a good choice).
TBH reading that folks were calling setenv before an exec to propagate env vars to a child made me sad. I would guess that other use cases were leveraging environ as a poor man's global variable - which is also unfortunate.
It is also exceedingly ironic that browsers played such a key role in wrestling control from the dominant windows platform to the benefit of Apple and Google.
If you were to commit such a large amount of cash - a reparation for the disaster - would you spend it all on this?
The nanny state is really only a couple decades old.
Government has realized it can take significant powers if it can convince a subset of the populace that it is the only way to protect them from some type of harm.
Then GP's point towards 'it should work better' implies it works over the long-term and not a single interaction.
I find ads frustrating as well, but it is a powerful monetization strategy and that doesn't have a substitute.