|
The One Question Every Prospective College Student Should Be Asking
-
tiltingatwindmills.dev
-
10 years ago
-
eng
Apologies for the clickbaity headline. That sort of thing isn't usually my style. I'll cut right to the chase. The question is "What…
|
|
An introduction to Cherry MX mechanical switches . Code keyboard . I ♥ Keyboards | Ethan Anderson . Keyboardio Blog . Keychron | Wireless Mechanical Keyboards for Mac, Windows and phones . Learn - Colemak keyboard layout . Mechanical Keyboards Database - custom keyboards photos . Plaid // Keyboard base board . Products – Ultimate Hacking Keyboard . r/cyberDeck . r/ErgoMechKeyboards . Ultimate Hacking Keyboard (Hacker News) . Why..
|
|
My least favorite topic in the world is ‘Women in Tech’, so I am going to make this short but I think it’s something that needs to be said. This industry is fucked. Ever since I started speaking at conferences and contributing to open source projects I have been endlessly harassed. I’ve gotten hundreds of private messages on IRC and emails about sex, rape, and death threats. People emailing me saying they jerked off to my conference tal..
|
|
Mutation testing is a technique used to verify that tests are providing value. Mutation testing involves modifying the given program in small ways. These could include changing boolean checks such as if a condition is True to being False. A mutated version of code is known as a mutant. For each mutant a the test suite is run against it. The tests when run over the mutant version should have a percentage of failure. Where a mutant is not cau..
|
|
Revised and much faster, run your own high-end cloud gaming service on EC2!
-
lg.io
-
10 years ago
-
eng
Playing Witcher 3, a GPU-intensive game on a 2015 fanless Macbook I’ve written about using EC2 as a gaming rig in the past . After spending some time and getting all sorts of feedback from many people, I’m re-writing the article from before, except with all the latest and greatest optimizations to really make things better. Now we’re using things like NvFBC for graphics card H.264 encoding, using the built-in SSD for better hard drive p....
|
|
Abandoned America . America's best food cities for travelers on a budget - Lonely Planet . Antelope Canyon (Arizona) . Law Library in Iowa . Peter Wade's answer has restaurants throughout the US . Supai, Arizona . The Texas Triffid Ranch | Dallas's Pretty Much Only Carnivorous Plant Gallery . Turnip Rock in Port Austin, Michigan . Vance Creek Bridge in Washington . Washington trail association (hiking) . Where can I afford to live..
|
|
The Flower Carpet event at the Grand-Place in Brussels . Travel arrangements around Brussels - zerokspot.com .
|
|
There are a lot of Java API’s and Frameworks which rely on static methods and the sort. Arguably, this is a bad OOP practice, but let’s not enter this particular subject just yet.
|
|
I think we can all agree that testing one’s Rails project is a good thing. I think we can also agree that those tests should be run on a regular basis (i.e. after every change). I think it’s a logical conclusion then that having a continuous integration environment setup for one’s project would be considered ideal. This is really pretty easy for open-source projects, since a number of companies provide free support for them.
|
|
In the beginning of my software development career I was interviewing for an intern position at Microsoft. I never did get the job but one think out of that interview process really stuck with. The second interviewer after the usual getting to know you chat aded me the following question. “On any given software project we have developers, software testers / quality assurance and managers involved. Who is responsible for the quality of the s..
|
|
A few of the talks I have given and the slide desks are included below. Python @ searchcode.com sypy_searchcode.key (keynote) sypy_searchcode (powerpoint) Decoding CAPTCHA’s for Fun and Profit DecodingCaptchas Reveal.js (futher details can be found http://www.boyter.org/2015/03/decoding-captchas-presentation/ ) How AWS and Go Transformed a Public Broadcaster https://boyter.org/static/aws-go-archive-presso/ Sloc Cloc and Code - Ca..
|
|
PostgreSQL is becoming the relational database of choice for web development for a whole host of good reasons. That means that development teams have to make a decision on whether to host their own or use a database as a service provider. The two biggest players in the world of PostgreSQL are Heroku PostgreSQL and Amazon RDS for PostgreSQL. Here's a detailed comparison.
|
|
Philip Dormer Stanhope, 4th Earl of Chesterfield (pictured) managed to embarrass me in front of my peers once. Sort of. In truth it was my hubris that caused the incident. Here is how it happened and what I learnt through the process. In the summer of 2010 I was tasked with developing a new application where I worked. The requirement was fairly simple “We need a web application to upload a CSV”. Requirements such as this aren’t exact..
|
|
OK not quite, but having recently learned about C-M-w (append-next-kill) , I used it in a keyboard macro to fish out matching lines. This is similar to flush-lines , except the kill ring is also populated. This is handy, if you need the flushed lines. Here's an example. Here's the equivalent in Emacs lisp: (defun flush-kill-lines (regex) "Flush lines matching REGEX and append to kill ring. Restrict to \ region if active." (intera..
|
|
Context: The Month from Hell . DjurAkuten After numerous attempts David finally got through to DjurAkuten, the clinic that did Rigel’s neutering surgery and decided to put a catheter in him because they thought his bladder looked big - the one he left with a urinary infection and an inability to pee.
|
|
searchcode is a source code and documentation search engine. It allows users to is search over 20 billions lines of code and millions of API documentation. It at the time of writing gets over 300,000 unique visitors a month processes many millions of API requests. What follows is how I am testing searchcode, the issues I hit and where I think I am getting the most value. As big believer in testing as a methodology of improving code qualit..
|
|
Let's see if this one sticks. I'll give caps lock as control a try. Rebinding the keys on Mac OS X is easy enough: System Preferences -> Keyboard -> Keyboard Tab -> Modifier Keys…
|
|
A test is considered flaky or flakey if it if fails occasionally. Generally flaky tests are considered to be a bad thing and should be modified to ensure they work correctly every time. This is because a test that is not trustworthy will be ignored even when indicating real failure. There are many situations that can cause to become flaky. Integration and acceptance tests are generally the tests in your test suite most likely to become fl..
|
|
Below is an implementation of an extremely clean data access pattern possible using C# and Entity Framework. It saves you the effort of mocking the database context as the code you end up writing is so simple it is all compile time checked. The advantages of this are firstly that everything is very easy to test as you can perform all joins in your service layer with mocks of the repository. Secondly it makes your data layer stupidly simpl..
|
I'm looking for a French -> English translator for French animated mini-series called "The Long Long...
|
|
So it turns out I’m pretty bad at vacation. I had this idea for a blog post and one thing lead to another and here we are… You probably know by now I hate installing things on my host. At my previous job we did a lot of work with using Python and R for data science. I still love plotting data with ggplot and my favorite R package, wes anderson color palette . Here’s a fast intro into how to do this with an R Docker image. Now everyon....
|
|
Passing Static Credentials Upstream through NGinx: Making NGinx add credentials to upstream requests
-
joshuarogers.net
-
10 years ago
-
eng
Just over a year ago we went over how to setup a reverse proxy that would require our users to authenticate. In our original proxy article, we generated some NGinx configuration that looked a bit like… location / { proxy_pass http://jira; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } And it worked. And everyone was happy. Until the day the request came in..
|
|
A few days ago Cerberus 0.9 was released. It includes a bunch of new cool features, let’s browse through some of them. Collection rules First up is the new set of anyof, allof, noneof and oneof validation rules. anyof allows you to list multiple sets of rules to validate against. The field will be considered valid if it validates against one set in the list. For example, to verify that a property is a number between 0 and 10 or 100 and ..
|
|
If you haven't bought Mastering Emacs by Mickey Petersen , you should. It's a wonderful source of Emacs tips. Having just finished the ebook on my Kindle, I was keen to go back and fish out some of that newly found wisdom. My immediate reaction was to figure out a way to make the ebook searchable from Emacs. The ebook is available in epub and pdf format. Though Emacs's docview is super handy for viewing pdf's, searching didn't feel as ..
|
|
I just pushed travis-cargo version 0.1.3, which adds a --no-sudo command to the coveralls and coverage subcommands to allow recording/uploading test coverage without needing sudo. This is based 0 on @seanmonstar ’s investigation/ implementation of sudo-less kcov. It works because Travis’s apt addon has whitelisted everything necessary. Unfortunately, it does require these to be installed explicitly, which seems to be somethin....
|
|
Here’s the video of E4 keynote we delivered together with Kerry Osborne a few weeks ago. It explains what we see is coming, at a high level, from long time Oracle database professionals’ viewpoint and using database terminology (as the E4 audience is all Oracle users like us). However, this change is not really about Oracle database world, it’s about a much wider shift in enterprise computing: modern Hadoop data lakes and clouds are..
|
|
Here’s the video of E4 keynote we delivered together with Kerry Osborne a few weeks ago. It explains what we see is coming, at a high level, from long time Oracle database professionals’ viewpoint and using database terminology (as the E4 audience is all Oracle users like us). However, this change is not really about Oracle database world, it’s about a much wider shift in enterprise computing: modern Hadoop data lakes and clouds are..
|
|
One benefit that is generally not talked about when discussing testing is the following. The feeling of productivity because you are writing lots of code. Think about that for a moment. Ask any developer who wants to develop why they became a developer. One of the first things that comes up is “I enjoy writing code”. This is one of the things that I personally enjoy doing. Writing code, any code especially when its solving my current prob..
|
Hi. This is part 2 of the “How to set local AOSP Gerrit server”, you might want to start with part 1 here. In part 1 we’ve downloaded all the necessary stuff and in this post we’re going to set it all up. First thing, let’s bootstrap Gerrit. Let’s create a Gerrit user: $ sudo […]
|
|
I was going to try to remember all the things I’ve done in the last month on snails, but this seems impossible. So here’s a lazy list of git commits within this time:
|
|
I was just reading some articles and comment threads debating the issue of git merge verses git rebase. I think it's a good case study for a decision-making methodology of actually trying both sides. I think outside of software development, the cost of trying both sides of a debate can be high in terms of time, effort, and money. Let's say hypothetically there are several competing theories of long-term crop management for farmers. It would....
|