HNHacker News
TopNewBestAskShowJobs

tossaway9000

117 karma · joined May 10, 2021

submissionscomments
tossaway9000··on Ask HN: Self-Hosted Serverless Solution?
> a serverless solution

> I wanted to move all those functions on a server in my LAN.

Not so "serverless" after all eh?

tossaway9000··on How to permanently lock your PayPal account
I'm getting so annoyed at companies requiring a phone number and then forcing MFA on me with it.

If you're going to force MFA on users give them another option besides receiving a text message or phone call. I don't want to live with my phone attached to my body at all time, sometimes I just want to log in without having to go find where I left it. I have Yubikey, let me use that, or worst case, send a code to my email.

tossaway9000··on Ask HN: Logical Vulnerability Discovery?
CodeQL comes with a bunch of pre-configured queries for the language you're using (at least when running on Github enterprise)
tossaway9000··on Ask HN: Logical Vulnerability Discovery?
CodeQL will do this for some languages, the kind of bugs I've seen it identify have been pretty impressive, I'm sure there are some other static analyzers that can do this as well.
tossaway9000··on Ask HN: I'm tired of intense code review cycles
I don't know why someone would want to waste time arguing about code style.

Standardizing on things like `cargo fmt`, `go fmt`, and `terraform fmt` remove a ton of nitpicking out the gate. The javascript world can't seem to make up their mind though (jslint is rarely used these days, jshint died, I think eslint is the thing now?)

tossaway9000··on Ask HN: Is serverless worth it in some cases?
I see the business befit in serverless in a lot of ways but I don't think its necessarily a good thing for developers, its a good thing for business in some cases but its highly proprietary.
tossaway9000··on Why not sell the Symbian 60 software rights or make it open source?
I'm considering holding out for the Mudita: https://mudita.com/

Though I like Lightphone's aesthetic more.

tossaway9000··on Why not sell the Symbian 60 software rights or make it open source?
> I don’t even want to mention the crap cake that is KaiOS...

Oh please do, its absolutely horrid. How are they even keeping up with Firefox security updates? The only conclusion I could come to, when investigating this, was that they aren't, and when I asked the company in a comment on their public blog how they were handling it they deleted my comment.

I was hoping Lightphone would be a strong contender for a non-smartphone but the reviews so far have been mixed and there seems to be a few serious issues (e.g. battery life), also there's no 2FA which honestly is one of the main things I use my phone for these days (not everything supports hardware 2FA)

tossaway9000··on We check our node_modules folder into source control
I second this, "google's problems are not your problems"
tossaway9000··on We check our node_modules folder into source control
I came to mention this exact issue.

I've seen this trip up people in the past, in one case a CI/CD system running Linux was used to produce a project deployed to a mostly windows environment this didn't cause any issues until the day a developer added a binary module. Honestly, I'm surprised it worked as long as it did, it took a little over a year before anyone hit that issue.

tossaway9000··on Ask HN: Shifting my career back to Software Development
Double down on your strongest skill (sounds like Python) brush up on some of the changes (e.g. Python 3isms) and find a role where you can use it, all the new shiny stuff can come later.
tossaway9000··on SuperH
no update since August 31, 2016 seems pretty dead, though I guess there is someone around to renew the domain name, etc.
tossaway9000··on SuperH
NetBSD has an active port (though "active" for NetBSD is not as "active" as other projects, but it still builds and runs): http://wiki.netbsd.org/ports/sh3/

Aside from the Dreamcast, there's a few Japanese NAS devices that run the SH3 port too.

tossaway9000··on Leaving MySQL
> MySQL has the whole 'worse is better' thing going for it.

I've used both MySQL and PostgreSQL and I prefer MySQL, it seems to work and scale better "out of the box" and has a more comprehensible permission model than Postgres. I might be biased somewhat as I've used MySQL a lot longer and have even written plugins to interop with it but its still my number 2 go to (after SQLite)

tossaway9000··on Ask HN: eBay alternatives for computers, embedded components, and tools
Other comments have mentioned my usual go-tos, but to add one more to the list: https://www.sparkfun.com/
tossaway9000··on Ask HN: What questions do you ask from companies during interview?
LOL
tossaway9000··on My friends Instagram was hacked and deep-fake videos posted in less than 6 hours
What is the deal with banks being actively hostile to password managers?

One bank specifically I have to deal with will:

- Not allow you to paste a username/password (ctr+c/ctrl+v, right click disabled)

- Lastpass autofill doesn't work

- If the page loses focus, both user/password inputs are cleared, you get to start all over.

There is also a very small subset of special characters that are allowed. If you do not reset your password as often as they'd like, you have to agree to waive any responsibility for any issues with your account before logging in.

SMS 2FA required, there's no other 2FA option.

After entering your 2FA code, the "proceed" and "cancel" buttons are the exact same shape and color and I've hit the wrong one multiple times, in which case there is also SMS 2FA cool down and you have to wait 15 mins to start all over again.

It's absolute insanity and every time I have to login its an adventure.

tossaway9000··on Processing and P5 got newbies into coding
Much love for processing!

Back when I was starting school and learning programming I also picked up an Arduino Duemilanove and learned Wiring and Processing which went together like peanut butter and jam. What an amazing time. I recall getting some of my processing apps to run on my Sony Erricson phone as they once had a way to convert the Processing sketches to a Java Mobile Edition apps (back before Andriod was widespread)

