Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Roboprog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
661.
▲
by
Roboprog
10y ago
I ended up with a book, back in the late 80s, called (I think) "C, An Advanced Introduction". To me, the K&R book was just too "circular", as the authors were too close to the subject.
662.
▲
by
Roboprog
10y ago
One other C inspired tragedy: WHY, OH WHY, did they insist on putting identifier names AFTER (most of) the type information??? Algol had it right, why screw it up? I guess it doesn't matter if your (optional) type is word^H^H^H^H in
663.
▲
by
Roboprog
10y ago
It's a shame Modula wasn't available until the early 80s (as far as I know), but unfortunately, you are right. C is vastly preferable to writing assembler on multiple platforms, though. The real tragedy is IT Managment(TM), whic
664.
▲
by
Roboprog
10y ago
Maybe I'm missing something, but I think Pascal "TYPE" blocks and C "typedef" statements do pretty much the same thing. (they don't look the same, but you can use either to define record/structure types or
665.
▲
by
Roboprog
10y ago
It only takes one "sociapath". https://en.wikipedia.org/wiki/The_Killing_Star Warning: the "Plot Threads" section has spoilers.
666.
▲
by
Roboprog
10y ago
How does var/hoisting get in the way of that, or at least, that particular, construct? FWIW, that would also be a nice "for" loop :-) var el for ( el = document.getElement... ; el ; el = el.p
667.
▲
by
Roboprog
10y ago
I think the semicolon requirement is more for broken minifiers than actually making the unpacked code clear/correct. But that's just me, I guess, as I have worked with many line oriented languages, and have no reverence for C syn
668.
▲
by
Roboprog
10y ago
C and its descendants does have a somewhat "broken" case statement. Pascal's was much less error prone. Putting in semicolons won't make the language NOT terminate a statement if you split a line in the wrong spot. (I
669.
▲
by
Roboprog
10y ago
I get "const", but is "let" really that big a deal? Are your functions so deeply nested that you need block scope inside of if statements and for loops? (vs forEach callbacks or IIFE blocks or simply splitting complica
670.
▲
by
Roboprog
10y ago
I'm pretty sure the "core" reference refers to the "FP with OOP" core based on Scheme and Self, which is one of the best things about the (JS) language. Alas, "The Management" demanded that it be dressed u
671.
▲
by
Roboprog
10y ago
Love me some Erlang, er, "OTP". I'm pretty sure the video would violate the "code of conduct" at our local JS user group, though.
672.
▲
by
Roboprog
10y ago
I know. I was joking about a coincidence, as well as pointing out some of the largest response groups. The "tried X and would do it again" add up to over 100%, so some people had more than one tool for favored for different sit
673.
▲
by
Roboprog
10y ago
At least in Angular, I can make a template in a directive for styles, which solves the "put repeated stuff in a variable" problem, without bringing in yet another tool. (use a string for the template, not a file)
674.
▲
by
Roboprog
10y ago
It's got the Microsoft Seal of Approval(TM)! Yeah, doesn't mean much to me, but it does guarantee you can get tools that are compatible with it.
675.
▲
by
Roboprog
10y ago
Some interesting things on the "Front End Frameworks" page: * 53% of the respondents used React, and would do so again. * 47% use "No framework", and would do so again. (hmm. that doesn't leave much room, unless yo
676.
▲
by
Roboprog
10y ago
I think Kim Stanley Robinson's R/G/B Mars series covered a workable Mars calendar in detail, FWIW. https://en.wikipedia.org/wiki/Mars_trilogy It's interesting that the recent SpaceX announcement of
677.
▲
by
Roboprog
10y ago
Fair enough :-) I missed the part, though, where there was some "learning"/"adjusted predication" in the interpolation function(s), rather than just a fixed calculation such as a literal linear interpolation. I wa
678.
▲
by
Roboprog
10y ago
Interesting image "upscale" algorithm. I'm not familiar enough with the field to understand how the "neutral net" part feeds in, other than to do parallel computation on the x-pos, y-pos, (RGB) color-type-intensity
679.
▲
by
Roboprog
10y ago
Sure, denormalize working storage in the app, fight to keep the "system of record" / "operational data store" clean.
680.
▲
by
Roboprog
10y ago
Hmm. So just make a request for "(my) messages since timestamp-x" from a client, build the join-query between "message rooms for me" and "messages since timestamp-x" on the server, then send a list of messages
681.
▲
by
Roboprog
10y ago
Thus my fear and loathing of "ORM". Service gets rows from table - essentially a set of name-value pairs or N sets of similar name-value pairs. Service writes data to consumer as JSON - also name-value pairs. We could just (usu
682.
▲
by
Roboprog
10y ago
META: When did we all start saying "performant", instead of "fast [enough]"? Was it about 5 years ago??? Maybe 10? English, like SQL, is passe`.
683.
▲
by
Roboprog
10y ago
Other application? There is no other application, old man. What you talkin' 'bout? ... (2 years later) ... Oh, now I get it!
684.
▲
by
Roboprog
10y ago
Make Jiffy-Lube do it every few months. Just like the window fluid :-)
685.
▲
by
Roboprog
10y ago
Is it just selection bias from posted links on HN, or has the PostgreSQL team been doing many (feature) releases lately? Sounds good!
686.
▲
by
Roboprog
10y ago
Then there's a "nuance" aspect you could use: maybe we do want a hierarchical model -- in a "middleware" level, for a specific app, just not for the operational data store used by multiple applications. But you
687.
▲
by
Roboprog
10y ago
E.g. - "No-SQL" reeks of the "Codasyl" model from the 60s, which relational databases replaced for good reason, whether or not Structured Query Language is the only way to interact with the tuples/tables. https:&#x
688.
▲
by
Roboprog
10y ago
Soooo.... Tomato pickers it is! :-) Good counterpoint, liked both this and the grandparent comment. Ouch.
689.
▲
by
Roboprog
10y ago
I suspect I will do much more of that after I retire. It's hard to motivate myself to spend much time on most such activities now. Now saying you don't have a point, just how the day flows sometimes.
690.
▲
by
Roboprog
10y ago
The "intellisense" crowd always kills me with this: I don't really know what this does, but the IDE suggested it and I'm just going to run with it! What could possibly go wrong? This is of course less ridiculous if some
More ›