docktordreh

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

docktordreh,

I use tridactyl in firefox. Except for emacs and tiling wms I’m not too deep in applications for reducing mouse usage, I tend to use keyboards with ‘better mouse placement’ for example the tex shura which copies the thinkpad trackpoint, or a corne keyboard with a pimoroni trackball. Or a charybdis nano. Even using a smaller keyboard layout counts imo, my favourite non-ergo keyboard layout is 60% which reduces necessary arm-travel-distance a lot :)

What are some of the best optimizations you applied to your code?

Got myself a few months ago into the optimization rabbit hole as I had a slow quant finance library to take care of, and for now my most successful optimizations are using local memory allocators (see my C++ post, I also played with mimalloc which helped but custom local memory allocators are even better) and rethinking class...

docktordreh,

A database optimization I made was changing a tables id generation from a manual generation scheme (some other table had an entry with the next usable id, it was updated with every entry written) to a uuid generation scheme. The table stores data from a daily import, on a fresh import all previous data is deleted. On some systems, there are more than 10 000 000 entries to be imported on a daily basis, which took 8 hours. Now, with batched inserts and the mentioned improvement in the db scheme, it’s at about 20 minutes.

TLDR: Reducing the amount of queries sent is good, because although network is usually fast (ms), db requests are still slow compared to the speed of an application (clock cycles).

And yeah, there is an option to only import changes daily, but sadly that isn’t supported in every environment.

Question about party recruitment (act 1 and 2 spoiler)

I am trying to find out if you can still recruit Minthara if you go through the underdark instead of taking the mountain pass. Everything online says to take the pass but no one mentions the underdark. And if you try to google Minthara recruitment all the results are about destroying the grove....

docktordreh,

Not quite true. Yes she is in the camp, but she is not recruited. She leaves after the night. (at least in my game - doing two different playthroughs atm, one with a buddy and the other solo and there are so many choices leading to different outcomes that I can’t say for sure she always leaves). Recruitment is supposed to happen later on.

What's a good open source Markdown editor that can switch between WYSIWYG and source code?

I often need to convert rich text copied from websites or Word/odt documents to Markdown, and sometimes vice versa. Is there an open source Markdown editor that lets me simultaneously paste in and edit a document both as WYSIWYG and Markdown source code? Preferably side by side....

docktordreh,

Hedgedoc if hosting is an option.

Also, you might be interested in pandoc for converting docx/odt (…) directly to md.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • Ask_kbincafe
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines