Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zamalek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
691.
▲
by
zamalek
2y ago
> {.push raises: [].} Will this transitively enforce exception handling? i.e. if a 3rd-party dependency that I am using calls into another dependency that raises exceptions, but doesn't handle them in any way (including not using th
692.
▲
by
zamalek
2y ago
The highly specific/specialized problems leetcode has presented have never held value, outside of a very small set of companies (i.e. MOFAANG).
693.
▲
by
zamalek
2y ago
Zig has the feature of not having exceptions. I see that Nim is trying to move away from them, but exceptions color functions, which means that you have to account for them even if you don't use functions that throw them[1]. Life is to
694.
▲
by
zamalek
2y ago
In addition to the other options posted here, you can do what 3D games do: they have polygons covering all navigable areas. You then find which polygons connect source to destination, then create lines/curves across them (you never hav
695.
▲
by
zamalek
2y ago
The only benefit that some (certainly more rare) compilers can provide is type metadata/compile-time reflection. Otherwise, totally.
696.
▲
by
zamalek
2y ago
One of the critics in the post (Anthony Finkelstein) very much claimed that it wasn't a real problem, it sounds like he might have had an audience too.
697.
▲
by
zamalek
2y ago
The whole flat thing was pioneered by Microsoft. Boggles the mind as to why Apple and Android copied this nonsense. https://en.wikipedia.org/wiki/Metro_(design_language)
698.
▲
by
zamalek
2y ago
Tree sitter has a C runtime, and often a C scanner.
699.
▲
by
zamalek
2y ago
At the end of the day the stock market is a consensus model with a spectrum between two, sometimes contradictory, metrics (sentiment and analytical). If your conclusions about a stock agree with the market then you profit. If you can guess
700.
▲
by
zamalek
2y ago
Google is one of the lightest offenders in the ecosystem. Remember that any other Android device is going to have Google PLUS the manufacturer junkware. Pixels can also be de-rooted with custom firmware installed, and graphene is hella poli
701.
▲
by
zamalek
2y ago
Here's a recent vulnerability: https://blog.exodusintel.com/2024/03/27/mind-the-patch-gap-e... It's just your typical multithreading woes (in an unsafe language). One presumes that these problems wi
702.
▲
by
zamalek
2y ago
Vivaldi would not stop offering to sign me into google automatically on sites that support it, it kept re-enabling it somehow. How this is enabled on a privacy-aware browser is beyond me. Brave is pretty good once you disable all the crypto
703.
▲
by
zamalek
2y ago
Silverblue and family are like that. The user bits are installed with flatpak.
704.
▲
by
zamalek
2y ago
This will let you know what your browser is allowing: https://www.testufo.com/framerates (it will also demonstrate the issue that the post is attempting to solve).
705.
▲
by
zamalek
2y ago
I have been playing around with Phi-4 Q6 on my 7950x and 7900XT (with HSA_OVERRIDE_GFX_VERSION). It's bloody fast, even with CPU alone - in practical terms it beats hosted models due to the roundtrip time. Obviously perf is more import
706.
▲
by
zamalek
2y ago
Yup. You just find (and sub) to the places where it lives the longer you are on Reddit. Everyone probably experiences this trend. Delete your account and the trend stops.
707.
▲
by
zamalek
2y ago
This smells like accidental complexity. What's the point if you have to use the chain in a very specific way, and it can only achieve one thing? That could just be made a single op. This seems like yet another way for ferrying code
708.
▲
by
zamalek
2y ago
You shouldn't even use those, at least hardcoded. Follow the XDG Base Directories spec: https://specifications.freedesktop.org/basedir-spec/latest/
709.
▲
by
zamalek
2y ago
Slightly tangential, we already have amazing laundry robots. They are called washing and drying machines. We don't give these marvels enough credit, mostly because they aren't shaped like humans. Humanoid robots are mostly a waste
710.
▲
by
zamalek
2y ago
You should be able to use qnames (foo:bar) for attributes, I think? The problem with data-* is that it's misuse, template directives aren't really data. E.g. something might actually use data-if, which would probably collide with
711.
▲
by
zamalek
2y ago
> Memory safety is just one aspect I feel as though not enough attention is given to how std is designed. For example: [u8], str, Path, and OsStr may be confusing at first, but when you understand why they are there any other approach fe
712.
▲
by
zamalek
2y ago
Its looks really neat! Two questions: * can it be used as a build dependency (i.e symbols from the snafu crate don't appear in the generated code). * I assume you have to use one of the macros (ensure! or location!) when constructing a
713.
▲
by
zamalek
2y ago
> Philips Hue At the moment you can pair them with any ZigBee controller, which I found to be much simpler. This is one firmware update away from not working (which is why I mostly relied on Z-Wave) so YMMV.
714.
▲
by
zamalek
2y ago
Where in my comment do I say it should be used? I merely used Git as an example of a production CAS.
715.
▲
by
zamalek
2y ago
Content addressable storage. For example, the Git DAG would be one place to use it (depending on which camp you're in: should the DAG be cryptographically secure, or should the security be out-of-band e.g. signatures).
716.
▲
by
zamalek
2y ago
It's not only because of SIMD. Contrasted to many other languages (though not all) the compiler is working with code here, not an arbitrary function pointer. In essence, JS and the like are operating with this: let result: Vec<
717.
▲
by
zamalek
2y ago
It simply rejected calls that lacked caller ID, which is what I assume the GP meant by unknown callers. It wasn't only Nokia either, every single phone that I have ever owned has been able to do this. Its right there alongside novel fe
718.
▲
by
zamalek
2y ago
My Nokia 3310 could do that. This actually answers the call and asks the caller what they want, it then rings if the call seems legit.
719.
▲
by
zamalek
2y ago
This only sounds like a ridiculous idea. The weapon was ridiculously effective during an unintentional test.
720.
▲
by
zamalek
2y ago
I'm curious what the assembly looks like. Is it just normal binary Von Neumann running on your ternary processor, or is it something very different? Either way, great work. This is very fascinating.
More ›