Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
clishem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
clishem
9y ago
It needs a max-width somewhere. This website was not designed for 25' screens.
32.
▲
by
clishem
9y ago
There you go: https://uazu.net/notes/binding.html
33.
▲
by
clishem
9y ago
Interesting that the images on that website don't load without Javascript. If only there was a way to show images with HTML instead of Javascript.
34.
▲
by
clishem
9y ago
Using allow/deny has been an anti-pattern for a while now (using methods is preferred). My projects are not affected, but it is nice to see this so quickly.
35.
▲
by
clishem
9y ago
The 'winner' of the cold war?
36.
▲
by
clishem
9y ago
Glad you enjoyed my comment then.
37.
▲
by
clishem
9y ago
Thanks for the clarification. This article also helped. http://talesofcpp.fusionfenix.com/post-21/rant-on-the-stdexp... In it's terminology, std::variant is a 'discriminated union' instead of a 'sum
38.
▲
by
clishem
9y ago
> Sum types don't just store values of different types. That's exactly what a tagged union does. std::variant is a tagged union. I was not aware of the name 'sum type' but it's supposed to be a synonim for a ta
39.
▲
by
clishem
9y ago
> How would you do that without making the visitor cases explicit? See my edit. std::visit([](auto &&val) { std::cout << typeIdxToString[typeid(val)] << val; }, var); > E.g. you would want th
40.
▲
by
clishem
9y ago
So basically you're saying that if you want different behavior based the type of a variable passed to a function, you're going to have to write that behavior... Then the answer is yes. We haven't advanced to the point where t
41.
▲
by
clishem
9y ago
This blog post is not to be taken seriously in my opinion. For one thing, `printf` is obsolete in C++. This is how you should output values in a tagged union: std::variant<size_t, std::string> var = "test"; std::vi
42.
▲
by
clishem
9y ago
1. so are all other cryptocurrencies 2. see 1 3. not sure what you mean by this
43.
▲
by
clishem
9y ago
> lack of thread local storage is not an issue We've had it since C++11. http://en.cppreference.com/w/cpp/language/storage_duration
44.
▲
by
clishem
9y ago
Something fishy is going on here: https://championtraveler.com/dates/best-time-to-visit-cuba/ https://imgur.com/YlM3zda.png But really great idea!
45.
▲
by
clishem
9y ago
The logo links to http://fairpixels.co/pro/index.php which gives a 404.
46.
▲
by
clishem
9y ago
Betteridge's law is strong with this one.
47.
▲
by
clishem
9y ago
Alternative software that does the same: https://fbb-git.github.io/gpg-remailer/
48.
▲
by
clishem
9y ago
Based on the fact that there is finite money for social welfare.
49.
▲
by
clishem
9y ago
http://urlme.me/wow/URLs/Are_UI.jpg
50.
▲
by
clishem
9y ago
I was very tired when I wrote that, my apologies. What I meant was that IRC is still alive and kicking.
51.
▲
by
clishem
9y ago
> Once was IRC Seriously?
52.
▲
by
clishem
9y ago
namespace redis = cpp_redis; there you go.
53.
▲
by
clishem
9y ago
It was forked before vim 8.0 was released and neovim doesn't try to keep its fork compatible with vim. Consequently it is not.
54.
▲
by
clishem
9y ago
This is not a silly question. Yes, using the C library from C++ is certainly possible. There would be nothing non-compliant about that, although you would need to write code that is somewhat frowned upon when writing C++ (i.e. using raw poi
55.
▲
by
clishem
9y ago
Took me a while to understand the name.
56.
▲
by
clishem
9y ago
Maybe change the rest of the CSS while you're at it. This is not good UX http://i.imgur.com/en3lBF5.jpg
57.
▲
by
clishem
9y ago
And which ones to short?
58.
▲
by
clishem
9y ago
One of the best technical books in existence (afaik).
59.
▲
by
clishem
9y ago
It's not internet-wide. They mention the FCC as if non-US citizens are supposed to know what that is. They ask for a zip code, without asking for a country. The phone number they listed will not work anywhere but in the US. The address
60.
▲
by
clishem
9y ago
Do you mean FOSS printer drivers? Are you sure that would make a difference?
More ›