Better HN
topnewbestaskshowjobs
Log inSign up

ridafkih

65 karma · joined Apr 12, 2022 (4y ago) · 31 submissions

Submissions

comment 1h ago · link · parent

If you get the chance, let me know if it's fixed now. c:

comment 1h ago · link · parent

Yeah, this is a CSS property. Let me toss it on really quickly!

comment 2h ago · link · parent

Did you mean the OffscreenCanvas is significantly worse? What device are you using if you don't mind me asking?

comment 4h ago · link · parent

Curious, can you tell the difference if you turn on Low Power Mode? The one on the left will drop to 30 Hz while the one on the rate will pin to the device refresh rate of 60 Hz. I am starting to think some people genuinely can't tell the difference between 60 Hz and 120 Hz.

comment 5h ago · link · parent

If you shake your hand in front of a strobe light, you should be able to count the afterimages, as if your hand was copied into multiple places in the same instant.

Same goes here. If you go to the first two grids, and you shake the square until you can count the afterimages, check to see if one shows more afterimages than the other despite the same speed.

If your device is genuinely limited to 60Hz for any reason or another, you'll see a little warning icon on the top-right.

It might be easier in Low Power Mode, as well. This'll reduce the requestAnimationFrame loop to 30 Hz, but the higher refresh rate examples in this post will show at 60 Hz.

comment 6h ago · link · parent

By "first example," do you mean the glass element on the top-left, or do you mean the first pair of grids?

Low to mid tier devices might get hitches on the glass elements since the glass runs on the GPU during scrolls. If you mean the actual first demo and the one on the right is rendering below 120 Hz, your device is simply not capable of it.

comment 6h ago · link · parent

You're the first person who has made that criticism that actually understood why glass was used for the demo page.

Every "liquid glass on web" library in existence falls short because it can't keep up the compositor refresh rate. Simple as that. Part of it was also bringing native UI to the web because I figured it'd be quite jarring to see a convincingly native element in a website for those familiar with web development.

As for using iOS, Apple doesn't use the glass effect (`_UILiquidLensView`) I used for the progress/scroll indicator outside of a very select few use-cases because (as is the case on this website) if it's not positioned squarely in the centre of your macula, the intensity of the refraction combined with the chromatic aberration makes it so that it appears flashy and distracting. I accepted it for the sake of the demo.

comment 7h ago · link · parent

Author here, I've added an option to hide it under the menu for future ocular migraine havers!

comment 7h ago · link · parent

Do you mind if I ask what model iPad & version of iOS you were on?

comment 2y ago · link · parent

Since the Messenger Application on desktop is much closer to the usage model of the Texts.com client. We want to replicate the desktop client as closely as possible. It can be assumed there’s going to be properties that are unique to the desktop client and vice versa.

comment 2y ago · link · parent

This only works on Android, we had no interest in intercepting the Android application.

comment 2y ago · link · parent

Their Android application in particular allows the participation in a developer program which allows access to one of these menus. Not available on macOS and iOS unfortunately!

comment 2y ago · link · parent

Fair! In that case, yes you totally have access to the payload before its encrypted.

comment 2y ago · link · parent

Good question, Proxyman is the one I'm using in the writeup. It does route all application through it on macOS, and you can proxy iOS devices as well by installing a self-signed certificate on the device and connecting it through the proxy.

comment 2y ago · link · parent

It prevents attack vectors that involve attacker-owned certificate authorities as well as compromised certificate authorities from exposing user-data.

https://sslmate.com/resources/certificate_authority_failures

comment 2y ago · link · parent

Not the case with asymmetric encryption, you could encrypt with a public key and only the server's private key would be able to decrypt it. Not even the client could.

comment 2y ago · link · parent

You're right, it probably could have been implemented by only assigning the output of the sandbox flag function in the consumer function to true, but in this case it worked fine. :)

comment 2y ago · link · parent

I will say that ChatGPT did a decent job of explaining non-documented instructions in prior attempts of binary patching.

