HNHacker News
TopNewBestAskShowJobs

k_sze

2,432 karma · joined December 21, 2012

Python, Django, Groovy, and Grails beginner. Hacker Reborn. Dislikes the syntax of Objective-C. Abhors PHP.

[ my public key: https://keybase.io/k_sze; my proof: https://keybase.io/k_sze/sigs/uWPMz0iLZVW--W0utFDhUqLRvuFGKOamBD6AesHm3U0 ]

submissionscomments
k_sze··on Please, delete all new places since the start of war 23th of February
In the case of China, are you sure the offset is due to regulation and not simply some mismatch of geodetic datum?
k_sze··on Mozilla Hubs
That's also true and I agree. It's confusing. It also took me a while to realize that Firefox for iOS has gained the built-in password manager and that I could replace Lockwise (which, due to it often not responding to the iOS password autofill trigger, was really annoying).

I would have prefered if Mozilla simply fixed Lockwise.

k_sze··on Mozilla Hubs
Lockwise has been absorbed into Firefox now. So if you don't mind installing Firefox on iOS, you can install Firefox to get the password manager, which integrates with iOS's password autofill, even to a better extent than the old Lockwise app. The old Lockwise app tended to not respond from iOS' autofill "trigger". Firefox doesn't have this problem.
k_sze··on How IKEA tricks you into buying more stuff
We have IKEA in HK. I don’t understand how anybody can claim that its layout is maze-like. It is, to the contrary, expressly linear, with some shortcuts if you really want to skip some sections. Every section is also clearly labeled and you know exactly where you are at.
k_sze··on The cats sitting on a fence in early builds of Windows 8
Haha. I’m a guy and used to watch Sailor Moon with one of my best friends (also a guy) back in university.
k_sze··on The cats sitting on a fence in early builds of Windows 8
Are we sure those cats aren't Luna and Artemis from Sailor Moon?
k_sze··on Current MFA fatigue attack campaign targeting Microsoft Office 365 users
MFA fatigue wouldn't be such a big problem if their MFA and SSO implementation was not so utter shit.

Whenever I get a signin prompt, there is literally no way to tell what I'm signing in for.

When the MS Authenticator app receives a MFA request notification, there is, yet again, no way to tell what service the request is for.

To add insult to injury, when I need to signin again for a SharePoint guest account, it consistently fails to correctly redirect me back to the SharePoint folder.

Microsoft's MFA is just security theatre. Take MS Teams for instance. Why does it ask me to sign in again, and yet still allow me to read messages that are already on the screen? Worse yet, the MS Teams desktop app can still receive new message notifications and display them while I have not re-logged in yet.

k_sze··on Current MFA fatigue attack campaign targeting Microsoft Office 365 users
Nope. This is capitalism working as intended. They keep making money regardless of how crappy their products are. The problem is that those who suffer are not the ones making the purchase decision.
k_sze··on MonoLisa – A font designed for developers
Is ligature rendering context-sensitive? If I put => in a string literal in JavaScript/TypeScript and the IDE "helpfully" decides to apply ligature to it, I'm gonna go insane.
k_sze··on Singapore prime minister Lee Hsien Loong’s Sudoku solver (2018)
I don’t think B) is necessarily true.

I’m a software engineer/programmer by profession and schooling, but I have a life-long fascination with little critters, especially insects, and especially Apocrita and Lepidoptera among insects. I’m an avid participant on iNaturalist and have almost as much reputation on Biology StackExchange as on StackOverflow. I also enjoyed proofreading oncology papers for my brother in law when he was doing his PhD because that stuff is fascinating when you have somebody who can explain it to you.

I’m not spending more effort in biology or entomology mainly for three reasons:

1. lack of time, especially since getting married and having kids;

2. lack of mental energy partly due to kids, partly because I’m tired enough fighting inane requirements or some stupid half-assed TypeScript “framework” du jour every day at work;

3. I’m not confident I can make as much money in entomology as in I.T.

Lack of interest has never been one of the reasons for me.

k_sze··on Message in a bottle from Scottish girl found in Norway after 25 years
"Nautically" speaking, if you must release your bottle from the shore and not in the middle of the sea, how/where should you do it to ensure it travels as far as possible? That's a question that comes to my mind whenever I think about message in a bottle.
k_sze··on The Fireless Cooker That Feeds
Yep. It’s all just physics and chemistry.

There is a gradient of temperature from the surface to the inside of the food. Depending on the composition, it will take more or less time for the thermal energy to propagate.

In addition, cooking involves chemical reactions. Now, I’m not a biochemist, but if I had to guess, most cooking chemical reactions are probably endothermic (short of setting your food on fire), in which case the chemical reaction comes f cooking will remove thermal energy from your cooking medium (e.g. water or oil) and your cooking medium will cool down even if you had perfect insulation.

