Hacker Newsnew | past | comments | ask | show | jobs | submit | cl3misch's commentslogin

Is this being downvoted because of the tone, or because state machines are unpopular/inappropriate in this case?

Genuine question, because this feels like a sensible solution to the problem as stated in the article.


It made no reference to the 'shared' in 'shared state'.

No mention of asynchrony, multithreading, or the race condition that TFA encountered.


The “attempt 2” was literally a state machine implementation which the author rejected because they didn’t know how to do it properly and so did it badly using a bunch of if then else logic.

A difficult prerequisite for that might be untangling a very unatomic codebase into testable chunks. And to determine a feasible "level of abstraction" to write tests for. Testing a full pipeline of a numerical library might be as impractical as testing super tiny functions, because both won't allow you to really work on the codebase.

I think it does? How would Whatsapp or Signal group chats work then?

Tiny nitpick: you actually can pin messages in Signal group chats. It's a pretty recent addition though.

Apart from that, I would have been interested in more details about the author's experience with ~Revolt~ Stoat. To my naive eyes it looks pretty nice. I really like the nuanced takes about the other platforms in this article, so I'd guess the author has some good reasons to dismiss Stoat like that.


How do you search messages from before you joined the mailing list?


Mail list archives. But at the point where the oss community I was part of switched, I had had a backlog of 8 years of mails.


You check the mailing list archives - those usually have a web based interface.


Admittedly I was being facetious: OP said mailing lists are better than a forum, but for searching the archive you need a forum-like interface anyway.


Its a bit easier as it can be read-only & static generated. Though there are some attempts to make it possible to reply using the Web interface, like HyperKitty /Mailman 3.


Google? Actually back in the day, gmane was the shiznit.


FWIW the afaik most common symbolic math Python library sympy does that on the first page of their tutorial. I think in this space it's pretty common.

https://docs.sympy.org/latest/tutorials/intro-tutorial/intro...

I have to admit that I still like to use the ancient

    from pylab import *
in scripts that only I will ever see. It makes it so much easier to use numpy in a "tool of thought" way. I would never do this in a library, though.


Two wrongs don't make a right. It risks significant ambiguity in longer snippets or files, and is therefore bad practice.


The emojis do show up on iOS Safari!


Those card suits in that post show up (for everyone) in HN because they are the proto-emoji ancient "Wingdings range" further encoded in the direction of HN without an emoji presentation variation selector. (Emoji presentation selector will color them, so hearts and diamonds would be more red, among other subtle distinctions in most fonts/OSes today.)

The number of "proto-emoji" that HN does not block is interesting given HN's preference to block emoji, but also illustrates some of the fun compatibility complexity of Unicode.


Not OP, but I think they meaning cutting it as flush with the cable tie "head" as possible.


That is still relatively easy to cut your finger on.

I don't know that there's a correct way, really. You would probably have to take the time to file or sand the edges. Which kind of levels the playing field with the cable lacing option really in terms of time spent.


Trimming the excess flush with the head is the correct way. It's not perfect, but it is much safer than leaving a sharp stub sticking out.

The absolute worst thing is to trim at any angle other than 90 degrees -- doing that creates a small knife.


We call them thorns, and it's to keep other people out of the wiring closet!


I was wondering why the Starwars one is not at the top of the list. Then I saw it no longer exists :-(


It still exists, and still works. I was sure I showed it to someone a few months ago, and just confirmed, it's still online. (I know the guy who built it). It works over ipv4 and v6, with the ipv6 version having some additions ;)


Thanks! Admittedly I didn't check before writing my comment. It does indeed still work! Maybe one has to enable ipv6.


It worked last time i tried it, but it's not working for me today


Doesn't work for me


Source? I guess you're thinking of long tapAirdrop, but that essentially shares a link to the Appstore via Airdrop. You're not transfering the app itself.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: