Better HN
topnewbestaskshowjobs
Log inSign up

flavio81

2,377 karma · joined May 18, 2017 (9y ago) · 1,191 submissions

"Informatics" engineer (a combination of SE + CE + CS).
Submissions

comment 4d ago · link · parent

>AGI: artificial general intelligence is not a scaled up LLM

This, million times over. To progress a little step towards the (still vague) idea of AGI, we need to invent something else. LLM's won't work.

comment 4d ago · link · parent

Excellent article. Great ideas for password harvesting.

comment 4d ago · link · parent

Beautiful, but it can't be "pro" if it doesn't have XLR connectors. This thing doesn't even have RCA audio out.

comment 1w ago · link · parent

>Jolt is a self-hosted Clojure implementation that runs on a portable Scheme layer that supports multiple backends. Chez natively

This is the cool part. Now, i understand many Clojure libraries depend on Java libraries, so let's see how this works out for real world projects. But still, I think it's a great idea, and it's exciting. Well done, Yogthos!

On the other hand, regarding the "speaks to C", Common Lisp has had very easy interfacing to C for decades, i'm surprised this wasn't solved on the Clojure community already (!)

comment 3w ago · link · parent

>The end state of every garbage collected language is a suite of tools to prevent garbage collection at all costs. >I think we can learn something here.

You're making two mistakes here:

1. Confusing "no allocation" with "avoiding the garbage collector". In non-GC languages like Rust or C there are instances you want to avoid allocation too.

2. Being oblivious that in the past many GC'd languages also had mechanisms for circunventing the garbage collector. Since long, long, long ago. Common Lisp for example (1981-). This is not a modern "realization" or "revelation".

comment 4w ago · link · parent

>Intuitively it seems like a match made in heaven, since the agent can directly manipulate the running program

This should be a BIG benefit for agent-driven development, but sadly it seems that few people is taking advantage of it.

comment 4w ago · link · parent

This is exciting news, and I would like to say "hello" to Richard Kenneth Eng, the sole user of Pharo in the world.

comment 1mo ago · link · parent

A requirement for functional programming is that there's no action from a distance, thus, functions should not modify variables outside of their scope.

This doesn't exactly mean immutable data structures are mandatory, but it helps.

In any case, most of the functions that operate on data structures in Lisp (or Common Lisp) do it in an immutable way.

comment 1mo ago · link · parent

PSA: If you need a Lisp that talks to C++, Common Lisp has had seamless C++ interop in the few years thanks to the CLASP implementation. It should be fairly mature by now, I understand it was born to be used in serious projects.

comment 11mo ago · link · parent

>Coalton strives to implement Haskell or ML-adjacent semantics (in the type system, for example) with Lisp syntax. "With" here meaning that it is both implemented in and written with Lisp syntax.

Not exactly. Coalton brings ML-style strong typing to Common Lisp. But Coalton code is also Lisp code.

The backend, thus, is Common Lisp, and it is available at all times, thus leveraging all its power.

comment 1y ago · link · parent

>No multithreading, I/O locks under GNUs/eww, glacial slow

All this would not happen if RMS had chosen Common Lisp to implement it...

comment 1y ago · link · parent

>It’s really interesting reading about LISP machines but no-one’s building a new one

There have been two open source Lisp Machine OS created in the last 15 or 10 years.

However a big part of the power of the Symbolics/LMI machines was in the software itself (applications), and this is still propietary code.

To reimplement the Lisp Machine applications would take quite a big effort.

comment 1y ago · link · parent

>SmallJS is file based, not image based, so you can develop in your favorite IDE

This project is nice, however if we don't have a specific, client-side IDE for interactive development, 70% of the power of Smalltalk is gone (one of the criticisms I give to Ruby)

How would one do to push changes to the web frontend (browser) without stopping the program ?

comment 1y ago · link · parent

One could easily implement an Emacs (SLIME) plugin to "macroexpand" the (pseudo) expresion to real (concrete) Lisp code, and even to try again until the implementation satisfies you.

