Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jaspersfather
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
jaspersfather
15y ago
No, please don't. Those are reserved for different things.
2.
▲
by
jaspersfather
15y ago
What makes that better than just using strings?
3.
▲
by
jaspersfather
15y ago
Instead of if bla in [bla, blubb, bfoo]: return True return False you can write: return bla in [bla, blubb, foo]
4.
▲
by
jaspersfather
15y ago
Absolutely. I have not seen a factory pattern in use in ages. I think the last time was before http://dirtsimple.org/2004/12/python-is-not-java.html was around.
5.
▲
by
jaspersfather
15y ago
The idea of patenting it has roughly the same amount of hilarity.
6.
▲
by
jaspersfather
15y ago
That depends more on whether your algorithm is easily distributed. If it is, zeromq will be good for you. I am currently using it to transfer model parameters learned on machine #1 to machine #2 where real time prediction takes place. The p
7.
▲
by
jaspersfather
15y ago
> Only one will get there first, so only one will be able to arrest the person. Where do you buy them real world semaphores, eh?