Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chlorion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
chlorion
3y ago
The tuple thing requires variadic generics from my understanding. I don't thing variadic generics support is supported in most statically typed languages. The only one I can think of right now that supports this is C++.
122.
▲
by
chlorion
3y ago
I don't think so, I think it just happens to be that common lisp is more oriented around lists and not vectors. Since we're in lisp, you can imagine some macros that make working with matrices easier!
123.
▲
by
chlorion
3y ago
I think this is an example of moving the goal post. Instead of ad blockers being disabled, now it's specific blockers such as ublock origin will be disabled, and even that isn't true. An honest title would be "In June 2024, a
124.
▲
by
chlorion
3y ago
It's really interesting to see the amount of misinformation being propagated lately. Do people not bother to fact check anything? The creator of ublock has made an ad blocker specifically for the new API and it's available to use
125.
▲
by
chlorion
3y ago
It does use incremental builds so long as you don't reset everything. I'm not sure that a lot of people who don't work with make realize that it's smart enough to only rebuild what has changed, and that it's not jus
126.
▲
by
chlorion
3y ago
Emulators for older systems very often do this! The older consoles like the NES had a pixel processing unit that generated the picture, you need to emulate it's state and interaction with the rest of the system, possibly cycle-by-cycle
127.
▲
by
chlorion
3y ago
The point is to have a nicer API on top of these primitives, not to introduce new features into Emacs. async/await APIs are just a fancy abstraction over an event loop and callbacks and whatnot. Even just having "promises" wo
128.
▲
by
chlorion
3y ago
>Security of my calculator..? I could upload a "Calculator" application that looks harmless, and even functions as a calculator, but actually steals your GPG keys and logs keyboard input. With a sandbox this would not be possib
129.
▲
by
chlorion
3y ago
This is really important. A lot of people think open source is about not paying for software, even some open source devs think this. You are allowed to sell your software even if its GPL'd or whatever. You are not obligated to give the
130.
▲
by
chlorion
3y ago
I don't think its astroturfing, but if it is I have used it and I'm pretty sure I'm not an astroturfer! I used the lite version while using chromium for a little while and it worked ok for me. The issue I had with it wasn
131.
▲
by
chlorion
3y ago
I think having a single-threaded async/await style interface for doing non-blocking things like creating and reading output from subprocesses could be pretty nice. As far as I can tell Emacs already supports the primitives required to
132.
▲
by
chlorion
3y ago
Wayland has been flawless for me, but for others not so much. Every thread about wayland has people claiming it's broken yet they aren't reporting bugs or providing useful information at all, just vague complaints. Many people exp
133.
▲
by
chlorion
3y ago
The lack of screen tearing is a big feature to me, but sometimes people get x11 to work without this being a problem. The other feature for me is security. Sandboxes can access the wayland socket and run GUI stuff, without the ability to re
134.
▲
by
chlorion
3y ago
The Gentoo bug tracker has a specific meta-bug for tracking packages that break when built with LTO. The vast majority of the bugs are "failed to compile". It seems like that is the most common issue by far. There are cases where
135.
▲
by
chlorion
3y ago
Enabling LTO can cause things to fail to build or fail to run in some cases. My understanding is that LTO itself is not breaking anything. In these cases the software that it was running on was broken in some subtle way that didn't sho
136.
▲
by
chlorion
3y ago
I don't seem to have bookmarked anything except for the link I posted earlier and the HN thread that discussed this (posted below). From my memory it was every zen module up to and including zen3. It's possible that zen4 has been
137.
▲
by
chlorion
3y ago
"async" and threads are not the only options for concurrent IO. I've never saw anyone discuss using poll(2) style concurrency here which is interesting but also kind of sad. With the mio crate for example, it uses the operati
138.
▲
by
chlorion
3y ago
From this link: >It’s important to understand that unsafe doesn’t turn off the borrow checker or disable any other of Rust’s safety checks: if you use a reference in unsafe code, it will still be checked. Unsafe rust basically just lets
139.
▲
by
chlorion
3y ago
It's true that it doesn't eliminate all bugs in general, but it can completely eliminate buffer overflows for example. There is no excuse to not at least have bounds checking. This is one of the most basic memory safety problems a
140.
▲
by
chlorion
3y ago
The borrow checker does not prevent out of bounds access of arrays (or vectors or whatever you want to call them). The borrow checker is intended to protect against "temporal memory unsafety". It can tell you that you are using so
141.
▲
by
chlorion
3y ago
Just a heads up for anyone using AMD CPUs fTPM, it is completely broken and cannot be used even for "someone stealing your laptop". A few hours time and a few tools can fully compromise the TPM's secrets. This can be performe
142.
▲
by
chlorion
3y ago
This is very important. For some reason in these threads nobody seems to bring up or realize that modern AMD CPU's fTPM is completely broken and not fixable via ucode updates. The AMD TPM exploit is exploitable by a "regular"
143.
▲
by
chlorion
3y ago
That's not really true all of the time, some AMD fTPMs have physical vulnerabilities for example, that allow compromising the entire thing with some tools and a few hours of time. Software can't fix this since it's a flaw in
144.
▲
by
chlorion
3y ago
C++ containers such as std::vector and std::array have bounds checking at least, though I have not saw them used very much. Bounds checking instantly eliminates buffer overflow related unsafety, but not having it as the default is not good.
145.
▲
by
chlorion
3y ago
It depends on the context I guess. In the context of not software licensing, I would define it roughly like you said. Interfaces that are designed in a way that is not compatible with existing software or easily implemented by others. An ex
146.
▲
by
chlorion
3y ago
I don't think there will be any huge difference between a text dump and binary formats here, git doesn't really care about the underlying data when it stores and packs it. Maybe a text format that is sorted before saved would comp
147.
▲
by
chlorion
3y ago
The term "proprietary" does not always refer to software licenses, but that's one of the common causes of something to be proprietary.
148.
▲
by
chlorion
3y ago
You can use pkg-config for this! I'm not sure if a lot of people are using pkg-config manually but you can do it easily. If you have a pkg-config file for the library it will handle the flags for you. I guess a build system would handl
149.
▲
by
chlorion
3y ago
Apple has actually measured the impact of adding bounds checking to commonly used libraries including media libraries and found no impact on overall power use. Audio and video encoding libraries took around a 1% performance impact. https:&
150.
▲
by
chlorion
3y ago
Just having first class slice types, where your pointer is paired with a length, which allows for doing bounds checking automatically is a huge upgrade over C, even if it doesn't solve every other problem. Security exploits from out of
More ›