Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
l0nwlf
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
l0nwlf
16y ago
By 3-4 minutes I mean both computation as well as coding time. Solution of mine came in < 1s.
122.
▲
by
l0nwlf
16y ago
Brute works here because of bad test case. Author could have generated a smart test case and then optimal algorithm could be using suffix array which takes O(n), brute would take O(n!). However a bit smart brute gave the answer in approx 3-
123.
▲
by
l0nwlf
16y ago
Python 3 interface FTW :)
124.
▲
Apple MultiTouch for Desktop
(techcrunch.com)
4 points
by
l0nwlf
16y ago
|
0 comments
125.
▲
by
l0nwlf
16y ago
'Inception' was a classic example of recursion.
126.
▲
by
l0nwlf
16y ago
That's Motorola's policy and it's clearly documented ( http://community.developer.motorola.com/t5/MOTODEV-Blog/Cust... ) "Securing the software on our handsets, thereby preventing a non-Motorola ROM image from being loaded, has been our c
127.
▲
by
l0nwlf
16y ago
"Python, quite simply, attracts people who don't want to code or learn anything." should be rephrased as "Python, quite simple, attracts people who don't want language to stand in their way." What you are commenting is harsh and does not re
128.
▲
by
l0nwlf
16y ago
Here is a word from horse mouth itself - Bram's tip on "Seven habits of effective text editing" - http://www.moolenaar.net/habits.html
129.
▲
by
l0nwlf
16y ago
Why not contribute to an existing application ?
130.
▲
by
l0nwlf
16y ago
"My question to the hardcore python lovers is this (and mind you, by hardcore I mean the kind of people who wrote Exaile, not the kind who hack up a Python script every now and then to organize their iPod)" I'm disqualified to answer - as I
131.
▲
by
l0nwlf
16y ago
I wonder what was Apple's Macbook Pro doing in that .net fanboi/freak house. They should be using windows on some dell/hp machine.
132.
▲
by
l0nwlf
16y ago
"There should be one-- and preferably only one --obvious way to do it." and your code mylord does not passes the bill. Also I do agree with OP, python support readability and it make sense to choose it over other languages where clarity mat
133.
▲
by
l0nwlf
16y ago
Yes. I wonder why the built-in update never works. It gave me the message while updating 1.0.5 that it is the latest version.
134.
▲
by
l0nwlf
16y ago
This brings back memories. Read that article in 7th grade when I had just started using internet. It's still one of my favorite.
135.
▲
by
l0nwlf
16y ago
"Maybe it's Rails or Python or something. Now, name 4 people on the core team without looking them up." Wrong. I use python and I do know the name of at least 20 core devs. May be because I hang at #python-dev or follow them at twitter, but
136.
▲
by
l0nwlf
16y ago
I feel Alienware too is a desirable laptop albeit its domain is quite narrow [and yes the HP laptop looks a clone to me, physically at least]
137.
▲
by
l0nwlf
17y ago
For python you can try : http://www.pythonchallenge.com/ (purely fun), http://www.spoj.pl/ (algorithmic), http://www.codechef.com/ (competitive) and of course there is project euler (mathematically oriented)
138.
▲
by
l0nwlf
17y ago
A brief history of 15" PB/MBP screen resolution: Oct'01-1152x768, Apr'02-1280x854, Oct'05-1440x960, Feb'06-1440x900, Apr'10-1680x1050 - finally!
139.
▲
by
l0nwlf
17y ago
The talk by Robert Martin - 'What killed Smalltalk, could kill Ruby too' mentioned in the blog was fantastic
140.
▲
by
l0nwlf
17y ago
pbcopy and pbpaste are fantastic. I use this regularly, it is a part of my ~/.bash_profile : alias cpwd='pwd|xargs echo -n|pbcopy'
141.
▲
by
l0nwlf
17y ago
bpython is awesome, far better than ipython and is the best tool to learn new libraries. bob did a great job there. Also weave is fantastic. Do check tarek's work on python-weave client. Rest are time-tested and well-proven tools.
142.
▲
by
l0nwlf
17y ago
K&R is not only about C. It is about programming practices in general and is content-packed. So much power in so thin book, just like C itself, a language with only 32 keywords.
143.
▲
by
l0nwlf
17y ago
I donated mine copy of Stroustrop to one of my classmate with whom I was not having good terms.
144.
▲
by
l0nwlf
17y ago
price, battery life and brand name are three most selling points. If I need to buy tablet why exactly will I buy HP tablet :-/
145.
▲
by
l0nwlf
17y ago
lambda and map will be there. reduce will be moved to functools and filter will be removed.
146.
▲
by
l0nwlf
17y ago
It all started with ProjectEuler :)
147.
▲
Google Summer of Code (GSoC), 2010 is up
(groups.google.com)
3 points
by
l0nwlf
17y ago
|
0 comments
148.
▲
by
l0nwlf
17y ago
I'm curious as to how were you able to calculate the value of 'e' to such a large extent, can you share the code ?
149.
▲
by
l0nwlf
17y ago
A tiny collection of more quotes : http://www.slothmud.org/~hayward/mic_humor/mic_quotes.html
150.
▲
by
l0nwlf
17y ago
I made a Multitouch table once which uses pymt library (thanks to http://www.nuigroup.com/ ). It can be operated on linux but needed a custom-made multitouch table. The effort of synchronizing synaptic touchpad,which is most widespread to
More ›