Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jboy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
jboy
9y ago
He seems to be operating under 3 main delusions (with a healthy dose of caste-related inferiority complex mixed in): 1. Confusion about the differences (or even the fact that they are different) between copyright, trademark, and patent. He
2.
▲
by
jboy
9y ago
@dom96: what do you think about a Common Lisp-like "condition" system [0] in Nim? [0] http://www.gigamonkeys.com/book/beyond-exception-handling-co...
3.
▲
by
jboy
9y ago
Even though I don't like Go's explicit error handling, I think this is a very reasonable comment. I don't like Go's explicit error handling because (1) I think it clutters up your main code path with error-handling logic
4.
▲
by
jboy
9y ago
I've never used the JS backend or C++ backend, so I can only talk about the C backend. With the C backend, the Nim code is transpiled to C code (surprisingly readable C code, as far as auto-generated C goes), which is then compiled to
5.
▲
by
jboy
9y ago
Can you provide any more info about your project? Maybe my startup http://objectai.com/ could be of assistance. (My email address is my HN username @ my startup domain, if you'd prefer to discuss over email instead.)
6.
▲
by
jboy
9y ago
Nice work! My startup http://objectai.com/ has just launched something similar, Pizza Photo Editor: https://pizza.pics/ Pizza Photo Editor is still early-stage -- we're still adding features and increa
7.
▲
by
jboy
9y ago
I write my Nim code in Vim. I've never had any problems with auto-suggests. My Vim config for Nim can be found here: https://github.com/jboy/dotfiles/tree/master/vim (based upon https://
8.
▲
by
jboy
9y ago
Yes, my startup Object AI uses Nim code in production. We have in-house implementations of machine learning, computer vision & image processing code in Nim, using a library called "Nim-Pymod" to integrate with Python's N
9.
▲
by
jboy
9y ago
Sounds awesome! (to another wearer of 90s industrial band t-shirts) Which company?
10.
▲
by
jboy
10y ago
I think the parent's point was about whether the AlphaGo AI can generalize to a different board size (as a human player presumably can) rather than about what is the normal Go board size, or what board sizes are easier or harder. The p
11.
▲
by
jboy
10y ago
Fight Club meets Hackers meets American Psycho, with a soundtrack like The Social Network.
12.
▲
by
jboy
10y ago
Ah yes, good catch. I meant "statically-typed".
13.
▲
by
jboy
10y ago
Hi Marcus, have you ever taken a look at Nim? It's quite similar to Swift in several respects, but it has a primarily Python-like syntax (including indentation by blocks rather than braces) with bits of Ruby & others mixed in. Use
14.
▲
by
jboy
10y ago
Quite possibly! That's the extra dimension added to the experiment. :) It would be even more fascinating if you could cluster facial expressions or motions as "more female" or "more male". And for bonus points, wo
15.
▲
by
jboy
10y ago
I think it would be amazing if they could combine this voice-modulation technology with a facial motion capture technology (like in Avatar) to display artificial/shifting faces as well as voices. You could effectively create a compute
16.
▲
by
jboy
10y ago
There were two particular points in the article that strongly resonated with me: > But the problem is not confined to referendums: in an election, you may cast your vote, but you are also casting it away for the next few years. This sys
17.
▲
Why elections are bad for democracy
(theguardian.com)
4 points
by
jboy
10y ago
|
1 comments
18.
▲
by
jboy
10y ago
Agreed about using intermediate variables. What's better than comments to describe what the code does? CODE that describes what the code does. (Let the code describe WHAT the code does, and if necessary, the comments describe WHY the
19.
▲
by
jboy
10y ago
"Sometimes you must bow to existing convention" is indeed a reasonable point, so I suppose I should clarify/refine my position. If you're implementing an STL-like container in C++, then absolutely -- you should stick wit
20.
▲
by
jboy
10y ago
Some C++ programmers, perhaps. But I've just explained why `empty` & `clear` are ambiguous. Even if `empty` & `clear` can never be removed from the STL containers, there's no requirement that these ambiguous names must b
21.
▲
by
jboy
10y ago
This article is a good start, but I found it much too light on detail. Each section ended just when I was ready for it to dive into details! For example, in the final section "Make it easy to digest": > Using prefixes in nam
22.
▲
by
jboy
10y ago
Hi Andrea, as always, I'm very impressed by the diversity of high-quality, useful Nim projects you produce. :) I agree with the other posters that the multi-line [ ] syntax is not very beautiful or Nim-idiomatic. As @Nycto suggests, n
23.
▲
by
jboy
10y ago
Hey, I did something similar about 12 years ago! I'd tried the Dvorak keyboard layout and found that I liked the guiding design principles, but decided that the actual layout was a sub-optimal implementation of those design principles.
24.
▲
by
jboy
10y ago
... define decorator-like Nim pragmas that generate Python C-API boilerplate code for decorated Nim procs, to auto-generate type-safe, exception-safe, refcount-safe Python bindings for Nim? https://github.com/jboy/nim-p
25.
▲
by
jboy
10y ago
For anyone unfamiliar with Nim, I'll give a quick summary of Nim generics, templates & macros, in terms of C, C++, Java & Lisp: * Nim generics = parametrization-by-type of procs (functions) or other type definitions. Happens a
26.
▲
by
jboy
10y ago
It's also fascinatingly controlling that any new first names (first names that have not previously been used in Iceland) must be approved by the Icelandic Naming Committee: https://en.wikipedia.org/wiki/Icelandic_N
27.
▲
Icelandic names: children have different last names to their parents
(en.wikipedia.org)
6 points
by
jboy
10y ago
|
1 comments
28.
▲
by
jboy
10y ago
Vesting is absolutely not implied, expected, or required by the law. Regardless of common practice in YC companies or YC applications, vesting is not the automatic default mode in corporation law or contract law. If there is evidence of an
29.
▲
by
jboy
10y ago
OK firstly, consideration doesn't have to be "valuable". It has to have _nonzero_ value, but that value can famously be as trivial as "a mere peppercorn" [0]. Furthermore: "a peppercorn does not cease to be g
30.
▲
"Kara" (2016), an unofficial Star Wars film
(vimeo.com)
2 points
by
jboy
11y ago
|
0 comments
More ›