HNHacker News
TopNewBestAskShowJobs

lillesvin

692 karma · joined April 9, 2016

Linguist, security guy, developer and such.
submissionscomments
lillesvin··on Boyfriend-alert – A light based alert system
Yeah, that's what the guy in the linked post is talking about. Various services (Skype/Teams, Slack, Twitter, etc.) will also send a GET if the URL is shared there. I once saw an accidental hotel booking triggered by Skype because the booking was performed through a GET request with a brazillion parameters.
lillesvin··on Boyfriend-alert – A light based alert system
Remember the dude whose garage port opened and closed seemingly at random because his /toggle endpoint ended up in his browser's "most visited" list: https://news.ycombinator.com/item?id=16964907 ?

I have a feeling the same thing could happen here.

lillesvin··on Music Tuned to 440 Hz versus 432 Hz and the Health Effects
Lots of people here mentioning that concert pitch wasn't always A = 440 Hz. Here's an interesting 12tone video explaining how we ended up at exactly that: https://youtu.be/BzznBt8tVnI (Spoiler: It involves nothing less than the Treaty of Versailles.)
lillesvin··on How to Open a Door (1979) [video]
Aw, man! I'd forgotten this existed. My gf and I used to do the "mah mah mah mah", "oh toh toh toh"-thing when pouring drinks for each other. Thanks for posting it and reminding me.
lillesvin··on Show HN: I made a movie recommendation app based on your mood
> It only fetches great movies with a rating > 6.7 on IMDb

I personally find that I'm sometimes in the mood for a hilariously shitty B-movie, like The VelociPastor (https://www.imdb.com/title/tt1843303/) or Cat-Women of the Moon (https://www.imdb.com/title/tt0045609/), I feel like they could be included in certain moods, e.g. "weird" or "playful".

lillesvin··on Jamulus ‒ Play music online. With friends. For free
If you're sitting 5 meters from your speakers, you add about 15 ms of latency and, in some cases, people all the way across the globe will hear your sound before you hear it yourself.

It's pretty wild to think about. My dad used to point out to me that, if I was watching a live concert on the TV, the sound would reach me before it reached much of the live audience.

lillesvin··on Show HN: Coding Font – A game to find your favorite coding font
Suggestion to include Go Mono: https://go.dev/blog/go-fonts

By far my favorite coding font, even though Share Tech Mono is looking good too after trying your game/app. Nice work!

lillesvin··on Show HN: Coding Font – A game to find your favorite coding font
That's not necessarily true[0]. It's a widely repeated claim but there doesn't seem to be much actual evidence supporting it. Rather it seems that letter size and spacing are the main factor when trying to make text more readable to dyslectics.

[0]: https://www.tes.com/news/does-comic-sans-really-help-dyslexi...

lillesvin··on Signal for Help
Berating someone for admitting they don't know something is counter-productive and is only going to make them not admit it the next time.
lillesvin··on Is Mozilla Firefox Getting Sketchy?
Depending on your preferences you might enjoy Vivaldi, Qutebrowser or Chromium. That's just off the top of my head. There are obviously many other good browsers out there.
lillesvin··on Is Mozilla Firefox Getting Sketchy?
For me that was obvious when it started showing sponsored content in my "new tab" page (in the speed dial-like list of sites). I just needed a reason to switch to Qutebrowser, so I did.
lillesvin··on JSFuck (2012)
> You shouldn't have access to it -- it's on my private servers doing stuff for me. How did you get it?

Seems like the logical solution would be to restrict access to it then, rather than obfuscate it making it harder for yourself to maintain. But hey, you do you.

lillesvin··on Google results for PHP tutorials contain SQL injection vulnerabilities
It seems to come from the MySQL C API: https://dev.mysql.com/doc/c-api/8.0/en/mysql-real-escape-str...

The 'real' supposedly alludes to the fact that `mysql_real_escape_string()` accounts for character encoding (if specified correctly) unlike its sibling `mysql_escape_string()`.

So, yeah, I'm afraid 'less funny'. :-/

lillesvin··on The worst volume control UI in the world (2017)
They're registered as a separate window on Windows too. When I alt-tab, I frequently end up in the notification window.

