Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mohaps
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Show HN: Guidish – a C++20 128bit GUID-like key generator
(github.com)
1 points
by
mohaps
4y ago
|
0 comments
2.
▲
Mars: Facebook keeps maps current and accurate
(engineering.fb.com)
5 points
by
mohaps
7y ago
|
0 comments
3.
▲
by
mohaps
8y ago
Interviewer: What are your strengths? Me: Cache Invalidation and Naming Things. We paused and looked at each other for a minute and then we burst out laughing.
4.
▲
New Map of Antarctica is of the highest resolution yet of any continent
(newsweek.com)
1 points
by
mohaps
8y ago
|
0 comments
5.
▲
Fox vs. Hedgehog – two problem solving approaches
(npr.org)
1 points
by
mohaps
8y ago
|
0 comments
6.
▲
by
mohaps
8y ago
the basic difference in approach was to switch the earlier approach of if (conditionA && conditionB && !conditionC) cache_it() to hey look, an item with featureset X is cacheable while one with featureset Y is not. This refl
7.
▲
by
mohaps
8y ago
To add to Vlad's comment above: The major win was in being able to create a simple API which inherently computes update -> cache invalidation probability taking into account the semantics of the item being cached and its relevance t
8.
▲
by
mohaps
8y ago
One of the authors here. Be happy to answer questions
9.
▲
Facebook is using machine learning to self-tune its myriad services
(techcrunch.com)
2 points
by
mohaps
8y ago
|
0 comments
10.
▲
The Batman Curve (or more precisely the Bat-arang curve)
(mathworld.wolfram.com)
1 points
by
mohaps
9y ago
|
0 comments
11.
▲
by
mohaps
9y ago
Thanks! Working on the timeline feature. The temporal data and diet/size tags need some clean up - a tedious work via an offline tool with RegEx and some nltk elbow grease :)
12.
▲
by
mohaps
9y ago
I built PaleoCodex as an online interactive encyclopedia for Dinosaurs and other prehistoric animals for my six year old using wikipedia data. He is a big dinosaur buff and wants to be a paleontologist when he grows up. His project brief wa
13.
▲
Show HN: PaleoCodex, a prehistoric species catalog (using wikipedia data)
(paleocodex.com)
7 points
by
mohaps
9y ago
|
5 comments
14.
▲
To Close Digital Divide, Microsoft to Harness Unused Television Channels
(nytimes.com)
1 points
by
mohaps
9y ago
|
0 comments
15.
▲
New York fines Infosys $1M for work visa violations
(m.timesofindia.com)
25 points
by
mohaps
9y ago
|
4 comments
16.
▲
“Curiously Recurring Template Pattern” (C++ Idiom)
(en.wikipedia.org)
2 points
by
mohaps
10y ago
|
0 comments
17.
▲
by
mohaps
10y ago
now i remember why I went with the old linked list implementation. with the std::list, everytime I refreshed a node... i did a copy. basically to the tune of list.push_back(*iter) where as I wanted to keep it as a simple unlink and relink o
18.
▲
by
mohaps
10y ago
ah, now I remember why I had carried on with the linked list from the old c++ codebase https://gist.github.com/Quinny/09e34afb1d187e43dea2f3c3b0c04... the key refresh in std::list required a copy of the std::pair, wher
19.
▲
by
mohaps
10y ago
thanks. fixed
20.
▲
by
mohaps
10y ago
yeah, saw the gist posted by quinnftw. that actually is a better way to do what I'm doing. Will update that along with the cache.remove(const Key& k, F deleteCallback) method. Thanks for the feedback
21.
▲
by
mohaps
10y ago
the naked pointers are inside an internal kv namespace and are a convenience/carry over from the previous implementation (I've covered the justification for the way it's written in a comment above). the TL;DR is that it is wr
22.
▲
by
mohaps
10y ago
the kv::List is not intended as a generic linked list implementation like std::list. The reason for the specific implementation is to get constant time removal and remove-add_to_end operations. Truth be told, it is a hold-over from the prev
23.
▲
by
mohaps
10y ago
yup! that's next up. :)
24.
▲
by
mohaps
10y ago
mostly: yes! :) Also, keep in mind that most of the library is templates, which need to go in the header files. BTW, most of boost is header-only :) e.g. boost/noncopyable.hpp would give you a header only equivalent of the NoCopy cla
25.
▲
by
mohaps
10y ago
header-only usually means there's one or more .h/.hpp files that you can include in your source. There's no source file or library to compile and include e.g. if I had Hello.h and Hello.cpp, you'd need to either add Hell
26.
▲
Show HN: A header only C++11 LRU Cache template class, with no dependencies
(github.com)
29 points
by
mohaps
10y ago
|
27 comments
27.
▲
by
mohaps
10y ago
Hmm, I wonder how's the pokemon population out there? That'd drive them nuts too! :D
28.
▲
Japanese Olympic champion racks up $5,000 bill playing Pokémon Go in Brazil
(theverge.com)
3 points
by
mohaps
10y ago
|
0 comments
29.
▲
by
mohaps
10y ago
Oh The Places You'll Go by Dr. Seuss
30.
▲
by
mohaps
10y ago
Good work on the lib. I think EchoSim is provided by iQuarius media and not Amazon.
More ›