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 9y ago · link · parent

Thanks for the link it looks promising:

    The Book is intended for all C++
    developers, regardless of their experience. The
    beginner and intermediate developers will benefit
    the most from the book in their attempt to become
    prolific with C++. 
    
    Experienced C++
    developers, on the other hand, will find a good
    reference for many C++11, C++14, and C++17
    language and library features that may come in
    handy from time to time.

comment 9y ago · link · parent

> I would jump straight to C++ 17.

I'd love to, but there are simply no (accessible?) resources. I'd love a "how to write C++17 with no baggage" book, but it simply doesn't exist. (please, correct me if I'm wrong?)

I really want to get to know C++, it looks like it's become a fantastic language, but in all seriousness, I could write fast, performant robust Go within a weekend, I'm proficient in half a dozen other languages, and C++ programmers still unironically suggest a stack of books the height of a small table to beginners.

comment 9y ago · link · parent

Excellent question, and one for which I've not found a satisfactory answer. Perhaps some of the HN wisends can chime in. I believe with some linters (clang, etc) you can encourage your tools to slap your wrists if you code in a bad style using outdated techniques.

comment 9y ago · link · parent

Having just gone through a lengthy review process identifying a suitable license for our soon to be open-source software which has a commercial aspect, and selected AGPLv3, I'm very curious to know what companies have it "categorically banned". We did some research and didn't find that anyone had an issue with it. Whilst AGPL does open up come grey-areas which aren't as well understood as GPL the general reason to use it seems to be as part of a dual licensing scheme where companies with AGPL issues can simply purchase a non-transferrable limited MIT license or similar.

Can you give me any more info on your sources?

comment 9y ago · link · parent

