HN user

earenndil

1,974 karma

Account no longer in use; see 'moonchild'

Posts44
Comments1,259
View on HN
old.reddit.com 6y ago

/R/ProgrammingCirclejerk

earenndil
2pts0
github.com 6y ago

Show HN: I Implemented 'Defer' for C

earenndil
3pts0
www.google.com 6y ago

The Google Chrome comic book (2008)

earenndil
1pts0
www.youtube.com 6y ago

Copyright implications of brute forcing all 12-tone major melodies [video]

earenndil
4pts1
www.bay12games.com 6y ago

Dwarf Fortress version 0.47 released

earenndil
2pts0
www.youtube.com 6y ago

Fuck RSA (2019) [video]

earenndil
1pts0
github.com 6y ago

Vim9: An experimental fork of Vim to explore making Vim script faster and better

earenndil
142pts89
pling.jondgoodwin.com 6y ago

Can a compiler guarantee multi-owner memory safety?

earenndil
1pts0
www.nimblemachines.com 6y ago

Donuts, Inc: a creepy company (2018)

earenndil
1pts0
www.youtube.com 6y ago

There Is No Algorithm for Truth [Video]

earenndil
1pts0
news.ycombinator.com 6y ago

Ask HN: Why hasn't visual programming taken over?

earenndil
4pts8
lists.gnu.org 6y ago

NCurses: A colouring API that doesn't suck

earenndil
2pts0
danluu.com 7y ago

Deconstruct Files

earenndil
5pts0
michaelwashere.net 7y ago

Eternal September of the Corporate Open Source Project

earenndil
3pts1
www.reddit.com 7y ago

I am a Web Dev And I am Burnt Out

earenndil
42pts23
web.archive.org 7y ago

Who Killed Videogames?

earenndil
1pts0
www.washingtonian.com 7y ago

What happened after my 13-year-old son joined the alt-right

earenndil
531pts438
en.arguman.org 7y ago

Arguman: An Argument Analysis Platform

earenndil
3pts1
0x0.st 7y ago

Show HN: Two Kilo – A curses-based text editor in 2kb of code

earenndil
67pts44
news.ycombinator.com 7y ago

Ask HN: What is a notetaking app? What is its utility?

earenndil
15pts17
github.com 7y ago

Stage0: a set of minimal dependency bootstrap binaries

earenndil
1pts0
www.teamten.com 7y ago

Dynamic_cast(C)++

earenndil
2pts1
glportal.de 7y ago

GlPortal

earenndil
2pts0
porkmail.org 7y ago

GUIs Considered Harmful (1992)

earenndil
93pts146
bisqwit.iki.fi 8y ago

Dynamic C++ expressions

earenndil
2pts0
byuu.org 8y ago

The Futility of Hope

earenndil
2pts0
en.wikipedia.org 8y ago

Robot Odyssey

earenndil
1pts0
news.ycombinator.com 8y ago

Ask HN: What happened to the original wiki (wiki.c2.com)?

earenndil
2pts2
rationalwiki.org 8y ago

Roko's basilisk

earenndil
2pts0
www.youtube.com 8y ago

The Shape of a Problem Doesn't Start Anywhere [video]

earenndil
1pts0

You. You are the single point of failure; if you are compromised, then all your accounts can be accessed by the compromisor.

If you're looking for a point outside yourself, then memorising all your passwords would be an option.

But beyond that, I don't think your criticism is warranted. There's always a single point of failure - sure - but we can still consider gradations of how centralised that point is, and how likely it is to fail.

With a hosted password manager, you're at the mercy of their server code; specifically, at least for 1password, I think they have a 'dead man's switch' which lets you get at the encrypted content without the master password. This is more likely to fail than a password manager which stores all its content locally and really encrypts it (e.g. keepass). In this case, human error outside of yourself can't compromise you. But technical error can, which is why there are more steps that can meaningfully increase your level of security. Like running your password manager on a separate, air-gapped computer; or sandboxing everything you run a la qubes.

Are any of these especially likely to compromise you, as a user? No, but reducing centralisation and dependency still improve your chances, and are definitely worth considering if you are e.g. running a drug smuggling ring.

This is not that great of an article, IMO. A prominent developer of one of the roguelikes mentioned says:

you can immediately see that this article was stitched together by throwing some wikipedia articles together if it references the Berlin interpretation

it's also hilarious if the guild of disgruntled adventurers is referenced as fun addition :)

I'm not sure if I should feel insulted [by the article's description of my roguelike]

I mostly agree with these. I also feel a bit slighted by one of the descriptions. I'm also not sure quite what to make of the fact that they don't mention the two most prominent recent roguelikes: caves of qud, and cogmind.

You need to use nested functions if you want to have nontrivial behaviour in a cleanup, and nested functions are awful in c.

I wrote on reddit[1] about why I prefer this over c++:

It's not a technical problem, but a social problem. Yes, I would definitely prefer the c++ RAII (and refcounts would be nice too). If you say 'my project is in c++', that sends a certain message to prospective contributors, about what your priorities and ideals are. It can attract certain kinds of contributors and discourage others. Then you have the problem of how to define your subset of c++. It's easy to say 'no exceptions, no RTTI, no STL'. But there are subtler things. As you mention, templates are occasionally useful. But sometimes they're completely superfluous. Do you allow virtual functions? Multiple inheritance? The answer is almost invariably 'maybe'; you have to exercise taste. I can do that by myself, for my own project. But if I want to be able to accept contributions from others, I need a clearer set of contribution guidelines than 'wherever my whimsy takes me', and for such a purpose 'whatever the c compiler accepts' is the best I can do.

Also, tcc is about 10x faster than gcc and clang, which makes development a joy.

1: https://www.reddit.com/r/programming/comments/f4gb6n/i_made_...

K Language (2011) 6 years ago

not once have I seen an explanation of what makes it fast and why those techniques aren't looted for open-source languages

The language design is such that the programs you write can make optimal use of cache and SIMD. The interpreter can only take advantage of that if the language offers you that. It's like saying "not once have I seen an explanation of what makes c so fast and why those techniques aren't applied to python and javascript."

(Note also that the reference J interpreter is opensource and very competitive, performance-wise.)

What is TFA?

the use of "nested arrays" (not the same as multidimensional arrays) induces pointer structures that are difficult to do anything with

J doesn't allow nested arrays by default; if you want to create such a structure, you have to use boxes (and then unbox the values inside of them to get at them), which makes it explicit and reduces its usage. AFAIK, k doesn't have nested arrays at all.

swipe typing is inaccurate compared to android

A couple of years ago, microsoft made a keyboard for ios called wordflow. It had better accuracy than any other keyboard I've tried. Sadly they removed it not long after; I still use it, but I don't think it's possible to download it if you haven't already.

Afaik those make for a 2x performance hit. And they don't necessarily protect against buffer overflows; if you overflow out of data addressable from one pointer, but into data that's legally addressable from another pointer, that's still an issue, but it won't be caught.

On Voice Coding 6 years ago

Something to consider: replacing 'jury' with 'jug' (or some other one-syllabic phoneme) might increase overall efficiency, even if one or two combinations need a slight pause.

Content creators don't deserve revenue. Putting something on the internet is a voluntary action, and a voluntary agreement to pay whatever costs are incurred. Anyone who chooses to put advertisements before people's eyeballs and thoughts into people's heads is a bad actor.