k_sze··on Heartbreaking: 6509 PSUs Fail After a Brief 22 Years of Service
All of my network devices have JAV actress names, lol.
k_sze··on I accidentally used YAML.parse instead of JSON.parse and it worked
TOML is good for config, but not for data exchange though. (Why would I need comments in a data exchange format? Comments are useful when you want to annotate some sample data for other developers who will consume or generate that data.)

Also, OpenAPI specs (also known colloquially as Swagger) can only be written in JSON or YAML.

k_sze··on I accidentally used YAML.parse instead of JSON.parse and it worked
I have a love-hate relationship with YAML.

Hate:

- human-wise ambiguity of its syntax (If I understand correctly, you "can" indent array items, but you don't have to. And than one guys says "OK, I'm gonna indent", and another guy says "Nah. I'm not gonna indent")

- still no support for datetime as a first class citizen

- strings usually don't need quotes, until they do (I prefer to always quote)

Note that two of the above points are about allowing inconsistent styles, which is a thing I hate.

Love:

- it supports comments whereas JSON does not. If the IETF ever officially updated JSON to support C-style inline (and maybe block) comments, I would absolutely ditch YAML.

k_sze··on New theory proposes ‘forgetting’ is a form of learning
Well, when you put it that way, it's pretty much like you said: "taichi" as an English word. I've always known "taichi" instead of "taiji" in English, even though I know the correct pinyin.
k_sze··on New theory proposes ‘forgetting’ is a form of learning
I was typing from a phone and didn't pay attention.
k_sze··on New theory proposes ‘forgetting’ is a form of learning
This reminds me of a funny passage in Jin Yong’s wuxia novel “The Heaven Sword and Dragon Saber”, where Zhang Wuji, the protagonist, learns taichi sword from his grand master Zhang Sanfeng.

Zhang Sanfeng demonstrated the whole taichi sword form to Zhang Wuji repeatedly, and after each demonstration, asked Zhang Wuji “how much have you forgotten?”

Zhang Wuji instantly got it and each time replied that he has forgotten more and more, while Zhang Wuji’s subordinates watched on the side and became more and more worried that their hierarch was forgetting his martial arts.

k_sze··on noDRM's GitHub repo DeDRM_tools is disabled due to Readium's DMCA notice
ebooks
k_sze··on Forced to sell chipless ink cartridges, Canon tells customers how to bypass DRM
I’d rather this DRM bullshit just stops. It’s a complete, utter waste of silicon.
k_sze··on I am a New York City public high school student. The situation is beyond control
If they stick to the routine and bare minimum, pretty soon they’ll be replaced by robots and software.
k_sze··on I found a one-char typo in the docs for Python's typing_extensions library
Creating an issue and getting somebody else to check-in the code for you doesn’t give you the same level of bragging-rights feeling as actually creating a PR and getting merged though, regardless of how trivial a fix it is.

I’m not saying that’s what is driving the OP, but I myself would certainly be driven by that to some extent.

k_sze··on Krita 5.0
Krita and GIMP serve different purposes, even though they have some overlapping functionality.

My understanding is that Krita is really for digital drawing, closer to Corel PaintShop Pro; whereas GIMP is for image editing, closer to Photoshop.

k_sze··on Amazon agreed to allow only five-star reviews for Xi’s book in China
I don’t know whether it’s just Amazon.cn serving up different content according to my IP. I just opened Amazon.cn from Hong Kong and what I saw is not that there are only 5-star reviews, but that there is no rating at all.
k_sze··on There’s no such thing as a tree (phylogenetically)
Can we say the same about moths? I’m an avid participant on iNaturalist. I record lots of moth sightings because there really are many beautiful moths in Hong Kong.

There’s a “Hong Kong Moths” project on iNaturalist, but adding observations to that project can be very frustrating because the observation must be in one of the defined (sub)families.

But to an amateur like me, a moth is a moth is a moth. Sometimes even the machine identification is way off and I know it’s a moth because of the general body features.

And I wouldn’t want to put it in a random (sub)family just to get the observation included in the project. I’d have to @mention some moth expert (e.g. @hkmoths, Dr. Roger Kendrick) to help me ID the observation first.

k_sze··on Stealth bomber in flight on Google Maps
Is there a way to view this map link without turning off incognito mode in Google Maps? It keeps bugging me.
k_sze··on Lithuania evacuates its embassy in China
He was at least studying for PhD in Law, according to Xinhua News Agency. I’m not entirely sure whether he ended up getting the PhD. The wording in Chinese is a bit ambiguous.
k_sze··on Lithuania evacuates its embassy in China
Stop spreading nonsense.

Xi Jinping studied chemical engineering. Zhu Rongji studied electrical engineering.

k_sze··on My Bose QC-35 II headphones burst into flames and left me with chemical burns
Is it lithium ion? or lithium polymer? Apparently there’s a difference and lithium polymer is supposed to be a lot safer.
k_sze··on Ask HN: How would a programming language look if designed by non-programmer
I don’t know R but SQL is definitely ugly.

There is no world in which listing the columns before the tables in a SELECT statement is a good idea. It makes intellisense/autocomplete awkward.

← PreviousPage 7 of 31Next →