Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Jasper_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
271.
▲
by
Jasper_
4y ago
Isn't a semaphore usually a better choice than a condition variable / event, because you can still race if you try and wake the condition variable multiple times? e.g. https://devblogs.microsoft.com/oldnewthing
272.
▲
by
Jasper_
4y ago
There are two competing GPU drivers. One of them was winning a benchmark. Now the other one, which Mike works on, is winning a benchmark. Mostly through not doing work you don't need to do, and ALWAYS_INLINE (inline heuristics in most
273.
▲
by
Jasper_
4y ago
Sure, but that also applies to "the more USD a bank has, the less incentive it has to want to crash the economy", with all the same flaws of logic.
274.
▲
by
Jasper_
4y ago
The form is submitted to the server using `value`, not `valueAsNumber`. Or maybe you'd prefer all forms to be submitted using JavaScript instead of just using <form action>?
275.
▲
by
Jasper_
4y ago
My view is that crypto's goals (e.g. decentralized, deflationary, no transaction reversals) are non-goals, but even if those non-goals were goals, both PoW and PoS fail to effectively solve them, especially the decentralized part. PoS
276.
▲
by
Jasper_
4y ago
Many of us think the VC approach to business has perverse incentives and is fundamentally broken, with large exits basically demanding megacorp purchases, who then hand large dividends back to the investors behind the scheme. No matter who
277.
▲
by
Jasper_
4y ago
The true neglect really started showing after Adobe bought the product. And your last paragraph could also apply to a lot of HTML5 apps, especially during the "AJAX" era. People didn't care about those things (and a lot of th
278.
▲
by
Jasper_
4y ago
eh, as a former contributor to Dolphin, and a current game developer who has worked on the Switch, I'd say Dolphin has it quite a bit easier easier -- the GX API maps pretty well to modern GPUs, the lack of programmability means shader
279.
▲
by
Jasper_
4y ago
Brands like to promote products or events in their Twitter bios/titles/avatars, and adding a forced reverify step would add enough friction for them to use Twitter less.
280.
▲
by
Jasper_
4y ago
It was, though? And continues to be. In the mid-90s, you could pretty easily find illegal material without looking too hard. It was already illegal by the Child Protection and Obscenity Enforcement Act, an early Internet bill which mostly s
281.
▲
by
Jasper_
4y ago
Here's a thing: when technology is designed in a way that makes it hard to work within the bounds of the legal system, it's usually the case that the legal system wins, not the technology. The view of the legal system is focused a
282.
▲
by
Jasper_
4y ago
What you're describing is an Entity-Component (EC) architecture. ECS specifically requires that third noun, Systems. But yes, everyone admits the names are confusing. But at no point does Unity or Unreal say their architecture is an EC
283.
▲
by
Jasper_
4y ago
Riot Games also has an automated testing framework: https://technology.riotgames.com/news/automated-testing-leag... I still think the best combo is a mix of automated and QA. Software in general went through a large de
284.
▲
by
Jasper_
4y ago
This is where the unfortunately-chosen name "Entity-Component-Systems" (ECS) comes back to bite us. Unity's GameObjects are Entity-Component (EC): you have an Entity (GameObject), onto which you attach Components (MonoBehavio
285.
▲
by
Jasper_
4y ago
The thing that got me, in a classic Phong, you have to test whether dot > 0.0, it really won't work outside of the front hemiphere. The clamp isn't enough.
286.
▲
by
Jasper_
4y ago
Think of it similar to an impostor: in world space, a sphere is always a sphere, and you should do all your lighting in world-space, so you don't need to account for the distortion. You do need to project into the camera's viewing
287.
▲
by
Jasper_
4y ago
Nice work! My only recommendation is to add a pow(color, 1.0/2.2) or similar at the end, and then turn down your light brightness. Your light falloff has the distinctive look of gamma-space lighting makes it look dated and less realist
288.
▲
by
Jasper_
4y ago
A simple counterexample to imagine is a curve that represents a circle (or a circular arc). The parallel curve to this is a scaling of the circle, with a bigger/smaller radii, not a translation.
289.
▲
by
Jasper_
4y ago
Conversions like this are basically as fast as a memcpy, which will always be required in this system. Did either you or dcode try actually profiling the extra time spent?
290.
▲
by
Jasper_
4y ago
Sure, there are technical arguments for this approach, but there are also technical arguments for "the strings in our strings API should really be valid Unicode strings". I have no horse in this race and I have no preference, but
291.
▲
by
Jasper_
4y ago
It is possible to specify new APIs that say "UTF-8 only, if you pass an unpaired surrogate, you will get an error", and many such APIs already behave that way. They are, on the whole, not a major problem in practice. They are not
292.
▲
by
Jasper_
4y ago
There are valid concerns to be had about string encodings, but I do not think a suggestion to "encourage UTF-8 for new formats and APIs" can be said to "literally breaking the Web Platform", nor does it require tagging 1
293.
▲
by
Jasper_
4y ago
I am skeptical of WebAssembly and component-model myself, but that AssemblyScript page seems alarmist and as can be seen in several issues linked from that page, dcodeIO (from the AssemblyScript community) was definitely not behaving in goo
294.
▲
by
Jasper_
4y ago
Wyre got acquired for 1.5B by Bolt? Wasn't Bolt doing heavy layoffs and downsizing after it was revealed literally nobody used their payments system, and they locked their employees in predatory loans? How much of that 1.5B was real mo
295.
▲
by
Jasper_
4y ago
hi Vito! how've you been?
296.
▲
by
Jasper_
4y ago
The posts like this are all fantastic, because they're all "we built a dumb product in two weeks that nobody wanted, and then when that didn't work, we built a data harvesting rig and everybody threw money at us". It
297.
▲
by
Jasper_
4y ago
It's still the recommended way to use DOM objects from C/C++, right? interface-types/host-bindings was stopped so I don't see any other solution than anyref-ing your way to hell (or JS wrappers). Are we going to bring ha
298.
▲
by
Jasper_
4y ago
Technically if you want to get in there without Mac hardware, you can just spam create valid serial identifiers for your hardware until you find one without a registration date, which you can claim and will let you on the iMessage network [
299.
▲
by
Jasper_
4y ago
This is the weird thing about the GC proposal: it's not really adding a GC to WASM, as it is more adding an opaque object reference system similar to Java or similar, independent from linear memory (the goal of Mark Miller was to run w
300.
▲
by
Jasper_
4y ago
This is effectively what the vertex shader modification would do -- the same trick that ANGLE does: gl_Position.z = (gl_Position.z + gl_Position.w) * 0.5; This is the same as modifying a projection matrix -- you're doing the same post-
More ›