Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
asicsp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
841.
▲
PyBoy: Game Boy emulator written in Python
(github.com)
3 points
by
asicsp
4y ago
|
0 comments
842.
▲
by
asicsp
4y ago
For those of us on Linux, check out https://github.com/WyattBlue/auto-editor : "Auto-Editor is a command line application for automatically editing video and audio by analyzing a variety of methods, most notably au
843.
▲
by
asicsp
4y ago
Related discussion from 6 days ago: "Ways that animals perceive the world" https://news.ycombinator.com/item?id=31688701 (75 points | 34 comments)
844.
▲
by
asicsp
4y ago
This might help: > Total Cookie Protection offers additional privacy protections beyond those provided by our existing anti-tracking features. Enhanced Tracking Protection (ETP), which we launched in 2018, works by blocking trackers base
845.
▲
by
asicsp
4y ago
Nice, especially the format output. See also: * hck ( https://github.com/sstadick/hck ) - close to drop in replacement for cut that can use a regex delimiter instead of a fixed string * rcut ( https://github.co
846.
▲
by
asicsp
4y ago
There are huge lists on freely available books on programming topics here (most would probably not fit your 3rd point though): * https://ebookfoundation.github.io/free-programming-books/boo... * https://eboo
847.
▲
by
asicsp
4y ago
And https://www.debuggex.com/ for visualizing regex as railroad diagrams. I'd agree that we get used to regex with usage, but need to be extra careful to test all the corner cases (since by design, a pattern matches mu
848.
▲
by
asicsp
4y ago
There's also https://github.com/VerbalExpressions for various programming languages.
849.
▲
by
asicsp
4y ago
If supported, you can use verbose flag and subexpression calls for such cases. From a cursory glance, I found only the numeric `range` support the standout feature I'd want in existing regex support.
850.
▲
by
asicsp
4y ago
Past discussion: "How is GNU `yes` so fast?" https://news.ycombinator.com/item?id=14542938 (872 points | 5 years ago | 334 comments)
851.
▲
by
asicsp
4y ago
For those reading the above comment, but hadn't clicked the article link yet (like me): > rr aspires to be your primary C/C++ debugging tool for Linux, replacing — well, enhancing — gdb. You record a failure once, then debug th
852.
▲
Auto-Editor: automatically edit video/audio using methods like audio loudness
(github.com)
2 points
by
asicsp
4y ago
|
0 comments
853.
▲
by
asicsp
4y ago
See also: * "Python Design Patterns": https://python-patterns.guide/ * "Clean Architectures in Python": https://www.thedigitalcatbooks.com/pycabook-introduction * "Architecture Patt
854.
▲
by
asicsp
4y ago
I use it for simple cases: >>> if m := re.search(r'(.*)s', 'oh!'): ... print(m[1]) ... >>> if m := re.search(r'(.*)s', 'awesome'): ... print(m[1])
855.
▲
by
asicsp
4y ago
No issues with internet (via mobile). Power is an issue whenever there's heavy wind/rain (ex: power off for about 2 hours yesterday). Many houses have battery based backup. I could afford that, but haven't got yet (one of the
856.
▲
by
asicsp
4y ago
Some of the past discussions: * https://news.ycombinator.com/item?id=24525999 63 points, Sept 2020, 12 comments * https://news.ycombinator.com/item?id=19124480 329 points, Feb 2019, 52 comments * https
857.
▲
by
asicsp
4y ago
I wrote a Linux CLI tool [0] that parses the man/help pages to extract option details. Works most of the time for me, but there are plenty of corner cases that don't work. [0] https://github.com/learnbyexample/
858.
▲
by
asicsp
4y ago
> But seems even the cheapest places to live in the world comes close to $500 a month for living costs. I live in outskirts of a second-tier city in southern India. Spacious rented room and I employ a maid for washing needs. My average
859.
▲
VimLog: Useful and Notable ChangeLog for Vim
(arp242.net)
2 points
by
asicsp
4y ago
|
1 comments
860.
▲
by
asicsp
4y ago
This was submitted first, but most discussion is happening at https://news.ycombinator.com/item?id=31517184
861.
▲
by
asicsp
4y ago
This one? https://sound-effects.bbcrewind.co.uk/
862.
▲
by
asicsp
4y ago
See this discussion from 2 years back: https://news.ycombinator.com/item?id=25021660
863.
▲
by
asicsp
4y ago
These might help: * https://github.com/Endava/cats * https://github.com/google/oss-fuzz
864.
▲
GameShell: A game to learn or teach the Unix shell
(github.com)
216 points
by
asicsp
4y ago
|
62 comments
865.
▲
by
asicsp
4y ago
`(?N)` where `N` is group number and `(?&name)` where `name` is named group are known as subexpression calls. The third-party `regex` module ( https://pypi.org/project/regex/ ) supports this and more such PCRE f
866.
▲
Auto-Editor: automatically edit video/audio using methods like audio loudness
(github.com)
3 points
by
asicsp
4y ago
|
0 comments
867.
▲
by
asicsp
4y ago
Lazy will match as minimally as possible, in contrast to greedy which match as much as possible. Both lazy and greedy quantifiers will backtrack to allow overall regex to match. Possessive on the other hand will not backtrack (unless it is
868.
▲
by
asicsp
4y ago
The `re` module in 3.11 will support "Atomic grouping and possessive quantifiers". I recently wrote a blog post about these features: https://learnbyexample.github.io/python-regex-possessive-qua...
869.
▲
by
asicsp
4y ago
Previous discussions: "Linux Inside – How the Linux Kernel Works" https://news.ycombinator.com/item?id=14422605 (564 points | May 27, 2017 | 31 comments) "Inline assembly in Linux" https://n
870.
▲
by
asicsp
4y ago
Thanks, JSON Lines support would be welcome too :)
More ›