19 karma · joined Sep 19, 2022 (4y ago) · 32 submissions
comment 3y ago · link · parent
2.
In an infinite scroll world, the End key should be king(tristanyates.com ↗)
4 points · by the_arcadian · 3y ago · 2 comments
comment 3y ago · link · parent
4.
After Action Project Greensleeves(tristanyates.com ↗)
1 points · by the_arcadian · 3y ago · 1 comment
comment 3y ago · link · parent
LOL, sure borrow-checked reference counted pointers that can't equal null to mark the beginning or end of a chain are exactly what I am looking for when I want to build a linked list or tree. Why are you like this, Rust?
comment 3y ago · link · parent
Which means that when you present me with a systems programming language that enforces an ownership concept that makes it much more difficult to write allocators or even doubly linked data structures, and then use that language's existence to justify adding the same restrictions into a version of C, "who asked for this?" might well be the least offensive response I can muster.
comment 3y ago · link · parent
> We use languages that impose other “arbitrary” constraints on us
> The ownership model is a similar concept [to type checking]
Except we didn't. K&R rejected Pascal for their work on Unix precisely because it was too strongly typed and didn't provide sufficient escape hatches. Arrays were typed by length, there was no pointer arithmetic, there was little or no typecasting or coercion, no generic pointer types, no null pointers, etc.
All these restrictions that were in place to create a safer language made Pascal completely unsuited to writing allocators, buffered IO, and other OS internals. So instead, they ditched Pascal and created C and had Unix up in running in just a couple of years. Maybe there's a lesson there.
comment 3y ago · link · parent
I have a question. Who asked for this? Like who exactly raised their hand and said yes, I want a systems programming language that won't let me compile syntactically and semantically correct programs because they don't follow an arbitrary ownership model?
comment 3y ago · link · parent
So for example, if I posted "100 black Americans are killed every day by white Americans", which is obviously both misleading and inaccurate, you would be risking your account by engaging in any kind of discussion or debate, or even arguing that you should be allowed to discuss and debate that. That's because you would be violating multiple rules - first, a rule that protects specific races from criticism, second, a rule that disallows even accurate breakdowns of crime by race, and third, a rule that prevents you from discussing and debating aspects of the TOS itself.
Thus, by the rules of Reddit, my statement would stand completely unchallenged. Now realistically I don't think my statement alone would result in a rash of payback crimes, but over time you are giving people a skewed version of the world in which violence can be justified. And sure, one could argue that they're not legally responsible for what people do and that any attempt to hold them responsible is guilt by association, but OTOH I don't think any social media company wants that kind of reputation and press.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
Ultimately, twitter will be judged by its users, and whether they find value in the site, and whether its financially viable - income meets expenses. I think twitter's free speech & openness virtually guarantees the former, since everyone will be able to find something that they like on the platform and ignore the rest. The latter will be opaque for quite a while, since twitter is now private and, I assume, won't be disclosing its financial data except as required by taxes / regulation.
comment 4y ago · link · parent
Also in my experience CEOs really know their businesses, which makes me think they also understand the economics and dynamics of piracy to a greater extent than the rest of us, even pirates. From what observe, I think that they see pirates largely as hobbyists and influencers rather than lost customers or individuals out for economic gain, and are really only concerned with piracy at scale, like in this Z library case.
comment 4y ago · link · parent
comment 4y ago · link · parent
My file / media server has roughly 20TB online and has movies, games, books, personal files, etc served with NFS & Samba. I don't use anything fancy like Plex or Jellyfin, just XBMC which works fine. It also runs the usenet stack nzbget, nzbhydra, etc and has a virtual machine running transmission through a VPN. I also have a custom ruby script that transcodes files to x265.
Once you get into the home server biz, the most important thing is to have a great case. Mine is the Fractal Node 804, which IMO is truly awesome - a big cube that holds a microatx board and 8 drives, and its actually pretty affordable. For hardware specs, I started dirt cheap and then upgraded too much, building a 12-core / 64GB setup that sat at 10% CPU utilization most of the time. I've since downgraded to a i5-10600 w/32GB RAM which is more than capable.
This is beyond the scope of the question, so I won't get into details, but I would also encourage any developer to have a dedicated dev server as it helps you to better understand performance and deployment.
comment 4y ago · link · parent
comment 4y ago · link · parent
Then we had concurrency primitives, and now apparently there's a module system in c++20 which should be interesting. C++ clearly has no plans to bow out gracefully or otherwise go quietly into the night, which is fine by me since I still think it's the language which gives me, as a developer, the most freedom and control over the system.