Better HN
topnewbestaskshowjobs
Log inSign up

RandomThoughts3

1,515 karma · joined Jul 3, 2024 (2y ago) · 606 submissions

Submissions

comment 2y ago · link · parent

Depends of the European language you are used to but yes it is GDPR in English.

> I also think greenhouse gases are a global issue, not an EU issue - please leave politics out of it.

Like it or not, the EU has regulations to limit its GHC emissions and did pledge to reach net zero in 2050 something it is not doing yet and is steering through regulations.

comment 2y ago · link · parent

How is the penalty huge?

This is Europe not the US. I find it hard to believe that after years of GDPR Americans still fail to understand the way European courts work.

The worst that will happen at first is a small fine and you are more likely to be hit with a warning and an explanation of what you should have done. Fines only ratchet up from there if you intentionally stay non compliant.

Downvote as much as you want. I am eagerly awaiting all your exemples of insane fines levied on small companies for GDPR non compliance. You will be hard pressed to find some. Large companies with legal teams which are intentionally infringing however are hit as they should be. Strangely they are also the one beating the drum the loudest against these regulations, go figure.

comment 2y ago · link · parent

Why would they want to ?

Despite the strong lobbying from US companies echoed here ("but think about our poor shareholders"), the regulation is fairly raisonnable, generally in the public interest and it’s very much possible to develop software while respecting it.

comment 2y ago · link · parent

No, that’s the traditional EU approach of steering through regulations. They do the same for data privacy (GRPD), green investment and limiting the ghc emission of their economy (Taxonomy, CSRD), and probably a ton of other sectors I don’t know as well.

The EU also view it as an instrument of soft power as many countries end up basing their own law on the EU as they are often first mover.

comment 2y ago · link · parent

Last time I checked van Rossum wasn’t the sole contributor of Python, so, no, obviously. Your point being?

comment 2y ago · link · parent

Hypothetically, someone could have left a guest (like say an engineer from the shipyard doing sea acceptance testing) fire a rifle and an unlucky wave reflection might have bounced a round back towards the bow.

comment 2y ago · link · parent

The circus is the point of the Olympic.

If there is no big event happening somewhere, the Olympic have no point. There are already permanent venues and international competitions happening for each of the sports of the Olympic.

comment 2y ago · link · parent

Sales engineers are very common if you are selling complex industrial products. At a certain point of complexity, selling a product and designing its integration with the customer kind of bridge. You need a deep understanding of the product and process involved to be able to sell it.

comment 2y ago · link · parent

I may or may not be aware of hull damage being caused or not caused by a rifle being fired from the flight deck of a ship. My point being, your safety officer had a point.

comment 2y ago · link · parent

You are missing the point.

A project lives and dies by the people actually doing the work, especially an open source one. That’s what is meant by the most important part is the people. That’s true independently of the quality of what is actually achieved (that being said great team tends to produce great products).

comment 2y ago · link · parent

The really shameful behaviour at the time was that if you changed it (which you theorically could), some packages were so poorly written than they just broke and homebrew just warned you it was going to be this way instead of actually fixing the issue.

comment 2y ago · link · parent

I'm still sour that homebrew gained so many user when it was started by basically FUD-ing Macports and arguing that their ability to reuse the existing toolchain of OSX with the superior choice while Macports pointed out that homebrew design was flawed.

Fast forward to now, Homebrew actually had to make all the changes Macports pointed out as flawed design decisions because, well, they were but enjoy more users and has tainted Macports reputation. It's very much a case of the inferior product winning as far as I'm concerned. I know that most of the original team is not there anymore but I still mostly refuse to use it.

comment 2y ago · link · parent

No one needs to prove you wrong because that's not where the goal post actually is.

You could craft hand written assembly code which will be faster than optimised C code most of the time yet you don't. Plenty of programmers are perfectly writing imperative code in Java doing a ton of necessary boxing and unboxing. It's all a trade off between performance and usability. The fact is that the Ocaml compiler does a good enough job with functional code that its performance is actually comparable to imperative solutions most of the time.

