Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
smacke
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Reactive Python Notebooks in Jupyter
(github.com)
2 points
by
smacke
2mo ago
|
0 comments
2.
▲
Show HN: Automagically synchronize subtitles with video, in-browser clientside
(smacke.net)
1 points
by
smacke
2mo ago
|
0 comments
3.
▲
by
smacke
2mo ago
I started burning down the backlog of all the stuff I wanted to get to for side projects but never had time for (before LLMs): - https://smacke.net/ffsubsync -- automagically synchronize subtitles, now purely client-side in
4.
▲
Show HN: Magrittr-like pipe syntax for Python
(github.com)
2 points
by
smacke
8mo ago
|
0 comments
5.
▲
by
smacke
8mo ago
Some auto formatting italicized the text between * on different lines :') Should be `reduce[$*$]`
6.
▲
Show HN: Magrittr-like pipe syntax for IPython
(github.com)
2 points
by
smacke
8mo ago
|
1 comments
7.
▲
Show HN: Powerful pipeline syntax for IPython and Jupyter
(github.com)
2 points
by
smacke
9mo ago
|
0 comments
8.
▲
by
smacke
9mo ago
Hi HN, I built pipescript over the holidays after I discovered magrittr for R and realized the same kind of pipe operator and placeholder syntax could be implemented for Python notebooks with a bit of creativity. I developed it while using
9.
▲
Show HN: Powerful pipeline syntax for IPython and Jupyter
(github.com)
5 points
by
smacke
9mo ago
|
1 comments
10.
▲
by
smacke
1y ago
Pickling + unpickling the object is a neat trick to update objects to point to the new methods, but it's even more straightforward to just patch `obj.__class__ = reloaded_module.NewClass`. This is what ipython's autoreload extensi
11.
▲
by
smacke
1y ago
I developed a tool ( https://github.com/smacke/ffsubsync ) which can sync subtitles against each other (or even against an audio track), and this can be used in conjunction with other tools such as https://pyp
12.
▲
by
smacke
2y ago
Discussion on reddit from when I posted about this (more than 10 years ago now!): https://old.reddit.com/r/math/comments/144qc4/a_beautiful_pr... Original pdf seems to have been taking down from AOPS but
13.
▲
by
smacke
3y ago
You're probably referring to nbgather ( https://github.com/microsoft/gather ), which shipped with VSCode for a while. nbgather used static slicing to get all the code necessary to reconstruct some cell. I actually w
14.
▲
by
smacke
3y ago
ipyflow has a %%memoize magic which looks quite similar to %%xetmemo (just without specifying the inputs / outputs explicitly): https://github.com/ipyflow/ipyflow/?tab=readme-ov-file#memoi... Would be cool if
15.
▲
by
smacke
3y ago
I'm a big fan of Marimo (and of Akshay and Myles in particular); it's great to finally see a viable competitor to Jupyter as it can only mean good things for the ecosystem of scientific tooling as a whole.
16.
▲
by
smacke
3y ago
I don't think anything here is in conflict with the statement that Fortran can be faster than C in some cases, but yes you're right that technically that should be qualified as naive Fortran can be faster than naive C
17.
▲
by
smacke
3y ago
Fortran can be faster than C because it has a more restrictive memory model (compiler can make more optimizations when it knows nothing else is aliasing some memory)
18.
▲
by
smacke
3y ago
<3
19.
▲
by
smacke
3y ago
> Another giveaway is the ratio of stars to watchers / forks. I remember one project with thousands of stars but only 10 users "watching" it. They went on to raise a sizable seed round too. Not necessarily indicative of fo
20.
▲
by
smacke
3y ago
Is the recursion limit an implementation detail of the compiler though, or something statically built into the language? If the former there's nothing to prevent the language itself from being Turing complete. (Similar to how every Tur
21.
▲
by
smacke
3y ago
Ah yeah, Carlos is very low on cycles (like all of us I guess), probably due to the day job. (If only OSS had competitive pay...)
22.
▲
by
smacke
3y ago
Have you opened an issue against https://github.com/python-lsp/python-lsp-server ? I'm an occasional contributor for easy fixes; if your fix is easy chances are it would get picked up.
23.
▲
by
smacke
3y ago
It's not in the highlights, but one of the things that excites me most is this: https://docs.python.org/dev/whatsnew/3.12.html#pep-669-low-i... > PEP 669 defines a new API for profilers, debuggers, and oth
24.
▲
by
smacke
3y ago
Didn't try downloading the SDK yet, but in the playground, seems like the "Python superset" advertisement does not hold (trying to define a class gives "error: classes not implemented yet"). Great to see progress in
25.
▲
by
smacke
3y ago
What would a "composable" experience look like?
26.
▲
by
smacke
3y ago
Err, I guess Pluto probably needs the round trip too but I guess Julia is faster after the initial jit...
27.
▲
by
smacke
3y ago
TY for the feedback; updated the readme to try to get the value proposition across more quickly.
28.
▲
by
smacke
3y ago
I would be very surprised if something like this gets support in core Jupyter -- there's a lot of added complexity. Fortunately it is doable as extensions for Jupyter / JupyterLab.
29.
▲
by
smacke
3y ago
We have a couple of papers that go into some of the details. https://smacke.net/papers/nbsafety.pdf https://smacke.net/papers/nbslicer.pdf It looks like you are using a static approach for depende
30.
▲
by
smacke
3y ago
Personally I don't like the "write to disk" approach; I think it kind of just punts the state problem somewhere else (i.e. from memory to disk). Writing to a database and adding versioning is better, but that's a lot of
More ›