HNHacker News
TopNewBestAskShowJobs

alright2565

1,700 karma · joined January 9, 2021

submissionscomments
alright2565··on The Last Technical Interview
This is what Triplebyte tried to do, but unfortunately they failed in the market. Maybe they were ahead of their time and a similar concept would work now.
alright2565··on Swap tables, flash-friendly swap, swap_ops, and more
I've been enjoying this renewed focus on memory efficiency. On my personal system, I've noticed that even with loads of memory, having a large swap partition really helps out when a big burst of memory demand comes up, like then running a large compile job. And that even hours or days after the memory demand is over, I still have gigabytes of memory sitting in the swap page—evidently the programs don't actually need to use that memory at all!
alright2565··on FBI director's Based Apparel site has been spotted hosting a 'ClickFix' attack
If you can't understand that command before pasting it in your terminal, then you probably shouldn't be editing the Arch Linux wiki.
alright2565··on 72% of the dollar's purchasing power was destroyed in just four episodes
This article over and over describes inflation as a tax or destruction, without backing those claims up. It would be a much stronger article if it focused on the main point rather than having it interspersed with the author's personal opinion of changes in the denominator of a fraction.
alright2565··on Our commitment to Windows quality
We're in the age of LLMs and this is exactly what they shine at. Just the other day I got tired of Libre office having some crappy custom file picker.

"Claude, change the libre office file picker to the system default"

"Beep boop it is done"

Linux has a big leg up over windows in this regard because all the GUIs are essentially wrappers around CLIs and text files that LLMs can deal with quite well.

alright2565··on Claude Tips for 3D Work
This is what the other person was trying to describe: https://imgur.com/a/J9lQBNK

I chose 1mm for my corner chamfer on the base, but you could make it any dimension including something imperceptible.

alright2565··on Unlocking Python's Cores:Energy Implications of Removing the GIL
I'm not sure of the exact relationship, but power consumption increases greater than linear with clock speed. If you have 4 cores running at the same time, there's more likely to be thermal throttling → lower clock speeds → lower energy consumption.

Greater power draw though; remember that energy is the integral of power over time.

alright2565··on MacBook Neo
I'd rather my ram go to my page cache, not have bloated apps hoarding it.
alright2565··on An Unbothered Jimmy Wales Calls Grokipedia a 'Cartoon Imitation' of Wikipedia
https://en.wikipedia.org/wiki/Wikipedia:Notability#General_n...

You are welcome to join the conversation and try and convince everyone maintaining Wikipedia that random peoples' tweets should be considered a reliable source. Both those other people you mention have been mentioned multiple times in various reliable articles (see the bibliography), while the only thing I can find online about Ray Peat is something that looks a whole lot like blogspam on usnews.com.

alright2565··on I found a vulnerability. they found a lawyer
What hash algorithm was required?
alright2565··on I found a vulnerability. they found a lawyer
If you are needing to version your password hashes, then you are likely doing them incorrectly and not using a proper computationally-hard hashing algorithm.

For example, with unsuitable algorithms like sha256, you get this, which doesn't have a version field:

    import hashlib; print(f"MD5:      {hashlib.md5(b'password').hexdigest()}")
    print(f"SHA-256:  {hashlib.sha256(b'password').hexdigest()}")


    MD5:      5f4dcc3b5aa765d61d8327deb882cf99
    SHA-256:  5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
But if you use a proper password hash, then your hashing library will automatically take care of versioning your hash, and you can just treat it as an opaque blob:

    import argon2; print(f"Argon2:   {argon2.PasswordHasher().hash('password')}")
    import bcrypt; print(f"bcrypt:   {bcrypt.hashpw(b'password', bcrypt.gensalt()).decode()}")
    from passlib.hash import scrypt; print(f"scrypt:   {scrypt.hash('password')}")


    Argon2:   $argon2id$v=19$m=65536,t=3,p=4$LZ/H9PWV2UV3YTgF3Ixrig$aXEtfkmdCMXX46a0ZiE0XjKABfJSgCHA4HmtlJzautU
    bcrypt:   $2b$12$xqsibRw1wikgk9qhce0CGO9G7k7j2nfpxCmmasmUoGX4Rt0B5umuG
    scrypt:   $scrypt$ln=16,r=8,p=1$/V8rpRTCmDOGcA5hjPFeCw$6N1e9QmxuwqbPJb4NjpGib5FxxILGoXmUX90lCXKXD4
This isn't a new thing, and as far as I'm aware, it's derived from the old apache htpasswd format (although no one else uses the leading colon)

    $ htpasswd -bnBC 10 "" password
    :$2y$10$Bh67PQAd4rqAkbFraTKZ/egfHdN392tyQ3I1U6VnjZhLoQLD3YzRe
alright2565··on An AI agent published a hit piece on me – more things have happened
First one that comes to mind is https://morethanmoore.substack.com/
alright2565··on US businesses and consumers pay 90% of tariff costs, New York Fed says
I would love to see joint tarrifs, together with US allies, to fight against things like sweatshop labor, state-supported industry, etc. That would really send a signal that those things are unacceptable, and lead to change.

That's not what we have here, and that's not what the Trump tarrifs are perceived as internationally.

