News for hackers. Stuff that matters.

fortunateregard

Re:Hetzner switches to new billing model on Thursday February 29, 2024 @01:05PM (#39552788)
I've had a similar experience where my account was banned despite providing all the info they requested (including my passport).

Hetzner was the only provider where I was banned despite providing everything I was asked for. I've deployed services on plenty of providers (AWS, GCP, Digital Ocean, Vultr, etc) without issue.

Apparently, this has been an on-going struggle for them. A few weeks ago they were even called out on an episode of the syntaxFM podcast for this behavior after one of the hosts had his account banned [0].

It's still a bit of a mystery to me honestly. Is their fraud detection so poor where they're forced to ban new sign-ups in this manner? How can Hetzner's competition tell that these accounts are legitimate (without ridiculous requirements such as passport) and Hetzner can't (even when provided with full home address, passport, etc)? I'm assuming Hetzner can't because they've seemingly developed a reputation for banning legitimate developers and the only reason I can think of where they'd be fine with that is if they actually have a very difficult time telling whether an account is legitimate or not.

[0]: https://twitter.com/stolinski/status/1750226126499139665

That sounds awful. Can you export your bookmarks as csv or json? If so, you can use duckdb (or xsv) to clean any duplicates.

While you're at it, I'd recommend to consider uploading the new bookmarks to a dedicated bookmark manager and avoid having the browser manage your bookmarks. For folks who rely on bookmarks, dedicated bookmark managers offer great value (eg. auto-archiving a copy of every bookmark to combat link rot). I currently use Raindrop, but if I were to start fresh I'd go with Linkwarden instead.

Re:NixOS Wiki – the unofficial user wiki on Saturday September 30, 2023 @08:54PM (#37721476)
Here is the source on github in case you're still unable to access the page: https://github.com/ryan4yin/nixos-and-flakes-book
Re:TypeScript NPM Packages Done Right on Sunday September 24, 2023 @08:29AM (#37632495)
Re:Sites like HN on other topics? on Friday September 22, 2023 @02:05PM (#37615454)
Also see this userscript to "Bring back the peace on Twitter": https://github.com/antfu/userscript-clean-twitter
Re:NixOS Wiki – the unofficial user wiki on Sunday September 17, 2023 @12:41AM (#37541588)
It would be useful if the wiki articles showed a 'last modified at' date. Articles like this [0] dominate search results, but it's not clear how outdated the info is.

In case anyone is looking for an up-to-date NixOS guide/cookbook, I've found lots of value in this [1] resource.

[0] - https://nixos.wiki/wiki/PulseAudio

[1] - https://nixos-and-flakes.thiscute.world/

Re:The Case for Nushell on Thursday August 31, 2023 @09:27PM (#37345712)
Hover/go-to-definition seems more like a nice-to-have than a requirement. Either way, neovim support can be found here: https://github.com/LhKipp/nvim-nu
Re:Film Review: BlackBerry on Thursday August 31, 2023 @12:21PM (#37339680)
Margin Call
Re:Tell HN: Service Workers === Browser Background Tasks on Wednesday August 30, 2023 @06:03PM (#37329739)
> PS - Why do you think this is an overkill solution?

Only because my use case is very trivial and does not require most of the features. On the other hand, it did get the job done on the first try so I can't really complain.

Re:Tell HN: Service Workers === Browser Background Tasks on Tuesday August 29, 2023 @05:17PM (#37314250)
If you want to intercept and modify a incoming json response for some specific url pattern, would a service worker be a good way to do so?

To illustrate, assume I frequently browse a blog and want to trick my browser into thinking that I have "favorited" every post. It's trivial to write a for loop that iterates over response.json and sets `is_favorite = true`. But it's not as clear to me where this script should ideally live in order to have the logic always executed before the response is made available to the site.

Your comment made me think about whether I can replace my overkill solution (https://requestly.io/) with something lightweight.

> I can speak new instances of my environment into existence

You're not kidding. I used nixos-anywhere [1] for the first time the other day. You can point it to any linux host and it will partition, format, and supplant the target's existing OS with your nixOS config, all with a single command. Incredible.

[1] https://github.com/numtide/nixos-anywhere

> How do you use Nix on a project, any tips?

Combining nix with direnv is a popular combo for dev environments. Example: https://determinate.systems/posts/nix-direnv

If you haven't worked with nix before, the quick start here is a good place to start https://zero-to-nix.com/

Re:The Future of the Vim Project on Thursday August 10, 2023 @07:40AM (#37074843)
What is it that prevents the rest of the vim community from adopting neovim? From what I can observe, a great deal already have. But for the folks holding out, what is it that outweighs all that neovim has to offer?
Re:Sourcegraph is no longer Open Source on Tuesday July 04, 2023 @04:48PM (#36592344)
I'm not sure. What?

Is there a reasonably legitimate reason to stop using this?

Re:Sourcegraph is no longer Open Source on Tuesday July 04, 2023 @01:50PM (#36590179)
The button on the browser just navigates to the URL `git-peek://https://github.com/name/repo`. How your system handles this git-peek protocol is completely up to you. While the git-peek package does offer to setup a handler for this custom git-peek protocol, I went ahead and set it up manually. Now, my system calls this bash script whenever it encounters the git-peek protocol:

  #!/usr/bin/env bash
  # Expects a single argument: git-peek://<path>
  # Example: git-peek://https://github.com/Jarred-Sumner/peek
  kitty --single-instance --detach -e zsh -c "source ~/.zshrc; git peek $1"
You can set it up to do anything you like.
Re:Sourcegraph is no longer Open Source on Tuesday July 04, 2023 @12:57PM (#36589348)
Yesterday I found out about git-peek (https://github.com/Jarred-Sumner/git-peek). Instead of describing how satisfying it is to use, here is a GIF: https://imgur.com/a/cT8zAha

It uses a temp directory, and deletes it when you close your editor.

Re:Thoughts on Svelte(Kit), one year and 3B requests later on Thursday June 22, 2023 @06:58AM (#36430304)
Rich Harris demo'd an upcoming "shallow routing" feature a few weeks ago: https://youtu.be/HdkJTOTY-Js?t=419

around the 7:00 min mark

Re:Ask HN: Advice on Starting a YouTube Channel? on Saturday June 10, 2023 @10:53PM (#36277519)
Or drag this bookmarklet to your bookmarks bar.

  javascript: (() => { document.getElementsByTagName('video')[0].playbackRate = prompt("Set video speed multiplier:", "3"); })();
Re:Vim Keybindings Everywhere – The Ultimate List on Thursday May 04, 2023 @09:12PM (#35824184)
I like Vimium. Besides the basic stuff, my favorites are:

`yt` yank (duplicate) a tab

`W` detach tab to new window

Re:Vim Keybindings Everywhere – The Ultimate List on Thursday May 04, 2023 @02:25PM (#35819946)
Also see vim-like-pile[1]

[1] https://vim.reversed.top/

Re:Vim Keybindings Everywhere – The Ultimate List on Thursday May 04, 2023 @01:46PM (#35819369)
In that case give firenvim[1] a try. It uses your existing config (keymaps, plugins, autocmds, etc).

[1] https://github.com/glacambre/firenvim

Re:Kysely: TypeScript SQL Query Builder on Tuesday January 24, 2023 @09:23PM (#34513588)
Safeql[1] can also be a good middleground. Adds type checking to prisma raw queries.

[1] https://safeql.dev/compatibility/prisma.html

Re:Getting Started with Tmux on Sunday December 11, 2022 @09:41PM (#33950242)
This sounds silly when I say it out loud, but reaching for the number row always felt like a chore. Of course, when I had to input numbers, I'd still have to reach for the number row. But when numbers were optional, say for vim bindings that take a `[count]`, I opted to look for alternatives instead.

A few months ago however, I bought a moonlander keyboard. Now, I've got one of it's keys that, when held, maps the right side to a full traditional numpad. Typing numbers is much more seamless now. Besides numbers, other keys that always broke my flow (looking at you right curly brace) are much easier to type.

Just thought I'd share as it really elevated my overall typing/vim experience.

Re:AWS us-west-2 issues on Wednesday September 28, 2022 @05:19PM (#33013422)
On an unrelated note, I opened this url in a new tab, took a quick look, then came back to read the comments.

A few minutes after I hear the fans on my pc start ramping up. Sure enough, I open the system monitor and see chrome going crazy on my CPU. In chrome, I open the task manager, then click sort by CPU. The entry at the top of the list reads:

> subframe: facebook[dot]com

I get taken to the open downdetector.com tab after double clicking the entry. After closing the tab everything goes back to normal.

Does anyone know why or what downdetector/facebook would do that requires 100% of my CPU's resources?

PS. I have ublock origin installed. My cpu is an i9-12900K.