HNHacker News
TopNewBestAskShowJobs

seivan

3,286 karma · joined June 21, 2010

submissionscomments
seivan··on How I use Obsidian (2023)
I've been doing this as well, but using regular editors. What benefit does Obsidian give here that a text editor doesn't give? You just want to write/paste something for storing but I never understood why I needed a different editor for it.
seivan··on Bible and Quran apps flagged NSFW by F-Droid
Right, I wonder what else is under NSFW. Are they really forcing users to enable NSFW which includes actual smut, in order to get a bible app? This is malicious.
seivan··on Show HN: Rift – A tiling window manager for macOS
A killer feature that none of the tiling managers for macOS will ever implement for reasons I don’t know why:

Make it so I can double tap the cmd key to see outlines of windows and allow me to swipe using the touch board to shift windows around into pockets space.

seivan··on Valorant's 128-Tick Servers (2020)
CS hasn’t been a paid game since it was a mod for HL back when you needed cd-key for online, which predates Steam.
seivan··on Valorant's 128-Tick Servers (2020)
Network connection, lobby, matchmaking, leaderboards or even chats, yes. But the actual simulation, probably not for fast paced twitchy shooter.

Also not just for performance reasons, I wouldn’t call BeamVM hard realtime, but also for code. Your game server would usually be the client but headless (without rendering). Helps with reuse and architecture.

seivan··on Parrot – type-safe SQL in Gleam, supports SQlite, PostgreSQL and MySQL
The best query builder I’ve seen is Kysely and it works because of anonymous sum types. So far no other library in any other language has come remotely close. You’d think Rust would have that level of type safety, but alas no.
seivan··on Parrot – type-safe SQL in Gleam, supports SQlite, PostgreSQL and MySQL
What are the options for GenServer, GenStage, Tasks, Supervisors in gleam?
seivan··on Beyond OpenMP in C++ and Rust: Taskflow, Rayon, Fork Union
Wow that was a big difference between rayon and fork union. But it’s still missing convenience apis for drop in par_iter().
seivan··on NixOS moderation team resigns in protest of Steering Committee interference
What is “their work” exactly?
seivan··on Python-Style Kwargs in TypeScript
That would pollute the namespace. The type could be namespaced under the function signature, it's not its own type unless you extract it with FunctionParamater<typeof ..>[0] or along those lines.
seivan··on Python-Style Kwargs in TypeScript
I wish rust and typescript had this builtin. Obj-C and Swift spoiled me. Named/keyword arguments is worth the verbosity. Maybe not Obj-C-tableViewcellForRowAtIndexPath level, but still.
seivan··on New US curb on high-skill immigrant workers ignores evidence of its likely harms
You forgot how beholden the visa holder is, which aside to cost is the other benefit.
seivan··on Ask HN: How do you choose languages for building applications?
Static typing is a must unless the compromise is worth it. For instance even without static typing Elixir is worth it for OTP and the preemptive scheduler (VM) is just a bonus.

But then you also have to include what type of application it is. Real time or soft real time, etc.

seivan··on Zig feels more practical than Rust for real-world CLI tools
How did AWS mess up errors?
seivan··on MacBook Pro Insomnia
You don’t need that application that sounds like a narcotic.

That’s built in, “man caffeinate”.

seivan··on Jujutsu for busy devs
The way I understand it, its for those who can't help but to fix B while working on A and want to make sure that they are two different PRs? The way I do it is after B is done, I just create a new branch and point B to A in the PR. A is pointing to dev/master/upstream. Does JJ make this workflow more convenient?
seivan··on Moonbase Alpha: That time NASA made a meme video game
The training course to sneak past behind enemy lines for the SF role was the hardest, lol.
seivan··on Moonbase Alpha: That time NASA made a meme video game
I loved how slow that game was, my favourite map was the bridge one, before they added the ridge so you could circumvent the bridge as a chokepoint.
seivan··on Better Auth, by a self-taught Ethiopian dev, raises $5M from Peak XV, YC
What’s the monetisation strategy here? Raising 5M for what exactly?
seivan··on Introduction to the A* Algorithm
If you want cohesion between entities pathfinding, adjust the cost when you do the pathfinding for tiles that has friendlies on them to be lower than their base cost.

The way to think about water crossing with naval transports, is to consider those things to be conditions. You already have a set of condition when pathfinding. Just add another case for water. Make it so the requirement is that you’re either on a ship or there is a ship on the adjacent tile you checked previously, e.g N-1. If valid, set a flag and now every tile check that is water should be appropriate.

seivan··on Waymo rides cost more than Uber or Lyft and people are paying anyway
This is the address they gave to the driver,full stop. After the job’s done, you can’t just tack on extra requests like it’s a buffet. He delivered exactly what you asked, not a mind reading bonus round. It’s not his fault you gave the wrong address, he’s not clairvoyant.
seivan··on Show HN: I rewrote my Mac Electron app in Rust
Why are you against the idea of an optional feature that lets them keep using Tauri while maintaining browser parity? You don't have to use it.
seivan··on Whisky is no longer actively maintained
F16C/AVX2 support amongst other stuff.
seivan··on Show HN: Nue – Apps lighter than a React button
Jesus, this is a regression not a feature, for christ sake. Typed CSS via emotion/styled-components is an amazing feature to call it overkill. This alone is enough to dismiss nue.
seivan··on Koto Programming Language
The documentation and integration with Rust for this amazing, well done! Like other commenters, I also wish it had better static typing and looked more like Elixir with anonymous sum types and template literal types.
seivan··on DOGE's only public ledger is riddled with mistakes
Whatever metric you use to deny certain sources, should be used on this one, but it's not. Especially now that it's proven that they are both ideologically & financially captured. There's no cause here, I am asking you to be consistent. You have changed policies in the past, but now that's not happening?
seivan··on Algebraic Data Types for C99
Swift, Typescript depending on your opinion with structural typing, and Rust.

Think Scala, Elm and Haskell have it as well.

Having that and elixirs pattern matching would be insane.

seivan··on Install Asdf: One Runtime Manager to Rule All Dev Environments
Whish there were some CLI to speed up this process actually. Just cd:ing into a folder should pull everything down for you to run iex/irb/node/etc as if it was native but running through the container.
seivan··on Ask HN: Any tool for managing large and variable command lines?
Snipkit and Pet.

I prefer Pet, mostly because Snipkit makes me verify 20 times (slight exaggerated) and doesn't give me the actual command so it'll be part of the shell history.

Honestly, just dump the command in my shell and let me press enter and make that the confirmation, but whatever.

You can give arguments with default values, so they are reusable across projects.

seivan··on I Am Alex St. John’s Daughter, and He Is Wrong About Women in Tech
Yup, same experience. Nerdy stuff is "white" stuff and peoples into gaming and tech were harassed and ridiculed by other immigrants.
Page 1 of 34Next →