Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
phzbOx
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
phzbOx
15y ago
I think the best is a little of both ways. For instance in python: x = some_dict['meh'] Will raise if 'meh' doesn't exist. If you believe that 'meh' should be there in your program, it's fine to 'let it raise an exception'. However,
182.
▲
by
phzbOx
15y ago
Still, the Emacslisp example would be easier to read/maintain/debug if it was separated in multiple functions.
183.
▲
by
phzbOx
15y ago
Small hack: Instead of using "X" for the delete icon, use "×". It looks more like a delete/close button and still avoid the trouble to create an image.
184.
▲
by
phzbOx
15y ago
Which ones?
185.
▲
by
phzbOx
15y ago
Why all the hate coming from the comments on this page? The guy is offering is time to have fun hacking on a cool project.
186.
▲
by
phzbOx
15y ago
Thanks for the feedback. Yes, I totally agree about the performance hit. I'm still thinking about the interface and what methods Moka should provide. After that, I'll make a pass to optimize constructs as much as possible.
187.
▲
by
phzbOx
15y ago
I've released a functional python library and I've written the doc with bootstrap (www.phzbox.com/moka/) Was amazed by its simplicity.
188.
▲
Moka - Minimalist functional python library
(phzbox.com)
9 points
by
phzbOx
15y ago
|
3 comments
189.
▲
by
phzbOx
15y ago
Nice features. In what does it make it a "company" rather than a cool side-project? (Don't take it the harsh way, I'm really interested in the answer :)
190.
▲
by
phzbOx
15y ago
Thanks for the enlightenment. I have to agree that once you have access to the db, salt or not doesn't really matter security wise. But at the end, it really boils down to: Do you have a strong password? If yes, even md5 is "somewhat" safe.
191.
▲
by
phzbOx
15y ago
Well the thing is how easy it is to customize your evil keybindings. And, don't forget it's Lisp.. so it'd take a second to write a macro behaving like: (map J jjjj)
192.
▲
by
phzbOx
15y ago
To the other posts saying how MD5 is not bad and/or it's stupid to use MD5 without salt (or whatever): See this script more as a fun little hack rather than a "Formal proof". Thanks aparadja for sharing. That being said, using MD5 without
193.
▲
by
phzbOx
15y ago
(I'm somewhat replying to the next message but HN didn't let me reply to it) There's conkeror that use the same renderer engine of Firefox but with emacs mentality of keybindings and customisability. Also, I've read that some people like to
194.
▲
by
phzbOx
15y ago
The philosophy is very different. Emacs is really a lisp repl with a good API to manage windows. So, in a way, it's not an editor. I mean, you can use it to check your e-mail, chat on IRC.. or basically anything that can be interacted throu
195.
▲
by
phzbOx
15y ago
Evil is the most recent 'vim-mode' for Emacs.. I'm sure there're still few bugs in it but as far as I can see, it's really good. The nice thing is how easy it is to configure/change the default behaviors and also how fast the mainteners/imp
196.
▲
by
phzbOx
15y ago
Evil is the most recent 'vim mode' for Emacs. I've had a couple of problems.. submitted an issue of github and it was resolved in hours (if not minutes). (For instance, :<number> was missing to go to a line.. fixed in minutes. I wan
197.
▲
by
phzbOx
15y ago
I've just recently switched to using Emacs with Evil (A Vim mode for emacs). That's just simply awesome.
198.
▲
by
phzbOx
15y ago
When I say new technologies, I don't mean "new programming languages". Learning new libraries to make you better at your craft is part of "learning new technologies". Whatever the languages or the tools you use, you can always learn more an
199.
▲
by
phzbOx
15y ago
To quote the author: "For the extra effort you'll make learning CoffeeScript and its idiosyncrasies, why not put it towards really learning JavaScript?" There are so many wrong saying in this statement. First, understand that CoffeeScript
200.
▲
by
phzbOx
15y ago
I was arguing with a lisper the other day about how lisp' power make it easy to go overkill and have too much nested lambdas.. while language like Java, forcing you to use vars, sometime makes the code easier to read. He then told me to not
201.
▲
by
phzbOx
15y ago
Sadly, often time you'll have clients that use older version and you need to stay backward compatible for them.
202.
▲
by
phzbOx
15y ago
People bash over ie6 just because it was revolutionary at that time and some people are still using it. Yeah, it's a pain to deal with as it's a pain to deal with any old technologies. Try to support Netscape 2.0 for fun.
203.
▲
by
phzbOx
15y ago
So, "Extend is for the Java Programmer". I'm curious to see how this will turn out as there are some pretty cool features in this language. (Particularly the multiple dispatch, closures and type inference). However, any Java programmers cou
204.
▲
by
phzbOx
15y ago
#7 Don't write a blog post about ways to not procrastinate
205.
▲
by
phzbOx
15y ago
I don't particularly like their video intro. I feel like they've tried to fit it under a specific time limit (which is great) by doing everything faster, speaking faster and weirdly skipping animation. For instance, they take 20secs to talk
206.
▲
by
phzbOx
15y ago
I'll be grumpy and say I'm surprised of how fast it reached first position on HN. However, I have to agree that there's a huge difference between deleting an email and opening it :p Great idea, good luck with it.
207.
▲
by
phzbOx
15y ago
http://sciruby.com :D
208.
▲
by
phzbOx
15y ago
tldr: He wants a couple science python library and 'doesn't feel like porting them in ruby' (to take his wording).
209.
▲
by
phzbOx
15y ago
That site was unreadable from my mac as there were ads everywhere .
210.
▲
by
phzbOx
15y ago
For me, Ubuntu has always been the "Linux for newbies" a little bit like Mandrake was in the time. I'm not saying that all Ubuntu users are newbies.. but Ubuntu is the distro to starts with if you're a beginner. Lots of my university frie
More ›