@kccqzy@techhub.social avatar

kccqzy

@kccqzy@techhub.social

Software Engineer at Big Tech. Heavy user of HN.

Fan of functional programming. Fan of maintainable and readable code in all languages.

Fan of electric vehicles. Bigger fan of bicycles.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

pid_eins, to random
@pid_eins@mastodon.social avatar

1️⃣3️⃣ Here's the 13th installment of posts highlighting key new features of the upcoming v256 release of systemd.

ssh is widely established as the mechanism for controlling Linux systems remotely, both interactively and with automated tools. It not only provides means for secure authentication and communication for a tty/shell, but also does this for file transfers (sftp), and IPC communication (D-Bus or Varlink).

kccqzy,
@kccqzy@techhub.social avatar

@pid_eins Wow I've never heard of the possibility of client-side plugins for ssh! Do they work everywhere the regular ssh is used? Like from scripts, or implicitly invoked by git and the like?

antons, to random
@antons@mastodon.social avatar

The problem with HDR video is not that iPhones record them or that social networks allow them. The problem is how iOS renders UI elements on top of HDR video when screen brightness is low.

kccqzy,
@kccqzy@techhub.social avatar

@vancura @antons Is there an app that allows me to delete gain maps from JPEG?

danderson, to random
@danderson@hachyderm.io avatar

Right, a long detour later, I've hand-implemented Clone, PartialEq and Eq for my little pile of types, and consequently removed all the type bounds. That's nice. It's more source code bytes in the end, but I'm finding it more digestible. Not to mention that this transmits more flexibility to the consumer of this code.

Now, why is that function that needed Clone still refusing to compile...

kccqzy,
@kccqzy@techhub.social avatar

@danderson I do not like the idea of making the caller's life hell. Whatever you are doing, make it easy to use.

skinnylatte, to SanFrancisco
@skinnylatte@hachyderm.io avatar

Maybe you only have 5 guests a day at your restaurant because you’re doing $100 dinners in the Tenderloin, not because you’re in the TL

https://sfstandard.com/2024/03/30/tenderloin-marketing-campaign-azalinas/

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte @Alon What is this high end Peking duck place in Millbrae? I used to go to this Peking duck place at 151 California Ave, Palo Alto but they closed a while ago. I haven't found any new place for Peking duck yet.

hyc, to random
@hyc@mastodon.social avatar

OK lazyweb, I've read a lot of wireguard docs but their explanations are all lacking. Anyone got pointers for these?

  1. my ISP doesn't support IPv6. I'm renting a VPS with v4/v6 addresses. I'd like to run wireguard and route all IPv6 traffic from my LAN out thru the VPS.

  2. I'd also like to connect from WG on my laptop to my VPS and get onto my home LAN. What happens if I'm on a hotel wifi whose subnet (192.168.1.x) is the same as my home LAN?

kccqzy,
@kccqzy@techhub.social avatar

@hyc I don't use WG per se but a different VPN for connecting my devices. To prevent that from clashing, I exclusively use IPv6 inside the private network with an ULA prefix. Nothing assigns IPv4 addresses.

danderson, to random
@danderson@hachyderm.io avatar

As I dig into OSM's schema, the sheer amount of collaborative work that's gone into this dataset really hits hard.

"I wonder how city boundaries are represented" took me on a wild ride through the documentation of boundary=administrative and admin_level=N, wherein OSM contributors have laid out taxonomies per-country, but often also per-region within countries. In Canada, Yukon and Quebec have different names and conventions for marking areas of the province, and so OSM varies its taxonomy.

kccqzy,
@kccqzy@techhub.social avatar

@danderson And looks like in the state of New York, New York City is admin_level=5 but every other city is admin_level=8.

timrichards, (edited ) to random
@timrichards@aus.social avatar

Well hurrah. And one day to spare.

kccqzy,
@kccqzy@techhub.social avatar

@timrichards Oh I didn't know each month's challenge is completely different. Mine is closing all three rings twelve times.

hyc, to Cats
@hyc@mastodon.social avatar

Don't buy appliances with touch-sensitive controls if you have . For me, it was just an LED desk lamp, no biggie. But can easily be worse:

https://mastodon.social/@dkellyj@mastodon.ie/111852942156651373

kccqzy,
@kccqzy@techhub.social avatar

@hyc The worst are these sensor-based water faucets. The cat jumps near the faucet. The water starts running.

skinnylatte, to food
@skinnylatte@hachyderm.io avatar

