Better HN
topnewbestaskshowjobs
Log inSign up

djhaskin987

1,604 karma · joined Mar 1, 2017 (9y ago) · 403 submissions

https://about.djha.skin New username @ djha-skin
Submissions

comment 4y ago · link · parent

Yes, but then you would end up with, well, Confluence.

comment 4y ago · link · parent

I had to look at the overview[1] which I found to be super interesting.

The author focuses on metaprogramming (something like hygienic macros that are more efficient) as the only real needed extra feature over C. He says that with this other stuff can be built at need using libraries.

The upside is that new language features are just libraries that gain or lose popularity as time goes on, allowing the core language to be more or less the same as it was at its inception while still staying alive. This advantage is shared by Common Lisp for the same reasons.

The disadvantage is that since anybody can make a new sublanguage simply by writing a library, you're left with a fight between libraries on what language features are important for the whole group, splintering the group into different sub language dialect camps. This is part of the curse of lisp. The upside might be that it's still probably pretty difficult to write meta programming in Pliant relative to lisp because of its focus on efficiency. Perhaps this will save it from most of the curse. Time will tell.

I have never yet seen a "C++ Replacement" language's more carefully argued or justified using simpler arguments than this language. That the core language will probably endure easily is very exciting to me, especially after seeing the evolution that C and C++ has gone through over the years and how hard changing the language is nowadays. In the language overview the author makes some very good points about why he chose what he chose in his design decisions.

Other replacement languages try to simply make design decisions based on taste. This is not a bad thing; some language designers have excellent taste. But it is nice to have a plain explanation as to why specific features were included in a language.

One last thought I did have was that if language features are libraries, there had better be a very good dependency manager and packaging solution for this language from day one if it is to be usable.

1: http://www.fullpliant.org/page/pliant/3SR6QMB8/0EEMUVD

comment 4y ago · link · parent

Who knows, maybe they'll go with SuSE.

4.

I Tried Removing Python's GIL Back in 1996(github.com ↗)

3 points · by djhaskin987 · 4y ago · discuss

5.

The first flying bike can stay in the air for 40 minutes(interestingengineering.com ↗)

12 points · by djhaskin987 · 4y ago · 6 comments

comment 4y ago · link · parent

It is precisely because git stores a graph of snapshots that is so hard to scale it to be able to store large monorepos with thousands of files. Every single commit stores a reference to the content in every single file. Using The duality mentioned in the article of storing change sets instead is an interesting trade-off. Instead of having to compute the diffs, you have to compute the snapshots. This is a good trade-off if you want a small portion of the snapshot checked out to your machine. This is why perforce does better with mono repos.

Storing changesets can handle very very large sets of files much more easily, but you pay the price with having to compute what file is stored whem which lengthens check out time even in the small. It is not a good trade off if you have to check out the entire thing anyways. This is why get is more popular with the open source community which is more like a bazaar than a cathedral

7.

The Uber Hack Looks Bad(twitter.com ↗)

44 points · by djhaskin987 · 4y ago · 2 comments

comment 4y ago · link · parent

Never thought I'd see WordArt coming back 20 years later but here we are.

9.

JetBrains Mono, A typeface for developers (2021)(jetbrains.com ↗)

2 points · by djhaskin987 · 4y ago · 2 comments

10.

Tim Cook revealed the real reason Apple won’t fix green bubbles(theverge.com ↗)

3 points · by djha-skin · 4y ago · 2 comments

comment 4y ago · link · parent

This is a fantastic idea not simply because of saving money, but also to keep work at work. Too often people slack after hours expecting an immediate response. Someone where I work recently went so far as to uninstall slack from their phone so they could have a proper vacation.

comment 4y ago · link · parent

Decentralized networks are very resistant to moderation. Don't like my rules? Go to someone else's server. Also blacklisting specific people from specific servers or whole servers in general is an uphill battle a lot like the email spam battle. It's very difficult to keep unwanted content out.

That was my experience when looking at Matrix and Mastodon. So I am skeptical of projects like this.

That said the UI looks very nice and the idea very promising.

comment 4y ago · link · parent

Reminds me of Rich Hickey's sabbatical he went on to make Clojure. It cost him this retirement but he was able to improve much more than just his own development experience. That's probably the real reason for entrepreneurship. Why go after "spiky", unstable cash flow and burn savings? It's got to matter for other reasons too.

comment 4y ago · link · parent

How sad that at a death, many think, "how can I profit from this"?

It happens in my family and I'm sure everyone else's, it's why there's always drama when someone dies. Who gets Grandpa's estate, who gets Grandma's money, Grandpa loved me more but he's not here to defend himself so I can just say whatever I want about Grandpa and you just have to believe it. Using their legacy to improve our status in the family, or their money.

A great deal of heartache has come from how this has happened in my family when my grandpa passed some 20 years ago. It's all behind me now but only recently, it took a long time to settle the affairs of his prior belongings.

comment 4y ago · link · parent

My favorite one might be this one, the picture painted by the AI for the verse where John the beloved describes what the resurrected Jesus Christ looks like: https://bAIble.com/bible.html?book=Revelation&chapter=1&vers...

comment 4y ago · link · parent

Not surprising that VMs running unikernels are as nimble as containers, but not quite useful either, at least in general. Much easier to just use a stock docker image.

17.

Not Your Grandfather’s Perl(stackoverflow.blog ↗)

321 points · by djha-skin · 4y ago · 243 comments

comment 4y ago · link · parent

