Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aylmao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
271.
▲
by
aylmao
3y ago
This and browser support info. Currently WebGPU is WIP in Safari and FF. https://caniuse.com/webgpu If you're using Chrome and getting this error, do share more info. As for justification, it was justified. Rendering w
272.
▲
by
aylmao
3y ago
On my M1 MBP, Safari 17.4.1, it straight up doesn't work. Can I Use does say Safari only support WebGPU on TP and behind a flag: https://caniuse.com/?search=webgpu Perhaps a Safari TP bug? I'd appreciate some brow
273.
▲
by
aylmao
3y ago
I prefer it! It's definitely more verbose, but as someone who doesn't do graphics usually, I find it fits my mental model a little better. I tried to build this using WebGL before WebGPU was publicly available, but WebGL is very t
274.
▲
by
aylmao
3y ago
I think you're right. That's the way I use it in the app I built this for: https://twitter.com/aykev/status/1780000204122460484 It's more code, so I said "later". I also wanted the first e
275.
▲
by
aylmao
3y ago
The resulting style looks really cool. This would definitely be doable with the GPU. A halfway-step could be to draw rects on canvas too— it should be faster than the DOM approach, but less complicated than writing a GPU shader.
276.
▲
by
aylmao
3y ago
ah, I made the dependency optional, since it all goes through an index.ts it still attemps to load React, true. I'll find a way around this, or maybe split the package into a react version and a vanilla version. Thanks for the feedback
277.
▲
Show HN: Render audio waveforms to HTML canvas using WebGPU
160 points
by
aylmao
3y ago
|
70 comments
278.
▲
by
aylmao
3y ago
The big difference here is that most dangerous sports involve your own training, your own due-diligence and your own ability. People go on the most dangerous motorbike trials after gaining a lot of experience, and training a lot. Moreover,
279.
▲
by
aylmao
3y ago
As much as I agree, and I really do, this is also a company that mentions they have $7.24 billion available for sock buybacks [1]. Sure, maybe they don't actually make any buybacks. This is what's left from $110.0 billion they app
280.
▲
by
aylmao
3y ago
An expropriation of this kind and magnitude by the US government would be historic. Has it happened before? I'm curious. I know there's talk about TikTok either selling to a USA owner or leaving, which seems pretty monumental too.
281.
▲
by
aylmao
3y ago
> Intel needs a reason to build in the U.S. I mean, if Intel is only motivated to build in the USA when it gets a fat check rather than out of conviction, I think that's a problem too, no? Does this mean that whenever maximizing (sh
282.
▲
by
aylmao
3y ago
I think the general perception is that they're playing catch-up rather than meaningfully pushing the limits themselves. Yeah, they moved into the GPU market, but the cutting-edge in GPUs is by NVIDIA. As is the cutting-edge in AI chips
283.
▲
by
aylmao
3y ago
I'm a foreigner native to one of the many nations where American influence led to the sale of sate enterprises, free trade, market liberalization, and overall loss of local companies to the hands of USA firms It's wild to see the
284.
▲
by
aylmao
3y ago
> pray that China never does what every other emerging power in the history of geopolitics has done. I am curious what you mean by this precisely. What other emerging powers have done what?
285.
▲
by
aylmao
3y ago
There's three systems an org can (and should) have in place to prevent this: - Dev-time analysis. This is, types, linters and tests that will throw errors and block merges before they happen. - A good code-review environment. Not one t
286.
▲
by
aylmao
3y ago
1. Types, tests, all the build-time analysis you can rely on 2. Gradual migrations. You run two versions for a while and make it easy for certain codebases and/or users to be switched between the new and the old as necessary. 3. Someti
287.
▲
by
aylmao
3y ago
I mean, with the correct amount of investment, research and work, one can build a livable house out of Lego. I'm sure that gets you some nice things too. It doesn't change the fact other people will think: "why didn't yo
288.
▲
by
aylmao
3y ago
Adding two notes onto this hypothesis: - I can only assume that if a kid doesn't have an older sibling "to keep an eye on them" the parents take this role, and parents tend to be more risk-adverse and responsible caretakers t
289.
▲
by
aylmao
3y ago
I wonder how temperature is measured for an object this far away. If it's calculated based on the expected energy absorption of a planet with this level of reflectivity, the measurement would be wrong anyway, assuming alien tech. Inste
290.
▲
by
aylmao
3y ago
I think you're right and it's not just an American thing, but this also is a connotation (vs definition) after all.
291.
▲
by
aylmao
3y ago
I think this is worrying too, but if I wouldn't say it's something that's happening "these days", I would've say it's something that is happening "still". These ideas have always been present in
292.
▲
by
aylmao
3y ago
As someone who is not from the USA, I think I missed the prerogative tone here, using the book definition of "populism" which is rather neutral: > a political approach that strives to appeal to ordinary people who feel that the
293.
▲
by
aylmao
3y ago
Populism doesn't call for the abolition of elites. Populism calls for elites to not disregard the concerns of ordinary people. Perhaps you're thinking about anarchism or communism.
294.
▲
by
aylmao
3y ago
+1. I'd be curious how it stacks up against an MBP
295.
▲
by
aylmao
3y ago
I'm sure if it was actually meaningfully bad for the company it wouldn't be so common. The company could just make the employee to leave immediately.
296.
▲
by
aylmao
3y ago
I guess it depends. Personally, if it's a job I really dislike, I don't mind losing the extra $X,000. I've discovered through the years my mental health is worth a lot more. Once you leave a high-paying job for one that pays
297.
▲
by
aylmao
3y ago
> Software "engineering" is the new factory work. I always found interesting how this has always been true, but a lot of people seemed to not notice, behind the high-pay and benefits of past. Software engineering has always bee
298.
▲
by
aylmao
3y ago
Even from this perspective I don't think the employee is in the wrong. If a job gives you mental strain, especially if it is affecting your performance, IMO the right thing to do is to quit. I'm not surprised the boss was disappoi
299.
▲
by
aylmao
3y ago
I had never thought of it that way, but you're right— firing is immediate but employees always feel the obligation to stick around for two weeks. It tends to be a weird two weeks too. If you know you're quitting you're usuall
300.
▲
by
aylmao
3y ago
> I still wonder about what happened to all the people that went through that process. How did it impact their life? I think it leads to a lot of mental-health issues. IMO this is a key issue with this system. The company evidently only
More ›