Mohammdd Alhalwachi

88 posts

Mohammdd Alhalwachi

Mohammdd Alhalwachi

@malhalwachi2000

Software engineer building in public. Try ScoutlyAI, a platform to monitor competitors social media: https://t.co/j8IpWQeICl

Katılım Aralık 2017
49 Takip Edilen5 Takipçiler
Sabitlenmiş Tweet
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
Published ScoutlyAI 🥳🎉🎊 A platform for businesses to track and monitor their competitors and receive the insights they need! Give it a try: scoutlyai.com
English
0
0
1
126
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@mahdi_tcs_ If I had to guess, some scripts or code depend on the opened file name. Returning multiple files for the same name would break them.
English
0
0
0
8
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@wiedymi @jarredsumner React is more of a templating engine that can be used anywhere. That’s a significant advantage. Without React, you’d have to build something similar for your project, maybe with a simpler feature set. I’ve seen monstrosities that React would have been a better choice for.
English
0
0
2
102
Wiedy Mi
Wiedy Mi@wiedymi·
@jarredsumner That make sense, but we really need react outside of browser?
English
2
0
7
2.1K
Jarred Sumner
Jarred Sumner@jarredsumner·
today I learned react is slower outside the browser than in the browser react-reconciler needs to integrate with the event loop well Fiber creates too many objects react-compiler slightly helps
English
23
10
693
49K
Silent
Silent@__silent_·
Sure, close my PR without giving me a chance to fix my mistake, and then re-open it yourself, you're welcome.
Silent tweet media
English
16
12
1.5K
148.8K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@thdxr Would love to see OpenCode integrated with Microsoft Copilot (not GitHub Copilot). Would be helpful for enterprises that only have access to that. It doesn’t seem to have limits either.
English
0
0
1
125
dax
dax@thdxr·
in opencode v1.1.11 you can now use your ChatGPT Plus/Pro plans in OpenCode /connect to set it up
dax tweet media
English
292
223
4.7K
984.6K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
I am building Runes: a graph-based personal task tracker. Instead of lists, tasks are connected as a graph: showing dependencies, relationships, and how work evolves over time. Built on @zero__ms for local-first and instant updates. Would love feedback 🙌 Link is below.
English
1
0
0
19
JJ Mata
JJ Mata@jjmata·
@tebayoso @GithubProjects @maybe Nope! We changed only what they requested for trademark/confusion avoidance. Not hiding any of that! Love what they built and didn’t want to see it rot. ❤️
English
1
0
3
143
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@sashank_ps @SumitM_X If you’re fetching roles from the database, a simple session with cookies or an API token is the appropriate approach. JWT is designed to be self-sufficient, allowing it to authorize the user. You should resolve the role from the JWT. JWT has its applications.
English
0
0
3
434
SaPii
SaPii@sashank_ps·
@SumitM_X I'd say it's more secure to fetch the roles from the db. It just comes to what u need, speed or security.
English
7
0
24
7.3K
SumitM
SumitM@SumitM_X·
A user edits the payload of their JWT , changes his role to Admin and sends it to access a protected API. How does your system detect the tampering, which JWT part is responsible, and what happens during authentication and authorization when the token is invalid?
English
97
17
442
137.3K
cameron petitti
cameron petitti@cameronpetitti·
Years of work is finally ready. Introducing Crosspost.
English
649
918
19.3K
4.5M
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@mork1e @sorenblank Thats true. But usually users will refresh to check it was sent. If it is then they trust your software and appreciate how fast it is.
English
0
0
0
81
Mork1e
Mork1e@mork1e·
@sorenblank I disagree. We’ve kinda been trained to expect loaders. If it’s missing you don’t trust it actually got sent. Like on your second one my reaction was “mm, something went wrong and it’s a bug”
English
5
0
296
13.7K
Soren
Soren@sorenblank·
for such case where the request is almost instant ( <100ms ), jumping directly to a `success state` is much more cleaner than adding artificial delay imo. imo loading states are generally ambiguous and means nothing without a proper `success state`.
Emil Kowalski@emilkowalski

Artificially delaying writes like form submissions can give your users more confidence that their changes went through. It gets annoying in high-frequency apps like Linear, but it feels better than an optimistic update during occasional submissions like a contact form.

