|
Android SDK has an awesome class called TextUtils. It has many great methods that I use daily, and some magical methods as well.
|
|
If you’ve followed anything I’ve written about Postgres , you know that I’m a fan. At the same time you know that there’s been one feature that so many other databases have, which Postgres lacks and it causes a huge amount of angst for not being in Postgres … Upsert. Well the day has come, it’s finally committed and will be available in Postgres 9.5 . Sure we’re still several months away from Postgres 9.5 being released, anywhere from ....
|
|
If you’ve followed anything I’ve written about Postgres , you know that I’m a fan. At the same time you know that there’s been one feature that so many other databases have, which Postgres lacks and it causes a huge amount of angst for not being in Postgres … Upsert. Well the day has come, it’s finally committed and will be available in Postgres 9.5 . Sure we’re still several months away from Postgres 9.5 being released, anywhere from ....
|
|
Last week I was in San Francisco for Build 2015, the annual conference event held by Microsoft and aimed toward software and web developers. Overall it has been a great experience. I especially enjoyed the opportunity to speak with Microsoft executives, Program Managers and developers about the new stuff they are cooking up and, in general, about that New Microsoft we all have been experiencing as of late (I have a guest post on MSDN Ital..
|
|
Have you ever used an iterator adapter in Rust ? Called a method on Option ? Spawned a thread? You’ve almost certainly used a closure . The design in Rust may seem a little complicated, but it slides right into Rust’s normal ownership model so let’s reinvent it from scratch. The new design was introduced in RFC 114 , moving Rust to a model for closures similar to C++11’s. The design builds on Rust’s standard trait system to allow ....
|
|
NSString *tempDir = NSTemporaryDirectory(); NSLog(@"%@\n", tempDir); NSString *dataFilePath = [tempDir stringByAppendingPathComponent:@"my.file"]; [data writeToFile:dataFilePath atomically:YES];
|
|
The concept of object safety in Rust was recently refined to be more flexible in an important way: the checks can be disabled for specific methods by using where clauses to restrict them to only work when Self: Sized. This post is a rather belated fourth entry in my series on trait objects and object safety: Peeking inside Trait Objects , The Sized Trait and Object Safety . It’s been long enough that a refresher is definitely in....
|
|
A few days ago I decided that there’s no use putting it off any longer - it’s time to upgrade to Laravel 5. I’ve been sitting on 4.2 for months and 5 is a major revision to…well…everything.
|
|
Q-Directives - A Faster Directive System For Angular.js
-
engineering.wingify.com
-
11 years ago
-
eng
Performance matters, and an Angular.js developer would especially know it. Several watchers in a digest cycle can often be a bottleneck, and…
|
|
A while back Peter Norvig posted a wonderful pair of articles about regex golf. The idea behind regex golf is to come up with the shortest possible regular expression that matches one given list of strings, but not the other. “Regex Golf,” by Randall Munroe. In the first article, Norvig runs a basic algorithm to recreate and improve the results from the comic, and in the second he beefs it up with some improved search heuristics.
|
|
A while back Peter Norvig posted a wonderful pair of articles about regex golf. The idea behind regex golf is to come up with the shortest possible regular expression that matches one given list of strings, but not the other. “Regex Golf,” by Randall Munroe. In the first article, Norvig runs a basic algorithm to recreate and improve the results from the comic, and in the second he beefs it up with some improved search heuristics.
|
|
A while back Peter Norvig posted a wonderful pair of articles about regex golf. The idea behind regex golf is to come up with the shortest possible regular expression that matches one given list of strings, but not the other. “Regex Golf,” by Randall Munroe. In the first article, Norvig runs a basic algorithm to recreate and improve the results from the comic, and in the second he beefs it up with some improved search heuristics.
|
|
AdRoll is building products that allow customers of any size, big or small, with a lot of marketing experience or none, to run high performing marketing campaigns. And with over 20,000 customers in over 150 countries, we’ve been fairly successful in this. Our main product has been Retargeting, the basic concept is very simple: when one of your customers leaves your site without buying, we enable you to reach them with the most appropriate....
|
|
The second edition of the Little MongoDB Book Italian Edition is finally up. It is aligned to MongoDB 2.6 and includes a much needed introduction to the Aggregation Frameworks. Enjoy.
|
|
Armenistis - Ikaria . Hydra (island). No cars or motorcycles allowed . Kathisma Beach - Lefkada . Kefalonia Island . Melissani Cave . Momnevasia . Navagio bay . Papafragas beach . Preveza at DuckDuckGo .
|
|
Ambuluwawa Temple . Sri Lanka Travel Guide | Best Tips For Your Trip (Nomadic Matt) . The best train journeys in Sri Lanka . The Safari Hotel (great area to go on safari, see leopards) .
|
|
Bernina railway . Lauterbrunnen village . Lion Monument (Lucerne) . Lucerne lake/city . Oeschinen Lake .
|
|
Best Thai street food: Bangkok stall Raan Jay Fai awarded with Michelin star . Buddha Statue in Forest Pak Chong . Phanom Rung Historical Park . Rama IX park, Bangkok . Sanctuary of Truth . What makes Bangkok so popular? (Quora) .
|
|
Causeway Bay pedestrian crossing . Hong Kong's most breathtaking views: where to glimpse the city from above . Hotel Icon (allegedly amazing service/extras) . Lin Heung Tea House (bakery/tea/dim sum) . Mak's Noodle (Jordan) . Siu yuk (Roasted Pig) . Tsang Tsou Choi (King of Hong Kong) . Tsim Chai Kee (recommended over Mak's wonton/soup).
|
|
18 free things to do in Barcelona . Dessert place you can recommend in Barcelona? (Twitter) . La Pedrera .
|
|
An Iceland travel log . Apartmenthouse.is for local flats. Blue lagoon spa. citywalk.is : Free walking tour. Design March . Drive it yourself: The Snæfellsnes peninsula . Efstidalur : farm to table restaurant. Eight must-see spots in Iceland's wild west . Fridrikv restaurant . Gangleri outfitters . Golden circle's waterfalls and geysers. grillmarkadurinn.is restaurant. Horse farm hotel . Hotel Budir . How to have a budget brea..
|
|
Podcast listenership has been steadily increasing in recent years, and some are even predicting that we're on the verge of a podcasting explosion. With that…
|
|
With open source nature of android and it’s vast open source ecosystem, we often (want to) contribute to an open source library. Here I have tried to cover some points to be kept in mind for library developers and contributers.
|
|
Pixel art is so much fun! This blog post walks through how to read a matrix-like list with Sass and generate Mario pixel art from box shadows.
|
|
With open source nature of android and it’s vast open source ecosystem, we often (want to) contribute to an open source library. Here I have tried to cover some points to be kept in mind for library developers and contributers.
|
|
I’ve added the ability to deploy a Kubernetes cluster with Oh-My-Vagrant ( omv ). I’ve also built an automated developer experience so that you can test your Kubernetes powered app in minutes. If you want to redeploy a new version, or see how your app behaves during a rolling update , you can use omv to test this out in minutes! I’ve recorded a screencast (~15 min), if you’d like to see some of this in action.
|
|
I’ve added the ability to deploy a Kubernetes cluster with Oh-My-Vagrant ( omv ). I’ve also built an automated developer experience so that you can test your Kubernetes powered app in minutes. If you want to redeploy a new version, or see how your app behaves during a rolling update , you can use omv to test this out in minutes! I’ve recorded a screencast (~15 min), if you’d like to see some of this in action.
|
|
After my previous post , I was asked what I’m thinking about the notion of crowd funding, which is currently all the rage. The answer is complicated. I’m focusing right now on things like kick starter and its siblings, because I’m familiar with how they work. The basic premise is pretty great. You have some idea (usually a product) that require initial capital and has some well known market. By directly contacting the target audience, we....
|
I created my own Serviio service script, I’m sharing it for reference and free usage here. If you don’t know Serviio and you need a Media Server in your home network, this is your best choice. check it out here. Actually, you only need to alter “/etc/default/serviio” with your username and path to Serviio installation. […]
|
|
pEveryone has specific tips and shortcuts that they have picked up from various sources, including the following:/p ul liTrial amp; error or self-discovery/li liFrom a friend or colleague/li liReading books, blog posts, articles/li liWatching videos, conferences/li liFormal education/li /ul pRegardless of how one has gained these skills, it is obvious that they increase their effectiveness and efficiency at tasks. With enough exposure and t....
|
|
After announcing travis-cargo a few days ago in Helping Travis catch the rustc train , I got some great hints/contributions from Jan Segre and had a fun little time automating code coverage collection via coveralls.io . Unfortunately, this is a breaking change for existing users of travis-cargo, but the migration is easy. (If you’re wondering what travis-cargo is, see the linked post .) Version 0.1 of travis-cargo is now av....
|
|
I have spent the last week or so fixing bugs in Winter (our programming language) found by our new fuzz testing code. Fuzz testing is the process of sending lots of random input to a program, to try and uncover crashes or other undesirable behaviour from the program. If you are writing a compiler, I highly recommend fuzz testing it, it seems like a very effective way of finding bugs. Some more details about our fuzzing code: It'....
|
|
This is what is working for me and may not be the best for you. This is very beginner level. I am using the Git Bash from here. Starting a new repo Create the repo in GitHub, include readme. Create a team in Github and make sure you have access to the repo. Create a [...]
|
|
This is what is working for me and may not be the best for you. This is very beginner level. I am using the Git Bash from here. Starting a new repo Create the repo in GitHub, include readme. Create a team in Github and make sure you have access to the repo. Create a [...]
|
|
This is what is working for me and may not be the best for you. This is very beginner level. I am using the Git Bash from here. Starting a new repo Create the repo in GitHub, include readme. Create a team in Github and make sure you have access to the repo. Create a [...]
|
|
This is what is working for me and may not be the best for you. This is very beginner level. I am using the Git Bash from here. Starting a new repo Create the repo in GitHub, include readme. Create a team in Github and make sure you have access to the repo. Create a [...]
|