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

comment 5y ago · link · parent

See my other comment. It's not about a single resource working across providers, but the ability to reference resources across providers and linking them together. Think Cloudflare pointing to AWS endpoints.

comment 5y ago · link · parent

> nah. i’ve heard the cross-cloud argument multiple times and it does not hold any water.

You misunderstood. I'm talking a single terraform project provisioning resources across different providers.

We have AWS resources referencing stuff in Cloudflare and the other way, and Cloudflare referencing stuff in a k8s cluster running on-site. Add some some GCP LBs referencing a whole bunch of endpoints across 6 providers. They're all under a single TF project and a single tf apply makes changes across all of them.

comment 5y ago · link · parent

> use whatever the cloud you are using has built it (cloudformation, deployment manager, etc).

Not applicable if you're deploying infra across cloud (we do that across a dozen cloud providers!). Without terraform, it'll bring us tears.

> Or about when it just loses tracks of resources.

Never had this in years of using terraform. These should be qualified with how often they occur.

> Terraform does not automatically rollback in the face of errors. Instead, your Terraform state file has been partially updated with any resources that successfully completed. Please address the error above and apply again to incrementally change your infrastructure.

Checkout the code from before the change and apply again. I've done this numerous times and it's been as good as a natively supported rollback.

> HCL? A disaster.

Why is it a disaster? I find it predictable, ergonomic and easy to write. I also really like the JSON compatibility. But this one is I guess mostly taste.

> it's a terrible tool

I've found Cloudformation to be an abomination as far as user experience goes! Every time I used it, I lost a bit of my soul.

comment 5y ago · link · parent

I've just recently started to use 1password and here're my thoughts:

- Amazing support and fast response on their forums from the reps

- Works across Linux (my desktop), Mac and iPhone and Safari and Chrome browsers

- Has CLI

- Syncs instantly (unlike Chrome and iCloud Keychain)

- Supports TOTP (no - it does not completely defeat the purpose of 2FA, there are multiple aspects to it)

I am also aware of the risk I'm taking by trusting a 3rd party commercial company with my credentials.

comment 5y ago · link · parent

Note that one can use any router with the dish. Basically the dish provides you with a NATed private IP which you can assign to the WAN interface of your router of choice and go from there.

comment 5y ago · link · parent

I've recently started developing unix tools with config passed entirely as arguments with a special argument called `--args-file` which takes a file or stdin and reads one arg per line.

This is of course nothing new, but such a powerful pattern:

- It lets you run things without the need for a config file (when testing/running interactively)

- but on the other hand, you can still define arguments saved in a file for more permanent setups.

- `--help` ends up providing all the doc needed to configure the tool.

- It's less magical than env vars and doesn't leak into subprocesses by mistake.

One pragmatic step further is to expand env vars using the shell `${VAR}` syntax for slightly more flexibility.

comment 5y ago · link · parent

I'm super disappointed by recent update to Unify Controller on their CloudKey Generation 2. It now requires access to Internet and a Unifi cloud account in order to setup a local controller. I, like many others, have downgraded to the 1.x version.

