HNHacker News
TopNewBestAskShowJobs

veganjay

368 karma · joined June 9, 2014

[ my public key: https://keybase.io/veganjay; my proof: https://keybase.io/veganjay/sigs/a_suPs0j3w6p85DIbiMSmQ6qtxUmAvjC4r7MK38lgE0 ]
submissionscomments
veganjay··on Rotary Keyboard
This is so cool, especially for those of us who've used rotary phones.

I'd like to see a video of a google voice or other call made using the rotary number pad :)

veganjay··on Gameboy Doctor: debug and fix your gameboy emulator
Chip-8 is a great place to start. It is easier to program than the Atari 2600, and is also monochrome. And the guide mentioned is an excellent resource.
veganjay··on The Compression Puzzle Challenge
From the page:

> One shall write a program that compresses string "AAABBAAC" to its compressed form "3A2B2A1C".

Interesting programming exercise. Although, the resulting string in the example is still the same length. The "algorithm" could be improved slightly by skipping the number for one-character substrings, e.g. "3A2B2AC"

veganjay··on Zachtronics: Last Call BBS
Deluxe Edition: https://zachtronics.com/pop-up-store/
veganjay··on How to Store an SSH Key on a Yubikey
Some additional information:

- https://www.yubico.com/blog/github-now-supports-ssh-security...

- https://developers.yubico.com/SSH/Securing_SSH_with_FIDO2.ht...

- https://developers.yubico.com/SSH/

The second link describes the advantages/disadvantages of non-resident vs. resident keys.

veganjay··on How to Store an SSH Key on a Yubikey
Found it:

Install ykman: https://github.com/Yubico/yubikey-manager#linux

Show FIDO2 credentials:

    $ ykman fido credentials list
    ssh: 0000000000000000000000000000000000000000000000000000000000000000 openssh
Delete:

    $ ykman fido credentials delete CREDENTIAL
veganjay··on How to Store an SSH Key on a Yubikey
Thanks - "ssh-add -L" talks to the ssh-agent and asks what keys are loaded. That shows all keys including keys from the yubikey and from the local filesystem.

I am looking for a command that shows what's on the yubikey.

From what I gather, if the command from the article is run: "ssh-keygen -t ed25519-sk -O resident", the key is stored in a FIDO2 slot.

If that's the case, my question is how to show what is in the FIDO2 slots and how to delete them?

veganjay··on How to Store an SSH Key on a Yubikey
Is there a way to show which SSH keys are loaded on the Yubikey? (It looks like you can store multiple)

Also, how can one remove the SSH keys from the Yubikey?

I've tried to find articles and SSH on the Yubikey gets very confusing as there seem to be so many techniques!

veganjay··on How to Store an SSH Key on a Yubikey
Thanks for sharing the article. I followed it and it was very simple to set up.

In the past, I postponed setting this up after I encountered issues. I tried to run "ykman", but it seemed to fight with "yubioath-desktop". It was tricky to debug and I ended up rebooting. I think the reason was that I installed "yubioath-desktop" using snap, which runs "pcscd" as a snap service, and "ykman" wants to start the "pcscd" system service.

Either case, for this tutorial, I skipped the part running 'ykman'. Basically the only commands were:

    ssh-keygen -t ed25519-sk -O resident

    ssh-add -K
veganjay··on Four Secret Novels by Brandon Sanderson
First time hearing about this author - what's the hacker news angle here? From what I gather it is that: 1) he's a very popular sci-fi/fantasy writer, 2) it's an incredible amount of funding for a kickstarter campaign

I'm genuinely interested - for someone new to his work, where is a good book to start?

Edit: as mentioned in other comments: https://www.brandonsanderson.com/where-do-i-start/

veganjay··on Debugging with GDB
I came across this writeup: https://infosecwriteups.com/pwndbg-gef-peda-one-for-all-and-...

It describes how to configure GDB with the GEF, PEDA and PWNDBG plugins.

