Better HN
topnewbestaskshowjobs
Log inSign up

shellac

902 karma · joined Sep 26, 2012 (14y ago) · 254 submissions

Submissions

comment 3y ago · link · parent

(Late reply, sorry)

Well currently you can't get at the AST, only (with some hairy code) bytecode. (The use cases are post-compilation)

But suppose this work did enable that. What Paul is saying is that there are intermediate representations between bytecode and AST that are more helpful for these GPU / SQL / whatever runtime compilers. Representations that capture dataflows, for example. Chance are these compilers would transform an AST to something like this anyway.

See https://mlir.llvm.org/ which is referenced in that talk.

comment 3y ago · link · parent

And as a companion piece I really enjoyed Paul Sandoz's 'Code Reflection' talk https://www.youtube.com/watch?v=xbk9_6XA_IY, which considers how java code might understand java code. The sort of thing that enable pushing functions to SQL or GPUs for example.

Edit to add: slides here https://cr.openjdk.org/~psandoz/conferences/2023-JVMLS/Code-...

comment 3y ago · link · parent

> Michael Polanyi's _Personal Knowledge_ pretty much killed logical positivism, because he showed that no scientist is in the fully objective position that was required to set up and evaluate the experiments.

That's an unusual claim. It's typically attributed to the criticisms of Popper and Quine, after which the foundations were undermined.

comment 3y ago · link · parent

Got her own joke name in Blazing Saddles. No greater honour.

comment 3y ago · link · parent

> [...] my prediction is that in a few years it will be in the same state gcj has been quite some years now.

You make it sound like GraalVM is just for ahead-of-time compiling like gcj, but there's more to it than native image. It's possible GraalVM will be openjdk's jit compiler, for example.

comment 3y ago · link · parent

'Access' copies are versions of originals intended for viewing, in contrast to the original ('preservation') video which may be impractically large to use, or in an unusual format.

(At least that is how the term is used by collections librarians. Even there terminology may vary)

comment 3y ago · link · parent

And it remains a stain on Elia Kazan's reputation.

comment 3y ago · link · parent

Which, ironically, is what ought to have been done in the example using join!(a,b).await.

comment 3y ago · link · parent

> It turns out the reason static typing seemed like a pain at the time is because we didn't have good tools.

Java IDEs were certainly highlighting errors, auto-completing, refactoring etc in 2008. Admittedly IntelliJ (the most impressive one) didn't have a free version then.

comment 3y ago · link · parent

Doesn't CC 4.0 include database rights too (where applicable)? Not especially significant for wikipedia's content, but a useful addition.

comment 3y ago · link · parent

For many languages I absolutely agree: stackful coroutines are the way to go since the programmer experience is much smoother, with fewer hiccups like having different kinds of functions, or being unable to yield in loops. Lua, Go, and now Java got this right; python, javascript, and c# have to live with a bit of a mess.

But Rust is not a language which can dictate its execution environment. It needs to be able to exist in a C-ish world, and that's not something that supports yielding. It's a shame, but at least you can write kernel modules in Rust.

comment 3y ago · link · parent

> In England, Bar Hill’s ‘Skull Comb’ Is an Iron Age Mystery

But outside England everyone knows what this is for. Why won't they enlighten the English?

comment 3y ago · link · parent

> What's "most modern languages"? Go is better than Python's native tooling (only Poetry and other similar 3rd party tools compare). Javascript I find unruly and fragmented.

Exactly the scale I had in mind, thanks. When I saw 'go get <package>' rather than dependencies added to the equivalent of a Gemfile / cargo / pom file it had concerns.

comment 3y ago · link · parent

Ironically I removed my mention of the windscreen evidence. There are some citizen science surveys documenting the decline (e.g. a UK study found a 60% decline over 20 years, or something like that). But it's a good example of a strong indicator but not the greatest quality evidence - geographically limited, concerns low flying population only, might be confounded by changes in car aerodynamics, verge / hedgerow maintenance etc.

comment 3y ago · link · parent

> There are also quite convincing studies that show even worse declines for insect populations

