• 0 Posts
  • 22 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • I got caught by this one today. I use the search feature all the time, and I don’t know why I didn’t notice that until today. I found the thing I was looking for, then wanted to go back to issues backlog for that repo, I clicked “Issues”, that just took me to a filtered view of my search term within issues. Deleting my search term didn’t help. I was clicking around for at least a minute before I realised there’s actually no way back to the main repo from that page.




  • Someone suggested I try Supermaven yesterday, it’s got some good benefits over competitors. It has a 300,000 token context length so it can send a very large amount of context for your completions, and it has an extremely fast API response time (usually less than 200ms) so completions appear near-instantly as you’re typing.

    It’s the first “copilot-like” tool I’ve used, and I’ve only been using it for a day, but so far I’m liking it. And I’ve already signed up for the $10/month pro plan.





  • flubba86@lemmy.worldtoProgramming@programming.devZed is now open source
    link
    fedilink
    arrow-up
    26
    arrow-down
    2
    ·
    edit-2
    8 months ago

    The only good thing to come from this new editor so far is the frank statement by the original Atom Developers (who invented Electron, just to run Atom) admitted that Electron is not a good solution for a code editor, because who in the heck wants to edit their code in a web browser anyway.

    Now we just need to convince the devs of Keybase and Obsidian the same.


  • I started using Trilium in early 2020, with version 0.40.2. Roam had released in 2019 and was growing in popularity quickly, I heard a lot about Roam, it looked cool, so I googled for an open-source self-hosted knowledge base note taking app with similar features to Roam, like notes arranged in a knowledge graph, and a backlinks explorer for each note. The only one that was available then was trilium. Looks like you’re right, the development of trilium was started in 2017, before Roam existed. This is a great interview with the creator, answers a lot of the questions I had. https://console.substack.com/p/console-169

    Obsidian didn’t come out until a few months later (and remained under the radar until 2021), all my colleagues and friends use Obsidian now, but I prefer trilium. I had never heard of logseq before I read this thread. Just a quick glance, I see the first 0.1.0 version logseq was in April 2021, just before the first obsidian release.




  • Lol, that reminds me of when I was in Uni, I had a systems development class, they taught in C, all the lectures, tutorials and assessments were done in C. Our final assignment was handed out the week the first Rust v1.0.0 build dropped in 2015. I had been following the hype around the development of Mozilla’s new language, and I was so keen, I asked my professor if I could complete my final assignment using Rust. He said it’s a great idea. Then cut to me furiously trying to learn Rust in just two weeks, so I could even start the assignment, including C interop, implementing functions with c-style interfaces for callbacks, and lots of unsafe blocks for memory manipulation and pointer manipulation. In the end I was just forcing Rust to be C.

    It did work in the end, and I did get an A, mostly because the professor couldn’t understand any of the Rust code.


  • I was using Inconsolata for about 5 years, then switched to Inconsolata-g when that came out, for another 5 years. But it’s a pretty old font and is TrueType and it’s hinting is bad, so doesn’t render well on Linux and it misses out on a lot of new font features.

    In 2019 I went hunting for a new favourite font, and tried out a whole bunch, giving each one a week in my IDE to really get to know it. During that time I realised I had a bunch of basic requirements for a font that some do better than others:

    • Similar characters should be distinct: eg, uppercase O and number 0. Uppercase I, lowercase l, and number 1. It’s weird how many popular coding fonts fail to make these clear.

    • Not too wide, and not too narrow. You’d think monospace fonts are all around the same size horizontally, but a standard 80-column slab of code can vary greatly in screen space width depending on the font, some are much too wide. Consolas is an example that is too wide. I like to have the option to tile three code panes side-by-side on a 1080P screen.

    • Easy to read. For some reason a lot of coding-specific fonts affect my ability to quickly and easily read the code, and some give me a headache.

    I realised that my use of Inconsolata for such a long time in the early stages of my career definitely shaped my preferences. I was looking for something similar to Inconsolata. That was when I discovered Fantasque Sans Mono. It’s a kind of weird looking font, maybe a bit too playful for a serious coding font, but I found I could read and parse code much faster (maybe it helps with mild dyslexia?), each letter is very distinct from every other. It has elements of handwriting, it has elements of a dyslexic font, it has similarities to Inconsolata.

    I’ve been using Fantasque (with Nerdfonts mixins) for 4 years now. Since then there has been a renaissance of code fonts, like Jet Brains Mono, and Fira Code. I like those, they are good fonts, but I keep going back to Fantasque, it feels so comfortable to use.





  • I agree with that, mostly. However I find I don’t really ever need to add or edit content on mobile. I only use the web app on mobile to lookup something when my laptop isn’t at hand. There is the official Trilium Sender app for Android that allows you to forward text, pictures, links, etc from your device to your Trilium server, then you organise the content when you get back to your laptop. I find that fills any gaps in functionality. I hate brain dumping or editing long or complex paragraphs of text on my mobile anyway.


  • flubba86@lemmy.worldtoSelfhosted@lemmy.worldNotes taking app
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    edit-2
    1 year ago

    Another vote for Trilium.

    A couple of years ago Roam Research was trending, I read some articles and reviews about it and I liked the concepts it introduced. I looked for a free, open source self-hosted cross-platform alternative to Roam and found Trilium.

    Its native on Windows, Mac, and Linux, while it doesn’t have any Native Mobile apps, the webapp works on great on mobile and can be installed to your phone launcher as a PWA.

    It does everything I want, and I use it a lot. A bunch of my colleagues have been recently moving from Evernote or Notable, over to Obsidian, and I understand Obsidian is the new hot thing, but I think I’ll stick with Trilium.

    My advice would be to try out a bunch. Note taking is surprisingly nuanced and personal preferences play a major role. Try each one for a week or two, and see which best matches your workflow and your requirements.



  • Sounds like you, like a lot of others, have come to docker from the perspective of “it’s like a mini virtual machine”. Maybe you’ve used VMs before, like virtualbox or VMware or EC2. Maybe you have experience with setting up a cluster of VMs, each with their own OS, own SSH client, own suite of applications, and an overlay network between them all. Maybe someone told you “you should use docker instead, it’s like mini lightweight VMs”. And you’d be right to assume this is the wrong perspective to approach docker, because it leads to the problems you have faced.

    Instead, try to think of docker containers as standalone applications. They don’t contain a kernel, they don’t have SSH, no Nano or VIM, just simply the Application, in a container, with enough supporting filesystem and OS libraries to make the application work.

    That perspective is what helped me to get better at docker, I know it’s not exactly answering your question, but it might help.