Better HN
topnewbestaskshowjobs
Log inSign up

never_inline

897 karma · joined Aug 26, 2022 (4y ago) · 561 submissions

Submissions

comment 2y ago · link · parent

Really low effort to run uuidgen 5 times. Try doing digits of pi or something.

comment 2y ago · link · parent

This is least of my worries - just use VScode with plugin which gives red lines on and formats yaml, use yamllint in your CI.

comment 2y ago · link · parent

As a tech worker of current generation, I wholeheartedly agree with the assessment that I suck.

comment 2y ago · link · parent

> The vulnerability affects all OAuth 2.0 clients configured with a redirect URI ending with a * in Keycloak < 23.0.4.

How common is a wildcard in a redirect URL?

comment 2y ago · link · parent

The obvious disadvantage is I couldn't get music and photos from other people, because they were using shareIt and I couldn't ask them to install and use an OSS alternative.

Thanks to Google Files / Android NearBy share, today ShareIt has practically disappeared.

comment 2y ago · link · parent

5-6 years ago, when smartphones were new in India, ShareIt was most popular application for sharing files across phones. It's an ad-ridden piece of spyware. Because everyone were using ShareIt to share music and photos, and I refused to use it out of paranoia and a general dislike of intrusive ads, I got some reputation of being the "weird nerd".

Thankfully Google Files got popular later.

It's pretty easy to imagine how a bad application like ShareIt or TikTok may be required to be considered socially normal.

comment 2y ago · link · parent

Git is foundational because it's a bunch of tools dealing with a very general data structure (the DAG of file versions, or whatever the semantically correct thing to say is).

Docker is something similarly powerful. It wraps around a few things (bunch of kernel namespaces, kinda reproducible, layered image format) and it is useful in many use-cases beyond microservices.

There are few other tools which I can say the same about. `jq` and curl are powerful and ubiquitous. But jq is a language, and curl is a tool for interacting with so many protocols. I don't know if I can put them in the same ballpark as git and docker.

comment 2y ago · link · parent

Any reason you can't achieve those RPO/RTO with straightforward replication?

comment 2y ago · link · parent

I am just following the High Availability principle and using both Microsoft and Google equivalents, with most data having a local copy anyway.

comment 2y ago · link · parent

They exist for the same reason several git GUIs and Kubernetes dashboards exist.

comment 2y ago · link · parent

Dear sir, we are talking about products that are not enshittified. Nothing about rust.

comment 2y ago · link · parent

These appear to be same packaging format but different installers. Not uncommon these days.

I am a junior developer writing a side project in Golang which probably no one on the internet sees, and there are 3 ways to install it already.

1. Compiled executable

2. Language package manager (go install)

3. Docker image (super trivial to create a distroless docker image).

Same can be said of many python tools (pip, pipx, docker image, homebrew or whatever)

It's not that we are doing more work. It's just that we have more tools these days. :)

comment 2y ago · link · parent

Ok bro I am not the parent commenter who set the goalpost.

Let's see how your smooth talking LLM is going to do with things that are not web development or leetcode medium, for which so much stuff has been written. All the best.

comment 2y ago · link · parent

Eliminating duplication and cleaning code is a different type of refactoring than supporting concurrency, which is much much harder.

Cleaning up code also follows some well established patterns, performance work is much less pattern-y.

Codebases like FFMPEG are one of the kind. I bet you need 10 or 100 times more understanding than the react thing you mentioned above.

One day maybe AI can do it, but it probably won't be LLM. It would be something which can understand symbols and math.

comment 2y ago · link · parent

> It becomes problematic because it then becomes easy for engineers to have a completely different container for dev then is used for prod

If the differences between dev and prod are also programmatic in nature (eg based on flag, and mostly configuration-like values), it should be fine.

comment 2y ago · link · parent

Because someone may want to preview the script in browser.

Because someone may not have curl and use another tool your server doesn't know.

comment 2y ago · link · parent

Well ChatGPT doesn't 'grok' anything, really..

comment 3y ago · link · parent

Which is, of course, complete bullshit as well.

This answer perfectly illustrates why the chat gpt verbiage irritates me so much.

It's basically rephrasing the oft-repeated complaint that Google kills of projects, (in an MBA style English).

But how does that have anything to do with Bard AI being crap?

People are seriously impressed by this app?

comment 3y ago · link · parent

Your post got me wondering, what advantage might it provide over an FFI? Does WASM ABI define higher level common primitives than C?

comment 3y ago · link · parent

I planned to do something similar to it on my blog. The idea being using that page as a public bookmark list. It would contain anything from books to blog posts to youtube videos.

https://mahesh-hegde.github.io/readings/

But I am not a prolific blogger and haven't updated it anyway for a long time.

comment 3y ago · link · parent

> 2. UI\UX is lacking. Too many controls all over the place or at least too sticking out.

That's very subjective. I used Windows, Mac OS, Android (various UIs), KDE etc.. It's not "modern" semi transparent themes and gradients and rounded everything and whitespace, it is very responsive and works like I expect.

comment 3y ago · link · parent

Out of the loop. Why is KDE clusterfuck?

comment 3y ago · link · parent

There are 2 kinds of software engineers. Parent comment and Grandparent comment.

comment 3y ago · link · parent

I think the most cited drawback of rebase - public branch refs becoming obsolete - is not applicable when you only use it to pull from a canonical remote.

comment 3y ago · link · parent

That depends on

a) Two's complement representation

and

b) Wraparound on arithmetic, which is still UB in low-level languages.

comment 3y ago · link · parent

Nobody asked.

comment 3y ago · link · parent

Yep this book.

comment 3y ago · link · parent

> Are many small applications running as seperate binaries/processes/on different ports talking to one database endpoint also microservices?

One database endpoint as in ? You can use different schemas and have no relations between tables used by different services, or on the other extreme have services which write to same table.

I have read in a book that the most important criteria is independent deployability. I forget the name of the book.

comment 3y ago · link · parent

That's an interesting hypothesis. Is that applicable to platforms other than programming languages?
1
141516
19