Better HN
topnewbestaskshowjobs
Log inSign up

comma_at

171 karma · joined Jun 23, 2015 (11y ago) · 53 submissions

Submissions

1.

Frostbite: A new CPU architecture discovered, designed, and verified E2E by AI(architectlabs.com ↗)

7 points · by comma_at · 6d ago · 2 comments

comment 4w ago · link · parent

Laws are full of holes and contradictions. For example, megacorps evade tax. We want them to pay the tax. See, the _intent_ is for them to pay, but the _execution_ of the intent fails. If you take the current laws as the basis and want to improve upon them, how do you improve? What counts as improvement? "Megacorps must pay tax too" is a clear intent/goal. It captures the requirement. If you read the laws, can you deduce this requirement? Can you improve upon them without the requirement?

3.

Working With AI: A concrete example(htmx.org ↗)

197 points · by comma_at · 4mo ago · 72 comments

4.

GPU Is the New Oil(xificurc.github.io ↗)

3 points · by comma_at · 5mo ago · 1 comment

comment 5mo ago · link · parent

Are there qwen or minimax or other open weight models of same hardware requirements that outperform this?

6.

IO Is the Problem(xificurc.github.io ↗)

2 points · by comma_at · 6mo ago · discuss

7.

The Empty Middle of AI Coding(xificurc.github.io ↗)

8 points · by comma_at · 7mo ago · 2 comments

comment 7mo ago · link · parent

  Location: Slovakia (GMT+1)
  Remote: Yes
  Willing to relocate: No
  Technologies: Clojure, Docker, Common Lisp, Bash/Zsh, Python ...
  Email: petern@riseup.net
Résumé/CV: https://drive.google.com/file/d/1YzYDnSo-u823VNVIljVHH6vt8cd...

