Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tibordp
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
tibordp
2mo ago
Presumably these are new subdomains, if a caching DNS resolvers never saw the domain yet, it would simply query the authoritative server. There's a small nuance here that DNS spec also caches negative (NXDOMAIN) results, but the TTL of
2.
▲
by
tibordp
2mo ago
Good article! This matches how I feel about the situation. It's really not incongruent to use LLMs and be in awe of their frankly incredible capabilities while at the same time recognize the risks and frankly real damage we are already
3.
▲
by
tibordp
2mo ago
Yes! We played Achtung a lot on library computers in high school during breaks and I remembered it when I needed to pick a name for the app.
4.
▲
Show HN: Kurvengefahr – browser CAD/CAM for pen plotters
(kurvengefahr.org)
20 points
by
tibordp
2mo ago
|
6 comments
5.
▲
by
tibordp
8mo ago
Given that we are talking about A4 papers and grams, I'd bet this wasn't in the US. In Europe, the typical flat rate is up to 100g for standard letters. And that's 20 sheets, which is not a particularly unusual letter to send
6.
▲
by
tibordp
2y ago
That's only true for information theoretically secure algorithms like one-time pad. It's not true for algorithms that are more practical to use like AES.
7.
▲
by
tibordp
2y ago
Similar - I learned HTML by tweaking ReadMe.htm that was included with Dweep videogame from (now defunct) Dexterity Software.
8.
▲
by
tibordp
3y ago
Not sure I'd agree about it being esoteric. Understanding or at least knowing about ARP is still very much essential for people in networking. arping is a very useful tool for seeing if machines on the same network segment are up and j
9.
▲
by
tibordp
3y ago
You can go surprisingly far with C, though LLVM is probably a better long-term option for a serious compiler, because it's a tool made for the job (unless you target exotic and/or embedded platforms that don't have LLVM suppo
10.
▲
by
tibordp
3y ago
Just the standard Remote-SSH https://code.visualstudio.com/docs/remote/ssh
11.
▲
by
tibordp
3y ago
That's interesting, I don't find VSCode slow at all, even when working on large workspaces via SSH over a high latency link. Sure, there are native editors that are snappier, but not to the point that affect my productivity in any
12.
▲
by
tibordp
4y ago
It's not that it's hard, it's just that it is not inline, so it requires a context switch because the CM is defined outside, even when it's doing something specific. The most common problem that defer is trying to solve
13.
▲
by
tibordp
4y ago
That's a good point and also one of the things I kinda like about Alumina. You can do thing like this and the file will only be closed at the end of the function rather than the end of the if block. let stream: &dyn Writable&
14.
▲
by
tibordp
4y ago
I wouldn't say it was very difficult, but it did take quite a bit of time. Apart from some basic principles (no GC, no RAII, "everything is an expression"), I basically kept adding features whenever I hit some pain point tryi
15.
▲
by
tibordp
4y ago
No native compilation to WASM yet, but since the compiler outputs self-contained C, it should be fairly easy to do it with Emscripten. The sandbox is running the code server-side in a nsjail container. As for unwrap, I feel you! the try exp
16.
▲
by
tibordp
4y ago
Python context managers are actually very similar to guard objects in C++ and Rust. What I meant was something like this (could also be done with `contextlib`, but it's also verbose) seen_names = {} class EnsureUnique:
17.
▲
by
tibordp
4y ago
Scoped destruction is awesome in general, and I agree that it is superior to defer. I think one case where defer might be nicer is for things that are not strictly memory, e.g. inserting some element into a container and removing it after t
18.
▲
by
tibordp
4y ago
Honestly, Tree Sitter is fantastic, I can highly recommend it. By far the most user friendly and powerful parser generator I've worked with. The C API is very nice. The only two pain point I had is that the `node-types.json` that'
19.
▲
by
tibordp
4y ago
Valgrind and Sanitizers should work on Alumina. I have not actually tried them myself yet, but I don't see any reason why they couldn't work. The only potential problem I see that with the current C backend, the debugging informat
20.
▲
by
tibordp
4y ago
As far as I know it doesn't have a single feature that is really unique. It's more like a combination of things I like from other languages, like syntax and expressions from Rust, defer expressions from Go, UFCS from D. The overar
21.
▲
by
tibordp
4y ago
Totally agreed about FFI. I wanted to make it easy to interop with C code and write expressive bindings. Check for example the language bindings to LLVM's C API (fairly low level) and Tree-Sitter which is used internally (a bit higher
22.
▲
Show HN: Alumina Programming Language
(github.com)
107 points
by
tibordp
4y ago
|
87 comments