HNHacker News
TopNewBestAskShowJobs

StreakyCobra

691 karma · joined June 19, 2014

submissionscomments
StreakyCobra··on Developing inside a virtual machine
Thanks for the post, an interesting read!

Side note: I checked out your other blog post, and it resonates with my own first post, which I wrote just two days ago: https://fabiendubosson.com/blog/overcoming-perfectionism/. You’re definitely not alone in battling anxiety, perfectionism, and procrastination when it comes to blogging. Keep writing! :)

StreakyCobra··on Untrusted Device Encryption
I'm looking to improve my documents syncing setup. Currently I'm using owncloud, but that seems overkill for just files syncing and it requires maintenance, so I gave Syncthing a look. The "Untrusted device encryption" was not appealing to me because I'm not convinced by the security aspects yet, and also because it is in beta for now. I used gocryptfs [1] in the past and was quite happy with it, so I'm planning to use it on top of Syncthing to have files synced encrypted. As far as I have read this setup (Syncthing + gocryptfs) seems to be used by several people and has already been discussed by gocryptfs' author, who recommended a `-sharedstorage` flag for such use case [2]. Reading [3] I think gocryptfs is more suited for files syncing than cryfs. I'm aware that the metadata (file size, structure, …) of my files are not encrypted but that's a compromise I'm ready to make.

I would be happy to hear about opinions about this approach.

[1] https://nuetzlich.net/gocryptfs/

[2] https://github.com/rfjakob/gocryptfs/issues/549#issuecomment...

[3] https://www.cryfs.org/comparison

StreakyCobra··on Datasette Lite: a server-side Python web application running in a browser
If you use it in a web worker the UI does not hang. It requires a bit more setup though:

https://pyodide.org/en/stable/usage/webworker.html

Edit: typo

StreakyCobra··on I introduced my 5-year-old and 2-year-old to startx and xmonad (2012)
> tiling window managers are awful and broken

You comment may have been useful if you would have said how and why they are awful and broken. For now it is just a rant without any supporting arguments.

StreakyCobra··on People who have unusual, or non-existent, inner voices
> Many of the people I speak to learned late in life that their inner voices were not the norm. For years, Worrall thought that other people also had attics in their brains.

I went through exactly the same situation around 10 years ago, but it was about mental imaging. Do you know people can actually visualize and see things when they close there eyes? You probably do, but it took me 25 years to figure out that for most people closing their eyes is not like closing a black curtain.

If that is a surprise to you that people can create and see mental images, you probably have aphantasia as well: https://en.m.wikipedia.org/wiki/Aphantasia

Since then I'm convinced that not two brains experience the world the same way. Inner voice and mental imaging are probably two of the many things we assume to be the norm.

StreakyCobra··on Magit, the magical Git interface (2017)
Oh… when git fails I always have to navigate to the end of this buffer so I thought it would not auto-scroll. I should have tried earlier. Thanks!
StreakyCobra··on Magit, the magical Git interface (2017)
Tip of the day: you can have `magit` as a fast and standalone tool by using this script (require emacsclient to be setup properly):

  #!/usr/bin/env bash
  
  emacsclient -c --eval "(progn (magit-status) (delete-other-windows))"
This will open the repository under the current path in a maximized magit window.

The only downside I have for now about magit is when using `pre-commit` it can run for long sometimes, so it would be nice to see the progress/output of pre-commit while waiting for the commmit message buffer to appear. If you know a way I'm all ears.

StreakyCobra··on Kats: One stop shop for time series analysis in Python
There is also "tsfresh" [1] in the same domain that does «Automatic extraction of 100s of features». It filters the most useful features according to the given task, I quote: «This filtering procedure evaluates the explaining power and importance of each characteristic for the regression or classification tasks at hand.»

[1]: https://github.com/blue-yonder/tsfresh

