HNHacker News
TopNewBestAskShowJobs

viseztrance

395 karma · joined August 21, 2012

Self taught hacker
submissionscomments
viseztrance··on Introduction to the A* Algorithm (2014)
I've been working on a video game and actually followed the article to implement astar.

If you have an inaccessible node, astar will indeed scan everything. But to get around this I only had to add a limit to the number of frontier iterations which was just a conditional.

viseztrance··on The /bin/true Command and Copyright (2009)
I know, but you still have to make it executable, hence it's not as convenient.

And on top of this, an unlink is less error prone than a rm -f.

viseztrance··on The /bin/true Command and Copyright (2009)
Well the symlink command was also easier to share with others having the same issue, whereas a one liner that creates an executable script which returns 0 is less ideal.
viseztrance··on The /bin/true Command and Copyright (2009)
> The /bin/true (or /usr/bin/true) command is now nearly obsolete, because most extant shells now have a builtin "true" command. But it's still useful occasionally, for various silly reasons [...]

This make it sound like this is useless, but I disagree. For example, recently I had some games crash because they couldn't find pulseaudio, and making a symlink from pulseaudio to /bin/true fixed my issue (and yes, they had sound). So there are certainly legitimate uses for it.

viseztrance··on Aspartame and cancer – new evidence for causation
I question the same thing, and would like to know how accurate it is.

Is there any peer reviewed literature that supports this?

viseztrance··on GitHub’s engineering team has moved to Codespaces
Somehow I can see some companies using this to spy on their employees and "measure" how productive they are, and how their timesheets reports match.
viseztrance··on New EU Law Removes Digital Privacy
Control for whom? Before gdpr the general stance in the industry was we never delete user data, just mark a field saying its deleted in the db and that's that. It's been a total shift.

And it's not just that, I've seen first hand that even internal communication about customers are treated with more care as they can legally request all their data.

viseztrance··on Firefox 91
For what is worth, I have disabled it in firefox 90 in about:config.
viseztrance··on The Emacs Lock-In Effect or the Emacs Sunk Cost Fallacy
I think you would still be surprised at how many things emacs can still do better like undo in region or even simple macros that find use even during simple text edits.

Though ultimately feature per feature, I don't think emacs looks all that great, but the difference is that you can actually use a lot of what it has to offer whereas it's difficult to do so in more modern editors (with fuzzy matching and all).

viseztrance··on Technical debt is not debt; it’s not even technical
> Debt repayment has one vital characteristic: it is easy to understand

If it were this easy you wouldn't see so many people taking on so many unnecessary debts. Technical or otherwise.

viseztrance··on Systemd: The Good Parts
Thanks for sharing this.
viseztrance··on Systemd: The Good Parts
It tried when the mounting failed, saying it would drop me to a shell and then said "it fail to open up a shell".
viseztrance··on Systemd: The Good Parts
I've been using linux on my desktop for almost 20 years. This was the first time I couldn't get a shell to fix my problem.
viseztrance··on Systemd: The Good Parts
I ignored systemd because I thought it didn't affect me, as I only run linux (fedora) on my desktop, and hardly had any issues at that.

But recently, when I changed my fstab file to mount a drive at boot, I made a typo. My system wouldn't boot at all and it wouldn't even drop to a shell so I can chroot the file system like you would with init.d.

I thought that there's some arcane command I don't know about. But there wasn't. You're locked off, and expected to boot off something else to fix your system. Horrible.

Having this said, I honestly expected way more on the section about benefits to users.

viseztrance··on EU citizens arriving in UK being locked up and expelled
I know that, and it's of course a good point.

I was trying to convey the fact that citizens from eu countries are not at the level of other third countries yet. For example you can still travel using just a national id card until October.

I wholeheartedly agree with the rest of your comment though.

