blog.depold.com |
Web programming to the rescue! A blog about Node.JS, JavaScript and Ruby on Rails! |
Alright, …, day 1 of the JSConf.EU is done and while other are trying to minimize the results of the after show party I’ll try to summerize the (visited) talks:
Not a talk at all but a very nice detail was the artist Anna Lena Schiller. The Fräulein (see the website) created an artwork for each of the talks in the downstairs area.
The first talk was by Dean McNamee about the multimedia programming environment Plask. It might be my inability to completely understand native american speaker or the complexity of the topic, but I don’t exactly got the point :D As far as I’ve understood, Plask is an environment which can be used in order to easily analyze multimedia and trigger stuff according to the resulting data. Dean presented some showcases including a visualization of music (via a nicely animated wave stream) and an experiment by a car manifacturer, who filled the inner of the car with gas and placed some LEDs into it. The LEDs were then colored according to the bass of the music. Check out the website for the video.
One thing I’ve noticed, is, that Anna Lena had a type :D It’s “Plask” not “Plusk” ;)
Read more
tilomitra asked: Hey, I just started using Sequelize and was wondering if you support inserting BLOB data? If not, can you recommend some solution? Thanks!
Hmm you are right, that’s missing :) Can you please open a tickket on github ? For the moment i recommend using a text column and manually converting the data.
You can also send me a pull request if you want to. if so, don’t forget the tests ;)
This weekend I will pause writing my master thesis (about sequelize btw.) and attending the javascript conference JSConf.EU for the first time. Doing so, I will hopefully get a lot of inspiration for future work and projects. I will every once and while post about some topics, not sure if in the blog or via twitter.
This is my schedule for the next two days:
Day 1
Breakfast 2011-10-01 08:30
Opening 2011-10-01 09:15
Plask 2011-10-01 09:30
jsPerf (upstairs) 2011-10-01 10:30
Kaffeepause 2011-10-01 11:00
jsTools 2011-10-01 11:15
Mittag 2011-10-01 12:45
JITs 2011-10-01 11:45
DOM implementation techniques 2011-10-01 12:15
HTML5 Game Engine development 2011-10-01 13:45
Web Intents 2011-10-01 14:30
Kaffee 2011-10-01 15:15
Kendo UI (upstairs) 2011-10-01 15:30
Network performance (upstairs) 2011-10-01 16:00
Beyond JavaScript (upstairs) 2011-10-01 16:30
Pause 2011-10-01 17:00
Emscripten 2011-10-01 17:15
Day 2
Frühstück 2011-10-02 09:00
Opening 2011-10-02 09:45
SSJS 2011-10-02 10:00
Mobile HTML5 App 2011-10-02 10:45
Kaffee 2011-10-02 11:30
JS Editors (upstairs) 2011-10-02 11:45
surface generation 2011-10-02 12:15
polyfilling the gaps 2011-10-02 12:45
Mittag 2011-10-02 13:15
all your browsers are belong to me 2011-10-02 14:15
JS Compilers (upstairs) 2011-10-02 14:45
node modules mit V8 (upstairs) 2011-10-02 15:15
Kaffee 2011-10-02 15:45
jsmad 2011-10-02 16:00
garbage collection 2011-10-02 16:30
Pause 2011-10-02 17:00
why do we need two eyes? 2011-10-02 17:15
end to negativity 2011-10-02 18:00
closing 2011-10-02 18:45
gruppen foto 2011-10-02 19:00
With Sequelize 1.0.0 the project was completly rewritten and had some major api changes, which will break your app, if you don’t fix ‘em. This post summarizes all changes and points out improvements and new features.
Read more
Motivation
If you are using Rubymine (like ~50% of the DaWanda devs is), you might have got the idea of sharing your preferences with multiple computers. Because most of us are coding on Apple hardware, this description is for MacOSX, but will work similarly on linux as well.
The naive way
When thinking about sharing stuff on multiple devices, you will stumble across Dropbox. The first and obvious way is moving your preferences folder into it and symlinking it into the origin place:
mv ~/Library/Preferences/RubyMine31 ~/Dropbox/System/Preferences/
ln -s ~/Dropbox/System/Preferences/RubyMine31 ~/Library/Preferences/RubyMine31When starting RubyMine for the next time, it will complain about a missing preferences folder and bootup some strange environment in which you can work almost normally but have no shortcuts etc. The very next thing I tried was symlink without the “-s” flag. This will fail due to MacOSX’ missing support of hardlinks for directories.
Solution
After googling for a while, I found this discussion on StackOverflow. It explains how to compile a binary for creating directory symlinks. So copy the following snippet and paste it into your favorite place for binaries and shell scripts (because I like sharing custom binaries via Dropbox it is ~/Dropbox/System/Bin/hlink.c for me).
#include <unistd.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
if (argc != 3) {
fprintf(stderr,”Use: hlink <src_dir> <target_dir>\n”);
return 1;
}
int ret = link(argv[1],argv[2]);
if (ret != 0)
perror(“link”);
return ret;
}Afterwards “cd” into that specific folder and do this:
cd ~/Dropbox/System/Bin
gcc hlink.c -o hlinkAnd finally:
mv ~/Library/Preferences/RubyMine31 ~/Dropbox/System/Preferences/
./hlink ~/Dropbox/System/Preferences/RubyMine31 ~/Library/Preferences/RubyMine31When running RubyMine for the next time, everything should be just as before!
Have fun,
sdepold
niskavaara asked: I'm looking at "Connecting Up MongoDB" at this page http://dailyjs.com/2010/11/08/node-tutorial-2/
I've looked thru the examples at sequelizejs.com but couldn't find a similar example.
Would it be possible for you to add an example of how to define the data model and relations in models.js for use in Express?
Thank you!
hey there, thanks tumblr i just got your message now :D I also have no clue when you asked me. If I understand right, you want to define your models in an extra file?
This is mostly a reminder for myself. But maybe you are also interested in this :)
So this is the way you can access a server via ssh without getting asked about passwords:
1. Create a SSH key. You might want to take a look at this to get one.
2. Copy the result of the following command: cat .ssh/id_rsa.pub
3. Connect to the server: ssh user@server.tld + Enter password
4. Create the .ssh folder if not yet done: mkdir ~/.ssh
5. pico ~/.ssh/authorized_keys => Paste the clipboard.
6. exit
7. ssh user@server.tld => You should now be connected without entering a password!
HF
Is there anyone out who has ever got senseful things via the app stores genius function? I’ve just fucking installed nova2 so … wtf? because of trenches???
That’s the way the internet works! via http://www.lowbird.com/data/images/2011/01/hayungs-website.jpg