Better HN
topnewbestaskshowjobs
Log inSign up

usrbinbash

4,687 karma · joined Dec 4, 2021 (4y ago) · 1,693 submissions

Submissions

comment 3y ago · link · parent

> Who would be leader of commonwealth?

Does it need one? For doing what exactly? And why is a hereditary position better for this than one elected by democratic means?

> Having a heredity apolitical monarch works really well in the context of a commonwealth of nation.

Why?

> , but I do think there is value in having an heredity head of state with very limited powers.

Such as? Because tons of countries in the world don't spend huge sums of money on such an institution, and don't seem to miss out on anything.

comment 3y ago · link · parent

> It's quite easy, really.

Another thing that is quite easy: A service provider can simply stop offering his service in the UK if such laws are passed. I wonder what the electoral outlook is, of a government that essentially prevents it's citizens from accessing WhatsApp...probably on par with someone proposing to ban sugar or declaring cats to be illegal.

comment 3y ago · link · parent

> The King has no meaningful power at all,

Please define "meaningful power".

Because getting millions of pounds from the state every year [1], having massive media attention, having the ear of international leaders in politics, and having ones face on currency, sounds pretty impactful to me, especially given the fact that all this is conferred by being born to certain parents, and not by, say, something like an election.

[1]: https://en.wikipedia.org/wiki/Sovereign_Grant_Act_2011

comment 3y ago · link · parent

> Diffie just started by explaining ...

https://www.newscientist.com/article/2140747-laws-of-mathema...

comment 3y ago · link · parent

Except this only works when people are using ChatGPT (the web app). The API doesn't do that.

comment 3y ago · link · parent

> Of course, being a ZIO adopter does not necessarily mean the whole codebase is using ZIO (and hence following a PFP approach) but the chance is high

How does "uses a library for async and concurrent programming" indicate a high chance that an entire codebase follows a PFP approach?

comment 3y ago · link · parent

Meeeeeehhhh...I don't think that is likely to happen any time soon. Could be wrong, but I don't think it's likely.

The reason being: All software engineers are trained to read and write code, aka. precise formal languages. All feedback from systems about errors in that are also precise and formal languages.

What will likely happen, is that we will use anthropomorphic language more and more to generate code, especially code that is easy to describe but just a boring hassle to type (aka. boilerplate or things like simple unit tests).

comment 3y ago · link · parent

What matters is how correct a statement is, not how its representation in writing was produced.

comment 3y ago · link · parent

Thank you for this, it's a very valid point to make.

We get served bullshit and fiction-presented-as-fact every day from humans. To make matters worse, alot of these lies are not even the result of an error. A lot of them are deliberate, to further some sort of agenda.

Yes, AI can fantasize about facts. Yes AI isn't perfect. But at least, when it does spew misinformation, it is virtually always the result of an error. When an AI lies, it's because of errors, not to sell us something, or get our vote, or talk itself out of something.

comment 3y ago · link · parent

I am aware that most mainstream languages incorporated FP features. And they are the better for it.

But the topic of this discussion is PURE functional programming. See the following quote:

    "same reason why it took some time for pure functional programming to take off too."
So when did that happen? Almost every codebase I see is imperative, either procedural or OO. They use mutable state, they use functions with side effects.

The reason why my argument above is built around PFP Languages, is because they are the only ones where pure functional codebases seem to exist from my PoV. I am happy to change my mind if you can point me towards major projects written in a PFP style in non PFP PLs.

comment 3y ago · link · parent

> Just like LLMs took off recently but still play a minor role in almost every area I know.

Okay, let's do the comparison.

LLMs became a big story less than a year ago. Since then, they are, among other things, powering the fastest growing app of all time. They are poised to take over pretty much every NLU functionality, products are being developed every day that wouldn't be able to otherwise, and major players in the industry throw billions at them. Their, and other ML achievements, impact on society are estimated to be so profound, that they have caused ripples in international politics, rekindled debates about UBI, made geopolitical positions about chip maufacturing and AI research even more relevant, and set lawmakers all around the globe scrambling to figure out how to deal with this new reality, regarding everything from copyright laws to regulations.

So, what is going on in the purely-functional-PL space?

Well, the flagship of these languages, Haskell, had it's stable release 12 years ago. Since then, the only software product that I can name without googling that's written in it, is pandoc. The language is currently Number 34 on the Tiobe index. In fact, I am not sure any of the current top20 could be called "purely functional", which would place these languages below Scratch, Fortran, and Classic Visual Basic in terms of that index.

https://www.tiobe.com/tiobe-index/

Regarding usefullness, what have purely functional PLs demonstrated? That they can be challenging to use coming from an imperative background, and that they can be a drag on performance. On the plus side they offer ... yeah, what exactly is it they offer, that imperative languages adopting some of their features, like functions as first class objects, cannot?

So I have a hard time seeing any indicators of an impending take-off for purely functional PLs.

comment 3y ago · link · parent

What is that understanding then exactly?

The languages are not widely used. Rhey play a minor role at specialised applications in the industry. Almost everyone who learns programming uses imperative languages.

