HN user

elsamuko

728 karma

https://github.com/elsamuko

Posts0
Comments36
View on HN
No posts found.
[GET] "/api/user/elsamuko/stories?hitsPerPage=30&page=0": 500 Failed to fetch user stories

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

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.

I think all these issues will be shadowed by the development of mobile networks. You will plug in your phone, listen to spotify and the navigation will tell you about traffic and accidents.

There was a similar raise of concern in Germany, when the insurances bought the emergency system of the autobahn, which resulted as a non-issue, because shortly after everyone had a cellphone.

You can share resources between two threads, this is harder with processes.

The use case is, that you don't block the UI while doing heavy or slow work, e.g. generating previews in an image organizer or fetching http requests in a browser.

Instead of std::thread, I'd rather recommend using std::function and a threadpool like this one:

http://threadpool.sourceforge.net/

Firefox 29 12 years ago

I just found out, that you can rotate images with the rotation gesture on OS X with Firefox.

Write prototypes. You can implement these very fast, and see quickly, if it works.

E.g. I'm using Octave to test various imaging algorithms before implementing them in C++. Also, it helps verifying the C++ implementation and I can visualize the results.

I changed mine to a 20 character pw, but couldn't login with it. I worked, when I entered only the first 12 characters.

You could try logging in with the first 12 characters.