How did your brain even learn human speech? I'm just so curious.

Wash ,'Objects In Space'


Buffistechnology 3: "Press Some Buttons, See What Happens."

Got a question about technology? Ask it here. Discussion of hardware, software, TiVos, multi-region DVDs, Windows, Macs, LINUX, hand-helds, iPods, anything tech related. Better than any helpdesk!


Tom Scola - May 02, 2012 8:03:41 am PDT #19960 of 25501
Remember that the frontier of the Rebellion is everywhere. And even the smallest act of insurrection pushes our lines forward.

That is the way that the match function works. Just pop the value off of the array that it returns.


tommyrot - May 02, 2012 8:06:00 am PDT #19961 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

OK, I see that now.

Cool! Thanks!

eta: I was doing an alert on the result. Didn't realize you could alert an array!


amych - May 02, 2012 9:04:25 am PDT #19962 of 25501
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

vwbug, turning off trackbacks and pingbacks only applies the setting to new posts/pages - to turn them off on old posts:

  • Go to the list of posts and tick the tickybox in the bar at the top of the list to select all the posts on the page.
  • Look for "Edit" in the "Bulk Actions" dropdown, and click "Apply".
  • Look for "Pings: Allow/Do Not Allow."

You'll have to do this once per page of posts, but it sure beats going into each one by hand.

Also, pingbacks suck.


megan walker - May 03, 2012 2:46:53 am PDT #19963 of 25501
"What kind of magical sunshine and lollipop world do you live in? Because you need to be medicated."-SFist

Wordpress/Blogger question:

For some reason, if you add my Wordpress link to a blogroll on Blogger, it shows that my last post was 10 months ago. I don't think that was the last post I imported in my initial switchover, so I can't figure out why it's not updating.

I initially thought it might be a caching issue on the other person's site, but I just added the link to my old blog at Blogger and it's doing the same thing.

Ideas?


vw bug - May 03, 2012 4:14:40 am PDT #19964 of 25501
Mostly lurking...

amych, thank you!!! I knew I was missing something. And yes, they are completely annoying!


tommyrot - May 03, 2012 6:29:36 am PDT #19965 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

So, anyone here ever worked with the Javascript plugin jQuery?

Because I may have questions.


amych - May 03, 2012 6:51:33 am PDT #19966 of 25501
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

So, anyone here ever worked with the Javascript plugin jQuery?

I've worked with it a fair bit, although I'm hardly ninja-grade. What up?


tommyrot - May 03, 2012 7:18:17 am PDT #19967 of 25501
Sir, it's not an offence to let your cat eat your bacon. Okay? And we don't arrest cats, I'm very sorry.

Well, I just solved my most recent problem with the jQuery autocomplete function.

I don't suppose you know how to hide the iPhone keyboard in Safari when a textbox has the focus? I mean, without disabling the text box or shifting the focus off it. (I'm using the jQuery autocomplete on the text box, so I don't need the keyboard.)

eta: My boss hates the iPhone Safari scroll thing you get for a web dropdown box.


amych - May 03, 2012 7:31:25 am PDT #19968 of 25501
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

Sorry, can't help much on that one - showing/hiding the keyboard is more in the land of iOS stuff than jQ, and I'm not sure I've ever seen a trigger for it that isn't giving/removing focus. (There are a couple of suggestions along those lines here, using blur events or dummy elements: [link] Out of curiousity, what's the use case for not shifting focus while never typing in it?

btw, are you using jQuery Mobile, or just jQuery? They're different beasties; you might want to keep your searches to jQ Mobile since you're looking specifically for iOS events.

(edit: xpost on the use case. Sigh, bosses.)


amych - May 03, 2012 7:34:30 am PDT #19969 of 25501
Now let us crush something soft and watch it fountain blood. That is a girlish thing to want to do, yes?

Have you seen Chosen? It's a jQ plugin that de-uglifies long ugly dropdown type things quite nicely. Disclaimer is that I have no idea what it does on mobile.