Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dannymi
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
dannymi
1mo ago
It really depends on what your character is. I like to start from the basics and build up. I would start from a completely vanilla emacs (on package emacs-pgtk--that is the graphical version), then enable Options > Cut/Paste with C
2.
▲
by
dannymi
3mo ago
waypipe works very fine. waypipe ssh XXX
3.
▲
by
dannymi
7mo ago
I'm only using NanoClaw, but I like that I could (and did) just review the code it has, and that it uses containers for each agent (so I can have different WhatsApp groups working on different things and they can't interfere with
4.
▲
by
dannymi
8mo ago
For what it's worth, there is this vscode extension https://github.com/realDestroyer/org-vscode/ which is pretty neat and can do org-mode task tracking, calendar and agenda view--and HTML preview.
5.
▲
by
dannymi
11mo ago
Just as you can select whatever railroad gauge as a country (if you also build compatible trains, obviously) and have it work just fine no matter what you select--until you try to connect it to another country and then you need to have conv
6.
▲
by
dannymi
1y ago
>Is this level of fear typical or reasonable? Of course. Also with regular customer projects. Even without AI--but of course having an idiot be able to execute commands on your PC makes the risk higher. > If so, why doesn’t Anthropi
7.
▲
by
dannymi
1y ago
It stops at GNU Mes and hex0. Bootstrapping everything is exactly how it's done correctly--and how it's actually done in practice in Guix. I mean sure if you have a business to run you outsource this part to someone else--but you
8.
▲
by
dannymi
1y ago
>It has a lambda there. In many programming languages, and the way human beings read this, say that "when there is a lambda, whatever is inside is evaluated only when you call it". What is inside the lambda is to the right of t
9.
▲
by
dannymi
1y ago
There's always tension between language simplicity (and thus cognitive load of the programmers) and features. Compare Scheme with Common Lisp. The idea in Python is: 1. Statements are executed line by line in order (statement by state
10.
▲
by
dannymi
1y ago
There's also https://github.com/dspinellis/git-issue which has much fewer dependencies.
11.
▲
by
dannymi
1y ago
guix build --with-configure-flag="jq=CFLAGS=-O3" jq If you want it to be permanent, then you can use a guix home profile (that's a declarative configuration of your home directory) with a patch function in the packa
12.
▲
by
dannymi
2y ago
I agree. But: If you are LUCKY! The worse case is if you DON'T segfault by dereferencing invalid pointer.
13.
▲
by
dannymi
2y ago
Then use the GCC backend. https://github.com/rust-lang/rustc_codegen_gcc
14.
▲
by
dannymi
2y ago
I would suggest you read the source code of Mutex < https://doc.rust-lang.org/src/std/sync/mutex.rs.html#178-182 > and then of UnsafeCell < https://doc.rust-lang.org/std/cell/s
15.
▲
by
dannymi
2y ago
Thanks, but no thanks. I don't like vscode extensions advertising to me every 5 seconds, auto-downgrading the free versions of extensions, auto-installing aux tools every 5 seconds, having a 400 MB RSS chromium runtime (remember Eight
16.
▲
by
dannymi
2y ago
I use emacs org mode (and emacs org node and emacs org agenda), and Orgzly Revived on Android (the latter can do DAV sync). It's quite nice and can do integration, search and quick capture, TODOs. It's also endlessly customizable
17.
▲
by
dannymi
2y ago
$ cat a.pp {$R+} var a: 1..12; b: 1..12; c: 1..12; begin a := 10; b := 11; c := a + b; Writeln(c) end. $ fpc a.pp Free Pascal Compiler version 3.2.2 [2021/05/19] for x86_64 Copyright
18.
▲
by
dannymi
2y ago
There are 1.46 billion iphones, 3.3 billion Android phones and tablets, 1.5 billion Windows computers in the world. About 100 million people use MacOS. I'd say with the (few 100 million) Chromebooks it's an equal number of Windows
19.
▲
by
dannymi
2y ago
>If your Rust project leans heavily on unsafe code and/or many libraries that use lots of unsafe, then aren’t you fooling yourself to some degree; i.e. trusting that the unsafe code you write or that written by the 10 other people w
20.
▲
by
dannymi
2y ago
Does it? I've set it (emacs 29.4) up like that (LSP mode (including rust), DAP mode, 160 emacs packages, daemon mode) and it works very fast for me. It can do project tree, intellisense, refactoring, macro-expansion and auto-implementa
21.
▲
by
dannymi
2y ago
In the first example on https://www.tensorflow.org/api_docs/python/tf/math/multiply you can see that they use the Hadamard product (not the matrix product): x = tf.constant(([1, 2, 3, 4])) tf.m
22.
▲
by
dannymi
2y ago
When you have natural numbers and a multiplication operation (product) would you say that those form an algebra? (ADT means algebraic data type)
23.
▲
by
dannymi
3y ago
>The big cost about Nix/Guix that puts people off is that it eliminates a human-readable filesystem. The traditional layout is gone or empty, replaced by a tonne of folders under `/nix/` called stuff like `240-572-9837wfgj
24.
▲
by
dannymi
3y ago
> It[Python] certainly does suggest there's compatibility with VAR syntax. Maybe. Maybe not. >It[Haskell, or do notation] also allows you to make declarations anywhere inside a block. main = do let x = 1 let
25.
▲
by
dannymi
3y ago
>It seems there's no concrete example of where unstarred LET would be better. The unstarred let is a destructuring bind of an entire tuple. For example (let ((x 1) (y 2) (z 3)) ...) does the entirety of x := 1, y := 2, z := 3 at onc
26.
▲
by
dannymi
3y ago
It's just a reference to a reference. It has nothing to do with lifetime correlations. Also, it's a lot less weird if you don't stop in the middle of the type. The entire type is for example &'a &'b u8
27.
▲
by
dannymi
3y ago
>0-index arrays On each pascal array you specify both bounds. So nothing stops you from doing `array[0..4] of Integer` or whatever.
28.
▲
by
dannymi
3y ago
What's wrong with CLOS generics? Not only does it have function "overloading", it has it on any of the parameters while still being object oriented. (defclass Shape () ()) (defclass Rectangle (Shape) ()) (defcla
29.
▲
by
dannymi
3y ago
>If Rust had a restricted subset which had a footprint compared to C Take a look at "#![no_std]", a Rust feature. If you do that, your Rust Hello World program will have 14 kiB (with no linker optimizations). >and allows for
30.
▲
by
dannymi
3y ago
I replied to you in order to help you. I'm doing async since 2007. I use async regularily for my clients, and I'm 100% sure that the usual async executors in Rust are multithreaded. I just ran gdb on an async program again, and, s
More ›