Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jschrf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
jschrf
13y ago
As with most professional dealings, being honest and upfront is the best way to handle it. Hopefully your employer appreciates that. If they don't, then they are definitely not a good fit for you.
122.
▲
by
jschrf
13y ago
I haven't worked with Node myself, but you can find a definition file here: https://github.com/borisyankov/DefinitelyTyped/tree/master/n... Fly at it, I say.
123.
▲
by
jschrf
13y ago
I use TypeScript on a medium-sized (>50K LOC) single-page web application, as well as on some personal projects. The large project was ported over from JavaScript, which went quite smoothly. So far TypeScript has been great. Doing front-
124.
▲
by
jschrf
14y ago
Promises and Deferreds are anti-patterns, in my book. They pollute the call stack and explicitly introduce uncertainty. Why would you want to code against an object representing a thing that may or or may not be complete? Good software stri
125.
▲
by
jschrf
14y ago
Interesting. I'm no JVM expert but it seems like they will be leveraging the aforementioned MethodHandles and InvokeDynamic for speed gains with JS. I'm interested in how this will stack up to Rhino over the long term not just in performanc
126.
▲
by
jschrf
14y ago
The solution to all of this is incredibly simple but for some reason very few people seem to utilize it: State machines.
127.
▲
by
jschrf
14y ago
This is really cool, nice work. I really like the art style.
128.
▲
by
jschrf
14y ago
Thanks. I do build very JS heavy single-page web apps. Where I work we separate markup from code completely, and use MVVM to glue the things together. I've given an example above in reply to another comment. People who write business code a
129.
▲
by
jschrf
14y ago
Nice benchmark, but it misses the point. Yes, it's faster to create DOM elements in string form rather than one-by-one, attribute-by-attribute. However, creating DOM structure in code sucks. It's far better (and faster) to create markup and
130.
▲
by
jschrf
14y ago
I'm curious as to why numerous JS frameworks create DOM structure via string concatenation, or by putting markup in script tags. That's an automatic fail, in my books. No matter how interesting or useful a JS framework looks, I just can't g
131.
▲
by
jschrf
14y ago
Excellent article, thank you for sharing. As someone who has implemented a WS server and client and would like to be able to host them in Amazon's cloud, the notes about ELB are worrysome.
132.
▲
by
jschrf
14y ago
You might want to have a look at the new .NET Web API if you're planning on leveraging existing code: http://www.asp.net/web-api Good luck!
133.
▲
by
jschrf
14y ago
If I were you I would see what could be salvaged. Can you rescue a bunch of business objects, data access code, etc.? If the code was written in a half-way competent manner, it shouldn't be too tightly coupled to ASP.NET. If there is a subs
134.
▲
by
jschrf
15y ago
A very valid question, haha. JavaScript is full of mysteries.
135.
▲
by
jschrf
15y ago
You could use it as a Firewall
136.
▲
by
jschrf
15y ago
I don't think the difference between multi and single (mouse) touch is a huge problem to overcome. There's no game-breaking technical challenges to develop solutions that bridge touch and mouse+keyboard interfaces. When you have a mouse and
137.
▲
by
jschrf
15y ago
Nice summary. Two things that I find to be very nice/cool when developing for Android: - As mentioned in the article, applications are bundles of components and have no specific entry point. To be more accurate, they have multiple entry poi
138.
▲
by
jschrf
15y ago
Very cool!
139.
▲
by
jschrf
15y ago
Sure thing.
140.
▲
by
jschrf
15y ago
Looks good. I'll give it a try, thanks. One problem I have is dealing with viewing my Comet connection (long-lived XHR). I stream JSON to the browser and Fiddler picks up and is able to display all this data, but prevents it from being rece
141.
▲
by
jschrf
15y ago
I love the simplicity provided by a good REST API. ESRI's REST platform is a good example of a nice, clean API. Very easy to diagnose and resolve issues, especially with tools like Fiddler. A really nice feature to have in a REST API is the
142.
▲
by
jschrf
15y ago
Animals.
143.
▲
by
jschrf
15y ago
I think you mean "int argc" ;-)
144.
▲
by
jschrf
15y ago
I'm working towards an MVP that uses Java (on Android), C#, and JavaScript. It's interesting comparing and contrasting the languages while using them all at once. Java is a workhorse of a language. It's stable, gets the job done, and is rea
145.
▲
by
jschrf
15y ago
Suprised that reflection wasn't really mentioned outside of the concept of generics. Reflection in .NET (and C#) is extremely powerful and useful. All those other things that people have already commented on like Lambdas, expression trees,
146.
▲
by
jschrf
15y ago
Music video with footage of the jump, by Boards of Canada: http://www.youtube.com/watch?v=lrBZeWjGjl8
147.
▲
by
jschrf
15y ago
Agreed. Yes, it is easy to attack video game servers. Indie game servers even more so. If you want to DoS a server so that players can't die wool or smelt iron or hit pigs for porkchops, you should probably reevaluate what you're spending y
148.
▲
by
jschrf
15y ago
Best be cronning every minute or so, because unfortunately you can't rm on Apple's servers.
149.
▲
by
jschrf
16y ago
"Did you know that C# has: lambdas, closures, optional duck typing, first-class functions, better generics than Java, and type inference that is sometimes spooky?" I did know that, and these things heavily factor into why I default to C# fo
150.
▲
by
jschrf
16y ago
I use Eclipse a lot, as well as a sprinkling of other IDEs. I tend miss autocompletion too (support for generics and polymorphism? yes please) but the thing I tend to miss the most is the debugger. Nothing else even comes close.
More ›