HNHacker News
TopNewBestAskShowJobs

SwiftyBug

1,598 karma · joined January 19, 2019

submissionscomments
SwiftyBug··on Itiner-e: the Google Maps of Roman Roads
I was wondering the same thing about the road crossing the Douro between present-day Vila Nova de Gaia and Porto. Was there a bridge there during Roman times? Interestingly, it would be right where the Luiz I Bridge is now.
SwiftyBug··on [dead]
This was posted two days ago and has been flagged: https://news.ycombinator.com/item?id=45832954
SwiftyBug··on Bluetui – A TUI for managing Bluetooth on Linux
Same. First thing I did was replace the action of the bluetooth icon in Waybar with bluetui.
SwiftyBug··on Bluetui – A TUI for managing Bluetooth on Linux
From your comment, I'm assuming you're mostly familiar with interpreted languages. Chances are that you know JS/TS. If that's the case, I suggest that you give Go a go. The learning curve is way softer than Rust's and it's not too uncomfortable to someone who already knows TypeScript. And the advantage of Go over Rust is that the compile time is much, much shorter.
SwiftyBug··on </> Htmx – The Fetch()ening
Maybe they could just initially launch v3.1 instead of a v3.0. They would still be technically correct.
SwiftyBug··on S.A.R.C.A.S.M: Slightly Annoying Rubik's Cube Automatic Solving Machine
I mean, we've had RUN_DOOM for many years now, so why not?
SwiftyBug··on Rouille – Rust Programming, in French
I'm a native Portuguese speaker. Here, when people are first starting to learn programming, it's very common for them to write code in Portuguese. For example, they would write this simple age verification algorithm:

  int verifica_idade(int idade) {
    if (idade < 18) { return -1; }
    return 1;
  }

  int main() {
    int idade;
    scanf("%d", &idade);

    int verificacao = verifica_idade(idade);
  
    if (verificacao < 0) { printf("Acesso negado\n"); }
    else { printf("Acesso liberado\n"); }

    return 0;
  }
Do French (or other languages) speakers also do this?
SwiftyBug··on Show HN: Write Node.js code in Rust to achieve massive HTTP throughput
Not everyone knows Rust, but JavaScript is widely known. A library that delivers Rust-level performance without requiring developers to learn anything new would likely be very popular. That being said, if you need Rust performance, it's a better idea to just learn Rust. Is not that hard.
SwiftyBug··on Show HN: bbcli – A TUI and CLI to browse BBC News like a hacker
Me too! I found a few nice ones in the App Showcase page in the Ratatui website: https://ratatui.rs/showcase/apps/
SwiftyBug··on Show HN: A better Hacker News front end
I too wish hacker news had that by default. I use this extension: https://addons.mozilla.org/en-US/firefox/addon/vihn/
SwiftyBug··on Did Space Debris Hit A United Flight Over The Rockies Thursday?
I have a paralyzing phobia of flying. I do, but It's always many hours of sheer terror. In my paranoia, I recently unlocked a new concern about air travel: what if a meteorite hits the plane? That would certainly be catastrophic. And now I've acquired a new one, space debris! Nice.
SwiftyBug··on Show HN: Glide, an extensible, keyboard-focused web browser
This is my dream browser. Thank you so much for this!! I love that by default all inputs work in modal text editing. Do you plan on adding more complete Vim motions do that? For example, daw to delete the word, D to delete to the end of line, etc.
SwiftyBug··on Python-Style Kwargs in TypeScript
I use that approach to group options in a single parameter. But then not only the options parameter must be nullable, but also its properties:

function findAll(tableName: string, opts?: { where: Record<string, any>; limit?: number; sort?: "DESC"| "ASC" }) {}

SwiftyBug··on Expert: LSP for Elixir
How about "Fairly Knowledgeable, Always Humbly Ready to Learn from Others"?

FKAHRLO for short.

SwiftyBug··on From M1 MacBook to Arch Linux: A month-long experiment that became permanenent
Does it handle foreign country customs too?
SwiftyBug··on From M1 MacBook to Arch Linux: A month-long experiment that became permanenent
I've been finding myself liking TUIs more and more. I've been using lazygit, lazysql, and lazydocker for over a year now, and not once have I felt the need to use their native GUI counterparts. I'm getting to the point where I wish almost everything was a TUI. I think that as a macOS user, TUIs are simply better if your goal is to rarely leave your keyboard's home row, especially when TUIs implement common vim patterns like slash for search and hjkl for navigation.
SwiftyBug··on From M1 MacBook to Arch Linux: A month-long experiment that became permanenent
One thing I couldn't find in your post was the reason behind choosing the ThinkBook. I'm about to make the exact same switch you did (thanks for bringing up Omarchy, I hadn't heard of it before!). I'm considering a ThinkPad P14s. What made you decide on the ThinkBook?
SwiftyBug··on From M1 MacBook to Arch Linux: A month-long experiment that became permanenent
Same thing for me. Except that I don't feel comfortable disabling everything that needs to be disabled for Yabai to work. My solution was to use AltTab[1] (switch windows, not apps) and not use the fullscreen options. I keep windows sizes maxed, I don't have the Dock visible. I just need to alt + tab to quickly switch windows.

[1] https://github.com/lwouis/alt-tab-macos

SwiftyBug··on Cursor CLI
What do you mean? I've been patiently waiting for the death of Xcode for a long time. Do you think it's near?
SwiftyBug··on Gleam v1.12
The Gleam community has been the best, most welcoming community I've ever seen on the internet. And I've been a around for a while. I attribute this in part to their clear stance.
SwiftyBug··on GitHub pull requests were down
Right in the middle of a huge rebase. Great!
SwiftyBug··on HTMX is hard, so let's get it right
I think this debate is as old as time. I can see value in arguments both for and against this pattern. It's just a pattern. GraphQL does the same thing. As long as the consumers of that endpoint is aware of that behaviour I see no harm. In most cases, these endpoints serve only the frontend of the app. I would avoid doing something like that for a public API though.
SwiftyBug··on Nova: A New Web Framework for Erlang
And "nova" in Portuguese!
SwiftyBug··on Crush: Glamourous AI coding agent for your favourite terminal
I completely agree with you, but let's not pretend that Go's dependency manager is free from supply chain attacks vulnerabilities. The whole module mirror shenanigans took a hit on my trust of Go's module management.
SwiftyBug··on Palestinian who helped make Oscar-winning No Other Land killed in West Bank
Welcome to Hacker News. We talk a lot about tech stuff, but the occasional culturally-relevant news also gets to the front page.
SwiftyBug··on Why Elixir? Common misconceptions
Also, Gleam fully supports Elixir packages.
SwiftyBug··on Why Elixir? Common misconceptions
Nubank, Latin America's most valuable bank, relies heavily on Elixir and even acquired Plataformatec, the company where Elixir was created.

A blog post by them about this: https://building.nubank.com/tech-perspectives-behind-nubanks...

SwiftyBug··on Swift-erlang-actor-system
I didn't know that Fly.io uses Elixir! They even have an entire blog dedicated to their use of Elixir: https://fly.io/phoenix-files/
SwiftyBug··on Man wearing metallic necklace dies after being sucked into MRI machine
This reminds me of something I've always thought that Toph – spoiler about Avatar: The Last Airbender – should also be able to blood bend since she created metal bending and the blood is full of iron.
SwiftyBug··on How to Firefox
One thing that keeps me on Firefox, that I've never seen another browser implement, is per-tab profiles. Chrome and Safari also have profiles, but they require one profile per window.
← PreviousPage 3 of 18Next →