Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Peaker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
391.
▲
by
Peaker
13y ago
As far as I noticed it's just c-mode on Linux Mint.
392.
▲
by
Peaker
13y ago
I've had to revert back to emacs 23, because it seems emacs 24 has had a huge performance regression in its c-mode. Does anyone have any information about whether c-mode breakage in emacs 24 is a known/fixed issue?
393.
▲
by
Peaker
13y ago
Not all the alternatives: http://copy.com/ has a decent Linux client.
394.
▲
by
Peaker
13y ago
In such applications, I wouldn't even want to get the GC penalty, so I'd be constrained to a very small set of languages.
395.
▲
by
Peaker
13y ago
Most parts of most programs aren't performance centric and can take a hit. As evidence, see all the Ruby/Python programs that have constant penalties that go up to 200 in many cases.
396.
▲
by
Peaker
13y ago
> it's hard to think of any benefit to keeping the stale, no-longer-onscreen window around, Undo? No aliasing issues? Transactionality of the set of changes being done?
397.
▲
by
Peaker
13y ago
The lookup cost is O(logN). Why do you claim this is "usually unacceptable"? I think it is virtually always acceptable.
398.
▲
by
Peaker
13y ago
I wrote my own hash table[1], in the intrusive style, which puts the burden of checking for double insertion on the user. This allows me to do O(1) insert and delete and only rehash when expensive lookups due to collisions are encountered.
399.
▲
by
Peaker
13y ago
In the high tech sector? Definitely. The norm starts at 18pto for juniors and then it climbs up annually.
400.
▲
by
Peaker
13y ago
The US has a ridiculously low minimum for PTO and sick days. Israel has 12pto + 18 sick days iirc and I wouldn't work for an employer that gives so few days off.
401.
▲
by
Peaker
13y ago
Which company was it? They sound like they deserve the bad publicity. You might save someone else from ending up there too...
402.
▲
by
Peaker
13y ago
We're probably going to switch to a BSD license.
403.
▲
by
Peaker
13y ago
https://github.com/Peaker/lamdu/blob/master/config.json You can change it while Lamdu is running for immediate effect :-)
404.
▲
by
Peaker
13y ago
Our current thought is that single-parameter functions do not need an argument name. We might change a lot of our decisions later as we tune it for working with more realistic code.
405.
▲
by
Peaker
13y ago
That was a misleading sentence in the "Projucer" section, referring to Projucer. Fixed. Lamdu is open source.
406.
▲
by
Peaker
13y ago
How is Russia not giving fair trials relevant? You suggested he throw himself at the american system, which we both know won't give him a fair trial but will torture him and throw him to jail for the rest of his life whether he's
407.
▲
by
Peaker
13y ago
Do you want the NSA to keep on spying on US citizens without oversight, to turn over its data to US law enforcement for "parallel reconstruction"? Do you want to live in a total-surveillance society?
408.
▲
by
Peaker
13y ago
Well, the NSA collected more data on US citizens than the Stasi ever collected on Germans.
409.
▲
by
Peaker
13y ago
Do you really believe the court system works to determine innocence? Do you believe he would be guaranteed a fair trial? Do you think Manning got a fair trial? Do you believe that by taking refuge in Russia he's "propping up"
410.
▲
by
Peaker
13y ago
IIRC the ARM ABI for C actually uses an implicit output parameter for a returned struct - so it's identical to passing the output parameters manually.
411.
▲
by
Peaker
13y ago
Your edit is correct, thanks for the correction!
412.
▲
by
Peaker
13y ago
Everyone hates the name mappend but it's still more commonly used than <> which iirc is relatively recent.
413.
▲
by
Peaker
13y ago
You're wrong. Operationally , it is equivalent to: int x_1d[8300]; Where x[a][b] is x_1d[a + 83*b]; An array of arrays is contiguous in memory. There are no pointers involved until you take the (r)value of the array or one of t
414.
▲
by
Peaker
13y ago
Gilad Bracha sounds like he hasn't used a typed language long enough to stop struggling with basic type errors. As such, it is of a position of extreme ignorance that he speaks of the uselessness of type checking and inference. Claimin
415.
▲
by
Peaker
13y ago
The word is encode, not emulate. Native support isn't any more concise, in fact it is more verbose when partial application is involved. So why complicate the language with native support for a feature whose encoding on top of one argu
416.
▲
by
Peaker
13y ago
It seems to me type classes have a superset of the features of CL multimethods. Why not compare them?
417.
▲
by
Peaker
13y ago
We must have different ideas about what "practicality" is.
418.
▲
by
Peaker
13y ago
I've learned Monoid in Haskell, not maths. It's just so simple and easy that there's really no dumbing down necessary. Monad is simple and hard, but Monoid is simple and easy.
419.
▲
by
Peaker
13y ago
"let a b c = ..." doesn't suggest other semantics. It's saying: "a applied to b, and then applied to c, equals ...". Note Haskell makes an effort to have the LHS of definitions imitate the exact syntax of funct
420.
▲
by
Peaker
13y ago
This is a very valid critique, but I don't remember ever hearing that (except from Haskellers!)
More ›