Better HN
topnewbestaskshowjobs
Log inSign up

archargelod

1,119 karma · joined May 28, 2023 (3y ago) · 361 submissions

Submissions

comment 6d ago · link · parent

I did a simple human benchmark with currently latest appimage (extracted, to be closer to native experience).

first startup: ~1.5s - faster than I expected, but still slow

then I start spamming "new note" button - it takes around 40 new notes when it starts lagging, throwing "file already exists" errors and creating like 1 note per second.

was I clicking faster than a file system can respond - no. so what is taking it so long to process one of a simplest operation in the whole app?

okay, let's check ram consumption - 400MB - it is completely unreasonable for a note-taking app to take 10% of precious ram on my PC

And this is out-the-box clean, no cruft, no plugins experience. I can't imagine how bad it gets further on.

I understand that the problem is not implementation, but the core concept of using a web-browser interface for a note-taking app written in javascript. No, that doesn't excuse it being bad.

comment 1w ago · link · parent

beware: Obsidian runs on Electron - slow, sluggish, memory wasting piece of garbage.

comment 1w ago · link · parent

Good job, Claude.

comment 2w ago · link · parent

I use uBlock Origin on Firefox. Makes no difference.

comment 2w ago · link · parent

There is, something like that all over the internet. But it's not on any popular website or platform. Barely anyone knows about those places. And they're better that way.

I won't post a link here, but check out KamTape.

comment 2w ago · link · parent

- Annoying mail popup that returns after being closed and is not remembered on refresh

- Every action takes 3-10 seconds, including pressing on regular ass links

- There's a big yellow button "Fold planes" on main page that redirects you to the main page?

- Login is a blue text on blue background

- You have to click on the image of the plane to get to it's page, clicking on text doesn't work (small thing, but very unintuitive)

Is there something wrong with my browser, or it's a website?

comment 2w ago · link · parent

I feel like Nim is too expressive to be a good vibe-coding target. That is one feature that I think is generally good for people writing code and really bad for agents.

You can take a lot more "smart" shortcuts in Nim, that are hard to reason about, and probably even harder when an automated system writes them.

comment 3w ago · link · parent

I've only watched the original series, once, and understood most of it.

It's just meaning is very very vague on purpose. It's not meant to be specific. Most of Japanese art is like that.

Also, if you start learning Japanese language, you'll quickly notice that the "I'm not going to tell you anything directly" and "read the room" permeates even casual and especially formal daily conversations.

comment 3w ago · link · parent

One of the best updates in a while! Now, Nim is only missing a more stable LSP, which is already in the works[1].

[1] - https://forum.nim-lang.org/t/14251#86514

comment 1mo ago · link · parent

Blocking popular websites is certainly going to boost this number, dramatically.

comment 1mo ago · link · parent

Fail fast, with no one succeeding is not healthy.

One vibe-coded app is no better than other, or if it's better - not for long. So why would anyone invest in product that is going to be superseded in a few months/weeks/days?

comment 1mo ago · link · parent

It's not just em dashes, it's 1: typewriter em dashes aka `--` and 2: usage of them in pairs, like parenthesis, that is completely different from how LLMs use them.

comment 2mo ago · link · parent

Notice how I didn't say that I "learned" both in a day, I "remembered" them. Of course actual learning will take some time, especially with less used characters. But remembering shapes and differentiating between them using mnemonics should not be too hard for most people.

comment 2mo ago · link · parent

Absolutely agree. Romaji was absolutely pointless for me and probably a detriment overall to learning a language. Japanese uses consonant + vowel pairs as a rule, and the faster you train your intuition for this, the better.

Remembering both Hiragana and Katakana took me no more than a day each. Although I have to admit that I already tried learning them around 5 years ago and gave up back then out of lack of motivation.

comment 2mo ago · link · parent

Depends on what you mean by "simple". In my head, specifically with software, simple is defined as "does less", which is definitely somewhat easier to make, than a complex program that "does more".

comment 2mo ago · link · parent

Literally doesn't matter, player closest to dice at the moment you open the box.

comment 2mo ago · link · parent

Can somebody explain why not just make a die with 5! sides, and roll it once to decide the order? With each side having a unique order printed e.g. 12345 -> 12354 -> ...