(I've only really used gdb-peda, would be great to get some time to learn the others)

veganjay··on I Finally Installed an Ad Blocker
Firefox + uOrigin, Blokada, Pihole
veganjay··on Show HN: Jless, a command-line JSON viewer
Very nice! I also thought "how is this different than jq" - glad I clicked on the link - this will be very helpful in my toolset! Thanks!
veganjay··on Ask HN: Video On or Off?
Teams

Video: OFF, Audio: ON

veganjay··on [dead]
Can someone please explain? I see:

> Given that today is Thu Dec 9 03:26:28 UTC 2021, two weeks is at least 638 days and 15 hours long.

veganjay··on Ask HN: What are some must read books?
> I was weighed down by words and phrases that we no longer use and found myself losing the meaning.

I have the same problem. I found a used physical copy of "No Fear Shakespeare - Macbeth" to be very helpful. On the left page is the original text, on the right page is are notes and a translation. I was able to get through the book and understand it.

You can access online here: https://www.sparknotes.com/shakespeare/

> what you think makes it outstanding?

I'm not the original commenter, so speaking for myself only. I would say the prose is very poetic and has a certain magical quality to it.

veganjay··on Darkness – A text adventure game based on a dream
Made some progress - spoiler:

$ echo dHVybiBvbiBsaWdodAo= | base64 -d

veganjay··on Darkness – A text adventure game based on a dream
Still trying to figure out what to do myself.

It helps if you've played text adventures before.

Here are some things I've tried:

- LISTEN (kind of funny)

- TELL

- INVENTORY

veganjay··on All Atari Games
Indeed, Atari Age is great, has more games and rating: https://www.atariage.com/software_search.php?SystemID=2600

Although, the gallery view on voxodyssey is fun to browse.

veganjay··on Make a Joule Thief (2002)
I built a joule thief flashlight as part of a workshop at a security conference in 2018. We bought a kit that had all the parts, and then soldered them together. For a beginner soldering project, this is excellent.

Unfortunately, I don't think the kit I built is still available.

Here's some information I could dig up:

- https://www.gigaparts.com/etow-humanalight.html

- https://aa7ee.wordpress.com/2014/08/18/the-humanalight-a-fla...

- https://swling.com/blog/tag/etow-humanalight/

veganjay··on Judge forces US Capitol rioter to unlock laptop seized by FBI
I recall a supreme court decision that law enforcement cannot force someone to offer their password, as it is a violation of the 5th ammendment: https://techcrunch.com/2019/11/21/court-police-suspects-pass...

However, in this most recent case, it was not a password used to unlock the phone but facial recognition:

> The judge granted the Justice Department's request to place Capitol riot defendant Guy Reffitt in front of his laptop so they could use facial recognition to unlock the device

And apparently this is not protected by the same ruling, which is interesting.

veganjay··on Ask HN: What Are You Learning?
Sounds interesting! What resources are you using to learn?

In case you haven't seen it already, http://8bitworkshop.com/ provides an online IDE.

veganjay··on Pocketlang
I was about to post similar because in the git repo it also states:

> Pocketlang is a small (~3000 semicolons) and fast functional language written in C

From what I can tell from the comments, pocketlang re-uses and/or re-implements some functionality from the wren language source code:

    $ grep wren src/*.h src/*.c
    src/pk_compiler.c:  /* String interpolation (reference wren-lang)
    src/pk_utils.h:// Source : https://github.com/wren-lang/wren/blob/main/src/vm/wren_utils.h#L119
    src/pk_utils.h:// Copied from wren-lang.
    src/pk_var.h: * wren (https://wren.io/) an awesome language written by Bob Nystrom the
    src/pk_var.h: *     https://github.com/wren-lang/wren/blob/main/src/vm/wren_value.h
    src/pk_var.h:// usage and it has 2 formated characters (just like wren does).
veganjay··on If the Moon Were Only 1 Pixel (2014)
Another one in Eau Claire, Wisconsin: https://www.visiteauclaire.com/listing/eau-claire-planet-wal...
veganjay··on Virtual deck of cards using just a browser
One cool thing is the ability to create your own deck and the ability to share with other users.

There are a lot of existing games already in the system and plenty more shared on the reddit group: https://www.reddit.com/r/PlayingCardsIO/

Also there is an open-source clone available: https://virtualtabletop.io/

And somewhat related, /r/digitaltabletop has a huge list of options to play games online: https://www.reddit.com/r/digitaltabletop/comments/gg4sfx/big...

veganjay··on How to look at the stack with gdb
I used gdbpeda, which is similar to pwndbg. There is a learning curve. But if you like GDB, check out radare2. It's the GDB of disassemblers :)
veganjay··on Comet 64 – Programming Puzzle Game
Looks very much like a Zachtronics game (which is a good thing!) Plus C-64 nostalgia. I'm sold. Looking forward to trying it.
veganjay··on “Hello, World” in zero lines of code
The title of the stackexchange discussion is a little misleading. It really is: '"Hello, World" in what sloc thinks is zero lines of source code'

Most of the top solutions seem to take advantage of bugs in the way sloc tries to parse commented lines. e.g. many are:

    /**/<do_something>/**/
And I'm surprised I don't see a related bug issue in the git repo: https://github.com/flosse/sloc/issues

Still this is a fun read. I'm curious to see what other tricks are out there.

veganjay··on Ask HN: Top Coursera Courses?
> I found them at https://www.coursera.org/accomplishments though.

Thanks for pointing that out! I have 11 courses in the accomplishments and just one in "completed" courses.

veganjay··on Ask HN: Top Coursera Courses?
I can think of many - I have taken several starting since 2013. The tricky thing is that Coursera classes seem to get merged, re-mashed or otherwise re-branded. And as such only one currently is listed in my "Completed" courses section of my profile.

Having said that and with the caveat that these probably changed since I taken them, I recommend the following:

- Cryptography - https://www.coursera.org/learn/crypto - great introduction to the fundamentals and math behind cryptography. A lot of theory but also some practical exercises. This is my top recommended.

- Machine Learning - https://www.coursera.org/learn/machine-learning - a good introduction to the basic of machine learning; focuses on octave/matlab and does not dive into frameworks like scikitlearn or tensorflow

- Introduction to Interactive Programming with Python - https://www.coursera.org/learn/interactive-python-1 - I took a course from Rice University on Python programming through making games that was fun. As far as I can tell, this is the modern incarnation in two parts.

- Software Security - https://www.coursera.org/learn/software-security - goes into stack / overflow exploits, tools for testing, and web-based attacks

- Functional Programming Principles in Scala - https://www.coursera.org/specializations/scala - this was a good introduction to scala and functional programming - it got me thinking in a different way

- C++ for C Programmers - https://www.coursera.org/learn/c-plus-plus-a - I think this was the first coursera class I took. This course dove into the C++ STL and a lot of modern features introduced in C++11.

← PreviousPage 2 of 4Next →