HNHacker News
TopNewBestAskShowJobs

dvlsg

563 karma · joined June 19, 2015

submissionscomments
dvlsg··on No Lodash
Ramda has a composition (left to right) function named pipe: https://ramdajs.com/docs/#pipe

It's similar to the pipe operator seen in other languages (Elixir, F#, etc). There is a proposal to add a pipe operator to JS as well - still in early stages, though.

dvlsg··on Play Counter Strike 1.6, with full multiplayer, in the browser
Yeah, for sure.

There are other considerations as well - if game sound is coming over loud speakers, you run the risk of it also being picked up by your microphone when you try to communicate with your teammates.

dvlsg··on Play Counter Strike 1.6, with full multiplayer, in the browser
Pro players almost definitely all use headphones, because they're typically on stage for tournaments with their teammates right next to them and their opponents somewhere nearby.

But even when they're not on stage, they're often in the same room with their teammates. And even if that isn't the case for some reason and a player is in their own room, winning those tournaments is generally the highest honor, so pro players would likely want to practice as close to tournament conditions anyways.

Directional audio over headphones is surprisingly good nowadays, though. HRTF is pretty cool stuff.

dvlsg··on Unapproved books now a felony in Manatee County schools
Voter disenfranchisement has been part of the playbook for a long time now.

Take this issue for example - if this passes, and a teacher gets a felony from suggesting a book off of the pre approved list, they probably can't vote anymore.

dvlsg··on Ask HN: What is your new year's resolution?
Being able to work out over my lunch hour is easily one of the best parts of working from home for me.

I suppose it was technically possible while working in an office, but such a hassle. Always resulted in losing some workout time around the edges, too.

dvlsg··on YouTube confirms that it has removed the “sort by oldest/newest” option
Suggesting videos that users don't end up watching is even cheaper.

Not a great user experience though.

dvlsg··on D3wasm 0.4 – Doom 3 in WASM
I got super annoyed at enemies popping in behind me out of thin air, too. Felt like a cheap way to surprise the player, and it got old really fast.

Doom 3 as a game sure looked cool, though. The flashlight blew my mind back in the day.

dvlsg··on Ask HN: How do you discover music?
Blogs and websites that post curated lists of new releases for the genres I like.

The way I find those sites is by searching for an album I know I liked and seeing which sites have posted about it - release dates, reviews, etc. Works the best when you can find sites with a more specific genre though, to cut out some of the extra noise.

Then I just check back in to see what is getting released when, and look it up on whatever streaming service.

Subreddits work occasionally, but it seems like more often than not those are used to post old albums and old songs for free upvotes.

dvlsg··on Random Google Street View
You can usually look around for street signs or shop fronts that include useful information (a website that ends in .nz for example).
dvlsg··on Programming languages endorsed for server-side use at Meta
That's fair. My favorite language so far has been F#, so maybe it's some of that preference sneaking through.
dvlsg··on Programming languages endorsed for server-side use at Meta
I've often wondered what it would be like having a variant of Rust that was essentially the same underlying language, but with a garbage collector of some kind instead of a borrow checker and lifetime annotations.
dvlsg··on Implementing "seen by" functionality with Postgres
I can follow the links on the post now - thanks for updating!
dvlsg··on Implementing "seen by" functionality with Postgres
I don't think I'm getting 404s, but the repo's gitlab url does keep bouncing me to a login page.

> You need to sign in or sign up before continuing.

Has gitlab always enforced that, even for public repos? Or is the linked repo not public?

dvlsg··on Gamedevs not baking in monetization are “fucking idiots”, says Unity CEO
> What is the unity CEO pushing for? Cookie cutter games?

Does Unity take a cut of any microtransactions run through their ecosystem?

dvlsg··on I've been abusing HTTP Status Codes in my APIs for years
Some applications opted for using GET with request bodies as well, for better or worse. Elasticsearch comes to mind.

There have been some attempts to extend the list of http verbs to include something that fits those use cases more naturally - SEARCH and QUERY. QUERY got more traction, if I remember correctly, but I haven't heard much about it in a while.

https://www.w3.org/2012/ldp/wiki/Proposal_for_HTTP_QUERY_Ver...

dvlsg··on Bots behind the game console shortage
This is how I got my most recent Playstation.

It wasn't just a queue, though. It was a time limited shuffle of the pool of people who saw a notification with enough time to join the lottery. It still took me months of attempts.

dvlsg··on Node.js packages don't deserve trust
I'm fairly certain those download numbers include CI runs redownloading the not-cached package over and over, likely via a transitive dependency. I don't think it's fair to say approximately half a million unique JS developers are choosing to import it every week.
dvlsg··on My own phone number is now spam texting me
Not OP, but I'm guessing they're referring to this -

https://googleprojectzero.blogspot.com/2021/12/a-deep-dive-i...

dvlsg··on I hate what video games have become
I think that's part of the problem. Because skipping the grind by paying money is seen as a treat, game companies now have the incentive to turn their games into a chore on purpose to convince people to treat themselves.
dvlsg··on How to Squash and Rebase in Git
`git reset --hard ORIG_HEAD` is often enough to "undo" a rebase that went haywire.

`git rebase --abort` can be helpful too, if you run into some unexpected merge conflicts along the way.

dvlsg··on A proposal for adding a pipe operator to JavaScript
Yeah. I dislike the hack pipes proposal because it introduces a bunch of syntax that only works mid pipe.

F# style and a separate partial application proposal that could work anywhere in js (instead of just in a pipe) seems preferable to me.

https://github.com/tc39/proposal-partial-application

dvlsg··on Brave and Firefox to intercept links that force-open in Microsoft Edge
I'm still hoping winget[1] catches on so I can just utilize that for all the tools I typically use, but it seems like it's still a ways away from being fully ready. Still making progress, though.

[1] https://github.com/microsoft/winget-cli

dvlsg··on On YouTube’s recommendation system
YouTube still recommends stuff I hate all the time, despite me explicitly trying to tell the system I'm not interested.

To pick an example, my YouTube recommended section is full of videos of people reacting to the things I actually like to watch. I don't want to watch people reacting to the things I like. I just want to watch the things I like. I try to tell YouTube that by saying "Not Interested" to all of the reaction videos, but it doesn't seem to make a difference.

dvlsg··on New in Git: switch and restore
Yeah, viewing a changeset and staging only some files or just parts of files is really important to my workflow. Sometimes I leave myself comments or skip tests locally and I have no intention of committing those changes. Using a tool like sourcetree to review, add, and commit only the lines I want is very helpful and saves me time.

I do use the command line for everything else, though. Well except interactive rebasing, I suppose. I pop back in to vscode for that. But even that gets started in the terminal.

dvlsg··on JavaScript Is Weird
There's a proposal to add a decimal type to the spec, too.

https://github.com/tc39/proposal-decimal

Seems like it's a long ways away from being available, though.

dvlsg··on JavaScript Is Weird
https://0.30000000000000004.com/
dvlsg··on An Unbelievable Demo
The majority of the states in the US have one-party consent too, I believe.
dvlsg··on Happy Hacking: Music Implementation in NieR:Automata (2017)
No, but they announced they're working on it.
dvlsg··on Man fined for sharing a Facebook link ruled as defamation in Singapore
Certainly an interesting (for lack of a better word) slippery slope.

Could upvoting this hackernews article count as defamation? It's not the same as sharing it, but it would still make the original article more visible to more people.

dvlsg··on Bash-LSP: A language server for Bash
I think there are runtime dependencies, just not at the root level of the repo.

https://github.com/bash-lsp/bash-language-server/blob/fa5a65...

← PreviousPage 2 of 11Next →