Ούτε που θυμόμουν ότι είχα Rising High αλλά χτυπηθήκαμε άνετα με το Ruthless Compassion
Θα’ταν δε θα’ταν 1992 όταν αγόραζα το LP αυτό (η 12η αγορά από “techno” όπως φαίνεται και στη φώτο και μάλλον και η πιο dark). Λογικά από Discobole στην Ιπποκράτους (τότε ήταν κατεβαίνοντας δεξιά) όπου περνάγαμε άπειρες ώρες μαζί με τον Σωτήρη τον Σαλλούμ (που μετέπειτα έτρεχε το coder.gr).
Προσπαθώντας να καταλάβω ποιο κομμάτι του δίσκου του Bedouin Ascent θυμόμουν από τότε, κατέληξα με σιγουριά στο Treading The Earth
At qrator.com, we have been using grunt to manage the worklflow for our emberjs application. Our Gruntfile.js was originally created with the yeoman emberjs generator but has since grown to 633 lines of code. We are now using many grunt plugins for the several different aspects of the app and here’s a list of the most important ones:
matchdep: This contains helpers to filter the dependecies of a project. It enables loading all other grunt plugins with the following line of code require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks)
grunt-contrib-compass: Compiles sass files using the compass ruby project. Latest versions can generate sourcemaps which are quite handy while developing.
connect-url-rewrite: Rewrites urls. This is useful in our case for making css/js sourcemaps work.
grunt-preprocess: Preprocesses files using a syntax based on conditional comments. We use this to generate different versions for testing, development and deployment of our index.html file.
grunt-rev: Does static file asset revisioning through content hashing. We use this plugin for versioning our final js and css files and are planning to use it for images.
grunt-usemin and grunt-useminPrepare: Used in conjuction with grunt-rev, this plugin replaces references to non-optimized scripts or stylesheets (or any file) into a set of HTML files (or any templates/views).
grunt-neuter: Concatenates files in the order they are required. This is used to break up the application in multiple folders and js files. Ideally this will eventually be replaced by a pure js solution like require.js or converting to ES6 modules and using the grunt-es6-module-transpiler.
grunt-ssh: This is used to sftp the packaged app to production or staging servers.
grunt-bump: Bumps package version (in package.json), creating the appropriate tags and optionally commiting/pushing the changes. We use it in conjuction with grunt-conventional-changelog.
grunt-phantomas: A phantomJS-based web performance metrics collector and monitoring tool. Useful to see how your app performs in several different key metrics.
There’s an internal plugin that allows local overrides to the Gruntfile.js. This is useful in order to disable specific behavior in certain environments (for instance, image minification is not totally reliable in windows environments, and same goes for compass’s sourcemaps). One can achieve something similar with grunt-local-settings.
And as a final piece of emberjs related advice, if you’re currently bootstraping your emberjs application, it’s best to forgo yeoman (i don’t believe the ember generator is maintained any more) and use Ember App Kit. Additionally, if you’re going to bootstrap in a few weeks, you should definitely check out Ember CLI
Charles Proxy is a great tool for web developers and it can help you in mobile apps too.
Here’s what you’d need to set it up:
Run charles on your pc / mac, go to Proxy -> Proxy Settings and note the proxy port
In your device network settings, enable http proxy and enter its ip and port (see below for ios)
Back to charles, click on Proxy -> Throttling Settings and enable throttling while choosing the 3G Throttle Preset. In the example below i’ve created another preset where i’ve lowered the in/out bandwidth even further
That’s it – now go use your app and watch in the charles screen the requests.
For extra credits, you can introduce packet loss/reordering by running
The Tapestry home page is also full of exciting new reasons of why you’d be interested in using Tapestry, so if this is the first time you’ve heard of this component based framework or if it’s been a while since you last reviewed it, then I gladly welcome you to take a look.
Goal4D was the name of a java 3d engine i created a long long (long) time ago [2001-2003].
The code was never open-sourced and even though most of its features are obsolete now i don’t think it’d hurt anyone if i post it on my github account (i’d have to find the source code first).
Anyway, here’s a presentation i once did about Goal4D… enjoy!
Well, it just happened – i was aware of the ‘clicking’ sounds for the last few days but i didn’t bother to check what it was… it was the hard drive, stupid!
But why? And why now? Well, it turns out the power supply fan was not functioning and I guess the high temperature made matters deteriorate fast! BIOS isn’t recognizing the drive and there’s nothing i can do through software means – the HDD containing my home folder was history…
But anyway, my first thoughts were to quickly send the disk for recovery and here are some service i’ve found out (through web search) that can handle such a task here in Athens / Greece:
I didn’t contact any of them but it looks like the price for the recovery can start from 300€ but will most likely end up to 1000-1500€. So, why didn’t i contact any of those? Well, after the first few hours had passed, i had calmed down and had booted to the second HDD’s – that one’s still alive – Windows Server 2003 for the first time in the last 2 years. Then, and while installing those 2 years’ worth of updates, I tried hard to think what i had lost.
So, i’m happy to say that i haven’t lost much! Passwords are recoverable + in laptop’s browser as well. Bookmarks in delicious and in laptop. Important documents & emails in gmail (and laptop). Pictures & videos in laptop & wife’s laptop & windows HDD (hmmm… perhaps that still says something about linux device support : P). Private keys were once copied to windows for use with putty. In fact, i’m currently aware of only the following loses: some uncommitted changes to a few projects and loss of a git repo for a week old project (chesstu.be) for which i at least got the latest code from the deployment server! And that’s all for now… perhaps i’ve lost more and perhaps i’ll find that out soon but still i think i was just lucky, esp. considering i had no “formal” backups
Update: Forgot to mention I’ve definitely lost thousands of 1 0 bullet chess games played on FICS … but those are either reproducible, or just crappy!
In 2009 I did several php projects. The decision to use php was a pragmatic one – very cheap, available everywhere, easy to google for and I had a lot of experience with it in (its and … mine) early years. I even used to teach it at SPHY.
So anyway, up till last year, thinking of php would always bring back memories of spaghetti-code (though I hasten to add, the worst spaghetti-like project i’ve had to work on was in Java/jsp and that was back in 2001/2002 – copy/paste was the emperor and reuse was an unknown word). But all those memories have since changed – php 5 can do OOP and apart from a few gotchas, it’s not that much different to Java… and you do get instant productivity gains (due to save-reload workflow)
After doing a short review of the php web frameworks & libraries, I chose to use Kohana (ver.2) in my projects. Kohana has proven to be a very elegant and clean MVC implementation and its new version (ver.3) now implements HMVC (hierarchical MVC) which is awfully close to what component-based web frameworks are offering but with less magic and thus less complexity
( i’ll need another post -or posts- to explain this further)
Of course, when you’re back to the PHP land, it’s worthwhile to take a look at some of the best (and most used) apps that are written with that, namely wordpress, drupal and joomla (FlatPress is also great if you can’t afford a DB). I took a close look at the source code of wordpress and drupal and their architecture and found both straightforward – code is understandable, authoring plugins and extending default functionality is both easy and fun! And this makes you think… perhaps I can use any of those platforms as a base for my projects. Perhaps YOU should!