HNHacker News
TopNewBestAskShowJobs

amtamt

421 karma · joined November 11, 2021

submissionscomments
amtamt··on Windows 11's built-in Weather app wastes more than 1 GB of RAM
Ah... now I know that Microsoft is running full weather simulations on each user desktop... pretty neat.
amtamt··on Windows 11's built-in Weather app wastes more than 1 GB of RAM
Was /s missed or this is AI generated counterpoint?
amtamt··on Go 1.27 Interactive Tour
If bug free binary search implementation can take 16 years, I am ready to buy generics implementation could take 20 years.

> In his landmark book The Art of Computer Programming, legendary computer scientist Donald Knuth noted that although the first binary search algorithm was published by John Mauchly in 1946, the first bug-free version was not published until 1962—taking a staggering 16 years to get right.

amtamt··on The kids with phones are alright
One really does that on phones?
amtamt··on The World's Top Economists Are Sounding the Alarm on AI
potential global fallout s/if/when/ the boom turns to bust
amtamt··on India exploring $1 tax per 100GB
INR 1/ GB... approximated to dollar.
amtamt··on Ask HN: What do you use for throwaway email inboxes in CI pipelines?
https://github.com/axllent/mailpit
amtamt··on Switzerland wil have a referendum to cap population at 10M
Of course it is political agenda driven, but at least from surface it does not have _fear mongering_ vibe, comparing for example with Sweden which did not conclude citizenship applications and applied back dated refusal. Also politician openly attribting all immigrants as source of increasing crime and lowering education levels.

10m is larger than current resident counts, so people moving in can decide now if they want to move with uncertainty. It is not what everyone would like, but it is more understandable that recent Swedish changes, for example.

amtamt··on Switzerland wil have a referendum to cap population at 10M
This seems a much more rational approach than pure political agenda driven fear mongering campaigns against immigrants.
amtamt··on Redis 8.8: New array data structure, rate limiter, performance improvements
If redis is a database, then by

> doesn’t pose any constraints on the type of data.

logic, raw disk is also a database. One just need to add block level replication to other nodes to build a replicated/ HA database.

We may not agree, but anything not providing transactions across logically related multiple data read/ update operations is not a database.

> multiple instances to provide the same data

is easy and done by a bunch of software out there, but

> multiple instances to provide the same data on non-shared memory computers, with consistency

is a really hard problem, and no one has been able to solve it yet without introducing other problems to be considered (giving up on fast performance being one of the most visible one) by architects/ developers.

amtamt··on Redis 8.8: New array data structure, rate limiter, performance improvements
Point is... with AOF and RDB enabled, and wait command used in sane manner, one can get reasonable consistency with a significant speed tradeoff and increase in application complexity. So if consistent cache is needed, one can have that with some compromises, but then probably one could use a database straight away.
amtamt··on Redis 8.8: New array data structure, rate limiter, performance improvements
No two processes can guarantee data consistency unless using shared memory with some kind of locking on update. And given two servers don't share memory, two processes running on these servers can not guarantee consistency either.

To put the simple terms... App writes to node-A, node-A (/process on node-A) crashes before change is synced from node-A to node-B, data is lost.

This is true for redis and true for postgresql/ mysql or any similar database. Difference between redis and a "database" is that database protects against this problem by writing change to durable storage before telling app that write is successful. Redis

