Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
enhray
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
enhray
4y ago
No piece of art exists without context. With AI there is no context, no meaning, no relevance. A pretty image by itself is just that - a bunch of bytes displayed on device of your choice.
2.
▲
by
enhray
4y ago
There are also such things as art direction, vision, and style. Even if AI can mimic style with style transfer, it will never achieve greatness this way. You can apply an AI-powered “Starry Night” filter to any picture, but do you really th
3.
▲
by
enhray
5y ago
There's nothing "on par" when it comes to C/C++/C#, and these three languages are still quite big in non-web world.
4.
▲
by
enhray
5y ago
For C/C++ on Windows and Linux. CMake build support and cross-platform builds and debugging are available out of the box with Community version of VS.
5.
▲
by
enhray
5y ago
Native macros were never supposed to be used that way. If anything goes wrong, you still have to deal with that, and no IDE will save you from having to invoke your compiler with “preprocess-only” flag to see what you’re dealing with. Been
6.
▲
by
enhray
5y ago
The C preprocessor is definitely ill-suited for metaprogramming, but it was never the C way, was it? The traditional way to do any kind of meaningful metaprogramming in C is just a printf() to a .h or .c file which then is included to your
7.
▲
by
enhray
6y ago
This is a great idea! However, I highly doubt that they will disclose this information.
8.
▲
by
enhray
6y ago
Switching to a personal email domain and another credit card did the trick, at least with the DigitalOcean.
9.
▲
Tell HN: DigitalOcean, Linode refuse to create new accounts with FastMail email
13 points
by
enhray
6y ago
|
7 comments
10.
▲
by
enhray
6y ago
Theoretically, someone could exploit a vulnerability in the SS7 [0]. I’m not sure how common these are in the wild, but it had happened before. [0] https://en.m.wikipedia.org/wiki/Signalling_System_No._7
11.
▲
by
enhray
6y ago
Ruby? Of all of the scripting languages out there, I find most suitable to write small scripts to transform complex text to something more suitable.
12.
▲
by
enhray
6y ago
An example to prove your point: Flipboard determined that our current rendering engine was too slow for their needs and implemented their own rendering engine on top of ours while retaining the rest of the browser infrastructure. [0] https
13.
▲
by
enhray
6y ago
Beware the m_pszSlipperySlope [0]. [0] https://en.wikipedia.org/wiki/Hungarian_notation
14.
▲
by
enhray
6y ago
I think it’s the other way around. Instead of redefining operator new() to allocate from an arena, user allocates memory from the arena and then constructs instance there using placement new.
15.
▲
by
enhray
6y ago
SQLite has “virtual tables” feature [0] which was designed exactly for this use-case. Edit: and that Facebook project is called OsQuery [1]. It was built on top of SQLite virtual tables and is listed in their implementations list. [0] http
16.
▲
by
enhray
6y ago
Why do you want it in C? What are your use cases? I’ve always thought that idiomatic C for constexpr would be to write the code you want to be executed at compile-time in a separate file(s), build it, execute and then #include the result in
17.
▲
by
enhray
6y ago
I don’t think that this bugginess is an inherent property of these languages, because there are other practices that could lead to reduction in total bug count and severity, apart from integrating additional tooling. Out of curiosity, how m
18.
▲
by
enhray
7y ago
I’ve heard horror stories about reference counting performance cliffs caused by avalanche deallocations, which are hard to predict.
19.
▲
Prince Rupert's cube
(en.wikipedia.org)
126 points
by
enhray
9y ago
|
40 comments
20.
▲
by
enhray
9y ago
This is a very good intro to K-D trees, big thank you to the author. However, I think that a three-dimensional lookup table would be more performant in this case. 16M (256^3) of entries are needed to cover RGB color space with 8 bits per ch
21.
▲
by
enhray
9y ago
When I started dabbling in programming languages design, Parsing Techniques - A Practical Guide was invaluable for me. I cannot recommend this book enough. First edition is available for free from one of co-authors site [0]. [0] https: