HNHacker News
TopNewBestAskShowJobs

cowpewter

1,056 karma · joined April 30, 2010

Senior Software Engineer at SharpSpring

[ my public key: https://keybase.io/cowpewter; my proof: https://keybase.io/cowpewter/sigs/DClubl66oO_XmVTeCCdkvYL-GR9l_qWVWqMeYgm8zmA ]

submissionscomments
cowpewter··on So is RSS dead yet? Only one way to find out...
Something seems to be seriously wrong with your image.

http://lazyreadr.com/lazyreadr-previews.jpg

In case it shows up okay for you, here's a screenshot: http://cl.ly/1B1u1l3L0c2I1Q160H1c

cowpewter··on Where Pair Programming Fails for Me
Yes, that does sound familiar. I've never done pair programming, but I have the feeling I'd have a lot of the same problems as the OP. I'm very much an introvert, and even just our open-plan office sometimes has me wanting to shut myself away by the end of the day. And the more code I write, the less English I seem to speak, especially to describe code. I wind up either flailing my arms and speaking gibberish (only a mild exaggeration) or just giving up and writing pseudo-code because I just can't express the concept any other way. English just isn't precise enough.
cowpewter··on Poll: How old were you when you started programming?
My grandpa bought me a TRS-80 when I was 4-5 (don't recall exactly) because "computers are the future." My only cartridges were LOGO and Sokoban so if I wasn't in the mood to push boxes around...

I don't know if you can really call it programming but I'd spend hours writing out huge I/O conversations with the computer that only worked if you knew how it was supposed to go in advance. I found it fascinating.

"Hello, I'm a computer, what's your name?" "Hello [name], how are you feeling today?" "I'm glad you're feeling [feeling]!" etc

And I had the companion radio shack cassette deck that you could use to store programs on. I always had to copy those programs out of the book because I didn't understand them at all.

cowpewter··on Best Pictures Of The Decade: The Noughties
Having all those powerful photos watermarked with 'totallycoolpix' in the corner is really throwing me. It's a complete sentiment mismatch.

The photos are important. Many of the events depicted, however, are not 'totally cool' in any sense that I read the phrase. I know it's just website branding but it's bothering me.

cowpewter··on What’s Next for Delicious?
Yeah, I pretty happily pay for Flickr. I like it better than Picassa but stuff like this sure makes me nervous.
cowpewter··on Grooveshark's new Javascript/HTML interface
It is a streaming only website. We do have links out to Amazon mp3 and iTunes...if you right-click a song in the player, there should be a 'buy song' option, or if you are viewing a list of songs, there is a dropdown arrow on each row for options - 'buy song' is listed there as well.
cowpewter··on Grooveshark's new Javascript/HTML interface
If you're really having trouble, the flash version is still available at http://retro.grooveshark.com

We tested pretty extensively in Firefox, but there's always things that can go wrong. Also if you think you have any info that will help us fix it, hit up the Contact Us link at the bottom of http://help.grooveshark.com/

cowpewter··on Grooveshark's new Javascript/HTML interface
http://grooveshark.com/dmca
cowpewter··on Grooveshark's new Javascript/HTML interface
Thanks!

I've been writing Grooveshark's players since the beginning, so I'd pretty much consider myself at an expert at getting flash to communicate with other moving pieces by this point.

We've gone through some pretty crazy revisions, including one (ancient) version, back when the actual playback was performed by a locally installed client application written in java, yet the actual playback controls were located on the website in a small flash widget. That involved the use of the script-tag hack (I think nowadays most people call that JSONP) in javascript to confirm that the local client was running, ExternalInterface to tell flash that it was safe to attempt to load the crossdomain.xml file from the local client (it would quite stubbornly refuse to try again after a failure), and then an XMLSocket connection between the local client and the flash widget on the page in order to pass back and forth user commands and the current playback state.

It actually worked surprisingly well, but I'm really glad we've since moved to centralized server streaming. The current version is just as you said, an invisible flash widget that syncs to the javascript on the page via ExternalInterface.

As for the audio tag, see one of my other comments, here: http://news.ycombinator.com/item?id=1968640

cowpewter··on Grooveshark's new Javascript/HTML interface
Perhaps eventually. It's something we've looked into, but we have some content security concerns. Obviously it's not impossible to rip our content with flash streaming, but it is more difficult than something that can be written with an <audio> tag.

Someone could easily steal my car's stereo even if I lock the doors, by using a slim jim/lockpick (downloader tool) or smashing my window (rip audio straight from the sound card). There's no way to 100% stop determined people from stealing my stereo, just like there's no 100% way to stop determined people from ripping our content. But that doesn't mean I leave my car unlocked.

Also right now we use the flash piece as a proxy for making service calls that would be otherwise significantly more difficult/impossible through javascript's crossdomain restrictions.

cowpewter··on Grooveshark's new Javascript/HTML interface
Porting the new site to AIR (with the same support for the desktop helpers) is on my todo list.
cowpewter··on Grooveshark's new Javascript/HTML interface
It's an in-house player. I'm the author. We have a fairly complicated streaming setup, so it's written specifically to work with our internal API.
cowpewter··on Grooveshark's new Javascript/HTML interface
It's not the exact same widget, but it does use the same classes. All our flash playback, in the old flash app, the new invisible player, the even tinier invisible player on the widgets.grooveshark.com page, and the actual widgets on said page are compiled with the same core playback classes.
cowpewter··on Grooveshark's new Javascript/HTML interface
We will support Opera, we just didn't have time to test it in Opera before release and didn't want to claim it worked without that.

I've tried it in Opera, and it's perfectly usable apart from some weird scrolling issues where you can scroll the whole site off the page, and sometimes Opera doesn't seem to want to redraw some items in the songlists without scrolling a bit.

Just click the "Let's take a chance" button when the browser compatibility lightbox opens and the site will let you in.

cowpewter··on Grooveshark's new Javascript/HTML interface
Hi, I'm one of the developers. You are correct. We have a PHP backend, actually the same one that we were using with the flash frontend, and are using jQuery with JMVC, and slickgrid for the huge lists of things. The invisible flash widget provides both music playback and serves as a proxy for getting around some of javascript's crossdomain restrictions (like the fact that you can't make https ajax requests on a page served on http) and talking to third-party services like facebook and last.fm which have perfectly nice crossdomain.xml files.

Feel free to ask me any questions, though I don't know details on a lot of the deep workings of the backend - I'm an Actionscript/Javascript dev.

Oh and thank you so much for not submitting this as 'Grooveshark switches to HTML5'!! Because it's not. We're not doing anything you couldn't do years ago, except maybe that JS performance wouldn't have been fast enough for such a heavy app.

cowpewter··on Verified by Visa and Mastercard SecureCode are broken and need to be fixed
I've always managed to not enable Verified by Visa on any of my credit cards, but another huge problem with it is that doing so is nearly impossible. Once you get redirected to that popup, it's very hard to not signup without canceling your transaction with the original merchant. Or getting dumped back to your shopping cart, trying to check out again only to get dumped straight back into Verified by Visa's signup process.

There doesn't ever seem to be a permanent opt-out, so anytime I want to buy something from a merchant that uses it, I have to hunt for the magic button to get around it again.

cowpewter··on For Cats, a Big Gulp With a Tiny Touch of the Tongue
My cat is too lazy for math. She lays next to water bowl with her chin resting on the edge and her paw dangling into the water, then just rotates her wrist to bring her wet paw up to her mouth and licks the water off her paw. Repeat.
cowpewter··on Son, as soon as someone puts their hands on you...
I have the same question. While there were fights between some girls in the high school I went to, all the abuse I dealt with was entirely verbal/social.

No one ever tried to lay a hand on me, so if I'd started anything, it would've been me looking like the 'bad guy'. And somewhere along the way I'd already internalized that as a 'good girl' disappointing authority was the worst thing I could possibly do.

I tried ignoring. I tried preemptively mocking myself to take the wind out of their sails. Nothing really stopped it. I got really lucky that my high school had a surprisingly large 'smart kid' group (6 National Merit scholars in my graduating class of 330) and eventually I was able to keep a large enough peer group to just not have to interact with most of the kids that bullied me.

But despite my small close circle of friends, I still graduated high school feeling like an outcast. Our entire AP history class once deemed me a 'neo-nazi' because I made a comment about the biased language in some video we watched. We had studied rhetoric only a few weeks before in English, and I was wondering why the video seemed to pulling so many of the tricks we'd just learned about in order to make the holocaust look like a bad thing. It seemed unnecessary (in my innocent mind I was thinking, 'Aren't the raw facts enough to convince anyone?').

My one offhand comment (literally just the words, 'That video sure used a lot of biased language.') turned into a full-scale mocking by everyone in the classroom except my two friends (who stayed silent). The teacher never actually joined in the mocking, but he stood by while it happened, encouraged the 'debate' to last longer, and even laughed at some of the hurtful comments made to me by the other students.

cowpewter··on The 3 Programming Languages you need to Know
Happiness language: Actionscript 3

Hack-it-out: Python

$$$: Sadly at the moment Javascript (ugh)

I realize in the current 'zomg everyone hates flash' environment my choice for happiness language might make people look at me a bit strange, but AS3 is really a nice language. As ECMA dialects go I would rather write for the AVM than the browser any day. And when I think in code, it's usually Actionscript. Three years of hard-core Flex hacking will do that.

Python shows some signs of edging its way in as a replacement for my brain-speak, but I sadly don't use enough in my job right now for it to take over.

cowpewter··on Ask HN: Whats your least pressed key?
On my Thinkpad tablet, the lil blue Fn key next to the left-hand Ctrl. It's not actually necessary for F# keys...I have those. It seems to turn the F keys into other things...basing on the icons, I'm guessing sleep, alternate display toggle, brightness controls, eject (eject what? this computer has no optical drive).

Actually...no. I hit that key on accident sometimes aiming for Ctrl. Not sure if it counts as being on the keyboard, but the least pressed button on this computer is the 'Access IBM' button. I don't even have the tools or whatever it's supposed to launch installed, this laptop's been completely wiped and replaced with win7.

Scroll lock and Pause are definite runners up.

cowpewter··on Sexual assault, and why men don't get it
Someone pasted the content of the post in the other thread: http://news.ycombinator.com/item?id=1875865
cowpewter··on Sexual assault, and why men don't get it
I think it can definitively be said that if you kiss a girl and she shoves you off and tells you she's not interested that she's not 'up for it'.
cowpewter··on Sexual assault, and why men don't get it
There was at least one person on the thread for the original blog post that argued that the incident as described did not constitute sexual assault, and when the actual statutes demonstrating that it was were given to him, he said basically that while it may be sexual assault in the letter of the law, he did not think it was that a big a deal or that what was described should be illegal. He received plenty of downvotes, but plenty of upvotes too.

I know that arguing that something should not be illegal is not strictly the same as arguing that it's not 'not okay', but it is close enough to make me uncomfortable.

cowpewter··on A hell of a time
This might be a bit crude.

If things truly happened as she stated in her account, he didn't touch her boob. He didn't casually touch her in a way anyone could have accidentally done in a crowded bar.

She said she was wearing a skirt and bike shorts (and presumably panties) underneath the skirt. To do what he allegedly did, he had to reach under her skirt (already not a socially acceptable action) and get past two layers of fabric and elastic (and bike shorts fit pretty tight). He didn't touch her through her clothing, or touch some 'taboo' area revealed via skimpy clothing. He would have had to physically move her clothing out of the way in order to touch her genitals after being explicitly told that she did not want to be touched by him.

I don't see why you are so up for debating the semantics of the phrase 'sexual assault'.

Here's a thought experiment. You (I am assuming you are a heterosexual man, maybe you are, maybe you aren't, but I'm betting I'm right) go to a tech conference. You go to an after-party, have a few beers, have fun, chat with your peers. Another guy comes up to you and asks if you want to talk. You say sure. Suddenly grabs you and kisses you. You shove him away and say, "Whoa man, sorry, I don't go that way." He then grabs your belt buckle with one hand and shoves the other down the front of your pants and squeezes your cock.

Do you feel violated? Have you been assaulted? Hell yes, you were just sexually assaulted, 'in the particulars of your specific case'. And it's horrible. And it should not happen.

Edited to Note:

I only chose the homosexual example to highlight the fact that the physical contact was undesired. My point stands equally even if it were the hottest woman in the world and after the kiss you said, 'No sorry, I'm married.' or any other type of no including just straight up 'No'. If after the no, she still reached down your pants and grabbed your genitals it would still be sexual assault.

And while after reading some of your other posts I gather you feel our current sexual assault laws are too broad, and I support your right to have that opinion, and indeed even open a dialogue about it or campaign to have the law changed in your jurisdiction, I find it in extremely poor taste to have said dialogue in the commentary of such a clear example of sexual assault.

cowpewter··on A hell of a time
From the way it was described she didn't really 'go' anywhere with him except maybe a different section of the crowded bar. It's not like she got in a car with him, or went alone back to his hotel room.
cowpewter··on A hell of a time
Again, nothing against you specifically. Consider it a generic 'you' and that absurdist reduction is absurd. But unfortunately, it's what a lot of people actually seem to believe, even if they don't state it in so many words.
cowpewter··on A hell of a time
Understood, and yes people do need moderate their own behavior in order to safeguard their own safety. We don't live in a perfect utopia.

It's just that every time a women is assaulted and the first response out of most of the people she tells (including the police! and others who are supposed to be there for her safety!) is "Well what did you do wrong?" it makes women want to not speak up at all.

cowpewter··on A hell of a time
(According to her) he put his hand INSIDE her underwear. AFTER she said she wasn't interested. If it had only been the unwanted kiss, and she said no, don't touch me, and he said, oh I'm sorry, and left it at that, then yes...it was probably just a drunken misunderstanding.

Shoving your hand INSIDE another person's (of any gender) underpants after being expressly told that said person was not interested in you sexually is absolutely sexual assault.

cowpewter··on A hell of a time
Yeah, I get that you specifically aren't trying to say it's her fault.

It's just that overwhelmingly, when harassment occurs to women, the conversation turns to 'What could she have done differently to make it not happen to her?' and NOT 'What can we do to make it so men don't harass?'

If it didn't happen to so many women, so often, then maybe the conversation could go that way.

But as you say, let's analyze the pattern. What if the pattern is "Go to tech conferences and socialize in a normal and acceptable manner with other people who share my interests"?

What are you going to tell her? Don't go to tech conferences? Don't network with other people in your industry at a bar? Don't talk to a man while drunk? While sober but he is drunk? Don't talk to a man at all? Don't walk down the street at night in a skirt. Don't walk down the street at night at all. Don't leave your house.

cowpewter··on A hell of a time
"If it's not the first time this has happened, it might be time to re-evaluate the pattern of behavior that led up to the unfortunate event."

Responses like this are exactly why women don't speak up when these things happen.

← PreviousPage 11 of 12Next →