HNHacker News
TopNewBestAskShowJobs

koromak

708 karma · joined November 3, 2021

submissionscomments
koromak··on How and why to make a /now page on your site
Working at company B

Working at company B

Working at company B

Working at company A

Working at company A

koromak··on NoTunes is a macOS application that will prevent Apple Music from launching
I have my lid open with my externals, I never seen my monitor alone fail to wake, but sometimes all displays refuse to turn on, even the laptop built in. Doesn't happen every time, but maybe 1/10 tries
koromak··on 100k Stars
I miss playing Elite Dangerous
koromak··on The API database architecture – Stop writing HTTP-GET endpoints
When is an app ever this simple? 95% of the time, you're transforming or combining data in the backend, between the client and the DB. Tables are never so pristine.
koromak··on When do we stop finding new music?
I find and listen to plenty of new music, for some reason I find it hard to listen to the teenage stuff. Even though I love it, its too fraught.

But, its not like I love any of the new music I find. I can like it, but I'm never going to blast it on repeat for weeks on end like 15 year old me could. Its hard to make an emotional connection like that as an adult.

As a result, I care less about music discovery. I know I'm not going to find a revolution in my own tastes. I know I'm not going to convince a whole group of friends to do the same, like you might in highschool. Its just a little more colorless now.

koromak··on Hardest problem in computer science: centering things
I gave up trying to center fonts and icons in every situation. I can't explain to my boss that I need 3 days to center a fucking button, especially when he doesn't even notice the problem to begin with.
koromak··on Ask HN: What older games are you playing through?
Demons Crest on the SNES was an absolute blast, don't know why it isn't talked about these days. I think its better than the SNES castlevanias, and close to Metroid.
koromak··on To make a fortune, target bored young men who want to make a fortune
At least on the Robinhood and crypto side, I think 20-somethings are just absolutely desperate. They look at their parents generation and see everything they aren't allowed to have. Working harder won't buy them a house. So they look for the jackpot somewhere else.
koromak··on Slay the Spire 2 Announced – Using Godot
I don't know how they can improve the game. Better art and music, but mechanically its already as close to perfect as you can get. I don't think a better balanced and mechanically rich deck builder exists.
koromak··on "It never gets easier, you just go faster." (2020)
I feel like it gets easier and slower. Obviously not at first, but a decade or two in? Once you start knowing all of those things you didn't know, you realize just how much consideration is required for every decision.
koromak··on The race to replace Redis
I'm actually sympathetic to the cloud provider angle. As of right now, that is the natural trajectory. The majority of high-value customers are going to go through a cloud provider.

Maybe some kind of new license is in order. Open source, but preventing cloud redistribution. I don't know, I can imagine the issues with that as well. You want AWS out, but you probably still want the small up-and-coming CI/CD tool in.

koromak··on Show HN: Godspeed is a fast, 100% keyboard oriented todo app for Mac
Yup thats exactly it. Thanks!
koromak··on Show HN: Godspeed is a fast, 100% keyboard oriented todo app for Mac
Does this have shared workspaces? Absolutely hate clickup, this seems like a good replacement if I can share workspaces
koromak··on Implementing system-versioned tables in Postgres
I actually "solved" this problem, though not for logging, and other restrictions made me move away from it. In our case it was for Row Level Security, but essentially we get our userId from a JWT in our API (you should already have something like that), then before each DB command, run a SET LOCAL auth.claums.userId = 'user_id'; Most ORMs let you set a variable like this automatically when opening a connection, so you don't have to think about it too much.

Then you can get as fancy as you want with RLS policies automatically attached to each table and validate the user based on a user table with capabilities. I have a feeling you could instead have the RLS rules automatically insert data instead, but I never tried it. It would have to be multiple updates though, perhaps a trigger/function.

The problem is SET applies to a session, and pgbouncer doesn't make guarantees about the session for a particular statement. Your statement might receive an existing session with another user's ID, or it might receive no ID at all.

Through AWS's RDS Proxy (beefed up pgbouncer AFAIK), the situation is slightly better, in that AWS will detect the modification to the session and 'pin' it to the current connection. Your data will be consistent, but pinned sessions can no longer be multiplexed, so you've basically removed the whole point of connection pooling to begin with.

Ultimately, its probably safer to just manually add the user into your queries. Its not that much overhead.

koromak··on TSMC to build second Japan chip factory
What happens if a war with Taiwan does break out? Who's poised to pick up the slack?
koromak··on jQuery v4.0 Beta
Hate to pile on, but this is absolutely not the definition of functional programming.

