Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Roboprog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
781.
▲
by
Roboprog
10y ago
Good point. But assume if you run a series of tests on the same file, it's in RAM. (discard the time of the first run or two, assume data source - network, DB, file - makes access time moot)
782.
▲
by
Roboprog
10y ago
Indeed. Flip it around: Go-lang comes with CSV support in the standard library, whereas Java requires you to get something like the Ostermiller utilities or an Apache library.
783.
▲
by
Roboprog
10y ago
I wore the clutch out on the first manual I had in just over 6 years (too much slipping out slowly, I'm sure). After that, it went another 15 years or so before other reasons made the clutch/tranny life moot. Replacing a clutch
784.
▲
by
Roboprog
10y ago
The CVT in my wife's Honda is surprisingly good. No "sag and surge" due to shifting. It just keeps going (with an engine RPM proportional to the throttle amount) as you hit the freeway onramp. Her car has a bigger engine th
785.
▲
by
Roboprog
10y ago
Also, good point about the seeming terror at the prospect of EVER deviating from the proscribed Enterprise Design Patterns (embodied in crappy trendy library of the day) to do such "crazy" things as perhaps write your own abstrac
786.
▲
by
Roboprog
10y ago
Well said. I spent hours yesterday setting up a bunch of ORM make-work, rather than getting a connection to the DB and just doing a bloody query, for a "spell check" function. All I needed to do was get the intersection of the se
787.
▲
by
Roboprog
10y ago
Likewise, beside custom "directives" (tag libraries) being a bit complex at first. Otherwise, you just start with a page mockup, then progressively refine it by loading some scripting and view models for the data entry or variabl
788.
▲
by
Roboprog
10y ago
And not so much care for the transpiler hoop jumping routine.
789.
▲
by
Roboprog
10y ago
Or just use Javascript as-is, with perhaps Node.js or Nashorn on the back end. But I actually like Javascript.
790.
▲
by
Roboprog
10y ago
The hard, but very useful, test would be getting a largish random sample of noobs and seeing which framework lets you write code the fastest. Unfortunately, that's an expensive test.
791.
▲
by
Roboprog
10y ago
I wouldn't count on getting much more kWh into lithium. But the batteries probably will degrade slower in the future.
792.
▲
by
Roboprog
10y ago
That won't fly, once you are out of the warranty period.
793.
▲
by
Roboprog
10y ago
Sacramento has their own utility district, "SMUD". In the neighboring counties, we have PG&E. I talked to a coworker in Sac. His highest "tier" price is about my lowest tier. Marginal cost in the upper tiers is i
794.
▲
by
Roboprog
10y ago
Thanks, man, that was good for a laugh. Definitely wiped out any memory of "canonical" chord progressions from my recent auditory memory. It's like "bulk erase" for auditory memory :-) (I guess I'm more of a
795.
▲
by
Roboprog
10y ago
You want time signatures? I'll give you time signatures :-) https://www.youtube.com/watch?v=4e14ublpOG8 (Rush, La Villa Strangiato live) In fairness, "listening" music and dance music are different beasts, t
796.
▲
by
Roboprog
10y ago
This makes a good case for having both some "core hours" for sharing, and some "crank stuff out" time.
797.
▲
by
Roboprog
10y ago
If they are fair and honest about this (not handing out 40 or 50 hours work and calling it 30), I think that 4 days * 8 hours per week would be pretty nice. I did a 4 * 10 job one summer when I was a teen. It was REALLY nice to have Friday
798.
▲
by
Roboprog
10y ago
> the GUI isn't the most important aspect of it. Well, if I restrict my scope to the rich web client ("SPA") style work I have mostly been doing for a bit over a year, it is. In fairness, that's because there is a ba
799.
▲
by
Roboprog
10y ago
Thanks for the follow up. I don't expect a particular order if I spin through the contents of a set, but it hadn't occurred to me how expensive it might be simply to get the sequence. This makes a good example of when "pol
800.
▲
by
Roboprog
10y ago
Cool. Not saying it was an "inappropriate" title, just that it was about a particular implementation.
801.
▲
by
Roboprog
10y ago
That, and C++ just isn't my cup of tea. Meyer's "Effective C++" book convinced me of that quite some time ago. If I was in the video game industry, I guess it would be the only game in town though. Glad I'm not.
802.
▲
by
Roboprog
10y ago
Simple rule of thumb: Don't Repeat Yourself. If part of the data structure is accessed in multiple places, create a wrapper routine (or even an object/class) around it. Otherwise, if it's in one place, perhaps "You Ar
803.
▲
by
Roboprog
10y ago
REPENT!!! :-) Yeah, get shit done, YAGNI, and all that. If needs wrapper, make one for repeated access types. If needs one or more bonafide objects for passing around, updating, and general good behavior, the make them as needed. Otherwi
804.
▲
by
Roboprog
10y ago
I can't stand the development style that takes takes the associative array values from a web action (POST, JSON parameter...), creates a custom class code, dutifully copies stuff into it (with varying degrees of library support and man
805.
▲
by
Roboprog
10y ago
Suggested title: "Why you shouldn't use set in C++ STL, ..."
806.
▲
by
Roboprog
10y ago
Interesting. Yeah, performance tuning is a deep well to fall into :-) Measure, measure, measure. How (memory) expensive is the element-matches check (can the array bound or address of final element stay in a register)? How often does the
807.
▲
by
Roboprog
10y ago
Uh, OK: "Is x a duplicate?" -> "Do you contain x?"
808.
▲
by
Roboprog
10y ago
Indeed. Most "enterprise" Java code just makes my almost cry when I have to read it. WET is the order of the day. I've been doing mostly front end JS work the last year (as opposed to dabbling), and whenever I have to go ba
809.
▲
by
Roboprog
10y ago
Some libraries are quite useful. Others are strait from the desk of The Ministry of Silly Walks, requiring an obscene amount of facading, adapting and what have you.
810.
▲
by
Roboprog
10y ago
Unless "The Moties" send one here, first :-) Yet another comment plugging a story involving some novel interplanetary travel (this one involving a species from a red dwarf): https://en.wikipedia.org/wiki/The_
More ›