HNHacker News
TopNewBestAskShowJobs

sirwitti

1,721 karma · joined March 21, 2010

https://schwerpunkt.digital
submissionscomments
sirwitti··on Ask HN: Tools you have made for yourself?
I love this thread! Here's my list of tools that I actually use(d). I guess I have quite some itches that need scratching :-P

Project-cmd [1] (current itch):

A cli tool to standardize working on projects in different technologies. Think of package.json but for declaring/starting/stopping containers, creating db dumps, declaring data files (archives) to back up and restore and pushing db dumps + archives to a server via ssh and pulling them. Also editing the hosts file and jumping to a project's directory with a single command.

TouchOsc Generator [2]:

If you have tried to create complex TouchOsc [3] files things get repetitive and ugly very quickly. Touchosc-generator is a templating engine for TouchOsc files. You can create and reuse components and repeat + place them in grids via simple json files.

Emailed invoices

A simple node script checking my inbox for emails containing invoices simply regexing the sender and subject and automatically uploads them to the correct month's folder on my nextcloud server. Highly useful for accounting.

Accounting

A terrible meteor spa I wrote in 2015 for creating invoices and giving a simple accounting overview for my consulting business. It's quite crappy in some respects, but I created every single invoice since 2015 with it, so who knows...

D39r

My last flat had 2 levels and opening the door for the mailman meant running as fast as I could to the other end of other level of the flat. After opening up the intercom and finding that pushing the door button simply closed a circuit between 2 cables which in turn opened the door of the apartment building. An arduino relais, raspberry pi and a little bit of hacking later I could open the door via my smartphone. I used this as long as I lived there.

Mushrooms

I digitized a book about mushrooms with ~1200 pages by taking the book apart, scanning all the pages, writing a script to restore the pages order, using opencv to automatically detect blocks of text and images in the scans and mapping each image to the corresponding text blocks. Then used tesseract for ocr, manually corrected ~3000 paragraphs of texts with my girlfriend and developed several scripts to extract mushroom features for easily indexing/finding with a web app. Wouldn't/couldn't publish due to obvious copyright issues. This was a lot of work and I loved it!

[1] https://github.com/martinwittmann/project-cmd

[2] https://github.com/martinwittmann/touchosc-generator

[3] https://hexler.net/touchosc

sirwitti··on Have you ever hurt yourself from your own code?
In 2002 I wrote a paper on audio recording for my grammer school graduation and maybe once flipped through it since then.

When seeing the graphic of the wav file header I immediately recognized the same graphic I used in that paper.

Sometimes it's funny how memory works :)

Also interesting for how long content can stick around.

sirwitti··on Sublime Text 4
Even though I stopped using it as my primary development editor years ago I still use it every day for quickly writing notes and quickly editing arbitrary files.

I just checked, I bought my license in 2013 and since I really appreciate good software that support linux I just upgraded the license.

Thanks for creating a product that has turned out to be useful in many ways over the years!

sirwitti··on ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable
I just pledged 150$. I'd like to see sciter becoming open source!
sirwitti··on Cozy is a modern audiobook player for Linux
Vlc at least on linux and android does something similar. If you open a file that you recently played but not finished, it asks if you want to start from where you left off.
sirwitti··on Valproate reopens critical-period learning of absolute pitch (2013)
> ...it can only be acquired early in life.

As a musicologist, musician and someone who acquired some level of absolute pitch at ~14 years, I have to disagree.

Anecdata:

Musicians distinguish between acquired and given/natural absolute pitch and additionally between active and passive AP. Naming a note and producing/singing one are very different skills.

In my personal experience absolute pitch is a spectrum of several skills. For example:

- I can reliably name (single) notes played on a piano or similar instruments

- Most times I cannot name the root note of complex chords

- I cannot reliably name notes played by wind instruments

- If I can sing a note in my lowest register I can name most notes reliably

Just for completeness:

Musically speaking, absolute pitch is not a particularly useful skill and can be very limiting/painful for people.

sirwitti··on Linux Productivity Tools (2019) [pdf]
Thank you, I will check that out!
sirwitti··on Linux Productivity Tools (2019) [pdf]
Here's my non-cli list of to me usefuly software on linux (working as freelancer since 2010):

- Webstorm + Phpstorm: Amazing tools for web development

- Sublime text for simple text editing

- Meld for graphical diffs between files and directories. Very useful.

- Signal client: Using it more and more recently

- Spotify: That's not productivity though :)

- Joplin for markdown formatted note taking