comment 2y ago · link · parent

> Monads started out as a way to represent the semantics of effects in a mathematical context

I mean, that statement is untrue but even then I wasn't talking about monads here (monads are not a convoluted trick as far I'm concerned). I was thinking of lenses.

> Which is why it’s unlikely that people who understand these issues will “stop using Haskell”

Plenty of people who value being able to analyse program and do proof don't use Haskell. The heart of the debate is "Is being pure worth the cost?".

comment 2y ago · link · parent

Haskell showed that a monadic bind is a nice solution to chaining together IO operations once you have boxed them inside their own type and boxing IO operations inside their own type was a nice solution to the issue arising from being lazy by default.

Haskell was actually widely successful in showing that, no doubt about that.

comment 2y ago · link · parent

No, not this. You are doing a map. A traversal of a data collection is not a map but a fold. The exemple in the article is specifically about collection which you would do by consing to a list (mostly free once optimised) in a fold_left (so tail call optimised to a loop). See my other comment.

Also, List.map is not optimised in Ocaml. It uses a naive implementation and not a tail call. You have to use rev_map to get good perf.

comment 2y ago · link · parent

The article is written from an American point of view and is hard to understand if you don't take such a view point of view too. It's trying to bust the idea that carbon capture can be a solution to the climate issue by itself and therefore no other action is required, which is a position basically no oil company is taking except Exxon and Chevron (and maybe Shell but I don't think they are in as much denial).

Sometimes, when making this point, activists go a bit too far but this doesn't seem to be the case here (the article is mostly attacking Exxon actually).

comment 2y ago · link · parent

> This is one example why your statement above is not true.

You are misreading my comment. I’m not intentionally contradicting myself in two paragraphs next to each other (I’m not always the brightest but still).

The point is that contrary to what the article states ML developers are not avoiding mutations because they are uneasy to use but because they trust their compiler when they know it will do good. Proof is that in other case they will use mutations when it makes sense to do so because the compiler does not do a good job.

The first paragraph refers to the specific case my comment quotes just before: data structure traversal and storage of elements in a set.

comment 2y ago · link · parent

That’s not what the article is talking about. The proposed exemple is a traversal of a different data structure to collect results in an array. That’s a fold and will properly be tco-ed to something equivalent to adding to an array if you use list cons in the aggregation, might actually be better depending on how much resizing of the array you have to do while traversing.

comment 2y ago · link · parent

I’m going to reply despite thinking your comment to be entirely devoid of anything interesting just so I can link to the very good article about the opening ceremony in the sole remaining catholic newspaper in France, La Croix (The Cross for those who are sadly not blessed with French fluency here). Here is its official English translation [1].

Jean-Pascal Gay, a (catholic) historian, put the ceremony in the rich context of references to Da Vinci’Last Supper and its subversion. There is a very interesting passage about what is blasphemy and how iconodulia is actual blasphemy that I think you will enjoy plus a very interesting discussion about the tendency of taking the place of the victim in modern Christianity. It also rightfully points out that the last words of the ceremony are: God reunites those who love each other. which you might have missed.

Anyway it’s good for the soul to see that it’s still possible to have an intelligent discussion about this sort of things after reading too many empty comments.

[1] https://international.la-croix.com/opinions/olympic-games-is...

comment 2y ago · link · parent

The article utterly falls apart in its first paragraph where it itself acknowledges that the whole ML family including Ocaml has perfect support for mutation, rightfully assume most Ocaml programmers would choose to not use it most of the time but then assume incorrectly that it’s because the language makes it somehow uneasy. It’s not. It’s just that mutation is very rarely optimal. Even the exemple given fails:

> For example, let's say you're iterating over some structure and collecting your results in a sequence. The most efficient data structure to use here would be a mutable dynamic array and in an imperative language that's what pretty much everyone would use.

Well, no, this is straight confusion between what’s expressed by the program and what’s compiled. The idiomatic code in Ocaml will end up generating machine code which is as performant than using mutable array.

The fact that most programming languages don’t give enough semantic information for their compiler to do a good job doesn’t mean it necessary has to be so. Functional programmers just trust that their compiler will properly optimize their code.

It gets fairly obvious when you realise that most Ocaml developers switch to using array when they want to benefit from unboxed floats.

The whole article is secretly about Haskell and fails to come to the obvious conclusion: Haskell choice of segregating mutations in special types and use monads was an interesting and fruitful research topic but ultimately proved to be a terrible choice when it comes to language design (my opinion obviously not some absolute truth but I think the many fairly convoluted tricks haskellers pull to somehow reintroduce mutations support it). The solution is simple: stop using Haskell.

comment 2y ago · link · parent

I think the investments and political images generated by the Olympics are a lot (and I mean a lot) more important than having two dozen guys race to a line.

Clearly the actual sport is subsidiary to the overall nature of the event in the Olympics. That’s why everything surrounding the sport takes so much space.

comment 2y ago · link · parent

It’s not like the investment will have been in vain even in the triathlon is cancelled. Paris would have had to make them to comply with the upcoming European regulation on urban wastewater anyway (ok they would have had quite some time to do so but still) [1]. Plus, if we ranked all the investments made for the Olympic Games in history by how useful they were, I’m fairly sure a waste water holding basin would do pretty well.

[1] https://environment.ec.europa.eu/topics/water/urban-wastewat...

comment 2y ago · link · parent

That’s a weird take.

A singular "objective truth" never existed. That’s the basis of historiography.

Publications can be "palatable" while not fitting one’s "worldview". The goal of reading should be to be challenged. You can find interesting things anchored in many theoretical frameworks and I encourage people to read editorials spanning different political leanings.

To answer the original comment, I personally read and enjoy The New Yorker and grab the LRB and the Economist from time to time on top of what I read in my native language.

comment 2y ago · link · parent

> it is possible (likely even?) that it is too late to stop the process that we have set in motion.

While I’m broadly in line with the content of your comment, I wanted to react to this way of phrasing the issue.

We haven’t set something in motion. What’s happening is not a self perpetuating process that we have somehow triggered. Global warming is directly related to the amount of GHG in the atmosphere and the reason it increases is because we keep putting more.

If we stop, the situation will stop getting worse. That’s the heart of net zero and we are very much in the driving seat to make it happens.

comment 2y ago · link · parent

This is not Java applet. The browser can already run WASM code natively.

This is the JVM but using WASM as bytecode, which is to say it is yet another WASM interpreter but this one provides a runtime with a canvas.

comment 2y ago · link · parent

It’s shame none of these people have graced this discussion then because reading the comments here I’m ashamed to be somehow part of the same community.

comment 2y ago · link · parent

An inhabitant of an aging continent with less and less belief in its own future, slowly being consumed by racism and xenophobia despite being desperately in need of a foreign working force who doesn’t want to come and on the verge of succumbing once again to fascism rather than actually facing its own structural issue?

Thank you, I think I know who I really am. Do you?

comment 2y ago · link · parent

I already had before you posted it. It doesn’t support the idea that the oceans will release carbon in the atmosphere overall.

Note that the effect of emissions on the ocean capture capacity is taken into account in the IPCC modelling work including the work done since the article you link was published in 2008 and none of the IPCC scenarios predict a reversing of the ocean sinking ability, not even the worse SSP considered.

You would be right to point out that using the same argument (IPCC modelling) you could say my scepticism regarding net zero is lacking foundations which would be fair. I would reply to that that I don’t actually believe we will reach net zero in 2050.

comment 2y ago · link · parent

Please, read your own quote: “Global warming is _expected to reduce_ the ocean’s ability to absorb CO2”.

I nicely underlined the important part which confirms what I said in my previous comment to help you.

1
1718192021