elsamuko

Joined 14 years ago

Karma
728
Submissions
46
Member since
Mar 29
https://github.com/elsamuko
View on Hacker News

Recent submissions

Comment · 2 years ago
Comment · 3 years ago
Exactly this. I didn't try this, and I suppose that some low level pointer rewriting would be necessary to do this. I'm not sure if it's expensive though, maybe you can replace the pointers without resolving the stacktrace.
Comment · 3 years ago
When I debug multithreaded programs, the stacktrace of a breakpoint usually ends somewhere in a worker thread. What I want is that the worker thread's stacktrace part is replaced by the one who put the work into it. Kinda like the program wasn't multithreaded at all.
Comment · 3 years ago
A question: Would it be possible to pass the stacktrace of the current thread to another, so that the stacktrace would be traceable across threadpools or worker threads?
Comment · 3 years ago
Comment · 4 years ago
It'll be a success or a good story.
Comment · 4 years ago
Take social dancing lessons like Salsa, Bachata, Kizomba. These are very fun! But have a proper personal hygiene, some figures are very close.
Comment · 4 years ago
Comment · 6 years ago
I was searching for a DisplayPort adapter for a Mac Mini and got MiniDisplayPort adapters for Mac :(
Comment · 7 years ago
I included qmake and added a `deploy.sh` in the main source folder, which generates the deployed zip file. Let me know, if this doesn't build.

  * gitignore behaviour: If there is a .git folder in the search folder, it uses git ls-files to get all files to search in
  * a .git folder itself is never searched
  * hidden folders and files are searched
  * binaries are ['detected'](https://github.com/elsamuko/fsrc/blob/f1e29a3e24e5dbe87908c4ca84775116f39f8cfe/src/utils.cpp#L93), if they contain two binary 0's within the first 100 bytes or are PDF or PostScript files.
  * pipe behaviour is not implemented yet
  * it supports only one option-less argument as search term
  * folders are set with -d
Comment · 7 years ago
There are no build instructions yet, you need to build boost with build_boost.sh and then open qmake/fsrc.pro with Qt Creator. There are binaries available here, too: https://github.com/elsamuko/fsrc/releases

And I know than benchmarking is hard, a coarse comparison is in scripts/compare.sh. More detailed performance tests are in test/TestPerformance.

Comment · 7 years ago
I'm currently working on a searcher on my own: https://github.com/elsamuko/fsrc

When I started, I didn't know ripgrep, now I use it as reference. Of course it's still slower for regex searches and it has less options, but in some cases (e.g. simple string matching search), it is faster than rg (PM_RESUME in 160-170ms), mostly thanks to mischasan's fast strstr: https://mischasan.wordpress.com/2011/07/16/convergence-sse2-...

If you want, let me know, what you think about it.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton