Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
berkut
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
211.
▲
by
berkut
5y ago
Not when stepping through code in gdb/lldb in my experience in debug builds: they very often end up stepping in to the -> operator implementation for functions, which then requires me to step in again to get to the actual function
212.
▲
by
berkut
5y ago
I've had this (very agressive de-noising I think it is - it's at least almost identical) since I got my iPhone 6S in 2015: basically if you look at 1:1 (i.e. on a computer, as opposed to the small screen of the phone), it almost l
213.
▲
by
berkut
5y ago
It's do-able , but you seem to have to go out of your way organise code or modules in sub-optimal ways to compensate in many cases. Most of the crates which I've seen which do that kind of thing in my experience seem to use featu
214.
▲
by
berkut
5y ago
Yes, but now try nesting or chaining them... It's do-able with cfg_if crate macro, but I really don't think much of the result in many complex situations, compared to what can be done in C/C++. Also, using the cfg! macro (whi
215.
▲
by
berkut
5y ago
One of the things I really find limiting in Rust compared to C/C++ is conditional compilation, i.e. for different architectures: yes, the C/C++ pre-processor does suck in many ways and is masochistic if you're not careful, bu
216.
▲
by
berkut
5y ago
Good call: that's (effectively) last year's though, so it's possible things were better this year (although doesn't look good - and doesn't seem to match numbers OP was stating). Edit: actually, maybe not: the doc m
217.
▲
by
berkut
5y ago
Company status in the UK seems to be 'dissolved': https://find-and-update.company-information.service.gov.uk/c... Seems to be active in Singapore though?
218.
▲
by
berkut
5y ago
If you are going to use the HN 'catnip' of 'Rust', surely the title should be: "Kajiya: Experimental real-time global illumination renderer made with Vulcan and Rust"? 'Rust' is not the name of the pr
219.
▲
by
berkut
5y ago
TCL's good for string stuff, but gets very messy if you want to do stuff outside of that. It wasn't really designed originally as a general language: it works and does have some (IMO 'too') clever features, but it has a
220.
▲
by
berkut
5y ago
Using Differentiable Rendering (reconstructing scene setup parameter(s) from an image), possibly, although it would depend on the number of unknown params. Mitsuba2 had an example of matching caustic patterns by modifying geometry I think..
221.
▲
by
berkut
5y ago
Likewise, I'd pay that as well (I'd like no ads as well, but tracking is the main issue for me). Similarly, I do have DDG as my main search on all machines and devices just out of principle, but its region-aware searching (I'
222.
▲
by
berkut
5y ago
> Does ray tracing simplify game rendering even though it would require more FLOPS? In theory it will, the VFX/CG industry went through the rasterisation -> raytracing change ~10 years ago, as it simplified things (at least in th
223.
▲
by
berkut
5y ago
There's a lack of shadows at the very base of the white columns, which looks very much like the occlusion rays (used when doing NEE to determine whether the surface point is occluded or not for the light being sampled) have too large a
224.
▲
by
berkut
5y ago
I guess so, I didn't think of it that way...
225.
▲
by
berkut
5y ago
Is Percocet illegal in the US? Doesn't seem to be from other comments here?
226.
▲
by
berkut
5y ago
That's not what I meant by inline. In C++, you can set the default at the same time as you declare the member variable, meaning the three things (variable type, variable name and variable default) are in exactly the same place in the c
227.
▲
by
berkut
5y ago
Yeah, I really don't understand why security properties are that important for a non-cryptographic PRNG anyway either... Also, I'd personally argue that 'k-Dimensional Equidistribution' *is* actually fairly useful for a
228.
▲
by
berkut
5y ago
I don't agree it is at the prototyping level ... I think C++ is quite far ahead there than Rust IMO... For a 'stable' production implementation after prototyping, I agree that the benefits Rust provides (if it compiles, it
229.
▲
by
berkut
5y ago
It is a question though, the link isn't their site...
230.
▲
by
berkut
5y ago
I guess "relevant" depends on where you are in the world (and/or where you're from which might be different to where you are currently) :) It's also a tricky thing due to interconnectedness: I generally don't c
231.
▲
by
berkut
5y ago
Obviously not OP, but I don't think so: they give examples where they'd like improvements. Seems to have just been an example of the best thing they've found so far...
232.
▲
by
berkut
5y ago
Yeah, as someone (re)learning modern CSS/HTML, I really don't understand the hate they get. For a beginner (at CSS/HTML anyway, I'm an HPC engineer otherwise with lots of low-level experience), I think it's a great
233.
▲
by
berkut
5y ago
You can argue that (and I'd generally agree in most cases above a certain complexity size) about dynamic vs any static language though?
234.
▲
by
berkut
5y ago
https://semver.org/#how-do-i-know-when-to-release-100 Pretty much everyone's using chrono and rand, as there's not really anything else...
235.
▲
by
berkut
5y ago
Definitely for prototyping, as someone with years of 'advanced' C/C++/Python experience, and someone trying to learn Rust, I'm finding Rust's 'opinionated' ways of doing things very painful for things
236.
▲
by
berkut
5y ago
Well, I'm assuming it would break a lot of code...
237.
▲
by
berkut
5y ago
Likewise... I'm more and more finding myself either either looking for less-popular and more minimal crates (that don't need Async, or tens of other further deps), and even writing my own things for certain simple stuff (the latte
238.
▲
by
berkut
5y ago
On a semi-related note: Is there any chance in the future that browsers are going to support / implement lazy-loading of images themselves (i.e. based off what's visible in the viewport). Currently you have to (as far as I'm
239.
▲
by
berkut
5y ago
It's still better, but the gap's closed quite a bit in my experience. It also still seems better than clang/gcc at working out whether inlining is worth it or not. But it's also still quite buggy (it used to be as well,
240.
▲
by
berkut
5y ago
True, although TIFF (often used with GeoTiff) can also store 64-bit float (double), which OpenEXR doesn't support.
More ›