Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
flqn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
flqn
3y ago
Is this not more an issue with the proxy implementation? If it deferred to the proxied object's methods, would there be no issue with the proxy attempting to access its private fields? Apologies in advance if I'm misunderstanding
32.
▲
by
flqn
3y ago
Euler angles are what that leads to gimbal lock. Constructing a rotation matrix from them inherits this issue.
33.
▲
by
flqn
4y ago
Anarchy is not chaos, anarchy is the lack of top-down control.
34.
▲
by
flqn
4y ago
Having a quick edit->build->run iteration time is important. Drop your dogmatic views on what makes a "professional" (hint: it literally just means someone who gets paid to do the work).
35.
▲
by
flqn
4y ago
Nvim+plugins gives me pretty much all I need, and there's usually always some vi variant on any linux env I've had to use.
36.
▲
by
flqn
4y ago
It's not unusual to spin up a local dev server in the same environment (or on the same machine, ie at localhost) as the tests. There's an argument to say these aren't "unit" tests but your definition of "unit&q
37.
▲
by
flqn
4y ago
ICEs don't detonate the fuel under normal operation; that's called "knocking" and can be extremely damaging to the engine.
38.
▲
by
flqn
4y ago
I think the difference is that you did the inversion symbolically, not numerically. This is about numeric computation not applying algebraic manipulations.
39.
▲
by
flqn
4y ago
Respiration
40.
▲
by
flqn
4y ago
What a useless and jaded assumption that code written in the past is bad.
41.
▲
by
flqn
4y ago
We've only been able to infer dark matter densities over galactic scales so I'm not sure that density applies at planetary system scales. It's like trying to use the density of iron to say where the atoms in a chunk of it are
42.
▲
by
flqn
4y ago
Pragmatism of decision is orthogonal to quality of execution :>
43.
▲
by
flqn
5y ago
I think you are missing that const is insufficient for safe concurrency; it requires programmer discipline to ensure there are no shared mutable references. Const also has no bearing on lifetimes. Constexpr/consteval do, but those obje
44.
▲
by
flqn
5y ago
Performance without safety sounds to me like "I'm doing the wrong thing, but faster!"
45.
▲
by
flqn
5y ago
Getting a non-const reference out of a const object isn't undefined behaviour.
46.
▲
by
flqn
5y ago
No, const can be added to objects at any declaration or callsite, meaning there can be many const- and non-const references to the same object within the same scope/thread/program/address space/execution context. Const d
47.
▲
by
flqn
5y ago
Accessing uninitialized objects is undefined behaviour, which traps in the constexpr context.
48.
▲
by
flqn
5y ago
In a similar boat and I wonder the same myself. My current thoughts are that I've had mild executive function disorder for most of my life, and self-medicating has helped in the short term but perhaps caused longer-term effects due to
49.
▲
by
flqn
5y ago
A c++ lambda is a struct with a call operator. The destructors of captured objects are appropriately called when the lambda's lifetime ends. Managing the lifetime of referenced objects is something you always have to worry about in c++
50.
▲
by
flqn
5y ago
The abstract clearly states that the paper is meant to highlight that selectively using and interpreting data can lead you to make bad hypotheses and conclusions. This is not an article that is seriously advocating for cigarrette use. EDIT:
51.
▲
by
flqn
5y ago
Fusion has no possibility of an uncontrollable runaway reaction
52.
▲
by
flqn
5y ago
I'm sceptical about the value proposition of this without seeing much more than a simple example that offers little over existing hypermedia+json/csv practices. If a compact columnar representation is what you're after to avo
53.
▲
by
flqn
5y ago
The mass comes from binding energy, not kinetic. The binding energy is potential energy in the gluons and their interactions with the quarks.
54.
▲
by
flqn
5y ago
Signed integral operations are often faster too, since the well-definedness of unsigned overflow can require additional instructions esp. if the width of the unsigned integral is not the same as the architecture word width.
55.
▲
by
flqn
5y ago
Is this page completely broken for anyone else? After the fade-in animations, the whole page vanishes. Using Chrome, btw.
56.
▲
by
flqn
5y ago
What would you rather have: an object of value potentially outside your domain and an expensive boolean function saying if it's ok that you need to apply everywhere just to be sure, or a method of producing values that you know are alw
57.
▲
by
flqn
5y ago
If the copy behaviour is that different between the two cases it should be two different classes.
58.
▲
by
flqn
5y ago
Both latches and barriers can be implemented with a counting semaphore sure. C++20 provides one of those too along with these abstractions.
59.
▲
by
flqn
5y ago
This, so much. Every branch or decision point in either the domain model/flowchart/spec/etc or implementation should be carefully considered. This applies doubly so to error handling. Also, try to make the code paths look lik
60.
▲
by
flqn
5y ago
That implies the amount of training is the only factor. It may be that new architectures or training methodologies could be developed to reject large swathes of these types of advesarial examples. Though of course, if adversarial training i
More ›