🤠 Everyone is welcome to ask and answer 😌 Please be nice 🗣 Let's use English so everyone can participate 😳 Keep media posts like GIFs and stickers to a minimum 🤖 Don't add bots to the chat More Info - t.me/TelegramDesktopTalk/7
The way I look at it so far, is that it requires a difference in mentality on the programmer's part. Many programmers I talk to, tend to think in terms of total memory availability (e.g. 6GB on Jake's part, 16-32GB on my part, I think 64 on yours?), which I don't think is the right approach. Modern operating systems do not allow you to take control of the entire memory contents at any point, in any configuration. For that, you need to be the operating system, and even then it only holds on technicality.
There are 3 system configurations that I am writing that 2kB project for. Those are the Arduino Uno, Arduino Mega, and ATtiny85. It helps to look at them as though they would be a Commodore or such. Clock speed is very important for a wristwatch project, same back then. It is what conceived the turbo switch. On the ATtiny85 (final target), I chose 4MHz where it will spend 20-24% CPU time to provide a basic serial console and draw the time and date. At 16MHz for the Uno and Mega, that is 5-6%. The crystal needs to be made more accurate on the Mega, drift is too high. On the ATtiny85, I will have to burn the fuses to use an external crystal, the RC oscillator is useless for a watch.
And lastly, in terms of memory, I could import one bitmap font that makes larger characters on my 128x32px display look presentable. One. Font. That's it. And even then it's already consuming more than half of the flash and memory space. I might want to remove some of the characters from the library I use for that font if necessary. Variables, let's talk about those too. In C, you need to size them properly in advance. I tend to stick with powers of 2 for size (e.g. 32 or 64 bytes), but they have to be as small as reasonably possible. When I allocate those, I don't even think about what I have available on the chip, I just assume that I have nothing and work up from there. That to exist in that memory space is a privilege, not a right.
An approach like this needs to be justifiable, sure. And while on those microcontrollers it's justified, maybe on modern systems it's not. But that mentality change, the sheer amount of things that learning to program those taught me... I wish more programmers would give it a chance.
Github page have flatpak/snap and generic builds
Читать полностью…Everything will come to an end.
Recently, a lot of things happened to me.
I'm tired.
What's my next step?
I don't know, I can't figure it out.
So now...
64Gram will stop maintenance for a while.
Will you come back?
Yes, but I can't give you a date.
Thank you for your understanding.
- Tir(ed Hu)sky
tdesktop has higher ram consumption on Linux typically
Читать полностью…See if you can make something on top of Telethon or libpurple / Pidgin perhaps, my userbot consumed 30MB from Telethon's imports. Meanwhile I'm not sure if libpurple stuff is well-maintained (had issues with it a few years ago) but worth a try I guess?
Читать полностью…as long it doesn't kills other process it's ok
Читать полностью…Seems like something a bot would post, the only messages from the account are the poll and the following messages
Читать полностью…i would like official telegram desktop introducing resumable downloads like unigram
Читать полностью…ouch, most devs, sleeping may be this time of the day!
Читать полностью…E.g. the explosive growth to 5-7B option conflicts with nationwide network effects. Telegram will most likely never gain significant market share in my homeland Belgium, unless WhatsApp ceases to exist or becomes revoltingly terrible. Has happened with Facebook (now predominately Instagram) and Marketplace (privacy laws created somewhat of a void), but I’m not seeing that with WhatsApp at the moment. And its disappearance from the market will create a short-term void, yes, but it’s no guarantee that Telegram will be the one replacing it. Quite frankly, our overall somewhat prudent society and obsession with laws and order will probably clash with the lack of platform moderation here.
Читать полностью…Why does is ask about Telegram Desktop then?
Читать полностью…i use a fork with a lot of features not the official tele desktop
Читать полностью…What do you mean by tg fork not getting updates on linux?
Читать полностью…it really depends on how many chats do you have
Читать полностью…Maybe later I'll give you some measurements of what tdesktop consumes for me, but I smell like plane and my energy level is basically dead 🥱
Читать полностью…Working on systems with 2kB of RAM (yes, no typo 😉) taught me that too... It's one thing for us to have tons of memory to gloat about (which is fine, show em when you got em), but we should in turn also acknowledge that the Facebookmachines (GPTmachines?) also still exist out there. Besides, this mantra of "screw it because I have tons of system resources" can also serve as an excuse for bad software practices down the road. Not just "import * because my system can handle it" but also just overall smelly code. If I wanted that, I would've stuck with something like Discord instead. Electron bloats it like all hell, and a couple dozen MB for what may well be a video stream... This is fine!
Читать полностью…what a nice way to judge a person, right! i like these polls, atleast he is trying to make conversation in a group which is awefully silent. why a poll bothers you? any particular reason? i dont see you participating in any kind of discussion and yet here you are complaining
Читать полностью…hmm, i had a pretty bad experience doing that many a times, on a limited bw mobile internet.
Thanks!
Overwriting the static binary with new or older, will always reset cache, or only if itsa lower version ? (requiring re-login)
Читать полностью…hello guys! whats new? tgdesktop is awefully silent nowadays!
Читать полностью…None of these outcomes seem very realistic tbh
Читать полностью…