Better HN
topnewbestaskshowjobs
Log inSign up

oxplot

4,464 karma · joined Oct 15, 2011 (15y ago) · 1,098 submissions

Minimalist tech lover.

https://blog.oxplot.com/

https://github.com/oxplot

Submissions

481.

Show HN: Load env vars from variety of sources with ease(github.com ↗)

5 points · by oxplot · 5y ago · 2 comments

comment 5y ago · link · parent

That requires you crossing your eyes, or look past the image, which makes your vision double.

comment 5y ago · link · parent

I am the only person I know in my group of friends who can change the focus of my eyes independently of the distance of the object I’m looking at. In other words, I can make vision go blurry (wide eyes open) without it going double.

comment 5y ago · link · parent

If you have a domain that you know won't be going away, you can renew it for up to 10 years in advance. Cloudflare currently has the lowest price for .com.

comment 5y ago · link · parent

I don't know if their claim of extra protection is valid or valid to the claimed extent, but if so, it's well deserved and this is BS news.

comment 5y ago · link · parent

Umm, they are already pretty intimidated. As Starlink stands right now (in beta with partial constellation in service), it's superior to all of those combined. Those guys are shitting their pants right now scrambling to either block SpaceX from moving forward (by whining to authorities) or setup their own competing constellations.

comment 5y ago · link · parent

If you're on linux, `kind` is the way to go

comment 5y ago · link · parent

> why don't we just fix Earth?

If you’re truly interested to know the answer to this, you can find it aplenty online. And it’s not because it’s “sexy”.

comment 5y ago · link · parent

I recently used `git bisect` to find the latest compatible code revision for a DB snapshot by checking the db migrations applied in that snapshot. Bisecting 80K commits takes a few seconds. Magical stuff.

comment 5y ago · link · parent

Yep, I made something similar out of cardboard for myself and used it in office in the past. I'm super sensitive to motion in my peripheral vision.

comment 5y ago · link · parent

These are some of the most annoying birds here in Oz, probably right behind Magpies.

I've seen them destroy/pull off the outer plastic trim on a car roof like they had pliers for beaks. They're pretty meaty and large and are not scared off easily. Loud as fuck too.

comment 5y ago · link · parent

Major thumbs-up for AMD chip. With a replaceable main board, this will be a dream. I ordered a framework laptop at its highest CPU+RAM spec and can't wait to replace my 6 years old ThinkPad x250 with it.

EDIT: would also add that the open source design USB-C based side modules are amazing - looking forward to designing my own modules.

comment 5y ago · link · parent

Despite my endless hatred of Node ecosystem, Node-RED is an absolute gem of a software. It hasn't skipped a beat in over a year running my home automation.

comment 5y ago · link · parent

I’m talking about my own experience comparing an electric car and a gasoline car at low speeds. EVs being significantly quieter is already well established and we have laws for EVs to make extra noise to alert pedestrians.

comment 5y ago · link · parent

It was only after owning a Tesla that I realized how much of the noise from a car comes from its engine, and not the tires. I'd ballpark around 80%, especially at city speeds (less than 50 km/h).

comment 5y ago · link · parent

I was puzzled by the responses of therapists finding out about this. I guess as an engineer I’m always thinking of a quick practical solution. I would set up a camera where the dryer is. Taking the dryer itself is of course much better and simpler. What I find absolutely dumb is to skip these immediate remedies and instead trying to medicate someone off the bat.

It’s like prescribing a healthy exercise regime for someone who’s having a heart attack.

comment 5y ago · link · parent

A technique I learnt as a kid from my uncle was to mindlessly use physical interaction to “feel” the state of things and learn a habit of doing it all the time. For the example of locking the door, it would be trying to open it and pull/push on the handle right after closing it. This seems to stick far longer in one’s memory.

comment 5y ago · link · parent

What I noticed is the much faster download speed of the offline maps. It pretty much is as fast as my network allows.

comment 5y ago · link · parent

https://github.com/oxplot/pdftilecut : tiles a PDF to help with printing on small printers

https://fpx.oxplot.com/ : Tiny module that allows powering anything with USB-C

Some small scripts:

https://github.com/oxplot/gists/blob/master/flashserve : creates a QR code to transfer a file over Wi-Fi from terminal

https://github.com/oxplot/gists/blob/master/qrconnect : Read a Wi-Fi password QR code from the camera and connects to Wi-Fi

https://github.com/oxplot/gists/blob/master/qropen : Opens a webpage from QR code read from webcam

500.

Ask HN: Experience with Moving from Arch Linux to Mac

7 points · by oxplot · 5y ago · 9 comments

comment 5y ago · link · parent

> Two years ago I looked into it and rather then having an abstraction from cloud providers

This is a misrepresentation I've seen multiple times and I don't know how it's come to be.

Terraform doesn't abstract resources. It simply supports all cloud providers and lets you intermix resources from different clouds inside a single project. Resources can depend on each other and use each other's attributes.

As an example, you can bring up a load balancer in AWS and create a DNS record for it on Cloudflare in a same Terraform project and maintain them together.

comment 5y ago · link · parent

> for example you can't create a kubernetes cluster then add a resource to it

Of course you can! DM me if you want details.

comment 5y ago · link · parent

Gotta realize that 99% of people like drama, love to see others fail and say they said so, and that's OK. Much like how Tesla no longer has a press department, we should just focus on the work and people will catch up eventually.

comment 5y ago · link · parent

> Pick any random apartment complex in the US and pretend 80% of the residents there own an EV

To pretend that, you'd also have to pretend that it's 20 years or so (if not a few more decades more) in the future. EVs are not gonna replace billions of the on-road vehicles over night, average of each is driven for a decade or two.

Over 20 years, as more EVs show up, more apartment buildings upgrade their electrical infra to keep up. How so? Compare the number of charging spots in buildings 20 years ago to now.

comment 5y ago · link · parent

A secure cookie would be of no use for a site whose only secure page is the login page, which is what the parent post I replied to was talking about.

comment 5y ago · link · parent

That only protects the user's password. The auth cookie will be sent in all subsequent requests in plain text.

EDIT: that's how firesheep (https://en.wikipedia.org/wiki/Firesheep) hijacked sessions for e.g.

comment 5y ago · link · parent

Lots of misconceptions about how power delivery works over USB-C. Here are a few facts that may help:

- USB-C power is negotiated over USB-PD protocol. Dumb devices are going to get 5v at low max. current.

- The sink device (laptop) must communicate and specifically ask for voltage/current it needs. Sources (power supply) aren't going to just push the max voltage to any device.

- All USB-C cables are required to support 3A of current. For any higher current, the cable must have a chip that advertises its current capabilities.

- The new spec imposes further requirement for the cable (in form of extra capability advertised by the chip in the cable). Power supplies will only enable 50v if such a cable is present.

508.

Victoria’s ridiculous tax on Electric Vehicles has passed, starts July(techau.com.au ↗)

3 points · by oxplot · 5y ago · discuss

comment 5y ago · link · parent

> It's just nearly impossible to memorize.

This can be trivially implemented in CI for code and docs and have links to this doc. No need to remember it.

comment 5y ago · link · parent

These screens are awesome. I did a design a few years ago, aiming for super low cost and easy build. Made a few units but it needs more refinement: https://splapr.com/
1
161718
37