HNHacker News
TopNewBestAskShowJobs

TonyTrapp

3,945 karma · joined June 25, 2020

submissionscomments
TonyTrapp··on America's reputation drops across the world
Note that you can click on the Consent-O-Matic toolbar entry and submit the site for review (which I did).
TonyTrapp··on 4chan Sharty Hack And Janitor Email Leak
You can easily put phpMyAdmin behind basic auth as an additional security layer, completely bypassing any PHP execution and letting the web server completely handle the authentication. It's exactly what I have done multiple times in the past. Arguably phpMyAdmin's direct integration is a less secure way of doing it, but do we even know if it's the basic auth itself that was bypassed, or was it just the case of a weak password?
TonyTrapp··on 4chan Sharty Hack And Janitor Email Leak
Again, the premise was that phpMyAdmin is secured behind basic auth. It doesn't matter how secure or insecure phpMyAdmin is, it only matters how secure whatever webserver is that it is served through. phpMyAdmin code isn't even touched before the basic auth login was successful. Only after that, it becomes relevant, in that you either find a hole in phpMyAdmin itself, or you have to break another (hopefully strong) password for the MySQL login itself.
TonyTrapp··on 4chan Sharty Hack And Janitor Email Leak
Then you should also be worried about bugs that let you log into an SSH session without providing your SSH certificate, passkey or whatever. Authentication bypass can happen with pretty much any buggy authentication method. None of this is inherently a problem of passwords or basic auth.
TonyTrapp··on 4chan Sharty Hack And Janitor Email Leak
That's my point - if you have a reasonably secure password (let's say 50-100 characters, fully random), it's extremely unlikely that anyone is ever going to even get beyond the basic auth prompt.
TonyTrapp··on 4chan Sharty Hack And Janitor Email Leak
Can you please elaborate how it is "asking for it" if we assume the basic auth password is reasonably complex and kept as safe as, say, the SSH login credentials of the same server?
TonyTrapp··on Hacker News Hug of Deaf
The point of the fish doorbell is educating people about what lives in the water. There would be much less resource-intensive ways of "solving" the problem, if that was the goal.
TonyTrapp··on Hacker News Hug of Deaf
My obscure answer on an obscure comment buried in a regular HN thread made it into an article \o/
TonyTrapp··on Fuck Run Club, Join Sit Club
And what happens if your nose starts running during those 24h?
TonyTrapp··on Variable duty cycle square waves with the Web Audio API
Changing the duty cycle of a square wave is called Pulse Width Modulation and is an extremely audible and iconic sound. If you have ever heared music any on the Commodore 64, you will familiar with its sound. PWM is also available in many professional synthesizers of the same era.
TonyTrapp··on I maintain a 17 year old ThinkPad
I was using a W500 (same generation) until 2018 or so. Upgraded RAM, installed an SSD, and it was my daily driver until the end. But already back then it started to become unbearbly slow especially with background procesesses like file syncing to different machines.
TonyTrapp··on Abusive AI Web Crawlers: Get Off My Lawn
My understanding is that everyone wants to be first in the AI race, so they throw all the rules everyone else agreed on overboard.
TonyTrapp··on Testing DVD-R and CD-R 25 years later: optical disks from Japan
Safest would probably be any drive from the "top drives" AccurateRip list here: https://forum.dbpoweramp.com/forum/dbpoweramp/cd-ripper/3247...
TonyTrapp··on CERN scientists find evidence of quantum entanglement in sheep
At least it's not mice for once.
TonyTrapp··on Atop 2.11 heap problems
Not the same thing at all if atop runs as root and you are a user on that system that has no root access. With a well-prepared exploit you could achieve code execution as root. That's a bit more than a simple Denial of Service by filling up the disk.
TonyTrapp··on Devs say AI crawlers dominate traffic, forcing blocks on entire countries
If you are serving a Git repository browser and all of those IPs are hitting all the expensive endpoints such as git blame, it becomes something to worry about very quickly.
TonyTrapp··on Gemini 2.5
To be honest, it's in good company with real humans there: https://www.behance.net/gallery/35437979/Velocipedia

Maybe it learned from Gianluca's gallery!

TonyTrapp··on Devs say AI crawlers dominate traffic, forcing blocks on entire countries
We're affected by this. The only thing that would realistically work is the first suggestion. The most unscrupulous AI crawlers distribute their inhuman request rate over dozens of IPs, so every IP just makes 1-2 requests in total. And they use real-world browser user agents, so blocking those could lock out real users. However, sometimes they claim to be using really old Chrome versions, so I feel less bad about locking those out.
TonyTrapp··on Anubis: Proof-of-work proxy to prevent AI crawlers
That would allow you to specifically lock out that bot based on its user-agent string. That's the main problem with AI scrapers, many of them normally use user-agents that cannot be easily blocked, so other means have to be found to keep them off your grounds.
TonyTrapp··on FOSS infrastructure is under attack by AI companies
There's source repository browsers (git/svn) way, way leaner than GitLab that have the same issues. Any repo browser offering a blame view for files can be brought down by those bots' traffic patterns. I have been hosting such repository browsers for 10+ years and it was never an issue until the arrival of these bots.
TonyTrapp··on FOSS infrastructure is under attack by AI companies
> They're looking for commits because it's nicely chunked, I'm taking a guess.

