Better HN
topnewbestaskshowjobs
Log inSign up

hello_computer

215 karma · joined May 2, 2023 (3y ago) · 463 submissions

Submissions

comment 2y ago · link · parent

see reply to tharne

comment 2y ago · link · parent

https://en.wikipedia.org/wiki/Immigration_to_Sweden#:~:text=...

comment 2y ago · link · parent

yeah. it was totally the cashlessness. nothing all to do with

> As of 2020, the percentage of inhabitants with a foreign background in Sweden had risen to 25.9 percent In 2020, population growth in Sweden was primarily driven by people with a foreign background

comment 2y ago · link · parent

According to the internet, Al Einstein once wrote or said, “If you can't explain it to a six year old, you don't understand it yourself.” Whether he said it or not, it is true. To my dismay, I understand a lot of what is being posted here, and I can assure you that at least half of the part I understand is confusion and dead-ends from the outset. You may say, "Yeah, but so-and-so released such-and-such software and made millions!" So what? Having a hit doesn't make a man infallible. People in this scene who are legit don't spend much time here. They are either too busy getting shit done, or too busy enjoying early retirement.

comment 2y ago · link · parent

Instead of an ordinary blub like python, they should have doubled-down, went full-retard, and used PHP. For web work in those days, it probably would have been even faster... even easier to read and maintain.

comment 2y ago · link · parent

Read it again:

"THE PYTHON VERSION had less code that ran faster and was far easier to read and maintain."

comment 2y ago · link · parent

I think a lot of this generative AI is going to be like fiber deployment in the late 90s. The movers and shakers are paying top-dollar for improvements that will have a brief shelf-life. Just as the googles and facebooks were able to buy dark fiber for pennies-on-the-dollar in the early 00s, some other upstart is going to bargain AI tools and talent from the adobes and openais of the world for a similar discount.

That is to say, adobe is most likely doing this to train models that will put their current customers out of business. They probably think they're cutting-out the middleman for a better margin, but this seems like a greedy bet that could easily go sideways.

comment 2y ago · link · parent

"less code that ran faster" seems fairly clear-cut to me. Why would he lie about that?

comment 2y ago · link · parent

Not a dismissal of runtime probes, but a statement that, sometimes, they are not the best tool for the job. I like the REPL, but I'd rather not have to use it just to find out what X is.

comment 2y ago · link · parent

> generic framework

Yet at some point, the template is instantiated--in the text!--and you can fill-in-the-blank by reading instead of having to do a runtime probe. For large systems that have a lot of preconditions, the "runtime probe" approach can be a thick fat time-waster (i.e. caressing the program into a state where something is even in the tube).

comment 2y ago · link · parent

types are just an example. structure (modules/classes/keywords/constructs) is also a big win for organization and assisted code navigation. even with dynamic types, i find it far easier to grep a python codebase than a lisp one. is it code? is it data? python syntax makes it fairly clear.

comment 2y ago · link · parent

The man is dead, yet his words live:

http://www.aaronsw.com/weblog/rewritingreddit

"The others knew Lisp (they wrote their whole site in it) and they knew Python (they rewrote their whole site in it) and yet they decided liked Python better for this project. The Python version had less code that ran faster and was far easier to read and maintain."

comment 2y ago · link · parent

A lot of it boils down to types--the difference between a labeled and an unlabeled cadaver. One has a little tag next to the vein with "blood, to heart" written on it, the other is just an empty tube. What was in the tube? Which way did it flow? I'll have to probe it with the REPL to find out. While with rust, or go, or even c, i have a type instead of another list, i can browse to its definition in a click--a lookup instead of an investigation.

The cultists are all crying, "you suck at naming! you suck at comments!" And maybe I do! But those 12 people who will have to maintain it are going to suck even more. That's where a more "blub-like" language shines. It is enforcing a standard. And the cultists cry again, "i'm so smart i don't need blub to hold my hands!" Ok, if you say so... but where is your Minecraft (blub)? where is your Excel (blub)? where is your Facebook or your Google (blub)? maybe we can just accept that lisp is nice in some places, but not so nice for others?