Finally saw the first recipe for a Singapore-style chicken rice that I think will meet my exacting standards (I'd like it to taste like something I can buy back home from the best stalls).

Unfortunately it will probably take more than four hours to prepare.

Fortunately, I love complicated recipes, especially in service of the tastes that I can't get anywhere else.

(It's behind paywall from a Singapore chef I follow, so can't share. It looks pretty close to what the hawkers do!)

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte By "the best stalls" do you mean something like Tian Tian chicken rice in Maxwell food centre? I find that any chicken rice in Singapore is better than the ones I can find in the Bay Area but among the ones in Singapore I couldn't really tell the difference.

sysop408, to sysadmin
@sysop408@sfba.social avatar

Ok, I'm embarrassed to admit this. I've run at least one server of my own for two decades and the user agent data in my server log files still perplex me.

Take this for instance:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36

Is this just a very complex way of saying the user agent was an old version of Chrome on a Windows 10 machine that was rendered with Safari/Webkit version 537.36?

kccqzy,
@kccqzy@techhub.social avatar

@sysop408 No. It's a really recent version of Chrome, namely version 119. It wasn't rendered using Safari or WebKit.

kccqzy,
@kccqzy@techhub.social avatar

@sysop408 I think the reason is that Chrome originally used WebKit, the same rendering engine as Apple's Safari. So at that time when Safari/webkit was considered to be the best rendering engine and websites were giving Safari the best content, Chrome didn't want to be left in the dust. That's why it pretended to be Safari. Chrome only stopped sharing a rendering engine with Safari since 2013, about five years after its birth.

The legitimate purpose is that some old sites from the late 2000s might give Safari a better webpage than other dominant browsers like IE, so Chrome pretending to be Safari gets these better webpages.

kccqzy,
@kccqzy@techhub.social avatar

@sysop408 A somewhat funny and outdated (2008) history of the user agent string: https://webaim.org/blog/user-agent-string-history/

mia, to random

every now and then i slightly worry about LLMs replacing part of my work as a translator but then i look at what the best publicly available machine translation services do to some of my entirely meme-free, subtext-free and completely unambiguous standard german posts, and a wave of relief washes over me as i remember: these things do not understand language at all. they’re an assistive technology at best and could not be trusted with a 3-page instruction manual

kccqzy,
@kccqzy@techhub.social avatar

@mia @hyc Still remembers that wonderful article that exploits basic differences between genders of possessive pronouns in English and Romance languages. Machine translation did not understand any language at all.

There's his car and her car, his towels and her towels => il y a sa voiture et sa voiture, ses serviettes et ses serviettes

skinnylatte, to random
@skinnylatte@hachyderm.io avatar

Sometimes I think about how growing up in Singapore let me see so many wonderful parts of the world. First year of college, first trip abroad solo, I managed to travel overland to Phnom Penh and Angkor Wat by train, bus, ferry, car ferry, minivan.

I inherited my mother’s sense of adventure (her idea of fun was to go go-karting in Borneo). I used to resent how we couldn’t go to Disneyland like my rich friends did (much cheaper to go to those places where we were) but now, what an adventure.

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte This sense of adventure is probably one of the most valuable things a parent can inculcate in their kids. Neither of my parents are adventurous, and in college I turned down opportunities for traveling that I would never be able to replicate again later in life.

skinnylatte, to random
@skinnylatte@hachyderm.io avatar

I really feel like learning to cook properly with a wok has improved the way I eat. Mostly it makes the style of eating I am used to, possible at home. Rice in the rice cooker, stir fry 2-3 small dishes, I am happiest eating in this way instead of in the ‘large entrée’ model (also in American English entrée means main, not appetizer, haha!)

For most people Kenji’s book on wok cooking is probably the most accessible. I went through my mum’s Chinese cooking books on stirfrying

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte Just decided to borrow this from my local public library! That's more accessible than finding your mum's cooking books :)

skinnylatte, to food
@skinnylatte@hachyderm.io avatar

Thinking about how in English, the word ‘bland’ has negative connotations, but in Chinese the word for bland 清淡 (qing1 dan4 in Mandarin, cing1 daam6 in Cantonese) is quite different.

It can mean delicate, pure, unseasoned but often it also refers to mad skills in cooking: some sifu was able to coax tremendous flavors from very simple ingredients, like, in double boiled soup in high end Cantonese restaurants ($25 per tiny bowl!)

I definitely seek that out in southern Chinese cuisines.

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte I went to this Cantonese restaurant in Daly City called Fresh Elements. They do simply steamed seafood just as you describe. No seasoning. Didn't end up liking the fish but everything else is wonderful.

malwaretech, to random

It's wild seeing talks on EDR evasion techniques. It's basically just the same antivirus bypasses we were using back in like 2008. Nothing has improved in over a decade.

kccqzy,
@kccqzy@techhub.social avatar

@malwaretech Sandboxie! A name I still miss.

gn, to random
@gn@mastodon.design avatar

Experimenting with some concepts for a sunrise sunset app. Which quadrant?

kccqzy, (edited )
@kccqzy@techhub.social avatar

@gn Top left for me! I like the sunrise/sunset graphics not to be covered by information so that rules out the two on the right. I also don't like relative time in all my apps.

mekkaokereke, to random
@mekkaokereke@hachyderm.io avatar

Gavin Newsom, looking with concern at his polling numbers a few months ago:

👨🏻Ugh! Why am I so popular? Am I too loved? Do the people love me too much? My burden!

👨🏼‍💼Not everyone loves you sir. Only your base.

👨🏻So clingy! Time to brush these fools back! Fetch me my veto pen!

