Better HN
topnewbestaskshowjobs
Log inSign up

codebeaker

1,632 karma · joined May 4, 2012 (14y ago) · 268 submissions

http://lee.hambley.name/ http://www.capistranorb.com/ https://www.harrow.io/
Submissions

comment 10y ago · link · parent

This must be solved with `gulp-plumber` which is actually about a 10 line hack around fixing some underlying bugs with merging streams if memory serves.

comment 11y ago · link · parent

Also a big dan of the design but I do find it to be much too dark, I'm in a well lit office, with a calibrated Dell UltraSharp display and the site's color scheme is really quite hard on the eyes, even if the design itself is beautiful.

comment 11y ago · link · parent

A shame that the page has to hijack the scroll functionality, it makes for a very unpleasant "lumpy" feeling scrolling. Chrome Version 46.0.2490.80 (64-bit) on OS X Yosemite.

comment 11y ago · link · parent

For more see the numerous older discussions of this https://news.ycombinator.com/from?site=editorconfig.org

comment 11y ago · link · parent

Of course, there's nothing to stop the manufacturers programming in different modes, imagine speed limits, sports modes with higher torque and lower battery life, etc, etc. If some such "The operator is prone to seizures" mode were to exist, to require more prolonged sustained input from a user, or to move very slowly, after "double inputting" an intent, I can see this being quite safe, a "lean forwards twice to toggle moving forwards at 3mph" may well be a totally acceptable interface for some subset of people.

comment 11y ago · link · parent

I'm currently suffering two copyright infringement cases, which I can only assume are the result of the storm that reset my FritzRepeater back to factory settings, leaving an open bridge into my network.

Two copyright claims, from two law firms, for albums I've never heard of, at times that I wasn't in the house.

Because of an arcane, but largely logical German law named "Störerhaftung" I am by default responsible, and have to pay both claims (in the order of €5,000 each). I have no recourse.

Tech-savvy as I am, powerless to defend against a case such as this, where do I stand, I could theoretically bring a case against AVM Deutschland (manufacturer of the Fritzrepeater) but then the burden is on me to prove their buggy software failed, and reset to factory settings.

An impossible situation, and I hope that laws such as these move in the direction of transparency, the Störerhaftung is designed to make sure that someone who loses out always has someone to claim against (common other uses, are for example if drunks throw stones from the top of a building, and then run away, the building owner is responsible, in lieu of finding and proving that the drunkards were responsible) - it's arcane, and whilst well intended, and the "terrorism" argument holds strong, this is about copyright, and always maintaining the Störerhaftung right.

comment 11y ago · link · parent

See also the massively popular, and critical-to-rails Gem https://github.com/erikhuda/thor - naming is hard.

comment 11y ago · link · parent

I just wish Hangouts would auto-archive Hangouts that I leave. The interface for "Archiving" all the hangouts that I left on the web, or via the browser extension is terrible, 4-5 clicks to archive each one. I keep the Android app installed only so that I can use it's multi-select and archive-all functionality.

comment 11y ago · link · parent

I also am consistently disappointed by their reliance on wheat and soy proteins, I'm allergic (IgE) to both and struggle horribly to find typical office-lunch type food I can eat. Also being in the EU it's very difficult and expensive to procure Soylent anyway, even the alt. recipes as all of the Amazon shopping lists link to the US stores. Particularly the typical 3lb bag of flour, a couple of bucks in the US store is being sold for €200 on the German amazon store, presumably by someone trying to game people who've clicked a pre-filled-basket link on an Amazon shopping list.

comment 11y ago · link · parent

Thanks for posting this, we've had some arguments with our investors and their lawyers recently about (specifically Golang, in our case) GPL and AGPL meanings and how they relate to SaaS. One case in point we have a cronspec parser package licensed AGPL (what the hell!?) which doesn't even include a web server or listener code of any kind… so are we in violation by using it to parse cronspecs that our customers have entered into our SaaS API?!)

Do you have any citation, references, or case-law I could use as a starting point to steal your arguments as my own?

