Better HN
topnewbestaskshowjobs
Log inSign up

tokumei

46 karma · joined Apr 5, 2020 (6y ago) · 44 submissions

Submissions

comment 3y ago · link · parent

My mind works extremely quickly, have to stop myself from finishing other people’s sentences. I don’t think it’s a sign of intelligence, just perceiving the world a little bit differently.

comment 3y ago · link · parent

I really love ECS. I’ve shipped games with my own spaghetti mess of classes and poorly thought out inheritance (at least it feels that way) but ECS and composition just is much nicer for incrementally adding functionality without thinking about the big picture too much. I love that I can think about just one small feature I want to add instead of the overall grand design.

This might be bad design (no idea) but I’m working on an item system for a game right now. I have Item and ItemHolder components. If it’s a player, they’ll have an InputController component, which lets them use the Item in the ItemHolder, otherwise there is an AIController component that let’s an NPC use the item.

I have a system for handling every piece of functionality that can be defined in its smallest form, which makes it incredibly easy to add or remove functionality to any entity.

Also, performance is great. I have the mindset to not prematurely worry about performance until profiling now.

comment 3y ago · link · parent

Hashids are nice

comment 3y ago · link · parent

Falling asleep with ASMR videos is really amazing. So cozy~

comment 4y ago · link · parent

I grew up Austin, off the top of my head I remember (512) 485-5555 for Time Warner Cable and (512) 459-2222 for Gatti’s Pizza. I have no use for remembering these phone numbers anymore but I’ll probably never forget them.

comment 4y ago · link · parent

I've built a few custom engines over the past decode, also shipped a few games. I've lately been working with Bevy in Rust, and I really absolutely love it. It's the perfect framework (for me). Bevy gets out of the way enough where I don't feel like I have to fight with it, which is what always annoyed me with actual game engines. Plus, I love working with Rust.

comment 4y ago · link · parent

The dock folder is a nice touch. I’m still stuck in a GNU/Linux style mindset, which is a ~/Screenshots directory pinned to Finder.

comment 4y ago · link · parent

Never liked carts either. I can fit everything I need in a basket or in my hands. I don’t know why but it gives me very unpleasant feelings thinking about spending an hour at a grocery store with a completely filled cart.

comment 4y ago · link · parent

Same here. The first real dynamic website I created used flat files and PHP, because that’s what I learned from friends online. Then shortly afterwards I taught myself how to use MySQL.

I don’t use MySQL or PHP for anything nowadays, but was extremely useful to learn in the early 2000s.

comment 4y ago · link · parent

I haven’t really had a great experience with Flutter in the past, in my opinion I think React Native provides a better user experience. Developer experience is okay.

The best experience for users would be a library that handles business logic, as well as describes how the UI should be laid out, then building native clients that use that library.

comment 4y ago · link · parent

I would always use '>' in README files to indicate the command was to be ran in a command prompt window for Windows users, usually followed with context.

comment 4y ago · link · parent

Awesome! Really missed this behavior when Linux and tiling window managers were my daily driver.

comment 4y ago · link · parent

One thing with $ in a shell prompt - $ is meant to indicate the command should be ran as a normal user, while # indicates the command should be ran as a super user.

comment 4y ago · link · parent

I used to use GNU/Linux on the desktop for many years, now I mostly use macOS. I became the same kind of person I used to argue with online.

comment 4y ago · link · parent

> If you have a server with SSH access, just init a bare repo in a directory, push to that, and you're ready to go. No web UI needed.

Used to do that years ago for my personal projects. Honestly does the trick.

comment 4y ago · link · parent

It seems incidents like this with the big providers are becoming a lot more common. Wonder why that is

comment 4y ago · link · parent

CSAM only works by checking a hash. Photos of a stolen bike, especially ones that are sold online would probably have unique images taken by the thief.

comment 4y ago · link · parent

Also, all databases and app servers should be private, accessed by a bastion server. The only thing the outside should be able to reach are the load balancers/reverse proxies.

comment 4y ago · link · parent

Flash is terrible in retrospect, but I used to love making Flash games in high school by myself. Amazing experience.

comment 4y ago · link · parent

Never messed with LFS. I used Gentoo (and then Arch) when I had the luxury of more free time. Very fun to tinker with.

With Gentoo, waiting for your DE or web browser to compile was a great excuse to step away from the computer and go for a walk. The little things in life.

comment 4y ago · link · parent

I much prefer using a Result<T, E> type now, even in C++. Makes it easier to reason about the code in my opinion.

comment 4y ago · link · parent

Elixir/Phoenix used to be my go to as well. I’ve since switched to Rust with actix-web for backend web projects. I’m really happy with the transition.

comment 4y ago · link · parent

How does the custom script syntax work? E.g. ‘on click call some_func()’

Is there really a JS script parsing all of that? Seems like there would be performance penalty.

comment 4y ago · link · parent

Damn, I’m getting my hair cut at the wrong place. I like my guy though. He massages my head.

comment 4y ago · link · parent

These desktop applications look nice, but personally I’m much more comfortable with CLI tools. I have no idea what my colleagues are doing that use GUI git programs. I can’t even stand editor integration plugins.

Edit: On topic, just test k8s config changes in prod :^)

comment 4y ago · link · parent

Graphviz has really helped me in the past with troubleshooting giant CMake projects with lots of dependencies.

comment 4y ago · link · parent

It’s PDF, ideally with LaTeX.
12