Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Lichtso
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
Lichtso
4y ago
Meet "Wavelet Rasterization" by J. Manson and S. Schaefer, from the paper: > Because we evaluate wavelet coefficients through line integrals in 2D, we are able to derive analytic solutions for polygons that have Bézier curve b
152.
▲
by
Lichtso
4y ago
Ah, polar stroking, a really clever tick to sample a curves vertices where it matters and guarantee a uniform tangent angle in between the samples. I actually implemented that (but using complex numbers instead of angles) in my renderer.
153.
▲
by
Lichtso
4y ago
There is a WASM based web demo on GitHub: https://lichtso.github.io/contrast_renderer/ You will need to try different nightly browsers (I think Chrome works ATM), because the WebGPU API changes and breaks all the time.
154.
▲
by
Lichtso
4y ago
> Though I've never actually seen anybody implement Loop-Blinn for cubics I implemented them (implicit formulation of rational cubic bezier curves) in my renderer (see one of my other replies in this thread). Here is an extract of t
155.
▲
by
Lichtso
4y ago
Ah yes, the https://en.wikipedia.org/wiki/Implicit_curve approach to filling curves. I have implemented a GPU vector renderer using that: https://github.com/Lichtso/contrast_renderer Here the impl
156.
▲
by
Lichtso
4y ago
What about SDFs of cubic bezier curves and rational bezier curves? Because these appear in vector graphics and I think there is no analytic solution for them (yet?).
157.
▲
by
Lichtso
4y ago
A post about vector graphics and the word "stroke" appears zero times ... > Much better approach for vector graphics is analytic anti-aliasing. And it turns out, it is not just almost as fast as a rasterizer with no anti-aliasi
158.
▲
by
Lichtso
4y ago
I really don't get hydrogen. Yes, it has the highest possible energy density (for chemicals) but that is about it. That is the only thing it has going for it. Everything else is either equal or worse than other options: - It is the sma
159.
▲
by
Lichtso
4y ago
Isn't that essentially a low-pass filter?
160.
▲
by
Lichtso
4y ago
About "Everything is a Graph", I tried to design programming languages for graph processing a few year back. The problem here is the "language" part as language always implies sequence (because that is what text is). Seq
161.
▲
by
Lichtso
4y ago
> GPUs are getting better at handling thread divergence in the microarch That is an interesting point, how does that work (especially with the dynamics of ray tracing)? Do they recombine under utilized wavefronts or something?
162.
▲
by
Lichtso
4y ago
If I understand correctly: CPUs do minimize latency by: - Register renaming - Out of order execution - Branch prediction - Speculative execution They should not be over subscribed as they have to context switch by storing / loading reg
163.
▲
by
Lichtso
4y ago
Very interesting approach, but I wonder why use geometry to get cones? Why not just fill quads and do distance (sqrt) to center in a fragment shader? That would not even need an approximation but be exact.
164.
▲
by
Lichtso
4y ago
Inspired by Erwin Schrödinger - "What Is Life? The Physical Aspect of the Living Cell" from 1944 ? > Schrödinger explains that living matter evades the decay to thermodynamical equilibrium by homeostatically maintaining negativ
165.
▲
by
Lichtso
4y ago
For purely sequential algorithms I agree, fewer work steps means less energy used and less time spent. But the picture is very different when it comes to parallel algorithms. There often is a tradeoff between doing more redundant work to re
166.
▲
by
Lichtso
5y ago
Assuming we define functional as referential transparent and imperative in turn as referential opaque. Then, I think there are two different aspects of the problem: - There is the identity of each object in your program (e.g. a key, referen
167.
▲
by
Lichtso
5y ago
You are right, let me rephrase it: You would loose half of the remaining potential to encode entropy. Of course, if you start with a real valued signal, then you already lost that before even getting to the transform part. Or in other words
168.
▲
by
Lichtso
5y ago
Two things which seem to be overlooked here: - When working with frequencies alone and ignoring the phases you kill half of the entropy of the signal. - Further more, when only the positive half of the frequencies is used and the negative h
169.
▲
by
Lichtso
5y ago
Efficiency and robustness usually do anticorrelate.
170.
▲
by
Lichtso
5y ago
That's great! While probably hard to watch anywhere outside of Germany, there is a mini TV series about what will happen when we all got our smart electric meters: https://www.imdb.com/title/tt11470588/ http
171.
▲
by
Lichtso
5y ago
Would this make sense in domains which are not about computing, but simply routing light (given it is miniaturized)? E.g. using this instead of mirror arrays in movie projectors?
172.
▲
by
Lichtso
5y ago
Some questions from someone who is simply interested in the topic and seeks to expand their understanding. 1. For electrical circuits we are interested in properties like resistance, capacity, inductance etc. for passive elements and in the
173.
▲
by
Lichtso
5y ago
> What is different about this compared to just grabbing frames in software and differencing these frames? Normal cameras lose information by accumulating the intensity of each pixel over time until the next frame "arrives". Yo
174.
▲
by
Lichtso
5y ago
You might be joking but it actually has a name: https://en.wikipedia.org/wiki/Goodhart%27s_law Well, your idea is probably closer to the Marilyn Strathern definition.
175.
▲
by
Lichtso
5y ago
What you do and also what you don't do (but could do) will always be good for some and bad for others (neutral for the rest). In that sense there is no "force for good", only a good for: Yourself, a specific group, the majori
176.
▲
by
Lichtso
5y ago
I have to disagree here. Yes, the Arduino is made for beginners and it is easy (to use). But it is not simple. Just a week ago I ordered a RPi Pico and made an also easy to use Rust toolchain for it: Compilation, upload and run in one comma
177.
▲
by
Lichtso
5y ago
That would make it a framing problem: A loss of complexity can also be seen as a gain in simplicity, freeing up time and resources to be spent elsewhere. And about laws: I totally agree that it is a huge problem, maybe even a bigger one. Be
178.
▲
by
Lichtso
5y ago
This is great, I can already see reverse ransomware. It does not remove desired data from your device, it adds undesired data and then deletes itself including any evidence that you are a victim instead of a criminal.
179.
▲
by
Lichtso
5y ago
This. I don't get why most think they have to be either/or and are exclusive. Both have their advantages and disadvantages as devotees of both sides can attest. So why not let the programmer choose on a case basis with a project w
180.
▲
by
Lichtso
5y ago
I think total traceability would be fair, if it was truly total. But the state is gonna scramble all their addresses and transactions, leaving only the citizens unprotected in the open. Otherwise they (the state) themself would become trans
More ›