Better HN
topnewbestaskshowjobs
Log inSign up

mikmoila

42 karma · joined Mar 4, 2012 (14y ago) · 63 submissions

Submissions

comment 2mo ago · link · parent

Yes "at any substancial level" . But still, its all about deterministic processes and still it obeys the law that the same input gives the same output. Or do you mean that the fluctuations like computing environment might ruin the determinism?

comment 2mo ago · link · parent

I think you're referring to the fact that the sheer amount of computations is something too time consuming for us to follow? But still it is not "magical" - in theory we could follow all the steps, there's no hidden information.

comment 2mo ago · link · parent

"you could never have accomplished"; I am not able to follow the logic here - there is no "magic" in LLMs, they're built by humans and we know what they do.

comment 2mo ago · link · parent

Humans built the tool which enabled the result. AI used the tooling for eliminating the dead ends. Yes, I can appreciate the practical value of all this, but IMHO it is not a kind of breakthrough result the article gives impression of.

comment 2mo ago · link · parent

"The effort succeeded when we switched to using Prove2Me, an open collaborative platform for formalizing mathematics designed by Tianyi Peng and his collaborators at Columbia University."

So in the end, it required tooling crafted by humans.

comment 3mo ago · link · parent

https://openjdk.org/legal/ai

Shitposting, the reasons are very clear and explicit: The risks of having legal problems are very clear.

Google for example GEMA vs. OpenAI.

7.

Demystifying Dependence [pdf](jameskoppel.com ↗)

2 points · by mikmoila · 4mo ago · discuss

comment 6mo ago · link · parent

Code contains deviations from assumed behaviour, and some behaviours might manifest themselves as failures. Some failures might be exploitable by attackers.

comment 6mo ago · link · parent

Yes, imagine a breakthrough moneymaker product containing generative AI parts; It'll be under legal attacks from day zero...

comment 6mo ago · link · parent

OpenJDK project (interim) AI-policy faq (https://openjdk.org/legal/ai):

"What are the intellectual-property risks of using generative AI tools? The Oracle Contributor Agreement (OCA) requires that a contributor own the intellectual property rights in each contribution and be able to grant those rights to Oracle, without restriction. Most generative AI tools, however, are trained on copyrighted and licensed content, and their output can include content that infringes those copyrights and licenses, so contributing such content would violate the OCA. Whether a user of a generative AI tool has IP rights in content generated by the tool is the subject of active litigation."

comment 6mo ago · link · parent

How about intellectual-property risks?

comment 7mo ago · link · parent

I don't I use Java for small scripts/tools.

comment 10mo ago · link · parent

Are they really? I've been under impression that agentic LLMs are just instances of the LLMs, no "specialized training" involved

comment 1y ago · link · parent

This is great idea.

comment 1y ago · link · parent

Very interesting tool; I've done something quite similar by implementing a CLI-mode interpreter to VS Code Rest-client (https://marketplace.visualstudio.com/items?itemName=humao.re...) files, with a support of executing a test-code (Javascript) against the result of http operations. The idea was to have a tool which could run .http files in batch mode, and also to execute the selected set of http operations concurrently.

comment 2y ago · link · parent

There is nothing special in getters and setters, the runtime sees them as methods and may optimize them as it'd do for any other methods.

17.

JEP 468: Derived Record Creation (Preview)(openjdk.org ↗)

2 points · by mikmoila · 2y ago · discuss

comment 3y ago · link · parent

Good point, isn't this the partial compilation?

comment 3y ago · link · parent

Wasn't it so that as Graal jitter is written in Java, Truffle can easily call it by using ordinary Java api?

By the way there's an excellent series of articles about implementing an interpreter with Truffle by Adam Ruka: https://www.endoflineblog.com/graal-truffle-tutorial-part-12...

20.

Helidon-Nima-Example(github.com ↗)

2 points · by mikmoila · 3y ago · discuss

comment 3y ago · link · parent

Of course, this is not fully comparable to Akka, but you might find this interesting: https://github.com/ebarlas/game-of-life-csp

comment 3y ago · link · parent

Also there are some traceability issues involved in using asynchronous APIs: "In the asynchronous style, each stage of a request might execute on a different thread, and every thread runs stages belonging to different requests in an interleaved fashion. This has deep implications for understanding program behavior: Stack traces provide no usable context, debuggers cannot step through request-handling logic, and profilers cannot associate an operation's cost with its caller. "

https://openjdk.org/jeps/444

comment 3y ago · link · parent

Jetty can be used with virtual threads: https://webtide.com/jetty-12-virtual-threads-support/

comment 3y ago · link · parent

SC will be a preview level API in Java 21: https://openjdk.org/jeps/453

comment 3y ago · link · parent

In addition, this implementation detail might help in gaining some insight: "The synchronous networking Java APIs, when run in a virtual thread, switch the underlying native socket into non-blocking mode. When an I/O operation invoked from Java code does not complete immediately (the native socket returns EAGAIN - “not ready” / “would block”), the underlying native socket is registered with a JVM-wide event notification mechanism (a Poller), and the virtual thread is parked. When the underlying I/O operation is ready (an event arrives at the Poller), the virtual thread is unparked and the underlying socket operation is retried."

https://inside.java/2021/05/10/networking-io-with-virtual-th...

comment 3y ago · link · parent

Nima uses virtual threads where blocking call blocks only the current virtual thread but not the underlying carrier-thread, which can run another virtual thread while waiting i/o to complete.

comment 3y ago · link · parent

One at a time, not concurrently.

comment 3y ago · link · parent

"callRemote" simulates a blocking outbound http-call.

comment 3y ago · link · parent

Right to the spot, thanks for sharing this! I've always thought that having a decision log of justifying design/implementation choices which are somehow surprising would be healthy thing to do.

comment 3y ago · link · parent

Fascinating info, thanks for sharing this with all the details! Didn't watch your youtube video but do you use any formal systems like TLA+ internally for validating your designs?
123