tossaway9000··on Tools to generate constants and enums in multiple languages
Update: protocol buffers look more promising than I initially gave it credit and there is a Rust implementation.
tossaway9000··on Tools to generate constants and enums in multiple languages
I glossed over it early on as it didn't support mention Rust support, it also seemed to be for a different use case than I was targeting but I'll give it another look. Thanks for the suggestion.
tossaway9000··on NPM install is curl – bash
This is why I will never install an npm module with sudo or globally with -g

You can get around that requirement by having a specific location set aside for global modules (I use ~/.config/node/node_modules) and then putting the node_modules/bin directory in your path. Install anything there that some bone-headed project things you should install globally (mocha, grunt, serverless, etc.)

Also, I'm not disagreeing with the post at all, but there is at least one important distinction between piping curl output into bash and that is the expectation of what will happen after running the command.

Piping the output of curl into bash can result in absolutely anything happening, just like running a script you've never looked at.

Running `npm install` or `yarn install` _should_ just install the NPM module, possibly build a native module and not much else. There's numerous cases of NPM modules doing other things they shouldn't, and I'd argue invoking a compiler to build a native module is one of them too but there is at least an intention of what will occur. NPM is not alone in this regard either.

RPMs can execute arbitrary commands too (though coming from your distribution they will be vetted and signed), so can Make, but there are some expectation around what they will and will not do. With curl/bash anything is fair game as to what to expect.

tossaway9000··on AWS GovCloud is having an outage in us-gov-west-1
This is the first of its kind I recall seeing in GovCloud (customer for a few years now), but given their clientele I wouldn't be surprised if its very high priority.
tossaway9000··on Do-nothing scripting: the key to gradual automation (2019)
It's not a "private" key if its shared. Only the end user needs to know the private key details.

Consider the usecase of generating a user their initial password for a service, this almost always results in the user needing to immediately reset their password after initial login, this doesn't happen if someone is generating both parts of the key pair for you.

My sysadmin doesn't need to know my password, and doesn't need to know my private key or passphrase, that would allow them to impersonate me.

tossaway9000··on Do-nothing scripting: the key to gradual automation (2019)
> Create an SSH key pair for the user.

> Send the user their private key via 1Password.

Why are you generating *private keys* for users, then sharing them? Not that this impacts the automation bits but IMHO users should known how to generate and maintain a key pair, and send you the public key.

tossaway9000··on AWS GovCloud is having an outage in us-gov-west-1
AWS acknowledging the issues is such a rarity I didn't even check it until well after we started seeing issues.
tossaway9000··on Show HN: FlakyBot – Identify and suppress flaky tests
How about you fix the flaky tests? Am I insane for thinking that? The whole concept of "just reboot it" or "re run it again" and "fixing" the problem is at least one reason the modern world sits on a mountain of complete garbage software.
tossaway9000··on U.S. tightens export controls on items used in surveillance of private citizens
Are there any means to detect that a cosmic ray caused such a crash without ECC memory? I recall that Drop Box had some issues early on with memory corruption due to how many low-end PCs ran Drop Box.

I recall coming across a more detailed write up a long time ago but still found mention of the issue [0]

> our clients rarely have ECC memory. We see a constant rate of memory corruption in the wild and end-to-end integrity verification always pays off.

[0] https://dropbox.tech/infrastructure/-broccoli--syncing-faste...

tossaway9000··on Uber and Lyft don't save money, time, or the planet
> I swore off taxis years ago after I realized that every time I walked out of an LAX terminal toward the taxi line, my neck and shoulders began to tense. I was bracing for a fight.

Same thing with the "Grab" app in Asia, its just not worth fighting the cab drivers in Manila or Bangkok, when you can get a Grab driver they will give you zero drama but the cab drivers in those cities will haggle you, not use the meters, try to get you to go to some tourist trap, etc. Its not like that across those entire countries (Davao City notably has absolutely amazing taxi drivers) but the big cities are terrible.

South Korea, Japan, and Singapore have such amazing public transpiration options there's little need for taxis most of the time (though its worth noting that when I have used them I had zero issues in those countries, even in Seoul and Tokyo.)

tossaway9000··on U.S. tightens export controls on items used in surveillance of private citizens
There are lots of interesting bits in there though, such as:

> List of Items Controlled

> a. Any type of telecommunications equipment having any of the following characteristics, functions or features

> a.2. Specially hardened to withstand gamma, neutron or ion radiation;

is ECC memory now a controlled item?

tossaway9000··on Ask HN: Do you still use FTP?
I just want to point out for any poor soul who may find themselves on the other end of a request to implement an FTP feature and who may not know this:

FTP is plain text file transfer protocol, there's not really any good reason to use it anymore IMHO

FTPS is an extension to FTP to support SSL/TLS

SFTP is "Secure Shell File Transfer Protocol" (e.g. over SSH)

We had a project once where the customer asked us to use "SFTP" to manage some critical files. This was handled in-app, we added the functionality, did our testing and moved on.

Later when we did integration testing with their system we discovered that what the customer actually meant was to ask us for "FTPS" and we had to rip out the SFTP library with FTPS stuff.

Something similar _almost_ happened a couple of years later in another project (due to miscommunication by someone doing requirements gathering) and this time we caught it early.

Page 1 of 2Next →