Now if I could feed an AI a binary and have it tell me where what is happening in a very broad scope, that'd be a game changer, and I'd say that's quite attainable with a high-context window LLM as they seemingly understand hex-formatted byte-code quite well.

comment 2y ago · link · parent

It's probably a matter of priorities, as well as cost v. benefit.

Obfuscation would've had very little effect on the outcome of this experiment, but might've changed the approach to involve dynamic instrumentation a little more. The most effective obfuscation I've seen is VM obfuscation, but that presents a significant performance impact. Obfuscation would also make legitimate debugging harder.

Preventing modified binaries is done at the system level, and could feasibly be implemented at the application level and is common, but this functionality itself could be both bypassed, or modifications could simply be implemented after security checks have completed (once again, through dynamic instrumentation libraries like Frida).

Engaging in a cat-and-mouse game with reverse engineers probably isn't in Meta's best interest.

comment 2y ago · link · parent

> With Meta’s Messenger application for macOS being so close to the Texts.com model—that being a standalone desktop application—Batuhan İçöz who is leading the Meta platform project at Texts.com thought we could gain some valuable insight by analyzing it.

comment 2y ago · link · parent

Snapchat and TikTok both boast pretty gnarly RE-prevention measures.

comment 2y ago · link · parent

This was initially an internal post at Texts.com that we decided to share, and I scrapped mention of the fact I had tried the exact same approach a few weeks prior and reached my time-box as well.

I initially spent two hours trying to modify different instructions, and then gave up. I saw another blog post written by a reverse engineer by the name of "Hassan Mostafa" (aka cyclon3) that previously succeeded in the same approach (taking Hopper Disassembler to Instagram on iOS) and I was inspired to try again that night, but I had no luck. I even found and attempted to modify the same instructions.

I decided to call it quits, and then a few weeks later with a bit of a grudge, I spontaneously tried again and I had it done in about 30 minutes after finding the sandbox function.

23.

Sunbird / 'Nothing Chats' Is Not Secure(texts.blog ↗)

3 points · by ridafkih · 3y ago · discuss

comment 3y ago · link · parent

It acts as a linked device, and you are interfacing directly with Signal's servers with the same protocol that their desktop and mobile applications use.

comment 4y ago · link · parent

Author here, for the record, I never said the problem was the imposition of processes, I know that is totally necessary, and was listing great "pluses" to Jira as a management tool.

Something I think I could have iterated better in the blog post was that I believe Jira--even without all the bureaucratic processes it promotes--panders solely to higher-level management with zero regard for the ones interfacing with it: the engineers. That's the big issue I see.

I think Linear--by stripping away all the hullabaloo--continues to provide management good insight on team progress without abandoning the ones who actually use it on a daily basis.

I'm really hoping Linear continues to step up to the plate and manages to take on some of the features that make Jira a more attractive piece of software for a lot of people that are familiar with it veering Linear away from its great UI, speed, etc. However, I wonder how many people are actually picking Jira based on its merits rather than it just being what they're accustomed/used to, or simply not knowing there are other options out there.

comment 4y ago · link · parent

Huge oversight on my part, I think I've beaten this horse to death though, and will probably leave the topic for the time-being.

comment 4y ago · link · parent

Author here, was just Googling my post to figure out why it was suddenly getting tons of views. FWIW I love my job, not burned out, but yeah... dealing with Jira has been a serious pain in the butt, especially coming from Linear.

comment 4y ago · link · parent

Well put. Seriously.

comment 4y ago · link · parent

It shouldn't hijack it, but you're the second to complain on this specific topic, so I went ahead and removed it on the blog post screens.

I was initially trying to figure out if someone was DDoS'ing my website, but it seems as though the post just made it to HN. :P

comment 4y ago · link · parent

Was trying to figure out why my website randomly got way above its normal daily usage, looks like I found it.

FWIW, I went ahead and removed it on the blog post pages.

12