February 2012
6 posts
4 tags
Adding Scala to Your Company's Software Stack
mobocracy:
The ny-scala meetup this Monday will be discussing Scala adoption in a business environment. I’ll be on a panel along with folks from Foursquare, Meetup, Tadpad and The Ladders discussing our various experiences. Hope to see you there. Oh, here is the link as well.
5 tags
Making Meetup: New I/O sometimes better than Old... →
makingmeetup:
We decided to try repackaging an internal service, which was running a servlet container, in a custom built NIO server. Its baseline request load fluctuates with user traffic on the site, but bursts of activity are produced by daemon processes, as shown in this graph of requests per second:
Another chart, and some explanation of what it represents, is found in the original...
3 tags
HeapAudit – JVM Memory Profiler for the Real World →
HeapAudit is a foursquare open source project designed for understanding JVM heap allocations. It is implemented as a Java agent built on top of ASM.
Neat.
4 tags
Fables of the Reconstruction Part 2: Have you...
When I realized the time had come (in part 1) to move on from Dispatch’s
original underlying transport, I knew which ship I would jump to. In
Unfiltered we use Netty for serving HTTP with great success. But
instead of working with the raw Netty interfaces, Dispatch would be
able to benefit from the well regarded async-http-client’s
trailblazing in Java. The client even supports other...
2 tags
January 2012
5 posts
3 tags
No matter what precisely the future is, it is time to start hitting people in...
– In Isolation | stmts
4 tags
Turbocharging Solr Index Replication with... →
Many of you probably use BitTorrent to download your favorite ebooks, MP3s, and movies. At Etsy, we use BitTorrent in our production systems for search replication.
While the entertainment industry has been busy paying off US senators to legislatively undermine the domain name system, their nemesis BitTorrent has continued to be a remarkably powerful technology for efficiently and securely...
4 tags
Fables of the Reconstruction Part 1: Losing the...
It’s a wonderful time to be a Scala programmer. The language is
maturing, its community is growing more diverse, and more of its use
is professional. Also and not coincidentally, there are more overheated
debates about its legitimacy to wallow in than ever before. Everybody
is having a ball.
I’ve been reflecting on my first Scala library, Dispatch, and decided
it was time to start...
3 tags
Option[Scala]: Adding Scala to your company's... →
These days our ny-scala meetups are filling up before I get around to posting them here. (Almost?)
RSVP
4 tags
We’ve made the inclusion of the unmodified Holo theme family a compatibility...
– Android Developers Blog: Holo Everywhere
December 2011
7 posts
2 tags
Along these lines, the rise of type-directed development in languages with real,...
– Prettt-tty, pretty, pretty good!: The future of programming
5 tags
giter8 0.3.2 - implicit.ly →
Giter8 templates can now use ls to resolve the latest published version of a library.
There is some serious Scala web API ecosystem Zen going on here. Check it out. Oh and it uses parser combinators for the ls(…) business, so it’s l337.
5 tags
An SBT plugin for dangerously fast development turnaround in Scala
– spray/sbt-revolver - GitHub
5 tags
a soft sea: I think we can manage →
asoftsea:
tl’dr: sbt Managed dependencies using git submodules on heroku. It can be done.
How sbt’s git dependencies help you deal with binary incompatibility, are ideal for “agile development and a community-driven workflow”, and can even be made to work with a Heroku deployment.
5 tags
Every Project Needs a Home - Hacking Scala →
Recently I created home page for my project Scaldi. I wanted to make it for a long time, but from the other hand I don’t want to spend much time finding some hosting and maintaining its infrastructure, making page design, etc. Github page is nice, but still I would like to have somethng more simple and unique as a project’s front page.
I think Scaldi is the first non-n8han...
5 tags
ScalaTest 2.0 Show & Tell - New York Scala... →
Bill Venners will give a tour of new features coming in ScalaTest 2.0, including better sbt, Maven, and IDE integration, markup and an HTML reporter, a dashboard, and other odds and ends.
RSVP
4 tags
November 2011
11 posts
5 tags
The gist of it
Because you can’t put the Tabasco back into the bottle:
As my team navigated these waters, they would occasionally ask
things like: “So this one guy says the only way to do this is
with a bijective map on a semi-algebra, whatever the hell that
is, and this other guy says to use a library which doesn’t have
docs and didn’t exist until last week and that he wrote....
5 tags
Easy breezy restful service testing with Dispatch... →
My search led me to Dispatch, which is a highly compact Scala DSL wrapper around Apache’s reliable HttpClient. This DSL, however, is not very well documented and rather hard to decipher due to its heavy usage of symbolic method names but nevertheless highly appealing when understood.
No argument there.
5 tags
411s, InputStreams and chunked content
tbje:
Working on our API the other day I came over an incompatibility issue with our front end server and the Dispatch http library. Some web servers does not accept chunked data input by default (nginx for instance) and will reply with a 411 error code.
If you post a file using an InputStream with Dispatch, it will send the data in chunks which is great unless an incompatible server is...
6 tags
Or else, it's [rilly] complex
Unfiltered uses pattern matching to route incoming requests, so
we’re pretty sensitive to the performance of partial functions in
Scala. Lately I’ve been looking at the orElse method of
PartialFunction as part of a potential refactoring and saw
some surprising results.
Say you have these two partial functions defined:
val pf: PartialFunction[String, Boolean] = {
case "hello" =>...
4 tags
Video of the Day: The L Train Notwork →
Here’s how this works: Using a few battery-powered web servers, the group creates mobile hotspots on the train. Those riding the L with their WiFi-enabled devices — which is just about everyone — can sign onto the network to chat with fellow straphangers, read curated news and creative content and surf the limited intranet.
I’m telling you. The internet is overrated.
4 tags
soc/scalax-units - GitHub →
Type-safe units of measurement for Scala
4 tags
Riviera Scala Clojure Group (Nice, FR) - Meetup →
Despite of its popularity, the discipline of functional programming and the programming languages may not be that straight forward, especially with the hegemony of object oriented programming in the software engineering.
Down with the object-oriented hegemony!
5 tags
apgwoz on TV! — Occupy Wall Street Hackers with Andrew Gwozdziewycz
5 tags
The goal behind the project is to create a global darknet, a decentralized web...
– The Darknet Project: netroots activists dream of global mesh network
6 tags
I never invested in the Google Reader API. If my users had asked me to do it I...
– Dave Winer comments on “The Long-Term Failure of Web APIs”
October 2011
11 posts
7 tags
Rep. Blackburn, Co-Sponsor Of E-PARASITE, Explains... →
First of all (and I say this as someone who agrees that the administration stretched its mandate with its net neutrality move), what she describes as net neutrality is not what net neutrality is. That said, what her comments apply much more to is the bill that Blackburn herself co-sponsored, which definitively regulates the internet — including YouTube, Facebook and Twitter — by...
6 tags
Periodic Table of Dispatch Operators →
This is so great. I’ve been in some kind of Mexican standoff (racist? —ed) with Dispatch users, waiting for somebody to write decent documentation for the request and handler verbs. Now Wilfred Springer has made something far better than it would have occurred to me to try to make.
They call this “enabling behavior” on the Oprah show, Wilfred.
5 tags
giter8 - Google Groups →
Mailing lists are cheap these days. Let’s talk about giter8!
4 tags
Disappointing closed-source Android 3.x line soon... →
We plan to release the source for the recently-announced Ice Cream Sandwich soon, once it’s available on devices.
Better late than never.
6 tags
Android 4.0 Platform and Updated SDK Tools →
Enhancements for enterprise: … a new administrator policy for disabling the camera.
Would-be corporate spies and whistleblowers, take note! If you want to capture that top-secret product plan or stumbled-upon evidence of shady dealings, you’ll be forced to use some device other than the phone you use for office email. Good luck with that, traitors.
This is a Very Important...
6 tags
Hackathons Birth New Tools For ‘Occupy’ Movement |... →
The “Shouty” app, developed by Nathan Hamblen, a platform engineer at New York-based online event planning platform Meetup.com, is still in its bare-bones beta stage, but, works by converting an Android smartphones microphone input into a live mp3 stream, which gets broadcasted to everyone who has the app. It’s available for download here on GitHub, but as Hamblen himself notes on the...
6 tags
GNOME 3 - Ars Technica OpenForum →
There’s still an option to make folders open in new windows, but it’s no longer spatial. If you travel to a folder that’s already open, Nautilus 3 will simply open a new window to show it, and you end up with multiple windows onscreen displaying the same folder.
The end of an era.
3 tags
The format is simple. We’ll occupy Meetup HQ and hack on programming...
– Occupy Together Meetup - New York, NY | Oct 14, 2011 - Meetup
3 tags
Scala at the Sea (Seattle, WA) - Meetup →
Seattle Scala Meetup formed—welcome to the club!
3 tags
Making Meetup: Makathon 2011 →
makingmeetup:
Hackathons are a great way to switch things up and test your ability to scratch your own itch within a fixed amount of time. Meetup developers have had lots of itches they’d like to scratch in the past and it’s no different today. Luckily, Meetup encourages its developers to stretch out and…
6 tags
Foxes (or asses) guarding the hen house
Six months ago when the iPhone location logging story broke, this Android fan refrained from gloating. Why? Because you can trust the corporate intelligence of handset manufacturers and wireless service providers about as much as #occupywallstreet protesters can trust the NYPD to lead them merrily across the Brooklyn Bridge.
It was just a matter of time before a severe data breach occurred with...
September 2011
6 posts
6 tags
Building Network Services with Finagle and Ostrich (by Tumblr’s Blake Matheny for ny-scala)
6 tags
This might make them as powerful as Opera Mini or Firefox prefetch extension.
– Fire - cdespinosa’s posterous
4 tags
Scala 2.8.2 final →
The Scala Team is happy to announce the next maintenance release in our old 2.8.x series
Back-published Dispatch 0.8.5, 0.7.8, Spde 0.3.1, and Unfiltered 0.5.0 (except for unfiltered-scalate, because of some binary incompatibility).
3 tags
SBT imports all the members of plugin classes into scope of a project using a...
– SBT and Plugin design
6 tags
BASE September 2011 meeting - Boston Area Scala... →
“Hands-on Unfiltered, Dispatch and Scalaz’ Validation monad with the ReadWriteWeb project” by Alexandre Bertails
“Typeclass pattern” by Seth Tisue
This sounds cool.
5 tags
Shortly after writing the solution I started to wondering if using Scalala had...
– Machine Learning Ex2 - Benchmarks
August 2011
10 posts
4 tags
Local external projects in sbt
One of the best features added in sbt 0.10 is the ability to
depend on external projects. This is similar to the way you might
have published a local snapshot with sbt 0.7, except vastly
better. You don’t have to manually publish, update, or even
compile anything when the library source changes.
Say that project Appy depends on unfiltered-netty-server. You
want to test Appy against the...
4 tags
Community Coding Workshop in Scala
This past month we had our most successful NY Scala Meetup yet. And we didn’t have any fancy speakers or mind blowing presentations. We didn’t even have talks at all.
Instead, we built something. In the course of two hours we built a working image processing service with a web front-end. It stores images in MongoDB and transforms them using its own interface to Image Magick or with...
6 tags
Mad about metered billing? They were in 1886, too →
Worst of all, from the operator point of view, was what one journalist called the “Telephone Dead Head Evil”—non-subscribers using the telephone of a subscriber; for instance, patrons of a local drug store using the phone for a nickel a call.
Awesome. Unrevoked should totally change its name to Telephone Dead Head Evil. (Not that people are using it to enable wireless tethering,...
5 tags
Do you know of any individual or organization that is even capable of creating...
– (Software) patents don’t make much economic sense