u/Obvious_Seesaw7837

Making a magazine for Software Developers and Casual Programmers

Hi everyone, this is basically just an idea I had, and this is the only subreddit that came to mind. I am a Junior Developer, and I really like to read about programming and I like computers, I don't really care about jobs and things like that, I have just always liked computers and everything about that. I have a blog where I write about programming, and I made it 2 months ago, and I have some posts on it, and some prepared to put in for later.

I had this idea, what if I made a magazine where anything interesting or new, maybe even really old about programming can be taught and introduced to the readers. Maybe some ways to think about computers that were not there for beginner programmers and things like that.

I personally like the idea of moving to more physical medias instead of going full digital, since with AI and Cloud computing, things have been and will be continuing to go south. I see this as an opening to create something physically present and something personal, since that is what technology is lacking today, as everything is a subscription.

My question is, how hard would this be to implement, as I am from the Balkans, and I would like to write the magazine in English and try to place it around the market and promote it, I was also thinking about shipping and things like that.

Any advice would be very useful, since I don't know anything about this, it is an idea that came to mind after a lot of time of learning and reading about fun things of computing.

Thank you all in advance and good luck with your business ideas!!!

reddit.com
u/Obvious_Seesaw7837 — 24 hours ago
▲ 1 r/pop_os

Problem with sleep and suspend race condition, if that is even the problem

Basically I close the lid on my laptop, then I come back to my laptop after some time, and reopen the lid to continue working, then when I see the screen, I firstly see for a few seconds my desktop working environment with the Suspend warning on top, sometimes not even with that warning, and then it stops and then shows the log in screen.

This problem persists, I ran this script in bin/sleep:

case $1 in

pre)

exit 0

;;

post)

/bin/sleep 2

;;

esac

but it does not work at all. Another thing is that HiDPI is disabled on my laptop, since that was the main culprit in this case. I checked out the GitHub issues, and I have seen it being reported before. If any solution comes to mind I would like some ideas on how to fix it.

What would you suggest I do to fix this problem, it is not that irritating but it feels weird.

Thank you all in advance and good luck learning!!!

reddit.com
u/Obvious_Seesaw7837 — 2 days ago

Problem with how to position fingers in the strumming hand while doing i-m

When doing i-m I am seeing a problem where, I don't really know how to position the thumb and now to position the index and middle finger.

In the video here I have three techniques I have discovered alone, while mimicking other players and things like that. The first example is me flattening out the index and middle finger, the second is arching the index and middle finger, and the third one is the same as the second one but my thumb is not on the E string so it is much easier to play.

I like the third position the most, but I hear that the thumb should be on the E string, but when I arch the i-m it hurts and I miss notes, but when I don't arch them and just play straight, it is messy rhythmically since it is not a controlled movement.

Could you give me some advice how to position my fingers while doing i-m.

u/Obvious_Seesaw7837 — 3 days ago

Advice on recovering an old account, do not even remember what happened with it

Hi everyone, basically I wanted to get back to check up on some old league accounts, and I found one that is a mystery to me. The account was played I think last time in 2018, maybe even further than that, and I logged in to Riot Client with it, it recognized the account, it showed the friend list and who is online. I log into league and it says unknown player, and I see no stats at all and cannot play, it is something I would get with a ban, but no ban was shown at all, just that, unknown player. Another thing, my summoner name on this older account is the same as the summoner name on my current active account, both on EUNE, so I don't know if my new summoner name bricked my older one, what can I do to change this?

I would like to recover my account and see what I have on it, how can I do that?

reddit.com
u/Obvious_Seesaw7837 — 4 days ago

Hi everyone, basically I was interested in Neo4j, and I like the idea of a Graph Database, so I used it a bit and wanted to create something fun. I was reading up about which projects would be a good idea to use Neo4j, and I got to an idea of creating a Fraud Detection Engine.

The idea would be to maybe scan botnet like behavior, basically I was thinking of having some IP address doing API calls that come from for example, 100 different accounts, and all of the transactions are the same, which would imply some master-slave relationship (I am really pulling these analogies out of nowhere).

The thing is, I don't know which tech stack to use, and how do I even approach this. I heard I could use logging datasets, but that is kind of boring to me. I would like to have some real network simulation, and scan it in real time, so when I call that fake API I would create, my engine would detect and flag fishy behavior.

