Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pixel_fcker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
61.
▲
by
pixel_fcker
6y ago
const generics are very close to being done, which will fix the array issue you mention by allowing code to be generic over integers as well as types. This is already in for built-in arrays and traits but user traits currently require night
62.
▲
by
pixel_fcker
6y ago
Because the games comes out in a couple of days.
63.
▲
by
pixel_fcker
6y ago
And all of them are universally loathed.
64.
▲
by
pixel_fcker
6y ago
You should try setting up a market stall inside your local Walmart and see how well that works out for you
65.
▲
by
pixel_fcker
6y ago
People that buy MacBooks don’t care, or at least they don’t care enough to buy something else. As to your second point, MacBooks have been available for how long now? And yet thinkpads still exist.
66.
▲
by
pixel_fcker
6y ago
I hate Teams with a burning passion. It’s 2020, there’s no excuse for a 2-second lag when I click a button.
67.
▲
Apple's M1 Chip Cinebench Results: Lots of Room for Improvement
(tomshardware.com)
6 points
by
pixel_fcker
6y ago
|
3 comments
68.
▲
by
pixel_fcker
6y ago
I honestly can’t remember ever seeing any zealotry (apart from obvious trolls on reddit) but any thread on rust will have at least one person complain about rust zealots. It’s just a meme at this point.
69.
▲
by
pixel_fcker
6y ago
This is AFAICT essentially what wg-allocators is working on where you can directly specify an allocator in collections (and alloc() returns a Result): https://github.com/TimDiekmann/alloc-wg From the readme it sounds l
70.
▲
by
pixel_fcker
6y ago
And a simple ‘cargo tree‘ will show you the tree of dependencies for a crate, nicely formatted.
71.
▲
by
pixel_fcker
6y ago
Hopefully they make it a breaking change in a new edition. A little pain when updating will be much better than carrying two slightly different implementations in the long run
72.
▲
by
pixel_fcker
6y ago
Cmd-~
73.
▲
by
pixel_fcker
6y ago
I doubt many of Trump’s supporters subscribe to Scientific American but it’s good that more publications speak out against the rampant anti-intellectualism he pushes. It will literally be the death of us all.
74.
▲
by
pixel_fcker
6y ago
That’s worth thinking about, thank you.
75.
▲
by
pixel_fcker
6y ago
You’re right and that’s the crux of it really: intent. That’s why framing someone as being in the wrong regardless of intent is dangerous.
76.
▲
by
pixel_fcker
6y ago
From Wikipedia: > Microaggression is a term used for brief and commonplace daily verbal or behavioural indignities, whether intentional or unintentional It’s the unintentional part that I take issue with, which means that it’s not on y
77.
▲
by
pixel_fcker
6y ago
This seems like a perfect example of why micro-aggressions are bullshit. Any right-thinking person can see that those taking offence to this are wrong, while the theory of micro-aggressions posits that because they are offended their feelin
78.
▲
by
pixel_fcker
6y ago
Doesn’t the US government already spend more per capita on healthcare than any other developed nation? Surely it would just be cheaper by cutting out the parasites.
79.
▲
by
pixel_fcker
6y ago
All raytracing algorithms are based on some spatial subdivision structure (usually BVH based) which gets you O(logN) instead of O(N). Increasing poly count only gets interesting when you figure out how to compress truly huge scenes into a l
80.
▲
by
pixel_fcker
6y ago
It’s all path traced (with denoising and DLSS upsampling I think). The poly count is much less impressive than the number of different materials and number of light sources.
81.
▲
by
pixel_fcker
6y ago
Even better: map held Caps to Ctrl and a tap of Caps to Esc
82.
▲
by
pixel_fcker
6y ago
I think it depends a lot on what part of the language you’re focused on. I’ve been using rust heavily for 3 years and have never felt like things were changing quickly. But I have no interest in the whole futures/async side of things w
83.
▲
by
pixel_fcker
6y ago
> Also consider how much faster / cheaper it would be for a studio to create new graphics engines when you only have to write 1000 lines of ray tracing code instead of 100'000 lines of rasterization hacks (for a worse-looking r
84.
▲
by
pixel_fcker
6y ago
Hate to tell you this but ray tracing gets just as complicated. You’re just shifting the realism bar much higher, but certain effects are always just out of reach in a given time budget and require specialised solutions and hacks to achieve
85.
▲
by
pixel_fcker
6y ago
I looked into D once or twice. Found learning materials severely lacking. Having to read up on the differences between 2 (3?) compilers and choose between them wasn’t a great intro. For the work I do GC is also a non-starter. I know it’s go
86.
▲
by
pixel_fcker
6y ago
I think it will take years of working in c++ to fully appreciate the nightmarish many-tentacled footgun monster it can be. At the end of it you might even develop Stockholm syndrome and be one of those posting “if you just restrict yourself
87.
▲
by
pixel_fcker
7y ago
I would expect it to show me the readme rendered, same as visiting it in a browser does. There didn’t appear to be a way to show it rendered at all either. Which is a massive problem if it’s going to hijack my browser so I cannot see it ren
88.
▲
by
pixel_fcker
7y ago
Installed it on iOS to try it out. Soon after, browsing HN on Safari I click on a link to an interesting-looking repo, which switches me to the GitHub app and shows me the raw text of the readme.md. Uninstalled it straight away.
89.
▲
by
pixel_fcker
7y ago
Yeah the lack of self-referential structs can be very annoying at times and there’s no great solution to it at this point (disclaimer: haven’t tried rental properly yet as it looked complex at first glance). On the flip side I am very happy
90.
▲
by
pixel_fcker
7y ago
It’s more like delete in c++ because you can implement the Drop trait for a type in order to run code when it is dropped in order to clean up resources etc.
More ›