HNHacker News
TopNewBestAskShowJobs

eiffel31

83 karma · joined October 5, 2016

submissionscomments
eiffel31··on Ask HN: What are you working on? (May 2025)
This reminds of some commercial products (Famileo comes to mind). I don't know of any open source or self-hostable version of this type of product.
eiffel31··on Nordic neighbours release new advice on surviving war
“Scientists have calculated that the chances of something so patently absurd actually existing are millions to one. But magicians have calculated that million-to-one chances crop up nine times out of ten.”

(The author is left as an exercise for the reader)

eiffel31··on Devs need system design tools, not diagramming tools
It exists, it's called MBSE. Look up tools that support this approach.
eiffel31··on Python with Braces
Code is as much Text as Vector graphics is Text.

Sure it's an intuitive way of representing your data. Is it the most appropriate though? See an example [0] about using Projectional Editing in order to use mathematical notations for formulas.

[0]: http://voelter.de/data/pub/gemoc2014-voelterLisson-MPSNotati...

eiffel31··on Python with Braces
You can (sort of) do all of that with the Eclipse Modeling Framework[0].

Your AST is what EMF calls a "model". By default the "backend" and ecosystem surrounding EMF is skewed towards Java for historical reasons, but there have been some prototypes with other languages as well. You can serialize your AST in any way you like, although by default it relies on XMI files. You can implement your own textual concrete syntax, or rely on a database. The EMF ecosystem has tools for implementing textual or "graphical" concrete syntaxes. You can combine them (e.g. usually a specific subset of your AST gets edited in a certain way that's best for your targetted end users). The ecosystem also has tools for performing comparisons and plugging them into your editing means.

Of course all of this tooling requires a lot more work than an LSP server.

[0]: https://eclipse.dev/modeling/emf/

eiffel31··on OK Doomer
You could try Natural Selection (the HL1 mod) if you like movement-based FPSs (with RTS elements in it).
eiffel31··on Why you can have millions of goroutines but only thousands of Java threads
Neither the JVM nor the Java specifications impose restrictions on this, so theoretically I'd say it's possible.
eiffel31··on Is abstraction overrated in programming? Chess, interviews and OOP
Thank you, wish Java had this :'(
eiffel31··on Is abstraction overrated in programming? Chess, interviews and OOP
> class A(b: B) : B by b // IS_A via composition

I couldn't find the "B by b" syntax from the Kotlin docs, can you tell me that this does ?

eiffel31··on Ask HN: Resources for building a programming language?
For DSLs, although the tools mentioned can be used for GPLs, see DSL Engineering: http://voelter.de/data/books/markusvoelter-dslengineering-1....
eiffel31··on 80-year Harvard study has been showing how to live a healthy and happy life
Have you considered looking at full-spectrum lights which may have some influence on your symptoms? Did you health check include Vitamin D check?
eiffel31··on Luna – Visual and textual functional programming language
How do you cope with syntax errors ? e.g. saving garbage tex as source code ? And reversely, can you have visual informations that can't be pretty-printed as text easily? (e.g. nodes without names)

How do you expect the visual syntax to integrate with VCSs? Do you have an algorithm and UI to present visual conflicts? How is the layout after a Git merge?

Cheers

eiffel31··on Bose Hearphones
I regularly go to concerts as part of the audience, and also as part of a band. Getting ear-molded linear -15dB protections has been my best decision ever since I enjoy and practice music. I definitely recommend you give some a try.
eiffel31··on Drakon: a visual language for specifications from the Russian space program
About (2): there is a standard action language for UML which can be used to fully describe your algorithm, independently of any language. In that sense, the DRAKON approach seems more practical for software engineers / programmers while the UML approach seems better for the domain experts.
eiffel31··on Drakon: a visual language for specifications from the Russian space program
Drakon does not seem to be model-based, so I would say no. If you are interested in Projectional Editing, you should look at MPS or Eclipse's Sirius.