Better HN
topnewbestaskshowjobs
Log inSign up

ldlework

158 karma · joined Feb 8, 2013 (13y ago) · 40 submissions

Submissions

1.

Show HN: Claude Code Manager(claude.ldlework.com ↗)

11 points · by ldlework · 7mo ago · 1 comment

comment 4y ago · link · parent

Unironically, yes. That's exactly how anarcho-capitalists see it. To them, Anarchy just means "no coercion/state", it doesn't mean a lack of structure, delegation or coordination.

comment 4y ago · link · parent

This is quite cool.

comment 4y ago · link · parent

Created this short visual narrative with Dall-E in the style of H.R. Giger.

Human figures live their lives in a surreal dystopian world, until they find a hole leading to an even stranger one.

Video was made with React Remotion which was pretty cool. If anything, check that out.

5.

The Gigerian Farce (DALL-E 2)(youtube.com ↗)

1 points · by ldlework · 4y ago · 1 comment

comment 4y ago · link · parent

All you've done is push the burden of constructing the dependency to whomever is calling an passing that dependency to __init__

Consistently applied, all construction gets pushed to the entry-point of the program. Congratulations, you've just discovered the so-called "composition root".

Now that all construction is taking place at once, the order matters as you can't pass a dependency to its dependent until the dependency has been constructed. But it may have its own dependencies. So now there is a topological sorting problem.

Turns out computers are really good at topological sorting. So, someone made the computer do it, and we call that a dependency injection container. Tada.

comment 5y ago · link · parent

When this was first being presented at the Hackathon where it was created, I joined a few seconds late due to some camera trouble. My first thoughts where "Wow, they really went above and beyond, so tightly choreographing their presentation to their slides." Then it slowly dawned on me what was happening. Funny stuff.

comment 5y ago · link · parent

Try http://type-tetris.ldlework.com :)

comment 5y ago · link · parent

I'm still having this issue.

comment 5y ago · link · parent

If the code is implementing against interfaces, why would late binding mess up your IDE experience at all?

comment 6y ago · link · parent

In my opinion, you probably don't have good reasons.

comment 6y ago · link · parent

> I have a hard time seeing anything new here. > Just .. [a] new perspective...

okie dokie

comment 9y ago · link · parent

I have recently started looking into Nix to solve the problem of dotfile deployment to new OSX workstations. When you get a new laptop, you clone your dotfiles, maybe symlink them to your home directory -- and then what? Nix solves this problem for me by coupling my dotfile deployment with the installation of the related software.

The learning curve has been absolutely tremendous, however. That said, the support on Freenode has been some of the best I've encountered in more than a decade.

https://nixos.org/nix/manual/#chap-package-management https://rycee.net/posts/2017-07-02-manage-your-home-with-nix...

comment 9y ago · link · parent

ITM

comment 9y ago · link · parent

This is by far the best podcast Ive personally enjoyed besides maybe Waking Up with Sam Harris. The "old friends" chemistry the hosts have cannot be understated. In the morning!

comment 10y ago · link · parent

...and user type-classes, compile-time AST macros, and GC-as-an-API

17.

Introducing Mycroft Core(mycroft.ai ↗)

2 points · by ldlework · 10y ago · 1 comment

comment 10y ago · link · parent

Would really appreciate some kind of link to the discussion you mentioned..

comment 10y ago · link · parent

Oh sure. I'm asking specifically, given that I'm writing software happily in Nim, what potential pitfalls am I blind to? My software is compiling to C and it shouldn't be so I'm wondering what can I expect to actually experience using Nim, outside of Hacker News posts about Nim.

comment 10y ago · link · parent

Oh, I've been writing software in Nim pretty happily for a months now. What problems am I blind to?

comment 11y ago · link · parent

Huh, I keep hearing more and more about it in places I'd never suspect.

comment 11y ago · link · parent

I'll go ahead and plug my own introduction video which gives a light introduction to the core grammar concepts in lojban: https://www.youtube.com/watch?v=yZjSTUK3hFI

If you can absorb what's in this video, you could probably pick up lojban with little effort on the grammar side. Alas, vocabulary is just something you have to get through.

comment 11y ago · link · parent

You were down-voted but I actually agree. I did conclude the article by saying that templates seem really nice for closing the gap on refactoring code that not even generics could wrap up. So the intention was to convey that templates are really a last resort secret weapon. They just also seem to be pretty easy to understand :)

comment 11y ago · link · parent

You were down-voted but I secretly agree.

wait - oops. :)

25.

A cursory look at meta-programming in Nim(blog.ldlework.com ↗)

97 points · by ldlework · 11y ago · 29 comments

comment 11y ago · link · parent

These are definitely exciting times for container networking!

comment 11y ago · link · parent

Thank you. My mouth was literally agape.

comment 11y ago · link · parent

Hey I am just curious as to what you see as the dark corners of Nim?

comment 11y ago · link · parent

I certainly agree.
12