Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bewuethr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
Unix and Google
(youtube.com)
1 points
by
bewuethr
5y ago
|
0 comments
92.
▲
by
bewuethr
5y ago
That was raised as an issue a while ago: https://github.com/missing-semester/missing-semester/issues/... The answer is basically "sure, but we explain what we mean in the lecture."
93.
▲
by
bewuethr
5y ago
I, too, saw this approach on HN first – here: https://news.ycombinator.com/item?id=11071754 I combined the bare repo approach with a per-machine custom branch approach described in https://www.anishathalye.com&#x
94.
▲
by
bewuethr
5y ago
But not using German makes your German worse.
95.
▲
by
bewuethr
6y ago
To me, the main value of sh is shfmt – I use it like gofmt and never have to think about formatting again. It also integrates with GitHub's super-linter, where you can have your preferences in an .editorconfig file and then enforce th
96.
▲
by
bewuethr
6y ago
This is a really nice overview! I have one nit about an omission: in addition to the emoji presentation selector, FE0F, which forces "presentation as emoji", there's also the text presentation selector, FE0E, which does the o
97.
▲
by
bewuethr
6y ago
In the same GitHub organization, there is https://github.com/goplus/pandas , but it seems to not have progressed past a README.
98.
▲
by
bewuethr
6y ago
As for "awk", "Awk", and "AWK" all working on macOS: APFS seems to default to being case-insensitive.
99.
▲
by
bewuethr
6y ago
It looks like one is the evolution of the other: https://stackoverflow.com/a/56332115/3266847
100.
▲
by
bewuethr
6y ago
Sed isn't part of the coreutils, though, so this would be outside of the scope of at least this project. There is https://github.com/chmln/sd written in Rust, but it's far from a sed replacement – it's r
101.
▲
by
bewuethr
6y ago
ShellCheck always points out backticks as "legacy".
102.
▲
by
bewuethr
6y ago
I have successfully used https://github.com/infertux/bashcov in the past.
103.
▲
by
bewuethr
6y ago
For scripts with a #/bin/sh shebang line, ShellCheck points out bashisms.
104.
▲
by
bewuethr
6y ago
The recat tool shown seems to have the same effect as tac | rev
105.
▲
by
bewuethr
6y ago
To clarify, this only applies to GitHub Enterprise – great for intranet sites. If you are on GitHub Enterprise.
106.
▲
by
bewuethr
6y ago
He also wrote a book: https://www.packtpub.com/product/building-microservices-with... The book might be good, but my copy had a problem with spurious characters in every code block, but that seems to be fixed in later
107.
▲
by
bewuethr
6y ago
Discussed on meta.stackoverflow.com including an answer from then-employee Jon Ericson: https://meta.stackoverflow.com/q/355950
108.
▲
by
bewuethr
6y ago
Just a heads-up, "OneLink" is trademarked by AppsFlyer: https://support.appsflyer.com/hc/en-us/articles/115005248543...
109.
▲
by
bewuethr
6y ago
There's this Bell Labs video where Lorinda Cherry demonstrates it (shortly after 15:30): https://youtu.be/XvDZLjaCJuw
110.
▲
by
bewuethr
6y ago
That shouldn't matter for the timezone, though, no?
111.
▲
Learn about ghapi, a new third-party Python client for the GitHub API
(github.blog)
1 points
by
bewuethr
6y ago
|
0 comments
112.
▲
by
bewuethr
6y ago
I was going through the changes introduced in Bash 5.1, and to my surprise, it mentioned[1] that process substitution is now enabled in POSIX mode. I wondered if that means POSIX sh now supports it, but I haven't been able to find evid
113.
▲
by
bewuethr
6y ago
Bash-completion does something like this for commands with consistent --help output (most Coreutils, bash, awk, grep, sed...) by parsing it in the completion function: https://github.com/scop/bash-completion/blob&#
114.
▲
by
bewuethr
6y ago
I'm confused, Hashnode seems to be multiple years old? https://news.ycombinator.com/item?id=11018763
115.
▲
by
bewuethr
6y ago
A few things that stood out to me: Apart from the "goto" command and a different "if" statement syntax, all of the examples would run in a modern Bash shell; not much has changed fundamentally. There seem to be no commen
116.
▲
by
bewuethr
6y ago
I love that he calls [1] the incredibly useful tools he built a product of structured procrastination [2]. [1] https://johnmacfarlane.net/tools [2] http://www.structuredprocrastination.com/
117.
▲
Pandoc 2.11
(github.com)
4 points
by
bewuethr
6y ago
|
0 comments
118.
▲
by
bewuethr
6y ago
set -e and set -u both come with their own pitfalls: https://mywiki.wooledge.org/BashFAQ/105 and https://mywiki.wooledge.org/BashFAQ/112 I generally use them and think that overall, they have more
119.
▲
by
bewuethr
6y ago
"read" also supports the empty string to mean the null byte in this case: find ... -print0 | while read -d '' f; do ...; done And since Bash 4.4, also "readarray"/"mapfile" can specify a
120.
▲
by
bewuethr
6y ago
This comment where I first learned about using a bare Git repo for dotfiles management: https://news.ycombinator.com/item?id=11071754
More ›