My main question is, why are people still doing desktop apps in JS? (Yes, I know, cross-platform... There are other ways to do that.) They always end up breaking with the native UI conventions on the host OS, and they're stupidly resource hungry.

lillesvin··on Show HN: Hck – a fast and flexible cut-like tool
I wrote something similar (but necet really finished it), called 'gut', in Go a few years back. Funny thing is, that I literally never use it. I thought splitting on regexes and that stuff would be super useful, but it turns out that I just use Perl one-liners instead. And Perl is available on something like 99.99% of all *nix machines, which my own 'cut'-substitute isn't.

Still a good exercise for me to write it, and I assume for OP too.

lillesvin··on Ian Knot (2003)
I love Ian's site. It's such a good example of how you can really get geeky (in the most positive way possible) with almost anything. I'm a bit of a sneakerhead, and one good way to freshen up a pair of old kicks is new laces — perhaps even in an untraditional configuration, like lattice lacing.

I had no idea that Ian had invented this method of tying shoes. I've been using and loving it ever since i saw a gif of it on Reddit about a decade ago.

lillesvin··on Audacity may collect “Data necessary for law enforcement, litigation” and more
I used to use ecasound for stuff like that and simple effects and multitrack recording. I found that the simplicity changed my focus to what I was playing rather than how it sounded, and in turn it resulted in me being happier about the music I made. It may not work similarly for everyone though, but for me it made a big difference.
lillesvin··on YouTube Kids a “vapid wasteland” say US lawmakers
My daughter (9) got a phone recently and we're kinda managing it through Google's Family Link and it absolutely sucks in pretty much all regards. We're only interested in absolutely minimal control just to make sure she doesn't install something stupid/dangerous, other than that we trust her to use YouTube and the likes responsibly, but that's not The Google Way.

YouTube Kids was the first thing that bothered me. Google wouldn't let me allow her to install regular YouTube, so she was stuck with that horrible, insufferable crap that makes Teletubbies seem like Kieslowski. It's still beyond me why she should be barred from listening to stuff like Kraftwerk's The Robots, Bananarama's Na Na Hey Hey or Hit 'Em High from Space Jam, all of which she's much more into than whatever YouTube Kids thinks 9-year-olds are all about. Fortunately I stumbled upon a toggle in the Family Link settings that would let me let her install and use regular YouTube.