So if one wants to have a consistent session storage, one should use a proper database or use AOF redis persistense with single node (https://chatgpt.com/s/t_6a24ab818e2881918db959cec8d8cc2d)

amtamt··on Redis 8.8: New array data structure, rate limiter, performance improvements
> Redis is a real database

No, redis is a memory cache, with some ACID like features bolt on.

Even real databases have hard time maintaining consistency across nodes. CAP is a real constraint.

amtamt··on Redis 8.8: New array data structure, rate limiter, performance improvements
Genuinely interested why we need HA in redis, just not read round robin from multiple non-HA instances? Redis (and memcache) are memory caches and should be treated like that, not like highly consistent distributed session store.
amtamt··on War game exposed U.S. vulnerability to low-tech warfare
And now a dozen times in Iran?
amtamt··on Serving a Website on a Raspberry Pi Zero Running in RAM
https://www.xmox.nl/ is pretty good single binary mail solution for personal email hosting, it not too many features of modern webmails are needed.
amtamt··on College instructor turns to typewriters to curb AI-written work
I hope so too, however cheap is relative. One's ordinary morning coffee is a full day wage for someone else. If we could have decent models fitting laptops of most students, that would be point where we could possibly treat AI as we treat calculator or computer today.

Just to put things in context, https://www.bbc.com/news/articles/ce8444gex65o shares income for a good number of people now a days. (note that many of those workers are taking care of a family of 2+ members, most of the time)

amtamt··on College instructor turns to typewriters to curb AI-written work
> Rather than banning the use of AI and trying to catch students who are cheating, why aren't they creating schoolwork that requires AI?

That is way to high recurring cost that many won't be able to afford. One could get a second hand calculator or even computer, and then additional resources needed was one's willingness. With mandating AI usage, we'd only increase the gap of haves and have-nots. I personally do not like the idea.

amtamt··on No one owes you supply-chain security
Well actually you ate poisoned food made by someone else, which had a similar looking name (typo squatting). Who is responsible here? One who wrote code?
amtamt··on Author of "Careless People" banned from saying anything negative about Meta
Overall this feels a good thing for public, even if the author is money oriented, because this will hopefully make even more details public.

I personally have no qualms about one criminal extorted by another, specially if their fued is making world better for everyone.

amtamt··on Author of "Careless People" banned from saying anything negative about Meta
"disclosing them to relevant authorities" would not bring the message to those affected by such carelessness. I would think "Disclosing them to the public" brings more awareness in the public, and though might be illegal, serves better for public good. Legal is not always just or moral.
amtamt··on SSH has no Host header
Since 2020, based on hostname, routing is possible to different ssh backends

https://www.haproxy.com/blog/route-ssh-connections-with-hapr...

from the blog

> Did you know that you can proxy SSH connections through HAProxy and route based on hostname?

amtamt··on A sufficiently detailed spec is code
Even two wrong, but countering, inputs can sometimes provide right answer, so the rational above has some merit.

But if I interpret the question with line of thinking "should I anticipate right/ full answers despite incorrect/ incomplete inputs?" I think Baggage was pointing out the problem in the logic why such questions should arise.

I would expect the question to be phrased "under what circumstances the machine with provide wrong outputs?", and would have hoped for Babbage (or may be anyone) explaining many ways how things could go wrong.

amtamt··on A sufficiently detailed spec is code
> On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.

I guess many of us quality for british parliament.

amtamt··on No right to relicense this project
Then we are back to... if this is a complete re-write, why not a new name for new code?

I guess it's futile to argue in this circular logic when full picture is not considered and argument are being put forward only for the sake of winning argument. Have a good $time_of_day.

amtamt··on No right to relicense this project
One would say

this guy's forked MIT'd version 0 will be as real and valid as version 6 of original chardet.

instead of

> Your fork of version 6 is just as real and valid as the MIT'd version 7!

Supporting for a decade is not a basis for unilateral takeover. In last 3 months there seem to be at least 3 other active contributors, any many dozens in past, who share the copyright on parts (ownership)

> nobody is entitled to this guy's pip account or GitHub account just because he rewrote the library

this guy's also not entitled to takeover what is communal, exactly in the same manner.

Someone answered it long ago in quite some details. Feel free to have a look: https://stackoverflow.com/a/11455485

amtamt··on No right to relicense this project
Just one question, why maintainer is hell bent on using existing name and removing LGPL and not create an entirely new project by new name and new license (after all this is completely new code... right)?

First reason would be use the "name recall", and second guess would be to do another rug-pull to re-licence under some other conditions.

> It's owned by the maintainer

This is completely in-correct. GPL and variants (FOSS, not OSS) were meant to make software free of "any ownership".

amtamt··on No right to relicense this project
Say a community builds a hall with an explicit intent of community use only, led by single person or a group, and then a person/ a group is appointed as a caretaker. Caretaker of the community hall decides unilaterally to convert the hall into a business convention center, razing old building to ground and rebuilding, disregarding community wishes, to make hall business friendly. How would you react to this situation? Caretaker has the ownership of the community assets, including the ground on which the hall is standing?

my understanding of the situation is:

Is the caretaker paying from his own pocket to maintain the hall? no

Is the caretaker paying from his own pocket for community usage of the hall? no

Is the caretaker spending time to maintain the community hall? yes

Is caretaker obliged to spend time on community hall? no

Is caretaker free to stop spending time on community hall? yes.

Is caretaker free to raze current hall, build new hall on same ground for new purposes WITH community agreement? YES

Is caretaker free to raze current hall, build new hall on same ground for new purposes WITHOUT community agreement (even if paying all the bill)? NO

Is caretaker free to build another similar hall someplace else? YES

Reasoning of your comment is of someone who is hell bent on staking claims on community resources (like big companies) without having slightest concern of the wishes or well-being of the community. Not sure of the commenter's motive either, given the new account with just two comments, supporting such blatant disregard of basic human decency.

amtamt··on No right to relicense this project
Maintainers must not be able to change the license that original author chose, and based on which contributors made contributions. When one stepped up to be maintainer, it was a trustee role, not owner role.

It should be perfectly ok (by maintainer or anyone for that mater) to be inspired from a community project and build something from scratch hand-crafting/ AI sloping, as long as the imitation is given a new name/ identity.

What rubbed me off personally was maintainer saying "pin your dependncies to version 6.0.0 or 5.x.x", as if maintainer owns the project. maintainer role is more akin to serve the community, not rule.

If it is completely new, why not start a new project with new name? No one will object. And of course leave the old project behind to whoever is willing to maintain it. And if the new name project is better, people will follow.

amtamt··on What twenty years of DevOps has failed to do
> There's also a worrying underlying assumption being made here that the answers your LLM will give you are accurate and trustworthy.

I first hand saw in, AWS devDays, an AI giving SIWINCH as "root-cause" of Apache error in a containerized process is in EKS for a backend FCGI process connection error. It has been extremely hard since that demo to trust any AI for system level debugging.

Page 1 of 6Next →