So what exactly is the definition of "take off" here? Because, other than Haskell having a bit of media-echo a couple years ago, and an army of fans promising things like "the future of programming", I don't see any takeoff.

comment 3y ago · link · parent

> same reason why it took some time for pure functional programming to take off too.

And when exactly did that happen? And no, I am not about imperative languages incorporating some functional programming stuff. When did a "pure functional" PL become mainstream and widely used in professional software engineering?

Because as far as I can see, I see imperative languages dominating pretty much every field.

comment 3y ago · link · parent

But I can also say:

"I'm on the left side of the boat, and hold an apple in my left hand." The boat has a clearly distinguishable bow and stern, so it provides a frame of reference.

comment 3y ago · link · parent

> Why take something out of your toolbox?

The problem isn't my toolbox.

The problem is someone elses toolbox, who often isn't an engineer, when that someone hits the limits of that shiny, sparkly tool he put in his box.

Because at that point, software engineers have to figure out how to interface some extension with that thing. Which may be easy. Or it may be next to impossible, because the tool usually doesn't have things like version control, standard interfaces other than outgoing HTTP (if it even has that), compatibility with common IDEs or the ability to unit test. Bonus points if it doesn't even store the box-and-line-diagrams in something vaguely grep-able like XML, but uses a proprietary binary format...or stores them on the vendors servers making them completely inaccessible other than through the vendors interface.

Right tool for the right job? No problem with that. If it "empowers" someone to do something he couldn't do otherwise...great, full support.

But as soon as someone wants me to interface my toolbox with it, I will demand that it offers the same qualities that I expect from every other tool that I use. Because these qualities aren't arbitrary, they evolved over decades of hard earned lessons in software engineering.

comment 3y ago · link · parent

There are exactly 2 types of lowcode environments:

One is so complex, and allows the user so much freedom, that it is a fully fledged programming language.

The fact that it requires me to shove little boxes around in an interface may make it better for some domain specific task, idk. What it certainly does, it makes it next to impossible to integrate in any standard IDE, usually doesn't play nice (if at all) with version control, and searching through code becomes a game of "Where's Walter?".

The other is so simple and obviously shoehorned to perform a narrow set of tasks, that it is almost, or completely, impossible to do anything else with it.

Which is perfectly fine right up to the moment where the user needs to do something the framework didn't foresee, and suddenly engineers are asked "can we integrate that? we only need one small thing...". Which the framework, being ~narrow and prohibitive~, excuse me, focused and streamlined, usually fights tooth and claw, but engineers somehow get it to work anyway. Until the "one small thing" becomes many small things. And some slightly larger things. And the occasional big thing. And then those same engineers need to rewrite the whole thing, which would be fine, had it not been first "implemented" in the glorious "lowcode/nocode" environment, which suffers all the problems outlined in the first type, so we spend countless hours unpicking a pile of spaghetti made from colored boxes and lines, and the complexity the framework shoved under the rug, to figure out what that thing was supposed to do in the first place.

This is the reality of low/nocode environments. And it baffles me to this day, that this idea, which isn't new btw. (it existed under different names since at least the mid 80s), keeps popping up and dominating headlines every few years.

comment 3y ago · link · parent

That's the thing, isn't it?.

Even IF they don't go forward with this...who's going to guarantee to a developer/maintainer/company who want to build stuff in/with/for "The crab language" that this isn't going to happen again?

comment 3y ago · link · parent

So, what do I answer someone who I try to recommend the language with a crab as a logo to for a project (like a PO, CTO, customer, student, colleague), who then points at that draft?

Hmmm?

Anyone?

Because I sure as hell don't have a good answer.

comment 3y ago · link · parent

In my case? Yes and no.

Professionally? No. Almost everything I use in my jobs I learned myself. In fact I unlearned some bad habits, especially when organizing code, I developed at University, as they were negatively impacting my performance.

Personally? Yes, absolutely. But not because of the lessons in CS, but those in natural sciences. Understanding how some systems in physics and biology work, changed the way I look at world in general, and made many things more fascinating than they would otherwise be.

However, you don't need a University for that. Everyone willing to learn can grab an introductory book on cell biology and start reading.

comment 3y ago · link · parent

> You assume that. You can only maybe know that about yourself.

I can also only say with certainty that planetary gravity is an attracting force on the very spot I am standing on. I haven't visited every spot on every planet in the universe after all.

That doesn't make it any more likely that my extrapolation of how gravity works here is wrong somewhere else. Russels Teapot works both ways.

> How do you know that the ML model doesn't?

For the same reason why I know that a Hammer or an Operating System don't. I know how they work. Not in the most minute details, and of course the actual model is essentially a black box, but it's architecture, and MO are not.

It completes sequences. That is all it does. It has no semantic understanding of the things these sequences represent. It has no understanding of true or false. It doesn't know math, it doesn't know who person xyz is, it doesn't know that 1993 already happened and 2221 did not. It cannot have abstract concepts of the things represented by the sequences, because the sequences are the things in its world.

It knows that a sequence is more or less likely to follow another sequence. That's it.

From that limited knowledge however, it can very successfully mimick things like math, logic, and even reasoning to an extend. And it can mimick them well enough to be useful in a lot of areas.

