Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ssanderson11235
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
ssanderson11235
5mo ago
Noone force-pushed to main in the actual repo. The attacker force-pushed to main in their own fork, but the actual repo had a CI job configured that ran code from the fork in response to changes in that fork.
2.
▲
by
ssanderson11235
5mo ago
The fundamental mistake here seems to have been not fully understanding the threat model of the pull_request_target action trigger. pull_request_target jobs run in response to various events related to a pull request opened against your rep
3.
▲
IPython 7.0 Released
(blog.jupyter.org)
56 points
by
ssanderson11235
8y ago
|
4 comments
4.
▲
Exploring Church Numerals with Python
(partiallyapplied.com)
2 points
by
ssanderson11235
8y ago
|
0 comments
5.
▲
by
ssanderson11235
8y ago
I found it in the YouTube playlist from the event: https://www.youtube.com/playlist?list=PL055Epbe6d5aP6Ru42r7h... .
6.
▲
by
ssanderson11235
8y ago
> Why multiple hubs? A few reasons for this, most of which are related to points you mentioned: 1. Having multiple hubs makes it much easier to do zero-downtime deploys. 2. Having multiple hubs makes us more resilient to transient machin
7.
▲
by
ssanderson11235
8y ago
The sharing machinery isn't open source, mostly because it's pretty tightly coupled to our community forums, which is a custom rails application. I know that the jupyterhub team was working on https://github.com/ju
8.
▲
by
ssanderson11235
8y ago
I gave an earlier version of this talk at JupyterCon 2017 https://www.youtube.com/watch?v=TtsbspKHJGo , which captured my full screen output. The pgcontents demo starts around 19:30 in that video.
9.
▲
by
ssanderson11235
8y ago
Speaker here. If you want to follow along with the slides from the talk, you can find them at https://speakerdeck.com/ssanderson/hosting-notebooks-for-100... . Also, happy to answer any questions that people might have.
10.
▲
by
ssanderson11235
8y ago
There have been a couple attempts to add dashboarding to Jupyter: https://github.com/jupyter/dashboards was/is a dashboard system built by a team at IBM. I think the project stalled somewhat after IBM stopped fund
11.
▲
Show HN: Declarative Python Interfaces
(github.com)
1 points
by
ssanderson11235
10y ago
|
0 comments
12.
▲
by
ssanderson11235
10y ago
Zipline dev here. Zipline happily works on minutely data (in fact, we recently dropped support for daily mode entirely on Quantopian, which is built on top of Zipline). All the tutorials and examples for Zipline use daily data because ther
13.
▲
Jupyter Notebook 4.2 Released
(blog.jupyter.org)
218 points
by
ssanderson11235
10y ago
|
84 comments
14.
▲
Show HN: A CPython Library for Runtime Bytecode Transformations
(codetransformer.readthedocs.org)
5 points
by
ssanderson11235
11y ago
|
0 comments
15.
▲
by
ssanderson11235
11y ago
I'm not sure I always agree with this. David Beazley's 2015 PyCon talk on concurrency ( https://www.youtube.com/watch?v=MCs5OvhV9S4 ) was one of my favorite talks of the conference, and it was almost all just live
16.
▲
by
ssanderson11235
11y ago
A common practice while working on a Haskell code base is to fill in not-yet-completed functions with `undefined`, which is a divergent expression. This lets you do things like write: func = undefined --TODO: implement func and then
17.
▲
by
ssanderson11235
11y ago
If you're interested in this sort of thing, you might also check out https://github.com/llllllllll/codetransformer , which is a general-purpose library for doing these sorts of shenanigans in an almost-sane way. (D
18.
▲
by
ssanderson11235
11y ago
Heh, thanks. It's amazing how well-suited Python's for-loop is for emulating this behavior: `break` just does exactly what you want, and you can throw in an else-block where you'd use a default in another language.
19.
▲
Show HN: Switch-Case Construct in 3 Lines of Python
(github.com)
3 points
by
ssanderson11235
11y ago
|
2 comments
20.
▲
MongoDB 3.0 Released
(docs.mongodb.org)
3 points
by
ssanderson11235
12y ago
|
0 comments
21.
▲
by
ssanderson11235
12y ago
This is really cool. The AST transformation stuff here is neat, but relatively well-trodden ground. The more impressive new science here is the lazy_function decorator, which is implemented as a bytecode transformer on the code object that