HNHacker News
TopNewBestAskShowJobs

plasticeagle

694 karma · joined November 4, 2022

submissionscomments
plasticeagle··on The Trouble with __all__
Python is just plain unsuitable for any project larger than a couple of files.

Every Python project contains a hidden and deadly complexity that will grow over time - and will eventually destroy it. There's no way around it, it creeps in no matter what you do. The imports situation is only part of it - it wasn't what killed our simulation tools, or our build scripts, or our test framework - and required that we rewrite them all in different and more suitable languages.

Python's performance, global modules, whitespace, untyped-by-default code are all killers. You pretty much have to use virtual environments to permit isolation between the multiple differently-versioned sets of dependent packages that you'll need for any project of any complexity, which are a cumbersome and painful solution to a problem that simply shouldn't exist.

It may technically be possible to write clean and maintainable code in Python if you try hard enough, but you're always skating so close to the edge that eventually somebody is going to get in there tip the whole fragile mess into the abyss.

plasticeagle··on Study: Consumers Actively Turned Off by AI
Yes, that does fix it.

But using `sin`, and `radians` means that you equation to generate pi already has pi in it.

plasticeagle··on Study: Consumers Actively Turned Off by AI
But...

This code just outputs almost-zero. It clearly just sets `repeated` to a number very close to zero, takes the sin of it - which will also be close to zero - and then multiplies that by a small number.

I don't think this is how discoveries are going to be made.

What am I missing here?

plasticeagle··on Study: Consumers Actively Turned Off by AI
"If you couldn't be bothered to write it - why should I be bothered to read it?"

- Some Internet Wag.

That's the thing, isn't it. AI output is so low-effort that it may as well not exist at all. Just send me the prompt instead, if you're going to do that.

plasticeagle··on How Does OpenAI Survive?
The fascinating thing with arguments like this is how they entirely ignore that OpenAI trained the tool you're using with Stack Overflow. And so if what you're suggesting is that AI tools will replace SO, then as soon as it does the AI is dead in the water.

Who will continue to feed it new information? The answer is, nobody will. And instead of having a community driven knowledge base, you'll have a bankrupt corporation and nowhere to turn to when you discover that you can't write code anymore.

None of the tools can exist without stealing the net sum of human knowledge - insofar as that is represented by the contents of the internet - for corporate profit. If what the AI proponents claim comes true, that source of knowledge will cease to exist. And what then?

plasticeagle··on How Does OpenAI Survive?
Are they? Have you used Devin to do anything though? So far as I understand it, the Devin demo was faked.
plasticeagle··on How Does OpenAI Survive?
That one technology worked does not automatically mean any other technology will. There is no argument that begins "A worked and so B will too". Also, email is pretty much dead as a technology - it's just spam and password reset emails at this point.
plasticeagle··on How Does OpenAI Survive?
Ironically enough, if AI powered code generation actually worked, OpenAI would have a business model right there. But it doesn't, and so they don't. What they hope is that other people will somehow make their business model for them - and then they'll sell their technology into that.

But AI code generation is garbage, just like AI text generation is. AI generated books, and songs, and poetry etc is just appalling rubbish that nobody wants to read or hear. AI generated art is ugly and generic, and stands out immediately as zero-effort and near-zero cost. Except of course, it cost alot of money to make, but nobody is willing to pay for it and it's so far been bankrolled by VC capital.

plasticeagle··on Translating All C to Rust (TRACTOR)
If

1) Rust contains no memory bugs 2) C can be automatically translated to it

Then all memory bugs can be fixed automatically, which is almost certainly untrue. This task is very likely completely impossible in the general case.

plasticeagle··on rr – record and replay debugger for C/C++
Got it.

Which of course is equivalent to the statement "I have begun the process of understanding, but do not yet know what I do not know". My old High School teacher used to complain that I claimed understanding long before I actually reached it.

Anyway, thank you, and that seems a clever concept. I can't help but think that it's solving a problem that the language itself created - though that it doubtless an artifact of my as-yet limited understanding.

So "From" has to return something that might be an error, in some way. Just so that the Try... variants can be generated. And generic callers have to write something to handle that error - though presumably concrete callers do not because of the empty type.

plasticeagle··on rr – record and replay debugger for C/C++
Help me out here.

What is this empty type for? Could you provide an old man with a nice concrete example of this in action? I've used empty types in C++ to mark the end of recursive templates - which I used implement typelists before variadic templates were available.

But then you mention being unable to call functions which take an empty type as a parameter. At which point I cease to understand the purpose.

plasticeagle··on Large models of what? Mistaking engineering achievements for linguistic agency
Trying to recreate a "human brain" is an absolutely terrible idea - and is not something we should even attempt. The consequences of success are terrible.

They're not really trying to create a human brain, so far as I can tell. They're trying to create an oracle, by feeding it all existing human utterances. This is certainly not going to succeed, since the truth is not measurable post-facto from these utterances.

The claim regarding reconstructing functions from samples of its ins and outs is false. It's false both mathematically, where "finite complexity" doesn't really even have a rigorous definition - and metaphorically too.

Maps are never the territory.

