HNHacker News
TopNewBestAskShowJobs

algorithm_dk

681 karma · joined February 9, 2014

51d544
submissionscomments
algorithm_dk··on Error 404 (Not Found)
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?
algorithm_dk··on Ask HN: Programs that saved you 100 hours?
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.

algorithm_dk··on Using Firefox for a faster, calmer and distraction-free internet
simple things, like being able change the order of the columns in the network tab
algorithm_dk··on Rape victim rejects judge’s offer: $150K for her, reduced sentence for attacker
A lifetime in prison is the right punishment for rape.
algorithm_dk··on Using Firefox for a faster, calmer and distraction-free internet
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.
algorithm_dk··on Show HN: Vulkan API for JavaScript/TypeScript
I played with nvk quite a bit, very impressive.
algorithm_dk··on fd: A simple, fast, user-friendly alternative to 'find'
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

algorithm_dk··on What’s New in ES2019
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

algorithm_dk··on Tell HN: Pluralsight and the dark-pattern of auto-renewals
Revolut's disposable card is awesome. I use it constantly.
algorithm_dk··on Ask HN: What to read after “Thinking in Systems”?
Can you please DM me the title of the book?
algorithm_dk··on Terminus: a configurable terminal emulator for Windows, macOS and Linux
i would never consider using an electron-based terminal, but for casual users it looks really pretty
algorithm_dk··on Ask HN: What is the best setup to work remotely with GUI on Linux?
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

algorithm_dk··on XSStrike: XSS detection suite
Having used XSSStrike, I must say it probably is the best public tool for hunting XSS.
algorithm_dk··on Why I wrote 33 VSCode extensions and how I manage them
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

algorithm_dk··on Ask HN: Are any remote desktop solutions good enough for full-time use?
About band, the steamlink is capped at 100mbps and it still works great
algorithm_dk··on Ask HN: Are any remote desktop solutions good enough for full-time use?
Doesn't work, also the whole thing with Steam is that nvidia granted them access to their capture API
algorithm_dk··on Ask HN: Are any remote desktop solutions good enough for full-time use?
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.

algorithm_dk··on Show HN: I made a script to generate self-signed SSL certs for local development
check out the mkcert project, it's awesome and can be automated so everyone in the team gets their own certs and CA
algorithm_dk··on VSCode silently opts you in to data collection
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.
algorithm_dk··on Project Atlas
cannot scroll on chrome (android) either
algorithm_dk··on Peer-to-peer cloud gaming on machines located in your neighborhood
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

algorithm_dk··on Imagvue: An image processing component for Vue.js
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.

algorithm_dk··on Imagvue: An image processing component for Vue.js
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".

algorithm_dk··on Imagvue: An image processing component for Vue.js
It's a Vue component, how is that not Vue specific? - https://github.com/runkids/Imagvue/blob/master/src/imagvue.j...
algorithm_dk··on Imagvue: An image processing component for Vue.js
Well, because it's a Vue component?
algorithm_dk··on Finding the longest straight line you could sail without hitting land
Yes, "straight" is misguiding.
algorithm_dk··on Show HN: Devstream.tv – Watch developers code live
added
algorithm_dk··on Show HN: Devstream.tv – Watch developers code live
That's such a cool idea! I'll think of how this can be added, a VSCode plugin sounds awesome.
algorithm_dk··on Show HN: Devstream.tv – Watch developers code live
Haha, great minds think alike!
algorithm_dk··on Show HN: Devstream.tv – Watch developers code live
Yes, you are right - there is a #programming category on Twitch, but the plan is to gather dev streamers from more platforms (YouTube comes next) into one dedicated place.
Page 1 of 3Next →