HNHacker News
TopNewBestAskShowJobs

4pkjai

932 karma · joined February 24, 2016

submissionscomments
4pkjai··on PM2: Production Process Manager with a Built-In Load Balancer
I agree with you on that
4pkjai··on PM2: Production Process Manager with a Built-In Load Balancer
I think Kubernetes is unnecessary for the vast majority of deployments. Simple apps run perfectly fine with things like PM2, Monit and init.d
4pkjai··on How Netflix really uses Java
Yeah the problem with Java and a language like Kotlin is it has so many language features. Meaning programmers can do lots of hard to understand things.

I've been coding in C recently and really enjoy the limitations. Usually there's only one way to do something.

4pkjai··on How Netflix really uses Java
I had a close look at RxJava and decided I wasn't smart enough to understand it. I intentionally didn't tell my colleagues about it, they would have loved it and I would have been in big trouble.
4pkjai··on Game Programming Patterns (2014)
Yes, but often it's okay to do these 'unnecessary' updates. The real slow part is drawing a frame.

This kind of reminds me of the argument between immediate mode user interfaces and retained mode user interfaces.

4pkjai··on Agile Is a Tainted Term
A sales guy told me his team does Agile. I asked him what he meant.

“We have don’t have assigned desks”.

4pkjai··on A man has been swatted 47 times for making a joke about Norm Macdonald
The tweet that triggered the swatting

“Hot take: I’ve never found Norm Macdonald funny and was pretty sure all my comedy friends who did were either nuts or screwing with me”

Personally, I do not understand why that’s worth harassing the guy. There are strange people out there.

4pkjai··on Rich People Don't Talk to Robots
Didn’t like the tone of this post. Can’t wait for this person to be proven wrong.
4pkjai··on US developers can offer non-app store purchasing, Apple still collect commission
A lot of businesses spend more than 30% of their products cost on Google Ads.

I know plenty of people who sell something for $20, and spend $30 on Google Ads to get that user to their site.

4pkjai··on A new blog for 2024
The author and I look at this very differently. He aimed to have his blog up in five days.

Last time I created a blog I aimed to have it up that day.

IMO the text is more important than the HTML and CSS

4pkjai··on The worst kind of programmer
Agreed!
4pkjai··on The worst kind of programmer
I worked with a guy who did 12 hour days, closed tons of tickets but his code was full of bugs. We were writing trading software and he would handle errors by silently failing.

I worked with someone else who didn’t have a computer at home. Their coding style was “write code that I don’t have to support, I don’t want to get emails while I’m sleeping”. They wrote mega defensive and very boring code. Their code never has any bugs, but they took longer to write it.

Enjoyed working with person two, despised person one.

According to management, person two was not known and person one was a rockstar.

4pkjai··on Website search hurts my feelings
There’s a restaurant website in Hong Kong that lets you search by region.

However it shows restaurants that paid to be featured at the top of the results.

So the search results will often contain restaurants that are multiple hours away.

4pkjai··on Gas utilities used tobacco tactics to avoid gas stove regulations
I used to dislike induction tops but my Momma has a pretty good one. I’d be happy to switch to the one she has.
4pkjai··on Paying Netflix $0.53/H, etc.
I read a lot but Kindle unlimited never enticed me. I had a quick look at what was available and thought "I don't want to read any of these books".
4pkjai··on Making OKRs more playful using hill charts
I really don’t understand people who are interested in things like OKRs.
4pkjai··on Ask HN: What apps have you created for your own use?
I used to create Xbox Live Indie Games and the CSV reports they produced were full of bugs. However it was possible to clean them up to get the correct results. More of a script I suppose, but I ran it every time I wanted to see look at sales results.
4pkjai··on Building a Web Game in C
I'm working on a visual novel, and I suspect 'low tech' people will enjoy playing it. I also suspect 'low tech' people don't have steam installed on their computers, but they will know how to click a link and play a game in their browser.

I'm hoping to sell the game through Stripe on my own domain as well as on Steam. Time will tell whether I finish this game and whether the Web build defeats the Steam build.

I'm hoping Web wins.

4pkjai··on Building a Web Game in C
Alright here's a link to the HTML: https://github.com/BallerIndustries/raylib-wasm-example/blob...
4pkjai··on Building a Web Game in C
I think you can easily log out to the browser console.

I believe hooking up a debugger to your IDE is also possible. I haven’t tried it yet though: https://emscripten.org/docs/porting/Debugging.html?

Maybe I’ll give it a go and write about it in my next post.

4pkjai··on Building a Web Game in C
I’m happy for you to code your game however you want. I like doing it this way.
4pkjai··on Building a Web Game in C
Yeah I suppose you’re right. Probably makes more sense for new projects to be in Raylib than to move a Unity project over.

Another big thing is it doesn’t support iOS at the moment.

4pkjai··on Building a Web Game in C
You should be able to if you click view source in the example.

It’s a lot of not that interesting code so I didn’t include it in the blog post.

4pkjai··on Building a Web Game in C
Absolutely, when Unity changed their pricing I expected more people to switch to Raylib.

It really makes Game Dev fun again. Also it has tons of bindings (you don’t have to code in C)

4pkjai··on Bitcoin Core 26.0
How do you expect them to do that? Also I highly suspect a large portion of people on Github are aware that Bitcoin and other crytpo projects use a lot of energy.
4pkjai··on Nitrous oxide: Laughing gas possession to be illegal in three weeks
Lots of bars in Vietnam give this out for free.
4pkjai··on PDF Tool – Modify PDFs in the browser without uploading
Same! I’ve been meaning to make an offline HTML Cantonese dictionary with text to speech.
4pkjai··on Raylib – A simple and easy-to-use library to enjoy video games programming
Raylib is excellent, I've been working on it with the Rust bindings to build a little game. Very good API and awesome performance. Reminds me of Microsoft's XNA Framework.
4pkjai··on Don’t emotionally bootstrap your startup
This guy sounds insufferable.

First thing he says to his “coachee” is along the lines of “if I said what you just said to me, how would you feel!”

How about you just say what you think, instead of making her guess what you’re saying

4pkjai··on Try: run a command and inspect its effects before changing your live system
I'm too much of a cowboy for this, but I do recognise this is very cool.
← PreviousPage 2 of 6Next →