Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kmontrose
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
61.
▲
by
kmontrose
14y ago
What about interface defaults prevents or precludes that hack/optimization? You have exactly the same information after all. For example (disclaimer, it's been a bit since I've touched these classes; but you should get the idea), an extens
62.
▲
by
kmontrose
14y ago
C# extension methods are used for considerably more than adding new methods to existing interfaces, though that is a valid use of them. They also don't require you have access to the source (anybody can write an extension method on System.C
63.
▲
by
kmontrose
14y ago
C# has had a notion of delegates since day one, and anonymous methods (like delegate(string foo) { ... } ) for 7-ish years. C# lambda expression syntax (the =>) are about 4 years old now.
64.
▲
Are you measuring your social sharing buttons?
(kevinmontrose.com)
1 points
by
kmontrose
14y ago
|
0 comments
65.
▲
by
kmontrose
14y ago
Stack Overflow always experiences a "summer lull", typically starting around March or April. Our best guess is lots of people taking vacations offsetting growth, on the 3 year graph you'll notice growth resumes sometime around September eve
66.
▲
by
kmontrose
14y ago
A good chunk of runes aren't available at 30, and you only have the full set at 60. I know that my skill set changed pretty radically on subsequent difficulty levels, the same tactics didn't work terribly well.
67.
▲
by
kmontrose
14y ago
The theory (a very sound one, based on internal observation) is that the strict "answers, not discussion" format is what attracts and retains high quality participants. I really strongly believe that it's an either/or proposition, you eithe
68.
▲
by
kmontrose
14y ago
You only pay for licenses over 4 OS and 2 SQL Server (or outright new ones) after graduating BizSpark. 2 SQL Servers (OS licenses are chump change by comparison) go a loooong way* too, as you're presumably scaling up rather than out. http
69.
▲
by
kmontrose
14y ago
Hmm, I'm not really sure how I'd pull off spriting if More were implemented in javascript. Maybe something with canvas and data uris, but file permissions would be really "fun". At Stack Exchange, we use dotLESS just fine without having to
70.
▲
by
kmontrose
14y ago
At work (Stack Exchange) we use LESS. LESS is pretty good, especially compared to plain-jane CSS. This is a fun personal project, I think it has some neat ideas and may be solid enough for actual use; so I wrote it up and open sourced it.
71.
▲
by
kmontrose
14y ago
That is gold. I laid down the first bits of this code a long time ago (first public commit 6 months ago https://github.com/kevin-montrose/More/commit/8392f0f4008fe7... ). Pretty hilarious to get bit by a subsequent April Fools.
72.
▲
by
kmontrose
14y ago
Works fine under Mono, so you can OSS the whole stack even on Windows. Frankly, especially with what Oracle's been up to lately, I tire of this style of .NET fear-mongering.
73.
▲
by
kmontrose
14y ago
Naming's hard, and sort of pointless to obsess over for a programming tool IMO. Especially when the conflicting tool literally predates the web (and me, for that matter). Of course, if a better name presents itself I'll run with it.
74.
▲
by
kmontrose
14y ago
Submitter didn't write the code, I did. Experimental was just left over from when it wasn't finished. Corrected the Github page. I will fix bugs (I doubt it's bug free, it's young code after all), and future development is conditioned on a
75.
▲
by
kmontrose
14y ago
If you go high enough up the inheritance tree everything goes back to java.lang.Object, so no. If java arrays were something completely distinct from objects (like the primitive types are/were) that would have been interesting, which is wha
76.
▲
by
kmontrose
14y ago
That's straight out of wikipedia. http://en.wikipedia.org/wiki/Java_version_history#JDK_1.0_.2... Java version naming is a bit confusing, especially retrospectively. Starting with the release of JDK 1.2 (which was the third release, after
77.
▲
by
kmontrose
14y ago
It's interesting, as they're a core language feature that isn't in the java.lang package. Obviously it's not harming anything that they're not.
78.
▲
by
kmontrose
14y ago
It's the class name for an integer array (int[]) in Java. There's code in the linked answer showing how to get at it.
79.
▲
Java arrays aren't (technically) in java.io, java.util, or java.lang
(programmers.stackexchange.com)
28 points
by
kmontrose
14y ago
|
11 comments
80.
▲
by
kmontrose
14y ago
A compelling product will make a mediocre name memorable, but not vice versa. My go to example for this is Google, the largest site in the world. It's a) a joke name b) that almost no-one knows c) and if you know it, it's misspelled! But
81.
▲
by
kmontrose
14y ago
ARC also requires you explicitly break cycles, and has additional "thinking overhead" (strong/weak on properties, no pointers in structs, and some void* magic iirc. It's certainly better than pure manual memory management, but it's not as
82.
▲
by
kmontrose
15y ago
Incentivizing duplicate finding is tricky: - rewarding with rep could convert answerers to closers * answering produces useful stuff, closing is (often) just clerical - over aggressive closing drives new users away * blatant laziness should
83.
▲
by
kmontrose
15y ago
Disclaimer: Stack Exchange employee, so grain of salt and all that. I'll address your thoughts in order. A lot of this is theory sort of stuff. - Badge/Reputation fragmentation is not only by-design, it's essential. It's non-obvious, but
84.
▲
by
kmontrose
15y ago
Uhm, no? I added the Facebook login option* to Stack Overflow, and I can assure you we don't really care which credential you use. We don't do anything different based on Facebook/non-Facebook creds. Go look at your app settings and you'll
85.
▲
Implementing "filters" in the (beta) Stack Exchange API
(kevinmontrose.com)
9 points
by
kmontrose
15y ago
|
0 comments
86.
▲
by
kmontrose
15y ago
http://blog.serverfault.com/2011/02/11/stack-exchanges-archi... We use Linux for caching, load balancing, routing, monitoring, etc. The web tier and databases are Windows.
87.
▲
Stack Exchange API V2.0 Public Beta Starts
(blog.stackoverflow.com)
12 points
by
kmontrose
15y ago
|
0 comments
88.
▲
by
kmontrose
15y ago
Anders isn't a huge fan of events, apparently ( http://channel9.msdn.com/Shows/Going+Deep/Anders-Hejlsberg-Q... , around 56:00). I always just initialize events with an empty delegate in personal projects, which is very much the wrong thin
89.
▲
by
kmontrose
15y ago
You can intern strings manually in .NET (I think you can in Java too), which effectively makes them ineligible for collection. There are serious memory concerns with that approach, since nothing in the tag engine is a constant. In C# you
90.
▲
by
kmontrose
15y ago
My understanding (from discussions with some Fog Creek devs who've done the mono dance for FogBugz) is that ASP.NET on mono is an awful lot of trouble, and doesn't run under IIS. http://www.mono-project.com/FAQ:_ASP.NET Seems to validate
More ›