HNHacker News
TopNewBestAskShowJobs

alterom

831 karma · joined December 5, 2024

submissionscomments
alterom··on Updated Google Maps shows destruction of the city of Rafah
Did Native Americans also pick "the wrong patch of land to occupy"?
alterom··on Show HN: Make cursed fonts like Times New Bastard
I am still laughing after seeing Royal Ransom, and now there's this...

Thanks for lengthening my lifespan (if what they say about laughter is true), and for a great mood for the day.

And that's before even making any single font with the tool.

alterom··on XCancel service is suspended until further notice
>scraping content is mostly legal, redistributing content is not.

So, I take it some Twitter users took an issue with their tweets being redistributed by another platform and sued XCancel?

Because surely you're not claiming that Twitter has any ownership of what gets posted on that platform, are you?

>if you started doing the same to, say, instagram content both meta and individual creators would sue you as well.

By that logic, Meta could sue me for posting my photos on other platforms.

Meta doesn't have a case here, and neither does Twitter, but something tells me Twitter is involved in this nevertheless.

alterom··on XCancel service is suspended until further notice
>Why wouldn't it be?

Well, for one, because xcancel was forced to suspend its service.

There's legal as in "what the law says", and legal as in "what the judge will order you to do", and the latter sense is not as clear-cut as we'd want it to be.

alterom··on T-Mobile to Charge $5 a Month for iOS 27 iPhone Handoff
>So you can use more than one iPhone as your primary phone. For example, if you have the new iPhone Duo but want to use your other 'standard' iPhone for the telephoto zoom camera capability, you could transfer your phone number from the Duo to that phone for the day if you're going to be out taking a lot of pictures. When you are done, transfer it back to the Duo, and the Duo will become your primary phone again.

Ah, so the functionality that switching the physical SIM card gave you instantly and at no cost at all.

Thanks, I hate it.

alterom··on SQLite as a Document Database (2020)
>It almost always does. People put so much effort into building layers of abstractions to avoid using SQL, while just writing it directly would be much faster, easier, more readable, easier to maintain, modify, and debug. I do not get it.

When your data is literally hierarchical and all you need to do is read/write one Big Object, "just using SQL" makes no sense.

I used SQLite because it makes a lot of sense to use as an application file format[1], i.e. as an alternative to writing directly to the filesystem.

The hierarchical data was a mix of parameters and huge blobs, so text-based JSON was a no-go, size-limited BSON was a no-go, at which point I asked myself if there was a reason to not just use SQLite, and found none.

[1] https://sqlite.org/appfileformat.html

alterom··on SQLite as a Document Database (2020)
No it did not. The data wasn't relational.

The ORM was the smallest part of it, I could have written/read from JSON too, but SQLite was just a far better choice for a mix of structured data and big blobs.

The thing it replaced was writing to a file at a predetermined offsets. Which became very fun as the file format changed between versions and backwards compatibility needed to be maintained.

alterom··on Silicon Valley is transforming the military-industrial complex? (2024)
Wait till they find out where the Internet came from.

Or what drove the demand for silicon in the first place.

As for "transforming", that happened some time during the Vietnam war when the laser-guided bomb was introduced. Been a smooth sailing ever since.

alterom··on The UN challenges five centuries of cartography
> Interestingly, to counter the people who say that the best thing to learn from is an actual globe, a couple of children's globes of the world that I had as a child had large metal caps around the axle that obscured most of Antarctica.

"I had toy globes which, unlike actual globes, covered up significant chunks of Earth, so actual globes are bad"

Solid logic, mate.

alterom··on Growing proof that autonomous cars save lives
>Interesting that Waymo chooses to compare accident rates with the average driver vs the rideshare drivers their cars replace

"Interesting" is doing so much heavy lifting here.

Fully agreeing with your other points as well.

alterom··on Coyote v. Acme (1990)
Acme is just a way of calling your company "Best Brand" or "Peak Product" while being just a tiny bit less pretentious about it (and, conveniently, getting yourself listed before "American Anything" in lexicographically sorted lists).

It was only a matter of time before company names like that would be mocked.

That said, Best Buy is still a thriving business / brand (as are American Apparel and AAA).

alterom··on SQLite as a Document Database (2020)
A long time ago, I wrote an ORM to serialize/deserialize object data seamlessly into SQLite, with massive arrays of floats being stored as blobs.

In code, I could effectively mark which class members need to be stored/restored, and optionally provide a custom serialization function for them if needed.

The latter was effectively never necessary, because all the bases types and multi-dimensional arrays were handled by templates.

Really wish I open-sourced that thing then, but the corporate bureaucracy around that was tricky.

I remember sufficiently little about implementation details now that I think I can get to writing it again, without producing a copypasta of that code - and maybe I should :)

alterom··on SQLite as a Document Database (2020)
Wait, are all of those shared online?

That was the part I really missed from my Google days.

That, insane achievement badges, and terrible-ideas-discuss (if anyone at Google is reading this, I have one word for you: dirigibles). It was like /r/NonCredibleDefense but for Google.

alterom··on MS Paint and Photos inivisibly watermark even locally generated output with GUID
JSPaint to the rescue:

https://jspaint.app/

It's a pixel-perfect modern clone (with some actually useful extras that won't get in the way unless you look for them), and yes, you can clone the repo and run it locally.

alterom··on Turns are Better than Radians (2022)
>As an API it might not be convenient but consider converting angles internally into a tuple of sin and cosine

My friend,

it's called a complex number. A unit complex number, to be specific.

>Recall rotation is a linear transformation with a matrix whose entries are in terms of sin and cosine.

That's what multiplication of complex numbers is.

Can't wait till people here rediscover that a 3D rotation matrix has an axis-angle representation whose composition is given by quaternion multiplication.