plasticeagle··on Large models of what? Mistaking engineering achievements for linguistic agency
There are many finite problems that absolutely do not admit finite solutions. Full stop.

I think the deeper point of the paper is that you simply cannot generate an intelligent entity by just looking at recorded language. You can create a dictionary, and a map - but one must not mistake this map for the territory.

plasticeagle··on Want to spot a deepfake? Look for the stars in their eyes
Any algorithm that claims the ability to detect AI automatically must always be possible to circumvent. All one has to do is incorporate the algorithm in your image generation process, and perturb or otherwise modify your output until the image passes the test.
plasticeagle··on Dear Roku, you ruined my TV
I feel like there probably aren't. It would be impossible to hide this for very long and it's expensive to implement.
plasticeagle··on GitHub Copilot is not infringing your copyright (2021)
Making money from AI models "trained" on data that belongs to other people is so clearly wrong that this person has to write thousands of words of impenetrable nonsense just to distract attention away from this fundamental.

What absolute nonsense.

plasticeagle··on The Invention of Zero
You may very well be entirely right.

And I think you know exactly what I meant, because you immediately countered with some historical evidence around those first abstractions.

So, thank you, and I will read much more about Sumerian mathematics with great interest.

plasticeagle··on The Invention of Zero
Initially, no. They are a mechanism for counting, or a way of recording measurements. Many young people, when trying to learn mathematics, do not take the necessary step beyond these ideas.

They are not helped by educators insisting on presenting "word problems" when teaching maths. To get to the next level, you need to break the connection between numbers and the "real world". I've always felt that the number zero represented the first step that humanity took in this journey - and it's a step that every human also needs to individually take if they want to learn maths.

plasticeagle··on Dear Roku, you ruined my TV
Yes there are. Construction equipment manufacturers sometimes buy a worldwide low data rate cellular plan, and give every machine they ship the ability to phone home.

I recall that there was also an e-reader with similar functionality.

plasticeagle··on The Invention of Zero
Zero is important because it is the first abstraction. If your notion of numbers includes the idea of zero as a number, then you have broken through the first intellectual barrier of mathematics. Without this, it remains tempting to still consider numbers as existing for the purpose of counting _things_.

But with zero, this idea converges on the same thing. No matter what things you were counting, if you have zero of them, you have the same idea. And so you take a step towards the idea of a number being a concept in its own right, rather than existing purely for the purpose of counting or measurement.

It is the same sort of conceptual freedom that allows you to do things like add a number to a square. To deal with an equation like x + x ^ 2 = 0. If you're stuck with numbers "meaning" something beyond themselves, then you'll never add x to x^2. One is a length, the other an area. They are different objects.

This intellectual leap is one that must be made by all students of mathematics - and many young people do not.

plasticeagle··on Dear Roku, you ruined my TV
Not plugging your TV into the network also works quite well.
plasticeagle··on The Origins of DS_store (2006)
To be fair to Apple here, so does every other operating system. Linux system logs are filled with errors too. In general, keeping the logs of even a moderately complex application "clean" - so that the only errors logged are real errors, in some poorly defined meaning of "real" - is very hard.

For operating systems it must be straight up impossible.

plasticeagle··on I kind of like rebasing
Develop on a branch. Do whatever you like on that branch, no-one cares.

Squash merge to main always.

Problem solved.

plasticeagle··on Noam Chomsky 'no longer able to talk' after 'medical event'
A legendary man.

A friend of mine has a low-power FM radio station, that I wrote the software for, that endlessly downloads and replays Noam Chomsky's podcasts.

plasticeagle··on What no one has seen before: gravitational waveforms from warp drive collapse
That's one of the little hairs in your ear dying. You're literally hearing the sound of your hearing deteriorating.
plasticeagle··on How to destroy your OS with tar
Well... Yes you're not wrong. But this isn't really any different from downloading an installer and entering your password to permit the install to proceed.

So I assume that you also never do that - and the downloaded installer is even worse, because you can't easily look inside the executable to determine what it does.

Shocking news : Installing software installs the software.

plasticeagle··on Pluckable Strings
It does, and very cleverly too. The '?' button explains what's going on - he just takes the fourier analysis of the shape of the string when it's released, and plays tones from that.
plasticeagle··on Pluckable Strings
Arc on MacOS too.
plasticeagle··on Amber: Programming language compiled to Bash
It's not, really. The claim would be that it's portable, but bash can be a little finicky in that respect.

The documentation didn't mention what version of bash is required, but it'll be something. And plenty of systems will have old versions of bash - especially once you move out of the world of "my laptop" - obviously.

As has been mentioned elsewhere, it makes many times more sense to just learn bash, than to learn this. You likely already know some, and it excels at the jobs it's designed for - which is chiefly to launch processes and pipe output around. Subshells are elegant, even if making sure everything launched by your script is 100% finished before you exit can be a pain.

I doubt Amber fixes that problem in any case.

plasticeagle··on Branded types for TypeScript
You're going to hate that you did that when you want to write a function that prints out any hash, surely? We once did a similar thing in C++, creating types for values in different units. Complete nightmare, everyone hated it. We went back to using 'double' for all floating point values.
← PreviousPage 4 of 6Next →