Readit News logoReadit News
sebular commented on One Formula That Demystifies 3D Graphics   youtube.com/watch?v=qjWkN... · Posted by u/msephton
smokel · 2 months ago
The formula is f(x, y, z) = [x/z, y/z], which does perspective projection of a 3D coordinate onto a 2D plane.

I can't really say that this formula demystifies things, but the video is nice if you're eager to learn about this.

sebular · 2 months ago
The way he animated points with an increasing z value made it click for me. Now, when I look at the formula it makes sense. The larger the value of z, the smaller your projected x and y will be. This checks out because things get smaller as they move farther away. Something that’s twice as far away will seem half as big.

The rotation formula eludes me.

sebular commented on The web runs on tolerance   shkspr.mobi/blog/2025/12/... · Posted by u/speckx
ktpsns · 3 months ago
The older ones among us remember when XML took over the world and everyone was supposed to use strict XHTML. It turned out that the strength of the HTML ecosystem was its fault tolerance. HTML4 was the "sloppy" answer to XHTML. It brought HTML back from a data language to a markup language. Every Markdown parser is similarly fault-tolerant as HTML parsers.

However, CSS and JS are not error-tolerant. A syntax error in a CSS rule causes it to be ignored. An unhandled JavaScript exception is a hard stop. This way, web does not run on tolerance.

sebular · 3 months ago
Nonsense. Open the console on l any mediocre webpage and you’ll see a stream of JavaScript errors. But it’s still working. One script crashes? Doesn’t matter to any other script. Unhandled exception? Rest of the app is still working fine. Hell, that button may work if you just click it again.

And CSS syntax error causing only that single line of code to be ignored while every other line of code works fine is the very definition of fault tolerance.

What else could you possibly want?

sebular commented on Thiel and Zuckerberg on Facebook, Millennials, and predictions for 2030 (2019)   techemails.com/p/mark-zuc... · Posted by u/badcryptobitch
DrewADesign · 4 months ago
** maybe edit of un-shame: ... is it?

* edit of shame: it's satire. Confirmation bias is a hell of a drug.

> there is a certain sense in which Mark Zuckerberg has been cast as 'the spokesman' for the Millennial generation — as the single person who gives voice to the hopes and fears and the unique experiences of this generation, at least in the USA

That is an absolutely bananas read of Zuck's place in American culture.

sebular · 4 months ago
I’m browsing around on this site and don’t see any indication that this is satire. I think your initial reaction is correct.
sebular commented on Show HN: I spent 4 months building Duolingo but for your life   three-cells.com... · Posted by u/maghfoor
sebular · 6 months ago
Congratulations! Beautiful design, very simple and appealing. The onboarding flow filled me with optimism, which I appreciated.

That said, I bounced off at the pricing. The $30 lifetime price isn’t something I find inherently too expensive, but I need to see if the app works for me before committing to it. It was weird that if I went forward with the free trial it would automatically put me on the exorbitant $3/week price. That option was repellent and got me worried about forgetting to either cancel or make the purchase. Compounding the issue was uncertainty about whether I even _could_ make the lifetime purchase after accepting the free trial.

Then I lost momentum and started thinking about how I was about to drop $30 on an app that’s just some HN poster’s 4-month project, and I have no clue how crippled it will be if (when) you decide to shut down the API.

If you’re confident the app itself is habit-forming, I’d recommend just letting people use it for a couple weeks and then hitting them with the paywall. And when you’re asking for that kind of money and using the word “lifetime”, I’d describe how you’re going to guarantee that to the user, even if they’re the only person who ended up buying your app.

Edit: Now I’m stuck on the payment options screen with no way to delete my account. Not happy about that.

sebular commented on Fix photogrammetry bridges so that they are not "solid" underneath (2020)   forums.flightsimulator.co... · Posted by u/Bluestein
caseyy · a year ago
I don’t think AI is necessary here, nor more data. You can post-process these bridges by voxelizing them and carving out the bottom. There are many heuristics to use. And with sanity checks to discard bridges the post-processor can’t handle, it could successfully clean up 80% of them.

