Better HN
topnewbestaskshowjobs
Log inSign up

krilnon

104 karma · joined Mar 6, 2013 (13y ago) · 47 submissions

interested in PL/HCI research
Submissions

comment 5y ago · link · parent

Glad to see this showing up every few years. After its initial launch, I think I helped the creator add the localization and lightspeed features: https://joshworth.com/updates-to-the-solar-system-map/

...and we eventually met up and had lunch.

comment 9y ago · link · parent

Awesome! It's surreal to see a familiar name making such a neat app. I saw this earlier today and had a small moment of triumph since I'm terrible at solving sudokus myself. A few people visit kF every once and a while; feel free to stop by!

comment 9y ago · link · parent

Are you the same yeldarb as the one from kirupaForum?

comment 9y ago · link · parent

It's documented. I used to be very fluent in the AS3LR, and I found it in a minute or two here: http://help.adobe.com/en_US/FlashPlatform/reference/actionsc...

The formal language specification came fairly late in AS3's useful life, but it also describes the syntax: http://help.adobe.com/livedocs/specs/actionscript/3/as3_spec...

comment 10y ago · link · parent

VoiceOver: yes, as reported in this article: http://mashable.com/2016/07/10/apple-innovation-blind-engine...

> [Jordyn Castor] was a driving force behind accessibility on Apple's soon-to-be released Swift Playgrounds, an intro-to-coding program geared toward children. She's been working to make the program accessible to blind children, who have been waiting a long time for the tool, she says.

comment 10y ago · link · parent

I'm excited to see that Alex Warth is involved with this. In my late undergrad days, I was really excited by his OMeta language. It turned out that I'm actually really bad at writing PEGs (or even ANTLR grammars), so I wasn't the best candidate for advancing OMeta into common use, but the idea is really compelling.

comment 11y ago · link · parent

There was a funny discussion on an MIT mailing list this summer when an (apparently) tone-deaf email was sent out by MIT Professional Education entitled "4 Ways You May Be Enabling Hackers"... which warned about the dangers of cybersecurity-style hackers.

RMS's response was:

> These MIT professors ought to know better than to smear us hackers by using the word "hacker" as synonymous with "security breaker".

comment 11y ago · link · parent

Writing valid XHTML was good practice for writing valid XSLT. Browsers would definitely choke on invalid XSL. I remember spending a fair amount of time looking at that pale yellow Firefox error screen that would point out invalid XML documents during my XSL days.

It's been a while, so I'm not completely sure this is true, but I think any XHTML within an XSL document also had to be valid XML (that would also validate against the XHTML schema), so you couldn't get away with as much as you could with rendering a plain XHTML page.

comment 11y ago · link · parent

There's an official specification for what and how a program that claims to be a JVM implementation should operate given Java bytecode. So someone writing a language that compiles to Java bytecode would typically either target the specification (and test on as many implementations as they felt necessary), or target a specific implementation like HotSpot and ignore the rest.

comment 11y ago · link · parent

From the article:

> I have a working prototype of a JavaScript VM that is highly optimized for NGINX’s unique requirements and we’ve begun the task of embedding it within NGINX Open Source.

comment 11y ago · link · parent

> I wrote the sorting algorithm in as3isolib

Oh neat. I don't recognize your username, but I submitted the first entry in the logo contest for that library in 2008, which ended up being fairly close to the final logo.

> Flash is certainly alive and well.

There's plenty of developer activity, but I'm pretty sure Adobe only has a life support team maintaining most things now.

AS4 was cancelled, so Falcon was the last notable language change. Most of the AoT iOS/Android targeting stuff was completed years ago, so now AFAICT it's just being kept compatible with new releases.

FP12 was supposed to be a huge jump, but now 12-17 (and the accompanying AIR APIs) have come and gone without pushing things forward meaningfully.

comment 11y ago · link · parent

You're right about Fireworks. Some people do like to use the Flash authoring environment for general web graphic work, even though that's not its primary intent. A friend of mine still uses it for all of his web tutorials and book diagrams. (Flash has tools for exporting single frames in a variety of image/vector formats.)

comment 11y ago · link · parent

