pwan.org
pwan.org · articles tagged "opsec"
https://pwan.org/blog/tag/opsec.html
Nov 09, 2013. I've implementing a version of Daniel Patterson's Hacker's GMail Replacement. And finally got around to publishing it as a Puppet module. Even if you don't know puppet, it shouldn't be too hard to walk through the manifests and see what setting it up involved. I don't live inside Emacs as much as Mr Patterson apparently does, so I left out the notmuch and afew content. Instead I added radicale. So far, it's working well with my phone using K9. For mail and aCal. Posted at 12:00 2013.
pwan.org
pwan.org · articles in the "opsec" category
https://pwan.org/blog/category/opsec.html
Nov 09, 2013. I've implementing a version of Daniel Patterson's Hacker's GMail Replacement. And finally got around to publishing it as a Puppet module. Even if you don't know puppet, it shouldn't be too hard to walk through the manifests and see what setting it up involved. I don't live inside Emacs as much as Mr Patterson apparently does, so I left out the notmuch and afew content. Instead I added radicale. So far, it's working well with my phone using K9. For mail and aCal. Posted at 12:00 2013.
pwan.org
pwan.org · articles tagged "ruby"
https://pwan.org/blog/tag/ruby.html
Aug 31, 2014. Count your YAML dashes. I spent way too long the other day thrying to figure out why some Hiera variable wasn't available in some puppet manifest. It turns out there was a typo in the YAML file where the first line of the file only had two dashes instead of three. In this cases, the Ruby 1.8.7 yaml parser corrupts the first entry in the yaml file, adding the two dashes to the beginning of the key, instead of throwing a parser error. First= 1, second= 2}. First= 2, first= 1}.
justinas.org
Embrace Go's HTTP Tools · Justinas Stankevičius
https://justinas.org/embrace-gos-http-tools
Oct 14, 2013. Embrace Go's HTTP Tools. Some time ago I released nosurf. A Go middleware for mitigating Cross-Site Request Forgery attacks. Writing a seemingly simple and small package was enough to fall in love with how Go handles HTTP. Yet, it's up to us to either embrace the standard HTTP facilities or fragmentate, sacrificing composability and modularity. HttpHandler is THE interface. Unified HTTP interfaces for web apps written in certain programming languages, like WSGI. For Python and Rack. Except ...
justinas.org
Best Practices for Errors in Go · Justinas Stankevičius
https://justinas.org/best-practices-for-errors-in-go
Apr 26, 2014. Best Practices for Errors in Go. Error handling seems to be one of the more controversial areas of Go. Some are pleased with it, while others hate it with passion. Nevertheless, there is a handful of best practices that will make dealing with errors less painful if you're a sceptic and even better if you like it as it is. Know when to panic. That is similar to what is known as exceptions in other programming languages. When the user explicitly asks: Okay. When setting up: Maybe. The wrongdo...
justinas.org
Alice – Painless Middleware Chaining for Go · Justinas Stankevičius
https://justinas.org/alice-painless-middleware-chaining-for-go
May 25, 2014. Alice Painless Middleware Chaining for Go. According to a recent thread. On Reddit, many people like it simple when doing web development in Go and use. With useful addons (like the Gorilla toolkit) instead of a full-fledged framework. Such applications often make use of middleware, but wrapping lots of layers of handlers can become messy in the long run:. Sure, that works. But then you want to remove a handler, add one or reorder them. Suddenly, you're drowning in parentheses. To call the ...
spaceshipsandlasers.com
Spaceships and Lasers · articles tagged "Metrics"
http://spaceshipsandlasers.com/tag/metrics.html
Aug 24, 2013. Adventures in Python String Concatenation and the Magic of O(n 2). I've been redeploying processes into the AWS cloud at work. After moving one of the backend processes for the dashboard into a micro instance, the CPU usage for the box went through the roof. It's been awhile since my algorithms class, but I'm pretty sure this is a bad growth curve. Looking at the function, it's pretty simple:. Returns the HTML table. Th /tr /thead tbody. Out = out tr. Th /tr /thead tbody. Th /tr /thead tbody.
andresosinski.com
Andrés Osinski · articles in the "programming" category
http://www.andresosinski.com/category/programming.html
Software, Business, Musings. Jun 01, 2014. Your job is not to Code. Like most other professions, software engineering comprises a wide range of skills. Yes, you are hired to produce working, quality code, but to assume that is your entire mission at work is a mistake. And why blame anyone for this? For managers and staff, developers are expensive, esoteric experts who . Posted at 12:00 2014. Mockingbird theme by Nevan Scott.
SOCIAL ENGAGEMENT