Got bitten by this this morning trying to run a `clj` Clojure command, nearly ten years after this piece was written.

19.

Paths with Spaces, I Give Up (2013)(yo-dave.com ↗)

2 points · by djhaskin987 · 4y ago · 1 comment

20.

Pwnie Awards(en.wikipedia.org ↗)

2 points · by djhaskin987 · 4y ago · 1 comment

comment 4y ago · link · parent

Probably what the guix[1] folks are trying to do, use a "more sophisticated" package manager for OS.

1: https://guix.gnu.org/en/download/

comment 4y ago · link · parent

Sorry for all the edits, just want to write all my thoughts down in one place.

1. Various interactions I frequently have:

- `va(C-cC-c`. Select the current parentheses text object (s-expression) and send it to the repl.

-`C-aC-a`, switch to repl to view output, interact with debugger, etc.

- `ggVGC-cC-c`, select the entire file and send it to the repl.

- I've never done this one but since you mentioned it as useful to you: `?^(<CR>va(C-cC-c`, evaluate a top level form. Not perfect, but probably good enough especially if a line formatter is used to enforce sane indenting like this one for Clojure[6]. If a line formatter does not exist, the usual `ggVG=` built-in vim indenting works just fine.

- `:set makeprg=<command to run unit tests with line numbers>:make`. Batch error reporting and fixing, very useful[1]. In Clojure, e.g. `lein test` with some additions to set error format might be the `make` program.

vim-slime does not have an understanding of s expressions but vim itself does, using the parentheses object. See `:help text-objects`. I like that vim-slime does not have this understanding because what if I'm using it with Ruby or something. But vim support of text objects is good enough that it's never a problem. While I'm on the subject, `])` and `[(` searching for parens in vim is awesome.

Vim operates using an entirely different set of values than emacs. Selecting and searching for text should not be the purview of a plug-in, it should be built into the editor. Compiling code should be delegated to compilers. Vim does a great job of this kind of separation of concerns, it is the Zen of vim, its core philosophy. Emacs is great and it works fantastically, it just operates using a different philosophy.

2. I work more in Clojure but I'm trying to get more into common lisp. Clojure has suggestions in neovim via language server protocol[2]. The suggestions are very good[3]. This is not as developed for the common lisp story[4] but I'll try it out and see how good it is.

I've never had much patience for autocompletion. I don't even like it when the editor puts in pairs of parentheses when I've only typed the first left parentheses. Vim does have autocomplete through the language server protocol, but I don't use it.

Regarding suggestions as I type, there's ale[5], but I think I would find suggestions as I type a little too distracting and might slow me down. I find the normal LSP stuff to be good enough.

1: https://vim.fandom.com/wiki/Errorformat_and_makeprg

2: https://blog.inkdrop.app/how-to-set-up-neovim-0-5-modern-plu...

3: https://github.com/clojure-lsp/clojure-lsp

4: https://github.com/cxxxr/cl-lsp

5: https://github.com/dense-analysis/ale

6: https://github.com/venantius/vim-cljfmt

comment 4y ago · link · parent

All that stuff still exists, it just exists in the multiplexer instead of the editor. That's my point. I don't need it in the editor. I just need it.

Even better! It's not useful for just Lisp! It works for python, bash, whatever. That's not a bug, that's a feature. It's simple, lets the editor be the editor and the multiplexer be the multiplexer. It's much more "vim zen" than importing an entire repl process into the editor.

I've always known about slimv, I just like vim-slime better. My only complaint is that when it copies and paste texts around it's slower using interprocess communication than it is using TCP. But the nice thing I can see exactly what's happening instead of having it all hid from me. Makes debugging problems much easier.

Even describing slimv as a "mode" belies its emacs-ness. Vim doesn't have major and minor modes. It has insert mode and normal mode, that's it.

I don't even use fugitive. Why do it when the git CLI is faster? I've already learned the cli, why do I have to learn an entirely new set of commands to do the same things I already know how to do? Especially when I'm using vim inside GNU screen? C-a 2, boom, I'm in a CLI. Switching back and forth is a breeze. I have a few key bindings in vim that allow me to see the git blame line of a particular line, that's it.

Don't turn vim into a user interface for $x. Embed vim into other user interfaces. Vim plugin for intellij, vscode, vim inside a multiplexer, ... This works much better in my opinion.

comment 4y ago · link · parent

If only nuclear energy weren't so unpopular. Certainly it's unpopular in the states, though I can't speak to the UK.

comment 4y ago · link · parent

Actually the video I watched directly talks about this being a major problem for Germany specifically.

Transcript: http://backreaction.blogspot.com/2022/08/no-sun-no-wind-now-...

comment 4y ago · link · parent

I can still cut off their revenue stream (canceling my service) and fight back without stealing.

comment 4y ago · link · parent

This kind of campaign would not be possible in the US because the provider can simply turn your service off with no questions asked, where from their FAQ it sounds like turning it off is heavily regulated in the UK.

On the one hand, solar panels will not fix this problem. Sun and wind both die down in the UK in the winter. You need hydrocarbons.

Honestly, if it were me, I'd ask them to turn my gas off and just heat a few rooms with electric heaters, and buy lots of blankets. It's not very convenient, but wearing a coat indoors is free. That feels more honest than stealing their gas and then not paying for it. Sure, they're probably ripping me off. Doesn't mean I should do the same.

28.

Hackers infiltrate second-largest US school district in growing trend(theguardian.com ↗)

1 points · by djhaskin987 · 4y ago · discuss

12345
14