Viewing profile — Rangi42
Rangi42
HN member- Joined
- Fri, Aug 17, 2012, 1:45 AM UTC
- HN karma
- 444
- Public activity
- 129 items
- HN profile
- View on Hacker News ↗
About Rangi42
No profile information was provided.
Recent public activity
-
comment
Comment #42194107
Theme author here! I designed those for a few of my C++ programs years ago, back before FLTK had high-DPI support. (I wasn't involved with porting them to fltk-rs, but I'm glad FLT…
-
comment
Comment #26661897
Location: New York City, NY Remote: Yes Willing to relocate: No Technologies: Java, Spring, C, C++, Python, Spark, SQL, MongoDB, Angular, HTML5, CSS3, Javascript, Typescript, Git, …
-
comment
Comment #25705574
From the article: > There's an open issue for something like this: Variadic generics[1]. But so far every attempt at an RFC has been closed or postponed. [1]: https://github.com/ru…
-
comment
Comment #25324573
With C++17's compile-time conditionals, plus good old C preprocessor macros, you could do this: #define MATCH_VARIANT(x) [](auto& x) #define CASE_VARIANT(x, T) constexpr (std::is_s…
-
comment
Comment #23198500
Here's my own dark theme userstyle for HN, with the colors from Firefox's dev tools. For news.ycombinator.com - https://pastebin.com/K1KS64KR For hn.algolia.com (the search form) -…
-
comment
Comment #16735862
Location: New York City, NY Remote: Willing to consider Willing to relocate: No Technologies: C++, C, Python, Java, PHP, SQL, HTML/CSS, Javascript, Windows, Linux, Git, GUI design,…
-
comment
Comment #16081328
Location: New York City, NY Remote: Willing to consider Willing to relocate: No Technologies: C++, C, Python, Java, PHP, SQL, HTML/CSS, Javascript, Windows, Linux, Git, GUI design,…
-
comment
Comment #15206817
As the paper's abstract states, "Quadratic cost uniquely makes the marginal cost proportional to votes purchased". The full paper shows their proof and the assumptions behind it, s…
-
comment
Comment #15206795
If merely 100 less-wealthy voters out of the whole population couldn't coordinate to buy a few extra votes—and they wouldn't even have to explicitly communicate, it would just take…
-
comment
Comment #15050516
Sounds like the system would be doing its job in that case.
-
comment
Comment #14234969
That translates fairly well into Python, with its set type and list/set/dict comprehensions. def setrange(first, next, last): return set(range(first, last+1, next-first)) fizz = se…
-
comment
Comment #14226601
http://imgur.com/a/JTKqT
-
comment
Comment #14181228
"Chat stories" with "comic-book inspired" young-adult plots, made to be read on mobile phones... Sounds like they've reinvented Japanese cell phone novels[1]. Sci-fi/fantasy YA plo…
-
comment
Comment #13988288
From the Google Maps & Earth Help Forum[1]: > Why does Google maps use the inaccurate, ancient and distorted Mercator Projection? > Maps uses Mercator because it preserves angles. …
-
comment
Comment #13673085
Apparently those are names for 50 and 100 BTC. From this presentation[1] or the source code[2]: 1 Lovelace = 1 Bitcoin 1 Goldwasser = 10 Bitcoin 1 Rackoff = 25 Bitcoin 1 Pedersen =…
-
comment
Comment #13441907
"Unambiguous" is not the same as "trivial". C code generally reads left to right, so a trivial syntax for declaring, say, an array of const pointers to functions that take a const …
-
comment
Comment #13362136
There may still be conference rooms and auditoriums with VGA-only projectors in 2027.
-
comment
Comment #13274945
I'm all for some kind of social support system to help people through automation. Unemployment benefits, basic income, subsidized retraining, those have their merits. But how does …
-
comment
Comment #13144439
Effectively legal? It is legal. I can privately crawl the web for all references to "John Doe", "johndoe.com", "/u/johndoe28", etc, and save them, because it's all content that Joh…
-
comment
Comment #12675981
TempleOS already does this. ("This" being "no virtual addresses".)
-
comment
Comment #12674784
If you can rely on the developer to use gotos in clear patterns like that, then great. But if there is a recognizable pattern, it's an opportunity for the language to provide an al…
-
comment
Comment #12572454
"Everything is linear if plotted log-log with a fat magic marker." — Mar's Law
-
comment
Comment #12462041
That's a false dichotomy, especially since they're getting more flak for deleting the controversial photo than they would have for removing it. It's pretty easy to distinguish betw…
-
comment
Comment #12438711
But Ctrl is easier to figure out from context, since it's a multi-character Googlable symbol that's even printed on the key.
-
comment
Comment #12418062
That cursor bug has bothered me on Xubuntu 16.04. I didn't realize how old it was. Is there a workaround besides "awkwardly save your work and restart using the keyboard and an inv…