Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asrp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
asrp
10y ago
espeak is a fast speech synthesizer and is the only open source synthesizer I know that's still understandable when played at high speed (300-400 words per minute). And this is the only python library that wraps the C library `speak_li
92.
▲
Show HN: Python C extension for the eSpeak speech synthesizer
(github.com)
1 points
by
asrp
10y ago
|
1 comments
93.
▲
by
asrp
10y ago
I'm not sure if you're looking for an ELI5 of the question or the answer. I'll explain the answer since others already explained the question. You'll only have the time at which your friend leaves (in seconds since the s
94.
▲
by
asrp
10y ago
Sadly, I can only give the Google answer to this one: > Working on a branch of physics called supersymmetry, Dr. James Gates Jr., discovered what he describes as the presence of what appear to resemble a form of computer code, called err
95.
▲
by
asrp
10y ago
Pick 5400 23-bit vectors (the answers you will write) and your friend picks the one that minimizes its Hamming distance to the true answer. 5400*23 + 5400*23*22/2 < 2**23 so answering 21 questions with certainty is impossib
96.
▲
by
asrp
10y ago
dragonwriter said it here but the actual reasoning went something like this: 1. I need to add some documentation and explanation. 2. I might as well document the different parts using screenshots since the elements are visual. 3. I might as
97.
▲
by
asrp
10y ago
Interesting! I do the same with ipython. Now if only we could edit idle's own UI while its running.
98.
▲
by
asrp
10y ago
Maybe. What would you like to see in it? Sample use, detailed explanation, run through of the guided tour, ...?
99.
▲
by
asrp
10y ago
Thanks! From the first example, it looks more like a UI toolkit than a (visual) editor though. At least it seem the layout can only be created using code. I remember Squeak having a tree (I forget the name) but don't remember if it was
100.
▲
by
asrp
10y ago
Indeed! Although I only recently learned of Squeak Smalltalk and variants like Pharo and Cuis (quite a bit after tkui was close to its current state). What GUI maker(s) do you recommend for Smalltalk? Let me elaborate on your comment for ot
101.
▲
by
asrp
10y ago
tkui is one of my joke side projects but it does run and serve a purpose. I was trying to make some quick GUIs in Python for my own use but always restarting the program when small details in the layout changes makes for a slow workflow (cl
102.
▲
Show HN: Tkui – Python GUI maker that simulaneously edits the GUI and its editor
(github.com)
86 points
by
asrp
10y ago
|
24 comments
103.
▲
Allowing multiple read-only servers in pyzdb
(asrp.github.io)
1 points
by
asrp
10y ago
|
0 comments
104.
▲
by
asrp
10y ago
Here are slides linked from that page with a reformatted version with 202 lines: https://drive.google.com/file/d/0B8g97JkuSSBwUENiWTJXeGtTOHF... Here's the source from those slides (I don't know who put
105.
▲
Show HN: Uielem – a wrapper over Tkinter for more Pythonic UI building
(github.com)
2 points
by
asrp
10y ago
|
0 comments
106.
▲
by
asrp
10y ago
I've just changed the project's name to pyzdb. Thanks again!
107.
▲
by
asrp
10y ago
Interesting! I will have to take a deeper look at BlitzDB. I don't know much about MongoDB (so probably wouldn't be a good maintainer) but the sample code looks good. I can't tell how it handles nesting though.
108.
▲
by
asrp
10y ago
Yes, indeed! Thanks for pointing that out. I actually saw that when I was cleaning this up a bit for release and couldn't make up my mind. I mean I'm not modifying args or kwargs now but if I did later, I could shoot myself in the
109.
▲
by
asrp
10y ago
I decided to push a quick patch to github so installation with just `pip install -r requirements.txt` is possible now. I'll look into proper packaging later on. Thanks again!
110.
▲
by
asrp
10y ago
Oh, thanks, I wasn't aware of that flag. Though for the moment pip install -e git://github.com/asrp/undoable#egg=undoable tells me `setup.py` doesn't exist (because it doesn't). I haven't got
111.
▲
by
asrp
10y ago
Thanks! I'm glad to see this looks potentially useful to someone other than myself. If the client could start servers (other than by importing from server.py), what would be the intended outcome if two clients try to spin up servers a
112.
▲
by
asrp
10y ago
As you correctly observed, I mainly used ZeroMQ for the fan-in, so I need only consider one request at a time without worrying about chunking, disconnection or other lower (socket) level issues. For speed, the idea is that you could potenti
113.
▲
by
asrp
10y ago
Thank you! I looked up databases to see if there were obvious name clashes but never thought of debuggers despite using `pdb` a lot. I'm open to suggestions for names if anyone has one. (Although I guess it'd be nice if the top di
114.
▲
by
asrp
10y ago
Oops, I didn't expect this to blow up, thanks for responding. Here's a discussion about switch case (I was also looking for one the other day, but in my case, it was purely for optimization). https://www.python.org/
115.
▲
Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
(github.com)
130 points
by
asrp
10y ago
|
31 comments
116.
▲
by
asrp
10y ago
A lot of the author's complaints, especially near the end, are personal preferences which explains by these "improvements" were never added. Not everyone would prefer a move to a significantly more functional style. Arguably
117.
▲
by
asrp
10y ago
This is a link to Litt while the HN title says "Mitt".
118.
▲
Messing with Python's sort function
(asrp.github.io)
1 points
by
asrp
10y ago
|
0 comments
119.
▲
Show HN: Python list and dict with undo
(github.com)
3 points
by
asrp
10y ago
|
0 comments
120.
▲
by
asrp
10y ago
Oh wow! Thanks for sharing this! Is there a write up on how the accomplish the modularity side of things? > Linux users: Kenney Studio works using Wine on Ubuntu and other Debian distros. We unfortunately can't give any support for
More ›