Readit News logoReadit News
ronyclau commented on Huawei is spamming open source community for its Harmony ecosystem (See Comment)   github.com/search?q=%22Pr... · Posted by u/fernvenue
stop50 · 7 months ago
If someone thinks the issues are bad, the pullrequests are worse. Everything is duplicated under an "OpenHarmony" directory plus a bunch of useless files.
ronyclau · 7 months ago
Here's an example. This is the PR they created in lodash's GitHub repo:

https://github.com/lodash/lodash/pull/5980

ronyclau commented on Naomi Wu and the Silence That Speaks Volumes   hackingbutlegal.com/naomi... · Posted by u/dsr_
0cVlTeIATBs · 2 years ago
From my reading it sounds like her girlfriend Kaidi is under house arrest, and potentially both of them under surveillance. I'm guessing frequent checkins with the local police. Hope I'm not misinterpreting.

Article also notes her historic calling out of potential keyboard app keystroke siphoning threats in China could be related. Sogou input recently found to transmit every keystroke by Citizen Lab.

ronyclau · 2 years ago
I don't think she meant her girlfriend is under house arrest (though possibly too), I guess she meant she can leave the country but her girlfriend can't.

Uyghur are systematically suppressed and discriminated in China. It's very hard for them to get even a passport, let alone be allowed to leave the country legally. Given the situation of Naomi now, it's practically impossible for Kaidi to leave China.

ronyclau commented on Philips sets €575M aside for respirator lawsuits   nltimes.nl/2023/04/24/phi... · Posted by u/belter
salad-tycoon · 3 years ago
I, random person on internet, highly recommend resmed airsense. Make sure it’s apap model. Their naming schemes are confusing. I’ve used Phillips and resmed and resmed is so much nicer in every way.
ronyclau · 3 years ago
ResMed AirSense user here. Do take note that the water reservoir in the recent versions is prone to leakage after around a year of use, and replacing it is pretty expensive.

I sealed mine with food-grade silicone as fellow users in the internet suggested, and it's been good since.

ronyclau commented on The GTK+3 port of GIMP is officially finished   twitter.com/zemarmot/stat... · Posted by u/marcodiego
djur · 3 years ago
There's even a way to run 16-bit Windows binaries on 64-bit Windows now.

https://github.com/otya128/winevdm

ronyclau · 3 years ago
Oh my gosh. That screenshot of the Calculator alone brought back memories from my childhood.
ronyclau commented on Shell script best practices, from a decade of scripting things   sharats.me/posts/shell-sc... · Posted by u/sharat87
AtlasBarfed · 3 years ago
Hard Disagree. Bash programming:

- no standard unit testing

- how do you debug except with printlns? Fail.

- each line usually takes a minimum of 10 minutes to debug unless you've done bash scripting for... ten years

- basic constructs like the arg array are broken once you have special chars and spaces and want to pass those args to other commands. and UNICODE? Ha.

- standard library is nil, you're dependent on a hodgepodge of possibly installed programs

- there is no dependency resolution or auto-install of those programs or libraries or shell scripts. since it is so dependent on binary programs, that's a good thing, but also sucks for bash programmers

- horrid rules on type conversions, horrid syntax, space-significant rules

- as TFA shows, basic error checking and other conventions is horrid, yeah I want a crap 20 line header for everything

- effective bash is a bag of tricks. Bag of tricks programming is shit. You need to do ANYTHING in it for parsing, etc? Copy paste in functions is basically the solution.

- I'm not going to say interpreter errors are worse than C++ errors, but it's certainly not anything good.

Honestly since even effing JAVA added a hashbang ability, I no longer need bash.

Go ahead, write some bash autocompletion scripts in bash. Lord is that awful. Try writing something with a complex options / argument interface and detect/parse errors in the command line. Awful.

Bash is basically software engineering from the 1970s, oh yeah, except take away the word "engineering". Because the language is actively opposed to anything that "engineering" would entail.

ronyclau · 3 years ago
> - basic constructs like the arg array are broken once you have special chars and spaces and want to pass those args to other commands. and UNICODE? Ha.

Any example with this? The following works reasonably well for me.

  args=(-a --b 'arg with space' "一 二 三")
  someprog "${args[@]}"

ronyclau commented on CZ5B (Chinese rocket) Reentry Prediction   aerospace.org/reentries/c... · Posted by u/Kaibeezy
ronyclau · 3 years ago
There is a documentary named "Falling from the Sky"[1] from 2009, which depicts how scared and helpless people in a Hunan village were, every time a rocket wss launched from Xichang Satellite Launch Center. The village was located within the area where rocket debris would fall, and the villagers were basically told to suck it up by officials.

[1]: https://www.imdb.com/title/tt2136916/

ronyclau commented on Show HN: I built an interactive course that helps you learn Vim faster   vimified.com/... · Posted by u/Silica6149
JulianWasTaken · 3 years ago
Do what makes you happy, but just in case you weren't aware, vim supports editing over SSH natively, so there's not really a need to skimp just because you need to edit files remotely, you can use your local machine's setup to edit remote files. The SCP incantation is `vim scp://user@myserver[:port]//path/to/file.txt`, or see `:h netrw` or various tutorials you'll be able to find.
ronyclau · 3 years ago
Two suggestions:

1. Prefer sftp over scp whenever it's available. The scp protocol is pretty obsoleted. Just substitute `scp` with `sftp` in the command.

2. Turn on ssh multiplexing to drastically shorten the wait time when opening a file.

ronyclau commented on What’s the best lossless image format?   siipo.la/blog/whats-the-b... · Posted by u/pmoriarty
zarzavat · 4 years ago
In vim wouldn’t you just remap everything so that the physical keys stay the same in normal mode, and only use an alternative layout in insert mode?
ronyclau · 4 years ago
There's too much cognitive overhead if you do this. For example, to change a word we use `ciw`, which roughly means "Change Inner Word" as a mnemonic. There are quite a lot of similar keys with mnemonics, which would prolly make no sense if you keep the QWERTY keypresses on a Dvorak layout.
ronyclau commented on My own phone number is now spam texting me   theverge.com/2022/3/28/22... · Posted by u/Syntaf
consp · 4 years ago
> I don't think a whitelist of phone numbers is a workable solution for most people.

My local hospital telephones with private numbers, which is the only reason I cannot completely block them and thus cannot use a whitelist. Outside of working hours I do not answer them. I told them it is a problem and they placed a note in my record to call me from a public phone which is nice of them (not their own desk but from a service desk which has a number displayed) but I imagine they sadly sometimes forget.

The UK number is a hassle too, all kinds of +44 numbers spoofing or reusing existing non-fixed location numbers to seem legitimate since some phones provide direct listing of the name of the company. They are actually foreign redirects which cost insane amounts of money if you call them back.

I would also like a native way of blacklisting number blocks (like +44), my phone currently can't unfortunately.

ronyclau · 4 years ago
Not from the UK, I don't actually get why calling a local/in-country number could incur high cost. How could one identify a paid/free/local number without trial-and-error?

In my country, you only incur normal minutes when you call an ordinary non-overseas number. By ordinary, these numbers have a normal number of digits, and a known prefix. Paid call always have shorter or longer phone number.

u/ronyclau

KarmaCake day138October 10, 2017View Original