Has the evidence improved recently? About 3 years ago there were a few papers, including a meta analysis (-ish), which were suggestive but also noted the lack of longitudinal studies, and their lack of geographical diversity (Germany and UK as I recall).

The consensus was that everyone was certain there was a serious issue, but it was nearly impossible to usefully (even broadly) characterise the issues.

comment 3y ago · link · parent

> [...] you legally must notify the police of any march or protest.

March, not protest. From your own source:

> If there’s no march organised as part of your protest, you do not have to tell the police.

On the few occasions I've organised protests I did inform them, because although they didn't really care about protests they don't like surprises.

comment 3y ago · link · parent

I'm reminded of the funhouse dummy that turned out to be a real corpse. [1][2]

Discovered while they were filming the Six Million Dollar Man.

[1] https://www.snopes.com/fact-check/dead-man-gawking/

[2] https://en.wikipedia.org/wiki/Elmer_McCurdy

comment 3y ago · link · parent

The university I work at wanted to make a video archive of performance art openly available on the web. Some of this can be 'challenging' (their preferred term) so we wanted to ensure people didn't just stumble into it. On the other hand we didn't want any form of mediated access which is a barrier for potential users, and also a maintenance burden.

I remembered PICS and hoped something similar had stepped in since it seemed an ideal solution: we describe our content, users make a choice based on that metadata. However we found nothing.

(We ended up adding a ~7 second explanation / warning at the start of every access copy, which is ... ok)

comment 3y ago · link · parent

This has changed quite substantially over the last five+ years. It certainly used to be the case that using certain cards that were very common in the rest of Europe (particularly credit cards, but also things like visa debit) required jumping through hoops in the Netherlands, and often weren't accepted.

A Dutch friend, who knows the industry a little, said that the Dutch banks had gone their own way with payment systems in the past. This heritage had taken some time to unwind. (I guess he was talking about things like Chipknip?)

comment 3y ago · link · parent

I spent 2/3rds of the article assuming 'Nick McGuffin' was a deliberately absurd pseudonym used to protect the real victim of this charlatan.

comment 3y ago · link · parent

I wasn't involved in SVG, but knew quite a few of the people involved around the working group. Seeing socket support mentioned certainly raised a smile: one of the team was quite keen on writing a pure-svg IRC client, I think.

It wasn't an explicit goal of SVG 1.2 to replace Flash. You should be able to dig out the working group charter to check that. However the way these groups worked was that there were various communities ('stakeholders' if you must) who contributed thoughts and ideas. At least one of the companies implementing SVG certainly did want a Flash competitor, and so was keen on sockets.

I think they all knew it wouldn't fly, but they get excited. You see the same with Chrome and stuff like USB and Bluetooth access.

comment 3y ago · link · parent

Additionally Sun and NeXT partnered to create OpenStep. [1] I thought the java library owed quite a lot to OpenStep.

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

comment 3y ago · link · parent

This response confuses me since goroutines and Erlang processes are really very similar to project Loom's virtual threads.

The mistake is that async/await is not equivalent to virtual threads: the former can do only a subset of what the latter can.

comment 3y ago · link · parent

And pattern matching was started in java first (goes hand-in-hand with records to some extent).

comment 3y ago · link · parent

The java equivalent of task is probably Future or CompletableFuture, which have been in java since 2012 / 2014. In terms of running them, Executors have been there since 2014.

(Obviously this would have been 1:1 with OS Threads)

comment 3y ago · link · parent

> popular on the early internet

Popular on the early(ish) web. The equivalent for the internet would be .plan files, perhaps?

comment 3y ago · link · parent

> https://genmon.github.io/braggoscope/directory#560

Shouldn't https://www.bbc.co.uk/programmes/b00lh2s3 (Ediacara Biota) be in there?

comment 3y ago · link · parent

Because you get right answer that way. Why would you want the wrong answer?

comment 3y ago · link · parent

I don't know about this publisher, but it must be noted that academic publishing is notorious for having some of the highest margins on the planet. As a business they are as close to a magical pot of gold as you could hope for.

Breaking their peculiar hold on research is taking decades. arXiv has existed for over 30 years, but physics journals still thrive.

12345
9