HNHacker News
TopNewBestAskShowJobs

jdsalaro

483 karma · joined October 13, 2019

Passionate about free software, remote work, philosophy, psychology, music, fitness and art.

https://jdsalaro.com

https://twitter.com/jdsalaro

https://mastodon.social/@jdsalaro

https://linkedin.com/in/jdsalaro

submissionscomments
jdsalaro··on The day I locked everyone out of the company intranet
:D task failed successfully !
jdsalaro··on The day I locked everyone out of the company intranet
Don't wonder! Plan it and execute it so you can be more chill !!

/s

jdsalaro··on The day I locked everyone out of the company intranet
> can you rollback a drop table

>_< , something similar happened to me when I did an rm -Rf * in the old pictures directory on my system ... Well ... It wasn't the old pictures directory, it was the backup directory with all pictures from my older phone !! To say that blood drained from my face would be an understatement, thankfully I was able to recover most of it.

The first thing I did after the recovery marathon was to alias rm so that it instead works by moving stuff to /tmp

jdsalaro··on The theory versus the practice of “static websites”
> Now it's just a static file server. If it was just the blog it would be even easier to host. The website is more reliable and requires virtually no maintenance.

Same here, I'm using Sphinx and loving it !

I very much appreciate the ability to get all nitty gritty whenever I want to implement something "special" like the Favorite Git Aliases post which when edited gets turned into a .bash_aliases file and pushed to Gitlab and mirrored to GitHub! :D

For those curious it's over at https://jdsalaro.com , I don't have much details on my stack or why but I will be documenting bits here and there. I did start with my Markdown and Myst Cheatsheet for Sphinx (https://jdsalaro.com/cheatsheet/sphinx-myst-cheat-sheet/) and how to load the environment.pickle (https://jdsalaro.com/howto/sphinx-load-environment-pickle/)

jdsalaro··on A biological camera that captures and stores images directly into DNA
You could even say we're talking about a legacy storage medium ;)
jdsalaro··on It Took Me a Decade to Find the Perfect Personal Website Stack – Ghost+Fathom
Or in my case Sphinx + Material Design + [ my magical list of 10+ extensions ] + VS Code + sphinx-autobuild + tox + GitLab Pages = magic

Send help pls

jdsalaro··on If PEP 703 is accepted, Meta can commit three engineer-years to no-GIL CPython
> Ansible also runs slower in PyPy than CPython

Do you know the reason?

jdsalaro··on Ask HN: What Modern Alternatives for WebRings are there?
Thank you! I'll give this a read!
jdsalaro··on Ask HN: How did you migrate off Evernote?
I can certainly put it online if you want to have a look at it. It's very hacky, though, as I'll hopefully never need it again.

Today I was about to go on a small vacation, so no laptop. Where can I ping you when I've uploaded it? ( or you can ping me, info in my profile )

Have you tried using the export function and just processing that? That's also an alternative that has worked for friends ( the HTML export one )

jdsalaro··on Ask HN: How did you migrate off Evernote?
If you mean which services I went to, I pulled the plug on proprietary or at least non-open-source services and walled gardens. I'm now using GitLab Pages to host both my blog and the notes I had there. I use Sphinx to manage structure and templating.

I have created a /notes folder which gets made available under the same domain ( https://jdsalaro.com/blog/category/notes/ ) which will contain all stuff I had in Evernote.

The content of my Evernote account is exported via the API and each note put into a note.md file with the first line as title, tags ( private, note) and "inferred" headings.

Within that folder there's a /private one which never gets built ( using tox ) nor published to the public version of my blog. There's a separate GitLab pipeline which only builds /private and makes it available under Gitlab pages but uses another non-public project, so you need to be logged in and a member of the repo to be able to see it.

The good thing is that I can read them everywhere and if necessary edit stuff via mobile ( Browser tab with GitLab VS Code IDE added to home screen or Labcoat )

Since everything is backed up using git, both the public and private versions, I don't have to worry about losing data.

Cool side-effects are that I've started using and understanding Sphinx to manage the structure and templating and even started poking around helping with the project ( https://github.com/executablebooks/sphinx-external-toc/issue... )

Really, we had the power all along but became complacent. We've got to be the change we want to see on the internet.

jdsalaro··on Ask HN: What are some Git aliases you setup that save you time?
I actually have them documented here and the aliases file is autogenerated whenever I add or update new ones :)

https://jdsalaro.com/note/wrist-friendly-git-shortcuts

I decided against git aliases in favour of shell aliases, but people might still find them interesting.

For me, and my wrists, gs and gf have been game-changing.

jdsalaro··on Show HN: Hacker News user blogroll
what criteria did you use to create it? If I'm not mistaken mine's missing :)
jdsalaro··on {n} times faster than C
What do you mean by "chumming the waters" in this context?
jdsalaro··on /Uses: A list of /uses pages detailing developer setups, gear, software, configs
I compared some all-time favorite programming fonts last week; you might enjoy that write-up :) ( I tried not to be too biased towards Fira Code as well as JetBrains and Julia Mono )

