Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
maggit
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
maggit
2mo ago
It's worth noting that Swiftfin finally had a new release for tvOS this summer which is worth checking out if you're interested in Jellyfin on Apple TV
2.
▲
by
maggit
9mo ago
It is indeed badly aliased. The technique demonstrated does not take into account antialiasing in the initial render, which causes this issue. There are ways to improve it, but I would advise against this approach in general since it doesn&
3.
▲
by
maggit
11mo ago
x86-64 introduced a `syscall` instruction to allow syscalls with a lower overhead than going through interrupts. I don't know any reason to prefer `int 80h` over `syscall` when the latter is available. For documentation, see for exampl
4.
▲
by
maggit
1y ago
There was a Minesweeper on here that used a SAT solver, but I cannot find it at the moment. As I recall, it never had any issue with resolving the board quickly. I think it dynamically resolved where the mines would be as you played the gam
5.
▲
by
maggit
1y ago
It's more a matter of your personal preference and previous exposure to different languages. The way Rust reads is one of its super strengths in my book. I also really enjoyed Standard ML in university, and Rust picks up some of that (
6.
▲
by
maggit
1y ago
Adding some detail to this: With three buffers, you have one front-buffer (what's currently visible on screen) and two back-buffers. Let's call them A, B and C, respectively. This lets you work on the next frame in, say, B, and wh
7.
▲
by
maggit
2y ago
Exact integers doesn't seem to be its strong suite. Can it even represent 3 exactly? Running code from the linked notebook ( https://github.com/AdamScherlis/notebooks-python/blob/main/m... ), I can se
8.
▲
by
maggit
2y ago
That's true for normal binary encoding of integers, but I think we should understand the question in context of the post: What's the number of bits required in iterated log coding?
9.
▲
by
maggit
2y ago
Cute! I wonder if it would be amenable for use as a variable-width encoding for, say, DCT coefficients in a JPEG-like codec..?
10.
▲
by
maggit
2y ago
I have realized that there is a big design space here, as I recently did a write-up of my take, Id30. 30 bits of information encoded base 32 into six chars, eg bpv3uq, zvaec2 or rfmbyz, with some handling of ambiguous chars on decoding. ht
11.
▲
Id30: Humanized IDs for URLs and More
(magnushoff.com)
1 points
by
maggit
2y ago
|
0 comments
12.
▲
Id30: An Identifier Scheme for URLs
(magnushoff.com)
6 points
by
maggit
2y ago
|
1 comments
13.
▲
by
maggit
3y ago
There's 12 parts to this in total: 1. https://pharr.org/matt/blog/2018/04/18/ispc-origins 2. https://pharr.org/matt/blog/2018/04/19/ispc-volta-is-born
14.
▲
by
maggit
3y ago
"System Integrity Protection (SIP)" seems to be the correct name here, for anyone as confused as me :) (More details here: https://support.apple.com/en-us/102149 )
15.
▲
by
maggit
3y ago
Ah! That's what got me. Private mode is my default. I can confirm that I get it working in Firefox outside of private mode. Thanks :)
16.
▲
by
maggit
3y ago
Same experience with Firefox, seems to require Chrome. There is a security-related error in the console.
17.
▲
by
maggit
5y ago
It looks like it implements hardware acceleration of the VP9 codec for some specific hardware (Rockchip VDEC and Hantro G2). This opens up playing, for example, lots of YouTube videos with less CPU usage on devices with that hardware. I can
18.
▲
by
maggit
6y ago
I, too, would have appreciated slightly more documentation. Here are two questions I had, and what I figured out. Many RSS readers are stand-alone GUI applications. I would have appreciated an up-front notice that this is a hosted solution.
19.
▲
by
maggit
6y ago
I haven't had a look at the source code for this, but I expect that it syncs with the screen refresh rate.
20.
▲
by
maggit
6y ago
I recently did a write-up of my experience with writing maintainable code with vanilla JS: https://magnushoff.com/blog/dependency-free-javascript/ I am a huge fan of React for the maintainability of the resulting
21.
▲
by
maggit
7y ago
>Also encoding ampersands into a URI (URL) using HTML encoding schemes is also common, but that is incorrect. To encode any string (for example a URL) containing & in HTML, you must HTML-encode that &. Using & in the valu
22.
▲
by
maggit
7y ago
I have recently experimented with writing dependency-free JS. I ended up using Webpack and Babel, but no frameworks or libraries, and I find it quite nice to work with. These are my tips for making the best of it: https://magnush
23.
▲
by
maggit
7y ago
Right, so, in my book, reasoning based on facts such as "these squares are clear" are _considering_ those squares. This is in contrast to the local rules I first describe that consider only a very limited part of the board, and th
24.
▲
by
maggit
7y ago
It's been some years, but I think it boils down to the definition of when you are _considering_ some part of the game state. Right off the bat, I cannot agree that abc must contain exactly 2 mines. From what we can see, abc contains _a
25.
▲
by
maggit
7y ago
In complex situations it is easy to come to the conclusion that you have to guess, but sometimes there is an elaborate connection you might have missed. This game is sure to call you out on any mistakes you make of this kind. That would at
26.
▲
by
maggit
7y ago
Great read! It's in a similar vein as the variant I developed, which makes you declare that you are in a situation that requires a guess. I don't use an SAT solver, and I prepopulate the board. https://magnushoff.com&#x
27.
▲
by
maggit
7y ago
Similarly, only Rust has "non-standardized, only one meaningful implementation" listed as a con, even if this is true for several of the others as well.
28.
▲
by
maggit
7y ago
(2016)
29.
▲
by
maggit
7y ago
No, only tried on stable. Looking forward to testing 67 when I get the update. I should clarify that I am talking about the situation when running Firefox with GDK_BACKEND=wayland. UPDATE: Ooh! Firefox 67 in my package manager! I am happy t
30.
▲
by
maggit
7y ago
As a desktop Linux user, I'd guess it's harder to make it work right (because of, among other things, driver issues) and it affects a smaller portion of the user base of Firefox. Oh well. Fortunately it's easy to opt in to, a
More ›