HNHacker News
TopNewBestAskShowJobs

ehonda

160 karma · joined May 15, 2018

submissionscomments
ehonda··on How Command and Conquer: Tiberian Sun punished the computers of the day [video]
I used to play this on my old P200 just fine. It was a great game and I loved the electronic soundtrack and artwork. It was very immersive.
ehonda··on Ask HN: What are programmers favorite sites?
planetsourcecode.com
ehonda··on Raspberry Pi 4 Review
Dont buy the official case. They will run hot.

Get one off amazon that has a fan. - "Acrylic case for raspberry pi 4"

edit - well it might not matter actually, I'd rather not spread false concern.

ehonda··on Ask HN: Is “new” Reddit completely unusable for anyone else?
Yes I have noticed. Perhaps they are catering to the tastes of the majority of their user base (whatever generates a flurry of clicks). And this is the... result.
ehonda··on Rsync, GUIs, power, control, design, and decisions
Thanks for making one, I only recently learned about rsync and was wondering if there was a handy gui for it :), then it magically appears before me on HN.

I'm weary of this "electron" thing though. Do I have to download a 500mb package to run this?

ehonda··on Raspberry Pi admits to faulty USB-C design on the Pi 4
Lucky me I didn't have any problems with mine because I:

- Bought the most basic kit that included a power supply and heat sinks

- Bought a $10 acrylic case with a fan so cooling also is not an issue for me

ehonda··on Ask HN: How do you find time to learn new skills having family?
Once our baby was 6 months old, we were able to stick to a hard bed time (7PM), hopefully the baby will be in bed by 8 (in actuality). Then you and the wife have at least 4 hours of down time.
ehonda··on Raspberry Pi 4 not working with some chargers
Try sudo rpi-update

There was an update that made a small improvement in idle temp. https://www.cnx-software.com/2019/06/29/new-raspberry-pi-4-v...

ehonda··on Raspberry Pi 4 not working with some chargers
I did not buy the official cover, but a cheap top/bottom (but not side) acrylic case that included a fan, and also applied 3 heat sinks which came in the basic kit that came with the pi from canakit. It idles at 47°C and can browse "new reddit" at 59°C. A samba share its hosting causes it to run at 59°C during file transfers to an external SATA drive connected to the USB 3 port. I'm pretty happy with it considering all the complaints about heat issues. Only issue I've had so far is that you cannot reliably power more than one external hard drive with this. A second one will need its own power adapter.

There was a firmware update, so make sure you applied that. Might help bring the temps down a bit.

ehonda··on Ask HN: Break my Go chat app, please
>It’s inefficient to read the list of swear words every time swearfilter is called (and similarly for checkban and checkAdminIP)

Agreed, its not efficient.

>The way it is implemented, you’ll also have quite a few false positives

Yes. The filter is only for a handful of swearwords, I wouldn't bother making it larger since people can easily circumvent it with various characters.

>Also, is it common idiom in Go to both defer f.Close() and manually call f.Close()? Seems noisy to me (and would, in many other systems, give an error when the deferred code tries to close an already closed file)

Honestly, I don't know. This was just based on some file io tutorials I referenced. Might be able to not have that defer statement at all. I haven't tried.

>Other issue: from glancing at the code, the 403 page doesn’t seem to return a 403 status code.

Good catch.

ehonda··on uBlock Origin 1.20
uBlock saves my laptop battery and CPU when web browsing, by a lot. It has an older core2 CPU that can easily churn at 40% just staring at a page where some ads aren't blocked. That and the cpu fan spins up to high. Turn on uBlock, and CPU use goes to zero. uBlock saves electricity and is therefor good for the environment. I'd say we're all obligated to use it ;)
ehonda··on Show HN: A chat server with no client side scripts
Hi, I opened it up again. Someone has to be available to moderate it when its opened to the public :)

There is only one way to do this and that is through the meta tag <meta http-equiv="refresh" content="2"> where 2 is the number of seconds to wait before refreshing.

ehonda··on The Huawei Disaster Reveals Google’s Iron Grip on Android
I totally wish my Q10 had a trackpad. They are very handy.
ehonda··on The Huawei Disaster Reveals Google’s Iron Grip on Android
That does not at all change the fact that the user ends up with a mess of open windows, regardless of whether they are burdening the OS.
ehonda··on The Huawei Disaster Reveals Google’s Iron Grip on Android
The android buttons in most cases these days are not hard buttons but soft ones that could just as likely change at the whim of Android, using your own hypothetical situation you came up with. They are cumbersome because usually it takes two hands to press them, as they are small buttons at the bottom. You end up needing one hand to hold the phone and the other to accurately press the button. With thumb-gestures, you can do it blindfolded in one hand. In addition, the buttons take up screen real estate.

Also, have you actually used the BlackBerry gestures? Upon getting a BlackBerry, the very first thing it does is a 1 minute tutorial explaining how to use the gestures. There are only a few. They really aren't complicated. They just take a brief explanation and the reward is you get a more functional interface.

ehonda··on The Huawei Disaster Reveals Google’s Iron Grip on Android
I have both an S9 and a BlackBerry Q10 on me every day. The BB10 OS, even though its now defunct, was designed in a way that it is FAR easier and more practical to use. I really, really hate the Android interface as a result.