alright2565··on Discord/Twitch/Snapchat age verification bypass
ID is much easier to forge, it's just a flat 2-d shape. None of the physical security features come through in images.
alright2565··on [dead]
Their website is all AI generated and as far as I can tell, the only thing of substance on it is this cube: https://www.scraplabs3d.com/_next/image?url=%2FPXL_20260114_...
alright2565··on RS-SDK: Drive RuneScape with Claude Code
> rs-sdk runs against an enhanced web-based client (botclient) which connects to the LostCity 2004scape server emulator.
alright2565··on Lessons learned shipping 500 units of my first hardware product
> claims

That's all there is to it. Take a look at https://www.youtube.com/watch?v=5CJqAJ2LXw8&t=852.

alright2565··on Find 'Abbey Road when type 'Beatles abbey rd': Fuzzy/Semantic search in Postgres
Do you want it to run on your CPU, or someone else's GPU?

Is the local model's quality sufficient for your use case, or do you need something higher quality?

alright2565··on Fedora Asahi Remix is now working on Apple M3
Anti-trans hate.
alright2565··on Vibe coding kills open source
I misremembered :(

4.5 Sonnet, but because I've been stuck on 3.7 Sonnet for so long due to corporate policy I wrote the wrong thing.

And yeah corporate policy. Opus is not available. I prefer Codex for my personal coding but I have not needed to look in the Git history here yet.

alright2565··on Vibe coding kills open source
I personally don't have any trouble with that. Using Sonnet 3.7 in Claude Code, I just ask it to spelunk the git history for a certain segment of the code if I think it will be meaningful for its task.
alright2565··on SFPark: Interactive map of SF parking regulations
Sure, at the same rate as cars, $20/hr per 12.5m^2. Since I take up about .25m^2, my bill for today ought to be about $0.10, so let me know how I should pay it.

Or we can acknowledge the reason we have money: to distribute scare resources. Parking in urban areas is scarce and expensive, while space to walk and sit simply isn't.

alright2565··on White House alters arrest photo of ICE protester, says "the memes will continue"
The supreme court will declare them immune to the suit, if they haven't already done so.
alright2565··on Drones that recharge directly on transmission lines
It can be a closed circuit when using AC instead of DC.

Remember that the primary and secondary side of transformers never touch.

alright2565··on ChatGPT Health is a marketplace, guess who is the product?
The individual mandate part of the ACA was the part designed to reduce premiums. You need healthy participants in any health insurance scheme to subsidize unhealthy people.

That was eliminated by a Republican bill, the Tax Cuts and Jobs Act of 2017.

alright2565··on How to code Claude Code in 200 lines of code
But does that extra complexity actually improve performance?

https://www.tbench.ai/leaderboard/terminal-bench/2.0 says yes, but not as much as you'd think. "Terminus" is basically just a tmux session and LLM in a loop.

alright2565··on Google broke my heart
As far as I can tell, requiring valid ID would lose a provider safe harbor protection as it is not one of the required elements:

(3) Elements of notification.-

(A) To be effective under this subsection, a notification of claimed infringement must be a written communication provided to the designated agent of a service provider that includes substantially the following:

(i) A physical or electronic signature of a person authorized to act on behalf of the owner of an exclusive right that is allegedly infringed.

(ii) Identification of the copyrighted work claimed to have been infringed, or, if multiple copyrighted works at a single online site are covered by a single notification, a representative list of such works at that site.

(iii) Identification of the material that is claimed to be infringing or to be the subject of infringing activity and that is to be removed or access to which is to be disabled, and information reasonably sufficient to permit the service provider to locate the material.

(iv) Information reasonably sufficient to permit the service provider to contact the complaining party, such as an address, telephone number, and, if available, an electronic mail address at which the complaining party may be contacted.

(v) A statement that the complaining party has a good faith belief that use of the material in the manner complained of is not authorized by the copyright owner, its agent, or the law.

(vi) A statement that the information in the notification is accurate, and under penalty of perjury, that the complaining party is authorized to act on behalf of the owner of an exclusive right that is allegedly infringed.

alright2565··on The rsync algorithm (1996) [pdf]
If it was a 100GB image on the other hand—good luck! It'd be faster to copy it from scratch every time than to use rsync.
alright2565··on Tesla’s 4680 battery supply chain collapses as partner writes down deal by 99%
Note that you should never buy raw cells from Amazon. They are always fake or under-spec. At the very least, this seller claims "Multiple Protections" when this is a fully unprotected cell.

Distributors usually won't sell to regular consumers, but there are specialized retailers who base their reputation on selling quality goods, usually to the RC, flashlight, and vape market.

alright2565··on Never Use Pixelation to Hide Sensitive Text (2014)
The Flameshot screenshot tool uses an interesting variant of pixelation that does protect the text from unredaction: https://github.com/flameshot-org/flameshot/commit/533a1b7d55...

> Since pixelation does not protect the contents of the pixelated area (see e.g. https://github.com/bishopfox/unredacter), _pseudo-pixelation_ is used:

> Only colors from the fringe of the selected area are used to generate a pixelation-like effect. The interior of the selected area is not used as an input at all and hence can not be recovered.

The edges of the pixelated area are used the generate a color palette, and then each pixel is generated by randomly sampling from that pallete's gradient.

← PreviousPage 2 of 10Next →