Especially, that 120-sided dice are already invented and commercially available.

comment 3mo ago · link · parent

I still classify JIT languages as interpreted, because they require a runtime and it kills the convenience of sharing small binary e.g. in C or Nim.

And Julia docs are also unambigious in stating that code is sometimes interpreted[0]:

> jl_toplevel_eval_flex() then uses some simple heuristics to decide whether to JIT compile the AST or to interpret it directly.

[0] - https://docs.julialang.org/en/v1/devdocs/eval/#Julia-Executi...

comment 3mo ago · link · parent

How do you write a spec for correctness? Only the small and unimpressive programs can be checked exhaustively.

comment 3mo ago · link · parent

I indeed don't know about Java, but with C# there are a lot of limitations if you want AOT compilation and you still get the bloated binary and limited performance.

I also, personally, never seen a single project written in either Java or C# that distributes aot binaries.

comment 3mo ago · link · parent

Inferior to languages that compile to native binaries, not burning dramatically more cpu cycles than necessary.

comment 3mo ago · link · parent

I was excited to try Julia, but then, as I saw it was an interpreted language, with bulky runtime, slow startup times and bloated library sizes - my initial interest quickly faded.

For the same reasons I see languages like Python, Java, C# as inferior.

comment 3mo ago · link · parent

Sorry for negativity, but it wouldn't hurt to put some qualifier in the title, like, "Pi agent". So people, not interested in that theme can avoid your article. Thank you.

I was expecting an article about Pi constant or maybe raspberry Pi computer. "My Disappointment Is Immeasurable And My Day Is Ruined!"

comment 3mo ago · link · parent

You don't need that many with Deepseek. The easy jailbreak is to provide an excessive character sheet that states that it's a real person, not an AI. And make sure that your character has absolutely no self-censoring or morals. LLM will play it perfectly in-character without refusals.

You can get it talking about Tiananmen Square event in, like, 2-3 prompts.

comment 3mo ago · link · parent

You can find a number of benchmarks with similar results, but I really like this one[0]. I didn't check all algorithms for differences, but just looking on mandelbrot bench - both are version 1 (without hacks or some manual loop unrolling thrown in) and both are implemented in semantically identical code. Nevertheless, Nim version runs 7x faster and, literally, on par with C.

[0] - https://programming-language-benchmarks.vercel.app/nim-vs-go

comment 3mo ago · link · parent

> GC languages are slower

This is not necessarily true. It depends on a language, e.g. Go is slow, Nim[0] is extremely fast with conventional GC and slightly faster with ARC/ORC[1].

GC programs can be faster than manually managed ones in some cases. It's just manual memory management gives you more control of where and when free is called. And a good type system is a privelege that gives Nim more control with destructors.

Another scarecrow of safe languages is GC pauses, which is also not a thing in Nim, see table in [2].

[0] - https://nim-lang.org/

[1] - https://nim-lang.org/blog/2020/10/15/introduction-to-arc-orc...

[2] - https://nim-lang.github.io/Nim/mm.html

comment 4mo ago · link · parent

I'm just too used to how parsing works in Zsh. For bash and sh, there is indeed should be a semicolon.

comment 4mo ago · link · parent

Why take a perfectly readable if-statement and turn it into something, 99.9% of people would need to lookup. Concise != better. You can make it one line with:

    [ -z "$1" ] && { echo "missing argument, aborting." 1>&2; exit 1 }

comment 4mo ago · link · parent

> We typically don't make an organized effort to eradicate them unless they are actively doing us harm.

Animals are either useful and breeded controllably, or useless and considered a pest, an obstacle to {insert any goal here}.

Also animals don't tend to think critically and at the high level to be considered dangerous. So I don't think it's fair to put humans and other animals in the same risk category.

And we did the worst things to fellow humans. I hope we didn't already forget about all the colonization, slavery and mass-eradication of native tribes in 18th century all over the world.

comment 4mo ago · link · parent

Large companies are on the path of replacing people who are bad at coding, with systems that are emulating humans who are bad at coding.

Coding has been solved in the sense that, per dollar spent, companies can get 10x or even 100x the amount of code of roughly the same terrible quality.

12345
13