Better HN
topnewbestaskshowjobs
Log inSign up

git-pull

1,787 karma · joined Oct 29, 2013 (13y ago) · 405 submissions

open source software plumber

author: The Tao of tmux (https://leanpub.com/the-tao-of-tmux) available to read for free online at https://leanpub.com/the-tao-of-tmux/free

software libraries: cihai, unihan-etl, tmuxp, libtmux, vcspull, libvcs

tony (at) git-pull.com

https://www.git-pull.com

(If what I say isn't helpful to you, disregard it. Spread the good will and good tidings!)

Submissions

comment 9y ago · link · parent

Again, maybe I've just been hanging out in the wrong places.

> On the other hand, expertise in specific domains, like database optimization, security, architecture, agile methodology, etc where the work is more advisory and results are more report than hands on code - that is still going intensely strong, even for individual consultants.

If it's that strong, where are all the job board postings? Where are all the linkedin profiles of these consultants and freelancers?

Maybe a couple exist. I've yet to be convinced there's any market that someone could sink their teeth into for freelancing in tech. I'm not trying to push my perception. I'm hoping to see some sign; evidence.

I think employers are pushing back on outside, individual opinions and gigs and putting up more barriers, more tests while resumes flood in. Recruiters and HR's perception is they can be slow to hire and fast to fire anyway. That in itself, the fact you can just press a button on StackOverflow or LinkedIn and be one of hundreds of applicants is a reason why snapping up a freelance gig is hard.

Employers are drowning in applicants. It's known they can afford to skip over a potentially good candidate due to the numbers. Even Cracking the Code Interview mentions it. Freelancing is a fast hire, relative to the battery of tests a full time, salaried position has.

One more time, I'm not trying to be right or push a perception. I'm a good coder. I have a hearty, hearty portfolio. I get calls back sometimes hours after I sent resumes in. Still, no one wants to snap me up fast even if its obvious I can produce results. I get a number and told to wait in line. Again and again. Even startups that aren't de-risked that have <2 years of runway are just looking for django developers are arrogantly flipping through candidates like they're large corporations that'd have job security. Based on what I've seen, they are resolutely filling solely fulltime positions.

But lets say I did score a gig or had a network developed, I'd still perceive it as an exception to the norm. I'd be happy to see proof of a tech area that has a distinguished pattern of snapping up people at an hourly rate that's realistic for a person with no established network, but adequate ability, to pursue.

comment 9y ago · link · parent

Freelancing has died out for me and everyone else I used to freelance with (this was circa 2004-2008). Here are the reasons I've seen that played a role in the climate (and it's not this virtuous market force here, the people who hire/fire are cargo-culting each other and narrowing their potential and access to talent as well):

1. A great deal of the work has turned to agencies. The kind of people who liked freelance worked ended up seeking employment with them. The agencies finds juicy longer term projects that span 3 months to a year that can bill out a whole team.

2. The general attitude toward working with a dev without locking them in is now frowned upon. Startups want a person on site and full time. (Even if a lot of startups putter out in < 3 years, they still have the impression they're hiring for the "long haul").

3. Further saturation by upwork and other services. The kind of people offering gigs are miserly micromanagers who want very cheap labor from out of the country. The kind of people who count every penny and are not trying to attract talent with snacks and pool tables anyway (Despite them being often atrocious at nailing down specifications, often ends up getting lower quality work and building a lower quality product. You don't hear about there success stories).

4. Freelancing isn't seen as a thing a seasoned developer fits in, in the current economy. I know I see threads here on HN about consulting, but really, there's a sampling bias and a lot of wishful thinking.

What I write above isn't iron rules. Just part of a cultural shift in hiring I've witnessed. Maybe I've been hanging out in the wrong places. I see good remote work as a unicorn.

comment 9y ago · link · parent

entr is is what I eventually settled on after years of searching the perfect utility to build/run tests after file changes. After using gulp, grunt, watching_testrunner (which I eventually inherited maintainership of), watchman, watchdog (https://github.com/gorakhargosh/watchdog), sniffer (https://github.com/jeffh/sniffer)

entr is cross-platform on OS X, linux and BSD.

watching_testrunner has no BSD support

watchman is way too big and not domain specific enough to my needs

sniffer worked quite well but it required having a scent.py file everywhere

entr keeps it all in a neat, unix like package you can pipe files to.

I keep some example usage in my book, The Tao of tmux at https://leanpub.com/the-tao-of-tmux/read#leanpub-auto-file-w.... In this section I demonstrate my workflow with entr(1) in a Makefile. The code I use in the example should work across OS X / BSD / Linux (note the utilities like find(1) may behave a bit differently across unix-like systems).

I use the Makefile w/ entr(1) in development on my projects like tmuxp at https://github.com/tony/tmuxp/blob/master/Makefile. tmuxp is BSD-licensed so you're free to work off that if you'd like to try it on your own project.

comment 9y ago · link · parent

Thank you for releasing https://github.com/RunestoneInteractive/RunestoneServer under a permissive, MIT license.

Any reason to keep https://github.com/RunestoneInteractive/RunestoneComponents GPL?

comment 9y ago · link · parent

It's more than a book.

If you click into a section, you can run the python code and get the output.

comment 9y ago · link · parent

> As an anecdote, I have been using react and react router with no jsx or transpiling for 6 months now and it works just fine. Dependencies are in index.html order

Any boilerplates on GH you can point out / something you could publish?

comment 9y ago · link · parent

(One topic I see being brought up when it comes to runtimes, python 2 and 3 is C API stuff. It still bubbles up to the top now and then. This isn't related to grumpy specifically, but the FUD I've been witnessing)

Maybe I'm far underestimating the amount of custom C API being used in production at places or been hanging out in the wrong places. I just doubt that intention is to kill off anything. Even by unintended side effect.

A great deal of the python code I see with C extensions already is Python 3 compatible and even has wheels for them. I think it used to be numpy and libraries that pulled it in as a dependency. We're at the point where compatibility from 2 and 3 is so darn good in libraries we pull in I hardly notice it anymore. [1]

I do write Python 2 + 3 compatible code. The differences in the syntax itself are trivial. A compat module [2] will do the trick assuming you have your own custom C extensions, which most don't.

(Going off on a bit of a tangent) There has been some deliberation of what has to be done to get around GIL: The other thing is I haven't been convinced of is the idea being thrown around at conferences and on mailing lists that breaking the C API is this world-ending scenario. Yeah I understand the disruption, but what % of the code, assuming you're in the minority of python developers doing custom c extensions, that you can't update some API signatures?

[1] https://python3wos.appspot.com/

[2] http://lucumr.pocoo.org/2013/5/21/porting-to-python-3-redux/...

comment 9y ago · link · parent

Accept the mountains of information I've provided them:

- Picture of me with my driver's license (which has logins from the area)

- Sworn oath under penalty of perjury

- Proof photos in my public account are linked to me (I have pics of a laptop with an xmonad config open which is the same as my GH) https://farm3.staticflickr.com/2741/4437425032_a059639217_o_... == https://github.com/tony/xmonad-config/blob/master/xmonad

comment 9y ago · link · parent

That's exactly the problem. They're not willing to take information except what they prescribe. They didn't require much much in the first place. You can't be Yahoo, turn around after you require too little verifying information in the beginning, then place tens of thousands of accounts in stasis, when people are piling up willing to move mountains to show that it's really them.

After they've been hacked, how can I be sure that my info wasn't changed? What about with flickr had transitions, was any identifying on the accounts lost?

The photos I have can be matched to other public information I have on the net. I've provided those details already.

My name is on the account.

I was a flickr pro customer. I could give them my billing info of CC's I had around the time.

Blizzard doesn't keep driver's licenses on file before hand, but they use it to prove identity.

comment 9y ago · link · parent

https://news.ycombinator.com/item?id=13654513

https://news.ycombinator.com/item?id=13386349

I still don't have my flickr account.

Here's the response from Yahoo Concierge: https://imgur.com/a/smjuL

The employees at Yahoo have been kind and helpful to me. But the bureaucracy is a rotted waste who just doesn't care.

What am I supposed to do? Why can't you just allow accepting verification documentation like FB and Blizzard does.

The engineers are great. The managers are great. But the rotten core would screw over tens of thousands of people locked out of their account so as to not make one mistake with an identity theft.

How can I be sure my account wasn't one of the ones hacked in one of their many security fiascos?

I'm just exhausted.

comment 9y ago · link · parent

This is pretty cool. I like the concept of being able to nail down stylistic stuff in a declarative config, in project. Big advocate of it. Especially in open source or on team projects where we want consistency and a programmer may need to do quick touchups. This allows them to open their edit up and hit the ground running without getting indentation mixed up.

There is a popular tool around that handles general style settings across editors and projects.

What makes this different from something like EditorConfig? Anything sublime-specific that your tool provides?

http://editorconfig.org/

comment 9y ago · link · parent

This is cool!

For those who just want to clean old branches from their forks and insist on doing this process locally, you can also check out git-sweep[1]

[1] https://github.com/arc90/git-sweep

comment 9y ago · link · parent

Nifty!

Some nitpicks:

You can do a "display: none" on the #output ID when it's empty and add some effects to it.

In the examples wrap the print's in parenthesis. Instead of

    print 'hi'
Do

    print('hi')
Example one has a misspelling in

    methodds.append(lambda x: x + i)
but maybe its useful because it shows off the linting/error detection. If it's there on purpose, add a tooltip so newcomers know it's an intentional bug for demonstrating the linter.

I like it. Starred.

comment 9y ago · link · parent

For those who don't know, that thing with meters on it is htop(1). http://hisham.hm/htop/

comment 9y ago · link · parent

> I use cross-compilation to build locally then sync to the server.

I don't have a lot of prod code in golang. It's just a gogs server, the rest of is in other languages. All of which the best practice is pulling down requirements (some of which build c-extensions against headers which versions differ) on the server.

As a side note gogs has been really great. For those who don't know you can grab it at https://gogs.io/.

comment 9y ago · link · parent

Here's the video: https://www.youtube.com/watch?v=gTEDYCkNqns

comment 9y ago · link · parent

For reference, DigitalOcean's $5/mo droplets have 512MB memory [1]. This will crash if you're building a golang projects like gogs or C extensions in node or python. YMMV, but I had to bump on DO droplets to 1gB memory for installation, even if 512mB could do it while running.

Linode is top tier. Support is great. Interface makes sense. Instances are fast. One of the things that led me to DO was the $5/mo instances though. It's hard to resist a cheap personal server you can host all your legacy projects stuff on.

[1] https://www.digitalocean.com/pricing/#droplet

comment 9y ago · link · parent

I like doing a fresh install of Linux/BSD/macOS every 3-6 months. My tools/flow are opinionated, but outlined below:

For configs / dotfiles:

https://pypi.python.org/pypi/dotfiles

I keep my personal config @ https://github.com/tony/.dot-config if you want to glance or copy/paste from it (MIT-licensed).

Another trick is partitioning. Keep media files in a separate partition. Also great if you dual boot.

rsync + ssh for copying files from other machines: http://troy.jdmz.net/rsync/index.html

I use vcspull (http://vcspull.git-pull.com), an app I wrote, to re-clone my projects to the same familiar directories.

Keep books on Kindle.

Have your own personal self-hosted git with gogs (https://github.com/gogits/gogs). You'll need at least the 10/hr DigitalOcean account though, or else compiling will fail due to memory limitations.

I use digital ocean extensively to host old old projects on the cheap. Its like what dreamhost used to be in 2006.

comment 9y ago · link · parent

If anyone from Yahoo is listening, I'm still trying to get into my Flickr account after about a year and 10+ contact attempts now. You guys literally have thousands of users in a holding pattern complaining and you're not doing anything about it [1].

I'm not trying to cause trouble or shake anything up. I'm an honest person who just wants in my account with all my photos. Meanwhile while all this happens you're just leaking and leaking account info every year.

What am I to do? Yahoo Help is just a FAQ that has no route for me to submit my identification information. Flickr's legacy login is gone. My original gmail was deleted. I do not have a route for escalating my issue. I'll show you my driver's license, birth certificate, maybe even the last 4 numbers of the CC I used for flickr pro in 2008.

What do I do? Get a lawyer? This is my stuff! Get it together Yahoo!

https://www.flickr.com/help/forum/en-us/72157668446997150/

comment 9y ago · link · parent

I am author of The Tao of tmux, a book I just finished a few weeks ago. You can read it publicly at https://leanpub.com/the-tao-of-tmux/read.

One of the things I stress in my book is that there is no "correct" way to use tmux. The approach I take to teaching tmux is separating it into its objects: The server, sessions, windows and panes. Then where they stand in relation to one another, how configurations work, and then leave some examples of usage available to the user so they can pick out work flows they may like.

I'm sort of against the approach of just throwing a config / toolkit at someone a la oh-my-zsh and spf13-vim (even though I think they're ok after you've learned to customize yourself). The gift of allowing someone to wrap their brain around something will let the rest come to them.

comment 9y ago · link · parent

Cool project John!

Wanted to give a shout out also to fabtools [1]. Helps with setting up nginx, supervisor, and more with fabric.

What makes fabtools cool is it takes fabric the extra mile to handle stuff one of the things a configuration management system like Salt/Ansible would.

- `fabtools` is modules designed for configuring daemons, users, and other settings at a low level [2]

- `fabtools.require` houses functionality similar to saltstack's states. It checks if a package is installed if it's not already, or that a user exists in postgres. It makes fabric tasks friendly to re-run. [3]

It hits the sweet spot between wanting to go with fabric and bringing in a full configuration management system.

[1] https://github.com/fabtools/fabtools [2] https://fabtools.readthedocs.io/en/0.19.0/api/index.html [3] https://fabtools.readthedocs.io/en/0.19.0/api/require/index....

comment 9y ago · link · parent

I'll tell you what Flickr isn't spending money or time on: Support.

I have a flickr pro account from 6 or so years ago with hundreds of photos on it. I've tried over 10 times over a year to contact their support and get turned over to Tech Support in India that won't even read into your case!

Of course, the original email address I used for my flickr was deleted, so none of the avenues on Yahoo Help (which is where they redirect you) work. Not to mention the password may be reset after all the leaks Yahoo had.

So when I see these people on @FlickrHelp on Twitter (No replies) and Flickr having office parties, it really makes me feel quite disappointed! Yeah sure, real human touch! Former paying customer who just wants to login his account with tons of priceless photos. And they have a thread of like thousands of people who can't get into their accounts [1]

At least the employees are having fun with data compression. Sad I can't talk to an actual human to get access to my account!

[1] https://www.flickr.com/help/forum/en-us/72157668446997150/

comment 9y ago · link · parent

> How do people implement some larger features that are time consuming and require several days or months of work?

Did tons of open source at work. A bulk of my open source early on was fixing gulp, grunt and jquery plugins that would often break when API's changed.

To get your foot in the door, start by patching other people's projects. That can be as simple as a typo or adding docs initially.

On any project, the first thing I do is almost always low hanging fruit. I clone it and try to build it from source on OS X, Debian, FreeBSD and fix anything wrong with the build system or tests. Often just right there I can get a few patches in or segue it into a larger fix [1] [2]

I built up from doing small stuff to then doing big things, and eventually my own projects like tmuxp [3]. Small stuff means you get an opportunity to lurk and understand the codebase, tests and contribution guidelines.

You can also find a mentor. Open source programmers are always looking for a protege who is passionate about the codebase. Hang out on IRC with them and say hi. Look at the milestones to see if there's any quick wins to get started with. If you work at a company that uses the project, be sure to mention it. :)

[1]: https://github.com/python-cmake-buildsystem/python-cmake-bui... [2]: https://github.com/aseprite/aseprite/commits?author=tony [3]: https://tmuxp.git-pull.com

comment 9y ago · link · parent

You can do either technical or fiction books on all services.

Leanpub is 99usd to start, but they have tools to help you write the book and generate web pages, epub, pdf and mobi. You can also in turn take those files and use them to publish on Amazon KDP and Apple iBooks.

As a side note, on LeanPub, there is also book styles for Business, Fiction and Technical books. It's under "Writing -> Book Theme"

1
1011121314