Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ohyes
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
94 ms
·
811.
▲
by
ohyes
16y ago
What I would like to see is a way to separate the the syntax of my code from the semantics of my code. Ideally, my code editor should be able to take the same piece of code and display it in a few different styles of syntax. Then I could wr
812.
▲
by
ohyes
16y ago
If he's really going for optimization, he might consider passing in the 'ret' array rather than creating a new one each time. (Or even better, using multiple-values return to pass them stack allocated). It also might be good to use a macro
813.
▲
by
ohyes
16y ago
As someone who has education in science, but never 'got religion' as a child, I see atheism as the null hypothesis. One way of formulating it would be: "There is(are) no all-powerful supernatural entity(ies) which has(ve) influence over my
814.
▲
by
ohyes
16y ago
I think that is a transport layer, not a data structure.
815.
▲
by
ohyes
16y ago
This is interesting as a postmodernist critique of the ineffability of programming practice. You have on the one hand, techniques with gurus, certifications and thick tomes. Juxtaposed with this, a completely undefined process, just do it,
816.
▲
by
ohyes
16y ago
Sure, So pretty much he is saying that concurrency and parallelism aren't the same thing. (Which is kind of a 'duh' if you think about it). Parallelism is concerned with efficiency of the algorithm in a parallel environment. His example is
817.
▲
by
ohyes
16y ago
Please re-read. "It’s very easy to slip into the mindset of:" His point is that the procedure that he gives (in particular step 5) is the wrong one.
818.
▲
by
ohyes
16y ago
I don't know anything about the history of the wireless market, but it seems to me that it is locked up and (to some extent) capital intensive by virtue of the way that we regulate it. If you look here: http://wireless.fcc.gov/auctions/def
819.
▲
by
ohyes
16y ago
"The first is that power companies are regulated utility monopolies that have to respond to state governments." This isn't entirely true/relevant. The distribution network is regulated because (rightly) we don't want to have everyone runnin
820.
▲
by
ohyes
16y ago
I believe the answer is electromagnetic interference. Reactors produce many forms of electromagnetic radiation, not just the ionizing type. Also note, that machine vision was a big deal (for a while) in nuclear, because it would have meant
821.
▲
by
ohyes
16y ago
I have not done any reframing whatsoever. You never framed the conversation to begin with. You said, point blank, that composition is better than recursion in functional languages. Better. I called BS. How, exactly, then, do you define 'bet
822.
▲
by
ohyes
16y ago
thank you for correcting me, sometimes I just throw words about recklessly.
823.
▲
by
ohyes
16y ago
I've added a tail-recursive lazy version. It seems to be about the same amount of a speedup, with the nice addition of less memory use. http://paste.lisp.org/display/120386#3 I thought the 'better performance' of my other versions were sp
824.
▲
by
ohyes
16y ago
I wasn't sure if you were just obstinately dismissing my arguments, so I decided to do a benchmark and prove this to you. http://paste.lisp.org/display/120386 Here is the benchmark. I did two versions in clojure 1.2, the first one uses a
825.
▲
by
ohyes
16y ago
Yes the sequences are lazy, but that isn't really the point. The 'pack' function is still consing together unnecessary subsequences. The count function also has to iterate across each of these subsequences (assuming they are lists, which th
826.
▲
by
ohyes
16y ago
Except in this case, it is not better. His RLE example traverses the sequence twice and creates an intermediate structure. It works find for small examples, but what happens when you are doing 3x the work on your 1,000,000 item sequence? Th
827.
▲
by
ohyes
16y ago
The only problem with this is that then you would be negotiating on the merits of the entire group of employees, rather than the merits of your own work. If we take the 'order of magnitude of productivity' difference in programmers seriousl
828.
▲
by
ohyes
16y ago
social text is not a peer reviewed journal.
829.
▲
by
ohyes
16y ago
Some people find this disturbing and an indemnification of the humanities. (Being, as a whole, an intellectual fraud). I do not find this incident particularly disturbing, and I don't think it says much about the humanities. The journal in
830.
▲
by
ohyes
16y ago
I agree with you if we area talking about Hollywood movie prisoners. If you truly want to get fit, commit a felony.
831.
▲
by
ohyes
16y ago
> But every implementation does it differently. So don't use every implementation. Pick one. >Read the standard on pathnames. Versioned filesystems are a blast from the past. I have, what is your point? Most languages use string co
832.
▲
by
ohyes
16y ago
I can't speak about 2005/6, but as a CL apologist in 2011: My dad was doing TDD in common lisp in the 80s. Back then he just called it programming. A. The major releases support things like unicode, networking, packaging, threading, cbindin
833.
▲
by
ohyes
16y ago
"The Heretic: Specifically, he builds his case that the company is hopeless and run by a bunch of morons." Statistically speaking, the employee is probably right. But at most companies, building a case for this is an exercise in tautology.
834.
▲
by
ohyes
16y ago
Here's mine: 1. rtfm 2. think 3. read the relevant source code 4. put in some print statements or use stepper and inspect variables i am interested in (depending on the system). goto 1
835.
▲
by
ohyes
16y ago
This is brilliant! Now he can offer a vertically integrated night out. All he needs now is a motel next door or a cab service.
836.
▲
by
ohyes
16y ago
Or a programming language. We can measure 'level' in pointers. Then we'd have a practical application of the term 'three star programmer.'
837.
▲
by
ohyes
16y ago
I do not find the Mom argument particularly compelling. Humans are some of the best things at learning on the planet. (From reading HN, I'm starting to believe that I must be one of the blessed few with a Mom who is not a complete jackass).
838.
▲
by
ohyes
16y ago
The Michigan left would never work in Massachusetts because of the Boston Sweep (A maneuver in which you merge onto the roadway and rapidly change lanes from far right to far left, without signaling).
839.
▲
by
ohyes
16y ago
"The above code uses an IIFE (Immediately-invoked function expression) to produce a function with additional data" I'm probably being a mindless pedant, but... Having read the linked (Alman) article, I think this terminology is iffy at best
840.
▲
by
ohyes
16y ago
Isn't this kind of a self-fulfilling prophecy type situation. Older workers aren't relevant because the younger generation won't listen to them. The younger generation won't listen to older workers because older workers aren't relevant. I w
More ›