At that, children, is why learning mathematics is important.

alterom··on AI isn’t outthinking mathematicians, it’s out-remembering them
The bandwidth is absolutely there ("we tried this and it didn't work" is totally the stuff of conference discussions).

The incentives are not.

The incentives are skewed towards "a magician never reveals her secrets". The results are presented as if a rabbit got pulled out of a hat, with a maximum ta-da! effect, and little backstory of how the hell did we get there.

Don't get me wrong, these things are discussed, often over beers (you better drink it you want to make a career in the field).

But not published.

The younger mathematicians are trying to change that with the blogging culture. But the professional incentives aren't there. (In corp-speak: can't put blogging on perf). They burn out.

That's why math blogs usually come from either the top dogs in the field, like Terrence Tao, who don't need to care about perf, or people outside academia.

That's one thing that I hope the disruptive/destructive effects of LLMs will force mathematicians to face.

As one of my fellow mathematicians sarcastically wrote¹, we've reached a point where we should become a cult because we're acting like one anyway.

The other possibility is, of course, that the shake-up will take us precisely into that direction.

My point here is that the real problem here is not mathematical; it's a social one: incentives and politics, organizational structures, policies, allocation of jobs and funding.

All of this directly impacts how we do mathematics, who we do it with and teach it to, how we teach and communicate, and, of course, what math we even do and look at.

Given that, I'm neither too worried about humans vs. AI standoff, nor hyped about the Glorious New Future full of AI-assisted discoveries.

AI or not, the organizational issues in the field are still there, as are the incentive structures (including the infamous publish-or-perish).

We are doomed, yes, but by our own hands and committees. And it's up to us, not the AI, to get us out of there.

The little shove from the AI might be just the thing we need.

____

¹ https://www.mcsweeneys.net/articles/an-open-letter-to-the-ma...

alterom··on We finally learned to center a div, then browsers added sidebars
See, I'm keeping my siidebar open most of the time, so I WANT it to cover the content that would otherwise be visible - said no one ever.

But yay, it's centered relative to the window now! God forbid the user tiles their windows, because it breaks the aesthetic the website author intended.

alterom··on We finally learned to center a div, then browsers added sidebars
I mean, this could have applications, if you need to be facing a certain direction to read the content.

While the Silicon Valley is merely a figurative Mecca for all things tech, Apple could require people to be facing Cupertino if you want to watch a WWDC stream :D

alterom··on We finally learned to center a div, then browsers added sidebars
I hope the author gets the point then.
alterom··on LG to ban residential proxies from smart TV apps
Well it doesn't sound like you're having much luck with that setup, or would award it any gold stars, so there's that.
alterom··on So Reddit has decided that plain HTML is unsafe
Bastards. I didn't notice.

Welp. I guess most people who are/were using it also had accounts.

alterom··on Tesla Balance Bike
Seriously though.

Musk promises self-driving cars, hyperloops, tunnels, and what they actually deliver is... a †balance bike*?!

Satire is dead, because I can't imagine a worse self-own.

alterom··on Tesla Balance Bike
....Why?!
alterom··on AI advice made people 3x less accurate but 2x confident, researchers found
>. AI is going to be internet hug box echo chambers at an unbelievable scale.

More like hotbox of one's own farts, but yeah

alterom··on Reviving a 15-year-old netbook with Arch Linux
Asus, not Acer :)

They pioneered the netbook with the EeePC line.

Sadly, they didn't keep it alive.

alterom··on Reviving a 15-year-old netbook with Arch Linux
I had the 1000HE too, and ran everything from LaTeX to DAWs on it.

The only serious contender in that category now IMO is Chuwi Minibook X.

alterom··on Regressive JPEGs
This is the stuff that I come here for.
alterom··on I'm a USB-C Maximalist
Oh, a great new idea then!

What if the same port could be on both headphones and phone?

For convenience, we could make it, like, round so it could go in which every way.

Then you could use whatever male-to-male cable you want if and when the one you have goes bad.

alterom··on I'm a USB-C Maximalist
>so that, again, you could use the headphones while you charge them.

Yes! And you could charge them off your phone!

If I could dream: wouldn't it be nice if you had headphones with charging cables attached to them so that you never had to worry about losing them.

And phones could have a convenient extra port for plugging such headphones into.

Ah, one could only dream.

alterom··on I'm a USB-C Maximalist
My XReal Beam Pro¹ has two USB-C ports: one for charging, one for Thunderbolt video output (both support data transfer IIRC).

My other phones (Samsung Galaxy A23 etc) have a USB-C and a 3.5mm headphone jack as Lord intended, so I don't have the idiotic problem of choosing between charging or using headphones / aux cable / etc.

There's no reason to not have two USB-C ports and a 3.5mmm headphone jack too in a device that already costs hundreds of dollars and is, on average, brick-sized, other than fuck you, that's why (aka being "brave").

I.e., same reason that some phones (not mine) don't have a microSD card slot. Particularly those shipped with atrociously little internal memory at a time when a 1TB memory card costs a few dozen dollars.

Anyways, unless the EU rolls out new legislation (like the one that forced Apple to include USB-C on their phones), looks like it's not going to change any time soon.

Apple has enough money to bravely get away with whatever anti-consumer BS they want, paving the way for others to copy them for fashion and profit.

Sure there are exceptions (which is what I buy). But they're not the norm, as evidenced by comments here. Voting with one's wallet buys very little in terms of impact.

People still decry the loss of the 3.5mm TRRS headphone jack, which didn't really go away and never had to.

____

¹ It's an "AR processor", i.e. an Android phone without the phone plus 3D camera and special sauce

Page 1 of 17Next →