161.

Tus (Resumable file upload) Protocol v1.0.0 Prerelease(tus.io ↗)

1 points · by codebeaker · 11y ago · discuss

comment 11y ago · link · parent

Hardly related, but as a recent graduate from a cramped city apartment to owning my own home, with space for a workshop and a reasonable sized (300m^2) garden which was bare sand has been incredibly rewarding, I wake early on the weekends, and spend time working in the garden, building furniture, tending to my plants and building (well, once) fences. I look forward to sharing this stuff with my son when he's older, and continuing to teach him that whilst I'd love him to get a well -paying job, I'd prefer him to be happy.

comment 11y ago · link · parent

I find the "100% Compatible with CommonMark" a bit confusing, without looking I'd assume CommonMark was another product from the same people, and they'd done a re-branding, and wanted to make the association.

That said, whilst writing this comment it occurs to me that CommonMark might also be an effort I've never heard of to standardise out some of John Gruber’s original undefined spec behaviours, but as a developer Github flavoured markdown is the de-facto standard as it has many well written and well-tested implementations.

comment 11y ago · link · parent

Can confirm, depresses, late-20s developer, bootstrapping, and with my self-worth too closely tied to what I output.

I used to run for meditation, but with having a baby at home I've let it slip, my family bring me a lot of peace and feeling of well being, and belonging, but running for meditation desperately needs to become a part of my life again.

The note about "preparing to be happy without actually being happy" struck me too, I'm always working, growing, fighting for the next thing, and I never take time to appreciate my successes, we're meeting with some fundraisers for the company we bootstrapped later today, and if we're successful, I'm taking a week off to spend with my family, not see the internet, and appreciate that shortly before turning 30, I might have bootstrapped my own company far enough to take a serious investor round.. why at 29.5 yrs old is that important… I don't know… imposed ageism I speculate.

comment 11y ago · link · parent

MongoDB showing that in the years since this[1] was published that have learned nothing. Still chasing artificial benchmarks at the expensive of data safety and either personal or corporate integrity.

[1]: http://pastebin.com/raw.php?i=FD3xe6Jt

comment 11y ago · link · parent

I'll add a mention here in favour of marking spots, all the time, even if the spots are over-sized. I recently used a car-sharing (Mercedes/SMART fortwo vehicle) service, and parked the car reasonably, let's say 40cm front and rear. Close, but fair. Between the time I left the car, and someone being "parked in", someone had left, leaving a space, where someone had then parked nearly touching the car I left, subsequently in the now tiny space behind the new parker, someone else parked, too close. The middle parker unable to extricate their vehicle called the police reported my car as the offender "it was nearly touching my bumper, I can't get out" leading to €370 fees from the police for towing the shared car I had used (although, a call to the provider would have rendered it unlocked and drivable), and a further €120 in fees from the car sharing service provider.

I now take a photograph of my car (or rented shared cars) in all parking situations, in the hope that evidence that "i was there first" might mean I am not subject to accusations of offensive parking when over-eager city-dwellers park in spaces that are really too small, and later find themselves blocked in.

comment 11y ago · link · parent

Came here to write the same thing, my son was born 6 weeks early, hormonally my wife was not ready to breast feed at all, and we had a hugely painful, and for my wife embarrassing experience sitting hour after hour in the hospital with breast pumps and formula bottles trying to get enough, and the right balance of breast milk and formula into my son. The hospital were adamant that we kept at it, and now some four months in, I think my son has only had to be fed with ~20 bottles, total. Mostly when we're travelling or my wife and I are exhausted, I think it's a natural and important part of raising a child, but not everyone can do it, we were lucky, and we need more tolerance of personal choice or circumstance without being judgemental.

Of course until becoming a parent, I had my strong and largely invalid opinions (i.e breast feeding in public is inappropriate, etc) I'm happy to say I've got past those short sighted and ill conceived views and won't judge anyone for anything they do for their child, probably there's a damned good reason why they're doing it, lack of sleep, exhaustion, and a baby crying are pretty powerful motivators to step outside of one's own personal comfort zone.

