Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Roboprog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
481.
▲
by
Roboprog
10y ago
To me, most of the JVM languages have 2 similar problems with the "defaults": references are optional, rather than mandatory; objects are mutable, rather than immutable. It's past time for a language that makes it's ref
482.
▲
by
Roboprog
10y ago
Welcome to Sacramento :-(
483.
▲
by
Roboprog
10y ago
I only know one person at a local meetup who is a fan of the language. He makes a good point that it does generate binaries that work on Android, though. (since the newer Android SDK is based on Intellij, I guess that's not too surpri
484.
▲
by
Roboprog
10y ago
FWIW, I did a presentation on Lombok at the local Java user group recently: https://docs.google.com/presentation/d/1XouaIJ5d3CaqEW87Fpup... It's a nice tool.
485.
▲
by
Roboprog
10y ago
Likewise - there are at least 4 F-keys I regularly use: rename, find-usages, step-over, step-into. Much of what my IDE does is accessible via vi/vim key bindings (e.g. - ctags like "go to definition" key combo), but I still
486.
▲
by
Roboprog
10y ago
I think for a "titanothermal" system, you use the right density hydrocarbon as the working fluid in the "boiler", and 3-D print the components out of H2O :-) Except water ice isn't a very good heat conductor, so the
487.
▲
by
Roboprog
10y ago
I read it. It assumes mutable OOP. Yes, "those people" need a safe place to play so they don't hurt themselves :-) (I'm ignoring the error handling thing, as I have not done enough server side JS to have a good feel fo
488.
▲
by
Roboprog
10y ago
OOOOO KKKKKK. I didn't notice the login name. Cool. Yeah, he's discussed a few stories about colonization, either by robots or scattered humans (via an AI singularity).
489.
▲
by
Roboprog
10y ago
Sorry, No. It takes 3(O2) molecules to combust a CH4 molecule. 3(O2) + 6(H2) generates more heat.
490.
▲
by
Roboprog
10y ago
You had it with the fusion reactor. Manned exploration of the solar system is pretty much contingent on having fusion power. Once we do that, we can create constant thrust engines as well as light up greenhouses where ever. At least, tho
491.
▲
by
Roboprog
10y ago
Negative. But storing liquid H2 is hard, vs (CH2)n. Carrying around O2 and Propane is easier than putting a nuke on wheels.
492.
▲
by
Roboprog
10y ago
So, your biggest problem in a reactor cooling pool is "lead poisoning", eh? :-) Anyway, worth pointing out that cosmic rays are little groups of neutrons (and adjoining protons). I don't know about the half life of the re
493.
▲
by
Roboprog
10y ago
A magnetic field (Van Allen belt, or analog on other bodies) deflects lighter charged particles better than heavier ones (with a greater mass-to-charge ration). E.g. - helium ions (alpha particles) vs iron nuclei as mentioned in the articl
494.
▲
by
Roboprog
10y ago
But people do live near the north pole. If the tech becomes cheap enough, a few people would live on Antarctica, as well (political boundaries and policies permitting). If it's possible, a few people will go just about anywhere. Is
495.
▲
by
Roboprog
10y ago
OK, gotcha. Somehow, I thought "strategy" was more general than just a single method/function to plug in. (confession: I have the GoF book, but don't remember every section) I think one of the best points PG (of YC) ev
496.
▲
by
Roboprog
10y ago
Part of the problem is education. Back in the day (70s, early 80s), many people were tackling hard computer problems (formerly known as "AI") with languages like Lisp (Scheme, et al), rather than Simula 67 (C++, Delphi, Java, et
497.
▲
by
Roboprog
10y ago
One of the main benefits of OOP is of course "polymorphism" (abstract base classes, interfaces), so naming any concrete class a "strategy" does seem a bit redundant. From what I have read by/about Kay, it sounds lik
498.
▲
by
Roboprog
10y ago
Algol (1960s) had no garbage collection (that I know of), so any "closure-like" data captured by a function/procedure reference had to still be on the call stack. Otherwise, you certainly had first class functions, just not a
499.
▲
by
Roboprog
10y ago
To be honest, I seldom used lint, either, when I was starting out (although I suppose I cheated by using the Borland IDE in the early 90s). However, when using gcc in the mid to late 90s, it was just too easy to tack on -Wall (enable all w
500.
▲
by
Roboprog
10y ago
... and it's been ages since I did any TK (tcl/tk) :-)
501.
▲
by
Roboprog
10y ago
Hello again, qwerty'. Thanks for stepping up on the JS issue :-) There are many good languages out there, "when used as directed". Alas, out here in the flyover country of Sacramento, there is really only demand for 3 kinds
502.
▲
by
Roboprog
10y ago
Nope, got about 1/3 to 1/2 in, and it started to seem repetitive. Good points, but needed editing.
503.
▲
by
Roboprog
10y ago
Cmd+tab (OSX) / Alt+tab? or Cmd+<back-tick> (OSX) / Ctl-tab? I tend to work more with the keyboard than the mouse, though. (a few things like web-browsers excepted)
504.
▲
by
Roboprog
10y ago
An excellent intro, easy to follow. Reading this, and comparing it to the (Java) Spring/JPA/ORM stuff we're using at work is startling. Obviously, this demo has no security or business logic in it, just bare-bones HTTP <
505.
▲
by
Roboprog
10y ago
In fairness, it was a good book. But it's like combat training. You don't want to be in a combat zone. BUT, if you are, you had better know what you are doing. Most apps don't need this heartache.
506.
▲
by
Roboprog
10y ago
Yep. TypeScript !== JavaScript, but it's along a similar misdirection. Then there's "let". I guess it's not hurting anything, but how useful an addition is it, really? How many nested, non function, blocks you
507.
▲
by
Roboprog
10y ago
The worst part of the JS "enhancements" is trying to make it more like Java, rather than bringing it back to its Lispy + Smalltalky roots. I guess the assumption nowadays by The Management is that programmers are too stupid to lea
508.
▲
by
Roboprog
10y ago
Yeah, I bought a copy, but never really used it. Too much work on unix systems for me by that time. TP for Win and (DOS) TP before that were pretty good, though.
509.
▲
by
Roboprog
10y ago
And yet, I'm laughing. As you know, that was what we called the C preprocessor thing back in the mid 80s (as discussed in Uni - I never used it until about 1990)
510.
▲
by
Roboprog
10y ago
I would like to thank Mr Meyers for his Effective C++ book, back in the 90s. Said book for me was the tipping point with C++. Having used Borland Pascal-with-Objects, and read about Eiffel, that book confirmed for me, at least, that C++ w
More ›