sircmpwn.github.io
A broad intro to networking - Drew DeVault’s Blog
http://sircmpwn.github.io/2016/12/06/A-broad-intro-to-networking.html
A broad intro to networking. Disclaimer: I am not a network engineer. That’s the point of this blog post, though - I want to share with non-networking people enough information about networking to get by. Hopefully by the end of this post you’ll know enough about networking to keep up with a conversation on networking, or know what to search for when something breaks, or know what tech to research more in-depth when you are putting together something new. Layers 5 and 6 aren’t very important. Eth0 is the...
sircmpwn.github.io
Getting on without Google - Drew DeVault’s Blog
http://sircmpwn.github.io/2016/11/16/Getting-on-without-Google.html
Getting on without Google. I used Google for a long time, but have waned myself off of it over the past few years, and I finally deleted my account a little over a month ago. I feel so much better about my privacy now that I’ve removed Google from the equation, and self hosting my things affords me a lot of flexibility and useful customizations. This one was the most difficult and time consuming to set up, but it was. Postfix to handle incoming and outgoing mail. My strategy for defeating spam is to use ...
sircmpwn.github.io
State of Sway December 2016 - secure your Wayland desktop, get paid to work on Sway - Drew DeVault’s Blog
http://sircmpwn.github.io/2016/12/27/State-of-sway.html
State of Sway December 2016 - secure your Wayland desktop, get paid to work on Sway. Earlier today I released sway 0.11. Which (along with lots of the usual new features and bug fixes) introduces support for security policies that can help realize the promise of a secure Wayland desktop. We also just started a bounty program that lets you sponsor the things you want done and rewards contributors for working on them. Side note: please add pretty screenshots of sway to this wiki page. I haven’t been on top...
sircmpwn.github.io
Actually, you CAN do it - Drew DeVault’s Blog
http://sircmpwn.github.io/2017/01/06/Actually-you-CAN-do-it.html
Actually, you CAN do it. So what does this mean for you, user whose problem no developer is interested in? Generally by this point in the conversation with Joe User, they tell me they. Do it Well, Joe User, I beg to differ. It doesn’t matter that you don’t know. Before. You don’t learn new things by hanging out in your comfort zone. Many of the regulars you’re bugging to do your work for you were once in your shoes. Language you don’t know]. Library you don’t know]. To your resume, anyway?
sircmpwn.github.io
Electron considered harmful - Drew DeVault’s Blog
http://sircmpwn.github.io/2016/11/24/Electron-considered-harmful.html
Yeah, I know that considered harmful essays are allegedly considered harmful. If it surprises you that I’m writing one, though, you must be a new reader. Welcome! Let’s get started. If you’re unfamiliar with Electron, it’s some hot new tech that lets you make desktop applications with HTML CSS JavaScript. It’s basically a chromeless web browser with a Node.js backend and a Chromium-based frontend. What follows is the rant of a pissed off Unix hacker, you’ve been warned. Let’s go over some case studies.
drewdevault.com
You don’t need jQuery - Drew DeVault’s Blog
https://drewdevault.com/2013/08/19/You-dont-need-jQuery.html
You don't need jQuery. It’s true. You really don’t need jQuery. Modern web browsers can do most of what you want from jQuery, without jQuery. For example, take MediaCrush. It’s a website I spent some time working on with a friend. It’s actually quite sophisticated - drag-and-drop uploading, uploading via a hidden form, events wired up to links and dynamically generated content, and ajax requests/file uploads, the whole she-bang. It does all of that without jQuery. It’s open source. This is where it start...
drewdevault.com
A practical understanding of Flux - Drew DeVault’s Blog
https://drewdevault.com/2015/07/20/A-practical-understanding-of-Flux.html
A practical understanding of Flux. Guide - the upstream documentation tells you a lot of concepts and expects you to put them together yourself. Hopefully at the end of this blog post you can confidently start writing things with React Flux instead of reading brain-melting docs for a few hours like I did. At the core of it, React and Flux are very simple and elegant. Far more simple than the voodoo sales pitch upstream would have you believe. To be clear, React. The dispatcher is very simple. Anythin...
drewdevault.com
Python’s datetime sucks - Drew DeVault’s Blog
https://drewdevault.com/2014/06/28/Python-datetime-sucks.html
I’ve been playing with Python for about a year now, and I like pretty much everything about it. There’s one thing that’s really rather bad and really should not be that bad, however - date and time support. It’s ridiculous how bad it is in Python. This is what you get with the standard datetime module:. The current time and strftime, with a reasonable set of properties. Time deltas with days, seconds, and microseconds and nothing else. Acceptable support for parsing dates and times. What you don’t get is:.
drewdevault.com
Porting an entire desktop toolchain to the browser with Emscripten - Drew DeVault’s Blog
https://drewdevault.com/2014/11/30/Porting-an-entire-toolchain-to-the-browser-with-emscripten.html
Porting an entire desktop toolchain to the browser with Emscripten. This blog post no longer works. I haven’t been maintaining it since I originally wrote it. However, you can see something similar at try.knightos.org. Emscripten is pretty damn cool! It lets you write portable C and cross-compile it to JavaScript so it’ll run in a web browser. As the maintainer of KnightOS. I looked to emscripten as a potential means of reducing the cost of entry for new developers hoping to target the OS. Click the scre...
drewdevault.com
On the profitability of image hosting websites - Drew DeVault’s Blog
https://drewdevault.com/2014/10/10/The-profitability-of-online-services.html
On the profitability of image hosting websites. I’ve been doing a lot of thought about whether or not it’s even possible to both run a simple website. Turn a profit from it. Maintain a high quality of service. In particular, I’m thinking about image hosts, considering that I run one (a rather unprofitable one, too), but I would think that my thoughts on this matter apply to more kinds of websites. That being said, I’ll just talk about media hosting because that’s where I have tangible expertise. And that...