Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kyllo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
116 ms
·
781.
▲
by
kyllo
12y ago
That's why it's especially scary--because of how opaque China's banking sector is, and how little we trust the numbers in their official reports, no one really knows. Some reports from earlier this year are claiming the bubbl
782.
▲
by
kyllo
12y ago
What worries me most is the fact that China has a massive real estate bubble and corruption in the real estate and banking sectors. RE Developers take out loans from the major banks at rock-bottom interest rates to build skyscrapers in town
783.
▲
by
kyllo
12y ago
They're basically equivalent, so just figure out whether you like Python or Ruby more as a language and base your decision on that. And meanwhile, also try to figure out whether you enjoy making CRUD apps, because that's what Rail
784.
▲
by
kyllo
12y ago
Add Amazon to that list.
785.
▲
by
kyllo
12y ago
Yeah, I always saw it as a strategic "me too" product investment in response to Amazon Kindle.
786.
▲
by
kyllo
12y ago
What if you were to post a photo of yourself using drugs to social media? Could the UK police arrest you for that? In South Korea they can and do arrest and prosecute people for photographic / recorded evidence of them doing drugs ev
787.
▲
by
kyllo
12y ago
Or like calling Chrome a "Javascript browser"
788.
▲
by
kyllo
12y ago
Exactly. Java is fine if you just write plain-old classes. It's when you overuse patterns and try to make everything hyper pluggable/configurable with XML-based dependency injection that it becomes a disgusting slog. I write Java
789.
▲
by
kyllo
12y ago
Java as a language not bad, but it's not good either. It's solidly mediocre. IMO the best thing about Java is the interfaces and libraries. When you want to reuse some else's code, just looking at the public methods and their
790.
▲
by
kyllo
12y ago
It is far more dangerous to let a poor candidate in Only if you're hesitant to fire poor performers, or your organization or legal environment make it difficult to fire them.
791.
▲
by
kyllo
12y ago
Oh god, this one hits way too close to home for me.
792.
▲
by
kyllo
12y ago
Spreadsheets also suffer from imperative creep. People try to use Excel spreadsheets for iterative work, which gets away from the declarative design. ...which is how we ended up with VBA macros.
793.
▲
by
kyllo
12y ago
Whoa, this is pretty horrifying: app code, queries and markup all mixed together, like typed-checked PHP. I know this is just a demo but "separation of concerns" does not appear to have been a concern. fun list () =
794.
▲
by
kyllo
12y ago
The fact you put the word "power" in scare quotes indicates to me that you don't understand what it means in this context. Here, have a pg essay: http://www.paulgraham.com/power.html
795.
▲
by
kyllo
12y ago
An anonymous inner class with only one method. The "inner" is important. It still has to exist inside of an explicitly declared class. Also, a variable holding a reference to a lambda function cannot be called as a function (no
796.
▲
by
kyllo
12y ago
Or C or Java programmers... i and j are still the convention in all the mainstream imperative languages.
797.
▲
by
kyllo
12y ago
No, they aren't. The only thing "first-class" in Java is classes. They added lambda expressions in Java 8 but they still must be defined inside of a class method. It is still illegal to define a function outside of a class in
798.
▲
by
kyllo
12y ago
First-class functions and closures are nice if you're coming from Java.
799.
▲
by
kyllo
12y ago
and who couldn't understand why x = 7 + 2 when x already was 10 That's a classic example for why functional programming can be a more intuitive paradigm than imperative programming.
800.
▲
by
kyllo
12y ago
Very cool, thanks for taking the time to explain! I recently learned how tries work so it was cool to see a real-world implementation like yours.
801.
▲
by
kyllo
12y ago
How does your radix trie implementation handle variables in the URL paths, in a nutshell?
802.
▲
by
kyllo
12y ago
I can see the potential benefit in that, if there are specific types of business rules that really need to be configurable by the users. However I think that if overused, this not only makes your system slow due to excessive string-comparin
803.
▲
by
kyllo
12y ago
Interesting application of the "rule of least power" to a Rails app. It kind of seems like code commenting on steroids--actually parsing the comments to execute the code that they describe. I'd be a little concerned about per
804.
▲
by
kyllo
12y ago
Runtime metaprogramming. In Python you can create new classes and add methods to existing classes at runtime. If you AOT-compile everything to assembly, you have to take away those runtime features, and then it's not Python anymore.
805.
▲
by
kyllo
12y ago
There's absolutely no reason you can't be fluent in JS, Python and Ruby. Just try Python for your next project, then maybe try Ruby for the one after that. Or perhaps a functional language like Clojure or Haskell. Each successiv
806.
▲
by
kyllo
12y ago
Database maker, ha. Oracle is a much bigger sales and service organization that swallowed up Sun.
807.
▲
by
kyllo
12y ago
The language and IDE flamewars happen because at work, other people make you use tools you wouldn't choose on your own, to write software you don't personally want or care about. You don't see sloppy Haskell because no one is
808.
▲
by
kyllo
12y ago
-Optimizing your JS for faster performance when mutating the DOM tree or some large array or object -Understanding how a client-side framework like Angular or React or Ember actually works, e.g. how a finite state machine works, how the DOM
809.
▲
by
kyllo
12y ago
It's not just that, they'll also sell you your competitors' trade secrets, labeled as "best practices."
810.
▲
by
kyllo
12y ago
IBM DB2. Bloated, clunky admin interface, outdated feature set, buggy JDBC drivers, no drivers available for many languages, unhelpful error messages. Would kill to have PostgreSQL at work instead.
More ›