Why Men Are ‘Rawdogging’ Flights
“I've got DMs on Instagram like, ‘Bro, you need to teach us how to bareback flights,’” says a pioneer of the swashbuckling trend.
Hasnain says:
I don’t quite like the word for this but I’ll take it. Sometimes it’s good to just peace out and not think about anything you know?
“Still, West says that a recent trip from London from Bali (20 hours) taught him that there are benefits to rawdogging beyond its meditative nature. His best ideas, he says, have come from the time spent locked into the flight map, just thinking. “I'm there like, Oh, we're flying over Afghanistan. Oh, we're going at 36,000 feet instead of 37,” he says. “Or like, Oh, I think that's a good idea as a new series on my TikTok.” The experience left him refreshed. “When I saw my mom [upon landing], she was like, ‘You have so much energy,’” he recalls. “And I'm like, I feel fine. I feel recharged. I feel like I've been able to have time to myself.””
Posted on 2024-06-25T05:24:29+0000
Fixing a memory leak of xmlEntityPtr in librsvg - Federico's Blog
Fixing a memory leak of xmlEntityPtr in librsvg Translations: es Friday 21/June/2024 - Tags: gnome, librsvg, refactoring, rust Since a few weeks ago, librsvg is now in oss-fuzz — Google's constantly-running fuzz-testing for OSS projects — and the crashes have started coming in. I'll have a lot m...
Hasnain says:
“Resources that are external to Rust really work best if they are wrapped at the lowest level, so that destructors can run automatically. Instead of freeing things by hand when you think it's right, let the compiler do it automatically when it knows it's right. In this case, wrapping xmlEntityPtr with a newtype and adding an impl Drop is all that is needed for the rest of the code to look like it's handling a normal, automatically-managed Rust object.”
Posted on 2024-06-24T04:20:10+0000
Claiming, auto and otherwise · baby steps
A good question. Certainly on a technical level, there is nothing new here. We’ve had lints since forever, and we’ve seen that many projects use them in different ways (e.g., customized clippy levels or even – like the linux kernel – a dedicated custom linter). An important invariant is that...
Hasnain says:
“I’ve noticed I’m often more willing to revisit long-standing design decisions than others I talk to. I think it comes from having been present when the decisions were made. I know most of them were close calls and often began with “let’s try this for a while and see how it feels…”. Well, I think it comes from that and a certain predilection for recklessness. “
Posted on 2024-06-24T03:32:31+0000
Performance tip: avoid unnecessary copies – Daniel Lemire's blog
Daniel Lemire is a computer science professor at the Data Science Laboratory of the Université du Québec (TÉLUQ) in Montreal. His research is focused on software performance.
Hasnain says:
“Sometimes people observe at this point that the performance of Node.js 18 was already fine: 1.3 GB/s is plenty fast. It might be fast enough, but you must take into account that we are measuring a single operation that is likely part of a string of operations. In practice, you do not just ingest base64 data. You do some work before and some work after. Maybe you decoded a JPEG image that was stored in base64, and next you might need to decode the JPEG and push it to the screen. And so forth. To have an overall fast system, every component should be fast.”
Posted on 2024-06-22T20:33:26+0000
Using Tauri to build a cross-platform security app
A post about how Firezone uses Tauri on Linux and Windows
Hasnain says:
Bookmarking for the future.
“Tauri often feels like the training wheels on a bicycle. It gets you started, but after a while you can't go any further without replacing it.
The positives are:
It's Rust, so we get to keep all our code even if we completely ditch Tauri next year.
Those training wheels are very nice to have on a new cross-platform GUI project.
It's gratis and libre, so you can't beat it on price.
The final word is, Tauri is good, try it out.”
Parsing Python ASTs 20x Faster with Rust
When CPython Is Too Slow
Hasnain says:
“Digging through CPython was a satisfying peek behind the curtain on a tool I’ve used for years. It reminds me how much is hidden in day-to-day Python programming, and gave me an excuse to learn a lot more about how the program actually runs at a lower level. It’s also great to get more familiar with powerful profiling tools like py-spy, speedscope, and Valgrind. I hope you enjoyed following the journey!”
Posted on 2024-06-22T17:53:27+0000
Britain’s richest family sentenced to jail for exploiting staff in Swiss mansion
Prosecutors claimed four members of family paid staff a pittance and gave them little freedom to leave Geneva mansion
Hasnain says:
Like I mean if you’re that rich you’re definitely not hurting for *this* amount of money. Sigh.
“Household staff were paid a salary of between 220 and 400 Swiss francs (£195-£350) a month, far below what they could otherwise expect to earn in Switzerland. “They’re profiting from the misery of the world,” Bertossa told the court.”
Posted on 2024-06-22T16:34:20+0000
Scorching Heat Ravages Hajj as More Than 1,170 Pilgrims Die — The Wall Street Journal
Americans and hundreds of Egyptians among the dead in Saudi Arabia’s annual event, which suffered its highest death toll since 2015
Hasnain says:
:(
“The bus that was arranged to take him to Arafat on Saturday filled up fast, so he paid $400 for another ride. But the police stopped that bus from transporting unpermitted pilgrims, forcing him to walk for miles.
Kamal last heard from his father eight hours later when he reached Namira Mosque in Arafat for midday prayers; after that, his phone was off. Relatives in Saudi Arabia checked area hospitals but it wasn’t until Tuesday that they learned Kamal’s father had died. His name appeared on an online list of the deceased without indicating a cause.”
Posted on 2024-06-22T02:15:40+0000
Dell said return to the office or else—nearly half of workers chose “or else”
Workers stayed remote even when told they could no longer be promoted.
Hasnain says:
“Alternatively, by classifying themselves as remote, workers agree they can no longer be promoted or hired into new roles within the company.
Business Insider claims it has seen internal Dell tracking data that reveals nearly 50 percent of the workforce opted to accept the consequences of staying remote, undermining Dell's plan to restore its in-office culture.”
Posted on 2024-06-22T01:59:01+0000
CAIR-Texas Calls for Hate Crime Probe of Alleged Murder Attempt Targeting Two Muslim Children in Euless -
Alleged attacker reportedly interrogated mother about her country of origin and her speaking to her children in a foreign language before jumping in swimming pool and allegedly trying to drown them. The Texas chapter of the Council on American-Islamic Relations (CAIR-Texas), the nation’s largest M...
Hasnain says:
[ insert phrasing that would probably get me banned from Facebook ]
“The mother reported jumping into the pool to save her children. According to the mother, her 6-year-old-son was able to escape, but her petite 3-year-old daughter was unable. The alleged attacker snatched off the mother’s head scarf and used it to beat the mother as well as kicking her to keep her away while forcing her daughter’s head underwater.
Mrs. H stated that an African American man helped rescue her daughter from the attacker and more people gathered and witnessed. Cuffed and taken away by the police officer, the attacker reportedly shouted to a bystander woman who was calming the mother down “Tell her I will kill her, and I will kill her whole family.””
Posted on 2024-06-22T00:54:01+0000