Profile cover photo
Profile photo
Peter von der Ahé
601 followers -
Dart = Fun Web
Dart = Fun Web

601 followers
About
Peter's posts

I'm looking for a name of method on a stack. This particular method would return the second object from the top of the stack without modifying the stack. It's like peek, but not exactly.

What do I call it? peek2?

Post has shared content
I've added an API that should make it easy to implement lexical-error recovery in dart2js and fasta. Currently, most of our tools are pretty bad at recovering from lexical errors such as mismatched curly braces or unterminated multiline strings.

Ideas for future improvements include looking at keywords as "class", and indentation.

If you're interested, take a look at the [fasta branch](https://github.com/dart-lang/sdk/tree/fasta) and [recover.dart](https://github.com/dart-lang/sdk/blob/fasta/pkg/dart_scanner/lib/src/recover.dart) in particular.

The best way to test it will be to use the fasta compiler, see https://github.com/dart-lang/sdk/blob/fasta/pkg/fasta/README.md.

#dartlang

Post has attachment
We're hiring in Aarhus.

Post has shared content
My book on Dart is available in physical form today. Thanks to all that made it finally happen after so many delays.
Photo

Post has attachment
This happened earlier this week in #ingress.

I haven't really been feeling the ingress vibe most of those 150 days, but I hoped it would come back. So I kept coming back to recharge.

However, they've added a store now, and the prices seem ridiculous: double hack output from one portal in 10 minutes for DKK 16. That seems really steep.

Also, the idea of a store isn't really helping me revive my interest for the game. I understand that niantic needs to make money, and I'd support a subscription service. For example, you could say that when you get to L8 you could only play 10 minutes every day unless you had the subscription service. Or pay the subscription to get higher hack output, or priority in portal submissions.

The store approach is predatory and preys on people with gambling addiction, a subscription service seems more honest to me. 
Photo

Post has shared content

Post has attachment
My friend +Kim Falk just announced an early version of his book is available. I have no expertise or curiosity in this area, so I haven't read it. That being said, I highly recommend that you rush to your nearest purveyor of e-books and buy this book immediately!

Post has attachment
Yesterday I walked approx 42km along the Aarhus-Silkeborg trail. Including walking to and from the train station, my Fitbit logged 49 km and 58k steps, so I simply had to walk just a little bit more to hit 50 km and 60k steps :-)

You can see the route here: https://www.endomondo.com/users/22879333/workouts/550591078 (notice that it crashed between the 16 and 17 km markers, where I estimate I lost about 2 km).

Post has attachment
What does it mean?
Photo

Post has attachment
This just happened. #ingress

Edit: No sojourner, BTW. 
Photo
Photo
5/30/15
2 Photos - View album
Wait while more posts are being loaded