thekingofravens's comments

thekingofravens | 5 months ago | on: Rust: A quest for performant, reliable software [video]

Python was my first language and that is precisely how it felt. I would be at a convention or conference and mention python and it seemed like people didn't care, had a negative opinion or just didn't use it. It was treated as something only semi-programmers did, like people whose job wasn't actually programming, business analysts or scientists.

Then one day python was suddenly top of the charts, probably post python 3 (old timers hated it but it really improved ergonomics) but not immediately so. Rather later on when they fixed the performance loss from 2->3 (which looking back as a primarily Rust coder now, was a hilarious argument that community had internally because even my worst, most quickly cobbled together rust code beats some of my best python code at the same task performance wise).

thekingofravens | 5 months ago | on: Rust: A quest for performant, reliable software [video]

PDF handling came to mind as absolutely horrible experience. If you want to make a pdf, the choices were either: 1. Very low level, getting into the nitty gritty implementation details of PDF. 2. Very High level, only suitable to make the equivalent of a word document with very little control of layout 3. Typst, which is nice externally but honestly very difficult to use as a library. 4. mupdf over C FFI can get you mid-level pdf generation. Mid level as in you control layout but aren't using an editor to inspect the generated raw instructions in a PDF. Then you have unsafe everywhere or time spent with FFI making basic wrapper/abstraction negates the benefits.

Oh and for the first 3 the relevant docs for using it in this way are out of date and you will need to look at source code.

thekingofravens | 4 years ago | on: China has forbidden under-18s from playing games for more than three hours/week

I couldn't agree more. In high school and grade school, nothing mattered really, so games were just fun. However, I noticed there came a time recently when myself and all my friends had to choose between video games and failing college (or not going to college). Almost everyone I knew well enough to keep tabs on post high school chose video games. A total of 9 people and only 2 (myself included) were able to get gaming under control enough to make it. The others had their ambition sucked away by video games, and are starting to seriously regret their lives now.

So while I think their approach is far too extreme, I can understand why they would be very concerned about video games.

thekingofravens | 4 years ago | on: I can only think that modern front end development has failed

I know this won't count for much, but as an amatuer programmer who has done a lot of web scraping at my job due to having a restricted corporate environment, its a breath of fresh air to work with the few websites that actually assign IDs to elements, don't autogenerate all graphic elements and feel like whoever wrote them actually cared. Especially if you are trying to parse it with something stupid like Excel VBA. Trying to reverse engineer what happens when you click a button on a site with 20 event listeners tied to "submit" is a freakish nightmare.
page 1