Better HN
topnewbestaskshowjobs
Log inSign up

sxldier

15 karma · joined Jul 19, 2016 (10y ago) · 35 submissions

Submissions

comment 6mo ago · link · parent

Sorry, which library feature?

comment 8mo ago · link · parent

> 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.

comment 1y ago · link · parent

@dang, I think it’s fair to say this is a scam post.

comment 1y ago · link · parent

Looks really well done, nice!

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

I’m also interested in your usage/workflow.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

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

comment 2y ago · link · parent

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/

comment 4y ago · link · parent

This looks interesting. Thanks for posting!

comment 4y ago · link · parent

Trilium Notes can do those very well. The first one being done with the web clipper extension.

https://github.com/zadam/trilium

comment 4y ago · link · parent

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.

comment 5y ago · link · parent

Do you have a link or model for the NAS case?

comment 5y ago · link · parent

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`.

comment 5y ago · link · parent

He's referring to Visual Studio.

https://visualstudio.microsoft.com/

comment 6y ago · link · parent

That's pretty cool. The product looks great as well, congrats on launching!

comment 6y ago · link · parent

Are you referring to https://notes.andymatuschak.org/About_these_notes ?

comment 6y ago · link · parent

Did you already speak one of the primary languages before making the move?

comment 7y ago · link · parent

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_....

comment 7y ago · link · parent

Well said!

comment 7y ago · link · parent

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/

comment 7y ago · link · parent

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/

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

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!

comment 8y ago · link · parent

Not going to lie, I forgot it's April 1st and though it was real at first.

comment 9y ago · link · parent

Lol sweet. This is dope, keep doing what you're doing!

comment 9y ago · link · parent

You can look into Boostnote, it has that feature built in.

comment 9y ago · link · parent

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.

comment 9y ago · link · parent

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.

12