viseztrance··on EU citizens arriving in UK being locked up and expelled
Bare in mind that eu citizens still don't need a visa to travel to the uk.
viseztrance··on Vulnerability allows cross-browser tracking in Chrome, Firefox, Safari, and Tor
Strange. I have resist fingerprinting as well (running on fedora), and it correctly detected all 5 apps I had installed from the list.
viseztrance··on Are top websites using WebGL for fingerprinting?
I don't know how it can be fully prevented other than disabling javascript, but in my opinion firefox with "privacy.resistFingerprinting" is a good start, though you'll still stand out because few people are using it.

I've seen a script that performed two canvas fingerprints - a complex, and a simpler one. The latter being so simple always returned the same value regardless of the browser, so it was there to see if you have altered the canvas value. That's why changing your fingerprint might still leave you trackable.

viseztrance··on Are top websites using WebGL for fingerprinting?
It's quite tough to know for certain if you're being fingerprinted.

I worked on finding ways around fingerprinting at a previous job. The problem is that sites go out of their way to hide fingerprinting like performing it in an arbitrary redirect and then never do it again or only after using the site for a bit, and prefer doing it before an important operation like making a payment.

viseztrance··on WebOS OSE 2.10
LG also has a special webos variant for signage displays (I developed for it at my last job).
viseztrance··on Syntax Highlighting in a Webpage Without JavaScript
Looks like we've gone full circle.
viseztrance··on AstraZeneca vaccine safe and effective in U.S., Chile, Peru trials
> Because it makes for a great excuse for their failure to negotiate their vaccine contracts.

This argument is beyond ridiculous. It was the decision of health officials, and it wasn't just countries part of eu that have suspended AZ vaccinations.

viseztrance··on Best practices can slow your application down
I've seen this pattern more often than not, but as the person joining the company later and having to fix other people's mess who either left or moved into management.
viseztrance··on Godot maintainer removes controversial satirical piece from documentation
I just realized that. That makes absolutely no sense.
viseztrance··on Godot maintainer removes controversial satirical piece from documentation
Though I didn't like the devs renaming things to puppet (of all things), from master/slave, I think this change is fine.

A couple of years ago I visited that page when I encrypted the saves of a hobby game I worked on. I don't remember any sarcasm because I'm pretty sure I stopped reading a sentence or two in, and just scrolled down to the examples.

It was just noise that needed to be filtered out. And that's not okay because as far as good documentation goes, I usually read the entire thing before trying out an example.

viseztrance··on Website scores kill our success, waste our time
As someone has already replied, you slowly gather passive points from your earlier questions.

My account is from 2009, with 33 questions, and 120 answers and 10K points. It's a tough estimate, but I felt like I received my money's worth, sort of speak.

However, bare in mind that contributing was significantly easier 10 years ago, hence why most of my points stem from older questions and answers.

viseztrance··on Website scores kill our success, waste our time
On stackoverflow you can spend your reputation on bounties for certain questions (niche, difficult) that would otherwise get ignored.

Personally I spent about 1000 reputation points on those, and some of the answers were surprisingly good.

viseztrance··on Ultima VIII – How to destroy a gaming franchise in one easy step
A departure from the series, but it doesn't change the fact tha Ultima VIII was a gem and easily one of the best rpgs I ever played. There was something absolutely amazing about how little hand holding it provided, especially playing back when I had no internet to help me out.
viseztrance··on NordVPN disables features when you turn off auto-renew
I moved last year back to my home country from the uk, and did the final trip on my motorbike.

Midway I realized I was missing an offline map of a country I was about the be passing through the next day. I had an unlimited data plan with traffic abroad included, and despite this, it didn't allow me to download the maps for my gps (everything else worked!), even after fiddling around with third party dns.

So I downloaded a vpn app, and managed to get everything sorted out.

viseztrance··on Just because I have a vertical screen doesn’t mean I’m on a phone
I can relate. Sometimes I'm browsing a page, and zoom in (control+) to make the text larger. But then the webpage switches to its mobile view.

So it seems like we've broken desktop accessibility in favour to the mobile one.

Page 1 of 7Next →