I am currently a core maintainer of Electric Clojure (https://github.com/hyperfiddle/electric), a full-stack, reactive, differential language we use for building rich, dynamic UIs. Most notably I developed the last 2 generations of our compiler and pioneered the UI composition pattern we use today. I work with Clojure for 7+ years, but also did a lot (4y+) of infrastructure work before - Docker, Kubernetes, ELK stack, Kibana and more. I worked in many other languages. I am a systems-level thinker who derives solutions from first principles. I am looking for a new challenge.

comment 1y ago · link · parent

If the problem fits into the limited local resources, if there's no syncing required, no login, no multiplayer, ... Sure, do it. But don't pretend this solves all business cases.

comment 3y ago · link · parent

Instead of doing the side effect you return a description and let the framework handle it. E.g. you don't call `transact(db, data)` but return `["transact", db, data]`. Now your function is pure. The framework will expect you to provide the transact handler, e.g. as `register_handler("transact", (db, data) => {..})`.

Personally I'm not a fan of this abstraction (another layer of indirection). I'd rather take a `transact` function as an argument.

comment 3y ago · link · parent

The only way for the client to set a server-side symbol to a value is to explicitly request it in code

    (e/server (let [is-admin? (e/client ...)]))
Even with mutable atoms you'd have to write the `reset!` on the server.

comment 3y ago · link · parent

I think SBCL starts up fast enough as-is, no? If you want a batteries included version with libraries, just load them and save a new base image with SAVE-LISP-AND-DIE

comment 4y ago · link · parent

So it's OK to let them spy since we get spied on from other sources anyway.

comment 4y ago · link · parent

https://github.com/eudoxia0/cmacro

comment 4y ago · link · parent

libmill's goal was to be as close to Go as possible. If you look at it in that light, it's an accomplishment.

Then came libdill, which created the whole "structured concurrency" movement and brought new concepts to light that are now being replicated in python, kotlin, java...

comment 4y ago · link · parent

I'll wait for the 1-line APL/J/K implementation in the comments.

comment 4y ago · link · parent

I'd like to syntax highlight code blocks. I tried to add PrismJS to the html file. The CSS survives, but my <script> tag seems to disappear no matter where I put it. I guess this is because Feather Wiki is rewriting itself. How can I add a <script> tag that survives?

comment 4y ago · link · parent

At a bare minimum your code might have different behavior. Your `run! deref` will wait for each future one by one. What if the last one threw an exception while the others are running? You'd probably want the other tasks to get canceled immediately. I'm not sure what Executor.close() does exactly, but in theory it could do this for you automatically. Not something I want to write by hand for sure[1].

> In Go for example, I don't remember having to clean up fibers manually.

And that is awful if you think about it a bit. There's no composition happening, your go block just goes off somewhere without you having any control of it. It's like goto, only it forks first and never gives back the process handle[2].

[1] https://clojureverse.org/t/missionary-new-release-with-strea... [2] https://vorpus.org/blog/notes-on-structured-concurrency-or-g...

comment 4y ago · link · parent

> What’s not great is loading the entire closure VM environment into my browser

There's no VM in clojurescript, it compiles to JS, it is tree-shaken and heavily optimized and minified through Google's Closure compiler.

> resulting in the software running (in this case) 50x slower

The speedup is not a result of abandoning clojurescript, it's from moving from immutable data structures to mutable arrays and primitives. The same can be done in clojurescript or javascript.

I think this is a common misunderstanding, that's why I'm reacting. Nobody claims immutable data structures to be the silver bullet. Computation-heavy parts need to be done in low level code and with primitive types.

comment 5y ago · link · parent

This is all good and true, but it's looking at the problem from the Linux distribution's perspective. The user wants a working application. Something like AppImage allows a small team to distribute a working package for every distro. Now imagine that team of 5, working on their app, packaging it for ubuntu, fedora, arch, rhel, ... It's just not possible.

What would solve this issue? A common package manager and central repository, across all Linux distributions. Then the small team only needs to package and ship to one repository, in 1 format.

comment 5y ago · link · parent

select them and group them (Ctrl+G or find it under Actions on the left bottom part of the screen)

comment 5y ago · link · parent

> it's just not worth learning steno if you mainly do programming

I think this will be better answered by someone who has crossed that bridge than you simply jumping to that conclusion with no experience or data to back up your claim.

comment 5y ago · link · parent

To balance the views, Mirabai, the person who started this project, does live transcription in vim and uses it for editing the notes as well. Ted, one of the lead developers, uses steno daily for programming. Emily, another user and plugin developer, has developed dictionaries to help with symbolic input and modifiers (e.g. ctrl+shift+x). There are plugins for changing case (camel, lower, snake etc.)

comment 5y ago · link · parent

Learning a steno system is similar to learning a new spoken language - it takes time, and the time it takes differs based on the time you invest daily, personal experience, type of study... Some have reached 100wpm in 2 months, some take 2 years. As a reference number - to be a certified stenographer you need to pass a test with at least 225wpm with 99% precision. The classes take 2 years, I think.

Being a pianist might be handy, but you'll still need to practice a lot to see progress.

comment 5y ago · link · parent

Switching dictionaries/systems is possible and used every day by people who use it with more than 1 language. Think of it as switching to colemak or dvorak on your keyboard.

comment 5y ago · link · parent

https://danluu.com/productivity-velocity/

Docstrings, writing documentation, talking to colleagues on Slack, asking questions on stackoverflow, writing mails, browsing, working in the terminal. We spend a lot of time writing. How much time could one save by e.g. doubling the speed?

Another aspect is of the working memory - will it free your brain's resources? Will allow writing at the speed of thought allow for new/more thoughts?

I think we should explore these waters, and steno is a solid choice.

comment 5y ago · link · parent

In k3d this is already available. https://k3d.io/usage/commands/k3d_image_import/

comment 5y ago · link · parent

So... what is right? What is your preferred toolset?

comment 5y ago · link · parent

You think 280loc as a starter is not much?
12