I was thinking of creating logs, maybe sending them with Kafka, and alerting when something happens. I would log everything and maintain Neo4j relationships of attackers inside of the engine.

Could I get some pointers where to go from here, since I am kind of lost and am just bouncing ideas without any grounding? How are in reality these types of engines written?

Thank you all in advance and good luck learning!!!

reddit.com
u/Obvious_Seesaw7837 — 15 days ago

Hi everyone, I am a regular developer, do not have a focus on AI, but for the past time I really got into machine learning, and I find it really fun. Basically I created a small model that recognizes brain cancers, of which there are four classes.

I ran the model on a CPU, since I did not have CUDA installed and configured on my pop os, and after setting it up and running the model on my GPU, basically the same model showed better results, and it surprised me.

The question basically is, why does the model respond better on a GPU than on a CPU, is there a latency or a bottleneck that causes the CPU to calculate worse? I do know and have known that ML is ran on a GPU on a local PC, if you have a good one, and in data centers there are MPUs I assume.

Apologies if the question is not for this subreddit and thank you all in advance, good luck learning!!!

reddit.com
u/Obvious_Seesaw7837 — 16 days ago

Hi everyone, basically as the title states, I am creating an IDS for a university project, we needed to choose what we wanted to create, and an IDS seemed great to me. The project needs to showcase parallelization techniques on a lot of data, and basically I wanted to do that, but I am having problems leveraging having to go through 200k logs which are all in Logstash, and using Kafka as the message broker. When going this route I am basically just simulating data logging and data consumption, not the real deal or real detection, writing algorithms that do that.

The question is, how do I even make one, since as of now to me it is mostly a lot of logging, and algorithms to detect certain patterns? But that to me is kind of divorced from the reality of what is happening, since I can do ssh connections or send HTTP requests, or make some system calls that can have bad patterns or information. Should I also add a simulation for all of these? Should I simulate an OS and a Web server or OpenSSH via Docker to simulate these real calls and then detect them, and can I do it via different parallelization patterns on batches of data?

Sorry if my question is rambling, but I don't know where do I go with this. As of now I have made a log schema, and that format would be the same for different types of events, and logs. But all of them have some fields which are the same, and some are added extra.

Thank you all in advance and good luck learning!!!

reddit.com
u/Obvious_Seesaw7837 — 22 days ago
▲ 2 r/pop_os

Basically as the title says, the whole tiling system becomes buggy, if I have on each side of the screen two windows, one is Firefox and the other VS Code, after some time VS Codes window kind of acts weird and all of a sudden Firefox and VS Code are both on just one side, so instead of having 1/2 and 1/2 tile I have a 1/4 1/4 tile with the second horizontal half of the screen being empty. This is not that big of a problem, and I like pop in general, but is this due to the apps themselves, since Firefox by itself behaves wonderfully, or is it a pop thing?

Thank you all in advance and good luck popping!!!

reddit.com
u/Obvious_Seesaw7837 — 25 days ago

I was reading about memory leaks, refreshing my memory. I did bunch of C and Java in college, which I am finishing up. I was met with the given piece of code, and an explanation that states that the byte array is still in the GC, but never used. It is static so it will always be in memory, I do understand that.

This is the code example:

public class LeakyCache {

// Static field → this List is a GC root

private static List<byte[]> cache = new ArrayList<>();

public void addToCache() {

byte[] hugeArray = new byte[10_000_000]; // 10 MB

cache.add(hugeArray);

}

public void processRequest() {

// ... work ...

addToCache(); // Oops, we never remove

}

}

The only thing I can muster up or the only thing that comes to mind is that variables that need to hold important data which represents the state of the program need to be in the scope of the object, not in the scope of local variables. Is this the whole problem?

I would like some more information and articles to read to understand this better, how metadata is treated by the JVM when objects and references are created. Any resource would be great!!! I do understand the basics of heap and stack, how they work, how processes manage them, threads etc. but JVM specific, I could be a bit lost, even though I have read a lot about what it should do and which problems it solves on an abstract level.

Thank you all in advance and good luck Java-ing!!!

reddit.com
u/Obvious_Seesaw7837 — 27 days ago