StreakyCobra··on Setup Anaconda, Jupyter, and Rust
> We clarified our definition of commercial usage in our Terms of Service in an update on Sept. 30, 2020. The new language states that use by individual hobbyists, students, universities, non-profit organizations, or businesses with less than 200 employees is allowed, and all other usage is considered commercial and thus requires a business relationship with Anaconda.

Looks like small companies are exonerated from commercial license.

StreakyCobra··on Changes to Fusion 360 for Personal Use
I totally resonate with your reaction. I wrote a response to their email out of hopelessness. Pretty sure it won't be read, but as it summarizes my thoughts I can post it here as well:

> Hi Shannon,

> I thought for some years that Autodesk was a smart company.

> Most people I know in the makers community were using Fusion 360 because it was free, and when you are a hobbyist this makes a big difference, you are not gonna to spend hundreds of dollars for simple side projects. Your previous approach of allowing people to use Fusion 360 for free unless they made money out of their project was really smart. These people were anyway not going to be your clients so you (almost) did not "lose" money, and on the other side they got used to your product so when moving to a professional environment they would push for Fusion 360. It was kind of a win-win approach, with the additional effect that Autodesk looked like a hobbyist-friendly company.

> Today you did not just break the main use-case for hobbyists by disabling the export in DXF, but you also showed that you prefer to spend money to block existing features of your software instead of improving it with new paid features. That's an indicator that you don't care about the product itself anymore, but that you are just trying to extract the maximum money out of your current users instead.

> I don't see the point to support a company like that anymore, so I deleted my account. It is now useless anyway.

> You did not only lose a user, you lost my trust. And probably not only mine.

StreakyCobra··on TI removes access to assembly programs on the TI-83 Premium CE
You can also have it in you pocket all the time with Free42 and a skin I made: https://github.com/StreakyCobra/dm42-skin

"Almost" have it though, because the display is a bit different on the real DM42, but all functionalities are the same otherwise.

StreakyCobra··on Surface Go 2, Surface Book 3, Surface Headphones 2 and Surface Earbuds
> I wonder if I have funny shaped ears, but nothing fits right

That's what U.S. air force discovered after WWII [1] (discussed on HN recently [2]). Also known as flaw of averages, curse of dimensionality, etc.

> There was no such thing as an average pilot. If you’ve designed a cockpit to fit the average pilot, you’ve actually designed it to fit no one.

[1] https://www.thestar.com/news/insight/2016/01/16/when-us-air-...

[2] https://news.ycombinator.com/item?id=22956832

StreakyCobra··on Israeli doctor in Italy: We no longer help those over 60
> We're even preparing for a complete lockdown, I (this weekend) received an official document that allows me to travel between my home address and work.

Interesting, are you in Switzerland? After the press conference on Friday I thought the federal council does not want to go to the direction of complete lockdown because it would not be useful because it would not respected.

StreakyCobra··on San Francisco bans public events holding more than 1,000 people
Indeed, I wanted to point out that all countries seem to go through the same process over time.

It's somehow like all countries are adopting the limitations gradually, like a bit of denial that it will really happen. Wouldn't it make sense to skip some steps and be proactive? At the end we all seem to take the direction of Italy [1], maybe we should consider quarantine directly. It may be a bit more brutal, but it will cost less lives and be over sooner.

The federal council is meeting on Friday morning if I'm not mistaken, I would not be surprised to see new measures during Friday lunch.

[1] https://ibb.co/gZDfgPy

StreakyCobra··on San Francisco bans public events holding more than 1,000 people
Same measures got taken everywhere, in Switzerland it was 12 days ago [1]

[1] https://www.swissinfo.ch/eng/politics/coronavirus_switzerlan...