They're not looking for anything specifically from what I can tell. If that was the case, they would be just cloning the git repository, as it would be the easiest way to ingest such information. Instead, they just want to guzzle every single URL they can get hold of. And a web frontend for git generates thousands of those. Every file in a repository results in dozens, if not hundreds of unique links for file revisions, blame, etc. and many of those are expensive to serve. Which is why they are often put in robots.txt, so everything was fine until the LLM crawlers came along and ignored robots.txt.

TonyTrapp··on FOSS infrastructure is under attack by AI companies
> Like from their own ASNs you're saying? Or how are you connecting the IPs with the company?

Those are the ones that make it obvious, yes. It's not exclusive, though, but enough to connect the dots.

> Are all of those IPs within the same ranges or scattered?

The IP ranges are all over the place. Alibaba seems to have tons of small ASNs, for instance.

TonyTrapp··on FOSS infrastructure is under attack by AI companies
As someone that is also affected by this: We see a manifold increase in requests since this LLM crap is going on. Many of these IPs come from companies that obviously work with LLM technology, but the problem is that it's 100s of IPs doing 1 request, not 1 IP doing 100s of requests. It's just extremely unlikely that anyone else is responsible for this.
TonyTrapp··on Apple restricts Pebble from being awesome with iPhones
We have seen competitors (big, well-known apps) do things on iOS that most definitely are not possible with public APIs. Either Apple willingfully provides access to these APIs to a select few companies, or they don't care that they reverse-engineer private APIs and then use them. If it's the latter, the competitor app was probably too big to be banned from the app store for this. Apple was unwilling to comment on the situation when we asked them.
TonyTrapp··on Why SSDs slow down, and how to avoid it
That I'm aware of, but the claim is that TRIM does not exist for NVMe drives.
TonyTrapp··on Why SSDs slow down, and how to avoid it
> Its funny how "bad" we are as an industry, making rational choices. Like WHY do NVME SSD not implement TRIM? What is it about them that "TRIM" didn't make sense?

Maybe CrystalDiskInfo is simplifying things (combining TRIM and the mentioned DEALLOCATE command?), but all my NVMe SSDs support TRIM according to it. And it would be really strange if NVMe didn't support any sort of trimming, as SSD performance and health heavily relies on it.

It could also be that what the author is observing is specific to macOS?

TonyTrapp··on Recursion kills: The story behind CVE-2024-8176 in libexpat
Two things come to mind: - Maximum stack depth greatly varies between targets. If you wanted to support a recursion depth of, say, 50, that may already be too much for some of the hardware this library needs to be able to run on, so the original problem still exists. - This would be add an arbitrary limit to the parsing capabilities of the library. Stack space is very limited to begin with compared to heap space, So any solution that remains recursive would probably require a limit way lower than a heap-based solution could offer.
TonyTrapp··on Github scam investigation: Thousands of “mods” and “cracks” stealing data
If you are in control of the domain of your email address, enable SPF and DKIM for that domain, together with strict policies that mail servers should reject spoofed mails claiming to come from that domain. If your own mail server supports validating SPF and DKIM, you would no longer receive such forged mails, nor anyone else behind a mail server supporting SPF and DKIM.

If you aren't in control... just ignore it like any other spam mail.

TonyTrapp··on Plane crashes, overturns during landing at Toronto airport
I would assume they do, but it's not exactly in their interest to release footage of catastrophes for public consumption.
TonyTrapp··on You can still own music
1. Artists / labels can pull releases from streaming services, so an album may completely disappear from one day to another. They won't come to your house and rip the CD out of your CD player.

2. They can also replace one version of a song for another, like a remastered version. Especially remasters from the "loudness war" era are often worse in quality than original releases. On a streaming service, you often don't have the choice of which version you can listen to (and if you have the choice, point 1 is still a danger). This is also a problem with songs that contain explicit lyrics. The streaming version may force you to listen to the version with those lyrics removed (e.g. US release vs. EU release). Again, you are not affected by this if you have the physical media or a copy on your computer.

Having a copy of the music that noone can take away from you is important. Tons of music keeps disappearing from streaming services. This is not just a made-up scenario. Yes, technically speaking you only "own" a license to the music. The important thing is that this license is practically irrevocable.

← PreviousPage 4 of 27Next →