HNHacker News
TopNewBestAskShowJobs

kukkamario

196 karma · joined July 3, 2023

submissionscomments
kukkamario··on MS Paint Adds Freeform Rotation (2026)
Well, there are separate events for touch input and mouse input on native software. You can actually handle both if you actually have time to hone that to perfection...
kukkamario··on .gitignore Everything by Default
Well CLAUDE.local.md exists specially for personal preferences. Include line to CLAUDE.md that "never edit CLAUDE.md. Write user preferences to CLAUDE.local.md".

CLAUDE.local.md is the one that should be in .gitignore.

kukkamario··on 45°C cooling design cuts data center water use to near zero
And that is why existing installations put the heat pump to production side and then just pipe the high temperature water to district heating network.
kukkamario··on 45°C cooling design cuts data center water use to near zero
It still makes sense. If heat is produced by a burning something, it is is more efficient to do that in one dedicated place. It makes it easier to pipe exhaust away from apartments and efficiency can be higher.

Also gas pipes to every home isn't a thing in many countries.

kukkamario··on My adventure in designing API keys
The point of the checksum is to just drop obviously wrong keys. No need to handle revocation or do any DB access if checksum is incorrect, the key can just be rejected.
kukkamario··on Why Sora Failed: $15M/day inference cost vs. $2.1M lifetime revenue
I think there is plenty of room to make AI inference much more energy efficient. For example, there are companies testing creating custom silicon to run the model. Once that technology matures and we have some "good enough" models for normal use, inference cost for non-bleeding-edge models can come way down.

I don't expect bleeding-edge models to become any cheaper, but previous generation models can potentially be really cheap.

kukkamario··on RX – a new random-access JSON alternative
You don't want to copy-paste anything like that as text anyway. Just copy and paste files.

No human is reading much data regardless of the format.

What is the benefit over using for example BSON?

kukkamario··on Improving performance of rav1d video decoder
I think in this case Rust and C code aren't equivalent which maybe caused this slow down. Union trick also affects the alignment. C side struct is 32 bit aligned, but Rust struct only has 16bit alignment because it only contains fields with 16bit alignment. In practice the fields are likely anyway correctly aligned to 32bits, but compiler optimizations may have hard time verifying that.

Have you tried manually defining alignment of Rust struct?

kukkamario··on Nextcloud cries foul over Google Play Store app rejection
SAF documentation seems a bit misleading: takePersistableUriPermission part only talks about files, but other sources seem to indicate that it also works for directories so it should be possible to request permissions to a directory and then maintain it correctly.
kukkamario··on Nextcloud cries foul over Google Play Store app rejection
NextCloud currently has to copy all files that it wants to upload & back up to its own app directory which is pain to actual usability. I'm guessing this annoyance is also related to these fun permission limitations.
kukkamario··on Supervisors often prefer rule breakers, up to a point
Here in Finland, there is legal obligation to help people in emergencies, but this does not mean that you are required to danger yourself or act beyond your abilities. So usually only thing you are actually legally required to do is to call for help.
kukkamario··on Kubernetes Home – what do you do if your ISP changes your IP addresses?
MikroTik has dynamic DNS that is based on random unique number for their router. I just point my DNS record to that dynamic DNS address and everything just works.
kukkamario··on (Reasonably) secure Azure Pipelines on-prem deployments
a) resource use is minimal when deployment isn't in progress. It just idling and waiting for commands b) Agent need to be able to connect to Azure DevOps servers, but it is connection from agent to Azure DevOps servers so no need to open any extra inbound ports or anything like that. Documentation lists the domains that need to be accessible from agents.

Agent permissions to Azure are restricted based on the pipeline configuration to only allow things that are used in the pipeline. So if your pipeline does not involve cloning git some private git repo, agent cannot do that. And even that gives only access to that particular resource. So you normally have a build pipeline that generates package from you application and then deployment pipeline that only has access to that generated package which is then distributed to agents configured for some particular deployment environment.

I don't really have much direct experience with deployment side of things so someone else can probably provide extra info.

