Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Derbasti
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
361.
▲
by
Derbasti
12y ago
Python was designed to be a glue language. It does a terrific job at connecting together different pieces of C code. The more I use it, the more I realize that this is Python's calling. I envision a future where I code numerical stuff
362.
▲
by
Derbasti
12y ago
You are talking about pdflatex, which is the default latex compiler in many LaTeX distributions. Most distributions also ship xelatex, which is the LaTeX compiler of the XeTeX project. XeTeX and xelatex indeed do support all the wondrous di
363.
▲
by
Derbasti
12y ago
In general, I dislike the stateful nature of LaTeX. There are many commands that change some variable at some point in the document, which might have ramifications way later, with no easy way to trace it back to the original command. Some k
364.
▲
by
Derbasti
12y ago
As I said, not you , particularly. But bad typists exist, and they tend to want to type less, which leads to code that is worse than it could be. That said, where's your docstring? Why are your lines longer than 80 chars? Why is your
365.
▲
by
Derbasti
12y ago
Ugh. I met your type. Single-letter variable names. No documentation. Because typing more would consume too much time. No thank you. Edit: Not you , particularly. But I have met bad typists, and that is how many of them behaved. Don't
366.
▲
by
Derbasti
12y ago
Because where I live, the cell network is still not 100% reliable. At certain times or places, the stream would stop. Also, mobile data is not free, and volume-limited. Personally, I do want to subscribe. I don't want Internet radio,
367.
▲
by
Derbasti
12y ago
Personally, I've gotten into podcasting when it became easy enough to do so. About ten years ago, you could download Podcasts with iTunes, then sync them as a playlist, then... too complicated. A few years ago this changed. I now have
368.
▲
by
Derbasti
12y ago
I hope that we'll see web-development-like desktop platforms. There are certain classes of apps that are really simple to develop as a web site, but comparatively hard as a native app. I would like to see something like node-webkit wit
369.
▲
by
Derbasti
12y ago
CSS now supports fancy footers and multi column layouts.
370.
▲
by
Derbasti
12y ago
CSS3 actually supports pagination, automatic numbering and referencing, hyphenation, justified text, and footnotes. At least that's what the spec says...
371.
▲
by
Derbasti
12y ago
I am very tempted to try to write my next publication in HTML. However, I seriously worry about things like footnotes, code examples, floating figures and references. CSS3 seems to have support for many of these, but I wonder how well the
372.
▲
by
Derbasti
12y ago
My apologies then, since I did not remember correctly. Thank you for enlightening!
373.
▲
by
Derbasti
12y ago
I actually had a similar problem in the past. My workaround was to use some utilities from gnuwin32, which are native windows ports of the gnu utilities. With that, you can use gnu mkdir, rm, ls etc instead of the cmd builtins.
374.
▲
by
Derbasti
12y ago
I think that there are plenty of people who do what you describe in the terminal.
375.
▲
by
Derbasti
12y ago
There is this incredible tool called Karabiner ( https://pqrs.org/osx/karabiner/ ). Among the many things it can do are Emacs key bindings. I used it to enable more Emacs key bindings in OSX, for example M-f and M-b
376.
▲
by
Derbasti
12y ago
IIRC, w3 was an external program while eww is built entirely in elisp.
377.
▲
by
Derbasti
12y ago
As far as I understand this, this is a problem with git on Windows. Shells work just fine with Emacs on Windows, it just can't supply the git password for some reason.
378.
▲
by
Derbasti
12y ago
It's not so much about efficient JITing, and more about the fact that Pypy is written in Python and does not have a C-backend. That said, I advocate CFFI even in CPython--CFFI is a clean way of calling C libraries without having to - w
379.
▲
by
Derbasti
12y ago
I am actually somewhat worried about the longevity of our current tools. When we die, what will happen to our digital photos, and writings? Will our children find our diary in our home directory like they do when it sits on the bedside tabl
380.
▲
by
Derbasti
12y ago
The book is really about building a CPU from transistors. If you already know how memory and an ALU work, you probably don't need to read this book. It is incredibly well-written though, and you might just enjoy it nontheless ;)
381.
▲
by
Derbasti
12y ago
How does that contradict what I was saying? The garbage collector would still close the file eventually, right? Unless of course it was copied somewhere else in the meantime, but in the code example, that is clearly not the case.
382.
▲
by
Derbasti
12y ago
Why? Wouldn't any garbage collector collect the file object when it goes out of scope? def foolish(): f = open('filename.txt') Once `foolish` returns, `f` goes out of scope, refcounting or not. Once `f` goes
383.
▲
by
Derbasti
12y ago
the math actually works, given a strong enough cable. You would lower a tether from geosynchronous orbit, and simultaneously extend a tether into space. Thus, the total mass stays centered in geosynchronous orbit, and the lower tether gets
384.
▲
by
Derbasti
12y ago
How does this compare to http://calepin.co/ ?
385.
▲
by
Derbasti
12y ago
I believe that Sublime Text is a descendant from Textmate, and therefore uses a single table of recursive regular expressions for syntax highlighting. It therefore can not distinguish multiple instances of the same thing (different variable
386.
▲
by
Derbasti
12y ago
No. This has been discussed ad nauseam already. Vimscript offers a limited API to some functionality of Vim. Emacs is written in Elisp, and thus, everything is accessible and changeable in Elisp. What is more, Emacs and Elisp were designe
387.
▲
by
Derbasti
12y ago
You get access to things like org mode and magit and deep REPL integration and an integrated package manager. You get the ability to configure absolutely everything in elisp. Many experienced Emacsers routinely write small snippets of elisp
388.
▲
by
Derbasti
12y ago
There are environments which require a lot of tooling and automation in order to be productive. Integrated platforms like Android, iOS, or Visual Studio come to mind. These require so many configuration files to be kept up to date, build to
389.
▲
by
Derbasti
12y ago
In CFFI, you write either Python, or C. In Cython, you additionally write a weird dialect that is neither C nor Python. I prefer straight C over Cython.
390.
▲
by
Derbasti
12y ago
I have used CFFI in a few projects for writing a core computation in actual, pure C, and dynamically calling it from Python. Performance is really great, I vastly prefer it over Cython. But, it doesn't solve the vectorization problem.
More ›