And forget about the YouTube Music family plan, that's just straight-up impossible on a sub-13 account. Then there's Spotify Kids (which is pretty much just as bad as YouTube Kids) but Spotify at least lets you lie about her age and install the regular app. (We've all heard the horror stories of Google completely shutting people out from Photos, Drive, etc. for lying about a kid's age, I'm not about to risk that just yet.)

Oh, and you're also not going to be gaming with your kid on her new phone. Google Play Games won't let sub-13s sign in with their Google account. So this PEGI-3 rated disc golf game with multiplayer but no player interaction is a total no-go.

I find it absolutely baffling how little control I have of these things as a parent. Why on earth can't I let my kid use YouTube Music? Why is she allowed to install a PEGI-3 rated multiplayer game but not play it? And why can't "sign in with my Google account" work like when she's asking permission to install an app? Seems like a pretty obvious way to go about it.

/rant

lillesvin··on Show HN: DragonRuby Game Toolkit
Always love me some Ruby but what really catches my eye here are the alternatives to paying hard cash for the engine. Great initiative!
lillesvin··on Metallica's BlizzCon Performance Ruined by Twitch
First, it's only a strawman if you think accepted cognitive metaphor theory is wrong and the concrete form of "steal"/"theft" did not come before the more abstract mappings...

And are you really saying that "steal" has evolved away from also including "stealing ideas" and similar (including "piracy")? Because that's demonstrably false simply by pointing to the original argument you made complaining that people are using "steal" in the "wrong" way. I'm curious, though, do you have some data to back up that claim? (I'm assuming no—or something anecdotal at best—but on the off chance you have something, please, share!)

You are aware that general use defines language and what's considered correct, right? How you feel about it as an individual doesn't really matter in the grand scheme of things unless you manage to affect general usage of the term "steal" to no longer include "piracy".

You're obviously not arguing in good faith—e.g. by cherry-picking what you respond to (out of context even ... while missing the point) while completely ignoring other arguments. I'll refrain from taking further part in the discussion if that pattern continues because it's frankly a waste of time and effort.

lillesvin··on Metallica's BlizzCon Performance Ruined by Twitch
Come on. Following that logic you'll be hard pressed to speak a full meaningful sentence about a topic because, not surprisingly, language evolves!

"Steal" has been used as "copy" long enough that it's part of the standard usage now (and has been for a long time), just like "literally" being used as an intensifier, or "cool" meaning "good" as opposed to referring strictly to temperature.

And it's likely not even a misconception (like "a napron" => "an apron" was) but rather a conceptual metaphor (https://en.wikipedia.org/wiki/Conceptual_metaphor), which is what helps you understand that you shouldn't be afraid of cutting yourself on someone's "sharp wit", and that you don't need to bring a ladder shopping even though "prices are rising".

Hell, even "conception" (as in "misconception") was originally only used for talking about literal pregnancies, the metaphorical extension didn't come about until the 14th century (source: https://www.etymonline.com/word/conception). Or is that okay? If so, how old does a semantic extensions have to be to be accepted into the lexicon?

lillesvin··on Metallica's BlizzCon Performance Ruined by Twitch
Not the person you're replying to, but "steal" has been used in that sense for a long, long time—also long before the internet—e.g. "stealing ideas", so arguably it fits the definition just fine.
lillesvin··on Pip has dropped support for Python 2
I only rarely use Python (Ruby, Go, R and Bash usually do whatever I need) and I've never gotten my head around the whole Python 2 vs 3 thing. For a language often touted to be the best language for novice programmers, I think it's odd to expect them not to get caught with their metaphorical pants down in that dichotomy.

Edit: I should probably clarify. I have nothing against Python, quite the contrary, I've just always found that version 2 vs 3 thing odd.

lillesvin··on Ruby 3.0.0 RC1
> Is it bad I much prefer loops to reduce?

No. That's the reason that we have multiple different tools at our disposal. :)

My rule of thumb has always been to use the tool that I, myself, find more effective—not what others say would be the most effective in an ideal world where I know everything about every programming language in existence. That means that I've written a handful of shell-scripts in PHP, some CLI-tools in Ruby (that would probably run a lot faster in Go), and a couple of "API"s in Bash.

lillesvin··on South Park creators have new political satire series with AI-generated deepfakes
Audio deepfakes are getting better but they have a surprisingly long way to go still.

Here's an exploration of a deepfaked Jay-Z reading/rapping the Navy Seal copypasta: https://www.youtube.com/watch?v=UZzYoOdIXoQ

lillesvin··on PHP 8: Before and After
Not a CS major, but PHP has been my preferred language for web stuff the last 20 years. Even way back it was just so damn easy to work with.

Sure, I'll look to Go, Ruby, Crystal, Elixir and others for more specialized stuff, but plain and simple CRUD web stuff is what PHP is made for.

lillesvin··on PHP 8: Before and After
I'm not sure why you're asking or what new features you'd like them to take advantage of, but given PHP's reasonable approach to backwards compatibility, I expect that it won't take too much effort to get Wordpress running on PHP 8, but obviously it's not going to utilize much of the new stuff that way.
lillesvin··on Look ma, no mouse: Vimium
I was super happy that the old XUL extensions could hide UI elements. I used Vimperator and hid everything but the Vimperator status line, and it was awesome. Noticeably more screen real estate and less clutter.

For those looking for that more complete Vim experience, qutebrowser (https://qutebrowser.org/) is a good option, IMO.

lillesvin··on Eddie Van Halen has died
> It's intended to be for tapping but that's a common pedal steel technique

I have no idea about how to play pedal steel (but I do play guitar), I thought the string action was way too high on a pedal/lap steel steel to be able to tap on it?

lillesvin··on SARS-CoV-2 blocks pain receptors, results in asymptomatic patients
Haven't read the full article but this virus reminds me of something designed in the game Pandemic. Not that I actually believe it's manufactured, it's just that it has so many sinister properties.
← PreviousPage 3 of 9Next →