Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
t_mahmood
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
t_mahmood
6mo ago
I've had issues compiling Python 3.12 on ArchLinux when Python 3.12 -> Python 3.13 happened, and few of important packages broke. So I had to compile older version of gcc and build Python 3.12 So, it can happen in any programming la
62.
▲
by
t_mahmood
6mo ago
Yes, after changing the ssh port, and fail2ban on the server completely stopped those pesky ssh log in attempts. But, on home computer, I do not want to be bothered with all the security efforts, and want to keep it simple. But I have plans
63.
▲
by
t_mahmood
6mo ago
Yes, not what I want :-). I can focus just fine. I want to detect if a text_input is focused, when I am checking key-presses. But going through every discussion and all, there was a PR that might have allowed to do this, and it's been
64.
▲
by
t_mahmood
6mo ago
The number of attempts were staggering though, i think there were requests every seconds non-stop. Once I changed the ssh port to a large number, the OOM and heavy CPU usage stopped, and never came back. So, I think I'm safe, though I
65.
▲
by
t_mahmood
6mo ago
Well, after changing the ssh port to something really big, OOM and heavy CPU usage stopped, as I was still using that public IP, so concluded it was not an inside job . There were like thousands of requests in an hour, and that went on cont
66.
▲
by
t_mahmood
6mo ago
It's not a bug, Its how it works, from my experience.
67.
▲
by
t_mahmood
6mo ago
Well continuous attempts definitely bogged down my desktop pretty bad. Also, getting OOM on a 64gb machine multiple times a day is quiet annoying. And one simple mistake, and we're screwed
68.
▲
by
t_mahmood
6mo ago
About security, wall of shame story, Once I had Postgresql db with default password on a new vps, and forgetting to disable password based login, on a server with no domain. And it got hacked in a day, and was being used as bot server. And
69.
▲
by
t_mahmood
6mo ago
SQLite is fine, but I have ran Postgresql on a $20 server without any issues, and I would suggest if you have to deal with concurrent users and tasks, Postgresql is the way to go. SQLite WAL works, but sometimes it caused some issues, when
70.
▲
by
t_mahmood
6mo ago
Sorry if I'm reiterating known point, when the storage is full, API will stop working, so you won't be able to download files at all. So you are completely stuck if you have too many files. Like I had. I used to keep pictures on o
71.
▲
by
t_mahmood
6mo ago
I'm working on a daily journal app using rust and iced. Where you can quickly jot down your thoughts or information in a single line All data are stored in text file, following the most general markdown formats, so it's easy to ju
72.
▲
by
t_mahmood
6mo ago
Have a question, what is the best way to detect if a `text_input` is focused?
73.
▲
by
t_mahmood
6mo ago
Hm, I believe my wording is bit unclear. The trait system can really get complex as your widget layout gets more complex, and you want to write reusable components, But there's no clear way to understand what's the type it's
74.
▲
by
t_mahmood
6mo ago
Good thing about iced is, you get a compact executable, runs on any OS, looks exactly the same everywhere, perform much better than web based UI, no need to manage any permission to access local files, and you can customize the look as you
75.
▲
by
t_mahmood
6mo ago
To me it felt like it will break if I look at the code from down to up instead of up to down. And then I have to recompile flutter, the bridge and nuke the whole rust package folder to make sure it's clear and in workable state, then f
76.
▲
by
t_mahmood
7mo ago
And I love my multi monitor setup, because each monitor has its own set of app, and I can remove window switching by a lot. I put my browser on 2k monitor so no need to fight with resolution and other things but IDE is always on 4k monitor,
77.
▲
by
t_mahmood
7mo ago
Yep, I just turn on the Leechblocker's lockdown mode which blocks all the distracting sites on my browser, I can focus on my work, without giving up any of my monitors, and all the advantages they provide me
78.
▲
by
t_mahmood
7mo ago
Um, I am sorry, in the current context, Why do you think of all, we still pay Google? :-)
79.
▲
by
t_mahmood
7mo ago
Why would I pay Google after this? I have gotten rid of Xiaomi a long time ago. For now, I am rolling with my OnePlus 7 with LineageOS, till I find a phone that's not completely locked down. Yes, it's old, but it gets my job done.
80.
▲
by
t_mahmood
7mo ago
Same with bootloader unlocking isn't it? Ah, its not much, just an email away ... oh, not much it's email and a phone call away ... Just wait 7 days ... no, it's just a month, and only one device par account? What's wron
81.
▲
by
t_mahmood
7mo ago
Any cable, I tell you ... any cable. Ruined multiple USB cables, and almost went through two Laptop charger cable.
82.
▲
by
t_mahmood
8mo ago
Location: Bangladesh Remote: Yes (preferred) Technologies: Rust, Python, Backend development, Web development, Htmx Github: https://github.com/tmahmood Email: mahmood.tarin@gmail.com Backend developer with ov
83.
▲
by
t_mahmood
8mo ago
Who's going to verify it's accurate?
84.
▲
by
t_mahmood
8mo ago
A manager is not going to handle all the nitty gritty details, that an engineer knows, fine say, they can ask a LLM to make a web portal. Does he know about SQL injection? XSS? Maybe he knows slightly about security stuffs and asks the LLM
85.
▲
by
t_mahmood
9mo ago
Ah, "It's work on my computer" edition of LLM.
86.
▲
by
t_mahmood
9mo ago
Yeah! I use JetBrains AI assistant sometimes, which suddenly showing only blank window, nothing else. So, not getting anything out of it. But I can see my credits are being spent! IF I was totally dependent on it, I would be in trouble. For
87.
▲
by
t_mahmood
9mo ago
First, it's not destroying the planet, because the planet will chug along just fine, but it's making the planet inhabitable for us. Dynamite is an efficiency tool, but in the wrong hand, it's used in ways that are not good. A
88.
▲
by
t_mahmood
9mo ago
Is it not?
89.
▲
by
t_mahmood
9mo ago
And, the end result being devastation of forests, ecosystems, animal life, fast track climate change etc.
90.
▲
by
t_mahmood
9mo ago
They will prefer to band up with Google, and rip us off.
More ›