English
75
87
4.4K
887.9K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@shadcn More content (either components or just docs) on the best practices for some UI components or UI in general. For example, complex select inputs should have a search and a quick-add feature embedded with the ability to open a table for more complex selection. And how to compose.
English
0
0
0
9
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@aboodman @dimaip @convex I switched from Convex to Zero for one reason, Convex didn’t sync locally first. It waited for data to come from the server. It did play well with my app paradigm. But I like the instant feel of Zero.
English
1
1
14
8.9K
Aaron Boodman
Aaron Boodman@aboodman·
Simple vs Easy: A Parable From Rocicorp. From the start, Zero had both "CRUD" and "Custom" mutators. The custom ones were more powerful, and what users wanted. With one flexible abstraction, devs could implement validation, business logic, permissions, side-effects, and more.
Aaron Boodman tweet media
English
5
2
59
6.5K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
Banks relying on client side protection gives them false sense of security and makes it harder to work with (or around) it. Avoid if not required by regulations.
English
0
0
0
6
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
The only time where encryption and protection on the client makes sense is in multiplayer games, where you have to trust client validation as doing all the processing and validation on the server is prohibitively inefficient. /2
English
1
0
0
9
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
HTTPs is sufficient. Adding your own layer doesn’t protect you from a malicious actor altering data in transit, it only makes it a bit harder. The only fail-proof approach is simply validating on the server and treat client side validation as a UX improvement. 1/
Chizi@chiziaruhoma

Client side encryption is great and recommend but always assume any client side code can be read in plain text by attackers, so your encryption algorithm can definitely be recreated if the attacker has your time, the only true solution to this is end to end encryption using both symmetric and asymmetric encryption (EEE)

English
1
0
0
24
Damon Chen
Damon Chen@damengchen·
🇨🇳 The number keypad in banking apps is never the same. It randomizes the digits, so every time you enter your password, the layout is completely different.
Damon Chen tweet mediaDamon Chen tweet media
English
23
2
80
19K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@phonefuturist In this case, uniqueness provides no (or arguably less) value. Seems the consensus that the Apple design is the better approach.
English
0
0
0
33
Schrödinger
Schrödinger@phonefuturist·
We've gotten to a time where all UI are just different version on the same architecture. Zero uniqueness.
Schrödinger tweet media
English
154
488
11.8K
555.5K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@brankopetric00 Isn’t the premise of Lambda’s that it allocates granular resources on demand? Why not just normal servers at this point?
English
0
0
0
234
Branko
Branko@brankopetric00·
API Gateway had 500ms of added latency. Turned out to be Lambda cold starts we didn't know about. The symptoms: - API latency increased - P50: 150ms (fine) - P99: 750ms (bad) - Some requests crazy slow - No pattern What we checked: - Database query time: fast - Application code: optimized - Network: good - Load balancer: healthy - Everything looked fine The investigation: - Added detailed timing - Request enters API Gateway: 0ms - Request reaches Lambda: 500ms - Lambda executes: 150ms - Total: 650ms - Where's the 500ms? The discovery: - Lambda cold starts - We knew about them - But thought we solved it - Provisioned concurrency: 10 - Should be enough The actual problem: - Traffic spiked to 50 concurrent - Provisioned: 10 - Remaining 40: cold start - Each cold start: 500ms - Happens on 80% of requests Why provisioned concurrency wasn't enough: - We set it based on average - Not peak traffic - Peaks were 5x average - Provisioned concurrency doesn't auto-scale - It's fixed number The options: 1. Increase provisioned concurrency: - Cost: $40/month -> $200/month - Wasteful during low traffic 2. Optimize cold start: - Reduce package size - Got it: 500ms -> 200ms - Better but still present 3. Keep Lambda warm: - Scheduled pings - Hacky We combined all three. The results: - P99: 750ms -> 180ms - Less cold starts (~ 15% requests) - More predictable What we learned: - Lambda cold starts are real - Provisioned concurrency is tricky - Best for constant load - Peak traffic needs different approach Know your architecture limits. Lambda isn't always the answer. Cold starts matter for user-facing APIs. Consistent latency beats sometimes-fast.
English
27
21
309
27.8K
👾AI Operator👾
👾AI Operator👾@InfraScaler·
@levelsio You don't need to compromise the CA, you can convince the user to install your root CA cert. At the end of the day, the threats are more related to social engineering than to technical marvels.
English
7
0
84
7.7K
@levelsio
@levelsio@levelsio·
DNS hijacking is close to impossible these days because browsers verify HTTPS certificates, and reject if the SSL cert doesn't match They can't generate a proper fake SSL cert without compromising a CA (certificate authority) HTTPS is extremely safe because it's encrypted even on untrusted WiFi Worst that can happen is NSA has a backdoor in the encryption standards and the US gov can read what you do (probably)
yearn.work@primord_io

@levelsio You connect to my wifi, my dns will tell you Google is at 10.69.69.69. the certificate is from let's encrypt. I have the pem. Everything is encrypted but I can decrypt it.

English
123
120
2.1K
412.4K
Mohammdd Alhalwachi
Mohammdd Alhalwachi@malhalwachi2000·
@darrenjr Thats exactly what I am building!!!! scoutlyai.com I am more than happy to offer extended trial and discuss which you additional source types to monitor
English
0
0
0
13
darren
darren@darrenjr·
i still want an ai competitor watcher just 24/7 monitor my competitors - blog posts, rss feeds, git commits, tweets, linkedin, openapi spec updates etc summarize it and alert me in slack i’d pay for this right now
English
128
20
715
100.4K