Better HN
topnewbestaskshowjobs
Log inSign up

glitchdout

511 karma · joined Feb 22, 2013 (13y ago) · 223 submissions

Software engineer, Rubyist, lover of all things web, tech & open-source. Check out my blog at https://guilhermesimoes.github.io/
Submissions

1.

I Solved Green Screen, and I'm Giving It to You [video](youtube.com ↗)

2 points · by glitchdout · 1mo ago · discuss

comment 5mo ago · link · parent

Your sentences do not agree with each other.

"building what it can with anything it can get" is the definition of cheaper.

If it was easier or cheaper to create a multi-purpose robot to control vehicles and deliver bombs that's what we'd see Ukraine doing.

comment 5mo ago · link · parent

War in Ukraine does not validate that assessment: https://www.youtube.com/watch?v=XiGwWwcnT7M

comment 6mo ago · link · parent

Adblockers like umatrix have options like "Spoof Referer header". I have this setting enabled, so adding tracking query strings to URLs would go against my user preference.

5.

Making dark mode play nicely with bfcache(guilhermesimoes.github.io ↗)

2 points · by glitchdout · 7mo ago · discuss

comment 7mo ago · link · parent

For a good reason, don’t you think?

comment 8mo ago · link · parent

You only need to detect structuraly similar code. You absolutely do not need AI for that. You need ASTs.

In Ruby we have the Flay gem, for example.

https://github.com/seattlerb/flay

comment 9mo ago · link · parent

ESLint (and typescript-eslint) has the concept of fixers, which updates the source code.

comment 11mo ago · link · parent

    const C1 = 505054698555331      // floor(2^64*4/146097)
is faster

10.

Facts that might mess with your sense of time(datawrapper.de ↗)

9 points · by glitchdout · 1y ago · 1 comment

comment 1y ago · link · parent

And it won't be the last.

comment 1y ago · link · parent

Agreed. The list would be more useful if it included that.

comment 1y ago · link · parent

Oh, that redesign was ludicrous https://nathanboomsma.medium.com/why-googles-new-logos-suck-...

comment 1y ago · link · parent

That is, until DOGE decides to rewrite (git) history.

comment 2y ago · link · parent

https://pairdrop.net is a fork that let’s you change your name.

comment 2y ago · link · parent

Yes. Apple’s own apps should have no advantages over third-party apps.

comment 3y ago · link · parent

I was also expecting Gregg Pollack and Code School to be mentioned. The "Rails for Zombies" course was absolutely fantastic.

comment 3y ago · link · parent

It does make you wonder...

comment 3y ago · link · parent

Yeah, not sure. I did this by trial and error.

As per this other thread [1], it appears that if you ask it to do things step by step it usually can arrive at the desired solution.

If you're trying to coax it to say bad things though... it's very likely it will bump into the many protections OpenAI has added.

I really wanted to tell it to pretend that Anne Frank was a football player and then go from there... But not sure it would work and I didn't want to get banned.

[1]: https://news.ycombinator.com/item?id=33991500

20.

Exploiting ChatGPT(guilhermesimoes.github.io ↗)

2 points · by glitchdout · 3y ago · 3 comments

comment 4y ago · link · parent

Why didn't he specify that he wanted a y-axis? Or vertical axis on the left side? This is the issue with prompt engineering, you need to know the concepts and their names in order to elicit the response/image that you have in your mind.

comment 4y ago · link · parent

> Overall, the community responded to the redesign enthusiastically

I have a hard time believing this.

comment 4y ago · link · parent

Vimeo did the same. I used to subscribe to and watch their Staff Picks. Now I don't.

comment 5y ago · link · parent

> Stout’s data shows that occurrences of software being used to fix vehicle hardware problems has steadily increased in the past five years.

Reminds me of the Boeing 737 Max and MCAS

comment 5y ago · link · parent

The alternative is doing what the iPod does.

comment 5y ago · link · parent

The lock screen has been annoying me forever and I still forgot to write about it. I've updated the post to mention this. You are absolutely right!

As for the back of the album, I agree as well! But I would consider that an extra. Not to mention that I would want to update my album collection to include that back cover, and finding a good front cover is already hard enough

27.

Apple doesn't care about album cover art(guilhermesimoes.github.io ↗)

234 points · by glitchdout · 5y ago · 251 comments

comment 6y ago · link · parent

I had never seen this before. Freaking hilarious!

comment 6y ago · link · parent

I wish they had presented more solutions. The way I see it, infinite scroll feeds generated by algorithms should be outlawed. Same with Like counts. (It seems Instagram has begun testing this https://techcrunch.com/2019/11/14/instagram-private-like-cou...)

Facebook wasn't that bad when you had to visit each person's wall or when the feed was in chronological order.

comment 6y ago · link · parent

They completely destroyed the music app. And they prevent third-party apps from having the same APIs as their music app! I used to use Cesium but Apple even managed to break that app.

http://mike-clay-vma5.squarespace.com/blog/api-safe

12345
8