👨🏼‍💼Right away sir!

👨🏻Alright, now who loves me the most? Who's about to catch some heat?

👨🏼‍💼Sir, you're polling well with LGBTQIA folks, Labor & Unions, and surprisingly, Asian Americans. Specifically, Indian Americans.

kccqzy, (edited )
@kccqzy@techhub.social avatar

@mekkaokereke @jwz I feel like this is a matter of some Indian Americans (presumably with higher caste) deliberately wanting this bill not to become law so they can still discriminate with impunity.

For example “The Hindu American Foundation and Coalition of Hindus of North America claimed Newsom’s veto as a victory for their advocacy efforts.” Quoted from https://apnews.com/article/california-caste-discrimination-ban-newsom-veto-eef696fa2e28476d566aa2f9ef3f1997

skinnylatte, to food
@skinnylatte@hachyderm.io avatar

This is the best coconut you can get without opening one yourself on a beach in Thailand. Relieved that I got so many, perfect for this heat!

https://www.sayweee.com/en/product/Coconut-Water-with-Pulp--Frozen/53636?referral_id=4972487&lang=en&utm_source=copyLink

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte Finally decided to buy this from Weee and I wasn't disappointed. Thanks for the rec!

skinnylatte, to magASEAN
@skinnylatte@hachyderm.io avatar

First hour of 20 hours of travel before I get to eat delicious food, enjoy tropical weather and see my loved ones.

I’ve decided my first meal when I arrive will be ‘zi char’. Zi char is 煮炒, also known as ‘dai pai dong’ in Hong Kong, the type of Chinese high heat cooking that warms the hearts of pyromaniacs.

Until then, there’s TSA, airport experiences, airplane food (thankfully not terrible on Singapore Airlines), and travel anxiety (I hate covid-era travel, obviously)

kccqzy,
@kccqzy@techhub.social avatar

@skinnylatte I used to take the United nonstop from Los Angeles to Singapore and it was extremely cheap. Like less than $700 for a round trip in economy. Sadly they discontinued it.

sysop408, to random
@sysop408@sfba.social avatar

It's that kind of day. Someone on social media is complaining that an event I posted that I described as a Fall Event is actually happening in Summer.

It's happening on the last day of summer. It's only ONE DAY premature.

kccqzy,
@kccqzy@techhub.social avatar

@sysop408 Also, the definition of the season actually differs. Here in America people usually think summer begins on the summer solstice and ends on the autumn equinox. But I think it is more sensible that summer is centered on the summer solstice; so it begins at the midpoint of spring equinox and summer solstice, and ends at the midpoint of summer solstice and autumn equinox.

hyc, to random
@hyc@mastodon.social avatar

Seeking opinions...

One of my old projects, RTMPdump, relies on OpenSSL for some crypto primitives, but the APIs it uses have been deprecated in 1.1 and newer. I'm wondering whether and how to support the newer versions.

Since we're supporting an ancient proprietary protocol, adopting new APIs to allow supporting newer encryption schemes is irrelevant. Avoiding weaknesses in older ciphers is also irrelevant, we have to use what Adobe used, and nothing else.

kccqzy,
@kccqzy@techhub.social avatar

@hyc My unsolicited opinion is to take the pieces of OpenSSL you need, vendor it (bundle it into your code), rename symbols so as not to cause conflicts, and then drop the OpenSSL dependency.

malwaretech, (edited ) to random

For anyone unaware, Google Chrome is currently rolling out an update that track your interests based on browsing history, then share them with 3rd party websites. The notification page makes it sound like they added a new privacy feature, but in actuality they automatically enrolled you into their tracking system and you have to go and manually opt out.

kccqzy,
@kccqzy@techhub.social avatar

@malwaretech It's a government mandated bullshit as a replacement for third party cookies.

When all other browsers disable third party cookies, everything is fine. When Google does it, antitrust regulators fear that this could benefit Google ads more than non-Google ads. Hence this bullshit.

codinghorror, to random

I love Apple's hardware, but what the heck is going on with the Apple TV? I've had to reboot multiple Apple TVs (latest model) multiple times just to get basic video playback going across several apps like Hulu and Netflix and HBO Max. You'll press play and it crashes back out to the main menu. Repeat. Repeat. Until you reboot..

kccqzy,
@kccqzy@techhub.social avatar

@codinghorror In case you are considering switching to Google TV, it's also buggy and unreliable. The Wi-Fi cuts out almost every other day, and I need to turn it off and on to work. It also randomly wakes up on its own just to shut down again.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • kavyap
  • DreamBathrooms
  • tacticalgear
  • magazineikmin
  • vwfavf
  • Youngstown
  • ngwrru68w68
  • ethstaker
  • slotface
  • rosin
  • mdbf
  • thenastyranch
  • PowerRangers
  • anitta
  • modclub
  • Durango
  • cubers
  • osvaldo12
  • GTA5RPClips
  • everett
  • khanakhh
  • InstantRegret
  • Leos
  • tester
  • normalnudes
  • cisconetworking
  • megavids
  • All magazines