Better HN
topnewbestaskshowjobs
Log inSign up

algorithm_dk

681 karma · joined Feb 9, 2014 (12y ago) · 127 submissions

51d544
Submissions

1.

GPT-Neo on a M1 (macOS 12)(lazycoder.ro ↗)

5 points · by algorithm_dk · 4y ago · discuss

comment 5y ago · link · parent

This is clearly the hottest thing on HN right now, and it was bumped from #1 to #6, anyone knows why? Is it some kind of bot protection?

3.

Pwncat: Automating Linux Red Team Operations(youtube.com ↗)

9 points · by algorithm_dk · 6y ago · discuss

comment 6y ago · link · parent

The golden recipe: neovim, tmux, rg, fzf, i3/other tiling wm on nixos/arch

Fzf all you can, not just inside vim, but also use it to switch between tmux sessions in an instant. I have a tmux manager on top of tmuxp that is able to start / switch to already started sessions via fzf.

Identify patterns you use a lot and make snippets out of them. Create project templates.

Have a folder where you dump reference / things that need to be really easy to find, and set up vim to search into that instantly, no matter where you are.

Keep an inbox file to throw things in, make a wm bind a script to prompt for text and append it there via zenity. Don't throw links into it, it's gonna be a bookmark dump.

Make sure your todo system is a keybind away at all times.

Review your way of working, challenge, and improve it. Be lazy, but only when you afford it.

comment 7y ago · link · parent

simple things, like being able change the order of the columns in the network tab

comment 7y ago · link · parent

A lifetime in prison is the right punishment for rape.

comment 7y ago · link · parent

I want to use Firefox, and I would if it provided a faster internet experience, which it doesn't on Linux (compared to Brave/Chromium/Chrome). The devtools in Firefox lack basic features that have been requested for years. Too bad that these are the only viable options.

comment 7y ago · link · parent

I played with nvk quite a bit, very impressive.

comment 7y ago · link · parent

thank you for this awesome project, fd is a core dependency in my workflow. fzf with fd and rg in vim and in the shell has saved me so much time.

small recording: https://imgur.com/a/5BLjPGV

comment 7y ago · link · parent

Would the else branch trigger on a falsy value, or on an exception? It's a bit confusing, as it looks like it would handle exceptions on the else branch, even though we know we have to wrap await in try/catch for that.

Other than saving a few characters (the variable name), I don't see any benefit of this, while it makes code harder to read.

Too bad the `with` [0] keyword has been reserved for crap, it sounds nice (not for this, but maybe for something else).

>> and also requires you to start renaming variables (ie. row1, row2...) due them going over their intended scope

Variable shadowing [1] is a really bad practice that makes it hard for people to collaborate and keep the code sane. Bad habits are not a reason for language changes.

[0] - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[1] - https://en.wikipedia.org/wiki/Variable_shadowing

comment 7y ago · link · parent

Revolut's disposable card is awesome. I use it constantly.

comment 7y ago · link · parent

Can you please DM me the title of the book?

comment 7y ago · link · parent

i would never consider using an electron-based terminal, but for casual users it looks really pretty

comment 7y ago · link · parent

there's nothing acceptable over ssh

you can do steam in-home streaming over zerotier.

it's actually faster than geforce now

i have a raspberry set up so that i can plug it anywhere and work on my home computer

latency is so low that shooters are very much playable

you can use steamlink hardware as a client, or the newish raspberry pi release

comment 8y ago · link · parent

Having used XSSStrike, I must say it probably is the best public tool for hunting XSS.

comment 8y ago · link · parent

As a developer it is important to get to know your tools. You can disable the extension recommendations in your configuration:

- extensions.showRecommendationsOnlyOnDemand

- extensions.ignoreRecommendations

comment 8y ago · link · parent

About band, the steamlink is capped at 100mbps and it still works great

comment 8y ago · link · parent

Doesn't work, also the whole thing with Steam is that nvidia granted them access to their capture API

comment 8y ago · link · parent

Buy a Steam Link and a raspberry pi, and two usb eth adapters, create a ZeroTier network and configure the pi (openwrt) to get internet from one of the adapters and share both the internet connection and the zerotier connection over the second adapter. Configure the zerotier network on your computer and set ul Steam In-House streaming. Then you can take the pi and steam link anywhere, plug a mouse, keyboard and screen, and use your computer. I get 60fps at 1080p and no noticeable input lag over the internet (work to home).

If you use a nvidia card enable "force composition pipeline". There is also a Steam Link app for Android, and ZT client as well, works great.

comment 8y ago · link · parent

check out the mkcert project, it's awesome and can be automated so everyone in the team gets their own certs and CA

comment 8y ago · link · parent

Nothing new here, VSCode had this for a long time. Also I don't find anything wrong with shipping software with data collection on by default.

comment 8y ago · link · parent

cannot scroll on chrome (android) either

comment 8y ago · link · parent

I bet it's using mesh networking a la ZeroTier, I have a similar setup, working on my home desktop while being at my customer's offices. I get 15-40ms latency, 1920x1080 at 60fps and no noticeable input lag. Gaming works really well, but I only really use it to code.

I keep saying I'll write on how to set this up for cheap, but I didn't find the time yet.

Basic recipe: fiber, zerotier, one raspberry pi and a steam link

Edit: latency above referrs the display latency, the latency between the machines is between 2 and 10 ms

comment 8y ago · link · parent

Well, if you think that, why are you arguing over a submission about a component for one of those frameworks? You think it's useless just because you don't use something like Vue?

I'm not sure if you're trolling or not at this point.

comment 8y ago · link · parent

Why not cut out the middle man and just apply the css directly Well one could extend this and argue that there's not need for frontend frameworks as you can manipulate the dom directly. Two way data binding is awesome.

I have no idea about the lazy loading. And yeah, it's "kind of image processing".

comment 8y ago · link · parent

It's a Vue component, how is that not Vue specific? - https://github.com/runkids/Imagvue/blob/master/src/imagvue.j...

comment 8y ago · link · parent

Well, because it's a Vue component?

28.

Show HN: Watch live developer streams(devstream.tv ↗)

6 points · by algorithm_dk · 8y ago · 1 comment

comment 8y ago · link · parent

Yes, "straight" is misguiding.

comment 8y ago · link · parent

added
12345