Coding resources?

Jul. 22nd, 2017 01:58 pm
zulu: Karen Gillam from Dr. Who, wearing a saucy top hat (Default)
[personal profile] zulu
Anyone out there on the ol' flist have any suggestions for tutorials or books I can read (hopefully from the library) to help me learn how to work with node webkit programming?

I'm a tinkerer and when I say "learn code" I usually mean "make it break in interesting ways until I--nearly accidentally--cobble together something that works".

Specifically what I want to do is this.

I used Twine Wrapper to make an app out of my Twine game.

I can see in the app.js file that it is possible to add, remove, and edit menus and menu items.

I'd like to change the menus so that "Edit" and probably "Window" are hidden (but not disabled, in case people still want to copy & paste...???). Then I want to add a "File" menu with "Redo" and "Undo" as menu items. These items would then have the same functionality as the Undo and Redo arrows/buttons in the Twine game itself.

From looking at the HTML source, I see that these buttons trigger "Engine.goBack" and "Engine.goForward" commands. But how to get a menu item to do that? I don't even know what that is.

For reference, a page like this is way over my head. I am definitely looking for the "For Dummies" end of the tutorial spectrum. To be really, really clear, I am asking to learn how to program, and I don't even know which programming language I'm asking about.

Thank you anyone who can point me in a direction!

a place of execution

Jul. 22nd, 2017 10:25 pm
tree: cropped shot of scully's mouth, chin and nose in the top right corner ([xf] i'll just be waiting here)
[personal profile] tree
even now, with everything i know about memory—how easily it can be manipulated, how the act of recollection changes the memory itself—there is still a part of me that feels betrayed by my childhood self. and i wonder if the reason that i have no memories of my early years is because i had to erase them in order to participate in the lie of my parentage. i helped to deceive myself.

/consider: a word problem

if x = 3 (my mother married my stepfather) and y = 6 or 7 (my earliest memories), calculate the distance from one truth to another.
there were two trains. they were going at what speed?

/consider: the self as a city

i razed it and rebuilt.
no tracks and no disputed ground.

/consider: the present tense

how do i trust myself?
how do i forgive?
'an indeterminate or undefined place or state.'

Almost Friday

Jul. 20th, 2017 04:47 pm
nightdog_barks: (Sun)
[personal profile] nightdog_barks
Ugh, so tired and cranky. Have not been sleeping well at all and every day now it is hot and still outside. :-P

Reading Jack Cheng's See You in the Cosmos. It's a YA/middle school/middle grade book, a class I read very occasionally (I loved Rebecca Stead's When You Reach Me, but hated Elizabeth Wein's Code Name Verity.)

Watching Grantchester and The Great British Baking Show on PBS, and Forged in Fire on the Hitler History Channel. Also watched The Accountant on one of the movie channels -- thought it was very silly but fairly fun.

President Potatohead is still an utter moron.
pwcorgigirl: (Bad day athe office?)
[personal profile] pwcorgigirl
Janitorial services must be purchasing the bulbs for the radio station's bathroom from a special effects outlet, because looking into the mirror while washing up at the sink in there is a terrifying experience.

As a newly minted 58-year-old, I am not the fresh-faced girl of yesteryear, but still... A stop in at the hallway loo at work this morning made me actually gasp when I looked in the mirror: shadow on the upper lip, purple bags under my eyes, and a yellow complexion.

I exited the bathroom at top speed and asked my colleagues, who can be counted on to be brutally truthful, if things were really as bad as the Mirror of Doom depicted. Nope, they said.

Interestingly, the light in the rarely used bathroom behind the storage room is much more flattering. We can only figure that the light burns out more frequently in the hallway one, which sees the majority of use, and the latest cost cutting measures have included buying light bulbs from the overstock sale at Monsters 'R' Us.

So I went to the "good bathroom," slapped on a bit of make-up, and now look far less scary. :-D

Meet Bonbon the Tiny Mustang

Jul. 16th, 2017 12:14 pm
blackmare: (tumbledown)
[personal profile] blackmare


