Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yokohummer7
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
yokohummer7
11y ago
To me, while D fixes many warts of C++, D is still too similar to C++ to justify the change. It still has implicit numeric cast, exception unsafety and strange behaviors.[1] In addition, the D authors are generally opposed to disciplined ap
92.
▲
by
yokohummer7
11y ago
If deleting some rows is not feasible, I would even suggest special-casing the page and making it redirect to the 404 page, even though the user data would be still there. I mean, do somethimg. Seeing the issue not resolved even after the f
93.
▲
by
yokohummer7
11y ago
I wonder why they didn't fix the plus sign.
94.
▲
by
yokohummer7
11y ago
It seems that the author is following his own lesson faithfully: https://www.reddit.com/r/programming/comments/3r3m6q/please_...
95.
▲
by
yokohummer7
11y ago
But... but... they are YC-funded. People with such a childish attitude should have been filtered earlier. :( Anyways, I don't think I would sign in to their site anymore. It is unfortunate that one of the YC companies doesn't feel
96.
▲
by
yokohummer7
11y ago
It is also interesting that only the second line has a plus sign at the end. I'll have to infer the meaning of that.
97.
▲
by
yokohummer7
11y ago
What on earth is this? Is this something like a joke?
98.
▲
by
yokohummer7
11y ago
We're all here to exchange each other's opinions. If you don't feel like listening to others' opinions, why are you here in the first place?
99.
▲
by
yokohummer7
11y ago
Please not this again. The article you mentioned is incorrect in many places, and was heavily criticized in various communities.[1][2] It doesn't qualify as a valid criticism. It is rather a badly written static analyzer promotion. Als
100.
▲
by
yokohummer7
11y ago
> The big difference with stuff like GC and re-writing stuff in go slowing the compiler time is that they are not inherent to the language. Actually, I think GC is inherent to the language, and that's why I listed it as one of the t
101.
▲
by
yokohummer7
11y ago
This is a typical instance of solving language issues with excessive tooling. I find it uneasy that we will be reproducing all the baggage Java required us in a different language. And even Java didn't have mandatory imports.
102.
▲
by
yokohummer7
11y ago
The reason why I think generics are relevant to point 4 is that generics can be thought as "first-class interfaces" which seem to be wanted by the author. Yes, the author suggests a method that is not acceptable to my taste (impli
103.
▲
by
yokohummer7
11y ago
Sorry to bring up this yet-another-generics-ranty-thing, but actually point 4 is a typical issue that can be nicely solved with generics, by defining a function that works on every type that implements Foo. In this way you can directly pass
104.
▲
by
yokohummer7
11y ago
If you place environment variables in ~/.bashrc, it would work. However, generally they are placed in ~/.profile which is read only when a login shell is launched. (And ~/.bashrc is not even read when you start a GUI sessio
105.
▲
by
yokohummer7
11y ago
That's a neat trick, thanks for pointing me out. I've always wondered how Windows could have accomplished that. It's a shame that Linux doesn't have such an equivalent. If we are to do the same thing in Linux, a login sh
106.
▲
by
yokohummer7
11y ago
What's worse, Linux (or Unix) requires the user to re-login to make the changed environment variables take effect. Whereas in Windows they are applied immediately, so you don't have to re-login after changing PATH.
107.
▲
by
yokohummer7
11y ago
I feel embarrassed while reading your comment as a Rust proponent... Promoting Rust is great at times, but this particular article doesn't really have anything related to Rust. It is true that Rust was much influenced by OCaml, but the
108.
▲
by
yokohummer7
11y ago
Not yet, because Let's Encrypt doesn't provide wildcard certificates as of now. This may change in the near future, though. Also note that free single domain certificates have been available from StartSSL for a very long time, but
109.
▲
by
yokohummer7
11y ago
This is exactly the case that the problems of a language are solved by tooling. This attitude can be easily found in the Java ecosystem, where the answer to every question is "to use IDE". Interestingly, Java recently abandoned th
110.
▲
by
yokohummer7
11y ago
C is clearly not done, actually. Both C99 and C11 added, deprecated, and even removed many features. You can run C in the 70s not because it didn't change, but because it retained backward compatibility. It will be pretty surprising if
111.
▲
by
yokohummer7
11y ago
> no default parameter values Hearing this leaves a bad taste in my mouth, because one of the (mis)features I've found in Go is its implicit default value in struct initialization. In Go, you don't get a compile error when you
112.
▲
by
yokohummer7
11y ago
Type systems are a burden because (a) a programmer needs to think of the types he or she should design, (b) a programmer needs to actually utilize those types to write his or her program, (c) they can only act as a safety net.
113.
▲
by
yokohummer7
11y ago
I interpret "wat" in the original "wat" presentation as "certain behaviors that can't be predicted by reading the code". In this regard, I don't think many things pointed out in the article can be con
114.
▲
by
yokohummer7
11y ago
If that were the sole reason, it should have been fixed when introducing Python 3. It seems to be much less controversial than other breaking changes in Python 3. I think the more important reason is that Python doesn't really have an
115.
▲
by
yokohummer7
11y ago
I believe many others feel differently, but personally, I find the Go mascot a bit scary . Dunno the reason, but it's something that I can't easily get used when reading the articles on Go. FWIW, Russ Cox's GitHub icon[1] is
116.
▲
by
yokohummer7
11y ago
The page renders well in my browser, and lookup at the generated HTML there doesn't seem to be something suspicious... Maybe one of the fonts doesn't render in your browser?
117.
▲
by
yokohummer7
11y ago
> which for the most part seem like it wouldn't involve a ton of work This is probably the reason why our opinions vary. I believe rewriting existing libraries to be safe would be a tremendous amount of work. This estimation comes
118.
▲
by
yokohummer7
11y ago
Like I said somewhere, a safe subset of C++ sounds wonderful at first, but it also has demerits: - If you enforce memory safety to all of your code, the number of the libraries that you can use will be severely limited. Imagine if you can o
119.
▲
by
yokohummer7
11y ago
As a Rust proponent, the reasons listed in this article match my sentiment surprisingly well, although the author seems to think Rust isn't ideal for my use cases. I'm also from Python, which I've used for more than 10 years,
120.
▲
by
yokohummer7
11y ago
That's interesting. I've only made some toy extensions for both Chrome and Firefox, and I've got an impression that Firefox's extension model is somehow more "powerful", and Chrome's is a bit limited. But
More ›