HNHacker News
TopNewBestAskShowJobs

sirsuki

329 karma · joined June 5, 2014

http://tritarget.org/

[ my public key: https://keybase.io/sukima; my proof: https://keybase.io/sukima/sigs/p_xMUMbEohTq3s3PJJfqHVAdVw_1U8gdMnM-9eYaYQ0 ]

submissionscomments
sirsuki··on A future without passwords
Please can we get this more attention: https://sqrl.grc.com/
sirsuki··on Has UML died without anyone noticing?
I use UML now just to make sense of the huge complexity in code (front end dev) activity charts for logic, sequence charts for debugging, state distances for UI states. I have found it invaluable.

But I am the only developer in a team of >100 who does.

sirsuki··on Italy Blocks Users on TikTok After 10-Year-Old Girl Died in a Blackout Challenge
I wish there were certifications that parents could enforce kids to get concerning topics like drugs, sex, social media, sexual harassment, etc. the world has many dangers for developing children. Having a talk about them and then having refreshers yearly is a good thing. Adults do this for topics like CPR etc. why not these. Especially since now a days it isn’t a few dangers but many in places even parents are ill equipped to understand themselves.
sirsuki··on Why can't I write code inside my browser?
"People hate command lines - not only do they LOOK scary, they give weird unhelpful error messages and… you have to type everything. Ugh."

Well, people hate graphical interfaces - not only do they LOOK scary, they give weird unhelpful error messages and… you have to click everything with a tiny pointer like you are fishing in muddy waters. Ugh.

sirsuki··on Show HN: fancy-pants 5K lib for Custom Elements with reactive dirty tracking
Condensed History (from author):

I really liked the idea that a JS class could represent a custom element. But the need to know when something should be rendered or not and knowing what to update was always a large ask and the reason VirtualDOM like libs were made. In this case I leveraged the ideas of tracking changes by means of tracked proxies which result in memoized function calls. Thus a Component can be split into two simple responsibilities: DOM update code and noting when something tracked is changed.

The big win here is that VanillaJS can leverage the idea of auto-tracking in that only one tracked thing needs decorating and any call stack that touches that one thing will be auto-recomputed when needed.

sirsuki··on Lets talk about changelogs (how I loathe 'bugfixes and performance improvements)
The FOSS community still campaigns the idea of Open Sourced software on desktops. Why then is the same not as popular in other platforms like iOS or PWAs? I truly wish I could visit github.com/[my-iOS-ap]/project and contribute or read the geeks' changelog while the app store can have the simplified changelog for non-coders. This is one of the reasons I think https://blink.sh/ is one of the best iOS apps out there.
sirsuki··on A Requiem for a Dying Operating System (1994)
Is it true to think that because they made some choices early on that those choices forever blemish its value even is said choices are later addressed?

Much of the complaints about checkout have been split to other commands in newer versions. Does this make Git still invalid in your opinion?

sirsuki··on A Requiem for a Dying Operating System (1994)
> There's never been a standard for naming and abbreviating flags, which means that for EACH program you will have to learn new flags.

How is this different than web pages or GUI apps? Everyone is different and a button that does one thing in one app/page does something different in another.

Have you tried to read GUI help files? They are written for 5 year olds and provide nothing you need as a dedicated user. Have you had to inspect the DOM of a website to try and intuit what something does it does not do?

Least with command line apps usually you have a --help or man page.

sirsuki··on Vitamin D looks powerful, underutilized for Covid-19
Here is a fantastic list of compelling resources about Vitamin-D: https://www.grc.com/health/Vitamin-D.htm
sirsuki··on Ask HN: Why aren't there many credible online bachelors programs?
What the an Associate’s Degree for then?
sirsuki··on Implementation of a Probabilistic Context Free Grammar Parser in JavaScript
A little off topic, The author here describes the use case for this and mentions for those situations where "if you do not need probabilities attached to your parse trees, you are probably better off using nearley instead"

This lead me to wonder (and unsuccessfully answer via google-fu): What is the difference between [jison](https://zaa.ch/jison/docs/) and [nearley](https://nearley.js.org) and when would I use one over the other?

sirsuki··on Talking to myself: how I trained GPT2-1.5b for rubber ducking using my chat data
I am surprised that the book [“The Blue Nowhere” by Jeffery Deaver](https://terebrate.blogspot.com/2012/11/book-review-blue-nowh...) hasn’t been noted as one of the plot points explores the machine human interaction like this. Neat read BTW.
sirsuki··on Quine
My homepage is a Quine: https://tritarget.org/

It is created using TiddlyWiki

sirsuki··on Quine
TiddlyWiki is still one of the best useful Quines out there!!! https://tiddlywiki.com/#Quine
sirsuki··on Show HN: Set with Friends – A Real-Time multiplayer online card game
It is very hard to play on mobile.
sirsuki··on Encoding your WiFi access point password into a QR code
I do this in our house and it works great. I discovered one flaw though. When I say scan the QRCode I am immediately told “i don’t knows how” Or asked “the what?” Or disapproved of with “I hate those things.”

Fun fact no one has ever actually scanned the code... ever! Maybe if I was a cafe but not for house guests.

sirsuki··on Happiness and Life Satisfaction (2017)
https://www.grc.com/health/Vitamin-D.htm

An amazing amount research on vit-d collected into a digestible web site.

sirsuki··on Pocket Popcorn Computer: Linux in Your Pocket
I have found the [iClever keyboard][1] to be a great portable solution while programming on my iPhone (via [Blink SSH][2] app)

[1]: https://www.iclever.com/products/BK05-Tri-Folding-Bluetooth-... [2]: http://www.blink.sh/

sirsuki··on The Most Dangerous Writing App
And Vim and Emacs users laugh uncontrollably. History has yet to learn.
sirsuki··on Firefox Reality
Any reason iOS is excluded? Last I checked they still have a good share of the mobile user bases out there.
sirsuki··on Developers don't understand CORS
To be that guy... forget CORS. All localhost servers have a pinned public key. The zoom.us site has the private key. It passes along a signed request. The local server then validates the signature! How is that so hard?

Oh wait, I just described CSRF!! Zoom, here is your egg. Now promptly smash it on your face; thank you.

sirsuki··on Handy Keymaps in Vim
Blackjack? In english there are words that end in k while I don’t know of any that end with J.

However my vim set up maps jk, kj, jj, and kk to Esc to in reality it is safe to just mash those two keys and one of the maps will work.

sirsuki··on Boeing Built Deadly Assumptions into 737 Max, Blind to a Late Design Change
If the pilots were putting that much force on the yoke it is pretty apparent that the pilots really truly wanted the plan to do what they asked of it.

I am curious what scenarios the designers of the plan drove then to not trust that the human in the seat really has no idea what they are doing. Was the ignoring the wishes of the pilot and attempt to prevent a crazed irresponsible and unlicensed idiot from doing something? These are trained humans why does the computer totally ignore there efforts?

sirsuki··on TSA-style body scanners are coming to public spaces
Probably a bit too novel but why not just not killing other people? I mean we’ve had a long history that doesn’t include random acts of mass murder why now? Couldn’t we work to fix the actual problem instead of reacting with more theatrics? Seriously, build a culture that engenders good self esteem instead of the abuse laden bully culture we live in now!!!
sirsuki··on Handy Keymaps in Vim
I found jk to be the best. If I use it in normal mode it is a no op (cursor up and down). The english language (and most all programming languages) don’t have words with a jk sequence in them (unlike kj). It works universally across all keyboards and terminals. My fingers are already there (unlike esc which is just as bad as lifting my hands to use the mouse). Plus in the rare case I do need jk inputed (very very rare) first the default is a safe default (esc) and second the mental load to pause while typing (pressing j wait past the half second timeout then press k) is no different then the mental load to choose to accept the expansion of abbreviations or delay typing to get around the auto expansion triggers.

Jk for the win!!! (Also jj works well to).

I also set my mapleader to <Space> you would be surprised how useful that is. Not to mention , (comma) is a valid and useful vi movement key.

sirsuki··on Understanding the fork system call in Unix
At first I though this was a tongue in cheek joke that the title asks the question about forking and the answer is a site crash.
sirsuki··on Unlimited Google Drive storage by splitting binary files into base64
If you save digital data (ASCII) on an analog form like a cassette tape is that okay? Seems you could alternativly put metallic strips in a book. What about QR Codes? Could you have a massive QR Code on each page which contains a section of source code? Could you use an alternative encoding like dots and lines (.||.||....|.|.|..|) to represent 1s and 0s which is easy to scan (and not require OCR/checksums)?

To what extent does analog encoding fall under the illegal threshold?

sirsuki··on Oh shit, git (2016)
The reason "the commands are so [messed]-up, inconsistent and counter-intuitive" is most likely that you expect the commands to represent your mental model of the system when in fact they represent the mental model of the system designers.

I once felt it was weird till I dove in and looked at the underlying data model. Then It struck me and all the awkwardness evaporated and the commands actually make sense to me now.

sirsuki··on Debugging in Vim
> Why would you develop software over SSH is seriously beyond me.

I love that this straw-man argument pops up in every thread I read about editing text or IDE debate.

As someone who leverages SSH in their average work day I can explain my personal reasons. Let me be clear; this is likely not the way you work but it is how I work. I am not defending the merits of this for you but that they warrant my approval. If any debate is to be made in this it is that all users have a choice and those who prefer SSH should have every right to use it irregardless of any unemphatic assertions to the contrary.

I have a Linux desktop that has two very nice and pretty monitors. Given a choice I would wish my development to take place on that machine. However, the development I do is on a work computer that happens to be a small Mac Laptop (I don't get to choose the hardware I must develop on). Of all the different methods to edit files I found that SSH into the laptop from the Linux box to be the most efficient and eloquent solution while still keeping the work information on the work computer. I edit in Vim. I test with the browser running on the Mac. I can clearly see and manipulate the source on the pretty monitor while seeing the results on the little LCD screen.

Pairing like this is a huge win. Instead of Forcing a pair partner to wait for me to Alt-Tab the right screen they can connect via SSH (tmate.io) and on their end have their terminal on one monitor and the Zoom / screen share on the other. This way they can edit or watch and see the result without any ask to Alt-Tab. I can read the code while they look at the result. It is truly asynchronous code-pairing.

sirsuki··on Fun with Snapchat's Gender Swapping Filter
Are there other online Machine Learning apps out there for this? Or is Snap-Chat the only one?

I remember back in the VRML/SecondLife heyday where you could pick an avatar that was another gender. I still do that. But the emphasis for voice chat in modern games and MMORPGs make it far more difficult. A low gruff voice does not bode well coming from a feminine avatar. Catches too many off guard.

← PreviousPage 2 of 4Next →