- KeepassCX + FF extension: Works decently for password management. Though there's no solution for FF mobile as far as I know.

- Reaper for professional audio production (never liked audacity and ardour). There's also Bitwig which is more like Ableton live but quite expensive.

- Gimp: I use it but I don't like the user experience.

- Inkscape works pretty well for anything vector based

- Libreoffice: I tend to use calc regularly

- Darktable for raw image editing

- Arduino

- Figma for digital design (web-based, so not really linux)

- Nextcloud as file storage and for synching contacts and calendars.

- Zoom for video conferencing (need to try jitsi again though)

sirwitti··on Show HN: Beekeeper Studio – open-source, cross-platform SQL client
Wow, thanks for creating and sharing your work! Up until now I haven't seen a decent native SQL client on linux.

Since I'm working with vue I will totally check out the source and how you put things togehter :)

sirwitti··on Ask HN: Who wants to be hired? (April 2020)
Hi, I'm Martin - a full stack developer turned UX/product designer. I have 10+ years of experience concepting/developing web applications and am available for freelance work atm.

Location: Austria, Europe

Remote: Yes

Willing to relocate: No

Technologies: Vue, ES6, Node, Docker, Drupal, Figma, Axure and many others you probably won't be interested in.

Résumé: Since I'm usually acquiring via word of mouth I stopped updating mine several years so. I have worked on/was part of 100+ projects including multi-million-exit startups.

Email: me [ät] martinwittmann.at

sirwitti··on A startup is building computer chips using real neurons
I'm guessing they're working on neuromorphic computing. Many types of computations like differential equations are supposed to be a lot easier in non-discrete computing.

Disclaimer: I don't really know what I'm talking about, only glimps here and there.

sirwitti··on Ask HN: Are there good self-hosted video conference tools?
A group of friends were and still are evaluating video conferencing for small groups (<6 people).

Here's what we've tried so far:

Nextcloud: I'm running a nextcloud instance since ~2 years (it's awesome) and tried nextcloud talk several times, though for some reason we could not get audio and or video to work.

Just this week we tried jitsi because it's open source and can be self-hosted. Unfortunately while it worked in principle jitsi uses large amounts of cpu cycles when running in the browser and additionally latency and video quality was an issue.

For us the best option as of now is still https://whereby.com which works well regarding stability, audio/video quality and latency, though it's not self-hosted. I'm not affiliated in any way with them, I just like their product.

I'd love nextcloud talk to work, and I'm very curious about other solutions I'm not aware of - self-hosted and otherwise.

Edit:

After reviewing my nextcloud talk setup I saw that I didn't set up a TURN server which might be the reason it's not working. So it's not nextcloud, but incomplete setup.

sirwitti··on Warner music claimed my video for defending their copyright [video]
Adam Neely's youtube channel is incredible. The musicologist (yeah, you can study that) in me loves it because the information he provides is accurate and easy to digest.

The musician in me loves his videos because he documents many of his (to me) relevant experiences and thoughts.

Apart from the claim being obviously fraudulent, he is one of coolest youtubers I know and deserves better than that.

sirwitti··on Plastic bag sales in England halved in past year
After reading through the results of parent's [1] I'm wondering: Are they simply comparing environmental impact of the bags?

If so the numbers might be misleading because if someone buys a plastic bag the number of reuses is very limited. Let's say you buy 10 plastic bags a year for 5 years as compared to reusing 1 cotton bag in the same time period.

This would mean that in order to compare the environmental impact of both scenarios over that timeframe you'd need to divide the numbers of the cotton bag by 50 (10 plastic bags for 5 years) to get comparable results.

If this logic is correct this would mean that you'd need to reuse a conventional cotton bag 142 times and an organic bag 400 times over 5 years to get the same impact.

These numbers sound quite reasonable/realistic to me, assuming other people use their cotton bags as often as we do.

sirwitti··on Ask HN: What are some fun projects to try out on a spare Linux file server?
Gitlab and NextCloud are pretty cool. With NC you can quite easily host your own calendar and contacts.
sirwitti··on Ask HN: Non-compete in freelancing contract?
Thanks you tobitobs!
sirwitti··on Microsoft: “Time for Mozilla to get down from their philosophical ivory tower”
You're right, HN does not allow enough characters to state this correctly. So I had to cut it down a bit.
sirwitti··on Blocking website ads with a hosts file
Thanks!
sirwitti··on Blocking website ads with a hosts file
I'm wondering whether having a huge hosts file could create any performance issues since it needs to get parsed regularly I assume.

