Hacker Newsnew | past | comments | ask | show | jobs | submit | kakadu's commentslogin

Is this one of the instances where European regulations hurt businesses?

I doubt it. Both apps that are supported have nonexistent userbases in Europe.

They tell themselves stories about "if free market did not want it it would not exist" or better us than them


This has nothing to do with free markets. This is a state controlled entity. A warfare tool for the brutes.


Like cancer or heroin addiction. If it exists, it's good and justified. We should really embrace everything <3


Didn't the US revoke the visas of around 80 Palestinian officials scheduled to speak at the UN summit?


While I like echarts I have found it somewhat challenging to extend their functionality.

I wanted a Gantt chart and while I did achieve what I wanted it wasn't without having to delve into the their source and putting log statements everywhere.

I happen to be using ant design and I've had the same issues there.

Its a bit all over the place and the translations are not great, but i will stick with it.


Also using Ant Design with eCharts. Having to funnel the designers to not use gradients for all the charts has been fun. While eCharts supports _some_ gradients, it's been a PITA for certain chart types.

I also made the mistake of using Ant Design Pro Forms since I wanted to use the StepForm Wizard component. All of the tsdocs are in Chinese and it's barely documented for more than their example use cases :'}


Some parts of the api are a bit confusing especially with more recent version upgrades but I still have found it to be the most powerful open source library that’s not D3.


Would something like this happen if the hostile educational environment was against - say - black people? Or any other ethnic group?


Probably not, but definitely should have.


It's usually favouring blacks heavily. The discrimination is against whites, Asians, natives, non-Socialists, men


I'll give you natives, but men, whites, Asians, and non-socialists can be found in abundance, existing freely and flourishing on any college campus in America.



A hammer hammers.

It hammers 100% of the time, with no failure.

It requires the same amount of labour from my part but it delivers the same outcome every time.

That is what tools do, they act as an extension and allow you to do things not easily done otherwise.

If the hammer sometimes hammers, sometimes squeaks and sometimes screws then it requires extra labour from my part just to make it do what purpose specific tools do, and that is where frustrations arise.

Make it do one thing excellent and we talk then.


This is the kind of non-serious argument he's talking about. There are plenty of tools that require supervision to get good results. That doesn't make them useless.

My 3D printer sometimes prints and sometimes makes spaghetti. Still useful.


They never said it was useless. You just invented that straw man in your head.

3D printing is largely used for prototyping where its lossy output is fine. But using it for production use cases requires fine tuning it can be 99.9% reliable. Unfortunately we can't do that for LLMs hence why it's still only suitable for prototyping.


But you can adjust the output of a LLM and still come out ahead in both time and mental effort than writing it by hand. Unlike a 3D printer, it doesn't have to be right the first time around to still be useful.


> But you can adjust the output of a LLM and still come out ahead in both time and mental effort than writing it by hand.

No you can't, or at least I can't. LLMs are more work than just doing it by hand.


There is a big difference between "not entirely useless" and best tool for the job.


You don't use 3D printing to do large-scale production. If you agree that AI should only be used in prototype code and nothing else, then your argument makes sense.


Depending on your definition of "large-scale production" Prusa famously 3d prints a number of components in their production 3d printers.


IMO this is exactly the wrong mental model.

You can't hammer a nail a 1000 times and pick the best hammered nail.

You can have the hammer iterating over the structure 24/7, finding imperfections in previous hammered nails.

This is imposing arbitrary constraints on the model and that when you give a human just a hammer, they tend to start to view everything like a nail.


> that has brought relative freedom and prosperity to most of the world for the last three and a half decades.

What an incredible take.

I cannot possibly think of a US intervention that went well for the receiving end.


> I cannot possibly think of a US intervention that went well for the receiving end.

Germany, Japan and the post WW2 order in question are probably the best candidates.


USA did not intervent into 2014 Crimea annexation and here we are.

And don't forget Ukraine gave up nukes for security assurances from USA, UK and rusia.

As we can see now, it was a mistake. Declaration means little



Off the top of my head apartheid in South Africa, ethnic cleansing of Albanians and genocide in Serbia, WWII... maybe indirectly, end of oppressive horrible USSR where I was born


Not sure if you're aware of WWII, but I can give you some sources to read up if you like.


Me and my euro mates are not interested in this kid of "innovation".

The "business investors" and "innovators" can take this kind of business elsewhere.

This kind of talk where regulators are assaulted by free marketeers and freedom fighters is unacceptable here.

Let us not misinterpret business people as "innovators", if what they do is not net positive for the society, they do not belong here.


I'm not sure where "here" is and who you think you speak for, but as a European, I am strictly against regulation, in particular vague regulation made by non-elected EU bureaucrats. And no, freedom of speech and a discussion about the pros and cons is also not "unacceptable". It is part of the democratic process.


The AI act was voted by very-much-elected members of the EU parliament, in 2023, with a large consensus: 523 votes for, 46 against, 49 abstentions. [1]

[1] https://www.europarl.europa.eu/news/fr/press-room/20240308IP...


You seem to very strict about the kind of political discourse that you would allow. And I'm going to even elaborate on how problematic is your "net positive or society" and who would possibly be in charge of determining that.


The embracing of Typescript and type hints pretty much solidifies the case against dynamic typing for complicated projects.