https://jdsalaro.com/blog/best-programming-fonts/

I also got quite a few suggestions on Mastodon and Tildes, which were added retroactively.

jdsalaro··on Ask HN: Could you share your personal blog here?
Just chiming in, and quite happy to see this thread pop up! I was having a conversation elsewhere about how it's up to us to create the internet we want and bring back the allegedly already passed golden age of connection through creation!

My blog is https://jdsalaro.com and my latest comparison of programming fonts at https://jdsalaro.com/note/best-programming-fonts is a good place to start :D

Cheers!

jdsalaro··on Googling for answers costs time (2020)
> Younger people haven't had the same time to build these heuristics.

This is a key point, and I don't think the ability to acquire knowledge online is a skill which only young people specifically have failed to acquire.

Said ability must be trained on, as with anything, a suitable dataset. This objective cannot be meaningfully achieved if all data sources someone has ever consumed and learned from are TikTok, ragebait, clickbait, affiliate link blogs, email chains, WhatsApp message chains, sensationalist news outlets, etc.

This is why people still fall for the Nigerian Prince, Hot MILFs in Your Area, job application with deposit and all the modern variants; not only old people but all types of people.

I think some of us nerds have a slight advantage in that we experience the internet early on in a slightly different way: as a parallel to the real world, with friends and foes, with truth and deceit and as a playground to write a game mod or a bot for shit and giggles. We are, due to that I'd pose, much more keen to learn how and be able to effectively navigate it.

jdsalaro··on Git-landmine – Create local malicious Git repo
That's fascinating! Time to update my Blogpost on git hooks and go down this rabbit hole !
jdsalaro··on Ask HN: Is there a list of non-monetised, non-closed-ecosystem websites?
I certainly share your nostalgia.

I've restarted my blog (https://jdsalaro.com) this year and, as painful as it is, I've chosen to go against the grain and ditch Medium and the like.

It always was just my place to nerd out and I noticed earlier this year that I had become disenchanted, but that taking action and not resignation was the solution. What if it doesn't rank, people don't enjoy my writing style or what about ads? So much thinking and not enough doing.

So far people have been extremely kind on Mastodon, Lemmy and, yes, Reddit; so I encourage you to create and interact with other creators.

I am not putting my bookmarks, including Blogs I enjoy, out in the open yet as I need to clean them up, but I certainly will at some point.

jdsalaro··on Coaching Paradox
That frustrated me for a long while, how hard it is to find a mentor even if you want to. Many of us are this "forced" to reinvent the wheel and stumble in the dark trying to learn as we go. I've gotten used to it and it even had its perks as it allows you to build a more robust sense of self, but I do reckon that it's not always ideal and it used to be a source of considerable emotional drag.
jdsalaro··on Ask HN: Best way to host a website for 500 years?
They are the most widely spoken languages world wide after English.
jdsalaro··on Gollum – A simple, Git-powered wiki with a sweet API and local frontend
I skimmed the README and didn't find a way for Gollum to export to static HTML files only for viewing purposes, say hosting on GitHub/GitLab pages.

