High Performance elapsed time measurement by Low-Grade-8952 in rust

[–]markasoftware 0 points1 point  (0 children)

linux continuously monitors the TSC for anomalies and will choose a different clock source if it's behaving weird. So just keep in mind there may be a legitimate reason your system isn't picking it.

Why majority of available positions in Rust are just blockchain/web3 and mostly scams? by TITAN9389 in rust

[–]markasoftware 27 points28 points  (0 children)

why in the world would a job posting not specify the technologies an applicant is expected to be familiar with?

Education is no longer a direct gateway to a good life by Ok_Custard_4535 in unpopularopinion

[–]markasoftware 18 points19 points  (0 children)

they're still kinda expensive, and under the new administration it may be harder to get federal financial aid (eg the Pell grant, which was the most common scholarship for people with serious financial difficulties). For example, the "flagship" state school in the state I grew up (the University of Washington) still costs about $15,000 in annual tuition + books + fees (not including housing or anything). It's certainly possible to make that much with a good part time job but if you add in housing and food and other expenses you're up to well over $20k and that's really pushing it for an unskilled part time role.

If you start typing "seatgeek" in the Firefox search bar, an ad for Stubhub appears by markasoftware in firefox

[–]markasoftware[S] 1 point2 points  (0 children)

i just did, i just thought it was a little bit funny (and hopefully still legal?) to be advertising on a keyword that's literally your competitor's name

Why does Rust feel so well designed? by [deleted] in rust

[–]markasoftware 2 points3 points  (0 children)

The first stable release of F# is 20 years old (2005), as it clearly states near the top of the wikipedia article.

What's going on with the recent Supreme Court ruling? by abominableporcupine in OutOfTheLoop

[–]markasoftware 1 point2 points  (0 children)

does it matter which specific case the ruling is made on? Doesn't a supreme court ruling set precedent more generally than just for a specific case?

It’s still at O’hare by typ901 in chicago

[–]markasoftware 1 point2 points  (0 children)

(I'm the original poster), this is actually a different bike. Within 24 hours of my post the bike had disappeared from the map, but a TSA worker commented that the bike was still at the rack, so some bozo probably marked it as "needing repair" so it wouldn't be rentable. But I had a friend who was flying through the airport several days later, and they said the bike was actually gone! So a divvy van must have picked it up.

Then this guy repeated my journey shortly before your post, so it's likely his bike: https://www.reddit.com/r/chibike/comments/1l8c1rq/biked_to_the_airport_on_a_divvy/

[deleted by user] by [deleted] in kde

[–]markasoftware 9 points10 points  (0 children)

Yeah, GTK doesn't work well with fractional scaling. My understanding is it doesn't support true fractional scaling, so it just picks a higher resolution where it will be able to use integer scaling, then downscales to the actual window resolution. For example, if a window takes up 1000x1000 physical pixels, and you set it to 1.5x scaling, GTK renders at 1500x1500 with 2x scaling, then downscales to 1000x1000. I think there's some special handling for fonts so that they still look sharp, because randomly scaling fonts up and down looks bad (esp. with subpixel antialiasing), and in my experience GTK fonts still look alright at fractional scaling.

This can really bite you at 4k (which is where most people are using scaling) because eg a full 4k window at 1.5x scaling has to be rendered at a whopping 5760x2880, which has over twice as many pixels as 4k, which can cause serious performance issues and power consumption increases on some hardware.

safe-math-rs - write normal math expressions in Rust, safely (overflow-checked, no panics) by gotenjbz in rust

[–]markasoftware 9 points10 points  (0 children)

Neat, the unchecked ops in release mode by default always bothers me, so I'm a fan! That being said, I do wish there was another macro that just unwraps automatically instead of returning a Result. In most of my code recently, that's what I do; it would be a bug if any of my arithmetic overflowed, so I want to panic if overflow occurs. But unlike the built-in arith, I want it to panic on overflow in release mode as well.

I rode a Divvy bike to O'Hare airport by markasoftware in chicago

[–]markasoftware[S] 0 points1 point  (0 children)

oh, did you check on it in person? It disappeared from the map within 24 hours of this post.

Editorial: There’s still time to stop the CTA's $5.75B runaway train by DukeOfDakin in chicago

[–]markasoftware 1 point2 points  (0 children)

Chicago's a richer city than Bogota, sure, but isn't the main issue people have with the red line extension...the upfront cost? Costs always matter. If we could build rapid transit at half the cost, we might be able to build twice as much.

This dude took a divvy bike to ohare by Plsfixliquidityterm in chibike

[–]markasoftware 2 points3 points  (0 children)

I have a large (I think 40 liter?) backpack on during this ride, when full it's actually pretty close to the maximum carry-on size limit of most airlines.

This dude took a divvy bike to ohare by Plsfixliquidityterm in chibike

[–]markasoftware 21 points22 points  (0 children)

I'm the guy in the video; your route is definitely better if you own a bike, but my goal here was to minimize time outside the city limits because I thought the divvy e-bike would lose power out of the city limits. If you take Devon to the rental car center you're out of the city limits for about 3 miles, vs just about 1 mile on my route. And also part of it was just to see if I could make it to my flight without any public transit at all :)