And now this BS. Ubiquiti was one company I always rooted for, and recommended to friends. Time to move on I guess (for me, I've already spent many $$$ on my equipment unfortunately.

518.

Spack Package Manager(spack.io ↗)

2 points · by oxplot · 5y ago · discuss

comment 5y ago · link · parent

I hate it when the websites try to disable autocomplete on login forms and I'm actually happy for browsers to override this anti-user behaviour.

comment 5y ago · link · parent

I have RSS feed sent to my email , so I don't check anything twice. Just a linear stream of emails that I have become exceedingly efficient at scanning. i currently go through 400 articles a day and it takes me about 10-20 minutes to filter them down to a dozen to read.

comment 5y ago · link · parent

I run rss2email on a schedule on Github Actions and get feed right in my inbox.

comment 5y ago · link · parent

USB-C cables that support high current (> 3A) have a chip inside that communicates with the power source to let it know it can carry high current. Only then does the source advertise the higher power profiles to the consumer.

comment 5y ago · link · parent

- Stop animation

- Use with larger screen as a thin client to cloud

comment 5y ago · link · parent

I get very excited every time I write in Go like I don't in any other language.

comment 5y ago · link · parent

The arguments for number of death seem to always miss an important part: quality of death. One cannot ignore the difference between dying in a hospital bed, most likely next to loved ones and under some kind of drug to alleviate as much pain as possible, vs being burnt alive next to others burning alive or jumping off a building "on purpose" to avoid the said fiery death.

526.

Victoria to fine drivers blocking EV chargers(carexpert.com.au ↗)

17 points · by oxplot · 5y ago · 22 comments

527.

Victoria follows South Australia and imposes electric car road tax(thedriven.io ↗)

255 points · by oxplot · 6y ago · 378 comments

comment 6y ago · link · parent

If you're looking for a bit more flexibility around the current and voltage setting as well as a more solid mounting option and safety features, take a look at fpx board [1]. fpx is open source.

Disclosure: I'm the author

[1]: https://fpx.oxplot.com/

comment 6y ago · link · parent

There are multiple aspects of USB-C. There's the charging standard USB-PD and data transfer standards (display, audio, data, etc).

As far as charger spec goes, I am very happy. There are adapters that can supply multiple voltages, practically powering all my mobile devices. For all the other devices that come with barrel jacks, I made my own module to convert them to USB-C [1].

[1]: https://fpx.oxplot.com

comment 6y ago · link · parent

I'm sure Teslas with built-in starlink connection are in the works.

531.

Measure Height by a Coin(play.google.com ↗)

1 points · by oxplot · 6y ago · discuss

comment 6y ago · link · parent

> When will we get easy to use modules like this for power output?

What do you have in mind? Are you thinking of a USB-C to USB-C voltage converter?

comment 6y ago · link · parent

Jumper is a good idea as it's something that can fit on the fpx board.

comment 6y ago · link · parent

I'm very interested to know what board you're using at the moment. I did consider using a button, however given the small size I wanted the board to be, it was not possible to have anything mechanical on it.

1. The protocol is actually fairly simple and open. Everything including the website is open source. In fact the site is a single page HTML which can be saved and opened offline.

2. The point about sabotaging which others have mentioned, is a valid point and I have thought about using a sort of a password to restrict who can configure it. I haven't found a user-friendly solution to this yet. As this board is meant to be embedded inside of an enclosure, I am relying on physical obstruction of the sensor as a form of security.

comment 6y ago · link · parent

Thanks for the suggestion. I've just added a tip on the site about putting the board inside an opaque enclosure. That's what I had in mind as far as security goes. I have thought about giving each individual board a unique ID which will be verified when configuring the board.

536.

fpx: easy USB‑C power for all your devices(fpx.oxplot.com ↗)

49 points · by oxplot · 6y ago · 18 comments

comment 6y ago · link · parent

This is awesome. We need more human centered navigation strategies. What I've always wanted in car navigation are:

- navigate via the least busy paths, even if it takes longer

- navigate via the least risky paths, for e.g. avoid right turns (in LHD countries) or left turns in RHD countries. Avoid u-turns.

comment 6y ago · link · parent

It's like reading something I wrote! I've been in the same boat (chronic hyperventilation, acid reflux, headache, panic attacks) for the past 10+ years and it also started with a health scare. However in my case, it seems to be mostly related to muscle tenseness caused by serotonin imbalance. I finally had too many episodes few years ago and it forced me to learn about it and find ways to deal with it.

Without knowing the root cause in your case, the only thing I can suggest is to train yourself to breathe right while your figure out the underlying cause. The Breathing Retraining chapter of the PTSD Handbook [1] is the best resource I've found for this.

I suggest you see a psychiatrist as chronic hyperventilation can be related to mental health issues.

Feel free to PM me. My email is on GitHub.

Best of luck

[1]: https://www.amazon.com/Post-Traumatic-Stress-Disorder-Source...

comment 6y ago · link · parent

Something that's skimmed over in the article but not addressed is: if the key pair isn't used for encryption, then how are session keys protected?

The answer is: using the server's public key which is transmitted to client when establishing the connection.

But then it's trivial to perform a person-in-the-middle attack and both observe and manipulate the plain text data by sending the client the attacker's public key.

That's why it's crucial to retrieve host keys via secure channels and explicitly whitelist them on clients.

1
171819
37