Other hot topics (especially as a Brit living in Germany, seeing the cultural differences) are sharing a bed with an infant, bathing with them, skin-on-skin contact, etc, etc.

comment 11y ago · link · parent

I would argue (at the risk of being down-voted) that if you are scripting tools then it is important to use the long option, not just because future-you might forget what the options are (relevant XKCD http://xkcd.com/1168/), but also for searchability, it's rather difficult in almost any engine (except the wonderful new code-orientated ones that are cropping) up to search for `-xvzf`, but rather simpler to search for `extract verbose zip filename +tar`, for example.

comment 11y ago · link · parent

Interesting to see here that the docs still refer to AtScript, where there's an announcement from Microsoft on the homepage explaining that Angular2.0 will use Typescript.

comment 11y ago · link · parent

I'd like to call out for the author of this that you are in breach of the Github name and branding usage guidelines:

> ## Naming projects and products > Please avoid naming your projects anything that implies GitHub’s endorsement. This also applies to domain names.

(Reference: https://github.com/logos)

Edit: Why the downvotes? It's valid, and if someone had used my company name in their unauthorized, misleading and buggy "awards" platform, we'd be asking them to refrain from attaching themselves to our name and brand.

comment 11y ago · link · parent

Surprised to see that I'm only detected as having 34 "Ruby" stars when one of my Ruby projects has ~6,700 stars, all told across all my projects I ought to have closer to 10k ★.

Fun project, but buggy data makes for a bit of a crappy user experience. Doesn't GH classify languages pretty well using it's Linguist project? The project with ~6,700 stars is correctly classified as [ Ruby 97.5% | HTML 2.5% ] (the 2.5% seems to be from documentation and templates, which in itself is already weird)

I understand that many people find gamification fun, but I know a lot of people who don't like ranked leaderboards, based on stupid things like "how many people bookmarked your project", it leads to unnecessary egotistical competition, and driving more barriers between us than we need. (Example, what benefit would we get from comparing stars on vim, and neovim?… so we could argue to one group of people that their work is less important than another group?)

comment 11y ago · link · parent

I'm happy to see the authors have posted in the first paragraph something to preempt my posting of the "X kills cancer" XKCD : http://xkcd.com/1217/

> A Rutgers nutritional scientist and two cancer biologists at New York City’s Hunter College have found that an ingredient in extra-virgin olive oil kills a variety of human cancer cells without harming healthy cells.

173.

Ask HN: Resources for starting with digital circuits, cubieboard, gpio, etc.

1 points · by codebeaker · 11y ago · discuss

comment 11y ago · link · parent

I tried to run a very small (2k CLOC) C program under Valgrind, unfortunately I was using OpenSSL before the layman knew what a ghetto that could be. I tried a myriad of things to suppress all the insane illegal pointer dereferencing and processor instruction probing by OpenSSL to no avail, and couldn't find bugs in my own code, owing to all of this noise!

I learned too late (blame my feeling overwhelmed whilst playing outside my preferred toolbox) that there's a solution, quoting the OpenSSL docs:

> When OpenSSL's PRNG routines are called to generate random numbers the supplied buffer contents are mixed into the entropy pool: so it technically does not matter whether the buffer is initialized at this point or not. Valgrind (and other test tools) will complain about this. When using Valgrind, make sure the OpenSSL library has been compiled with the PURIFY macro defined (-DPURIFY) to get rid of these warnings. (http://www.openssl.org/support/faq.html#PROG14)

Unfortunately that didn't help me either, as I couldn't get -DPURIFY to work, the compile phase too forever, and I'm not skilled with cross compiling, and my target platform was a RaspberryPi. Apparently I hadn't set myself up for success.

I hope someone else can appreciate Valgrind and avoid stumbling into the issues that I faced, and perhaps learn something about OpenSSL compile flags along the way!

comment 11y ago · link · parent

Actually we're planning to keep improving it, I factored out the SSH driver into SSHKit (http://github.com/capistrano/sshkit) when I did the v3 rewrite. Right now we are founding a company, and hiring a team to build Harrow, the tool we all wish existed to tidy up some of the workflow loose ends, and bring some order (whilst maintaining flexibility) to what might otherwise being DevOps chaos. Find it (not launched yet) at https://www.harrow.io/. One of our goals for Harrow is to open source that as well as running a hosted service, and using the revenue and expertise to follow the (exceptional) Hashicorp example of building a commercial FOSS company to build excellent, useful software, whilst defining new standards, and providing all the tools people didn't know they needed.

Of course we know that Docker, and Rocket, and to an extent more of the AWS tools are automating a lot of these processes, but for every problem they solve, some people can't use them, and we're counting on "script things, run them in a repeatable environment, share the scripts, and results with your team" theme won't go away for a while (ever?), as most of what we do, even with all these modern deployment tools is still programmer duck-tape.

comment 11y ago · link · parent

Maintainer of Capistrano here, I've been close to FOSS burnout a couple of times, and more often than I would like people catch the sharp end of my tongue. I can count on one hand how many issues have been opened with a corresponding PR, and from those, barely any ever come with tests, or acknowledge the stuff in the CONTRIBUTING file (Github includes a "Before opening this issue, check this project's guidelines). Fortunately there are couple of people who consistently tackle issues that the lazy people have opened, and submit super high quality PRs with unit and functional tests, documentation and entries in the CHANGELOG. These people are the main reason that I still work on FOSS.

My solution was to make heavy use of labels at GH, the "needs more info" and "feature request" ones are obnoxious colours. Second to that, I bought a TextExpander licence, and setup a bunch of macros `notanissue` which expands to:

> Closing because I’m not sure this is an issue, if you are convinced that this is really a bug, please feel free to re-open the issue and add more information (your versions (Ruby, Cap, etc), your Capfile, your logs, and relevant sections out of your Gemfile) > Otherwise support is done via the mailing list (https://groups.google.com/forum/#!forum/capistrano) or at StackOverflow (http://stackoverflow.com/questions/tagged/capistrano) with questions tagged `capistrano`.

And a number of others 'contrib' for contribution guidelines when a PR is in conflict with them, etc.

It's helped lighten the load a lot, and now tend to invest heavily in grooming the issue list, and keeping things neat and tidy at GH. I dare guess, when I'm awake 90% of the issues are classified, or closed within 5 minutes of being opened, this has helped a lot with the feeling of pressure and constant nagging with which I've previously suffered.

Of course, maintaining a large project is a burden, but it comes with career and profile benefits.

comment 11y ago · link · parent

member345, the wording of the landing page is fixed, thanks for your patience. If you're on the mailing list, you'll receive something from us in the next few days.

comment 11y ago · link · parent

mattdeboard, the wording on the landing page is fixed, thanks for the feedback.

comment 11y ago · link · parent

If you contact me (twitter @leehambley, or email address in my HN profile) I'll be happy to share a video demo with you when we have one, we're just finished with our production-like staging environment, and we're going to spend the next few weeks ironing out bugs before launching a limited alpha in the new year. As I mentioned somewhere else in the comments, that landing page is super, super "too marketing", and I personally don't like it too much, but it's not for "us" (technical folk) and it's certainly not for HN. I plan on making a technical release page which is heavier on concrete design, use-cases, and etc. But, unfortunately cnolden jumped the gun and submitted (he's not affiliated with us) the page to HN!

comment 11y ago · link · parent

yodal_sl is half right, we've only just wrangled the product into a dog-foodable state, this HN submission didn't come from anyone in our team, I'm sorry you were disappointed in the wording on the landing page, I'll make sure somebody addresses that today. We're preparing a product demo video to send to a handful of people (for potential investors, more than something to drop on that site), but as I offered jjmanton above, find my email address in my HN profile, or tweet me @leehambley, and I'll be glad to talk with you off-list.
1
56789