HNHacker News
TopNewBestAskShowJobs

tngranados

112 karma · joined December 14, 2018

Problem solver who ships. Rails, AI, and anything that gets the job done.

Socials: - github.com/tngranados - linkedin.com/in/tngranados

submissionscomments
tngranados··on Ask HN: What's your proudest hack?
When I was a teenager, my friends and I played this free MMO game online. A friend was told by another friend of him about a bug in the game. This bug would let you receive the reward of a certain mission without marking it as complete, so you could get the reward as many time as you wanted.

Me and my friend started exploiting the bug like crazy, spending hours literally just doing that. The problem was that the process to exploit this bug was very convoluted and a pain to do manually.

I had no experience of programming nor anyone around who knew anything about it, but I felt that there must be a way to do the whole process automatically. Computers are meant to automate stuff, right? Anyway, I started investigating online and found AutoIt, which is a BASIC-like scripting language that allows you to automate GUI stuff.

I then began building a script that did literally what I had to do manually to exploit that bug. And literally means literally. The way I made it work was by scanning colors in coordinates (to check whether a window it's opened, etc), moving the mouse and clicking. The script was full of duplicate code. I didn't knew about loops. All I knew was if conditions and mouse actions. I even remember having to go to a forum and asking for help (in super broken English) because I wanted to keep the program running indefinitely (they told me to use `while true`). But it worked.

Anyway, I spent about two weeks of after school afternoons building this bot. Then, when I had it working, got banned in a matter of days :^)

This might not seems like much, but I remember it fondly as this was my introduction to programming and the reason this became my career. I'm still holding onto the (terrible, terrible) script.

tngranados··on SwiftUI Is Convenient, but Slow
Have you tried using EquatableViews? That would let you customize if you want the view to get updated when the diffing occurs. Seems like a perfect fit for your issue.
tngranados··on Show HN: Satori – Convert HTML and CSS to SVG
The claim is correct, it supports a subset of HTML and CSS[0]. You can even check the demo page[1], it has examples with HTML and inline styles.

[0]: https://github.com/vercel/satori#html-elements [1]: https://og-playground.vercel.app

tngranados··on Closing a 30 pixel gap between native and web
Of course it is comparable. They are not quite the same thing, sure, but for many people they are definitely comparable and more often than not, VSCode is the better option. It may not support some things, but the same can be said about the “full blown IDE”.
tngranados··on 460M Indian Internet Users Are Now on IPv6
10/10 on both Wi-Fi and Mobile connection in Spain
tngranados··on Ask HN: Am I going insane or is there genuinely no value in blockchain tech?
Any example of those many useful applications?
tngranados··on Highlights from Git 2.35
Because they are written by a GitHub employee. If there were equivalent posts on the Git website, one could argue that we should link to those instead, but it is GitHub who writes and publish these posts and even if they are a form of PR, they are informative nevertheless.
tngranados··on I can't stand developing for Safari anymore
He specifically mentions that he'd show the banner if the user is on a Mac.
tngranados··on Magit 3.0
Will take a look, thanks!
tngranados··on Magit 3.0
I think it's a Mac and an HDPI thing. I had to stop using emacs because it was too slow on my work MacBook Pro connected to a 4K screen. Scrolling was painful and only marginally better with nativecomp.
tngranados··on Big list of HTTP static server one-liners
I wrote a zsh function[1] that runs an http server using ruby, php or python (2 and 3) depending on what's available in the system.

[1] https://github.com/tngranados/dotfiles/blob/0ebdc12f2454061a...

tngranados··on DuckDuckGo Extension to Block FLoC, Google’s New Tracking Method in Chrome
If you are leaving out Safari you are not testing on 95% of the browsers. At least market share wise, which is the only metric that makes sense.
tngranados··on Have I Been Facebooked?
Not sure what’s going on but it says my number is not part of the leak, but I’ve checked myself and it is actually leaked. Just be aware that it may not be complete.
tngranados··on Hyundai to acquire Boston Dynamics
Amazon
tngranados··on I sold Baremetrics
You need to move to Silicon Valley for that, but cost of living and lose of other benefits of living in Belgium might outweight the higher paid. You can try Switzerland if you want 6 digits salary in Europe.
tngranados··on PS5 Teardown [video]
I’ve always liked how Sony’s consoles had the power supply integrated, but in this case I’d rather keep it out of the case. This console is just too big to hide in my current living room setup and too ugly for my taste to display it. I was going to preorder it but I’m going to wait and see it in person first.
tngranados··on ARM Mac Impact on Intel
It does in the iPad so I we can probably expect that.
tngranados··on Ask HN: Why did you leave the tech industry?
This is resonating with me. I'm still working in the tech industry but considering a change. To which industry did you switched?
tngranados··on Ring 0 of fire: Does Riot Games’ new anti-cheat measure go too far?
I've seen that happening with other anti-cheat system in other games.
tngranados··on Pinebook Pro – First Impressions and Setup Tips
It's limited by the FAA to a maximum of 100Wh. The Pinebook Pro has a battery of 10000mAh at 3.8V (I think), so 38Wh. There is plenty of room for a bigger battery.
tngranados··on Messages via JSON
You can also turn off new contacts notifications which is something I also hated and discovered recently that you can do.
tngranados··on Auto-Antonyms
Aladeen submission.
tngranados··on Ask HN: Who is hiring? (July 2019)
Looks promising, are the offices in the PTA or in the actual city?
tngranados··on Textreme – A text editor with situational effects (2018)
It's a Godot Engine project, you can open it from there. Not sure if there is anyway to compile it without the Godot Engine application.
tngranados··on Block Fingerprinting with Firefox
I'm not sure how transparent they are about their finances, but most of Mozilla funding comes from search engines deals to make them default in certain regions (Yahoo, Google, Yandex and Baidu).
tngranados··on Apple introduces 8-core MacBook Pro
For real? I have Dell XPS at work an had tons of problems installing linux on it. I ended up finding a respined Ubuntu ISO in github that has plenty of patches pre-applied that mostly works, but still have some issues now and then with random freezes and with a thunderbolt dock. Admittedly, I was not a desktop linux user and didn't have much experience tinkering with it, but a coworker of mine who has been using linux for many years and who I would consider a fairly advanced user (heavily configured distro using his own modified tiled desktop environment, etc) had the same issues and couldn't even figured out how to install Debian on it without having the fans spin up randomly and with everything working (I think the webcam didn't work).
tngranados··on Terminal latency (2017)
I think he means that st is simple regarding its features not its implementation (which I know nothing about).
tngranados··on The Mate X is Huawei’s 5G foldable
Yeah, but no matter how bezel-less they are, the space between one display and the other would still be higher than the separation between pixels, specially at the dpi we are used to, right?
← PreviousPage 2 of 2