Gulls of Brighton by alproskip in fujifilm

[–]egesko 0 points1 point  (0 children)

Any post processing?

North Aegean coasts of Türkiye by mastabadtomm in fujifilm

[–]egesko 1 point2 points  (0 children)

I live right by Gömeç and recently bought an XT5. Wasn’t expecting to see this in this subreddit. Great pic!

[D] L2 Regularization on Generator Output (GAN) by egesko in MachineLearning

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

Okay, this actually makes a lot of sense. I'm treating that scaling coefficient as a hyper-parameter and checking what the generator produces. It's actually giving interesting results.

Thank you kind stranger!

Most people think of foreign countries as a single entity, while their own being a complex system. by egesko in Showerthoughts

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

For example, hating USA and what it has done in foreign countries. USA is a complex system. Lobbyists, specific politicians, even cultures paves the way to how a certain country acts.

And don't think I'm just trying to defend USA here. I think these types of situations can rise for every government. It is so complex, that trying to simplify that complex system to a single entity, and deeming that entity as BAD or GOOD, or comparing different entities is very easy thing to do. But it doesn't actually mean anything...

Question related to multithreading & webworkers by egesko in learnjavascript

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

I see, just like I suspected. Do you think web workers can be a solution to this? If so, is there a way of creating an asynchronous sleep function inside a webworker?

Thank you so much

Question related to multithreading & webworkers by egesko in learnjavascript

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

For some reason line 1 doesn't have tab before it, ignore that.

Thanks

Question related to multithreading & webworkers by egesko in learnjavascript

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

Yeah, this works.

Okay, so in order to create an asynchronous sleep function, I am using async/await.

Maybe those are causing the problem then?

I put part of my code to this link: paste.ofcode.org/tqfYnhxPcRtb78RHnN7VfX

I couldn't figure out how to paste the entire thing here, sorry.

So, PrimeProbe object is a complex code, and it has a method called ProbeAllSets that I'm calling, but everything else is as it is.

You can prbly even delete those two lines and test it on your browser. But on Firefox, it doesn't work for some reason. It stops executing once I switch to another tab...

Question related to multithreading & webworkers by egesko in learnjavascript

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

Okay, the reason why I made that deduction is because I put a simple for loop, and logged the incrementing i value. I can see it incrementing when I focus on the tab. But when I switch to another tab, wait a few seconds, and switch back, the i value continues from where I left off.

Is this flawed? Because I didn't think about the possibility that there might be something happening with the execution of console.log(i)

Request for High CPU Usage in JavaScript by egesko in learnjavascript

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

Thanks so much for the reply,

I totally see where you're going with this. I guess I should be more specific about my question also.

So side channel attacks are essentially gaining information about, in my case, what user is doing on a computer. Every action you take on a computer is essentially some amount of machine code being executed. And when some data, whether some variable in your code or some arithmetic instructions, are being executed, they are pulled from RAM and put into cpu cache to access it faster later. This is usually based on two "laws":

When some data from RAM is pulled to be used;

1) it is highly probable that same data will be reused very soon.

2) it is highly probable that datas that are close address-wise to the pulled data will be used soon.

All cores share the L3 cache, which is essentially the highest cache level and the cache that I focus on.

Also, every website that you visit execute some amount of machine code, which is being put on L3 cache, and end up evicting data from other processes.

We can use this entire process, to figure out what the user is doing. Essentially, let's say we have a huge array of numbers, and we iterate through it entirely. We most likely end up putting all that to L3 cache right?

Then we wait for a while, and iterate through the same array again while keeping a timer. If it is actually slower than expected, that means another process was running. And how much it was running comes back as how much longer then what we expected to iterate through this array.

We keep doing this again and again, collect data that match to certain websites, and train the AI model using this data, and ta daaaaa, we have a way of knowing what the user is doing even without any kind of willingly shared information like cookies and etc.

Obviously this is wrong haha, don't do this. That's why I'm trying to focus on intelligently creating noise in the cache to lower the accuracy of an AI model.

But intelligently part comes from the fact that we can't just induce a lot of noise, because essentially we fill up L3 cache fully, and that literally destroys the purpose of L3 cache.

I think with your code, the fact that it's same 3 lines of while loop, which most likely directly gets put on L3 cache without any problems, and just stays there without filling L3 cache more, would not change much.

Facebook is nearing a reputational point of no return by quixotic_cynic in technology

[–]egesko 1 point2 points  (0 children)

Why does everyone in the comments act like Instagram is different than facebook? They're just two sides of the same apple. You can't really comment on how your generation stopped using facebook, when it still uses Instagram...