News for hackers. Stuff that matters.

lambda_garden

Re:Python Is Easy. Go Is Simple. Simple != Easy on Tuesday November 28, 2023 @04:59AM (#38444185)
> These two statements are contradictory. If it was indeed so "poor", people would notice :)

Would they? The history of programming is full of great ideas that took a very long time to reach mainstream adoption. We also did some things that in hindsight were bad ideas, but for a time were very popular.

This is because the programming language "market" is not rational. It moves at the speed of education, not the speed of innovation. People learn a language and they make useful things with it. Why would they stray into niche languages and PL research?

Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @01:10PM (#38435824)
Kinda. F# is modeled after OCaml. OCaml and Haskell are both modeled after ML. I suppose you could say they are cousins.
Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @01:04PM (#38435745)
F# is basically statically-typed Python (with better performance).
Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @01:00PM (#38435673)
What's strange is that Java predates Go and has all of these attributes. C# too, for that matter.
Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @12:59PM (#38435664)
> they liked something about Python

I think it's simply what they already knew. Very few programmers learn multiple languages to any kind of depth.

Is there any evidence that Python is an easy language to learn? I think we've reached a situation where beginners learn Python because it's seen as beginner friendly... because beginners learn Python!

Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @12:47PM (#38435474)
Ironically, we had more advanced languages than Go in the 70s.
Re:Python Is Easy. Go Is Simple. Simple != Easy on Monday November 27, 2023 @12:40PM (#38435370)
Python is valuable due to the ecosystem of libraries it offers. The language itself is extremely poor. I think this is not something most Python users are aware of since if you are doing ML, data-science or simple scripting there is little reason to step outside of the ecosystem.

- Weird scoping rules

- Very limited list-comprehensions

- Ability to monkey patch things is a liability

- Mutability by default

- Lack of support for functional programming

- Deployment story remains extremely painful

- Tacked on type-system

- Slow execution of pure Python code

If this sounds like a rant... it sort of is. I find it really sad that so much programmer effort is being put into something with poor fundamentals. Many of these issues cannot be fixed with breaking changes.

Re:Roc – A fast, friendly, functional language on Monday November 20, 2023 @12:34PM (#38351191)
Some in the ML community think a simpler language has advantages over a more expressive one, in some cases.

For example: https://github.com/fsharp/fslang-suggestions/issues/243#issu...

Re:Roc – A fast, friendly, functional language on Monday November 20, 2023 @12:16PM (#38350818)
I believe in second chances. From the GitHub link:

> EDIT 5 years later: You can see in the edit history of this comment what I originally wrote here; I was upset and said unkind things that I regret, and which nobody deserved to hear. I apologized at the time and I still feel I should apologize again, unequivocally. I was in the wrong here.

Re:London Is Building Its Own Vegas Sphere on Monday November 20, 2023 @08:01AM (#38347354)
What a horrible idea.
OpenAI has not released AGI.
Re:Announcing the MonoGame Foundation on Tuesday November 14, 2023 @10:38AM (#38264581)
Unity and MonoGame are not really comparable. Unity is a game engine that is also an IDE, whereas MonoGame is simply a set of libraries.
Re:Announcing the MonoGame Foundation on Tuesday November 14, 2023 @10:35AM (#38264529)
The content pipeline is optional in MonoGame. You can load assets directly from ttf, png, etc.

You can also run the content pipeline as a .NET tool outside of Visual Studio. It works on Linux too.

Money. If you can pay, exceptions will be made for everything else.
A good breakdown.

There are also a handful of true grammar schools left. These are free to attend, but are selective based on ability. There is debate about the extent to which raw ability is really being tested, and not preparedness for the test.

There are also private schools that call themselves grammar schools. These were once free and selective, but converted to fee-paying at some point. They like the prestige of being called a "grammar" but don't be fooled!

The lack of true grammar schools has been a big hit to social mobility in the UK. Now, getting into a grammar requires not just passing a test, but also having parents rich enough to buy a house in the catchment area. Public school alumni dominate top industries and government.

The UK "free school" approach has been a mixed bag. On the one hand, various academy chains have managed to turn around failing schools. On the other, some parents are left with no choice but to send their child to a religious school due to catchment areas and waiting lists.

As a tax payer, I don't want my contributions going towards religious institutions.

The loss of "special schools" for students with severe special needs has not helped anyone (imo).

Re:Traffic collisions including cyclists in London 2022 on Thursday November 09, 2023 @08:22AM (#38204663)
Yes, I disagree.

Anecodtally, I see motorists driving whilst using their phone on a daily basis. I rarely see cycling jumping red lights. I also see motorists jumping red lights, but rarely. I frequently see motorists on the wrong side of the road trying to skip traffic queues.

But you claim was about recklessness.

Poor driving is much, much more reckless than poor cycling, given the kinetic energy involved.

Re:Traffic collisions including cyclists in London 2022 on Thursday November 09, 2023 @06:41AM (#38203790)
> as much as cyclists hate to hear it, they're the most reckless users of the road on average

Citation needed.

Re:Traffic collisions including cyclists in London 2022 on Thursday November 09, 2023 @06:33AM (#38203726)
It's better than it was but still terrible.
Evaluative and generative models are not so different. Often, one is the reverse of the other.
Legend.

The X-risk crowd need to realize that LLMs, whilst useful, are toys compared to Skynet.

The risk from AI right now is mega-corps breaking the law (hiring, discrimination, libel, ...) on a massive scale and using blackbox models as an excuse.

Title is misleading. They weren't banned because they "teach Python. " but because Meta has faulty algorithms.
Re:Localsend: Open-Source Airdrop Alternative on Thursday October 19, 2023 @04:39AM (#37940152)
Maybe something clever could be built into a web app?
Indeed.

You get paid to deliver more value to someone than you cost them (or someone else might cost them!)

Whether or not you have fun has little to do with it.

Re:The Techno-Optimist Manifesto on Monday October 16, 2023 @11:36AM (#37901325)
Effective Altruism is a charity / social club / networking opportunity for young STEM types based on pretty extreme beliefs about Utilitarianism and recently AI. The most famous EA right now is probably SBF.

Accelerationism is the belief that we should race towards catastrophe so that we can rebuild society in a better way.

E / Acc is a (sometimes ironic) amalgam of the two.

You won't be surprised to learn that not many in these groups have studied history.

Re:ClickHouse Keeper: A ZooKeeper alternative written in C++ on Wednesday September 27, 2023 @11:44AM (#37676366)
Why is "written in C++" part of the headline?

As engineers we focus too much on the implementation details and not the benefits to the user.

How about:

- ZooKeeper alternative with lower latency

- ZooKeeper alternative with lower memory use

- ZooKeeper alternative with predictable overheads

(I don't know if these are true, just suggestions)

Re:GitHub Actions could be so much better on Friday September 22, 2023 @01:27PM (#37614909)
Since some action depend on the branch / tag you are on this is not always possible.
Re:GitHub Actions could be so much better on Friday September 22, 2023 @01:26PM (#37614885)
Option 1 is required if you want to have steps on different runners, add approval processes, etc.

I always opt for option 2 where possible though.

Older »