@water Yeah that was the issue.
@trinsec My thoughts exactly :)
Last night(Tehran time), students of my university were waiting for the bus. The forces thought they are protestors and beated them.
I am trying to calculate factorial of 30 using x86_64 assembly on Linux. Here's my code:
```
.global _start
.text
_start:
mov %RCX, 1 # counter
mov %RAX, 1 # factorial result
loop:
mul %RCX
inc %RCX
cmp %RCX, n
jle loop
.data
n: .byte 30
```
I am converting it using these two commands:
```
as file.s
ldd file.s -o a
```
However when running the executable `a`, segmention fault is raised. checking with gdb it seems that it is raised right at the first instruction after `_start`. Where am I wrong?
#asm #assembly #x86 #x86_64 #linux #debugging #programming #segfault #segmention_fault
@rastinza No program is taking 8 GB. But #LibreOffice is extremely slow to load and when it is loaded it takes a lot of RAM. #Firefox has the same problem but I have it open all the time and I can take care of the number of open tabs.
It has been a long time which there is a question in my mind. There are cheap #sbc s around. For huge computings on CPU, would many #ARM based single board computers like #Raspberry_pi or #nano_pi replace a single #Intel? If this is possible and considering that softwares are equally optimized on #x86 and ARM, the obvious advantage of a bunch of ARM tiny computers as a whole cluster over a single x86 would be that they consume much less power, thus they generate much less heat and hopefully longer product life. Also if any of them went down, your whole computing resource is still available but with a little less computing power. I have a NanoPi NEO and a 3rd gen Ci5 M series. But a piece of software is needed which could benchmark both my x86 and my ARM and on the compiler-level, is optimized equally for both.
@marathon0 8 GB is enough for my programs.
Among the #GUI programs on my PC, I like my Terminal Emulator only. I have a slow HDD and whenever I want to open one of those GUI programs, they want to load soooo much from my Disk so they are much slower to load. Also when I don't use them for a while and their data on memory get placed in my swap space, having them back is again as slow as loading them almost. It seems that because computers have more and more memory, newer versions of programs want to waste more and more memory. #memory_waste #huge_memory_usage #linux #tech
Using E-paper displays on resource-constrained MCUs
https://bitbanksoftware.blogspot.com/2022/10/using-e-paper-displays-on-resource.html
September - This Month in #Minetest
This month, TurkeyMcMac joined the core dev team, post-processing and bloom were merged, and Android crosshair support was added. Minefall released on ContentDB, BlockExchange got a graphical rework, and more!
Latest Minetest CTF video from Farooq:
https://peertube.linuxrocks.online/w/aSoWCo4iCveFKQ2BvLf3KQ
How is my English accent?
#minetest #minetest_ctf #foss #foss_gaming #gaming #minecraft #pvp #minetest_pvp #poll
@realaravinth @humanetech@mastodon.social @lucifargundam @theenoro @codeberg@mastodon.technology
Hmm dumbserve looks nice and similar to what I've done for https://github.com/farooqkz/chooj
But I think it's much better if you let something like nginx handle incoming requests for downloads.
https://github.com/realaravinth/gitpad/blob/master/.github/workflows/linux.yml#L62
Here, you just need to add additional stuff for other platforms. For now I think you'd better support as many as possible but only those which work out of the box.
@realaravinth @humanetech@mastodon.social @lucifargundam @theenoro @codeberg@mastodon.technology
Yeah I meant the latter. But maybe not only for Linux. You could have the build binaries for the latest commit in dl.gitpad.org or anywhere else you prefer.
@realaravinth @humanetech@mastodon.social @lucifargundam @theenoro @codeberg@mastodon.technology
Oh you are the developer! I am honored :D
I have forked your repo to add automatic build for each push. Do you have anywhere to host the build artifacts?
@al1r4d Salam to you :)
Can you explain more? Did you understand what do I want to achieve?
@max @theenoro @lucifargundam @forgefed
Just checked it out. Perhaps #gitpad must implement #forgefed instead of #activitypub ?
@humanetech@mastodon.social @lucifargundam @theenoro @realaravinth @codeberg@mastodon.technology
The project Gitpad definitely looks promising and I hope success for it. The first thing which I checked in it's repo is the #programming #language used. I was hoping it's not in #Python or #Javascript and luckily I saw it's in #Rust
Also #ActivityPub support is in their TODO list. The least I can do now is staring their repo. Maybe in near future I could create a small CLI to post a #gitpad without leaving terminal.
And finally, a community maintained list of current active instances which registration is public in them would be nice as well. Let me know if such a thing already exists. Otherwise I will create if myself.
Hello all. I was thinking of a #static #RSS #aggregator. So that one(possibly myself) could create a unified #feed which is created by combining multiple RSS sources plus a good looking static HTML output. So that anyone could run such a thing only with static hostings which a lot of them are out there these days and a #CI #CD runner like #Github #Actions or the one #Gitlab has. I wanted to know if such a thing already exists. If not, I would be happy to create one myself with #Python or perhaps #Rust
@anjan Email is indeed federated but I was thinking of something like Mastodon-like capabilties and features but for code sharing.
Programmer with Python and Javascript and newly Rust. Attending Hormozgan University. LOVE CS and Math.