Better HN
topnewbestaskshowjobs
Log inSign up

otabdeveloper4

3,226 karma · joined Jun 14, 2019 (7y ago) · 4,043 submissions

Submissions

comment 5y ago · link · parent

No, you are not.

Cryptographic random() is an extremely niche use case that you shouldn't be using unless you're writing your own crypto libraries. (Don't do that.)

comment 5y ago · link · parent

podman runs out of the box in normal user mode and doesn't require sudo.

comment 5y ago · link · parent

No, you don't need cooperative threads for this. Proper exception handling fixes this problem with OS threads for you.

comment 5y ago · link · parent

> threads are lighter weight than processes, they're still relatively expensive to switch between and to maintain in memory compared to e.g. Go/Elixir lightweight threads or evented IO

Not true. Context switching pthreads is orders of magnitude faster than any Go/Elixir concurrency mechanism.

So-called "lightweight" threads exist to fix the concurrency problem with garbage collection in scripting languages. Without garbage collection pthreads are fast enough for any problem.

comment 5y ago · link · parent

Nice to know.

So what's the timeline for proper exceptions now?

comment 5y ago · link · parent

We seriously need a package manager for package managers, and I'm not even joking.

comment 5y ago · link · parent

Which means that software documentation should use spatial visualization tricks, not the coding process.

Which is what we kind of have now, except that really nobody wants to use software documentation.

comment 5y ago · link · parent

Spoiler alert: nobody does. We're only doing it for the money.

comment 5y ago · link · parent

No, software isn't models.

Software is text written in a mathematical language.

Doing a visual interpretation of math (or interpretative dance, or a song, etc) isn't going to end in anything useful.

comment 5y ago · link · parent

> ...interdependence makes countries play well together.

This line of thinking led directly to WWI.

comment 5y ago · link · parent

It is dead. Best for everyone to move on to the third stage of the seven.

comment 5y ago · link · parent

You're nuts if you think that giving Google (the largest web advertiser in the world) a proprietary monopoly on user tracking instead of having an open standard is somehow better.

comment 5y ago · link · parent

It's nice that the cyclical technology pendulum is finally swinging back from XML/JSON to files-with-C-structs again, but any serious analytics data store (e.g. Clickhouse) uses its own aggressively optimized storage format, so the process of loading from Arrow files to database won't go away.

comment 5y ago · link · parent

Just assume your the terminal is a vt220, a.k.a. xterm.

comment 5y ago · link · parent

This.

There is no reason to use terminfo or libncurses in 2021.

comment 5y ago · link · parent

Chinese is the +- the most written language today, and uses pretty much the same system these convoluted logo-syllabaries did. I don't think there is any sort of evolution or progress story to be mined here.

comment 5y ago · link · parent

Technical debt isn't the root or even the most common cause of software components not playing nice with each other.

In fact, this problem is probably more prevalent in greenfield over-engineered solutions than old legacy-ridden ones.

(And really much of what we call "technical debt" is just the scaffolding we put together over the years to make stuff be compatible.)

comment 5y ago · link · parent

AWS services don't mesh nice with each other, and the reason "software architecture" exists in the first place is so that disparate teams and technologies play nice with each other.

comment 5y ago · link · parent

I bought a set of regular AirPods to use with an Android phone because I have hearing problems and other brands of headphones make my ears hurt.

Probably a niche case but Apple seems to cater to the 'hearing problems' niche, unlike the other manufacturers.

comment 5y ago · link · parent

> There was no way of rigorously testing whether individual customers propensity to purchase a good from a given business was actually tied to any of the brand awareness ads that were being purchased

This isn't right. Of course there was - statistics, sampling and A/B testing was invented way before computers or the Internet existed.

Advertising is just applied sociology, and sociology is just statistics when done right.

comment 5y ago · link · parent

Complaining about advertising is like complaining about money. Advertising is inevitable in any economy.

comment 5y ago · link · parent

> FB ads are effective and high value

Not really.

Digital advertising, frankly, sucks from the advertiser's point of view. It's just that people are online now and advertisers have no choice: the inventory providers are monopolistic and unregulated.

comment 5y ago · link · parent

You're not the consumer here. You're not paying for anything.

comment 5y ago · link · parent

> ...a thing that lots of parties want and have worked together to make

So,

a) what parties? b) what exactly did they contribute?

Look, yeah, it's a good thing that standards still exist and Google has to play social engineering games instead of suddenly dropping this stuff on us as a fait accompli.

But let's not pretend like Google doesn't own the Internet; it'll save us grief and tears in the future if we see things clearly as they are.

comment 5y ago · link · parent

"Whee, the magic number went up, better upgrade".

Despite Google meddling with the standards, "HTTP/3" isn't HTTP.

comment 5y ago · link · parent

Computers aren't getting faster.

In fact, they're getting slower in real practice. (We've been trading off speed for safety and power consumption for years now.)

comment 5y ago · link · parent

Emacs tells you to hit "Ctrl-h" when you start it. The documentation for Emacs is about as good as you can get for a software product.

(Now let's talk about Excel if you want to discuss discoverability issues.)

comment 5y ago · link · parent

It works okay, unlike most of the rest of the crap in computing. Leave it alone.

comment 5y ago · link · parent

> OO in Python is mostly pointless

You could drop the "in Python" part and still be right.

Functional programming won in the end; Python programmers these days are mostly using Python because of pandas and similar packages.

1
118119120
135