In the last year I've participated in a few fundraisers for a horse rescue ranch in my area. Last fall, they took in several wild Mustang mares who had nowhere else to go. One turned out to be in foal, and the baby -- this adorable filly -- was born just over a week ago. On Friday night I went out and got some photos of her. I used a fairly small image size to spare your browser; click to enlarge.

Cuteness overload, under the cut! )Save

Cloudy Saturday

Jul. 15th, 2017 02:55 pm
nightdog_barks: Red Mobil Pegasus flying over an open book (Pegasus and book)
[personal profile] nightdog_barks
It actually rained a bit this morning and is still overcast, giving us a temp of 86 degrees (30 degrees Celsius), which is amazing for mid-July. Unfortunately, the humidity is 70%, making it feel as though it's 95 (35 Celsius). I'll still take the cloud cover.

Was very sad to see this news -- Maryam Mirzakhani passes away, aged 40. First (and so far, only) woman to win the Fields Medal, genius mathematician. Wife and mom. And just 40. JUST FORTY. What else might she have accomplished? Seriously, cancer can go DIAF.

Sigh. Still curious to see who the 13th Doctor will be, even though I fell out of love with the show this season and I'm really not sure why.

Here, have a somewhat blurry pic of Layla (taken this afternoon) --



Oh! Editing to add that I forgot to mention I saw a bat last evening, flitting around our backyard at just dusk when the sun was going down! I think Layla was barking at it. :D

Bastille Friday

Jul. 14th, 2017 05:47 pm
nightdog_barks: (Dry Farmhouse)
[personal profile] nightdog_barks
Roofers are done, THANK GOD. We've lived in this house for thirty years and in that time we've had three (now four) new roofs put on, and every time I forget how INCREDIBLY NOISY IT IS. Good lord. Layla was mostly okay with it all -- she was more concerned at the end when one of the guys walked around the deck using a leaf blower (leaf blowers are her Mortal Enemy).

Reading Paul Farley and Michael Symmons Roberts' Deaths of the Poets and liking it greatly.

Here is a very cool little clip of some kind of little white shorebirds making fantastic flashing patterns in flight. :D

Pretend play

Jul. 14th, 2017 08:13 am
zulu: Karen Gillam from Dr. Who, wearing a saucy top hat (Default)
[personal profile] zulu
L has just started, within the last day or so, to do a new kind of pretend play. He's been playing "I'm cooking" or "I'm driving", activities that happen in real life, for months. But now he's adding in, "I'm a kitty!" or "You're a puppy!" and acting it out by meowing or crawling on all fours.

This morning in the car, he said that he was a kitty and I was a puppy and he was my mama. I said, "L, if you're a kitty, how can you be my mama if I'm a puppy?" Sidestepping this logic, he said, "Mama, you a SAD puppy and I'm your mama." I made some sad puppy sounds and then said, "Mama, how are you going to make me feel better?" He said, "Here's Kitty!" (meaning his beloved stuffy). So I hugged Kitty and gave her back (always give Kitty back!). Hugging Kitty solves all problems, so that was that, and then he went on to other details of our commute ("There's a gas station! There's a cement truck!").

Kids! Development! So weird and cool.

San Francisco layover

Jul. 14th, 2017 09:27 am
roga: coffee mug with chocolate cubes (Default)
[personal profile] roga
Hello! On my way to Vancouver/Seattle this Sunday (!), I will be having a nine-hour layover in SF, meaning I'll be able to be in the city pretty much from 11 to 4PM. I haven't been there since 2006 so I'd love to hang out downtown; if anyone wants to hang out please be in touch via any platform :-)

Looking for a post

Jul. 13th, 2017 08:30 am
zulu: Karen Gillam from Dr. Who, wearing a saucy top hat (Default)
[personal profile] zulu
Someone on my reading circle recently (within the last month?) quoted someone else on dreamwidth who wrote a post that boiled down to, "Here's a list of nine things that your brain wants you to think you're supposed to be able to do flawlessly all at once, but in reality most people manage two at most," those two being "holding down a job" and "keeping a living space livable". Some of the others were, like, "meaningful artistic practice", "gregarious and active friend circle", etc.

