Better HN
topnewbestaskshowjobs
Log inSign up

lambda_garden

164 karma · joined Aug 24, 2023 (3y ago) · 76 submissions

Submissions

comment 3y ago · link · parent

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.

comment 3y ago · link · parent

Couldn't this be injected into the runtime so that no code changes are required?

Perhaps really performance critical stuff could have a "notrace" annotation.

comment 3y ago · link · parent

Java 21 is colorblind - but the colors still exist

comment 3y ago · link · parent

I have a genuine question about Loom / virtual threads / etc.

In languages with async-await syntax, I like that it is explicit what is sync and what is async. I also like how the "bind" points within an async expression make it clear where the syncronization happens. It seems to me that Java 21 makes all of this implicit, which is a step backward in this respect.

Similar to how types enforce valid usage (a foundational idea in Java), I feel that an Async<T> should not be implicitly a T.

Are people concerned about this at all?

Have the Java designers addressed this?

comment 3y ago · link · parent

This is not equivalent to (say) a single Postgres database where we get shared state with transactions between all users - or have I missed something?

comment 3y ago · link · parent

> LLaMA, with up to 65B params, opened against Meta's wishes

They sure didn't try very hard to secure it. I wonder if it was their strategy all along.

comment 3y ago · link · parent

The issues I raised were pretty concrete, and not merely "this symbol is better than that symbol"

comment 3y ago · link · parent

Why are people so enthused about Python syntax?

Some problems off the top of my head:

- The lack of new variable declaration keyword makes scopes less explicit. nonlocal is not simpler in the large than `let x = ...`

- The lack of multi-line lambdas is very limiting for anyone coming from JS, C#, Rust, Kotlin... heck even Java

- The ternary operator (... if ... else ...) is needlessly different for other mainstream languages

comment 3y ago · link · parent

The brittleness of this kind of thing is a real application for LLMs

comment 3y ago · link · parent

Could be getting ahead of the next iPhone announcement

comment 3y ago · link · parent

Indeed. A question we should be asking is what the Swedish government should have done if faced by mass non-compliance

comment 3y ago · link · parent

Trouble with that is invoking main and declaring main are too similar. I prefer this:

    let main () =
      printf "hello"
      0

73.

My Friends and I Bought an Island (2013)(tynan.com ↗)

17 points · by lambda_garden · 3y ago · 5 comments

74.

Larry and Sergey Won't Respect You in the Morning (2006)(flickr.com ↗)

2 points · by lambda_garden · 3y ago · 1 comment

comment 3y ago · link · parent

But why not test? If we don't expect compatibility to break, then it will be little extra effort surely?

comment 3y ago · link · parent

They use Haskell in any case [0]

[0] https://jacobin.com/2022/05/jacobin-is-looking-for-a-program...

123