You're right to point out the cultural divide w.r.t. tooling. It just seems to me that when two different people come up with pretty identical names for something and focus an essay/paper on that name, then there's likely an opportunity for some sort of cross-pollination of ideas.

comment 11y ago · link · parent

Ah, great; thanks for pointing out that it has changed. The last time I looked at Rust in detail was mid-April, so I hadn't seen that.

comment 11y ago · link · parent

The author's term "anti-sloppy programming" immediately brought to mind a former colleague's paper, aptly-titled "Sloppy Programming" [1]. Interestingly, Rust is a programming language, while this paper describes an editor/IDE enhancement to turn natural language style input into ASTs.

This suggests to me that the most anti-sloppy languages like Rust would benefit the most from sloppy input inference techniques. Has anyone been working on developer tools to make writing Rust code easier? (Lifetime management is the obvious new language feature to target.)

[1] http://groups.csail.mit.edu/uid/other-pubs/sloppy-programmin... (pdf), or less-detailed: http://groups.csail.mit.edu/uid/projects/keyword-commands/in...

comment 11y ago · link · parent

> You'd expect the artist(s) of the record to get my $12 minus a service fee, but what I'm sure happens is the artist(s) only get the price per play x 3 and Spotify pocket the rest.

I think companies like Spotify end up spending 60-70% of that $12 on paying license fees, which include per-play amounts that eventually end up with the artists. And the structure of those deals is such that the groups with the biggest licensing deals get most of your $12, even if you didn't listen to music from that particular artist.

I agree that it's not what you (or I) want, but it does make sense from the perspective of the largest parties involved in these negotiations.

comment 11y ago · link · parent

Might you go back when ES6 is widely supported by browsers / Node? I don't mind either way, but since the parent comment mentioned that arrow functions were coming to JS, it was interesting that you specifically said 'never', rather than 'until ES6'.

comment 11y ago · link · parent

> you begin to learn it is all just posturing

Yeah, I think that's probably the most common motivation behind the interaction spotlighted in the article.

> Here's a sample interaction between an experienced programmer and a beginner who is just learning programming

I think the interaction happens between programmers of all levels of experience, but it might be most harmful when it's an experienced programmer talking to a beginner.

> It does get discouraging as a noobie when you hear people in forums throwing around the latest tech jargon and some esoteric C library just to show-off how much they know more than you.

If that's really their intent and if you (the noobie) are the one they're talking to, then sure. If I'm a noob walking deep into a HN thread on an esoteric C library, I'm probably not going to be discouraged that people are using jargon, unless I've identified myself as a beginner and the comments are replies to mine.

comment 12y ago · link · parent

> They also made the mistake of showing a link that includes the word "Typography"

Including some aesthetics-stretching cases seems like a fairly honest/transparent thing to do for an open-source project that someone is blogging about.

> It breaks the semantics of what the underline means — any bit that's underlined is supposed to be the link, and if it's not underlined it's not a link.

That's a reasonable way to look at it, but humans like us can be pretty flexible with semantics, thanks to pragmatics. If I see a link that covers most of a set of letters stuck together without a space, I tend to assume that the whole thing is a click target. Even if my assumption is wrong, my clicking error rate probably won't be too high, since I think that people tend not to hit the edges of pointing task targets.

comment 12y ago · link · parent

Nah, it's real. Adobe had a WebGL competitor, Stage3D, at the time, but I didn't work on that at all. As an intern, I would run a few useful benchmarks per day, but it was more reliable to run things I knew would heat up a laptop instantly, so I used WebGL demos.

Brownie-wise, I would wait a while because lunch would fill me up. But at 3 or 4 pm, I'd be hungry again and something the size of a brownie would really hit the spot.

comment 12y ago · link · parent

I haven't worked anywhere with tasty nearby brownies since then. =-/ I know I ate something unhealthy often at the Stata Center's cafe, but I think it was a large cookie that didn't need to be heated.

comment 12y ago · link · parent

It was just for fun. Part of my job at the time was evaluating benchmarks, so things like the water simulation were on my mind. I don't remember if there were microwaves on each floor that I might have used instead.

