Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
goerz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
goerz
8y ago
Do most laptops that people currently get to run Linux, like the Dell XPS or the Thinkpad X1 have a touchpad that support multi-finger-gestures that could be configured with this? If I ever were to switch from a MacBook to a Linux machine,
212.
▲
by
goerz
8y ago
I was under the impression that Cython is a different language (a subset / dialect of Python). So, not a Python to C compiler.
213.
▲
by
goerz
8y ago
I find that with anything where I feel I have to "start over" every time I try to get back into it, the solution is to consciously memorize the key points and the notation of anything I'm learning, using (Anki) flashcards. Mi
214.
▲
by
goerz
8y ago
Will this include an iOS app? This would be interesting on an iPad (although competing against GoodNotes will be tough). On a laptop, I haven't come across anything besides maybe a Surface Book for which there is a suitable input devic
215.
▲
by
goerz
8y ago
Goodnotes is amazing, but there's a couple of features listed on this "Styles Lab" page that it still could implement. Links/bookmarks would be at the top of my list.
216.
▲
by
goerz
8y ago
Can you elaborate on that? Is there a blog post somewhere that illustrates the problem you're talking about? I was under the assumption that Python interpreters run single-threaded.
217.
▲
by
goerz
8y ago
The GIL has considerable benefits: I don’t have to worry about whether Python functions are thread-safe. Thread-based parallelism is hard to get right, and given the number of workarounds, Python’s GIL is a total non-issue.
218.
▲
by
goerz
8y ago
Defining a function would seem like exactly the right thing to do! There's no problem.
219.
▲
by
goerz
8y ago
While there is a "suitesparse-5.2.0" package in conda, I haven't found any documentation. Do you have a link? There doesn't seem to be anything on the project website. I wasn't even quite sure this contains a Python
220.
▲
by
goerz
8y ago
A good sparse matrix implementation is key to any serious numerics. SciPy's implementation is very nice and quite complete, and a foundation for the entire scientific Python ecosystem. Unfortunately, though, many of the low-level spars
221.
▲
by
goerz
8y ago
I guess a good alternative is to have the build tools refuse to do anything until the user/developer has installed the proper hooks by running ./init-hooks (as opposed to executing ./init-hooks silently in the background). I
222.
▲
by
goerz
8y ago
I don’t see your point. By definition, the build scripts that are part of the repo always execute arbitrary code (e.g. any line in the makefile). Interacting with any compromised repo is always a security risk. Granted, my approach is a bit
223.
▲
by
goerz
8y ago
Something I've done on some projects is to install (or check) the hooks as a side-effect of a script that any contributor is guaranteed to run. In my case, `./configure`. The Makefile would be another place for this (`make test`).
224.
▲
by
goerz
8y ago
There’s iVim!
225.
▲
by
goerz
8y ago
I can only hear "Brain Needle" :-)
226.
▲
by
goerz
8y ago
If it doesn’t, the results from that computation are scientifically worthless. Reproducibility means more than just getting the same results from the same code with the same compiler (although that’s clearly a desirable prerequisite)
227.
▲
by
goerz
8y ago
That's amazing! I'll have to try out JupyterLab sometime very soon. I was holding out because I'm using a whole bunch of plugins for the classic notebook from https://github.com/ipython-contrib/jupyter_co
228.
▲
by
goerz
8y ago
Well, it also contains markdown comments (often with LaTeX formulas, so the graphical rendering is appreciated), and, most importantly, plots of the results (which are typically fast to generate, so they are not cached).
229.
▲
by
goerz
8y ago
Any 3-hour calculation should be cached to disk, so that when you re-rerun the notebook you get the result instantaneously
230.
▲
by
goerz
8y ago
The number one feature request by far at this point would be collaborative features in the notebook. Not really because I actually want to collaboratively edit a notebook with others, but because I would like to open the same notebook in tw
231.
▲
by
goerz
8y ago
To address “hand editing” problem I wrote a little vim plugin that wraps around notedown ( https://github.com/aaren/notedown ) to edit notebooks on the fly in a markdown format. It’s not perfect, but it goes a long way f
232.
▲
by
goerz
8y ago
Notebooks can be reproducible, they just aren’t automatically so. It requires a little bit of effort and discipline, if reproducibility is a goal. https://www.svds.com/jupyter-notebook-best-practices-for-dat... is an exce
233.
▲
by
goerz
9y ago
> Plus, you get to use a proper text editor instead of editing on a browser textarea I have a shortcut that lets me edit any browser text area in MacVim, which works out really well in the Jupyter notebook.
234.
▲
by
goerz
9y ago
I‘ve tried a whole bunch of nicely designed regex apps (and this one seems to fit in), but the one feature that is absolutely essential is support for different regex dialects. Often, they only provide the dialect for the specific language
235.
▲
by
goerz
9y ago
I’m not quite sure what he’s thinking of as a “GUI” in this context. What is R Studio? Are there actually people that use “GUI’s” for data science? Seems to me everyone is using R or Jupyter notebooks, or plain scripting
236.
▲
by
goerz
9y ago
Papers (and PDFs) are relevant because they are easy to organize and archive, essentially in perpetuity. Source code is too, so nothing wrong with a "Github for Science". Notebooks, blogs, or interactive dashboards, on the other h
237.
▲
by
goerz
9y ago
Oh, I’m mostly talking about the 7 day limit.
238.
▲
by
goerz
9y ago
Maybe not, I haven't tried that yet. But yeah "indefinitely" was probably not the right word. It might very well depend on some certificate with some expiration date. But it's very manageable.
239.
▲
by
goerz
9y ago
The (offline) LaTeX situation on the iPad is pretty good, actually. There’s Texpad and Tex Writer, both of which are pretty good. Personally, I use a fork of iVim that contains a Texlive distribution ( https://michaelgoerz.net
240.
▲
by
goerz
9y ago
> Can’t work on a plane With the cramped economy seats that have become standard these days, the iPad Pro with a SmartKeyboard is pretty much the only thing I can use to work on an airplane (because the keyboard is so short). I wouldn’t
More ›