-
9 votes
-
Silicon Valley is building a Chinese-style social credit system
13 votes -
Comparing four site-uptime monitoring websites
4 votes -
I made my own thermostat using a Raspberry Pi
14 votes -
Swedish data protection agency has issued the country's first GDPR fine after a school was found improperly using facial recognition technology
7 votes -
In April 2018, Facebook promised to share data so academics could research impact on elections. They haven't done it, and the project's funders will pull out if it's not all available by Sept 30
9 votes -
Kernel Panic - The world's first cyber crime: The Morris Worm
5 votes -
Fairphone updates its ethical smartphone for 2019
18 votes -
Mozilla takes action to protect users in Kazakhstan
26 votes -
Google and Dell team up to take on Microsoft with Chromebook Enterprise laptops
8 votes -
Twitch suspends popular leftist streamer after controversial 9/11 comments
19 votes -
Asus announces ZenBook Pro Duo - Dual screen laptop
8 votes -
PewDiePie surpasses 100m subscriber mark on YouTube
13 votes -
I'm not a robot
7 votes -
Inside America’s dysfunctional trillion-dollar fighter-jet program
8 votes -
First release of my native Markdown notes app, Notementum (v0.1.0)
Screenshot I posted a few days ago about a notes app I was working on called Notementum, and I'm happy to show you the first release (0.1.0). Installation instructions are available on the Github...
I posted a few days ago about a notes app I was working on called Notementum, and I'm happy to show you the first release (0.1.0). Installation instructions are available on the Github repo: https://github.com/IvanFon/notementum
There's still lots of things I'd like to add, both big and small, and definitely a few bugs here and there, but I've been going for too long without sharing it, and I find it's best to release as early as you can to start getting feedback, and perfect it later.
One things that's missing is documentation. I'd like to start on this soon, but I'm probably not going to share this anywhere other than Tildes just yet, so this comment will do for now :)
Right now, the app only runs on Linux. I'd like to add Windows support, and it almost works, the problem is that WebKit2Gtk, the embedded web view I use to show note previews, doesn't support Windows. I'm going to explore some other options in the future, whether that's figuring out how to compile it, or allowing other preview methods (user's web browser, PDF, etc.).
The app is also very much in alpha, so you shouldn't use this for anything important, there may be bugs that can cause you to lose some of your data. If you do use this for anything, make sure you backup your notes database.
If you want to use it, here's a wall of text on usage:
Usage
The notes database is located at
~/.notes.db
. When you launch the app, it'll load it, or automatically create it if it doesn't exist. I'd eventually like to allow choosing different locations, but it's hard coded for now.The interface is fairly simple. The leftmost sidebar displays a list of notebooks, and the "middlebar" displays a list of notes. Selecting a notebook will display the notes within it in the notes list. Selecting a note will open it in the editor, which is to the right.
To create a new note, press
Escape
to focus on the searchbar above the notes list, and start typing a title. If no existing notes are found, press enter, and a note will be created with the title you entered.To rename a note, double-click on it in the notes list.
The editor has a toolbar with 4 buttons, from left-to-right:
- Toggle between editor and preview (shortcut:
Ctrl+E
) - Assign the current note's notebook
- Add an attachment
- Delete the current note
The green circle all the way to the right turns into a loading indicator when you have unsaved changes. Once you stop typing for a few seconds, your changes will be saved, and it'll switch back into a green circle.
Notebooks
Notebooks aren't created directly, they're based on what notebooks your notes are assigned to. This means that, to create a notebook, assign it to a note. To delete a notebook, just delete all the notes contained within it, or assign them to a different notebook.
Clicking on the notebook toolbar button brings up this dialog. To create a new notebook, double click on
<New notebook>
and type in a name.Attachments
The notes database also stores attachments. This means that the entirety your notes can be contained in your database. Clicking on the attachment toolbar button brings up this dialog. The toolbar allows you to upload an attachment or delete it respectively. Pressing
Insert Selected
will insert the image at your cursor in the editor (![](image.png)
).Theme
The screenshots show the app with my desktop Gtk theme, Arc Dark. On your desktop, it'll use whatever your theme is. It should look good with any Gtk theme, but at some point I may bundle Arc Dark with it.
The note preview currently has it's colours hard coded to look good with Arc Dark, so it may look a bit off on other themes. I'll try to sort that out at some point.
Planned features
- load/save database to/from different path
- Windows support
- note exports
- database encryption
- changing syntax highlighting theme
- note tags
- full-text search
- proper documentation
- more keyboard shortcuts
- integrated sync
- although you should already be able to use Git, Synthing, Dropbox, etc.
- Vim mode for editor
- maybe somehow embed a terminal to allow using vim/emacs/whatever
Boring technical stuff
The app was made with Python and Gtk+ 3. I've done this before and I really enjoy the development experience, especially with Glade to design the interface. There are still some Gtk features that I should really be using to make things simpler (GtkApplication, actions, and accelerators) that I'll be adding later.
The database uses sqlite 3. This is convenient, as it allows for storing everything in one file, and will make fast searches easier in the future. Attachments are stored as base64 directly in the database. This makes it easy to have all your notes be contained entirely in the one database, but I may have to think about a more efficient method in the future.
Markdown rendering is done using mistletoe, which has been great to use. Syntax highlighting and MathJax renderers were already available, so it was just a matter of combining both and adding custom image loading from the database, which was very easy. Mistletoe has a very easy to use API, so this was no problem.
For LaTeX math rendering, I'm using MathJax. It supports pretty much everything, which is nice, but it can take a while to load. I'm currently loading it from a CDN in a
<script>
tag, so I'm hoping once I load it from a local file it'll be a bit faster. If not, I may have to find another solution.Like I said, the app still has a few bugs that need to be fixed. If you find any problems, it would be great if you could leave a comment here or open a Github issue (or if you have any feature requests).
21 votes - Toggle between editor and preview (shortcut:
-
Security researchers find several bugs in Nest security cameras
10 votes -
Do you run any wireless mesh node?
Hi, does anyone run any node for a wireless mesh? if so, is it part of some big project or is it something just on your town?
17 votes -
With over 10,000 people registered to attend from all over the world and 300+ speakers – Techfestival isn't playing around
4 votes -
How to find old instruction manuals for free online | No Sweat Tech
9 votes -
Samsung Galaxy Note 10 Plus review
6 votes -
Datadog files for IPO
7 votes -
Deconstructing Google’s excuses on tracking protection
17 votes -
The world's oldest webcam is shutting down after a quarter of a century
21 votes -
Amazon has ceded control of its site to third-party sellers. The result: thousands of banned, unsafe or mislabeled products
14 votes -
Apple readies camera-focused pro iPhones, new iPads, larger MacBook Pro
5 votes -
Amazon ends controversial practice of using tips to meet drivers’ wage guarantees
8 votes -
Google delays classic Hangouts transition for G Suite until 2020
5 votes -
Yubico releases the first Lightning security key for iPhones
8 votes -
WeWork's IPO calls into question what it means to be a tech company
6 votes -
Forty rebuttals to the media’s smears of Julian Assange – by someone who was actually there
8 votes -
WeWork files for IPO
12 votes -
Reddit is launching "RPAN" live streaming as a time-limited experiment for this week, but it will become a permanent feature soon
20 votes -
Absolute scale corrupts absolutely
5 votes -
Silicon Valley's crisis of conscience: the private retreat centers where Big Tech goes to ask deep questions
5 votes -
Information operations directed at Hong Kong
20 votes -
Making the switch to Bitwarden, unsure how to go about it
I have had several accounts taken over, and decided I've had enough. I decided to use a password safe, which I've been wanting to do for years, and finally settled on Bitwarden because it's fully...
I have had several accounts taken over, and decided I've had enough. I decided to use a password safe, which I've been wanting to do for years, and finally settled on Bitwarden because it's fully open-source.
The hangup is I'm unsure how to transition to it. I've logged some old email accounts I occasionally need to access, my new Netflix account (just got my own), and tildes, but I haven't changed my email password, for example (my email password is only used for email).
For anybody who has done this already, is it best to dig up all my accounts and jump over to bitwarden, or to switch them as I see/use them over time?
11 votes -
When limiting online speech to curb violence, we should be careful
14 votes -
The events that led to Gamergate started five years ago today, and The New York Times has just published a series of four pieces related to it
I'm posting this in ~tech since I think the stories are more related to social media than games. I haven't read them yet, but am just about to start working my way through. Unfortunately, they're...
I'm posting this in ~tech since I think the stories are more related to social media than games. I haven't read them yet, but am just about to start working my way through.
Unfortunately, they're in a weird and ugly format, with an incredibly distracting background that constantly sends little "mouse cursors" towards the actual location of your mouse. I highly recommend using Reader Mode or something similar to get rid of the styles. You might also have to click a "READ MORE" link in the right place to even get the text of the article to show up properly.
Here are links to the 4 pieces (I'm not even sure if they'll work properly because of this disaster of a layout):
26 votes -
Disney+ will launch with support for Apple TV, Android, iOS, Roku, PS4, Xbox One, and more
7 votes -
Twitter is displaying China-made ads attacking Hong Kong protesters
18 votes -
The weaponisation of information is mutating at alarming speed
11 votes -
Wirecutter has selected TunnelBear and Mullvad as the best current VPN services, and written extensively about how they made this decision
26 votes -
Reddit is preparing to launch a livestreaming service called the "Reddit Public Access Network"
30 votes -
What does Amazon's "Top Brand" badge actually mean?
7 votes -
All Tridactyl installations might get removed by Firefox on Aug 21
12 votes -
Verizon to sell Tumblr to WordPress owner Automattic
30 votes -
[Chrome 82, 2020Q2] Deprecate FTP support
7 votes -
Apple under fire for allegations of controversial business practices
3 votes -
'Where's the line of free speech – are you removing voices that should be heard?': As YouTube struggles with extreme content, Susan Wojcicki talks about her role as the internet’s gatekeeper
11 votes