I just the other day looked at phantomjs and ended up using casperjs on top as it allowed to use standard selectors to pick the elements I wanted to capture.
domshot is a Python API that lets you include JavaScript / CSS modules (e.g. jQuery, d3.js, your brand style). You then render PNGs using from Jinja2 templates. Under the hood, what it does is render static HTML from the Jinja2 template, open a PhantomJS headless browser instance on that page, and then render it into a PNG.
This way with a few lines of code, you can go from Jinja2 template -> rendered PNG without having to worry about the details of passing information back-and-forth between your Python app and a PhantomJS instance.
Sound interesting? We're planning on open sourcing it. Ping us (hello at parsely dot com) and we'll notify you of when it's available.
It would be open source already, but we're a bit backlogged on spare time projects at the moment. We just made an open source release of http://schema.to a couple weeks ago, and now Sandy struck so we find ourselves catching up. But, soon!
Very nice effect. Very very smooth on Firefox Aurora with plenty of ram.
Is it possible to make this CSS effect work on the iphone? Is it a matter of tweaking the CSS or is it due to the limitation of the iOS Browser? Im curious of how smooth it looks on the iPhone. Would happily have checked a different mobile... but I dont have one of those.
As far as I know, it's possible to make it work on iOS Safari browsers, as Safari mobile browser supports CSS animations, transforms and transition effects.
"It said that the Cabinet Office supported "initiatives such as the Cyber Security Challenge, which promotes careers in cyber security via annual competitions and events"."
http://www.bbc.com/news/technology-15968878
If the parties involved did a little research on some people on reddit, they may have found someone who would be curious and self motivated into publishing it on reddit.
When the GCHQ challenge was launched there was huge publicity on reddit, strengthening the above statement that there would be interest.
I for one am quite looking forward to hearing how this unravels as the person who triggered it (assume for now), reached out, is at least keen to continue the publicity.
Passing out $50 notes with a puzzle to people who look really nerdy (but fairly well off) getting off a subway near Wall Street might be a worthwhile way to recruit bored quants or IT people. $50x1000 is reasonable if you get one good hire.
when I am an old man, I hope my family make more of an effort than to plan for strangers to call me. This seems more for your own guilt than helping them. That said, I would have loved the chance to skype with my grandad or tap into his "what I am doing" view.
Knowing how many older folk play crosswords, I think an async game you can play is far more meaningful.
I don't take offense to your comment, in fact I think you are partially correct but your view is to simplistic. I don't think you appreciate how difficult it can be to provide care for some one with old age/dementia or a neurally degenerative disease like Parkinsons or Alzheimer's. Caregivers need more tools and this would be one that would help for some people. It wouldn't replace all the other things that you need to do as a Caregiver, technology is just another tool that can be used.
You do feel a great guilt and sadness watching someone you love slowly wither away over years. You are always thinking of ways to help but the hard reality is that there isn't a lot you can do except provide companionship.
But what do you do when you need a job to pay for all the other care this loved one needs? These things compete for your time and ability to provide companionship 24hrs/day. If I quit my job and moved across the country to take care of my father their wouldn't be any money to pay for the nurse's, medicine, and doctors. Plus all the other complexities of life that this would create for my wife and our plans to have a family. Caring for a sick person is complex.
when I am an old man, I hope my family make more of an effort than to plan for strangers to call me.
That's a really rude statement. Also, you have no reason to think the parent commenter's father enjoys games, or even to think that an aged person with health problems is interested in puzzles over human interaction.
I think it highlights the focus we as technology advocates hold that technology can solve society based problems. Turn back the dial 50 years, we held our elders in far higher respect than we do today.
That said, I want to show you an example of something a bit more meaningful with skype and the older generation.
Clearly this is not for all people, yet I feel it is more interesting than just to ring up and hold a "30 minute" conversation because someone is paying you to do it. Not only that but I would bet it gives some of these ladies focus, purpose, still have something to give to society.
It's beyond rude. Saying something like that without knowing anything about the people involved, their relationship or what they do for each other is extremely nasty.
In the general case, I think you're not rude at all and is a valuable comment.
But if you're refering to a specific person to whom you don't know their individual circumstances, and you do it publicly, then it is extremely rude. For the record I'm from the UK in case this is a cultural thing.
You could also expect them to die in a reasonable timeframe. Caring for someone for 6 months is a totally different thing from doing so for 6 years. It is a gift and a curse.
Firstly, reading the 10 Commandments, I didnt feel an instant connection to Teachers, rather a loose set of values for all. So I came back to Hackernews to read the comments, thanks to Michiel throwing the titbit of information about his rejection from New York, I went on to discover a fascinating individual, via wikipedia lead me down the rabbit hole of self-learning of a few other interesting folks who were closely or loosely linked to Bertrand. All this whilst sat on a boat, via 3G. (The world we live in is amazing!)
Take a moment to read his wiki entry and then ponder quietly to yourself, what sort of activities, Bertrand Russell would have championed today.
If you've got the time to spare, even a passing interest in philosophy, and haven't read it already, I can't recommend his History of Western Philosophy highly enough. It's delivered with a tone that really imparts a sense of Russell's enthusiasm both for the subject and for teaching; I've never found 900 pages easier to read or more informative :)
Russell's "History of Western Philosophy" is a wonderful book, but I am told by people more expert in the history of philosophy than I am that it's not terribly accurate. I don't think that's much reason not to read it, but treat knowledge acquired from it with caution.
(Allegedly Anthony Kenny's big single-volume history of philosophy is more accurate and also enjoyable to read. I have it on my shelves but haven't opened it yet, so can't confirm or deny that.)
Yeah, I was advised to bear in mind that it was very much coloured by Russell's take on things.
In some ways, I treat it like a wikipedia article -- a mostly-good overview, which can be used as a guide to look up more rigorous accounts of any particular topics that interest you, but is kinda biased. But it's better written than wikipedia, and I'm more interested in Russell's bias than a random netizen's ;)
I have started the slow road of learning Norwegian now that I live in Norway. I too have found myself wondering if a link exists between programmers and desire and ease to learn a new language.
My Norwegian, is not good, yet daily as I discover I have remembered the "methods" or the "function names" to piece together sentences it becomes easier and allows me to focus on the code.
Could you tell us a little more about domshot.
I just the other day looked at phantomjs and ended up using casperjs on top as it allowed to use standard selectors to pick the elements I wanted to capture.