I have built systems that turned organic meshes into voxel and sparse voxel octree representations, modified them, and produced meshes of various parameters. It is doable, sometimes you just need to dig into the academic papers for a month or so.

Probably the team just has higher priority work. Building this post-processor for bridges seems doable by one engineer over a quarter. But the bridges being represented better than they are today won’t likely sell more copies of the flight simulator. So it’s probably very low priority to fix.

sebular · a year ago
I don’t know about that. Flying under bridges has got to be one of the most popular simple joys available in a flight sim.
sebular commented on Rapier is a set of 2D and 3D physics engines written in Rust   rapier.rs/docs/... · Posted by u/excsn
sebular · 2 years ago
I made a simple web game using Rapier that takes advantage of the deterministic physics to prevent cheating by running physics and computing win/loss states on the server (though I stupidly haven’t implemented the high score board yet).

It’s an homage to the old Taito electric arcade game “Ice Cold Beer”

https://beerbubble.xyz

sebular commented on The fight over California community solar: ‘It’s everyone vs. utilities’   canarymedia.com/articles/... · Posted by u/miguelazo
TheLoafOfBread · 3 years ago
If it would be up to free market, you would be paying for supplying electricity from your solar panels to the grid during day (because there is nowhere to store it) and paying for feeding electricity of the grid during the night (because somebody must make it)
sebular · 3 years ago
Nobody would pay to supply to the grid. If it came to that, panels would have an automatic shutoff, or some device that burns off excess electricity by doing pointless work.
sebular commented on What is really going on at Amazon Fresh?   emaggiori.com/amazon-fres... · Posted by u/amrrs
CodeWriter23 · 3 years ago
My wife and I tried to get into our local Amazon Fresh. Sign outside said open Amazon app and scan upon entry. We were ok with that idea.

Got to the turnstiles, and the devices there demanded a palm print, no apparent scanners to scan a phone anywhere. We walked out and will never walk back in, especially considering the jackass carting out in the parking lot ridiculed us for refusing to surrender biometric data to give Amazon our money.

sebular · 3 years ago
No, you misunderstood the interface. While they certainly encourage you to use the weird biometric scanner it's in no way required. However you do have to have the Amazon app installed on your phone. When you open the app there's an option to reveal a QR code which you scan at the turnstiles.
sebular commented on Why Steam Deck Is One of the Most Significant PC Gaming Moments in Years   techspot.com/article/2620... · Posted by u/thunderbong
RDaneel0livaw · 3 years ago
Not bad at all even when on full - if you have sound up or headphones on you won't even notice. The one thing that does bother me though about the fans is that sometimes they repeatedly go on/off in rapid succession over and over and over. I think whatever game is running must just be RIGHT at the thermal threshold so it keeps going under/over and triggering the fan to turn on and then shut off. I wish in these cases it would just switch on for good and stay on low rpms instead of all the on/off.
sebular · 3 years ago
Try using the thermal limiting feature in the right-hand battery menu. Any game I’m playing, I bring it down as far as I can without unacceptable impact to performance. Often I find that I can set it to 7-9 and the fan goes nearly silent without any major performance impact.
sebular commented on Web IDE Beta   docs.gitlab.com/ee/user/p... · Posted by u/notpushkin
tlonny · 3 years ago
I moved from vim to VS code as I found the vim IDE experience slightly lacking. Recently I've found myself getting more and more fed up with how sluggish VS code feels.

With the push from a friend, I tried neovim with the requisite LS plugins and I'm never going back. It's lightning fast and has feature parity (at least the ones I use) with VS Code.

Its a bit of a bitch to setup, but there are preconfigured solutions out there (NVChad, LunarVim, AstroVim) if you want to skip all that bullshit and just get coding...

Definitely recommend giving it a go!

sebular · 3 years ago
NvChad is excellent. I recently finished converting my older .vimrc-based configuration to an entirely lua-based one on top of the base NvChad setup and it‘s just perfect.

u/sebular

KarmaCake day571February 5, 2014View Original