Functional programming uses stateless, immutable transformations to contorl data flow. The second you instantiate an object with some internal properties that change in memory, you are no longer programming functionally

koromak··on Pkl, a Programming Language for Configuration
40 years ago I wrote Assembly that ran directly on the CPU. You could modify the registers directly. Then these crazy people came along and made a compiled language? And it outputs... Assembly?

I'm sorry, but a huge chunk of todays "developers" really are in the business of creating problems.

koromak··on Another Roman dodecahedron has been unearthed in England
Some of them don't have any holes
koromak··on Another Roman dodecahedron has been unearthed in England
But haven't these things been found all over the world? Like as far as Vietnam. We've found hundreds of them.

"Its a cool object" doesn't quite explain its ubiquity, or the fact that they are almost identical looking despite which side of the globe their on. That suggests purpose to me.

koromak··on Free Godot engine port for Nintendo Switch
You find a company who does Godot ports and pay them, with zero visibility into the underlying tech
koromak··on Free Godot engine port for Nintendo Switch
In the PC-to-console world, there is no open solution. Everyone either builds their own ports, or (more likely) pays a porting company to do the work for them, who in turn have built there own solution. Console developer kits are proprietary, no one is allowed to share the API or source code.

This seems to be unique in that, if you get a License from Nintendo, you're allowed to access this companies kit for free.

koromak··on Too much serendipity
1) Its still very, very high in energy. We're built to use it. 2) Fruits contain all sorts of good vitamins and minerals along with sugar. Two birds with one stone. 3) I don't know if we are any less "attuned" to it than fat or protein. Most people would eat a good steak over a bag of candy.
koromak··on Relearning math as an adult
Always wanted to try this, but I've got a hangover from my highschool days. I was bad at math, or it was taught very badly, or both. I'm worried I'd need to start from zero, like Algebra 1 and Geometry
koromak··on GitHub Actions as a time-sharing supercomputer
On free runners I'd regularly hit the 1 hour limit. Took some time to set up self-hosted through EC2 and really optimize caching, its now down to 10-20 mins, depending on the repo. Most of that is because of the self-hosted runners, the free ones are painfully slow.

Still, on my local machine these jobs would take 5 mins so its not perfect. And as the build gets more complicated and more stages are added, the problem compounds since the initial download is the slowest part.

koromak··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
I certainly am unused to it! maybe I’ll ask some advice:

I’m trying to build a circuit simulator. It’s got two main problems to solve: placing and connecting drag and drop electrical components, and the simulation itself.

How would you go about this? The existence of the sim means there’s already guaranteed to be some global manager that understands the current layout and can compute from it. What I don’t know is if that means most things should be handled that way.

Should components be heavy, and make their own changes to the tree, and then let manager read the tree in and build up its schema that way? Or should components be just emit everything to the manager, who then can both build the tree and a state representation.

The second feels cleaner for this use case, but it feels not standard for Godot. Maybe it’s a bad project to start with.

I did build a basic platformer too, and found the distributed logic much easier to deal with there.

koromak··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
Until C# is first class, I still find GDScript more comfortable
koromak··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
Hypnospace Outlaw is the absolute MVP of this category. That game is a trip.
koromak··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
Bitburners does a pretty good job. Its an idle game with fairly limited "OS" emulation, but the best solutions require real thought and programming knowledge.

You'll be writing scripts to scan the net for open ports, automatically "hack" into them, then globally balance allocate memory between all of them according to certain parameters to make the hack the most "profitable". You'll be writing elementary socket communications, building scripts to feed analytics back to your home PC, even alogirthmic trading in a fake stock market. I had fun with it.

koromak··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
I would love a write up on design philosiphy. I'm currently learning Godot coming from web dev, and finding the distributed business logic impossible to organize. I just don't know who, what, or where business logic should be.

My urge is to lift logic up to the parent of any group of interactions, and let nodes just be renderers. But I understand that is absolutely not the design philosiphy of Godot, and probably won't scale.

koromak··on Databases and why their complexity is now unnecessary
Thats wild to me. Payment data is like, the most relational. You need to learn 20 different data models and all their many interconnected relationships just to implement a custom API integration. Maybe thats why it sometimes feels like pulling teeth to get the data you want out of a particular Stripe flow.

I used a document db for our side of the billing integration and I really, really wish I hadn't.

← PreviousPage 2 of 9Next →