Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ssmoot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
73 ms
·
421.
▲
by
ssmoot
13y ago
.minor: Scala does this at a Source level IME. Which depending on your background may mean everything or nothing at all I guess. Most Ruby libs would claim to follow semantic versioning. I think it's also fair to say there are a lot mo
422.
▲
by
ssmoot
13y ago
The public API at the source level is very stable. I mean, my major touchstone is Ruby-land, and over there there's nothing like it. Even point releases of libraries or the language itself can and will routinely break your code. I'
423.
▲
by
ssmoot
13y ago
Maybe. But it feels like Functional programming at least is a thing now. I can't see the next decade's language remaining an imperative bog... I cringed at seeing the following Ruby today: "error#{'s' if errors.
424.
▲
by
ssmoot
13y ago
Fair enough. But "fairly soon"? 2.10 hasn't even been out a year! Think about that. It's pretty cool IMO. I mean, Scala's community at-large does in months what takes Ruby's years. And with fewer breaking cha
425.
▲
by
ssmoot
13y ago
I don't think there's any new feature in 2.10.x that I'd want to give up. Scala 2.11 is modularization (meh), Scripting Engine support (cool), REPL improvements (ok), and Async/Await support (YES!). I wouldn't want
426.
▲
by
ssmoot
13y ago
> most of these people have not gone through a Scala version switch, or seen the pain that it can cause, or extrapolated that out thinking what it will do for future releases. Seriously oversold. I have been through the 2.9 to 2.10 switc
427.
▲
by
ssmoot
13y ago
Yes it does. AFAICT it's working well. There are 5 releases in the 2.10.x line and I haven't had a compatibility issue between any of them. The deal is (I think) that Scala is a much quicker evolving language than say Ruby. Ruby 2
428.
▲
by
ssmoot
13y ago
I've toyed with Hazelcast under Scala. Anything in particular you think it's missing? Is it under-the-covers optimizations you're looking for like serializing case-classes or something more obvious at the API level I just hav
429.
▲
by
ssmoot
13y ago
Also Scala (just because): val a = 4 to 100 by 2 val b = a drop 5
430.
▲
by
ssmoot
13y ago
It seems the Presenter example is pretty broken (unless I'm just stupid). I don't see a `todo` variable defined anywhere, but it's used in several places. Perhaps `var model =` was just missed in a rename? Also, the "tog
431.
▲
by
ssmoot
13y ago
I seriously doubt that the static content performance of NGinx (or whatever) has anything to do with performance issues. They're probably spending more money on bandwidth than they need to, and offer a slightly degraded user experience
432.
▲
by
ssmoot
13y ago
It works as you'd like yes. The reason my code is SBT 0.13.x specific is just because .sbt file syntax was robustified in 0.13.x to cover most cases you'd previously need a Build.scala for. You can do the same thing easily in 0.12
433.
▲
by
ssmoot
13y ago
> In fact in Rubygems, you can point to a Ruby git repository (like github) and have dependency management happen from there - no necessity for a centralized repository (like maven.org). That's a feature of Bundler, not Rubygems. &g
434.
▲
by
ssmoot
13y ago
Could you elaborate what you mean by "insisting everything work in the JAR world"? SBT works with git submodules, git sources, other URI or File sources for dependencies. So you must mean something else, but I'm having troubl
435.
▲
by
ssmoot
13y ago
Amoxicillin hasn't been prescribed by our Dr after it failed to do anything for the first ear infection. The Pharmacy isn't just going to substitute different antibiotics for you either. Here's what my daughter was prescribed
436.
▲
by
ssmoot
13y ago
Yeah, it's still a superiority insult. I think I've been prescribed antibiotics for an obviously viral infection one time in my adult life. I can count the number of times (in my late 30s) that I've been prescribed antibiotic
437.
▲
by
ssmoot
13y ago
I think as a rule people aren't as stupid as "common knowledge" would like to pretend. My 18mo daughter has had a half dozen ear infections and two staph infections. Antibiotics each time. Would it be better to leave a staph
438.
▲
by
ssmoot
13y ago
Going by LOC: I find I write less Scala than Ruby to accomplish a thing. To be fair I don't really include import statements in that comparison since I rarely actually write an import manually (IntelliJ alt+enter completion). Learning
439.
▲
by
ssmoot
13y ago
Because it's a Windows PC and it's not in my living room. Maybe (probably) I'm just biased, but I spent a few years trying to get MythTV, Satellite PCs, Silverstone chassis, Mediacenter, XBMC on a modded 1st gen XBox, etc etc
440.
▲
by
ssmoot
13y ago
I've seen a lot of stuff in their Twitter feed they seem to work through, but I've never actually run into any issues. So I've interpreted that as transparency I guess. Been with 'em for maybe a year now? Never had a fai
441.
▲
by
ssmoot
13y ago
Bitbucket: $10/month for 10 users and Unlimited private repositories. Github: $200/month for Unlimited users and 125 private repositories. If you're a team of 10 or less, have a few dozen clients and dozens more supporting li
442.
▲
by
ssmoot
13y ago
"Most" seems a bit harsh. Cache coherency is a hard problem for sure, but if you can handle memory efficiently, local-in-memory near-caches are awesome things to have access to. Just because it's popular to farm that out to a
443.
▲
by
ssmoot
13y ago
No it's not. Ruby/Rails is the past decade's version of VBScript/ASP3. It's not a foundational technology. As huge of a fanboy as I am of Scala/Play, the C comparison would be as unjustifiable with those as wel
444.
▲
by
ssmoot
13y ago
WARNING: A lot of Play/Scala cheerleading from a former Ruby developer. I can't help it. I love my job. Feel free to summarily disregard. ;-) Play is an evolution for sure. But I'd consider it "beyond". Validation c
445.
▲
by
ssmoot
13y ago
I'm not sure if "producer or publisher" are supposed to be distinct entities in this context? Either way, that's not an intuitive conclusion. I've seen a lot of films on Netflix I would have never seen otherwise. Lo
446.
▲
by
ssmoot
13y ago
Ruby is glacially slow. People try really hard to not accept this, and blame "architecture", but yeah, no. You can read up on templating benchmarks from the very early days of Rails. You can easily spend tens of milliseconds just
447.
▲
by
ssmoot
13y ago
You could always extend the singleton object before to avoid global monkey-patching. But the real lesson is probably just if you're not writing ActiveSupport, don't do global monkey patches at all. Favor inheritance and compositio
448.
▲
by
ssmoot
13y ago
re: "see our other apps" You nailed it. Hate that. Thanks for the app tips. :-)
449.
▲
by
ssmoot
13y ago
Didn't see this comment: We have an 18mo and a 4yo we read books and play games with on the iPad. The 4yo gets to play games or read books on his own as well. Any app that doesn't let us unlock everything to remove IAP or Ads gets
450.
▲
by
ssmoot
13y ago
Thanks. I really want to keep my (10 year old) number. Transferring it to Google Voice sounds a little scary. Is that unfounded? Is it really pretty seamless? I want to cancel my contract and go to a prepaid plan anyways. Which is apparentl
More ›