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 4y ago · link · parent

No one who has access to FSD Beta, is in any shape or form mistaken, to think that Tesla is under any obligation to keep providing the feature whether the driver has a safety score of 100 or not. Tesla clearly states in their terms, before you can turn FSD Beta on, that they reserve the right to take it away at any time for any reason and rightly so.

Our great HN community here throws rocks at Tesla and FSD Beta any chance they get. Why in the world would Tesla allow someone whom they employ, to generate bad press while they're still heavily developing a tech. Isn't FSD Beta already not enough negatively covered?

As for firing the employee, WTF Tesla?

comment 4y ago · link · parent

> What, exactly, was gained here to justify the productivity lost while waiting?

The goal isn't to wait long enough to come up with something novel. That's what research projects are for, and Go is on the exact opposite of the spectrum. If after deliberation, it turns out that a mostly similar solution is the way to go, then that's doing it "right".

Also, the lost productivity that keeps getting mentioned is overblown. The minority who actually need it (a subset of those who ask for it) are, well, a minority but a loud one. I have developed in Go for 8 years. I only ever reached for generics twice and in both cases, copy pasting the implementation in different types added a insignificant effort.

> Go is a very boring language in a sense that there's very little new there

You hit it on the nail! It's boring. That's what you need when you're targeting large distributed teams and want your code base to survive decades and still be readable and navigatable by pros and amateurs alike. You don't want clever or smart. You don't want cutting edge and novel for novelty's sake. You don't want magic. You don't want to have to keep the context of 20 files in your head to understand one line of code. You don't want a syntax that can be interpreted in 10 different ways in different contexts, ... . You want the sweet spot between simple and practical.

Back to:

> Most critics of Go are well aware of its history and purported design goals.

Your comment about Go being boring and its lack of novel features, is clearly demonstrating that you've either missed or misunderstood the design goals. And many similar comments on other parts of the language from others I've interacted with is what I was basing my parent reply on.

comment 4y ago · link · parent

When you hear most critics of Go (or any language for that matter), they talk as if Go is merely an alternative syntax for their favorite language. Of course they're bothered by lack of a missing features and unfamiliar ways. As tired of an analogy as it may be, programming languages are like natural languages. Trying to learn Japanese by translating sentences, idioms and proverbs from English word for word will only end in frustration and confusion.

If you read the history of Go, the whole point behind its creation (as with many others) was to start with a clean slate so new norms and ways of doing things could form, in service of large distributed teams and long term maintainability. Lack of generics, as unrelated as it may seem, is actually the result of the those and other goals. Specifically, Go authors avoided complicating the language, runtime, and compiler early on and thereby avoided negatively affecting long term maintainability of both the language and the code written for it (v1 compatibility promise) before having a good grasp of how generics should be implemented in this new language or if it should be at all. Copying the so called tried and tested implementations from existing languages would make little sense as generics are so intertwined with the rest of a language.

TL;DR approach learning programming languages like you would approach learning a new natural language with the purpose of living among its native speakers.

304.

Archive.today returning bogus IP to Cloudflare Resolvers(community.cloudflare.com ↗)

14 points · by oxplot · 4y ago · discuss

comment 4y ago · link · parent

The archive.ph / archive.is links never load for me. I just learned that it's blocked in Australia: https://en.wikipedia.org/wiki/Archive.today#Australia

Interestingly, only my landline broadband connection blocks them (Aussie Broadband), not my mobile provider (Telstra, Optus)!

EDIT: contacted Aussie since it looks like they've forgotten to unblock it.

EDIT: Not related to blocking - turns out archive.today returns invalid IP when queries by Cloudflare DNS resolvers (which I use): https://en.wikipedia.org/wiki/EDNS_Client_Subnet#Controversy...

306.

Allow people to reach you without revealing your contact information(mypingtag.com ↗)

1 points · by oxplot · 4y ago · discuss

comment 4y ago · link · parent

Complexity is going to inevitably make everything harder to repair as it becomes ever so involved to learn and understand how things work.

However, it need not be harder than it should be if manufacturers are not hostile towards 3rd part repair. That’s job of the government to mandate it. Most manufacturers want control over their processes to ensure, in the least, the repair is done right and it won’t end up as bad press and reputation damage due to someone else’s screw ups.

EVs are in their infancy. So don’t expect perfection just yet. Give it a few decades and regulation will catch up.

comment 4y ago · link · parent

A response I often get is how "refreshing" it is to speak with someone who doesn't spew out fluff and gets to the point. And these are people who themselves ping-pong for 10 minutes before getting to the meat of a conversation.