We have projects in java7 still which span thousands of LoC and juniors can just jump in using their IDE and make some sort of contribution.

With python this takes much longer.


Is typescript strong typing though?

I’ve been through several typescript projects where ‘as unknown as any’ makes me wish we didn’t even have typescript in the first place.

If you can’t trust the type system it’s worse than not having one :/


apparently the words strong and weak typing have no agreed upon definition so they can not be meaningfully discussed without stating your definition.

e.g. https://perl.plover.com/yak/12views/samples/slide045.html


Wow, that's a fairly eye-opening post! I have always used definition 5 for strong typing. I would love to know where the other definitions come from.


> Is typescript strong typing though?

The term "strong typing" doesn't have a clear definition to begin with.

Other terms which it often substitutes do, e.g. static typing, sound type system, decidable type system etc.


I, too, find tools hard to use after I intentionally break them.

It's unfortunate that Typescript even provides this casting hack, though it's necessary for gradual, optional typing. The very first thing I would do on such a project is spend the time to fix those broken types, because it will pay back in full in productivity after a short time.


if you abuse the type system enough, most languages will have weaker typing.

"the language" is not enough per se, you have to use the tools it gives you to gain some advantage: those projects were clearly actively avoiding strong typing, for whatever reason


In js land some packages don’t have strong types or, worse, wrong handmade types. ‘as unknown as any’ is kind of needed in those cases.


You can write bad code in any language.


I'm tired of this adage. Yes, you can. Some languages make it way, way easier to write bad code, though.


I think this comment doesn't add to the discussion. It's like saying you can kill yourself in any vehicle. Might be true (or maybe not), but doesn't add to the discussion of vehicle safety.


This is a thought-terminating cliché and does not add anything to the discussion.


And only poor drivers need seatbelts.


Python is very much heading towards static typing although it isn't as mature as TypeScript yet.


One might equally say that the embracing of reflection in Java and C# pretty much solidifies the case against static typing for complicated projects.

I'd tend to think the important feature here is strong typing, not static typing, and indeed TypeScript, which is hampered by the anemic type system of its parent JavaScript, it not the best example of strong typing.

Ultimately, strong typing is a hill I'm willing to die on, too. But a lot of people making arguments on this topic are conflating it with static typing, which just isn't the same thing. In general, that gives me the impression you haven't done enough work in enough different languages to really have an informed opinion. The type systems of different languages work within the context of the language as a whole, with tools like REPLs, test frameworks, constraint checkers, static analyzers, and IDEs carrying a lot of the work that might be attributed to a type system. There are a lot of confounding factors here, and if you're only talking about a few languages and you are making mistakes like conflating static=strong and dynamic=weak, you don't have the breadth of experience to understand what the benefits and downsides of strong types are.

Though uncommon, strong dynamic type systems do exist. Scheme is probably the most popular example, although its type system isn't the strongest. This is the approach I'm taking with Fur[1], which attempts to have as strong a type system as possible while still being dynamic. Python is... stronger than many other popular languages (i.e. JavaScript), but still does a lot of coercion (particularly around truth-y/false-y values--duck typing is a bit of a grey area in that it's sort of arguably weak typing, but also arguably indicates a capable type system rather than a weak type system).

But perhaps more critically, weak static type systems also exist, such as C, which is the source of many of the world's most serious bugs. It's highly unwise to assume that static typing is strong typing.

[1] https://github.com/kerkeslager/fur


> We have projects in java7 still which span thousands of LoC and juniors can just jump in using their IDE and make some sort of contribution.

This seems to be a main reason certain people like it. It gives a sense of productivity. However I think it is misguided. It’s a false sense of productivity. Can they commit? Maybe, yes. Will it be right? Maybe, and more likely with types to handhold. But does it mean they understand the data model and the domain of the codebase they’re working in? No. No typing forces you to know what your code is actually doing.

It takes longer to be productive, but you’ll be productive because you know what you’re doing. Not because the IDE held your hand.

Widget factories or scrum farms will no doubt like the “ease” of jumping into a codebase that has typing, but I’m not yet convinced it’s better or that much better for the experience developer. I need to think on it more. For certain though I’ve seen enough in my time to know that how quickly a junior can “just jump in and make some sort of contribution” is not a good measurement.


Your argument sounds like a language should make it hard to understand parts of a codebase without understanding the underlying parts as well. I would argue this goes against the goal of abstracting problems to keep complexity manageable.

Of course abstractions can be misunderstood and misused, but is that an argument for not having them?


"Truly understanding what goes on" and "static typing" are in no way correlated, let alone causations.

You are making a false dichotomy.

It's perfectly possible to work in a dynamic codebase without understanding the domain, business, logic or big picture. And it's just as perfectly possible to build a statically typed codebase that forces you to understand the whole entirety before being able to make a change.

Now, whether it's actuallygood to enforce true understanding of the Whole, before being able to work on a subset, is another debate. One that, unsurprisingly, has long been proven to be false. It's why we consider modules, functions, boundaries, coupling, classes, microservices, layers, and so fort and so on.


Nope. A new dev will need a lot longer to understand a large python codebase than a java one.

In fact, if all the developers change, it's a virtual certainty that none will ever understand the python code, while the odds are about even for java.

(But then, the types aren't the only factor for that.)


Dude, duck for cover, lol.

You're 100% right though.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: