Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zamalek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
901.
▲
by
zamalek
2y ago
> The polymorphism-using-enums pattern is reasonable for tight code like embedded systems, but painful for applications generally. Rust rapidly becomes painful if you try to OOP in it. You would be better off using an OOP language for OO
902.
▲
by
zamalek
2y ago
By that definition nearly every language is OOP, which makes the term useless.
903.
▲
by
zamalek
2y ago
Author is correct that Rust is not OOP. It simply has optional dispatch (which does not an OOP language make). I'm sure many of my fellow rustaceans will agree that the lack of OOP is one of the most competitive features of Rust.
904.
▲
by
zamalek
2y ago
I had the Kona EV for a while. The back seats are for ants (I was otherwise reasonably happy with it). We are currently running my wife's ICE into the ground, then a Kia is certainly on the short-list.
905.
▲
by
zamalek
2y ago
Good. Toyota needs to get off their haunches and release something actually competitive. From what I've read the bZ4X is mostly about giving people a bad first experience with EUVs, which is unfortunate because an EUV RAV4 would have b
906.
▲
by
zamalek
2y ago
> Okta Just how many pwns involve this keyword? Between Okta itself being pwned and it allowing stupid shit like ignoring expiry, I am strongly inclined to believe that rolling your own login system might be the strongest security postur
907.
▲
by
zamalek
2y ago
If entrapment is unprotected in a relevant jurisdiction, seized domains/servers could be used to disrupt or even unmask actors. Release a new dropper and make the payload build tool malware itself. Now these actors can't trust wha
908.
▲
by
zamalek
2y ago
> Rate Limiting... OOM... There is no REST equivalent to this attack of this severity. Yes there is, simply throw JSON such as `[[[[[[...` at the server. You probably don't have to get into parsing though, nearly all C# (and Node, a
909.
▲
by
zamalek
2y ago
There is an unpraised advantage of keeping code, uh wet?, for as long as possible. When you do decide that a refactor is required, you have real use cases to test your abstraction against. While I am broadly in agreement with the article be
910.
▲
by
zamalek
2y ago
Medical devices include the likes of x-ray machines. I don't think I would relish the idea of my dentist saving a buck on maintainance and calibration. I think a more precise follow-up bill that covers things that aren't life thre
911.
▲
by
zamalek
2y ago
I'm amazed that they were able to get a human at Google to acknowledge this in the first case.
912.
▲
by
zamalek
2y ago
I spent an actual month fixing the container story on MacOS where I work, as the first employee with an M1 (eventually wrote a facade for colima). Over the following 6 months I kept a tracker of time lost to MacOS nonsense in an effort to c
913.
▲
by
zamalek
2y ago
Why not? It is allegedly faster than the m3 with better battery life (but worse thermals). [1] [1]: https://www.macworld.com/article/2313991/qualcomm-snapdragon...
914.
▲
by
zamalek
2y ago
I hated my 2021 Edge+ with such a burning fury that I'm typing this on my old OnePlus 9 (with LineageOS, which I couldn't do on the moto). I can't remember all the reasons (there were many), but stability was one of them. The
915.
▲
by
zamalek
2y ago
My mother read in one of her urban legend "housewife tale" books that potato skins (white side on the skin, under a bandage) would remove all manner of skin issues. This definitely worked for warts, but I'm not sure if by the
916.
▲
by
zamalek
2y ago
> t's not impossible that even an LLM, which totally isn't designed with the goal of having it, might nevertheless have it. I was referring to the idea that a brain scan of a human could be copied into an LLM.
917.
▲
by
zamalek
2y ago
At least they are causally linked to the workplace. Gigatons more CO2 from workers commuting to serve ego to their managers.
918.
▲
by
zamalek
2y ago
ANNs can't represent everything involved with a functioning brain, never mind a highly specific ANN architecture. Any consciousness or similar would need to arise via an independent mechanism.
919.
▲
by
zamalek
2y ago
Mental illness can absolutely be a terminal condition, she has specified that she has had suicide ideation. A far more significant issue plaguing society is the perception that mental illness is not real illess, not the minuscule amount of
920.
▲
by
zamalek
2y ago
The Earth is in freefall above the sun. We are not in freefall. https://en.wikipedia.org/wiki/Free_fall
921.
▲
by
zamalek
2y ago
Per my other comment: Earth isn't attached to the sun, the sun isn't attached to the galactic center (they are orbiting). They are independent rotational frames of reference. They are also gyroscopes in their own right. As far as
922.
▲
by
zamalek
2y ago
We are not kinetically bound to the galactic center, there is no friction causing earth to remain "upright" in respect to the galaxy. Earth is also a freely rotating inertial body and, even though wobbly, it is itself a gyroscope.
923.
▲
by
zamalek
2y ago
In terms of flatland: Ignore the camera. Instead you have a planet (a circle in flatland), a gyroscope (an arrow that always points in the same direction on the page in flatland), and Mr Square. --> [.] |
924.
▲
by
zamalek
2y ago
Gluten-free only makes a difference for those with an intolerance. Source: I am HF-ASD, my wife is gluten intolerant so my gluten intake is sporadic but bingey, gluten does nothing at all to me. The only food that is objectively bad for eve
925.
▲
by
zamalek
2y ago
> devouring monster I think this misconception exists because of how many people don't understand gravity. Crossing the event horizon would involve a huge amount of delta-v to de-orbit, unless you were extremely unlucky with your in
926.
▲
by
zamalek
2y ago
This is not the approach that the majority of coding interviews take. In my experience, it has been disinterested interviewers who are blatantly pretending to understand what they are asking. Any attempt to engage in the type of discussion
927.
▲
by
zamalek
2y ago
The reference WebGPU implementation is in Rust. It's what Bevy, and many other Rust game engines, uses. All discoverable with 5 seconds of google.
928.
▲
by
zamalek
2y ago
> In my mind, if you're someone who types in HN comments in a rage because your text editor WebGPU exists. It works with Metal. Vulkan could have also worked and MoltenVK would have bridged it to Apple. No, this is just like every o
929.
▲
by
zamalek
2y ago
Unenforced rules are a murky area. It's not as clear-cut as you suggest. Another issue that has been raised is that Sony is notoriously incompetent with customer data.
930.
▲
by
zamalek
2y ago
This is why I firmly argue (and pretend) that references are not pointers. "References are pointers" results in the belief that references will behave like C pointers and results in things like this article. At best they are a cou
More ›