|
How to copy all your repositories without node_modules with rsync.
-
danielsada.tech
-
8 years ago
-
eng
Sometimes when we are making backups on our files, and specially if you are a Node.js developer, you’ll suffer whilst copying your repositories to another place for making a backup. (Provided you don’t have git for all your repositories) Just do: rsync -av --exclude 'node_modules' source destination And you are set. You could also exclude some other things like adding adding gitignore rules rsync -av --filter=":- .gitignore" source destinat..
|
|
You’re an Autolayout Wizard. You know Interface Builder like the back of your hand. Then, one day, you create a simple UIView, add it as a subview with some elegantly crafted constraints, and.. it blows up in your face. What gives? Take a look at this code example that tries to create a UILabel and center it in the view. let centerLabel = UILabel() centerLabel.text = "Perfectly centered!" view.addSubview(centerLabel) NSLayoutConstraint....
|
|
Last week, I passed my one year anniversary as head of the US Digital Service (USDS). So when Mr. Money Mustache asked for an interview, I was delighted to talk about some of the work that the USDS does. If you aren’t familiar with Mr. Money Mustache, he writes about a philosophy of badassity in […]
|
|
There are a lot of stories around how Blockchain could revolutionize every industry. This is a nice summary of some of the companies that are trying to make this happen and the way they are trying to make an impact.
|
|
This is an interesting post from Rob Conery, someone I’ve followed for quite some time, and his observations as he gets older about how he wonders if he is past keeping up with new technology.
|
|
There are a lot of stories around how Blockchain could revolutionize every industry. This is a nice summary of some of the companies that are trying to make this happen and the way they are trying to make an impact.
|
|
This is an interesting post from Rob Conery, someone I’ve followed for quite some time, and his observations as he gets older about how he wonders if he is past keeping up with new technology.
|
|
Prelude It will be helpful to read this four-part series first on escape analysis and data semantics. Details on how to read an escape analysis report and pprof output have been outlined here. https://www.ardanlabs.com/blog/2017/05/language-mechanics-on-stacks-and-pointers.html Introduction Even after working with Go for 4 years, I am continually amazed by the language. Thanks to the static code analysis the compiler performs, the co..
|
|
This blog is being powered by a static content generator called Hugo and hosted on GitHub Pages. Getting Hugo up and running was relatively easy. Download the relevant version and installation was just copying it to a folder.
|
Git's `bisect` command is one of those things you will wish you've known since you started using `git` at all. I don't use it that often, but whenever I do I ask myself how did I live without this f...
|
Git's `bisect` command is one of those things you will wish you've known since you started using `git` at all. I don't use it that often, but whenever I do I ask myself how did I live without this f...
|
|
This blog is being powered by a static content generator called Hugo and hosted on GitHub Pages. Getting Hugo up and running was relatively easy. Download the relevant version and installation was just copying it to a folder.
|
|
UPDATE: I’m leaving this series up for historical purposes, but please note that I no longer recommend Ubuntu Core or snaps for use in robotics. This is the second blog post in this series about creating your first robot with ROS and Ubuntu Core. In the previous post we walked through all the hardware necessary to follow this series, and introduced Ubuntu Core, the operating system for IoT devices. We installed it on our Raspberry Pi, and u..
|
|
Although I mostly blog for myself, I’m curious as to how well my blog performs. So every month on the 20th this year I want to post a simple blog status report. These reports will include statistics for the previous month: from the 20th to the 19th. For instance, this blog report covers the time period of December 20, 2017, through January 19, 2017.
|
|
This sequence is Eliezer's second attempt at The Great Canon of Modern Rationality. He took the insight-porn-style of the original and recast it into a sleeker (and quite frankly, more useful) theory-then-exercise format. Not unlike the original, however, he begins by digging beneath the idea of truth:The Sally-Anne False-Belief task is an experiment used to tell whether a child understands the difference between belief and reality. It goes..
|
|
Around the holidays I start putting together my yearly review. These reviews are ways for me to reflect on how the year went.
|
|
Cell phone addiction. Sugar addiction. Alcohol addiction. Social media. Cigarettes. Marijuana. Email. Drugs. Social media. Caffeine. I think these are bad when taken to the excessive. But when consumed in reasonable amounts all of the above can be beneficial. Hospitals use morphine as a pain killer in extreme situations. Alcohol, with all its toxic effects on the body, can still serve as a “social lubricant”, and a fast way to relax ....
|
|
Google is working again on S2 a spatial library !!! And they even have created a website to communicate about it s2geometry. The C++ port contains a Python Swig interface. I’ve been using an unofficial Python port with Jupyter for years now things are way more simpler. If you are on Arch I’ve create a package, simply install AUR s2geometry-git First we want a clean Jupyter install from scratch: virtualenv3 ~/dev/venv3 source ~/dev/venv3/bin..
|
|
Insights from SoundCloud’s DeveloperBridge Trainee Program
-
developers.soundcloud.com
-
8 years ago
-
eng
Back in 2016, the SoundCloud People Team collaborated with engineering management in an effort to bring more junior engineers into the…
|
|
Insights from SoundCloud’s DeveloperBridge Trainee Program
-
developers.soundcloud.com
-
8 years ago
-
eng
Back in 2016, the SoundCloud People Team collaborated with engineering management in an effort to bring more junior engineers into the…
|
|
A chain is no stronger than its weakest link” Any improvement made anywhere besides the bottleneck is an illusion. Any improvement made after the bottleneck is useless because it will always remain starved waiting for work from the bottleneck. Any improvement made before the bottleneck merely results in more ‘work’ piling up at the bottleneck. Identify the system’s constraint(s) (that which prevents the organisation from ob....
|
|
Last November, my wife and I joined our local Toastmasters club. Toastmasters, for those who are unfamiliar, is a public-speaking development group. I’m not sure how good a speaker I am, but I know regardless of how good or bad I am, I want to improve. In fact, one of my new year’s resolutions for 2018 is professional a personal development. So Toastmasters just makes sense.
|
|
A chain is no stronger than its weakest link” Any improvement made anywhere besides the bottleneck is an illusion. Any improvement made after the bottleneck is useless because it will always remain starved waiting for work from the bottleneck. Any improvement made before the bottleneck merely results in more ‘work’ piling up at the bottleneck. Identify the system’s constraint(s) (that which prevents the organisation from ob....
|
We have stopped blogging Once blogging was a thing Not a thing to talk about business But a place where people would share ideas thoughts moments emotions stories with each others. I think we should do more of that We should start blogging again. We should bring this conversation back. We left to the Facebooks and the Twitters take the control of the conversations (and no, I am not ranting against these platforms, for a change… see, I actua..
|
We have stopped blogging Once blogging was a thing Not a thing to talk about business But a place where people would share ideas thoughts moments emotions stories with each others. I think we should do more of that We should start blogging again. We should bring this conversation back. We left to the Facebooks and the Twitters take the control of the conversations (and no, I am not ranting against these platforms, for a change… see, I actua..
|
|
Open source maintainers give up their own time to create great pieces of free software, which we then use to create business value. In our State of Open Source Security Report, open source consumers and maintainers were asked about their security expertise, actions and sense of ownership — and the results were very mixed.
|
|
Many years ago, inspired by a blogging platform called Svbtle , I built a clone called Simple. It was pretty simple - just a minimal Flask app backed by a Sqlite database, but had some cool features. You could log in with Mozilla’s Persona (RIP), edit posts using an in-browser editor and drag ‘n’ dr...
|
|
Many years ago, inspired by a blogging platform called Svbtle , I built a clone called Simple. It was pretty simple - just a minimal Flask app backed by a Sqlite database, but had some cool features. You could log in with Mozilla’s Persona (RIP), edit posts using an in-browser editor and drag ‘n’ dr...
|
|
This article is about nothing surprising but may act as a reminder to anyone that wanders online or that manages a community. There's too much already written about the subject of echo chambers so what I'll do is list ideas that I find interesting but that aren't mentioned enough.
|
|
I finally got GitLab CI up and running for the SnailLife Go port. The CI just runs the bash scripts I already had to test and build client and server. I had to make some changes for the tests to be able to run without the auth config files (which I obviously don’t want to submit to a public repo). Now, if an auth config file is not available I look for environment variables to get the Auth0 client ID and secret. Gitlab lets you set secret e..
|
|
As tradition follows, we usually get screenings of interesting movies in class, today we got a screening of Moon Machines [1] a documentary by the science channel about the Apollo Guidance system and their corresponding code.This documentary was about the testimonies of people in MIT and the general creation of the whole Apollo mission. What is interesting is that some years ago, I saw a GitHub repository of the commentated Apollo code, It ..
|
|
In my InfoSec class, we were asked to show a preliminary attempt at google hacking. We were tasked to try to get some indices of google hacking performed, to show us the importance of monitoring our site’s search engine exposure and possible file requests permissions. Examples included: site:something filename:admin.php While it certainly is something that sounds fun, for me this is more of a gimmick, nevertheless it made me think for a sec..
|
|
BenchmarkDotNet v0.10.12 has been released! This release includes: Improved DisassemblyDiagnoser: BenchmarkDotNet contains an embedded disassembler so that it can print assembly code for all benchmarks; it’s not easy, but the disassembler evolves in every release. Improved MemoryDiagnoser: it has a better precision level, and it takes less time to evaluate memory allocations in a benchmark. New TailCallDiagnoser: now you get notific....
|
|
BenchmarkDotNet v0.10.12 has been released! This release includes: Improved DisassemblyDiagnoser: BenchmarkDotNet contains an embedded disassembler so that it can print assembly code for all benchmarks; it’s not easy, but the disassembler evolves in every release. Improved MemoryDiagnoser: it has a better precision level, and it takes less time to evaluate memory allocations in a benchmark. New TailCallDiagnoser: now you get notific....
|