But that mimickry, however useful, is still mimickry. It's still the Chinese-Room thought experiment.

comment 3y ago · link · parent

Not so much witchcraft, as acknowledging that LLMs are not in fact, as humans are so quick to anthropomorphize, "reasoning", or "thinking" or even "knowing" things, but that they are stochastic sequence completion engines.

Highly sophisticated ones, and useful beyond a doubt, but when all is said and done, this is what they do: They complete sequences.

So coming up with sequences that produce desired results is an important function when considering how to use this tech in products.

Whether we can call this engineering or the tech-version of horse-whispering, is up for debate. But it is acknowledging the modus operandi of the tool at hand, and thus it can help using it to is potential.

comment 3y ago · link · parent

> Since the time the metric system was created a world war was fought, centered around a misguided sense of supremacy. The people with a sense if moderation and the ability to compromise in the face of real constraints won the war. The adherents to strict philosophy were destroyed.

Out of the countries that won that war, all but one have either switched to the metric system, or were already using it. So did all the countries who lost that war. In fact, every country other than Myanmar, Liberia, and the US officially uses the metric system.

So what exactly does WWII have to do with using, or not using the metric system, the ability to compromise, or the mathematical, economic, scientific and technical fact that the metric system is more widley accepted, and for good reasons?

comment 3y ago · link · parent

> You act as if these calculations are simply impossible in customary units, they're not and we do them all the time.

No I don't. I said they are more difficult than they have to be, and for no good reason.

> I dont think our competitiveness would be helped or harmed if meat was sold in kilograms vs lbs

https://gizmodo.com/five-massive-screw-ups-that-wouldnt-have...

Maybe not, but it would probably have helped in not having a 125 million dollar space probe go up in flames.

comment 3y ago · link · parent

Out of curiosity, how much would that cost?

And just so it's easier to put that number into perspective, how would it compare to, say, spending more on defense than the next 10 countries on the list combined, having the most expensive Healthcare system in the world, or having trillion-dollar tax cuts?

https://en.wikipedia.org/wiki/Military_budget_of_the_United_...

https://www.statista.com/chart/8658/health-spending-per-capi...

https://www.forbes.com/sites/camilomaldonado/2019/10/10/trum...

comment 3y ago · link · parent

> because its reasoning is "of the wrong kind"?

No, because it doesn't reason, period. Stochastic analysis of sequence probabilities != Reasoning. I explained my thoughts on the matter in this thread to quite some extend.

> That seems potentially disprovable.

You're welcome to try and disprove it. As for prior research on the matter:

https://www.cnet.com/science/meta-trained-an-ai-on-48-millio...

And afaik, Galactica wasn't even intended to do novel research, it was only intended for the, time consuming but comparably easier, tasks of helping to summarize existing scientific data, ask questions about it in natural language and write "scientific code".

comment 3y ago · link · parent

Prompt: "Write a software that does exactly what the Product Owner wants. Here is is email *copy pasted email*"

The result was...disappointing.

comment 3y ago · link · parent

> what concrete problem do you think LLMs cannot solve?

From the top of my head:

Drawing novel solutions from existing scientific data for one. Extracting information from incomplete data that is only apparent by reasoning (such as my code-bug example given elsewhere in this thread), aka. assuming hidden factors. Complex math is still beyond them, predictive analysis requiring inference is an issue.

They also still face the problem of, as has been anthropomorphized so well, "fantasizing", especially during longer conversations; which is cute when they pretend that footballs fit in coffee-cups, but not so cute when things like this happens:

https://eu.usatoday.com/story/opinion/columnist/2023/04/03/c...

--

These certainly don't matter for the things I am using them for, of course, and so far, they turn out to be tremendously useful tools.

The trouble, however, is not with the problems I know they cannot, or cannot reliably, solve. The problem is with as of yet unknown problems where humans, me included, might assume they can solve, and suddenly it turns out they can't. What these problems are, time will tell. So far we have barely scratched the surface of introducing LLMs in our tech products. So I think it's valueable to keep in mind that there is, in fact, a difference between actually reasoning, and mimicking it, even if the mimicry is to a high standard. If for nothing else, then only to remind us to be careful in how, and for what, we use them.

comment 3y ago · link · parent

> This is not true. The US has never used the Imperial system, we use the US Customary system

So how is using yet another different system defining arbitrary measurements that cannot be easily converted, do not directly correspond with the radix 10 numerical system, and are also not widely used make things better?

> Nobody is doing this.

Yes, people are doing such calculations all the time. How many concrete transports will a construction company need to make a foundation, if the depth is 2.2 m², the size is 97.2 m² and the specific weigth is 2.5 tons per m³?

How much rain did fall on Hamburg in 2022 given a city size in square kilometers, and an average fall of cm/day.

What kind of energy output can a solar farm provide given a conversion rate, panel efficiency, panel angle, and land size? Easy to do if all is in SI.

> As an American I have never even heard of a hundredweight

It's an official unit of the us customary system:

https://en.wikipedia.org/wiki/Hundredweight

1
272829
57