Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
exDM69
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
391.
▲
by
exDM69
6y ago
Yes, linked lists have terrible cache behavior and usually the performance of any packed structure with less pointer chasing should beat it. ArrayList, Vector, whatever you call it usually is faster. But computers aren't fast in alloca
392.
▲
by
exDM69
6y ago
Having a background in Haskell (and C) made me able to jump in and be productive in Rust within hours. And that's a language that is considered to have a steep learning curve. Never used it in production either but I did use Haskell to
393.
▲
by
exDM69
6y ago
Well it seems that the developer wanted to support embedded platforms too. printf isn't a part of the freestanding C standard, and neither is snprintf. That said, there are portable freestanding snprintf implementations out there with
394.
▲
by
exDM69
6y ago
I have used Nuklear in a medium sized hobby project, and it's kinda cool but I will be migrating away from it. I am not aware of it being used in shipped products, unlike Dear Imgui which is a more popular alternative. The first reason
395.
▲
by
exDM69
6y ago
Graphics was somewhat more complicated back in the day. In the days before we had enough memory to hold a full screen framebuffer, there was a lot of magic going on with cathode ray tubes, video signals, dedicated hardware sprite engines, m
396.
▲
by
exDM69
6y ago
The model used in Finland is anything but "just giving the homeless a shelter". It's accompanied by a lot of social work, together with medical, mental and substance abuse care. The reason for providing housing (not just a sh
397.
▲
by
exDM69
6y ago
The lunar orbit is inclined so that the moon moves between about +/- 28 degrees north/south latitude with reference to the Earth equatorial plane. That's Earth's axial tilt of ~23 deg + the inclination of the lunar orbit
398.
▲
by
exDM69
6y ago
The moon moves slowly but the Earth rotates quickly. Most of the earth surface can be seen during one day. The earth is not illuminated by sunlight all the time, about half of the lunar month would be completely dark. Moon is in an inclined
399.
▲
by
exDM69
6y ago
> Doesn’t the LLVM API go through breaking changes fairly often? How do you track all that and keep your sanity? No, not very big ones. But they give no stability promises. If you're using a language other than C++ via API bindings,
400.
▲
by
exDM69
6y ago
> Are the bindings for other languages usable? Yes, I've done several compiler projects using Haskell and LLVM. That said, not all the bindings were always maintained and up to date and together with LLVM's lack of API stabilit
401.
▲
by
exDM69
6y ago
No, sorry, I don't know anything about the M1. If you want to achieve something similar to _mm_stream_xxx, ie. bypassing the caches and causing bursts of DRAM traffic, try making some uncached/write combined memory mappings and wr
402.
▲
by
exDM69
6y ago
If you compile it to x86_64, that _mm intrinsic will turn into a single instruction. No need to show the disassembly. Thanks for the info.
403.
▲
by
exDM69
6y ago
Your result is hardly surprising as Apple M1 is a different CPU architecture using the ARM instruction set. It is unlikely that the CPU circuitry related to this particular function would be similar to Intel x86. This might not even work wi
404.
▲
by
exDM69
6y ago
> Do you know if the physics in Dirt Rally have improved on this? Yes, the physics in Dirt Rally is not at all the same as with other Dirt series. It has got a pretty decent simulation of rally cars on gravel and other surfaces. It'
405.
▲
by
exDM69
6y ago
iRacing doesn't have rallying, only rally cross, which despite the similar name is not the same category of motorsport. RX is multi-car circuit racing, no pace notes, etc. That said, how is the dirt racing in iRacing? I haven't ha
406.
▲
by
exDM69
6y ago
> Richard Burns Rally is still played today. Yes, thanks to a small community of volunteers (to whom I am very grateful) maintaining it with patches you need to download from a forum website. If you install it from original install media
407.
▲
by
exDM69
6y ago
> DiRT is more niche than for example Madden, Dirt Rally, the rally sim, definitely is a smaller niche and the only one of its genre still under active development. The rest of the Dirt series, which don't AFAIK share the physics en
408.
▲
by
exDM69
6y ago
Yes, well, sort-of. Colin McRae was a pretty cool game in its day but didn't really have the great physics that RBR did. But it was an earlier game so it was the best that there was available.
409.
▲
by
exDM69
6y ago
I don't think that's going to happen, they will just quietly kill Dirt Rally. That game is just way too difficult for a mainstream audience so it makes a poor platform to milk microtransactions. The rest of the Dirt series (same n
410.
▲
by
exDM69
6y ago
> I loved the Dirt series, I think I might have to go buy a recent version. Do note that Dirt Rally isn't really related to the rest of the Dirt series. The former is a pretty decent simulation of rally driving, while most of the Di
411.
▲
by
exDM69
6y ago
Oof. I was just getting used to the idea that we have a decent rally sim/game (Dirt Rally) again. It's a niche genre that requires a specialized physics engine, and there hasn't been decent entrant after Richard Burns Rally (
412.
▲
by
exDM69
6y ago
Note that this legislation has been in preparation before the pandemic. It is not a response to working from home increasing in 2020.
413.
▲
by
exDM69
6y ago
It means that if your contract is for 37.5 hours per week, you don't need to do email and be available on im outside of your daily 7.5 work hours. Being on call needs to be negotiated separately.
414.
▲
by
exDM69
6y ago
Yes. This seems to be a very divisive issue, others prefer working from home, others prefer the office. Some are downright miserable in their home offices. I'm guessing some were also miserable at their work offices but didn't hav
415.
▲
by
exDM69
6y ago
I wouldn't call it difficulty, or even complexity. Verbose is more apt. It's daunting for a beginner but for a seasoned graphics programmer it is fairly straightforward. But still really verbose.
416.
▲
by
exDM69
6y ago
Best explanation of the two APIs I've ever heard. OpenGL "hello triangle" is short only if you cut corners. If you do it the way you'd do in a production app, you're not that far off from the lines of code it takes
417.
▲
by
exDM69
6y ago
> Coming from a family of carpenters, I can assure you none of them really know that much at all about the internals of the table saw. Maybe a little bit. Every carpenter I know knows how to change the blade, tighten the arbor, check the
418.
▲
by
exDM69
6y ago
Exactly. I like to say that git is a "white box". You need to understand the internals to be able to use it. Contrast this with "black boxes" where you don't have to or even can't understand what's going o
419.
▲
by
exDM69
6y ago
Sure, but then you can't use your existing ssh credentials. And need to have a custom server and protocol. And being able to use pijul (or git) over plain old ssh is a pretty nice feature.
420.
▲
by
exDM69
6y ago
Authentication. Ssh deals with keys and accounts and all that which SSL/TLS don't do.
More ›