Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wwright
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
391.
▲
by
wwright
7y ago
This is a logical volume at the FS level rather than a proper partition, which has the advantage of sharing space with other volumes/&c.
392.
▲
by
wwright
7y ago
Before Silverblue, Red Hat and Fedora maintain a list of custom build scripts for all packages that apply patches and security updates. After Silverblue, when they run in Flatpaks, they can still maintain build scripts that achieve the same
393.
▲
by
wwright
7y ago
On workstations and laptops, no, but I work in enterprise and a _lot_ of Linux appliances out in the wild could benefit from this.
394.
▲
by
wwright
7y ago
Yeah, I agree, but I think that is just a way of stating that morals are impossible to perfect.
395.
▲
by
wwright
7y ago
I would say true morals lead to structuring your company in such a way that you don’t have to rely on business people making ethical decisions moment to moment, because they won’t.
396.
▲
by
wwright
7y ago
It does provide a standard way to uninstall an app : drag it to the trash can. I would say that what Zoom did was have their app intentionally install malware that bypassed this normal uninstall. I do think that it would be great to have a
397.
▲
by
wwright
7y ago
This is also a very good use case to actually dive under the abstraction a little and use hooks or lifecycle methods to directly manipulate the table. You still gain a lot of benefits from your component framework this way (composability, l
398.
▲
by
wwright
7y ago
How often do you need to write methods just to forward to another method that _stay_ that way, and don’t evolve more logic later on? I avoid inheritance like the plague, but I feel like I don’t really write forwarding methods very often.
399.
▲
by
wwright
7y ago
I believe NPM is at least an order of magnitude bigger than every other package repository, for what it’s worth.
400.
▲
by
wwright
7y ago
I’m not sure if it carried over to hardware, but Macs and iOS have always punched above their weight in terms of money spent by people using them vs using other platforms. More money is made by apps sold on iOS than on Android, for example.
401.
▲
by
wwright
7y ago
dnf is a generational improvement over yum. It still uses RPMs behind the scenes.
402.
▲
by
wwright
7y ago
Ah, Betteridge’s law: https://en.m.wikipedia.org/wiki/Betteridge%27s_law_of_headli...
403.
▲
by
wwright
7y ago
One term for this, I believe, is “structural editors.”
404.
▲
by
wwright
7y ago
This is actually an excellent case where Rust can help you completely remove the need to lock and help you keep your memory safe — if you can make it clear that your config object will live longer than all threads referencing it (which sh
405.
▲
by
wwright
7y ago
I just don’t get the class/prototype approach, honestly. It really seems to me that you get almost all of the benefits and more by just returning an object from a closure, which has the extra benefits of encapsulation and using only si
406.
▲
by
wwright
8y ago
I’m not sure I’d use as strong language as you (though I personally love the rust compiler’s messages), but I will say it’s gotta count that it doesn’t automatically and silently generate instance methods that explicitly break the memory mo
407.
▲
by
wwright
8y ago
I find this interesting. Could you give an example of a case you find hard to reason about?
408.
▲
by
wwright
8y ago
That’s very true. But all of those communities, ecosystems, standards, and use cases have an extreme learning curve and a very deep problem with security. :-)
409.
▲
by
wwright
8y ago
The thing is, Rust has tools that are easier to use _and_ have great performance _and_ prevent security and stability mistakes.
410.
▲
by
wwright
8y ago
Yes, but it’s backed by enough interests and money that it’s still not fair to compare to a typical FOSS or hobby project :p
411.
▲
by
wwright
8y ago
This is exactly what I was thinking of. Thanks for pointing this out, and thanks to Stavros for promptly engaging too :-)
412.
▲
by
wwright
8y ago
It always amazes me that the Python community is okay just missing indices for their API documentation. I’m so used to Rust [1], MDN [2], Apple [3], Qt [4] starting their docs off with great indices. Obviously, those are all “commercial” do
413.
▲
by
wwright
8y ago
Sanitizers and fuzzers are a valid complaint, but static analysis is much less of a problem for Rust vs C++. Most of the issues C++ analyzers detect are prevented by Rust’s design itself, and Rust has an official analyzer in Clippy. Provers
414.
▲
by
wwright
8y ago
Aliasing is checked in the calling code, not the callee. You’re not allow to create a mutable reference if another exists in the same scope. If you use “plain” safe Rust, there’s simply just no way to create alias mutable references unsafel
415.
▲
by
wwright
8y ago
I think most of the rationale is around sharing components easily, at a level separate from NPM/&c. For things like JIRA/Disqus widgets, or for small components shared across otherwise disparate parts of a large site (things l
416.
▲
by
wwright
8y ago
afaik web components are mostly about encapsulation and semantics; they let you box up arbitrary HTML, JS and CSS and put a little bow on top so that it looks like one “custom” HTML tag to the rest of the document. (I could be misrememberin
417.
▲
by
wwright
8y ago
This sounds like “persistent data structures,” which are offered in most modern FP environments (including JavaScript, if you use libraries.) Those structures don’t behave as objects themselves, but it’s not uncommon for Haskell monads, for
418.
▲
by
wwright
8y ago
People say this a lot, but I think their behavior makes more sense when you view the end user as the product. Who cares about API stability, the advertisers are getting exactly what they want.
419.
▲
by
wwright
8y ago
I’d say it’s very disingenuous to claim that Python users don’t have to care about types. Many types are directly related to semantics, so of course they have to care about types! I think Python made some really good choices with their type
420.
▲
by
wwright
8y ago
Much better than C++’s “climbing the stairs to Moria”
More ›