Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zwegner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
zwegner
5y ago
No problem! Maybe I'm just being too negative, after all there are lots of people having fun creating stuff with it (and I like having the devices I've made). But there was definitely a big impedance mismatch of what I had in my h
32.
▲
by
zwegner
5y ago
I only found out about Bespoke a few minutes ago, but I will say using Max as a programmer can be incredibly frustrating. I've made a handful of nontrivial M4L devices and have run up into tons of weird decisions, limitations, bugs, an
33.
▲
by
zwegner
5y ago
Right, and as the wiki mentions, it's not a great solution overall. But at least it works for me for Twitter (and Twitter is still trying to autoplay on scroll, the play button on videos disappear while scrolling only to reappear). Not
34.
▲
by
zwegner
5y ago
The solution I use is to set media.autoplay.blocking_policy to 2 in about:config (I found this on the Mozilla wiki [1]). This setting requires a click to play media. Incidentally, I browse Twitter while logged in, but the autoplay settings
35.
▲
by
zwegner
5y ago
You can still use messaging on the basic mobile site, https://mbasic.facebook.com , which doesn't even need Javascript.
36.
▲
by
zwegner
6y ago
FWIW Neovim has shipped with libvterm as a built-in terminal emulator for years now, I think since 2015? It's the main reason I switched from vim to neovim. Vim itself integrated libvterm somewhat later, too.
37.
▲
by
zwegner
6y ago
Oh, don't get me wrong, I definitely think it's helpful to explain the idiom for those not familiar. I just found the description "a lot of the comments..." rather weird when I didn't see any.
38.
▲
by
zwegner
6y ago
Do any of the comments actually make that conclusion? The other comment you replied to is the only one I saw that even comes close, but it mentions "if you can offer office hours..." so the poster clearly knew the "office hou
39.
▲
by
zwegner
6y ago
If you like this, I'd highly recommend also checking out Fritzchens Fritz's flickr account: https://www.flickr.com/photos/130561288@N04/albums There's a ton of gorgeous high resolution die shots of
40.
▲
by
zwegner
6y ago
You can at least search by label in Spotify, using "label:X" as a search term. Not perfect but it's better than nothing...
41.
▲
by
zwegner
6y ago
Just curious: is there a use case for rotations where the integer size isn't important? It's perhaps a bit annoying to need size-specific rotation functions, but all the uses of rotations I know of need specific integer sizes anyw
42.
▲
by
zwegner
6y ago
There's also this compiler (with accompanying paper/video), that compiles C89 to x86 with the output executable restricted even further, to only printable ASCII bytes: http://tom7.org/abc/
43.
▲
by
zwegner
6y ago
This is similar to Nuitka in that it generates code that binds with the Python C API, so it's easy to get compatibility/interoperability. I have an old, abandoned project that translates Python to C++ "from scratch", wit
44.
▲
by
zwegner
6y ago
That would indeed be a pretty good topic to hear about. An interesting story related to rep movsb was how the original Pentium-based Larrabee supported gather/scatter, as described in this slide deck from Tom Forsyth: http://
45.
▲
by
zwegner
6y ago
I recently discovered a neat trick for fixing the duck problem, that is, adding swear words to the iOS dictionary: add a contact with the chosen words in the name fields. E.g. I have a contact named "shit shitty fuck fuckin fucking oh
46.
▲
by
zwegner
6y ago
Thanks for pointing out that link (I didn't click on it when I originally read the article). Deep in the comments, there's a hint of the reason for this port 7 AGU weakness: not because of the extra gates for another adder, but du
47.
▲
by
zwegner
6y ago
You're right, but only for pre-Haswell chips, where al etc. are renamed separately. From Haswell onwards, they aren't, and depend on the old value. So movzx eax, al gets you mathematical independence, but not out-of-order independ
48.
▲
by
zwegner
6y ago
No, setcc actually does depend on the previous value of the register, because it only comes in the low-byte variants (i.e. al, bl, cl, dl etc)--the top 7 bytes of the destination are left unmodified. A one-instruction variant I've seen
49.
▲
by
zwegner
6y ago
In case anybody sees this comment before the video: I'd highly recommend trying to solve the puzzle yourself. After you see the rules stated in the video, click the link in the info. It took me a bit longer than this guy, but it was a
50.
▲
by
zwegner
6y ago
Right, or there's always git stash. Either way, it's a pretty expensive and cumbersome operation.
51.
▲
by
zwegner
6y ago
As the article notes, this is hard to do cleanly, depending on the exact semantics of what you want. And even with a full spec in hand, I don't think git's data model makes it particularly easy to compute this information. One met
52.
▲
by
zwegner
7y ago
Quick note: > the now-defunct "chessprogramming.wikispaces.com" It's not defunct, it moved to https://www.chessprogramming.org
53.
▲
by
zwegner
7y ago
I mostly agree, but you're forgetting an important part of the tech presence: a lot of those companies hold public parties with free beer and food. I've had plenty of VC-subsidized consumables through the years (though I don'
54.
▲
by
zwegner
7y ago
Great post! Thanks for all the details. Do you have any plans to release this? I could understand if you don't want to, since it might violate fb's ToS or get blocked in some way. But certainly many others would find it useful.
55.
▲
by
zwegner
7y ago
I'd highly recommend the TV series Connections[0], which explores the history of science and technology through the lens of this sort of butterfly effect. There were a couple later reboots of the series that are not as good IMO, but st
56.
▲
by
zwegner
7y ago
This is a great series of posts, highly recommended. From my perspective, as someone who was once on one of the Larrabee graphics teams (but not the same one as Matt), I'd agree that the programming model was a big issue. For us, even
57.
▲
by
zwegner
7y ago
Note that the 512-bit Larrabee instructions (on Knight's Ferry/Corner) had different encodings (and IIRC different encodings between KNF and KNC), but it was essentially the same instruction set. The few differences there were bet
58.
▲
by
zwegner
7y ago
But what about instructions like vpermi2b, which does 64 parallel 128 byte table lookups? The AVX shuffle instructions were hamstrung by the split into two 16-byte halves...
59.
▲
by
zwegner
7y ago
Ah yes, this would be kind of confusing in that case :) Simply put, it's to move the blue-greenish block off the right side of the grid. You clear the path by moving all the other pieces around as necessary. Each piece can only slide h
60.
▲
by
zwegner
7y ago
Cool list! I'll throw in one I made for myself and never really showed to anyone. It's a clone of Unblock Me/Rush Hour, but with no ads and undo+redo support. It's only a website since I don't want to bother with ap
More ›