A little playlist: https://open.spotify.com/user/premasagar/playlist/23HecvNHK1...
HN user
premasagar
JavaScript programmer (client-side and Node.js)
http://premasagar.com | http://dharmafly.com
SEEKING WORK
Location: Remote - I’m from the UK, living in Portugal
Remote: Only remote work
Willing to relocate: No
Availability: up to 3 days per week
Technologies: JavaScript (front-end and Node.js), SVG, CSS, HTML
Résumé/CV: https://www.linkedin.com/in/premasagar
Email: p@premasagar.com
Website: http://premasagar.comRecent projects include: data visualization of social inclusion, a Meteor/React-based community voting app; a Node.js web scraping spider; an SVG generator; and a test suite for a legal document generator. I’m happy to share details.
Shenanigans like this will only hasten the onset of a bitcoin economy.
SEEKING WORK
Location: Remote - I’m from the UK, living in Portugal
Availability: up to 3 days per week
I’m a JavaScript programmer, both front- and back-end. I’m familiar with ES2015+, the Node.js ecosystem and toolchain, and have been a web developer since my first website in 1999.
I have created and coordinated many web apps through my Brighton-based agency (http://dharmafly.com), and know what it is like to lead a project. These days I focus on my role as a freelancer for startups, companies and individuals.
Recent projects include: a Meteor/React-based community voting app; a Node.js web scraping spider; a SVG generator; and a test suite for a legal document generator. Happy to share details.
Email: p@premasagar.com
Links: http://premasagar.com | https://github.com/premasagar | | https://github.com/dharmafly | https://www.linkedin.com/in/premasagar
I agree. There is always a choice, although the shift may be difficult or unsettling, and some people will feel freer to make a change than others. I think one huge component of this is location.
A little while back, I moved with my family from the city to the countryside (the foothills of central Portugal), where there is a growing community of migrants from western cities, living around and alongside the local villagers, who are mostly small-scale subsistence farmers. People call us the Neo Rurals.
Land and living costs are way less than where we came from, which means I can afford to work three days a week, rather than the 5 out of 7 days I was working before. I am fortunate to be able to work remotely (I'm a freelance JavaScript programmer) and to have come from an existing network (the wonderful Brighton, UK). Somehow projects arrive when I just need them (get in touch if you're looking for someone). But people here to do all sorts of work, and often grow food and generate their electricity to lower the base costs.
The door is open. Neighbours' children come by because they want to play. Many people home-educate / unschool. And we do pretty well as a community amusing ourselves, learning from and helping each other.
Uprooting is difficult, but I have never looked back. And it does come with some "hardships", but most of those are really joys.
The elephant brain is better than the human brain. The fact that the elephant faces extinction at the hands of human brains and is only being saved from extinction by the work of other human brains is evidence at least at some level.
You could also transmit to a whole room full of people without needing to connect to any networks or devices.
Another place I'd love to see Meteor move towards the (future) standards would be an eventual replacement of Fibers with async/await throughout, which to me is more explicit and intuitive.
As well as snap.svg, you may want to take a look at Pablo (I wrote it). It is for SVG manipulation and includes some animation methods [1] that utilise CSS or JavaScript callbacks (also SMIL which is recently deprecated).
Nice. Inter-app communication between web apps installed on any device.
A search engine for web app manifests would be a good starting point for a World Wide App Store.
Yes, SVGO is really good at this and other kinds of SVG optimisation and manipulation: https://github.com/svg/svgo/
Ooops. I keep reading it as nsfw.js - I'm not sure what that module would do.
Congrats to the NW team.
When I added the ability to import existing SVG images into Pablo, and to export the generated SVG in different image formats[1], I was pretty thrilled by the possibilities of having a JavaScript bridge between the design tools and the web app, the designer and the developer. And I see that Snap is also totally aligned to this kind of interaction between the web app and the external graphics tools, like Illustrator, Inkscape and SVG Edit.
The obvious next step is for a drop-dead simple visual interface to choreograph the graphics and the animations, with hooks into the rest of the JavaScript application. It could might be a game, interactive art, a visualisation or anything with graphics. Flash is dead, but there is nothing that exists for the open web that is as intuitive and fun to use as the Flash IDE was.
It must be just a matter of time before a tool as brilliant as the Flash IDE comes along for the open web, and I can imagine it makes a lot of sense for Adobe to be in on it.
There's a great little node.js-based tool called SVGO for removing the fluff and optimising SVG files: https://github.com/svg/svgo
Wow. Snap looks beautiful. Nice one, Dmitry.
I've been enjoying working on my own SVG library, Pablo[1]. It's inspired in part by the fun I've had using Raphael, and wanting to explore what can happen when SVG is a first-class citizen of a library.
I'll look into that. Thanks.
Cheers for the feedback. Do you mean to add something like "Examples" to the navigation links at the top?
It's great to see the steady rise of SVG on the web (finally!).
I've created a small JavaScript library for SVG, called "Pablo": http://pablojs.com
It packs in a lot for its size. Pablo lets you create and manipulate SVG, somewhat similarly to using jQuery and Underscore.
For those near Brighton, UK - there's a launch event this Friday: http://brightondigitalfestival.co.uk/events/pablo/
Very nicely executed.
Simply replace `extract: text` with `extract: href` for the anchor's href attribute. You can do this with any kind of attribute.
Simon and Natalie, and all the team, congratulations on your continued rise of success. Yours has always felt like one of the most human and utterly useful services out there; long may it be so. Enjoy the new phase.
A good idea. I've just added that to the docs site.
It uses Cheerio for scraping, but it also lets you use selector queries to grab a subset of documents, whether the document is HTML, JSON or another format. It also lets you request multiple documents in one HTTP request, and a few other things.
I didn't submit this, but I did oversee the project.
Noodle is a Node-based web scraper that also handles JSON, XML and other file formats. It was initially built as a hack project to replace a core subset of YQL.
All responses can be served as JSONP, to allow for cross-domain scraping from a website's front-end.
Selector queries can be used to grab a subset of a document - e.g. CSS selectors for HTML documents and dot-notation for JSON documents. It lets you request multiple documents in a single HTTP request, and a few other things.
I helped to guide an intern, Aaron Acerboni, at my company, Dharmafly, when he built it last year.
Whoops. Now fixed. Not sure how that happened.
See also http://noodlejs.com for a Node-based web scraper that also handles JSON and other file formats.
It was initially built as a hack project to replace a core subset of YQL. (I helped to guide an intern at my company Dharmafly, Aaron Acerboni, when he built it).
To lower the friction for new users to take up Parley, it'd be handy to allow the "import" of an existing email account.
This has little security benefit, since the emails will exist on other servers already (although when I switch mail services, at least my mail will now be stored encrypted). But it would allow me to just use Parley, including for searching or categorising my old messages. I could then delete my current webmail account and there'd be one less insecure node in the system.
IMAP import would bring in old messages as well as category (label / folder) structure. Perhaps there's even a way to pull in Gmail / Thunnderbird / other message filter rules(?). It's all time saved by not having to set things up again.
Ah, ace. Thanks.
I would love to be able to export images as an SVG file. That way, this could be used for creating simple assets to integrate into a site design or wireframe.