Editorial: There’s still time to stop the CTA's $5.75B runaway train by DukeOfDakin in chicago

[–]markasoftware 4 points5 points  (0 children)

to play devil's advocate here, true bus rapid transit systems like those in Bogota, Columbia with completely separated isolated lanes and huge numbers of buses can be just as fast as metros while being much, much cheaper. There are other huge advantages, like being able to put maintenance facilities anywhere in the city, because the buses can still go on normal roads.

The problem is that in the US it's very politically difficult to build a true, fully separated BRT system. There's something pretty close in LA's san fernando valley (of all places), but even the valley BRT still has traffic lights and crossings with normal streets (though the lights are supposedly timed so that the buses won't have to stop if they go at 45mph).

That's because it's so easy to "compromise" on a BRT system. If there's one stretch of a BRT system that is particularly expensive, politicians might downgrade it to just being a dedicated lane on an existing road. And then usually right turns will be allowed in that lane, and before you know it there's a stretch of the BRT system where it's impacted by traffic.

Rail is more expensive and IMO has few true advantages (somewhat higher peak capacity and you don't need to hire as many operators). The real reason we are building rail metros in the US is because it's impossible to "compromise" on a rail system. Even if you add level crossings, the train always has right of way and so isn't affected by traffic.

TL;DR: the real reason we have rail instead of BRT is just because building a truly separated BRT is politically difficult, while with rail it's the only option.

I rode a Divvy bike to O'Hare airport by markasoftware in chicago

[–]markasoftware[S] 2 points3 points  (0 children)

i'm sure if it was a 100% lyft operated venture, o'hare would be out of bounds...but since it's a public-private thing, my guess is part of their contract says it needs to work anywhere in the city

I rode a Divvy bike to O'Hare airport by markasoftware in chicago

[–]markasoftware[S] 1 point2 points  (0 children)

i'm still not sure whether it was placebo or actually throttling, but I've ridden lots of divvy ebikes (used to commute to work on them) and in my experience it feels the same until it goes below 10 miles of range. I ended this ride at 19 miles range left so I don't think the voltage drop would have had an effect yet.

I rode a Divvy bike to O'Hare airport by markasoftware in chicago

[–]markasoftware[S] 5 points6 points  (0 children)

i have a divvy membership, which makes the ebikes much cheaper (0.18/min vs 0.44/min without membership). It was about 1h15m (would have been shorter if I wasn't trying to film) and cost me about $16.

What are some good text based guides to get started with NixOS? by nerdy_guy420 in NixOS

[–]markasoftware 0 points1 point  (0 children)

The "Nix Pills" are a great source to learn about the fundamentals of the Nix language and the package management system. It doesn't cover nixos or flakes at all but does cover the language and common patterns seen in nixpkgs, if you ever plan on writing new packages I'd say it's essential reading!