Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
darkmx0z
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
darkmx0z
3y ago
when talking about a set of characters , alphabet is a commonly used term https://cs.stackexchange.com/search?q=string++alphabet+size
2.
▲
by
darkmx0z
6y ago
did you check the header of that cpp? they are storing it in a shared_ptr: shared_ptr = referenced counted pointer = RAII they should have used make_shared, but it is still safe
3.
▲
by
darkmx0z
6y ago
unfortunately, those websites are probably more popular than the church's website in question (or at least, receive more clicks from google search)
4.
▲
by
darkmx0z
6y ago
You are getting that because other people do not care about what you are searching for :( their AI is maximizing the chances of quickly finding what most people want, not what you want.
5.
▲
by
darkmx0z
6y ago
They are relying too much on AI and "collective wisdom". The results you get now are what Google thinks you want based on what others want, not on what you are actually searching for. What you typed is now treated as a mere clue,
6.
▲
by
darkmx0z
9y ago
If you sort2(a, b), it would be nice if min(a, b) == a && max(a, b) == b.
7.
▲
by
darkmx0z
9y ago
Stepanov disagrees. You should return the second parameter if a, b are equivalent (and you should use < anyway): template<typename T> inline constexpr const T& max(const T& a, const T& b) { return (b < a ?
8.
▲
by
darkmx0z
9y ago
disable high resolution clocks for non-sudo programs?