Does anybody have experience in this regard? What about a basic version with ~100 entries?

sirwitti··on How and why I transitioned to Linux, and how you can too
I switched to Ubuntu in 2006 and ~3years ago my girlfriend wanted to switch too (I did not talk her into it).

Yes there are problems, but for me the reasons to use linux (and firefox instead of chrome) are trust and politics.

Maybe it's just me, but I really dislike software preventing or forcing random functionality because google, apple, ms or even canonical want me to. In this respect linux is in my opinion the best option.

As for the "things should just work" argument some people use - part of it is probably still valid, but I think linux is in some respects (handling of updates, security, installation process,...) way ahead of windows for example.

Some anecdata on that: It takes ~5min when I need to do something on a windows or mac machine for me to get frustrated due to me not knowing UI details or the OS simply getting in my way (forcing updates on reboot for example). Maybe it's me, but then I'm working in web development for a while, so I suspect I'm of average intelligence.

The availability of professional software is a limiting factor in some areas (design and gaming come to my mind). But for development work I can't complain. The trend for web-based software helps too.

Think what you want about linux, all software has flaws - maybe we can get rid of some of them :)

sirwitti··on The Machine Learning Race Is Really a Data Race
Me personally I'm not 100% convinced that the current ML/AI approaches (that I'm aware of) will yield new big steps forward.

Neuromorphic computing could have the potential I think, if we can build hardware that's good enough.

sirwitti··on Show HN: Fully-automatic image background removal tool
The demos look awesome, but unfortunately it works neither in FF 64 nor Chromium 71 even without adblocker: It keeps saying: "Removing background ..." and does not show an edited version of the uploaded image.
sirwitti··on Ask HN: Best Command-Line Applications?
Vue-cli is pretty awesome! https://cli.vuejs.org
sirwitti··on Ask HN: Developers, how do you estimate projects and write proposals?
In my experience estimates are off more often than not (or I'm really bad at this).

What I do is this:

- Split the project up in phases and split each phase into work chunks

- Conservatively estimate the time each chunk will take

- Estimate and add all project overhead (project management, meetings,...)

- Add time/budget for all known unknowns (design iterations, testing, bugfixes, deployment,...)

- Multiply the sum with a factor for unexpected things (things taking longer than expected, technical issues, anything unforseen). Depending on the absolute amount of hours budgeted and on what you know about the project and client this factor could be anywhere between 1.1 (everything should be straight forward) to 2 or even more.

- Multiply the total sum with your hourly/daily rate

- "Round" up the total number, depending on the client (smaller or larger company). This could mean to change 16.789$ to 20.000$ or 6.407$ to 7.000$

This helped me getting away from a pure hourly rate to flat-rate prices, whereas the estimation error should always be heavily on your side.

sirwitti··on Oboe: A C++ library for low latency audio in Android
Audio latency might not event be the main issue here: Touchscreen latency is far worse which makes any input almost useless for someone trying to actually play notes. Note that changing parameters of filters, synths,... is fine because changing these does not require the same precision as playing.

Btw if you're looking for a subjective number for tolerable latency I'd say ~5ms. This could be output latency if you're playing notes via midi or round-trip latency if you're processing incoming sound and output it again. In my experience you don't get that acceptable latency on notebooks with the onboard sound cards either :)

sirwitti··on IRL Glasses Block All the Screens Around You
The wonders of HN: Yesterday I posted a link to their kickstarter and it didn't get a single upvote :)
sirwitti··on EU approves internet copyright law, including ‘link tax’ and ‘upload filter’
One could say the same thing about americans and it would probably just as true/false.

Me personally I'm not into that kind of generalisation.

sirwitti··on Tackling youth unemployment by growing mushrooms from coffee waste
In Vienna, Austria there's http://www.hutundstiel.at (german only for some reason). They also grow oyster mushrooms on coffee waste and even pick up the waste by bike.

Recently there are even sausages made of oyster mushrooms (http://www.hermann-fleischlos.at also german). What's interesting about them is that they taste incredible (vegetarian soy based sausages I tried are really terrible).

Anyway, it's really good to see some innovation going on with mushrooms!

sirwitti··on German butcher's GDPR notice
Rough translation: GDPR - General Data Protection Regulation

Attention! In our butcher shop we might ask you for your name and memorize which kind of meat you like. If you don't want us to do that please shout "I do not approve!" when entering.

We will pretend to not know you in that case.

Btw, it's an Austrian butcher shop :)

sirwitti··on [dead]
please don't spam hn
← PreviousPage 3 of 7Next →