kukkamario··on Parsing JSON in 500 lines of Rust
Better option would be to parse json into Bson and then use that as the in-memory format. It uses minimal memory and is actually also fast to access without parsing into some other data structure.
kukkamario··on Tariffs result in 10% laptop price hike in U.S. says Acer CEO
That is not how it works. You assume that the rich people can get as much net profit if income tax is higher due to progressiveness, which is not true. Also if there is a way to get more (gross) profit, they will use it regardless of the tax.

Profit of a company is small percentage of the moving money. Like 50c of $6 chipotle meal is profit and not all of that goes to the owner. Taxing owner at 50% rate instead of 25% would only increase cost a few cents. Same with landlords, there are fixed costs and loan costs that reduce profit. 100% of paid rent is not direct profit...

Actual issue of the progressive tax is truely rich people using tax evasion tactics to avoid it by structuring their income so that it belongs to some other tax category that doesn't have progressive tax.

kukkamario··on Finland, Sweden complete repairs on Baltic Sea cables
Well Yi Peng 3 recently changed operating only between Chinese ports to operating only outside China and mostly to Russian ports. Current actual owner is probably some Russian oligarch.
kukkamario··on Trump wins presidency for second time
It is rather annoying that larger policy changes easily take 2-4 years to actually affect anything so current party always gets both blame and thanks for the changes made by the previous administration.
kukkamario··on Trump wins presidency for second time
In well functioning democracy the government policy shouldn't flipflop constantly and president shouldn't have enough power to break everything.

In Europe, president's power is much more limited, there are more political parties and one party winning elections doesn't immediately change the country's policy to everything, even winning parties need to consider opinions of other parties. So overall country's policy more closely reflects the average opinion of the whole population instead of just the currently ruling party. Changes are much more slow and gradual and a single leader change doesn't immediately affect that much.

Politics are boring as they should be.

kukkamario··on Skeptical of rewriting JavaScript tools in "faster" languages
I prefer using Python with pybind11. It makes writing new modules or embedding the whole interpreter quite simple.
kukkamario··on Skeptical of rewriting JavaScript tools in "faster" languages
Node is so slow to start that python script can complete before Javascript even begins to execute.
kukkamario··on Jujutsu (jj), a Git compatible VCS
So it is git with rerere.enabled=1?
kukkamario··on JSON Patch
And then you'd be limited to only one change at the time and lose the benefit of making lot of changes with one request.
kukkamario··on Starlink's new satellites emit 30x more radio interference than before
Yes. We need orbit space tax which profits are used to resolve issues caused.
kukkamario··on Intel Solidifies $3.5B Deal to Make Chips for Military
> The volume is small

That is changing with the drone warfare becoming large part of the future wars. US military (and pretty much everyone else) will make drones major focus of advancement and there is definitely lot of money to be made by supplying chips for those.

kukkamario··on Free DDNS with Cloudflare and a cronjob
Mikrotik at least has that DDNS functionality. It is really nice feature.
kukkamario··on Embedded Python: MicroPython Is Amazing
You may want to consider Asp. It is python like language thats interpreter is designed for embedded usage. https://www.asplang.org/

Also fully fuzzy tested to not ever crash regardless of the bytecode given to it.

kukkamario··on What Happened to Perl 7? (2022)
It is quite easy to write Python code that works just with all Python versions since 3.6. Easier than writing any Perl code...
kukkamario··on What Happened to Perl 7? (2022)
All Perl code I have ever seen, has been "write-only". Just completely unreadable and it was easier to just look at the output instead of the code when converting it to Python to get actual maintainability.
kukkamario··on The CompCert C Compiler
64-bit time has already been resolved in newer 32-bit Linux versions. Issue isn't that changing ABI couldn't be done. It is that no one wants to update OS and custom software of a 15-year-old embedded system that still works. Archeology to find correct instructions to build a working OS image is challenge itself and then there is a need to adapt them to more modern tools. Been there, done that, and it wasn't fun...
kukkamario··on Electrically conductive bricks can replace fossil fuels in industrial processes
Well it is just a brick that can acts as a heating element. In terms of converting electricity to heat it is almost 100% efficient like every other electric heating element.

I didn't spot any mention of voltage requirements for that so maybe it requires so high voltage that cause it to be a bit harder to actually use.

Page 1 of 2Next →