Source: https://www.micahlerner.com/2021/07/07/breakfast-of-champion...
1,462 karma · joined March 19, 2011
https://twitter.com/by1x
Source: https://www.micahlerner.com/2021/07/07/breakfast-of-champion...
single character
hck 1.494 ± 0.026s
hck (no-mmap) 1.735 ± 0.004s
choose 4.597 ± 0.016s
multi character hck 2.127 ± 0.004s
hck (no-mmap) 2.467 ± 0.012s
choose 3.266 ± 0.011s
The single pass optimization trick[1] seems to be helping a lot in single character case.Of course, doing away with a pass is suppossed to give 2x, and I am wondering whether the regex constraint lead to this "side-effect".
[1] fast mode - https://github.com/sstadick/hck/blob/master/src/lib/core.rs#... https://github.com/sstadick/hck/blob/master/src/lib/core.rs#...
Cached version of the write up https://archive.is/VgHkW
Shows Brendan's maturity.
I am not sure what should be the appropriate reaction or corrective measure in these situations. We should talk more about handling these unfair situations.
Someone else can become more successful building on top of one's open source project. On a resume, a top contributor and a minor contributor to open source project might have same weightage depending on how you present it - making the situation unfair for a person dedicatedly working on a single project (quality) vs minor contributor to multiple projects (quantity).
But deleting name and credits is wrong. An acknowledgement from the benefitting person (if not the recognition/reward) has far more positive impact on career than justifying to other's that your work was stolen.
It was a bit strange to read some of the initial negative comments. I see Brendan being a sport. I would argue that reading the story as a report against unknown persons at Sun makes more sense. I don't see much sense in blaming victim. And, in my opinion, the VIP had a good run but he isn't the bad guy here.
They suggested changes to the bill and commented - "We have serious doubts whether the current bills will serve any purpose to the farmers and it appears more of a tool for the buyers rather than the farmers."
https://economictimes.indiatimes.com/news/politics-and-natio...
The way it has been going on is that government announces something or passes some bill because they have to do something on a particular topic (say black money, taxes, Covid). However, they are incompetent or don't have the willingness or interest in actually carrying it out. So, these changes turn out to be catastrophic. They take toll on economy as well as anyone impacted because of the decision making.
Agriculture reforms are much needed in India. However, the government did it in hurry by-passing rules and without consulting farmers. I guess, they just want to do something so that they can let the marketing take care of the rest (that the goverment has done something for farmers - doesn't matter what or irrespective of whether it really helps them).
With these bills, the concern is that it will let private players take over and exploit farmers because of insufficient provisions to take care of farmers' interest. And then nobody will care (very much a risk because no one raises voice of oppressed which might show government in bad light because of the sold-out media). And the government will push narrative that they did the "reforms" (backed by fake data which is a hallmark of this government).
By the way, the govt has been very active in making sure that they have their loyal representatives in bureaucracy as well as in judiciary. Recently, the Supreme Court convicted a prominent lawyer for a tweet criticizing them [2]. It is very easy for them to dismiss cases which might show them in bad light. Media has no independence either. Eg. the case of Punya Prasun Bajpai [3] who's show was blacked out and eventually cancelled because it was critical of Modi.
[1] https://en.wikipedia.org/wiki/Brijgopal_Harkishan_Loya
[2] https://www.nytimes.com/2020/08/31/world/asia/india-bhushan-...
[3] https://thewire.in/media/punya-prasun-bajpai-abp-news-narend...
https://www.anandtech.com/show/15217/intels-manufacturing-ro...
from the post by Dr. Richard Hipp "From the -S output, it looks like Clang-11.0.0 is compiling these three lines as if there were written as:"
sqlite3VdbeMemRelease(pMem);
pMem->flags = MEM_Str|MEM_Term|(pMem->flags&(MEM_AffMask|MEM_Subtype));These unexpected behaviours are tough to nail down when one is trying to get the code/setup working. Really appreciate the time these fixes potentially save for future users. The complex nature probably also hints at maturity of Rust codebase.
Right now the other post is enjoying more attention and has meaningful engaging discussion. Requesting @dang to remove this (21473257) from front page and possibly tag the other one (21473259) with 1.39.0 release.
As mentioned in the README, you need to run psty server locally and establish websocket connection (mount in pigshell). This will enable you to harness local filesystem from pigshell.
Other CppCon talks are available at CppCon youtube channel [2].
[1] https://github.com/CppCon/CppCon2014/tree/master/Presentatio...
[1] https://groups.google.com/d/msg/redis-db/Oazt2k7Lzz4/y1rzJce...
edit: The edited title is way better. Thank you!
Also, I didn't ask to write about web development, merely share information/links like the other comment (https://news.ycombinator.com/item?id=8420463) did.