StreakyCobra··on Requirements volatility is the core problem of software engineering
That was an insightful talk, thanks for sharing!
StreakyCobra··on Computer vision basics in Excel, using just formulas
Congrats for this work! I haven't read the page far enough before commenting it seems (: Anyway, I hope this offered 13 minutes of fun to some HN readers
StreakyCobra··on Computer vision basics in Excel, using just formulas
Remind me of this video of Matt Parker (standupmaths): https://www.youtube.com/watch?v=UBX2QQHlQ_I
StreakyCobra··on A Miraculous Proof (Ptolemy's Theorem)
Numberphile's videos are excellent, a lot of people are probably already following their channel. But this one stands out. It's a delight to watch, I can try to convince you, but the best is to give yourself a 3 minutes try, you'll get hooked as well :)
StreakyCobra··on Programming an HP-15C (2013)
You may be interested by this [1]

The device is reliable, the screen is amazing, the USB connectivity brings a lot of value and the community on SwissMicros' forum are passionate HP people.

I'm not affiliated with them in any way, just an happy geeky customer :)

[1] https://www.swissmicros.com/dm42.php

StreakyCobra··on Ask HN: Do you curate links/bookmarks?
I started to use https://getmemex.com/ a few months ago. It's working nice for now (locally stored, screenshots, text search, include results in duckduckgo, ...)

Worth a try I would say, but I won't make a definitive recommendation for now.

StreakyCobra··on Raspberry Pi 4 WiFi stops working at 2560 x 1440 screen resolution
Here you are: https://www.intel.com/content/www/us/en/products/docs/io/uni...
StreakyCobra··on Vim 101: How to Start Using the Text Editor for Developers
For firefox I am using https://github.com/ueokande/vim-vixen
StreakyCobra··on Why Aren’t We Curious About the Things We Want to Be Curious About?
> Many websites that snare your time feature scores of stories on the front page, banking that one will strike each reader’s sweet spot of knowledge. So visit websites that use the same strategy but offer richer content, for example, JSTOR Daily, Arts & Letters Daily or ScienceDaily.

or HackerNews :)

StreakyCobra··on 99% of the Git commands you'll need at work, demonstrated in a single script
Without Spacemacs having me brought to the Emacs worlds, I would have never discovered magit. Nowadays I am soo tied to it that I even have a `magit` script that can be called from anywhere:

  #!/usr/bin/env bash

  emacsclient -c --eval "(progn (magit-status) (delete-other-windows))"
The learning curve is a bit long, but really worth it!

Note: this require you to have setup emacs as a deamon somehow

StreakyCobra··on Consuming Hacker News
Sometimes I do not even read the article at all. Either I read a few comments, and if it seems interesting I go to read the article. And sometime I just read all the comments without even putting an eye on the article. So yes, I strongly agree. HN value is in the comments.

PS: I just notice I did it again here... replying to a comment without having seen the article. I know in general it is better to have read the article before commenting, for sure for top levels comments at least, but in this case my answer is independent of the original content.

StreakyCobra··on Using a Yubikey as smartcard for SSH public key authentication
I set it to `on`. I read somewhere on internet an argument why `fixed` is not really necessary: for setting it back to `off` you need the admin PIN, and you have only 3 tries (by default) for the password. So I am not really worried about someone managing to disable it. And that keep the possibility to change my mind later on open, without having to reset the key.
StreakyCobra··on Build an Air Quality Monitor with InfluxDB, Grafana and Docker on a Raspberry Pi
If you do not want to need 10 different RPIs for running 10 different functionalities (Pi-hole, RetroPie, remote access, cloud, side-projects, air quality monitoring, etc.), docker is a good solution to easily deploy several services on a single RPI, and it prevents dependency hell.
StreakyCobra··on Can a Person Learn While Sleeping?
This is something people with aphantasia like me will never be able to do. But I would love to have this kind of visual thinking once in my life, just for the experience. This seems to offer a lot for problem solving skills :)
StreakyCobra··on Calculating a record-breaking 31.4T digits of Pi with GCP
Probably. The statement talk about "parts of the world", and this concept of "parts" can be seen as countries, continents, surface of earth, atoms, etc. I chose to reduce it to the smallest meaningful entity concerning the concept of dates: humans. It is arbitrary, but justifiable :)
Page 1 of 6Next →