HNHacker News
TopNewBestAskShowJobs

hivacruz

274 karma · joined December 22, 2017

submissionscomments
hivacruz··on Fooling Neural Networks [pdf]
For making my movie quiz free of cheaters (at least most of them), I tried to fool Google Images reverse search by adding some noise like described here, on my movie snapshots. Unfortunately it didn't work.

The only trick which works the most is to revert horizontally the image, at random. When it works, Google is not about to find similar images.

hivacruz··on Alcohol-free beer is fizzing
I started drinking alcohol-free beer recently and it's really nice. Funny though, the best ones are not the same I used to drink and like before, with alcohol.

For example here, the 1664 is pretty popular but I don't like it that much. But the blonde alcohol-free version really tastes like a real beer. I even doubt sometimes that I'm drinking a beer without alcohol: I have to double check! Maybe my brain is playing with me.

Some beers add too much fruit Flavours or sugar like the Leffe ones. Not good.

hivacruz··on AOL Instant Messenger: A Eulogy (2017)
I miss the AOL Chatrooms (running on the same protocol), it was a lot of fun. There was a popular game called "scrambler" running on some channels where people had to guess the quickest they could the word/sentence that was "scrambled".

IIRC, you could talk with people on AOL with AIM but some AOL public chatrooms were not available from AIM.

I remember the private chatrooms on AIM where you could download mp3s or other things, so many memories. I started coding with AOL/AIM and VB6.

hivacruz··on Ask HN: What are some tools / libraries you built yourself?
I'm not a vlogger or anything but this is a great product. Nice job!
hivacruz··on Avoiding Leetcode Anxiety
That's funny, I got anxiety not because I mainly could not solve algorithms problems (looking at you, graphs) but also because I could not beat my colleagues or friends who started to play too.

I used to play heavily on CodeSignal, a similar website. They used to post daily challenges back then. But there, it wasn't about reaching the best time complexity or whatever: the number of characters was more important, like on Code Golf.

You first try to solve the problem and then you try to reduce your code to the minimum. The level of anxiety was starting to be really hard to handle and I'm happy I stopped playing this. Also, writing creative small codes won't help you when developing real softwares that much since most of the times, small codes or one liners are terrible in terms of time complexity or memory.

I learned a few tricks and a lot of things about how some languages work through this practice and by looking at people solutions but I'm pretty sure it would have been better to read some algorithms courses instead.

hivacruz··on Tool can make photos undetectable to facial recognition without ruining them
I use to flip horizontally some of my movie snapshots I feature on my movie quiz game [1]. I do that randomly, not on all images (like the ones who have text on it). It fools Google Images Reverse Search a lot.

Not a great solution but at least it slows down the cheaters and since it's a game where answering fast is important, it works nicely.

I tried adding noise to fool Google AI but that didn't work at all.

[1]: https://twitter.com/whattheshot

hivacruz··on How to Learn Unix Tools
man is missing some concrete examples about how the tool could be used. tldr seems a good thing to fix that. cheat.sh is also a great alternative to tldr, I use it a lot.
hivacruz··on Web developer's guide to AVIF images
For those who use Jekyll as a static site generator, I highly recommend the plugin "jekyll_picture_tag" [1]. It takes care of generating multiple images in different formats and sizes, including AVIF.

You can also specify a list of images formats in decreasing order of preference, like:

    formats: [avif, webp, original]
[1]: https://github.com/rbuchberger/jekyll_picture_tag
hivacruz··on Netdata: Open-source real-time monitoring platform
How does it compare to New Relic who also happens to monitor, if enabled, containers and system things?
hivacruz··on Everything Easy is Hard Again (2018)
> simply npm your webpack via grunt with vue babel or bower to react asdfjkl;lkdhgxdlciuhw

Nice summary. While I understand that yarn was a good thing to integrate frontend dependencies management just like we do it for the backend, Webpack is still a mystery to me. Just trying to add a simple JS library to make it work is a headache sometimes (DataTable with Rails for example).

hivacruz··on Show HN: Science and math-flavored programming problems for beginners
Really cool. Sure the exercises are simple but a little reminder of some science concepts it's always nice.
hivacruz··on Twitter Experiences Widespread Outages
Yeah, mine got the same this morning too. Last night was terrible.
hivacruz··on Show HN: Darker News for Safari (Dark Mode for Hacker News)
Really cool. Browsing HN at night was painful on my Macbook. It's a shame we need an extension for this, a few CSS lines could fix this while keeping the website small.

By the way, I think some of your CSS rules need to be fixed. Contrasts between elements for example. When looking at comments, the username has a foreground of #828282 and the background is #161618. That's a 4.7:1 ratio. You pass the AA level but not the AAA level, which requires a 7:1 ratio for small texts: https://webaim.org/resources/contrastchecker/?fcolor=828282&...

hivacruz··on Twitter Experiences Widespread Outages
My Twitter app using their API doesn't seem to be impacted by the outage this time. It was the case earlier this morning and last night.