The "applications" seem now to be closed, and the linked Facebook post from the BBC source has been removed (or, I can't see it for some other reason).

If anyone has more information as to the terms to which this offer was subject, or a link to the original Facebook posting I'd be glad to see it.

comment 9y ago · link · parent

I'd be really interested to learn more about your technique too, sounds intriguing.

comment 9y ago · link · parent

Didn't Docker release this themselves (different project) just a week or so ago? I forget the name, and can't seem to find it on their site.

comment 9y ago · link · parent

I can't speak highly enough about http://tractionbook.com/ which I recently came into - it has pragmatic advice on marketing approaches and systems justifying with real data how and why to do what.

It's co-written by the DuckDuckGo founder, and as an engineer who is thoroughly tired of marketing "hackers" who justify expensive campaigns with hand-wavy nonsense, this book changed the way I view marketing in general.

comment 9y ago · link · parent

There had been some speculation on Reddit that it was a run of near-obsolete hardware proposed by one of their partners. Some teardown (I can't find a source now) found out that it was shipping with already EOL'ed components that weren't available for back-order from the fabs.

If anyone has more information than my 3rd hand comment, I'd be super interested. I was very disappointed not to find one for sale for a reasonable price. I would have loved one.

comment 9y ago · link · parent

Every time there's something that comes up for C++ I get excited, I've always wanted to use the language, but it's like tap dancing in a mine field.

C++ needs a linter that rejects code that doesn't meet a certain standard ala Rubocop.

comment 9y ago · link · parent

I understood the parent to conclude that choosing Wacom was a failure, as Wacom tech is not as good as whatever is in the Surface 4.

comment 9y ago · link · parent

I think the point is that if you store local time, and have a decently maintained time zone handling library, the library will adjust correctly for before/after the switch, but only if you store in the local time.

Of course it can't happen by magic, and you rely on the authors of the timezone libraries (a thankless task in itself), but if you remove a dimension of your data, nobody can ever help you.

comment 9y ago · link · parent

Makes a classic "falsehoods programmers believe about time" mistake.

The example (which is not so uncommon) that an appointment is set in timezone X, author of the service storing the appointment helpfully converts to UTC, timezone of the originating country changes and then the "return" from UTC to source timezone is incorrect, because now UTC-0600 is actually UTC-0700.

In short, any conversion that reduces precision is flawed. Dropping timezones after normalizing them to a canonical format makes it impossible to restore the conversion.

comment 9y ago · link · parent

I used this to get an idea how K8s looked when I wanted to migrate ~500 lines of docker compose YAML config to k8s.

The result was sufficiently confusing that we threw it away, but it was helpful to get an idea what we were looking at, and why. We rebuilt the stack from hand, using all the files from the kompose tool as a guide/reference.

Later we found that kubectl can dump yaml, I found `kubectl .... -o=yaml[ ...]` to be super helpful, for any command you run from the tutorial or elsewhere, it'll generate you the equivalent YAML which you can commit/apply at your leisure.

I'm glad the tool existed, but idiomatic stuff in docker-compose is unidomatic in k8s (namely secret handling is completely different) which is a hurdle, and the "links" concept as used in docker-compose is essentially absent from k8s for our purposes (and, replaced wth much, much better and granular dns services and "expose"s)

comment 9y ago · link · parent

Thanks for that comment, I'd been clearing browser caches and trying to debug my overridden styles, I'd assumed something was horribly broken.

comment 9y ago · link · parent

From the title I understood this was a feature that had arrived in QEMU, seems like it could have it's place on development machines/etc where the only reason you're using a VM is to get access to some alt. architecture.

comment 9y ago · link · parent

Can you tell me what it's called/where to get it? I tried googling and came up short, but that sounds like something I've wished existed since I first used a thinkpad.

comment 9y ago · link · parent

Fun fact, it's made by the same people who make the Frisbee :)

comment 9y ago · link · parent

I love my LAMY Safari (€12 in most stationers in Germany, it's a cultural phenomenon that's unfortunately slowly dying out, the previous generation learned "Schönschrift" (cursive) in school with theirs and take their pen through life with them). That said, of the two that I own, I can't use either without getting grubby inky nailbeds, I assume the problem lay with me, not the pen.

Also, seconded the rOtring series mechanical pencils are astoundingly good, I'm always close to mine, I never travel without it.

comment 9y ago · link · parent

I've no evidence this is being used by The Economist's app - but this is "usually" the reason for this feature:

- https://www.wired.com/2016/11/block-ultrasonic-signals-didnt...

(not trying to spread FUD, endorse this practice or criticise in anyway, just trying to help the parent comment understand one potential "excuse" for an app "needing" this functionality for a non-obvious use-case.)

comment 9y ago · link · parent

I thoroughly recommend Cal Newport's book "Deep Work" if you want to understand the drivers of this effect, and help make constructive arguments in favour of a less connected workplace.

(replied to the top thread, but it's applicable to everyone in this sub-threaD)

comment 9y ago · link · parent

Seems to be a hot topic, a friend and colleague published this in December 2016 and I can thoroughly recommend it (Uses Go as an implementation language):

- https://interpreterbook.com

comment 9y ago · link · parent

For comparison and context of my "as is-tradition" comment:

    > The Sydney Opera House cost $102 million and
    > was completed in 1973.
    > The original plan was: a cost of $7 million and
    > completion date of 26 January 1963.

comment 9y ago · link · parent

See my other comment, but the place only opened yesterday!

Only one video I've been able to find so far, makes the place look exceptional, although doesn't tell us much about the sound quality. [1] apologies for facebook source.

Regrettably it's sold out for the next 6+ months, and tickets are on resale in secondary markets for 10-50x their face values.

[1]: https://www.facebook.com/NDR.de/videos/1365568786826981/

comment 9y ago · link · parent

To anyone who might want some context, this relates to the Elbphilharmonie, a new opera house in Hamburg, Germany. Intended to rival the other great opera houses of the world, as-is tradition it was 10× over budget and eight years late

    > The cost to taxpayers climbed from an initially planned
    > 77 million euros to 789 million euros ($835 million).
It had it's opening on 2016-01-11 and 2016-01-12. It's already had it's ticket system hacked (and fixed) and it's beautiful. [1] [2] [3]

[1]:https://i.redd.it/ybs5ba59yt4y.jpg

[2]:http://seasidemagazin.de/wp-content/uploads/elbphilharmonie_...

[3]:http://www.deutschlandfunk.de/media/thumbs/d/dbba6ff9beacb55...

comment 9y ago · link · parent

Further to your first point, with which I absolutely agree. My team recently asked me to introduce ROTI [0] (return on time invested) as part of all our meetings, and it has helped us gauge the mood of meetings, and work out which kinds of meetings don't work well.

Between these and retrospectives it's been possible for us to eliminate most all contra-productive meetings.

[0]: http://www.agile-ux.com/2009/01/09/return-on-time-invested-a...

comment 9y ago · link · parent

Interestingly topical I shared this tweet [0] a day or two ago, repeated here to save you a click. Having switched from dev to CTO (which is like PM for every product in your company, when you're small) it resonated with me. I personally think it's my job to "shield" the team from any/all external distractions.

    Dev productivity killers:
     * Notifications
     * Meetings
     * Emails
     * Interruptions
     Great managers block these. Bad managers cause them.
Otherwise, I can only agree with the advice about structure, and discipline. I'm currently shopping around for something like https://github.com/danger/danger to help me do my job better by policing Trello automatically - we've had great experiences using this for Capistrano's pull requests and I'd love to try this approach on Trello to police the rules we agreed to, but don't necessarily always follow. That'd probably save me double digit hours each week.

[0]: https://twitter.com/_ericelliott/status/814082788378804224

comment 9y ago · link · parent

Isn't being "technically" correct, but actually not doing what people expect kinda frowned upon?

> Be conservative in what you do, be liberal in what you accept from others

[1]: https://en.wikipedia.org/wiki/Robustness_principle

comment 9y ago · link · parent

I wonder how the heft of larger PR companies fits with #3 “ Sourcing Mass Media News“[0]

-- [0]: https://en.wikipedia.org/wiki/Manufacturing_Consent#Five_fil...

comment 9y ago · link · parent

Got any info on what "too old" means here, I thought that glibc was supposed to claim ABI compatibility pretty broadly, or is there some specific regression/bug you're working around?

Edit: reading my message back I came off as impolite, sorry - genuinely curious, I've had the same breakage myself, and we started using Skype in lieu.

12345
9