Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MatmaRex
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
MatmaRex
6y ago
In my opinion, having read parts of jQuery's source code on various occasions… You should only read it for entertainment value, it makes for fascinating brain teasers. Here's one snippet I had the opportunity to read recently:
62.
▲
by
MatmaRex
6y ago
.match() only returns the result of one match, rather than all the matches in the string. To do that, you'd need to use .matchAll() (which didn't exist in 2008), or write an awkward do…while loop. Using .replace() looks neater.
63.
▲
by
MatmaRex
6y ago
Good one, but it looks like you need an /s on this board.
64.
▲
by
MatmaRex
6y ago
There are wireless headphones using other technologies than Bluetooth. I'm currently using a Steelseries Arctis 7 and it has no perceivable latency (I play rhythm games with it). And it indeed comes with a USB "dongle"/b
65.
▲
by
MatmaRex
6y ago
I haven't seen one either but I can easily believe it, as there are proprietary magnetic USB-C adapters that do not support data (they only have 5 or 6 pins). I can imagine a "normal" cable behaving the same way.
66.
▲
by
MatmaRex
6y ago
I work remotely and my employment agreement actually states that "The workplace is determined in <my address>" in the first paragraph. Might be worth checking yours.
67.
▲
by
MatmaRex
7y ago
It was a surprise for me as well, but people in the US dial into meetings using their phone all the time . I don't understand it either.
68.
▲
by
MatmaRex
7y ago
Microsoft Surface devices use 3:2 (15:10), I've bought one pretty much only because of that and it's nice.
69.
▲
by
MatmaRex
7y ago
Recent Excel has a much more convenient interface for formatting pretty graphs than I remember from ~10 years ago. The available options are mostly the same, there indeed aren't really any new features in that, but it has live preview
70.
▲
by
MatmaRex
7y ago
> ...But then again, shouldn't the Null symbol ␀ redirect to the page on the Null symbol, which it actually is, not the page on the Null character, which it only symbolizes? Perhaps it should. That page actually did not exist when t
71.
▲
by
MatmaRex
7y ago
It probably depends on the OS. I assume screenshots in the article are on Linux. On Windows it looks different still: https://i.imgur.com/ri2yUrR.png
72.
▲
by
MatmaRex
7y ago
It's certainly complicated but I think there is no way around it if you want to have correct translations. The same kind of system is used for translating MediaWiki and it seems to work great there. Example message: https://
73.
▲
by
MatmaRex
9y ago
Interesting. On my machine, Razer mouse drivers (RzSDKService.exe) seem to be leaking 2 handles every second.
74.
▲
by
MatmaRex
9y ago
These were widely used for at least one thing in practice: adding support for :hover pseudoclass on arbitrary elements (not just <a>) in IE6. https://peterned.home.xs4all.nl/csshover.html
75.
▲
by
MatmaRex
9y ago
Depending on the merchant and the bank, debit cards might not work. For example, the debit card from my bank will not work if used to pay at Amazon (allegedly the bank is too strict about payment details and Amazon doesn't provide some
76.
▲
by
MatmaRex
9y ago
I have a Surface 3 and it's doable. Mind that the device is also a bit smaller than the usual laptop, so there's enough space (on my knees at least) to place the kickstand.
77.
▲
by
MatmaRex
10y ago
The reasoning can be found here: https://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletio...
78.
▲
by
MatmaRex
10y ago
There was a CGI young Arnold Schwarzenegger in Terminator Salvation, in 2009. Admittedly, that scene did not require many facial expressions: https://www.youtube.com/watch?v=L7YYfgx_cHo
79.
▲
by
MatmaRex
10y ago
MediaWiki uses tabs for indentation and discourages alignment. https://www.mediawiki.org/wiki/Manual:Coding_conventions
80.
▲
by
MatmaRex
10y ago
Right, recursion is elementary, I missed that one. (It's even pretty much a prerequisite for depth-first graph traversal.) As far hash tables, I agree it's important to vaguely know how they work and to know the performance charac
81.
▲
by
MatmaRex
10y ago
Depth-first and breadth-first graph traversal does come up. Example: you're implementing a task tracking system, where tasks can have dependencies. Boom, that's a graph. You want to display a whole graph of dependencies of a task
82.
▲
by
MatmaRex
10y ago
I think OP's list of essential algorithms is a bit too long. I agree that knowing what a binary search is, or graph traversal, is something that everyone writing code should know, and something that does come up reasonably often. (And
83.
▲
by
MatmaRex
10y ago
I have a tablet/convertible that does this (Thinkpad Tablet 2) and it's the most infuriating thing. It doesn't seem possible to turn it off.
84.
▲
by
MatmaRex
10y ago
They changed it a long time ago.
85.
▲
by
MatmaRex
10y ago
That screenshot is labelled "dramatic reenactment", which I believe is just another expression for "fake".
86.
▲
by
MatmaRex
11y ago
The git-review plugin is not required, you can instead do `git push gerrit HEAD:refs/for/master` to push changes for review and use the snippets from the change's page to pull them. But it's easier to do `git review` and
87.
▲
by
MatmaRex
11y ago
I use Gerrit everyday (I work on MediaWiki) and I'm not having any problems submitting multiple dependent commits. Yes, you need to rebase the newer ones if an earlier one was non-fast-forward-merged or if an earlier one is amended, bu
88.
▲
by
MatmaRex
11y ago
It should be. There are sometimes banners for other things, though, like to announce the Wikimania conference: < https://meta.wikimedia.org/wiki/CentralNotice/Calendar >. There are apparently also smaller fun
89.
▲
by
MatmaRex
11y ago
The design evolves, just very carefully. There were typography tweaks in 2014: https://www.mediawiki.org/wiki/Typography_refresh (mostly increasing the font size of the main page text and changing headings to use a ser
90.
▲
by
MatmaRex
11y ago
I for one sure hope that Wikipedia never falls so low as to have to run ads. :) Which doesn't mean that there aren't any alternative revenue streams for the Wikimedia Foundation. But it's a very touchy topic here. Ideas I
More ›