I've been looking for a similarly simplistic git-based wiki which works much like Jekyll/Pelican/Hugo.

jdsalaro··on Colonial Pipeline Paid Hackers Nearly $5M in Ransom
> I think you're kidding yourself if you think a company that gets "hacked" by off the shelf cryptoware is going to step up their game enough

Still, this might lead to their first solid security hire that can bring about change in the form of zero-trust principles, security in depth, etc.

> to have any chance of stopping a targeted state actor.

Given unlimited resources, interest and budget, no participant in the modern digital landscape has a significant chance of stopping motivated threat actors.

> The fact they caved so quickly tells me they are years away from a reasonable security posture.

Yes, obviously, but driving change is about incrementally tending to a desired state. Your fatalism is, quite frankly, unnecessary, not that you're not entitled to your opinion, just that disagreeing with GP or stating they are naive because this won't bring about perfect, all-encompassing change is not useful.

jdsalaro··on Monkey MindPong
I'm really interested in learning more about the process of putting existing research into practice as a process from an economics and innovation point of view.

Does anyone have book, talks and other material you'd suggest looking at?

jdsalaro··on Perfect Motherfucking Website
"License, motherfucker"

I know the vulgarity of the statements is tongue in cheek, but this one has been reinforced lately by the "MIME Magic" debacle[1], mama mia.

[1] https://github.com/mimemagicrb/mimemagic/issues/98

jdsalaro··on An interview with the man who keeps uploading my feet to WikiFeet
I went in thinking "meh, let's check" and was surprised and quite amused about the "wholesomeness" of what could have been a very strange encounter.

He seemed respectful and she seemed unbothered by the whole ordeal. Interesting, not my cup of tea, but definitely interesting.

Something else that caught my attention was how early he believes his interest for feet developed, as early as six and nine years of age. I wonder how this slightly amusing predilection grows and develops over time, as to even gain sexual connotation.

jdsalaro··on Down the Golang Nil Rabbit Hole
Thank you!
jdsalaro··on Down the Golang Nil Rabbit Hole
Can you elaborate on how and why err==nil changes in your second case? A link to the docs would be helpful.

Thanks!

jdsalaro··on Falling sperm counts, declining egg quality, and endocrine disruptors
> Over the years there have many reports from cleaners to plasticizers, phthalates, and various other chemicals as endocrine disruptors but no one has put a sufficient measure on the problem so that we can move foreword - put regulations in place, etc.

I've been reading through http://projecttendr.com/ and they seem to be what you're looking for. I'm not sure what traction they've achieved on the political arena if any, though.

> Targeting Environmental Neuro-Development Risks Project TENDR is a unique collaboration of leading scientists, health professionals and children’s and environmental advocates. We came together in 2015 out of concern over the now substantial scientific evidence linking toxic environmental chemicals to neurodevelopmental disorders such as autism spectrum disorder, attention deficits, hyperactivity, intellectual disability and learning disorders.

jdsalaro··on Flameshot – Superb Screenshot Tool
Try KSnip, I really recommend it since Shutter and Flames not have been buggy for me in the past.
jdsalaro··on Blog with Markdown and Git, and degrade gracefully through time
I've evaluated Netlify for my blog at https://jdsalaro.com and I'd advise against that unless you're missing a CMS on your static site generator. Other than that I personally felt it didn't bring much to the table. I do admit that their CMS is slick, but it wasn't really a feature I needed.

Of course I'm not sure what other people are using them for, but in my case GitLab/GitHub covered all my bases pretty well since I wasn't looking for a pelican/hugo CMS and you still host somewhere else (not Netlify).

← PreviousPage 2 of 4Next →