Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jph00
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
481.
▲
by
jph00
6y ago
In case it's of interest, we wrote a system for converting Jupyter Notebooks to asciidoc, which we used to publish an O'Reilly book. This is the book: https://www.amazon.com/Deep-Learning-Coders-fastai-PyTorch/
482.
▲
by
jph00
6y ago
At $160 it's quite a lot to ask...
483.
▲
by
jph00
6y ago
Be sure to read the last section - really deep work involved, including writing a Python parser! Here's a snippet: "I used the built-in Python tokenizer, but built my own parser for the subset of statements (assignments, return) a
484.
▲
by
jph00
6y ago
I'm a content creator (fast.ai), and have dozens of multi-hour long videos with community-provided translations and transcriptions. I have never seen any spam or abuse of any form. Removal of this feature is going to impact our interna
485.
▲
by
jph00
6y ago
I didn't cut and paste any tunneling instructions, or indeed any instructions at all.
486.
▲
by
jph00
6y ago
@dang/mods - I accidentally wrote "for" instead of "or" on the github repo linked here, but have now fixed it. So now the title of this thread is wrong. It should be "Fastmac – A macOS instance or Linux shell&q
487.
▲
by
jph00
6y ago
Many thanks - my bad for not reading the ToS closely enough. I've highlighted the relevant section at the top of the README now. I think (AFAICT) it's still OK for what I use it for, which is building and testing conda packages in
488.
▲
by
jph00
6y ago
I built it because I needed to build and test conda packages easily. Without it, I just wouldn't have bothered and would have only created Linux versions.
489.
▲
by
jph00
6y ago
Heh fair enough - reading the code online on a phone is perhaps not the best way to study the library :)
490.
▲
by
jph00
6y ago
What you describe as "wrong" is how a great many languages work. After coding nearly every day for over 30 years, across many languages, I've come to a view that computers should do our work for us where possible, and that va
491.
▲
by
jph00
6y ago
Thanks for the message! The challenge here is that fastcore is a deliberate attempt to study the design axis of "what would happen if we focused on Python's dynamic features, and gave up on static analysis entirely". Using it
492.
▲
by
jph00
6y ago
Oh so it does! Sorry I'll ask Hamel to change that - he's just being generous with his credit. I didn't write a single word of it! Sorry for the confusion. :)
493.
▲
by
jph00
6y ago
On GitHub you can click the symbol to see where it comes from. Any decent editor should provide similar functionality. Reading the import line to find where a symbol comes from is really clunky.
494.
▲
by
jph00
6y ago
It's not unknowingly at all.
495.
▲
by
jph00
6y ago
Your coding environment really should be providing that basic functionality for you.
496.
▲
by
jph00
6y ago
Look closer. It doesn't return strings.
497.
▲
by
jph00
6y ago
The key issue is that it requires inheritance, but doesn't actually support subclassing very well. Also it relies on python's type system, which is rather limited. It's a very large module for what it does, and understanding
498.
▲
by
jph00
6y ago
The person that wrote the article doesn't work at fast.ai and didn't write the library, so they don't have that information.
499.
▲
by
jph00
6y ago
It's a feature from the standard library. However it's only normally available in dataclass. fastcore simply brings the same functionality to other classes too.
500.
▲
by
jph00
6y ago
That's not a good example at all. Every fast.ai module defines __all__, and is carefully designed to allow "import *" to be used safely. I'm not aware of any other library that goes to this trouble.
501.
▲
by
jph00
6y ago
PrePostInitMeta is just adding what's already in the stdlib dataclasses, but making it available to other classes too.
502.
▲
by
jph00
6y ago
I'm the author of fastcore. dataclasses is not very extensible or flexible. It's fine for starting with, but it's not at all a replacement for store_attr etc. At fast.ai we used dataclasses extensively for a couple of years,
503.
▲
by
jph00
6y ago
No, there isn't.
504.
▲
by
jph00
6y ago
Gosh I'm surprised (and rather pleased!) that anyone even remembers my old JavaScript stuff... :)
505.
▲
by
jph00
6y ago
Yes, although I'm planning to work on making them simpler to use in the coming weeks.
506.
▲
by
jph00
6y ago
Yes lots have - it's really common. Check https://forums.fast.ai for many stories. There's also some linked from https://course.fast.ai . It's a lot of work and requires tenacity - the same amount of te
507.
▲
by
jph00
6y ago
Yes it's a great combo. I think fastai is the only library that actually has both of these built-in. However, because the LR warm-up is built-in to Ranger, it's actually a bit more fiddly to use - i.e. you really need to understan
508.
▲
by
jph00
6y ago
Use both. The book will encourage you to work through the notebooks. You can watch the first video and see if it adds anything for you - if it doesn't, skip the rest. They cover basically the same material. (Except that the course cove
509.
▲
by
jph00
6y ago
Oh awesome! There's a really great fast.ai time series study group BTW, who have between them built a lot of great projects and (IMO) are more familiar with deep learning for time series than any other group I've come across: htt
510.
▲
by
jph00
6y ago
Yup that's me. You're welcome :)
More ›