Live data from Hacker News

Sshtalk: An SSH-based chat made in assembler

2ton.com.au

21–30 of 38 posts

Re: Sshtalk: An SSH-based chat made in assembler

#21

Earlier quoted context omitted.

LOL eigenmachter here. Pouring one out for john2 and his gf

I leave for 10 minutes to get lunch, and everything blows up? Too bad. This makes me want to host my own instance now. EDIT: Don't think it was banning, I can't hit the server from anywhere now. EDIT2: Why not. Give this a shot: ssh human.org.in -p 4001 Meet in the room "test".

Ditto, y’all were a good crowd

Re: Sshtalk: An SSH-based chat made in assembler

#22
post #20

Earlier quoted context omitted.

I leave for 10 minutes to get lunch, and everything blows up? Too bad. This makes me want to host my own instance now. EDIT: Don't think it was banning, I can't hit the server from anywhere now. EDIT2: Why not. Give this a shot: ssh human.org.in -p 4001 Meet in the room "test".

If you make one, post it here! I'll join

Same here

Re: Sshtalk: An SSH-based chat made in assembler

#23
post #13
post #11

Seems cute. Might be a fun gadget to host on a Pi or whatnot. > Hand-written in x86_64 assembly language Oh. Not sure if cross-internet capable communication tools constitutes the "worst" example of hand written assembly, exactly, but... yeah, it has to be up there. I'm sure it was fun to hack, though.

The only thing really worse there is that the number of people who could audit the code is much smaller. That guy wrote a whole SSL library in assember, so he probably didn't just finish some assembler tutorial and decided this was a good first lil project. Assember is usually just considered bad/dangerous by people who have no clue about it and consider it something magical. It's not. At least not significantly more…

No, I think portability is definitely the worst thing. It's a communication tool. It's perfectly reasonable to want to run this on your Pi or your phone or in your browser or your IoT device of the week. And you can't because of an implementation choice.

I'm certainly not afraid of machine code, I actually get paid to write it. But this just isn't a good choice technically. Though it's impressive and like I said was surely a lot of fun and worth showing off.

Re: Sshtalk: An SSH-based chat made in assembler

#24
post #23
post #13

Earlier quoted context omitted.

The only thing really worse there is that the number of people who could audit the code is much smaller. That guy wrote a whole SSL library in assember, so he probably didn't just finish some assembler tutorial and decided this was a good first lil project. Assember is usually just considered bad/dangerous by people who have no clue about it and consider it something magical. It's not. At least not significantly more…

No, I think portability is definitely the worst thing. It's a communication tool. It's perfectly reasonable to want to run this on your Pi or your phone or in your browser or your IoT device of the week. And you can't because of an implementation choice. I'm certainly not afraid of machine code, I actually get paid to write it. But this just isn't a good choice technically. Though it's impressive and like I said was…

Ah yes, I'm probably too focused on just x86 desktop/server with my everyday work that this didn't even occur to me, so I assumed you were meaning to refer to maintainability/security.

Re: Sshtalk: An SSH-based chat made in assembler

#25
post #15

Well I think I was banned from the server 2ton.com.au. Not sure why but it was fun while it lasted. sshtalk is a pretty cool utility!

Definitely not banned, sshtalk kakked itself under the HN glow (that and I left it open in a terminal window here and had an insane number of tiled chats open, might have a bug in there too)

Re: Sshtalk: An SSH-based chat made in assembler

#26

I love how you can SSH to a server and be presented with a login / registration screen. I would love to adapt this for use with an open source project I'm making, but don't think I have the fortitude for assembly. Anyone have any tips on how something like this is achievable using a more modern/approachable tooling stack?

If golang is your thing, take a look at this[0] or that[1]. You can probably find similar ones with some quick research. The neat part is that you can easily pull down someone's github keys and automatically authenticate them against that identity. You can follow up with an email/password registration as a backup identity provider, if you really want to push the envelope (and save the public key for future automatic…

EinChan is an SSH BBS which works like this; you log in as the einchan user and are dropped straight into the BBS software.

try ssh einchan@einchan.god.jp, password: ein

Re: Sshtalk: An SSH-based chat made in assembler

#27

Earlier quoted context omitted.

LOL eigenmachter here. Pouring one out for john2 and his gf

I leave for 10 minutes to get lunch, and everything blows up? Too bad. This makes me want to host my own instance now. EDIT: Don't think it was banning, I can't hit the server from anywhere now. EDIT2: Why not. Give this a shot: ssh human.org.in -p 4001 Meet in the room "test".

It's down now... :(

Re: Sshtalk: An SSH-based chat made in assembler

#28

Earlier quoted context omitted.

LOL eigenmachter here. Pouring one out for john2 and his gf

I leave for 10 minutes to get lunch, and everything blows up? Too bad. This makes me want to host my own instance now. EDIT: Don't think it was banning, I can't hit the server from anywhere now. EDIT2: Why not. Give this a shot: ssh human.org.in -p 4001 Meet in the room "test".

What happened?

Re: Sshtalk: An SSH-based chat made in assembler

#29
post #13
post #11

Seems cute. Might be a fun gadget to host on a Pi or whatnot. > Hand-written in x86_64 assembly language Oh. Not sure if cross-internet capable communication tools constitutes the "worst" example of hand written assembly, exactly, but... yeah, it has to be up there. I'm sure it was fun to hack, though.

The only thing really worse there is that the number of people who could audit the code is much smaller. That guy wrote a whole SSL library in assember, so he probably didn't just finish some assembler tutorial and decided this was a good first lil project. Assember is usually just considered bad/dangerous by people who have no clue about it and consider it something magical. It's not. At least not significantly more…

This is some bloke's project and he decided to code it in the tool he was either most comfortable with or wanted to glean exercise on. If you want to take inspiration from his work and write an analogous program in ARM assembler for the amusement of running it on whichever device most amuses you, you're free to read his code, learn from it, and then go off to re-implement it in a steam-powered balanced-ternary analytical engine, if you so please.
Post reply on HN