Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
avibryant
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
avibryant
17y ago
Save modifies the method in the current environment. Commit does an HTTP PUT back to the webserver (which, on clamato.net, is not configured to accept PUTs, so that will always error). You end up with .st files you can manage in git or an
92.
▲
by
avibryant
17y ago
It depends on your goals. For me, it's not so much about difficult to implement as whether the generated JS is idiomatic enough for the various optimizing JS implementations (V8, SquirrelFish, TraceMonkey) to handle it. With Clamato, we'v
93.
▲
by
avibryant
17y ago
Exactly. For those times that you really need them, I added a #return: method that you can use explicitly: self return: [:ret | .... ret value: foo ...]. But you only pay the cost of the try/catch/throw when you actually use it. FWIW, I've
94.
▲
by
avibryant
17y ago
Good to know - it definitely works best in Safari and Chrome right now (since they have the best-optimized JS implementations). I'm surprised Firefox is hanging that badly but I'll look into it.
95.
▲
by
avibryant
17y ago
Nope. The goal here is not to duplicate every aspect of Smalltalk, only the ones that map easily to Javascript.
96.
▲
by
avibryant
17y ago
You can do penance by submitting some patches.
97.
▲
by
avibryant
17y ago
There's no overhead, in the sense that one Smalltalk message send maps to one Javascript method call. However, Smalltalk tends to use more, smaller methods, and more blocks, so there's some stylistic overhead that will make idiomatic Clama
98.
▲
by
avibryant
17y ago
It's not really in the shape I would have wanted for a public release... kudos to the submitter for finding the website, I guess :). But if you find it useful, great.
99.
▲
Google Analytics Blog: An API Integration To Measure Significant Change
(analytics.blogspot.com)
14 points
by
avibryant
17y ago
|
3 comments
100.
▲
by
avibryant
17y ago
If you're asking me - I haven't hacked on MagLev for over a year, so I'm pretty out of the loop. From tracking http://twitter.com/MagLev , though, it sure looks like they're getting close.
101.
▲
by
avibryant
17y ago
I find that interesting too - in general, I find the Vancouver accent to be closer to other places on the west coast (Seattle, Portland, SF) than to the eastern Canadian accents. But there are no doubt also elements that correlate with cou
102.
▲
by
avibryant
17y ago
Busted. The hardest thing is always trimming our beards to exactly the same length. Edit: the real answer is that I work with great hackers who aren't as mouthy as I am and so don't show up in interviews etc - my "twins" are Andrew, Ben, a
103.
▲
by
avibryant
17y ago
All I get is a blank page too. I was very curious to look at this because I've been doing something very similar - for Smalltalk, instead of Python.
104.
▲
by
avibryant
17y ago
I believe Squeak just adds the extra indirection when #become: is used, by turning the old objects into "forwarders". On the next full GC, the forwarders get cleaned up and the extra indirection removed.
105.
▲
by
avibryant
17y ago
Excuse me? Tim Bray and C. M. Sperberg-McQueen were the editors of the first XML specification, and their names have been on every edition since then. See http://www.w3.org/TR/REC-xml/ all the way back to http://www.w3.org/TR/WD-xml-96
106.
▲
by
avibryant
17y ago
Functionally this is awesome - we use etherpad a lot for collaborative text editing but having something a bit more structured like this could be very useful. The experience of entering a rewrite and having it broken down into several dist
107.
▲
by
avibryant
17y ago
Yeah, that would be good. The main bottleneck is in sucking all the data down from Google's API - for a site with as much traffic as justin.tv, that can indeed take hours. Once that's done the processing itself is relatively quick. But t
108.
▲
by
avibryant
17y ago
Agreed that the front page is light on info/screenshots etc. Did you click the "how it works" link?
109.
▲
by
avibryant
17y ago
Yeah, I'll do a screencast at some point, but it's way too much effort to do that until we've finalized the UI - and we want feedback from y'all first :)
110.
▲
Ask YC: Review Trendly, new analytics app from the folks behind Dabble DB
(trendly.com)
50 points
by
avibryant
17y ago
|
26 comments
111.
▲
by
avibryant
17y ago
My wife and I have electric scooters instead of a car - 20 mile range between charges, 20 mph, $1500, and no license or insurance because they are technically bikes (but they look and feel like scooters). Works great for us most of the tim
112.
▲
by
avibryant
17y ago
That could describe a lot of Smalltalkers, couldn't it?
113.
▲
by
avibryant
17y ago
Has anyone else actually looked at this guy's code? http://github.com/joelmichael/memereap/tree/master Perhaps unsurprisingly, it shows no awareness of SQL injection, buffer overflows, or concurrency. These seem like things a web framewo
114.
▲
by
avibryant
17y ago
Can you get around (at least some of) those restrictions by wrapping things in function expressions? Here's a for loop: ((function(){ for(x in [1,2,3]){print(x)} })(), 42)
115.
▲
by
avibryant
17y ago
Just a guess, but: Squeak only uses text files as an export format, and that format is more verbose than file-based source code would normally be. If you only counted the code and not the metadata, it would probably do better.
116.
▲
by
avibryant
17y ago
I like how you put [a la smalltalk] in square brackets, rather than in parentheses (a la lisp).
117.
▲
by
avibryant
17y ago
I'll be watching this with interest. We're working on something with similar goals, although a very different approach - more info at http://dshbrd.com/about .
118.
▲
by
avibryant
17y ago
If you have a job offer as a "Software Products Developer", you get pretty much automatic approval for up to a 3 year work permit. I have a friend who literally just brought his offer letter and CV to the border and got in, no paperwork or
119.
▲
by
avibryant
17y ago
No kidding. There should be a disclaimer that stops people from wasting their time downloading this...
120.
▲
by
avibryant
17y ago
Dabble is "primarily used by tech companies"? Where did you get that idea?
More ›