HNHacker News
TopNewBestAskShowJobs

w8rbt

1,857 karma · joined October 2, 2014

[ my public key: https://keybase.io/w8rbt; my proof: https://keybase.io/w8rbt/sigs/kKhQPR9DV30u4BLVAipAEeTFptKrcKQmGN_0dNj_5Xw ]
submissionscomments
w8rbt··on Dynamic Programming for Technical Interviews
When n is guaranteed to be very small it does not matter. Even an exponential solution would be fine in these cases. The 'algo nerd' on your team ought to know this.
w8rbt··on The CEO of RevolutApp on Slack: “Why Aren’t You Working on Weekends?”
If you have only ever worked a 9 - 5 work week this may come as a surprise, but in the real world in America, lots of highly paid people routinely work weekends and nights and 12 or even 24 hour shifts. Doctors, Police Officers, Morticians, Firefighters, etc. They use schedules to spread the work and many only get one weekend off a month of totally free time.
w8rbt··on 2FA on the command line
Store your TOTP secrets PGP or NaCL encrypted. I have done this for years. You'd have to get my private key (off of a smartcard) and get my private key password (out of my head) to decrypt my TOTP secrets before you could use my TOTP generated codes. I have much more faith in this approach than I do Android apps.

    $ gpg -d encrypted-secret.txt | goathgen
w8rbt··on 2FA on the command line
If you like oathtool, you may like oathgen and goathgen too (I wrote them years ago). They take stdin so you can store your secrets PGP or NaCL encrypted, etc. and pipe them:

https://github.com/w8rbt/oathgen

https://github.com/w8rbt/goathgen

w8rbt··on Running a Bakery on Emacs and PostgreSQL
Great uplifting article. It's awesome to see a geek get ahead in business by using his/her favorite open-source tech tools.
w8rbt··on Modern Alternatives to PGP
Replying to myself... I think I could actually use nacl/box to accomplish this. I'd just have to take care and break the large files into smaller chunks and find a way for users to easily generate and manage keys. OpenPGP sort of makes key mgt easy.
w8rbt··on Why CISA Issued Our First Emergency Directive
Nine out of ten times, it's bad passwords.
w8rbt··on The Great Brazilian Sat-Hack Crackdown (2009)
Probably not. Security is full of the "We're Compliant" types (don't we have insurance for that?) and very few real technologists who know how to hack/break/abuse systems. Target was PCI compliant when their CC data was breached and exposed. There are many more examples of this. Check the box, get owned and no really cares. That needs to change.
w8rbt··on Google terminated our business via our Google Play Developer Account
Keep G Suite, but buy your own domain (whatever.com) so you are in total control. If they ban you, just change DNS records to point to zoho or some other provider.
w8rbt··on Moving from Go to PHP Again
I don't miss generics in Go and I have used generics in C++ a good deal. I think the whole generics argument against Go is largely parroted by people who may not even know what generics even are. C doesn't have Generics either. It's doing OK.
w8rbt··on Tiny PWAs and why I keep building them
Runs in any browser?
w8rbt··on The cloud skills shortage and the unemployed army of the certified
Lots of questions about this. Some say it is old, stale data. I don't believe it is current. They charge 25 cents per 1,000 queries in AWS. Why give that away for free?

See thread here: https://gist.github.com/chilts/7229605

w8rbt··on The cloud skills shortage and the unemployed army of the certified
I could not tell you the names of many of the AWS services, but I have lambda functions running in AWS (written in Go). They monitor my DB loads in RDS. I get email and text alerts when things are not as expected via SNS, but I can't recall the name of the AWS service that I used to schedule that alert... CloudWatch maybe. For sure it was CloudSomething ;)

I'm not AWS certified, but I've been a technologist for many years and I majored in CS, so it all just sort of makes sense. Some names such as ELB, RDS and Lambda are intuitive. But some are overloaded, for example Alexa. They have Alexa for business and Alexa Top Sites (domain name research). BTW, has anyone else used Alexa Top Sites in AWS, it seems way overpriced to me.

I'd be leery of someone who knew all these names, but didn't have much actual experience as a technologist, but in an interview, they'd probably sound better than I would.

w8rbt··on Practical Linux Hardening Guide
This is like having a car that you work on more than you drive. Great as a hobby but that's about it.
w8rbt··on Cloud Functions: Go 1.11 is now a supported language
I think AWS Lambda supports Go 1.x. Does GCF plan to stick to Go 1.11.x or broaden support to other Go versions in the future? What will happen to 1.11.x support when 1.12 comes out?
w8rbt··on FBI affidavit against Ryan S. Lin in cyberstalking case (2017)
They all log, and they all turn those logs over to police agencies when they get court orders to do so. These services are only intended to prevent ISP snooping on legal activities that may be personal or embarrassing, but not illegal. That's it.

If you do something illegal on a VPN connection and think the VPN providers have no logs/evidence, you'll be very surprised when the cops show up.

w8rbt··on Sears has another chance to avoid closing down
Walmart does this really well.
w8rbt··on Sears has another chance to avoid closing down
I wonder if this will impact the small Sears Home Town stores. These are great and I'd hate to lose them.

   http://www.searshometownstores.com/
w8rbt··on Tesla haters are parking their pickup trucks at Tesla Supercharger stations
It's likely very rare. Most people are good, decent and reasonable.
w8rbt··on Merlin: A cross-platform command and control server and agent written in Go
That happened to a Go repo of mine once as well (except it was a python script causing the misidentification). I fixed it by adding a gitattributes file to the repo. Here it is:

https://github.com/w8rbt/netscan/blob/master/.gitattributes

w8rbt··on Evaluation of five password managers
Here's a plug for DPG (zero storage password manager). I wrote it years ago and it meets my needs well.

https://github.com/w8rbt/dpg

w8rbt··on Fortnite teen hackers 'earning thousands of pounds a week'
Some of the parents are probably under the impression that the activity is legitimate/legal. Kids can make a lot of money in technology (apps, games, mods, etc.). Parents may not be able to easily tell the difference. They just think they have a wonder kid and are proud.
w8rbt··on Go Modules in 2019
Same here. Will wait until Aug 2019 when I have to think about it.
w8rbt··on Go 2, here we come
No. C++ is very fast. It has generics.
w8rbt··on Go 2, here we come
Rather than writing multiple functions that take different types as args and return different types (say int8, int16, int32, etc.) but do the exact same thing, with generics, you can instead write one function that takes a number (which could be any int type) and return a number, and you only wrote one function. That is generics in a nutshell. The function is generic, not specific to one type.

Generics allow for less code, thus they are easier to debug, test and reason about. I've used them a lot in C++ and I do miss them in Go. It's not a deal breaker for me either way, but for people who write larger, more complex code, not having them makes it more difficult (more code to write, test and maintain).

C does not have generics either. Go is a lot like C in this regard.

w8rbt··on Scammers are changing the contact details for banks on Google Maps
Also good to verify the phone number on the company website.
w8rbt··on D compilation is too slow and I am forking the compiler
The first part of this reads like an intro to algorithms class where I think they cover all of these things. Directed graphs, back edges (cycles), convert to a DAG (no cycles), strongly connected components, topological sorting, etc. Nice to see it applied to solve the problem at hand.
w8rbt··on The Importance of Learning Primitive Communication Methods
You learn Morse Code by hearing it... not by seeing it. So ignore that chart on the website. You have to hear the rhythm to learn it. "Di dah dit dit" is what L sounds like, etc. Don't count dits and dahs (you won't be able to keep up). Learn the sounds. It's easy if you learn the sounds.

And visual code (ship signalling by light) is totally different from code sent over radio. Also, no one uses Morse Code anymore for anything meaningful. Ham radio hobbyist use it for radio contest, and occasional rag chewing, but the most meaningful code you'll hear today are repeaters or vessels identifying... this is callsign... but that's about it.

Great hobby and very simple way to communicate but not worth it for survival IMO. And I know Morse Code (and can use it when I have to) upto about 15 to 20 WPM. I am rusty though as I seldom have a need or desire to use it.

w8rbt··on Nine years of Go
CoreDNS
w8rbt··on Nine years of Go
I use pprof to find and fix bugs in Go apps. I just recently used pprof to find and report a huge memory leak in coreDNS (when using it as an authoritative DNS server for very large zones). I was able to find the bug and get it fixed in less than 24 hours.

https://github.com/miekg/dns/issues/786

https://github.com/google/pprof

← PreviousPage 4 of 18Next →