Better HN
topnewbestaskshowjobs
Log inSign up

deterministic

2,859 karma · joined Feb 27, 2013 (13y ago) · 3,460 submissions

Submissions

comment 1y ago · link · parent

Yep companies love capitalism and open market until they start loosing to competitors. Then suddenly government intervention and protection seems like a wonderful idea.

comment 1y ago · link · parent

Compared with Europe that invented and delivered:

English.

Democracy.

The Enlightenment.

Modern Science.

Modern Religions.

Modern Medicine.

The School System we are all still using today.

The Industrial Revolution.

The Share Market.

Modern Corporations.

The modern legal system.

etc. etc. etc.

comment 1y ago · link · parent

Number of startups has nothing to do with quality of life.

comment 1y ago · link · parent

I don't think the AI hype has changed much since 1958.

455.

New Navy Device Learns by Doing (1958)(nytimes.com ↗)

1 points · by deterministic · 1y ago · 1 comment

comment 1y ago · link · parent

A great read. I worked in the games industry for 15+ years and kept nodding in agreement reading the article.

comment 1y ago · link · parent

It is a pain to update a deep state in Haskell.

C++: game.level.unit[10].position += 5;

Haskell: way too much code here (unless you use lenses of course but then you are effectively turning Haskell into an imperative language).

comment 1y ago · link · parent

Whether music is good or bad is highly subjective. There is a high chance that I would find music you like to be crap and vise versa.

comment 1y ago · link · parent

I completely agree with the author. I am only really more productive with LLM's when I have to use an API or tool I am not familiar with. Jasper Reports being the latest example. When it comes to what I do most, LLM's doesn't help much.

comment 1y ago · link · parent

I am not worried at all. The C suite will very quickly find out that developers are still needed. And you can then negotiate a better pay + bonus to return.

comment 1y ago · link · parent

AI's are a mirror reflecting what we want to see.

comment 1y ago · link · parent

Not what I am seeing with the current state of AI. Yes using AI makes me more productive. But it needs a lot of hand holding and prompting to do the right thing, requiring somebody who knows what they are doing to use it effectively.

comment 1y ago · link · parent

Using AI definitely makes me more productive. However I spend 80% of my "AI time" fixing mistakes made by the AI or explaining why the solution doesn't work.

comment 1y ago · link · parent

There seems to be a lot of "Lisp is better than C/C++/..." articles around. I wonder why?

If the purpose is to try and convince non-Lispers to use Lisp, a more convincing argument (for me at least) would be to demonstrate modern commercial software written faster and more bug free in Lisp.

For example: "Here is a modern biz web application written in Lisp" showing step by step how Lisp makes the development process faster and less buggy than implementing the same application using (say) Typescript/C++.

Notes: I use custom code generators to generate more than 90% of the Typescript/C++ code needed to implement biz applications. Leaving only the core biz logic. So macros for code generation doesn't really give me anything I don't have already. And using macros for defining my own DSL's within the language would just makes the code unreadable for other developers. So it is not a feature I actually want.

comment 1y ago · link · parent

> they don't understand how to interface with them

In other words, they are not good managers. A good manager should be able to work with all kinds of people with different backgrounds and personalities.

comment 1y ago · link · parent

Windows 10 security updates will continue until 2028 so no need to do anything until then.

comment 1y ago · link · parent

I use non-AI code generators written by myself all the time. It is a huge time saver. Usually about 90% of the code I need for a typical biz application is auto generated => no coding needed, no bugs, no AI weirdness etc.

Having said that, for simple ad-hoc code generation (I need a dump function for this data structure for example) AI's work great.

comment 1y ago · link · parent

Quit and find another job. It is not worth it.

comment 1y ago · link · parent

Martin-Lof's type theory is the foundation (or inspiration) for quite a few modern proof assistants. It is also an elegant non-set based foundation for constructive mathematics.

comment 1y ago · link · parent

Nope we don't need Lisp Machines. If we did somebody would get rich building and selling them.

comment 1y ago · link · parent

Using a LLM to generate the proofs from a spec and verify it (OK/Error) would make it much faster.

comment 1y ago · link · parent

Completely agree. Having great automatic tests makes you move so much faster and drop fixes into production with justified confidence.

comment 1y ago · link · parent

One of my favourite books. Read it three times.

comment 1y ago · link · parent

Not my experience at all. I write code every day and our customers pay real money to use it.

comment 1y ago · link · parent

I have used simulators to develop hard-to-make-correct distributed code.

It helped me find all kinds of subtle non-intuitive bugs that would have gone unnoticed had I only used hand coded automatic tests.

Highly recommended.

comment 1y ago · link · parent

This is a solved problem. See CakeML for example.

comment 1y ago · link · parent

Monads in Haskell is just a way to combine two functions into one when the output of the first function doesn't match the input of the 2nd function.

That's all there is to it.

It is not a way to "box values". Yes you can use it for that if the functions you combine happens to operate on "boxed values" (like Maybe) but that has nothing to do with the fundamental idea of what a monad is.

And yes there are "monad rules" that ensures that combining the functions "makes sense". But people sometimes use monads in Haskell that doesn't actually follow those rules. But it works fine anyways for whatever they are doing.

comment 1y ago · link · parent

I recommend that the author actually tries this approach on a reasonably sized project before recommending it to others.

comment 1y ago · link · parent

I have tried different approaches and ended up with a single small bus of raw materials (coal,cobber,iron,stone) with everything else hanging off it. It scales amazingly well and avoid spaghetti layouts.

Oil stuff is done separately and fed into the structure where needed.

comment 1y ago · link · parent

> "Any sufficiently complicated program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."

I have never seen that in practice (30+ years of industry experience working on very large applications).

I think it is one of those statements that fans of Lisp love to quote (a lot) without having any empirical data to back it up.

And yes I am sure that there are examples out there. You can probably find examples of anything if you look hard enough. But that doesn't make it a general rule.

1
151617
116