Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asicsp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
541.
▲
by
asicsp
4y ago
https://foldscope.com/ > Foldscope combines low-cost materials with precision optics to create inexpensive microscopes that are affordable for communities worldwide. With a magnification of 140X, Foldscope can visualize
542.
▲
by
asicsp
4y ago
+1 for https://programming-23.mooc.fi/ and https://cs50.harvard.edu/python/2022/ I'd also recommend https://futurecoder.io/ and https://thepythoncodingbook.com
543.
▲
by
asicsp
4y ago
See also https://github.com/freznicek/awesome-awk Lists projects like "CHIP-8 emulator", "A console videoplayer", "Draw 3D objects" etc
544.
▲
by
asicsp
4y ago
That's same as `sed -i 's/foo/FOO/' ip.txt` on GNU sed. Question is about inplace editing command that works on both GNU and MacOS (without needing a backup, with backup `-i.bkp` works on both). I don't ha
545.
▲
by
asicsp
4y ago
Doesn't work with `GNU sed`: $ sed -i '' 's/foo/FOO/' ip.txt sed: can't read s/foo/FOO/: No such file or directory See also: https://stackoverflow.com/
546.
▲
by
asicsp
4y ago
Previous discussions: * https://news.ycombinator.com/item?id=23240800 (213 points | May 19, 2020 | 86 comments) * https://news.ycombinator.com/item?id=25142867 (207 points | Nov 18, 2020 | 58 comments)
547.
▲
by
asicsp
4y ago
I use pandoc to convert GitHub style markdown to PDF/EPUB ebooks. The default output is good and there are plenty of customization options too. I didn't know LaTeX/CSS but stitched a few things together with help from stackex
548.
▲
by
asicsp
4y ago
Good to have Possessive quantifiers and Atomic groups added to the `re` module (wrote about it here https://learnbyexample.github.io/python-regex-possessive-qua... ) Hope they will add support for Unicode sets `\p{}`, subexp
549.
▲
Examples of Problems with Integers
(jvns.ca)
1 points
by
asicsp
4y ago
|
0 comments
550.
▲
by
asicsp
4y ago
Dupe? Apple Unveils MacBook Pro Featuring M2 Pro and M2 Max https://news.ycombinator.com/item?id=34412610
551.
▲
by
asicsp
4y ago
Link: https://robertheaton.com/2018/12/08/programming-projects-for...
552.
▲
by
asicsp
4y ago
Similar resources: * Projectbook https://projectbook.code.brettchalupa.com/ * Project Based Learning https://github.com/practical-tutorials/project-based-learnin...
553.
▲
by
asicsp
4y ago
Tweet thread ( https://twitter.com/rebecgeo/status/1612509818505289749 ) went viral and a lot of people pitched in by buying books.
554.
▲
Customer returned $800 in books after using them to stage a home for holidays
(insider.com)
49 points
by
asicsp
4y ago
|
67 comments
555.
▲
by
asicsp
4y ago
I don't use `match` often, so I get the `match(str, regex)` order wrong. So yeah, it would be nice if gawk automatically provided the capture groups via some special variable. Not really verbose for this particular example though:
556.
▲
by
asicsp
4y ago
Pleasantly surprised to see an example from my ebook :) Add `-o` option to get only the digits: $ echo '[52] apples [and] [31] mangoes' | rg -o '\[(\d+)]' -r '$1' 52 31
557.
▲
by
asicsp
4y ago
If PCRE is supported: grep -oP '\(\K\d+(?=\))' The above will give all matches in a line though. You can remove `(?=\))` part if numbers are always enclosed in `()` or if you don't care about the `)`
558.
▲
by
asicsp
4y ago
https://github.com/ezrosent/frawk also supports csv And handling it with awk: https://stackoverflow.com/questions/45420535/whats-the-most-...
559.
▲
by
asicsp
4y ago
Also, Unicode support being added to onetrueawk: https://news.ycombinator.com/item?id=32534173
560.
▲
by
asicsp
4y ago
Previous discussion: https://news.ycombinator.com/item?id=28441887 (251 points | Sept 7, 2021 | 118 comments)
561.
▲
by
asicsp
4y ago
The keyboard I'm using is about 10 years old. Some keys are a bit loose, but not really an issue, feels very comfortable to use. Keylabels are all still visible, except for the 'i' key. Don't remember the exact price, bu
562.
▲
by
asicsp
4y ago
See also "Floating Point visually explained": https://fabiensanglard.net/floating_point_visually_explained...
563.
▲
by
asicsp
4y ago
railroad diagrams for regular expressions: https://www.debuggex.com
564.
▲
by
asicsp
4y ago
Those are part of this collection: https://en.wikipedia.org/wiki/The_Case-Book_of_Sherlock_Holm... I thought they were all narrated by Holmes. Just checked https://www.gutenberg.org/ebooks/69700 a
565.
▲
by
asicsp
4y ago
Previous discussions: * https://news.ycombinator.com/item?id=24197528 (326 points | Aug 18, 2020 | 89 comments) * https://news.ycombinator.com/item?id=21039848 (443 points | Sept 22, 2019 | 132 comments)
566.
▲
Mathematical games interesting to both you and a five-year-old child
(mathoverflow.net)
1 points
by
asicsp
4y ago
|
0 comments
567.
▲
by
asicsp
4y ago
Check out https://microstudio.dev/fr/ > microStudio is a free game engine online. > Create games, learn programming, play, share, prototype and jam!
568.
▲
by
asicsp
4y ago
Something like this one that I built last month: https://github.com/learnbyexample/TUI-apps/tree/main/CLI-Exe... Currently it is limited in terms of features like just one input file, no stdin, etc. I al
569.
▲
by
asicsp
4y ago
Learn more about Textual ( https://github.com/textualize/textual ) so that I can implement interactive exercises for my ebooks. I'll have to up my Python game as well (OOP, async, typing, etc).
570.
▲
by
asicsp
4y ago
> That being said, 'winning' doesn't necessarily mean having this be your entire job or revenue source It is my entire job, brings 25% of what I used to earn 8 years ago (never mind what I might be earning now) and I stil
More ›