Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
meken
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
301.
▲
by
meken
8y ago
I think if you have the title "I build X kernel operating systems for fun" as a resume headline, you are in high demand regardless of X.
302.
▲
by
meken
8y ago
Don't anaphoric macros [1] provide an alternative solution to this problem? Though they seem cool I can see how introducing a magic variable can result in unreadable code... - [1] https://en.wikipedia.org/wiki/Anap
303.
▲
by
meken
8y ago
I really like this. A while ago I was prepping for programming interviews and thought it would be fun to make some videos demonstrating some programming concepts [1] due to my perception that there was a lack of material linking code with v
304.
▲
by
meken
8y ago
I'm glad you found a workflow that works for you. I'd be interested in hearing about what it looks like.
305.
▲
by
meken
8y ago
Interesting thoughts about Software 2.0 IDEs at the end. A desirable property of such a tool (I think) is having a short feedback loop. However, it seems to me that common changes would include re-labeling a significant portion of your data
306.
▲
by
meken
8y ago
I think so and that's the goal of my tool (do a Ctrl-f for pynt on this page - I don't want to spam the link too many times). This functionality is also present (somewhat) in pycharm where you can attach a jupyter console to any r
307.
▲
by
meken
8y ago
Interesting approach. I hadn't thought of using a single notebook to adjust the scope and enter into functions. I my tool I take a one-function one-notebook approach because that's how I did it by hand for a long time.
308.
▲
by
meken
8y ago
I have built several dashboards with nothing but jupyter notebooks + jupyter widgets [1] with the help of jupyter-dashboards [2]. Granted they were little more than api calls followed by visualizations. - [1] http://jupyter.org&#
309.
▲
by
meken
8y ago
If you connect your code buffer to an jupyter notebook via Emacs IPython Notebook [1] then you can hit C-c C-o (ein:console-open) which will launch a jupyter REPL. - [1] https://github.com/millejoh/emacs-ipython-noteboo
310.
▲
by
meken
8y ago
Yes Emacs IPython Notebook is alive and kicking [1]. I recently wrote a tool on top of it and found most everything to work, even as I was banging on it pretty hard at times. - [1] https://github.com/millejoh/emacs-ipyt
311.
▲
by
meken
8y ago
I think there is a lot of merit to what you say here. For example, one of the strongest realizations I had while using an interactive programming tool was while hacking on a 30-50 line function I wrote. In the process I thought to myself &q
312.
▲
by
meken
8y ago
> Programming in the debugger is a massively overlooked paradigm. I wonder if the tool I mentioned in [1] facilitates the workflow you have in mind? It promotes a workflow of setting a breakpoint at the beginning of a function, attach a
313.
▲
by
meken
8y ago
Agreed. Indeed, the original punchline I had for pynt (the tool I linked above) was "Jupyter notebooks for software engineers". The idea being that software engineers might look at jupyter notebooks and think "they look cool,
314.
▲
by
meken
8y ago
> Interactive editing and debugging is limited to top-level code. Very true. When programming in jupyter notebooks I often put off wrapping my code in a function because it becomes harder to interact with and debug. But this obviously be
315.
▲
by
meken
9y ago
Thank you! I tried to google how to do this some time ago with no success! However it looks like it only works with emacs editing mode (set -o emacs). Is there a way to do this in vim editing mode (set -o vi)? Also it doesn't appear to
316.
▲
by
meken
9y ago
You can do the same thing in IPython/jupyter with ?? e.g. np.unique??
317.
▲
by
meken
9y ago
I watched a video by Lennart Poettering years ago on systemd and he pronounced it dah-men, which I thought was pretty slick. Though I still prefer to pronounce it "demon", mostly because that's how my undergrad system adminis
318.
▲
by
meken
9y ago
Videos are dynamic. They are the closest medium currently we can get to pretending we're inside the presenter's head in real time (I'm thinking of khan-academy style videos). To experience how an expert solves a problem and t
319.
▲
by
meken
9y ago
Videos (and talks for that matter) are good a giving a quick over and showing you what is possible (i.e. getting you into a position where you know what you don't know). Books are good ways to dive deep into things you already know you
320.
▲
by
meken
9y ago
This is fair. For someone that just wants to edit text in an efficient way and doesn't want to tweak/tailor their editor vanilla vim is a good choice.
321.
▲
by
meken
9y ago
One word - spacemacs. It's emacs with vim bindings. You get all the editing goodness of vim with the extensibility of emacs. Spacemacs has won the editors war.
322.
▲
by
meken
9y ago
The biggest game-changer for me in converting/sticking with emacs was finding out I can edit remote files with my local emacs via TRAMP ( https://www.emacswiki.org/emacs/TrampMode ). No more logging into remote mach
323.
▲
by
meken
9y ago
I'm working on this very thing right now as a side-project. It unrolls functions, if statements, for/while loops, etc and uses jupyter notebooks to do so AND allows you to interact with the result. Kind of like an interactive log.
324.
▲
by
meken
9y ago
Anyone use either eshell or shell mode in emacs? tramp-mode alone has been a huge boost to my overall satisfaction.
325.
▲
by
meken
9y ago
I think the answer is that such a language would be overly verbose. You could ask the same question about human language and the same answer applies.
326.
▲
by
meken
9y ago
Ah thanks for the recommendation. For what it's worth I was using the evil-mode smartparens layer bundled with spacemacs.
327.
▲
by
meken
9y ago
YMMV but for what it's worth I became frustrated with smartparens when I couldn't figure out how to do something very simple. I think it was traversing down into the next sexp. I got different behavior when my cursor was right up