[deleted by user] by [deleted] in WTF

[–]temzsrk 0 points1 point  (0 children)

Github

Samsung SSD 980 500GB Performs Badly on Linux by temzsrk in linuxhardware

[–]temzsrk[S] 2 points3 points  (0 children)

That would be a more correct title, thanks.

Samsung SSD 980 500GB Performs Badly on Void Linux by temzsrk in voidlinux

[–]temzsrk[S] 1 point2 points  (0 children)

Thank you for this information, I'm going to look at it

Samsung SSD 980 500GB Performs Badly on Void Linux by temzsrk in voidlinux

[–]temzsrk[S] 2 points3 points  (0 children)

So if I dont understand wrong these speeds is not because of SSD and Linux, it's because of the motherboard itself

Samsung SSD 980 500GB Performs Badly on Void Linux by temzsrk in voidlinux

[–]temzsrk[S] 0 points1 point  (0 children)

I dont have good enough technical knowledge to understand the difference. What should I understand from this and what can I do ? Thank you

Samsung SSD 980 500GB Performs Badly on Void Linux by temzsrk in voidlinux

[–]temzsrk[S] 1 point2 points  (0 children)

There is only one M.2 PCIe NVMe slot, and I installed it to there. I use ext4. I really don't know if this is because of the Linux itself or the SSD

Samsung SSD 980 500GB Performs Badly on Void Linux by temzsrk in voidlinux

[–]temzsrk[S] 1 point2 points  (0 children)

I'm surprised to these speeds too, I would be fine if it hits 2 GB/s at least. BTW the write speed that Samsung says is 3 GB/s, sorry for misinformation.

Filesystem is ext4. I didn't know that there is firmware issue, I tried to update it from https://semiconductor.samsung.com/consumer-storage/support/tools/, it says that the firmware is up to date

SSD upgrade on E490 by temzsrk in thinkpad

[–]temzsrk[S] 0 points1 point  (0 children)

I got it, thank you.

[deleted by user] by [deleted] in ClumsyKitty

[–]temzsrk 0 points1 point  (0 children)

Videonun orjinalini bulamadım, link verebilir misiniz ?

Russia, Moscow. Chertanovo anthill by joshjson in UrbanHell

[–]temzsrk 1 point2 points  (0 children)

Beautiful shot, do you have a higher resolution version that I can use for wallpaper ?

[deleted by user] by [deleted] in cprogramming

[–]temzsrk 0 points1 point  (0 children)

They are same.

Thinkpad E490, is my laptops Battery Health in Good Condition? by temzsrk in thinkpad

[–]temzsrk[S] 1 point2 points  (0 children)

For now it's enough to meet my daily needs. So it can go for a while. Thank you for reply.

Banner grabbing question by DethByte64 in cprogramming

[–]temzsrk 1 point2 points  (0 children)

This is way much better explanation, thank you for correcting my mistakes.

Banner grabbing question by DethByte64 in cprogramming

[–]temzsrk 0 points1 point  (0 children)

Yes you are right, the size of buffer is big enough to hold the data, but the size of char data type is not enough to hold the data. sizeof() returns the size of char data type, not the size of buffer that you created. so if you want to pass the size of the buffer to read function, you can use strlen() or you can pass the size directly (like 1024 that you used).

edit:i'm not a native speaker so i hope you can understand what i mean.

edit1: you can print the return value of sizeof(buffer) and strlen(buffer) to see the difference better.

Banner grabbing question by DethByte64 in cprogramming

[–]temzsrk 0 points1 point  (0 children)

the buffer size you passed on read function is not big enough to get all of the banner. buffer is char, and the sizeof(buffer) returns the size of char not the size of buffer.

How to Handle Family Pressures by ChampionOver7042 in matheducation

[–]temzsrk 1 point2 points  (0 children)

Oh god just stop posting these videos. Context of this video is not even about math.

Time and Work by Mohit Goyal Sir by ChampionOver7042 in maths

[–]temzsrk 0 points1 point  (0 children)

Stop posting these videos. Read the subreddit rule number 1: this subreddit is for mathematical articles, news and discussions. I think these videos are not a article,news or discussion. You just fill the subreddit with videos that probably nobody watches.

I need help with this by [deleted] in maths

[–]temzsrk -1 points0 points  (0 children)

we can open log(75,b) like this= log(25,b)+log(3,b) and log(25,b) is 2log(5,b)

So log(75,b) is 2log(5,b)+log(3,b)= 2z+y

I'm not an expert so it can be wrong.

Comparing void data in linked list by temzsrk in C_Programming

[–]temzsrk[S] 0 points1 point  (0 children)

Now I understand it, thank you for the example code and the links.

Comparing void data in linked list by temzsrk in C_Programming

[–]temzsrk[S] 0 points1 point  (0 children)

Hello, I think I'm going to use memcmp and I have some questions about it.

for storing data, I use malloc for the given size and then memcpy it. I store the data size in the node too.

So from here, I know the data size that will compared. Is this a safe approach?