This is a good example that what people do isn't necessarily what they appreciate or like. It's just a norm. Whether it's positive or not is quite a different aspect.

comment 4y ago · link · parent

Re inexperienced users : you want to encourage them to learn and build confidence. Ignoring their "polite" ping-pong messaging isn't going to do them any good. Sure, don't be a jerk, but do mention "don't ask to ask - just ask" in a friendly way.

comment 4y ago · link · parent

Holy wow — mine's 7 years old and I thought it was crazy.

I still have the pacman logs from the first package installed. It has traveled to three different machines, three filesystems (ext4, btrfs, xfs), two boot loaders (grub, efi) and two desktop envs (gnome2, mate+compiz).

I really can't imagine using anything else. AUR along with simplicity of the package source format and cleanliness of everything in general, makes this the perfect OS for a pragmalist like myself.

comment 4y ago · link · parent

One avenue which doesn't require a lot of people/companies to participate, is carbon capture. Not only can it reduce the net emission, but it can even reverse the trend. One example is SpaceX which has plans to produce some of its methane fuel for starship by carbon capture using solar.

comment 4y ago · link · parent

My Archlinux installer [1] uses fyne and I found it to be quite easy and straightforward to use. My use case is quite trivial though so not sure how that scales.

[1]: https://github.com/oxplot/raspberrypi-archlinux-installer

comment 4y ago · link · parent

There seems to be a POC that attempts to load dynamically linked libraries on linux (and elsewhere on windows) without CGO: https://github.com/golang/go/issues/18296#issuecomment-46847...

comment 4y ago · link · parent

I have read countless counter points to that (and some supporting it). Doesn't look that clear cut.

comment 4y ago · link · parent

Weird ha? Get stressed:

- Get a full on 80 hr/week job

- Swim in cold water

- Do HIIT - e.g. run like a lion is chasing you for a minute every day

- Watch horror films

- Drink coffee

- Have sex

comment 4y ago · link · parent

If you improve CPU performance, you can compress memory with the leftover cycles. This is what I do on my RPi which allows me to run quite a few memory hungry processes at the cost of some CPU (which is fine, because those processes are mostly idle).

comment 4y ago · link · parent

Hmm, no mention of GNU Parallel — that's my go-to replacement for xargs. It has numerous options to treat input as blocks of text, lines, etc and can even run in a distributed fashion over SSH.

comment 4y ago · link · parent

Deadlines: perfectionism isn't an issue in itself, spending eternity achieving it, is. Pick a milestone (e.g. MVP of feature X) and a due date. Once you hit that milestone promptly, pick another and repeat.

On a different note, perfectionism can be a symptom of procrastination. It requires much less will power to fine tune an existing thing, than it is to start something new or work through early steps. If this is the case, then apply the usual anti-procrastination techniques: vow to put X minutes a day into a project in order to make it a habit and get the ball rolling; identify obstacles that are creating friction; re-think the design and simplify; breakdown the task to make it less intimidating; etc.

comment 4y ago · link · parent

The key to curb bad habits is to create friction, and doing so well in advance. When you're exhausted and you're out of will, you're not gonna take much action to avoid quick pleasures. As it pertains to websites and app, here are a bunch of techniques for creating friction:

- iOS and Android both have screen time features to show you a banner when you've used an app for longer than a set time. This is a good soft block to start with.

- Auto logout after a set time. Having to login is one extra step that may deter you from accessing a website. This can be done with browser extensions.

- Auto delete apps after a set time (this is possible with MDMs). Again, having to install an app would be a big hurdle next time you want to sit back and scroll through clips.

- Throttle speed of a website - this one's a little brittle as you can quickly switch to a faster network, usually your mobile connection.

comment 4y ago · link · parent

> Here’s a paraphrased conversation I’m having way to often, costing me way too much time, keeping me from doing things that are way more important.

Then don't have it! Set things up such that only after someone pays, you get notified.

comment 4y ago · link · parent

> If you deploy a hobby project in your life, you must maintain it. Forever.

Perhaps your definition of hobby is different to mine, but hobby projects are exactly the kind you can abandon in a heartbeat. No long term customers, no guarantees, no obligations. In fact, we hear about countless HW and SW projects being abandoned left and right, right here on HN on regular basis.

> For that time cost, I want to work on a product that could go into production and pay for its own maintenance.

Hobby and high volume production aren't necessarily mutually exclusive.