comment 2y ago · link · parent

PG is coming from the "flip this app to yahoo" perspective, not the "i will own this shit forever and have to hire a dozen outsiders to maintain it" one. People in those spaces standardized on imperative structure, classes, stronger typing, etc for good reasons. HETERO-iconicity, boilerplate, structure... helps the new hires find their bearings in the codebase. Being able to catch a type or signature mismatch at compile-time instead of run-time is another HUGE advantage when extending or re-factoring (i.e. typescript vs javascript). Aaaron Schwartz was no blub-brain, but quickly realized that pg's kool-aid was the wrong flavor for his party, so pivoted from lisp to python in the early reddit days. I occasionally come back to lisp code i wrote years ago, and it takes about twice as long to regain my bearings there than in any other language--even assembly!

comment 2y ago · link · parent

Those people are what we call Ubuntu users. For Debian users, Klode is our new sexy-time boyfriend.

comment 2y ago · link · parent

Long-time Debian user here. For me, Klode made the right call. Someone who wants the bells-and-whistles edition can install it from flatpak.

comment 2y ago · link · parent

no thank you

comment 2y ago · link · parent

It was once written on the SQLite site:

"SQLite is not designed to replace Oracle. It is designed to replace fopen()."

I recommend it because: A) I never know how far a program is going to go. No point limiting myself to CSV dumps when sqlite is so easy to integrate. B) Less likely to trash my own data using something that has already had so much engineering & QA poured into it. C) It's a standard file format, so it's easier to integrate other programs into the workflow if I ever need to.

But for quick-and-dirty, it's hard to beat plain CSV.

comment 2y ago · link · parent

I guess I will just have to stay sour with my sub-second compile times, actual compile-time type checks, stable naming of built-ins, single-binary deployments, and uniform error handling.

comment 2y ago · link · parent

raises, throws, & exits. rescue vs catch. as for binary vs charlist, some dependencies wanted binary, others wanted charlist. faced with the choice of re-write the dependency to use binaries, or wrap it with pre/post converters, we chose the latter. after the third or fourth global search-and-replace thanks to elixir's renaming of built-ins just for the hell of it, we re-wrote it in go, and never looked back.

comment 2y ago · link · parent

If the libraries worked, we wouldn't have had to play code archaeologist and find out that half our dependencies had been abandoned since 2017. Even something as simple as a JSON encoder--which is rock-solid in every other language I've used--had a number of bugs (this was four years ago, so memory is hazy, but it had something to do with ambiguity between arrays, lists, or tuples) Erlang is stable, but Elixir sure as hell isn't. Back in 2019, it seemed as though every point release brought a slew of breakages--and usually over the most trivial and pointless things, like adding an underscore to a built-in for "consistency". I've been developing for over 20 years, have used all of the mainstream languages, and Elixir was the absolute worst.

comment 2y ago · link · parent

Elixir is a combinatorics mess (circa 2020: two different string types, three different types of exception, return AND throw versions for almost every func, slow compiler without much in the way of compile-time checking, constant breakages over trivial renamings "just because", having to burrow into erlang errs half the time since many elixir funcs are just wrappers). Half the libraries we used were abandoned. I take every recommendation with a grain of salt. I think people got invested in the hype, and are trying to keep the sinking ship afloat.

Erlang is a different story. If you're interested in the BEAM, it isn't terrible. It has a few of the same problems, but the combinatorics are reduced.

comment 2y ago · link · parent

For the benefit of two companies vs the benefit of hundreds of millions of individuals (esp. in a currency crisis).

comment 2y ago · link · parent

your handle is also appropriate given the epic amounts of electricity needed to power all of that gear. so many articles on the energy consumption of cryptocurrency, yet so few for model training.

comment 2y ago · link · parent

firewalls are used to lock-down machines. this is intended to lock-down people.

comment 2y ago · link · parent

disgusting. with a name like "zero trust" i would expect something in-line with the decentralized web, while this is just a built-in windows web lockdown for office drones.
1
91011
16