Then it becomes a concrete Lisp implementation and thus not unpredictable anymore.

comment 1y ago · link · parent

>I want C++ do exactly and only what the programmer specifies

Good luck with that.

comment 1y ago · link · parent

Add Common Lisp to the list. And even Scala has fast compile times today.

comment 1y ago · link · parent

>Lisp killer features were GC, good data representation, first class functions.

Lisp's killer feature is procedural macros that are extremely easy to write and debug.

Lua doesn't have such a thing, that's why Fennel was created.

Erlang also doesn't have such a thing, that's why LFE was created.

comment 1y ago · link · parent

>To whoever down-voted me, please do explain how HMRs are comparable to Erlang's true hot code swapping or even Lisp's live redefinition.

based

comment 1y ago · link · parent

Exactly. A post full of bollocks.

comment 1y ago · link · parent

>As one of the authors of the Unix Haters Handbook

One day, one remote day, mankind will attain Reason and will award you a Nobel Prize for speaking out loud against retrograde computing.

I salute you, hero, veteran.

comment 1y ago · link · parent

Correct. The Unix philosophy is based on hagiography.

comment 1y ago · link · parent

>Easy to prove, can you think of an engineer that adds negative value?

Yes, i have many examples. Two of them I personally fired. One of them, I should have fired much early. I let this engineer basically add negative value by trying to make his peers (other engineers) finish the work it was delegated to him, thus creating negative value by preventing the other, highly productive engineers, to do their tasks.

I warned him not to do this, but he didn't heed. Sadly due to Human Resources the firing process took way too long. I should've acted earlier.

comment 1y ago · link · parent

>When did IEEE become host to clickbait nonsense? This whole take feels like an editorial by a junior engineer going off vibes.

Exactly.

I think i'll never click on an IEEE Spectrum article again.

IEEE has jumped the shark.

comment 1y ago · link · parent

So, you think productivity or even quality can be measured in "amount of lines of code produced".

Which is completely wrong.

comment 1y ago · link · parent

100% based.

Indeed this is one of the hard problems for a manager.

comment 1y ago · link · parent

+1, it is my go-to language whenever I have no idea how complex the task will get

comment 1y ago · link · parent

You´d be surprised.

In the 1980s, complete workstations were written in Lisp down to the lowest level code. With garbage collection of course. Operating system written in Lisp, application software written in Lisp, etc.

Symbolics Lisp Machine

https://www.chai.uni-hamburg.de/~moeller/symbolics-info/fami...

LMI Lambda http://images.computerhistory.org/revonline/images/500004885...

We're talking about commercial, production-quality, expensive machines. These machines had important software like 3D design software, CAD/CAM software, etc. And very, very advanced OS. You could inspect (step into) a function, then into the standard library, and then you could keep stepping into and into until you ended up looking at the operating system code.

The OS code, being dynamically linked, could be changed at runtime.

comment 1y ago · link · parent

>The concept of compile-time programming having the same appearance as runtime programming is very cool in my opinion.

You mean, something that Lisp does since the early 1980s?

comment 1y ago · link · parent

>That means that a field called "date" can be either a string, integer days since the epoch or a Java Date, and (because this codebase isn't great) there's no way of knowing without tracing the call stack.

But this is because JSON is an untyped data structure. (And btw, a flawed one...)

You would have this problem in any programming language.

comment 1y ago · link · parent

>How did they adapt to dynamic types?

You mean dynamic typing, I understand.

Clojure (and Common Lisp) is strongly typed, so if you expect type A and you give a value of type B, an error will be raised.

On Common Lisp, which is an interactive development language, you just inspect the stack frame where the error was raised, find the problem, correct the code, recompile your function (while the code is running), and "restart" the stack frame, so the execution continues (without having to restart or redeploy everything and try to replicate the bug). Thus, it is no big deal at all.

On Clojure i'm not so sure how extensive is the interactive support. But there is "spec", which can help.

12345
40