I wanted to build a custom board to use USB-C power in my projects. Except the cost of a dozen boards assembled was quite high. So I made a thousand or so to subsidize the cost of development and production for myself. The chip I used went out stock (global chip shortage related) but until it did, my "hobby" project paid for itself and actually made me a small profit as well.

comment 4y ago · link · parent

Be careful spending time writing software/firmware for chips that may disappear tomorrow. Cost of the chip itself isn't everything, in fact it's one of the least important things if you're looking at long term cost. This is especially relevant in the current chip shortage climate which has made this point quite salient.

Whether it's a hobby project or a high volume production project, you don't want hundreds of hours of your time spent developing for it to go down the drain. In case of a hobby project, it probably means the one or two units you made are all that you're ever going to make. In case of a product you built in high volumes, it means a large gap in sales and lost revenue while you re-do the firmware for a new chip.

comment 4y ago · link · parent

Every time I decide to build a site, frameworks just get in my way and piss me off with their shortsighted design decisions.

Just finished putting https://subzo.com.au up with pure Golang, vanilla jacascript and CSS. Works well with SEO, it’s fast, easy to debug and understand and doesn’t require me to touch node!

comment 4y ago · link · parent

> That only works if v2 of the library is crazy enough to keep all of the v1 apis around as well. Otherwise, when I switch version the old import path stops working.

Gradual upgrade, as in you can update a single file to use the next major version. Not sure what you’re on about.

> hundreds of files which needlessly got changed

If you have hundreds of files and upgrading to a new major version all at once, you’re creating the exact risk that Go is trying to mitigate.

comment 4y ago · link · parent

Fan boy? maybe. Informed? doesn't look like it:

> this is redundant because the local go.mod file already has the semantic version of all dependencies tracked

The whole point of having full version path in each file is to allow gradual upgrade to a new major version/a completely different package. Listen to Russ Cox go over this many times.

> Users of packages aren’t alerted about new major versions

Fair point.

> For the client to update, it’s not a simple path change in go.mod

It's a simple command:

gofmt -w -r '"github.com/logrusorgru/aurora" -> "github.com/logrusorgru/aurora/v3"' ./

> Maintainers should be able to increment the major version via Git tags.

Go is not tied to git or any other single SCM system. They can however be pragmatic about this.

> I get why these rules exist, and I think they are great for large open projects

You either don't, or you think that smaller/trivial project's requirements somehow take priority over larger ones. There are plenty of toy/application specific/scripting programming languages built to be used to write a few hundred lines or glue things together. Go specifically and repeatedly states that it's aimed at large, distributed and long term projects with lots of changes over time and many contributors. You know that going in. So you're criticizing (poorly I might add) the very notions that this language is built upon! This is like criticizing an industrial kitchen equipment for not having pretty colors and curvy shapes to match your home decor.

comment 4y ago · link · parent

Ah, I thought the name was familiar. They have a good zero trust reverse proxy that I deployed on k8s a few years back.

https://www.pomerium.com/guides/kubernetes.html

comment 4y ago · link · parent

> Do you have a link to a fridge like that so I can imagine the concept better?

Large camping fridges are as close as I have seen, but I'm sure someone's thought of one for domestic use.

As for practicality in the kitchen, I can imagine a design where you have multiple medium sized fridge drawers. Once pulled out, you can open their top lid and access the content. This way, you don't have one deep container, but rather, multiple shallower containers. For efficiency, a single compressor can feed all of them.

EDIT: actually I've seen freezer drawers - you just need to dial the cooling down a bit.

Another idea: Vertically long rectangular compartments that can be pulled out individually. Essentially a whole bunch of vertical drawers of different sizes, with meshed walls to allow air to pass through them.

Another silly idea: a horizontally mounted ferris wheel

comment 4y ago · link · parent

Fridges with top doors tend to lose lot less cool air when opened than the regular front door ones.

comment 4y ago · link · parent

I suffer from hyperventilation syndrome and anything that brings my attention to my breathing (including wearing a mask) sets it off. I feel suffocated wearing a mask. I can get out of breath, have tachycardia, dizziness, chest pain if I wear it for a long time. And yet I wear my mask everywhere I'm asked to.

There is a big difference between feeling suffocated in your own home where no one else is involved vs. among people you could potentially be putting at risk.

comment 4y ago · link · parent

> People wear a sweater all the time

I never do because I feel suffocated.

> see a doctor

Thanks for the unsolicited advice. I in fact have and have been told not to wear clothing that makes me feel suffocated.

> the burden of wearing a sweater is just incredible in some of these comments

Your lack of sympathy is equally incredible

1
101112
37