I hope they will post an article about what happened.

hivacruz··on Twitter Experiences Widespread Outages
Like many others unfortunately.
hivacruz··on New GitHub themes for VS Code
Really nice to see official releases of this. I made a Typora theme [1], a WYSIWYG Markdown editor, that matches the new GitHub Dark color palette.

[1]: https://github.com/kinoute/typora-github-night-theme

hivacruz··on Anxiety is in your body, not your mind
Just seeing the picture of the article made by throat getting bigger from the inside. Anxiety sucks.
hivacruz··on FFmpeg 4.4
> # save all keyframes to images > ffmpeg -i video.mp4 -vf "select=eq(pict_type\,I)" -vsync vfr video-%03d.png

Wow, I didn't know there was a "keyframes" feature on Ffmpeg. This is awesome, thanks for sharing.

hivacruz··on Sublime Writer
I recommend Typora [1] as an alternative writer. It's a WYSIWYG Markdown editor available on Win/Linux/macOS with the focus mode and other nice features.

It has themes [2] too and you can easily create yours to match your blog design. That way, as you write, you have a live preview of your article.

[1]: https://typora.io

[2]: https://theme.typora.io

hivacruz··on Vitamin D: The truth about an alleged Covid ‘cover-up’
Isn't it better to take Vitamin D pills every day as a cure in winter for example instead of big boost with 100 000 UI?

I don't recall exactly where I read this but I remember that the level of Vitamin D quickly decrease after this kind of takes.

In my case, I try to eat lunch with the sun on me for at least 15 minutes and I take a 5mg pill when I can't. I don't know if it's enough.

hivacruz··on Windows 95 – How Does It Look Today?
Still amazed by the border bottom on letters to show shortcuts to the users. So simple and convenient.
hivacruz··on Reverse engineering a mysterious UDP stream in my hotel (2016)
I updated my comment with a link to the original story, thanks!
hivacruz··on Reverse engineering a mysterious UDP stream in my hotel (2016)
There is something missing from the English article, which is a shame. In the French article [1], he talks about another story at the end that implies lights.

He was able to control lights from all the bedrooms in another hotel by putting his laptop between the tablets controlling the lights and the ethernet cables. Funny story, the IP adresses were assigned based on the bedroom number, eg the bedroom 714 had an IP of 172.16.20 7.14.

Edit: my bad, the second story was included in the French article but was written by another person, Matthew Garrett. Here is the story in English: https://mjg59.dreamwidth.org/40505.html

[1]: https://linuxfr.org/news/son-et-lumiere-a-l-hotel

hivacruz··on The Revolution in Classic Tetris
Tetris is such a great game. I still play it daily when I'm bored. But I can't play without hard drop and ghost piece nowadays.

I like Tetris Sprint, where you have to do 20 or 40 lines the fastest you can.

There is a lot of competition around this too. A great website to play is Jstris: https://jstris.jezevec10.com

hivacruz··on Ask HN: Cheapest/easiest way to host a static site?
I use Github Pages + Jekyll for a personal blog. I just started recently. The main problem I'm facing is the limited amount of plugins you can use with Github Pages. They have only whitelisted a few [1].

You can fix this issue by building the site locally and push the generated files but it feels less "proper" to me. There is also the cache policy problem (TTL of 10 minutes) but that's minor.

[1]: https://pages.github.com/versions/

hivacruz··on ShellCheck: A static analysis tool for shell scripts
To use in combination with shfmt : https://github.com/mvdan/sh
hivacruz··on Nova Review: Panic’s Code Editor Demonstrates Why Mac-Like Design Matters
I really liked Coda in the past. Made me start coding for real before switching to Sublime Text.

I keep an eye on Nova and I'm thankful to the author of this article for mentioning the theme I made for it [1].

1 : https://extensions.panic.com/extensions/kinoute/kinoute.Hiva...

hivacruz··on I self-learned to code at 30
I always coded since I'm 12 (softwares on AOL Chatrooms for those who remember!) but after my high school diploma, I decided I wanted to explore arts, especially music and cinema. I thought I was spending way too much time on screen and I didn't want to turn my passion to a job.

I got a master's degree in cinema, a few jobs in the industry but I hated the atmosphere there. I still love everything related to arts but at 30, I thought I will go back to what I love: coding (even if I was terrible at it, just a script kiddie with a few personal projects).

After a few trainings, I'm working on ML/AI projects at 33 years old, doing what I love.

I don't regret doing different things during my 20s. All my studies and jobs made me learn so many things, I would not be the same as today if I didn't take this path or If I went studying CS right after high school.

Don't regret doing this only now. You built a family and I'm pretty sure you have learned a lot during your career as lawyer even if you hated it.

hivacruz··on GitHub, fuck your name change
I dislike this name change for almost the same reason. I switch back to master on every new project.
hivacruz··on Docker Security Cheat Sheet
Awesome, thanks your answer and for this great tool!
← PreviousPage 2 of 4Next →