I don't dog-ear book pages, if that makes you feel any better.

comment 12y ago · link · parent

Sure thing. I was an intern at Adobe working on a new programming language. The office has a cafeteria, and I would often buy lunch there and get a brownie to save for later.

I like brownies better when they're warm, so I came up with a few ways to warm the pre-packaged treats while still sitting in my office. I first tried sitting the brownie atop my laptop charger: http://images.reclipse.net/warmed_brownie.jpg

This worked fairly well, but the charger was less hot when my laptop was at 100% charge, so I sought alternate methods for heating up the brownie. For some reason, I had stumbled across some recent WebGL demos at the time, and noticed that the fan on my laptop would spin up on that particular demo. (http://madebyevan.com/webgl-water/)

This provided a more consistent heat than the charger, since usually my laptops would be completely charged by the end of lunchtime. I had my own laptop and a company-provided laptop, so it wasn't hard to set one of them aside as a brownie warmer.

comment 12y ago · link · parent

I used Sikuli back in 2011-12 for some random automaton tasks, and often wish I would remember to use it more.

- Advisor wanted a one button way to run a convoluted research prototype I had made, and I didn't want to have to dig into Cocoa to figure out how to programmatically click/select options in a few desktop apps.

- Worked at a company and there was silly employee training slideshow+quiz, so I had Sikuli wait for the next arrow to show up once the audio was finished and click it.

- Wanted to heat up my GPU to warm a brownie, so I opened one of those WebGL water demos and had Sikuli repeatedly pick up a ball and drop it in the water.

comment 12y ago · link · parent

"I look at the feature set of Swift, and I have to ask myself the question: what’s the point? What is really trying to be solved? And does it provide significant benefits over languages that already exist?"

One reason may be that large companies want ownership of a modern, C#/Java/Go-like language [1]. I was an intern at Adobe when it was trying to develop such a language (ActionScript 4) + VM, and a primary reason not to adopt an existing language is that they wanted control and to be free of legacy baggage as much as possible. Obj-C is reasonable to use today, but its C and Smalltalk underpinnings sometimes feel like anachronisms for people writing App Store apps. This is probably especially true if you're a language designer like Chris Lattner at Apple and are tasked with fixing the most prominent pain points that your language users face.

[1] I realize these are somewhat diverse languages.

comment 12y ago · link · parent

It was primarily developed at Macromedia, if you don't count that Waldemar Horwat and others greatly influenced its design via the whole JS2/ES4 situation in the years prior. That's why AVM2's IR used to be called the Macromedia Intermediate Representation, for example.

There were public betas available about 6 months after the acquisition, which didn't leave Adobe much time to change anything. Even the main APIs, like those in playerglobal.swc, almost all have a copyright stamp of 2005 in them.

comment 12y ago · link · parent

The demo is neat, although the flashy, impressive part (NL->program) predates this particular piece of work. For example, Greg Little's "sloppy programming" is from 2008-ish: http://groups.csail.mit.edu/uid/projects/keyword-commands/in...

Le and Gulwani's paper does cite Little, but the refutation is a bit weak.

> Little and Miller propose a code completion tool that synthesizes the most likely Java expression in a code context from a set of keywords [23]. Smart-Synth is different, in that it synthesizes a complete script and does not require extra contextual information.

From the video, a "complete script" appears to be 1 or 2 simple expressions. And not requiring contextual information sounds like it can't take advantage of contextual information.

comment 12y ago · link · parent

It seems to work reasonably transparently most of the time. I was in one of the author's classes in ~2010 and I think the class schedule was put online in the same way.

comment 12y ago · link · parent

Nope. "you don’t even need to type semi-colons." [1]

[1]: https://developer.apple.com/swift/

comment 12y ago · link · parent

I'm not going to abuse this myself, but at MIT you can create seemingly-unlimited @mit.edu email addresses using Moira.

Getting a bunch of fresh IPs might be trickier, but you could probably wander around different WiFi access points, use the CSAIL OpenStack installation, or maybe just renew a DHCP lease a bunch.

User-agents a easy to find and change with a browser extension (or scripting).

12