Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
caioariede
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
caioariede
13y ago
Things that I really appreciate in the list: * add IDE features (debugger integration, shell window) * add integration with Python instead of inventing more Vim script * add encryption for the swapfile And something that could be included i
62.
▲
877,000 TPS with Erlang and VoltDB
(blog.voltdb.com)
9 points
by
caioariede
14y ago
|
0 comments
63.
▲
by
caioariede
14y ago
Note that this will replace over the entirely lines even if it's a blockwise selection. So you might consider using :'<,'>s/\%Vthis/to that/g
64.
▲
by
caioariede
14y ago
I love to work with a 79 chars per line limit. For those using vim, I use this snippet to automatically split my window at startup: https://coderwall.com/p/suj3fq
65.
▲
by
caioariede
14y ago
+1 for an interactive shell. Something like http://repl.it/languages/Python :)
66.
▲
by
caioariede
14y ago
And one of the best features of Python: The community The Python community allied with the good programming habits (aka PEP 8) really does the difference.
67.
▲
by
caioariede
14y ago
You could take a look on https://github.com/paradigm/vim-multicursor
68.
▲
by
caioariede
14y ago
It's buggy. Maybe just on Chrome 24.0.1312.52 running on OSX?
69.
▲
by
caioariede
14y ago
If you are a Django developer, there is a similar approach: http://djangogigs.com/
70.
▲
by
caioariede
14y ago
Can't see how it's different from: (in a manager) def find_by_foo(self, arg): return self.filter(foo=arg)[:1]
71.
▲
by
caioariede
14y ago
Erlang version (more verbose): lists:map(fun(N)->io:fwrite("~s~n",[if N rem 15==0->"FizzBuzz";N rem 3==0->"Fizz";N rem 5==0->"Buzz";true->integer_to_list(N)end])end,lists:seq(1,100)).
72.
▲
by
caioariede
14y ago
I'm using name.com for years without any trouble. Don't know why it wasn't taken into account.
73.
▲
by
caioariede
14y ago
For myself I usually use this function below that is useful if you do a lot of code grep. function g! { grep -nr --exclude=.git --exclude=.hg --exclude=.svn --include="*.$1" "$2" ${3-"."} --colour; } And then: g! py "some pyt
74.
▲
Urban Terror 4.2 is out
(urbanterror.info)
1 points
by
caioariede
14y ago
|
0 comments
75.
▲
by
caioariede
14y ago
This is an awesome and exciting project! The unique trouble I found by myself is that list comprehension are not fully supported. [x for x in (1, 2, 3, 4) if (x % 2) == 0] This won't work as expected. I opened an issue about this:
76.
▲
by
caioariede
14y ago
For simple approaches you can also bitwise through Q objects: >>> from todo.models import Todo >>> >>> Todo.objects.incomplete() [<Todo: 2>, <Todo: 3>, <Todo: 4>] >
77.
▲
by
caioariede
15y ago
You can do literal comparison using === But the problem in my perception is that it is very error-prone. A less error-prone solution would be only convert one string value to number when the another is really a number. For example: '9223372
78.
▲
by
caioariede
15y ago
Some points: * Generating migrations automatically when saved may cause some troubles while making large changes. It's a default setting? * Hamlet seems good but not so obvious for real-world designers. Would be great if you provide an easy
79.
▲
A marketplace for Django projects
(arnor.io)
5 points
by
caioariede
15y ago
|
0 comments
80.
▲
SQLCipher - Open Source Full Database Encryption for SQLite
(sqlcipher.net)
1 points
by
caioariede
15y ago
|
0 comments
81.
▲
by
caioariede
15y ago
Same problem here with Chrome 16, OS X Lion. I tried with Safari and it worked.
82.
▲
PHP 5.4: a huge list of major changes
(php.webtutor.pl)
8 points
by
caioariede
15y ago
|
1 comments
83.
▲
by
caioariede
15y ago
The double quotes does not work on MacOSX/Chrome?
84.
▲
by
caioariede
16y ago
By default, really? I don't like the idea neither I'm a Rails developer, but I think that this will increase the learning curve. Let it be just a choice.
85.
▲
by
caioariede
16y ago
Was Tron using Ubuntu? lol http://s3.amazonaws.com/data.tumblr.com/tumblr_lj6wytUwrf1qd...
86.
▲
by
caioariede
16y ago
If the value is zero the user is being redirected to home, after accessing the link url.
87.
▲
by
caioariede
16y ago
In ruby: http://www.randomhacks.net/articles/2005/10/11/amb-operator
88.
▲
by
caioariede
16y ago
Would be nice to see tryerlang.org integrated with the Quickstart section.
89.
▲
by
caioariede
16y ago
I'm trying to imagine in what kind of situation I'll need "google" myself, but it's ok. Interesting.