Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Snarwin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
31.
▲
by
Snarwin
5y ago
Given two binary numbers a and b, the set of bits set to 1 in a|b is the union of the set of bits set to 1 in a and the set of bits set to 1 in b. Likewise for & (bitwise and) and intersection. So using bitwise operators to represent se
32.
▲
by
Snarwin
5y ago
> Documents can be saved in TeXmacs, Xml or Scheme format and printed as Pdf or Postscript files. Converters exist for TeX/LaTeX and Html/Mathml. Notice that TeXmacs is not based on TeX/LaTeX. From http://texm
33.
▲
by
Snarwin
5y ago
The median Google search user probably never learned to use any of these "advanced" features in the first place. For them, having Google ignore the precise wording of their query and show results for more common related terms is a
34.
▲
by
Snarwin
5y ago
Sounds like it might be time to pull a Libera and migrate to a new mailing list.
35.
▲
by
Snarwin
5y ago
Alternatively: set DuckDuckGo as your default search engine and type `!python setattr`.
36.
▲
by
Snarwin
5y ago
Alt+char in terminal Vim is just another way of typing Esc+char.
37.
▲
by
Snarwin
6y ago
In D, this is called "uniform function call syntax." [1] It's really handy, not just for OOP but also for pipeline-style functional programming, since it lets you compose functions from left to right. [1] https://t
38.
▲
by
Snarwin
6y ago
The YouTube thing was back in 2018: https://www.cnet.com/news/mozilla-exec-says-google-slowed-yo...
39.
▲
by
Snarwin
6y ago
Not the Advanced Scientific Data Format either. https://github.com/asdf-format/asdf
40.
▲
by
Snarwin
6y ago
Seems like the simplest fix is to allow the user to ask the screen reader how a word is spelled.
41.
▲
by
Snarwin
6y ago
The fact that you have to manually type in `apt-get update` (or similar) means it's not automatic. You have full control over when the update takes place, and which packages get updated.
42.
▲
by
Snarwin
6y ago
Explaning monads in terms of category theory is like explaining regular expressions in terms of finite automata. It's a good idea if you're writing a textbook, but maybe not so much if you're writing documentation for users o
43.
▲
by
Snarwin
6y ago
Instead of `sudo vi`, you can use `sudo -e` (or its equivalent, `sudoedit`) to run the editor as your user.
44.
▲
by
Snarwin
6y ago
More precisely, it doesn't have a string type .