HNHacker News
TopNewBestAskShowJobs

sxldier

15 karma · joined July 19, 2016

submissionscomments
sxldier··on Rubish: A Unix shell written in pure Ruby
Sorry, which library feature?
sxldier··on Personal Encyclopedias
> Private by default > Your wiki and archive live on your machine. Nothing is stored remotely.

Sure, the wiki is private. However, in the process your data is being uploaded straight to an AI company. Of course local LLMs exist but that’s seemingly not supported here and I think the statement on privacy could be clearer.

sxldier··on Texas Sheriffs Crack Bitcoin ATM with Power Tools to Retrieve $32,000
@dang, I think it’s fair to say this is a scam post.
sxldier··on “A calculator app? Anyone could make that”
Looks really well done, nice!
sxldier··on 00Key a 75% Keyboard
I also had similar concerns. Their voyager keyboard should solve that concern and I’m strongly considering using it. I’ve had their Planck EZ for maybe 2 years now (on Dvorak) and later got their Moonlander but I think it was too much for me and went back to the Planck shortly after.

Ben Vallack has a good video on the voyager[^0] and many other setups and workflows

[0]: https://youtu.be/dg2TT1OJlQs?si=vNM6fOK7ua9KCIky

sxldier··on An open-source implementation of Apple code signing and notarization (2022)
Have you tried doing `find . -name '*.cstemp' -exec rm {} +`? This provides as many arguments (filenames) as possible to the executed command (rm) rather than the `\;` which executes the command per file. This provides a massive speed improvement.
sxldier··on How to actually use the notes you take
I’m also interested in your usage/workflow.
sxldier··on Teller: Universal secret manager, never leave your terminal to use secrets
Happy it was helpful! Neglected to mention that your entry with the password will be stored in the shell history. You can prefix a space and have those commands (prefixed with a space) to be ignored in shell history. Alternative is to use `read` to pass the password in and hide the input. I can rewrite it for you if that’ll help.
sxldier··on Teller: Universal secret manager, never leave your terminal to use secrets
I have a simple workflow I use for ENV vars. Another comment noted a script written which likely does more but I haven’t fully read the code. Here’s my simple workflow in case someone is interested.

Create a DB in MacOS keychain called envs:

  security create-keychain -P envs
Then use these shell functions:

  which get-env
  get-env () {
     security find-generic-password -s "$1" -w envs
   }

  which add-env
  add-env () {
      security add-generic-password -a "$USER" -s "$1" -w "$2" envs
   }
Then add one via:

  add-env ENVNAME SECRET
Example using it:

  ENVVAR=“$(get-env ENVNAME)” ./script.sh
sxldier··on Show HN: GodotOS – Fake operating system interface made in the Godot engine
There is [vulnhub](https://www.vulnhub.com/). There was another one that started with an “e” (it had Linux and code challenges too (e.g. here is the C code, exploit privilege escalation)). I remember a few years ago the site went down and a mirror was stood up under a different domain. Don’t have those links unfortunately.

Edit. Found it:

- What it used to be: https://web.archive.org/web/20180202211058/https://exploit-e...

- Mirror: https://exploit.education/

- Also can be downloaded at vulnhub: https://www.vulnhub.com/series/exploit-exercises,11/

sxldier··on Write plain text files
This looks interesting. Thanks for posting!
sxldier··on Dendron: A personal knowledge management solution built on VS Code
Trilium Notes can do those very well. The first one being done with the web clipper extension.

https://github.com/zadam/trilium

sxldier··on Dendron: A personal knowledge management solution built on VS Code
I wonder if Trilium Notes and the journal functionality would address your needs. You can use tags and backlink to other related notes if you wanted to. You can view notes in a standard hierarchy structure or view a note map.

You can take it a step further if that doesn't completely address your needs by customizing it. The journal button is just a note with a script (with a specific tag). It's highly customizable.

You can export your notes (all, or get granular with some or a single note) as HTML or Markdown or OPML.

sxldier··on PiBox Mini – Modular Raspberry Pi Storage Server
Do you have a link or model for the NAS case?
sxldier··on Waydroid – Run Android containers on Ubuntu
When invoking `sudo`, you're escalating privileges on the command followed but that doesn't apply to the redirection of output (`>`). So it's saying permission denied to write to the files. You'll need to do something like `curl | sudo tee /path/to/file`. Same with `echo`.
sxldier··on Benefits of Not Using an IDE
He's referring to Visual Studio.

https://visualstudio.microsoft.com/

sxldier··on Show HN: Collected Notes – A note-taking blogging app I made
That's pretty cool. The product looks great as well, congrats on launching!
sxldier··on Show HN: Collected Notes – A note-taking blogging app I made
Are you referring to https://notes.andymatuschak.org/About_these_notes ?
sxldier··on Ask HN: If you could work remote where would you live?
Did you already speak one of the primary languages before making the move?
sxldier··on Don’t underestimate grep-based code scanning
It's easy to unsafely handle filenames. I've seen it at my job where we do a lot of bash scripting. However, there are good guides on doing it the right way. [0]

[0] https://mywiki.wooledge.org/BashPitfalls#for_f_in_.24.28ls_....

sxldier··on Ask HN: How do you stay disciplined in the long run?
Well said!
sxldier··on Why Evernote failed to realize its potential
This blog post has a nice workflow that discusses how they take notes for their math classes in vim. It's an interesting read regardless if you want to go this route or not.

I think it was on HN not long ago. "How I'm able to take notes in mathematics lectures using LaTeX and Vim -" https://castel.dev/post/lecture-notes-1/

sxldier··on Why Evernote failed to realize its potential
I've been using Trilium[1] over the past two months and I really like it. It's being actively maintained and worked on and is just getting better and better. Although, the Android client is quite limited. There's an app to send notes. You can however, use the browser.

[1] https://github.com/zadam/trilium/

sxldier··on Sr.ht, the hacker's forge, now open for public alpha
Wow. I've only glimpsed at some parts, but I'm really liking what I'm seeing! I also love the look and feel.

I look forward to doing deep dive the next few days and looking to contribute anyway I can.

sxldier··on Ask HN: Are there any reasonable alternatives to MacBook Pro for developer?
This!!

I couldn't agree enough. I went with the T470p, i7700HQ, 32GB RAM, and 1TB SSD. This this is amazing.

I unfortunately must dual boot just in case I need to use software or services that require Windows. I just wiped their default installation with Windows 10 Education edition, gave it 256GB of space, then installed Arch on the other partition.

I mainly use Arch and have only used Windows for the first day or two of having the laptop. I get around 8-10 hours of usage, similar to you, and everything is just awesome. Even while running a VM or two the battery like is still good!

sxldier··on [dead]
Not going to lie, I forgot it's April 1st and though it was real at first.
sxldier··on Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
Lol sweet. This is dope, keep doing what you're doing!
sxldier··on Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
You can look into Boostnote, it has that feature built in.
sxldier··on Show HN: Writing – A lightweight distraction-free editor (MathJax and Markdown)
I just found out about it last night. It's really an awesome markdown editor! The only thing I wish it had was a way to embed another markdown document and have a preview as well as a PDF. But those aren't a deal breaker for me.
sxldier··on Macro-Less Code Exec in MSWord
Pretty cool and informative!

Just thought I'd say that it's possible to the see the IP you are connecting to. Not sure if you'd like to update the video or not.

Page 1 of 2Next →