I wanted to reread, but I can't remember who posted it or when. Does this ring any bells?

Quite pleased

Jul. 12th, 2017 09:44 pm
zulu: Karen Gillam from Dr. Who, wearing a saucy top hat (Default)
[personal profile] zulu
Short story draft is at about 3000 words; I'm aiming to be finished in the 5-6K range. It's going well but most of all I'm pleased that even though my days are carved up with internship, I am finding time to write, and I am consistently coming back to the story able to remember/pick up where I left off (not always guaranteed with original fiction).

I was invited to submit by an anthology editor who remembers me from last time, so that is nice. They won't accept necessarily but the odds are good. Hoping to submit by Friday.

I've been using the "moral premise" plotting style for my recent short fiction--has anyone else tried it? (There's a book but I'm too cheap to buy it; I've been basically doing what someone suggests in this blog post about it.) I'm finding it pretty helpful to round out characters and keep focused on a single problem in a short space, instead of writing a bunch of "is this the first chapter of a novel?"s.

The Nail Guns Next Door

Jul. 11th, 2017 06:07 pm
nightdog_barks: (Sunflower)
[personal profile] nightdog_barks
Because we had a huge hailstorm in the spring with golfball-sized hail, lots of folks in our area had to have their roofs replaced. Yesterday and today it was our next-door neighbor's turn. Tomorrow it will be OUR turn. :-P

I finished Lev Grossman's The Magicians, and, unlike so many of the people on Goodreads, I ... well, I loved it. I thought the story was engaging and I stayed up until almost 3 in the morning reading two nights in a row. I know the publisher apparently marketed it as "Harry Potter for grown-ups," but I'm one of the seven people on the planet who never read Harry Potter so I don't think I was coming to it with any real baggage. To me, there were echoes of Bret Easton Ellis (some people behave very badly in the book) and Ursula LeGuin, René Magritte and Giorgio de Chirico, J.R.R. Tolkien and C.S. Lewis. (Not to mention our old friend, Donna Tartt.) There was a point in the book when I thought, "Oh my god these people are HORRIBLE and I hope something bad happens to them!", and another point when I breathed, "Oh, shit!" when something very bad did begin to happen. Yes, there are a couple of missteps by the author, including a moment when a minor Native American character is described as having a "hooked nose." It's perfectly plausible that someone who IS Native American could have the facial characteristic of a hooked nose, but ... um. Not a comfortable moment. I winced and shook my head, and kept reading. And now I'm ordering Grossman's next book in the trilogy.

So. Two thumbs up, a strong recommendation for a gritty, lyrical story with some deeply flawed characters struggling to figure out life, love, and the whole nine yards.

furrow

Jul. 10th, 2017 10:39 am
tree: a black and white photo of a person from the waist down holding a gas mask and a gun ([else] but also not two)
[personal profile] tree
we are delicate balances.

my brain sucks up its own neurotransmitters too quickly, too eager for its own good. that's half the story. and i, like a good little science experiment, open my mouth for each new drug wondering if this will be the foot that fits my slipper. slipping on chemicals like dresses, looking for the one that suits me best. shows off my good features. hides my flaws.

and they tell us quite honestly, we don't know how they work. we don't know the long-term effects. we don't know the permanent damage they might do. how they might remake you, un-make you, scramble your brain, zombifie, compress you hard as diamond so you're shatterproof and ready to cut. we don't know what is temporary and what is for good.

funny how 'for good' also means 'like it or not'.

we tell ourselves it's better than the alternative. after a while you start to wonder: what if it wasn't really so bad before? what if i'm misremembering? i'm crazy, right? can't be trusted to know my own mind. what's left of it. but there's also the fear that maybe you're right. this is it: your best life. take what you can get and be grateful because it can always get worse.

cut the string of a kite and it's released into the wind. it comes down eventually in someone's backyard, or a tree in a field, true. but that's nothing to do with you.
Page generated Jul. 23rd, 2017 08:45 pm
Powered by Dreamwidth Studios