1: BlackBerry hub is a lot nicer to view messages

2: Smart use of Bezel gestures makes it much easier to actually interact with the phone:

-If you want to access the hub while using an app, you take your thumb from the bottom of the screen and swipe up and to the right. The interface is very forgiving of where you swipe, you can do it without even looking, yet you wont accidentally do it either. If you don't want to fully enter the hub and just take a peak without leaving your app, just do a partial swipe.

-If you want to view all your running apps, you swipe up from the bottom of the screen to the middle of the screen, and voila , you get a tile arrangement of your running apps (easier to view than a Rolodex), as well as phone and camera access. And you are also less likely to lose track of what windows you have open. I find lots of peoples android phones have like 30 windows open - this is a fault of its interface.

-If you want to access your apps, swipe up from bottom bezel (shows running apps), and then swipe left, now you can view all your other apps.

-Every app is expected to have its settings menu accessible by swiping down from the top bezel.

There are no silly little cumbersome function buttons at the bottom like Android has (the back/home/apps buttons). Smart use of bezel gestures make this unnecessary.

Everything can be accessed easily in a simple, comfortable gesture with your thumb. As a result, it is a lot faster to use day in day out. And it is not as cluttered as Android.

I am sad the whole world chose Android. It's a crappy interface.

ehonda··on Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains
Lucky for me I dont use javascript. But that was decades ago right? Well.... relax! I think you are letting these fears get in the way of actually enjoying something quite fun. Perhaps the NSA has some lovely nginx exploits, but the script kiddies that trawl the web these days are laughable. (knock on wood).
ehonda··on Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains
Has this sort of thing ever happened to you?
ehonda··on Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains
Ok, I forgot to add 'reboot' to yearly maintenance :). And change the ssh port or consider a private key. But if its just for a personal static website, I wouldn't get overly concerned about being hacked. Assuming you have backed up your page, its another handful of simple commands to rebuild the whole thing anyway. They are also quite fun for other uses, like setting up a squid proxy, messing with an email server or irc server, just having a personal mini-cloud you can easily access from anywhere.
ehonda··on Show HN: Scar – Static websites with HTTPS, a global CDN, and custom domains
apt-get install nginx goaccess

cd website

cp * /var/www/html

Yearly maintenance required: apt-get update, apt-get upgrade

View traffic stats: goaccess -f /var/log/nginx/access.log

I'd say its just as easy and seamless to do it yourself on a cheap VPS for a static website. HTTPS isn't that much extra work either.

ehonda··on Ask HN: Are we killing the web by giving to much power to SSL cert authorities
> There's simply no excuse for not providing an encrypted connection.

Its use in every situation (ie, browsing a website dedicated to reviews on salt shakers), might not be necessary and could cause an affect similar to the overuse of antibacterial soap. :p

It will also prevent older computers from accessing the web as ssl standards evolve, which is kind of a shame.

ehonda··on Lightweight versions of websites without all the bloat
Should also check out wiby.me, it is a search engine that only contains lightweight websites.
ehonda··on A Dark Consensus About Screens and Kids Begins to Emerge in Silicon Valley
I grew up on old computers with old games, and that is what my kids shall also be stuck with for a while also. Mwahaha.
ehonda··on Solid – Reshape the web as we know it
>Does anyone else feel nostalgia for the pre-"web app" days of the internet? I'm talking about personal sites on Geocities and web rings built on communities of shared interest.

http://wiby.me is a search engine that indexes pages like the ones you miss. Full disclosure though, I made it.

ehonda··on World’s longest palindrome?
wo nemo toss a lasso to me now!
ehonda··on Google ups its Linux Foundation membership to the $500,000/year Platinum level
Linus explains his reasoning on that here: https://www.youtube.com/watch?v=PaKIZ7gJlRU
ehonda··on Show HN: Wiby – Search engine for lightweight, unbloated, old school websites
Couple extra bits of info:

I made this for two reasons:

1, I am kind of bored of the current web, I think its too commercialized, full of click bait, and bloated cookie-cutter pages.

2, I'm nostalgic for the magic of the early web and I wanted to see if I could recapture some of that.

The index is still pretty small, it's not meant to answer specific technical questions like Google can, it's more of an escape. Hopefully you will get relevant search results, and this will improve as the index grows.

Lastly if you happen to know any lightweight websites, feel free to submit them. Thanks for checking it out :)

ehonda··on Comparing Languages for Engineering Server Software: Erlang, Go, and Scala/Akka [pdf]
I recently switched the core pages of my website (a small search engine) to Go from PHP. Have not implemented any goroutines yet, just focused on a line-by-line port for now, and it was overall a fun experience. I would highly recommend Go. Only downside is the smaller (but growing) community of developers, so you might spend a little more time finding answers. Also I wish it didn't force you to comment out unused libraries or unused variables when you're trying to troubleshoot something. It should be allowed when running, but keep it restricted when building maybe?
ehonda··on Two Canadian banks say accounts compromised: CIBC 40,000 and BMO 50,000
I don't know if home insurance covers theft if you don't take basic steps to protect your property (ie locking your door).
ehonda··on Deconstructing Kitty
Fun fact: Back in the early 00's, josh.com simply had a message saying "josh.com is better than chris.com"
← PreviousPage 2 of 3Next →