News for hackers. Stuff that matters.

tsmeets

Re:The Design of Everyday APIs (2022) on Monday April 22, 2024 @08:33AM (#40113732)
You can also use the outlook COM API and extract the data from the running outlook instance [1]. See [2] for a python example that extracts a '.ics' file.

[1] https://learn.microsoft.com/en-us/office/vba/api/outlook.cal...

[2] https://github.com/TomSmeets/export-outlook-to-ics/blob/mast...

Re:C and C++ Hot-Reload/Live Coding on Wednesday January 03, 2024 @04:42PM (#38860317)
You don't need anything complicated for this. All you need is to compile your code to a shared library that exports an 'update' method.

See https://github.com/TomSmeets/quest-for-nothing/blob/master/a...

You have to be careful with global variables however, they will get cleared to zero when the code is reloaded. To solve this either don't use globals or just restore them on reload.

In this app you can keep a nested tree of tasks and notes for exploring complex ideas. The app uses an interesting user interface approach for exploring the tree of nodes. I created this app because I could not find any other app that uses this kind of UI. The app is fully open source (GPLv3) and available on fdroid and the play store. Let me know if you like it.
Re:TodoTree: The nested todo and note taking app for Android on Thursday December 29, 2022 @06:43AM (#34171685)
Hello HN, I have been working on this app for some time. I was using it for myself, however I thought that maybe more people would be interested in this.

I was frustrated with the slow UX of other todo and note taking apps. This made it very difficult to explore complex ideas and tasks.

I have never seen this approach being done before, where all the parent nodes are directly accessible for quick navigation and context awareness.

The app is fully open source under the GPL-v3 license and available on f-droid and the play store. I try to keep the app as simple and flexible as possible. If you have any cool suggestions or contributions, feel free to let me know.

Re:Against 3x Speed on Monday December 20, 2021 @04:17AM (#29622794)
Not sure how well it removes "ehm"s, but I use unsilence[1] a lot for lectures. It removes the silent bits from a video file. It isn't a browser plugin however. You have to download the lecture before converting.

It works quite well in my experience.

[1] https://github.com/lagmoellertim/unsilence

Re:Wayland Keylogger on Sunday January 31, 2021 @05:38AM (#25977782)
Hi I am currently using this method in X11, but would like to switch to Wayland eventually. But I can't seem to figure out how I would then give the browser-user access to the wayland socket.

In X11 I can just make use of 'xhost si:localuser:browser-user'. But it seems that I would need to give full access to my main user's XDG_RUNTIME_DIR (/run/user/1000/), so that it can access the 'wayland-1' socket from the browser user. Is there a better way to do this?