I’m currently learning logic gates and I’m kinda confused I get the different types of gates and all that but I don’t understand for example a gate has A and B how are you meant to know if the A is a 1 or 0 any help is appreciated
When see the topic of "greatest programmer" come up, Terry Davis is always mentioned, citing his lone creation of TempleOS and HolyC as examples of his works that prove he was the best. Does this truly mean he was the greatest programmer to ever grace the earth, or was he an overhyped lunatic?
I was watching this video about Huffman Coding and in the beginning they give a brief background regarding information theory. For reference the video is this one.
In the video they provide two statements for example 1 - It is snowing on Mount Everest 2 - It is snowing in the Sahara Desert
They explain that statement 2 has more information than number 1 because it is lower probability and go on to explain the relationship between information and probability.
However this makes no sense to me right now. From my perspective the statements contain almost equal amounts of information. Just because my reaction of surprise to the statement 2 doesn't mean that it is more information rich.
Is this just a bad example or am I missing something?. Why would the probability of an event occurring impact the amount of information for that event?
Something I wanted to share as it may be interesting for some people there. I've been writing a series called Build Your Own Key-Value Storage Engine in collaboration with ScyllaDB. This week (2/8), we explore the foundations of LSM trees: memtable and SSTables.
i see two pathways, one is everyone keeps telling me to learn probability and statistics and all this theoretical stuff, but then when i search up machine learning projects, ppl just import scikit into python and say .train(). done. no theory involved, so where will i implement all this theory i'm supposed to learn? and how do people make their own models? i guess i still don't quite understand what people mean when they say i'm "doing ml right now". what does that meaaannnn T-T
It was posted in one of the computer science or programming related subs around mid to late August. It was an article about how social media algorithms work. I saved the article to read later but now the link is dead. Does anyone have the article saved anywhere else?
I'm on a mission as an ME to somewhat wrap my brain around how on earth it's possible to make microchips. After a good bit of research, I understand the brilliance of being able to use lenses to scale down light that passes through a photomask pattern to as small as you would like.
However, it seems as though in order to make this work, the pattern in the photomasks themselves needs to be pretty small. Not necessarily nanometers small but still pretty small.
How small are the patterns that are cut into photomasks? How are they cut? With like the same technology as an electron beam type microscope uses?
It would seem that cutting patterns this small into a photomask might take a while. Like a week or month or so. Is that the case?
I imagine reading through it would teach me a lot, but I may forget or not understand the material.
My second idea was to make notes on every chapter/topic to help understand and break down the theory. Thats what I did when I used to do more traditional graded tests. The difference this time being I have no test to study for.
Any effective ways to study theory books, or is it a matter of slowly reading through and understand fully before moving onto the next topic?
I am looking for suggestions on how to relative measurements of distances in videos. I am specifically focusing on the distance between edges of leaves in a closing Venus Flytrap (see photos for the basic idea).
I am interested in first transferring the video to a series of frames and then making measurements between the edges of the leaves every 0.1 seconds or so. Just to be clear, the absolute distances do not matter, I am only interested in the shrinking distance between the leaves in whatever units make sense. Can anyone make suggestions on the best way to do this?
basically i'm writing a paper about regulation of political content on social media by mandating changes to the algorithm so that people don't see things that only support their views which contributes to political polarization. And a lot of the counter arguments were that it would not be possible or that it would be insanely damaging and expensive to the companies. my understanding of algorithms is that they gather information about your likes and dislikes (and on what you interact with, which is why inflamaroty political videos usually blow up) and then show you videos that are similar to those interests. my proposal is to show things, specifically political things, that aren't what people agree with and will spark big emotions.
so basically, regardless of how right or wrong my premise is, how possible/practical woud this be? thanks for any help, also, if you could include sources if possible that would be nice, thanks.
From what I know, when talking about programming languages, we usually mean some sort of formal language that allows you to write instructions a computer can read and execute, producing an expected output.
But are there any specific criteria on here? Let's say a language can model only one single, simple algorithm/program that is read and executed by a computer. Can it be considered a programming language?
By a single and simple algorithm/program, I mean something like:
x = 1
or, event-driven example:
On Join -> Show color red
And that's it, in this kind of language, there would be no other possible variations, but separate lexemes still exist (x, =, 1), as well as syntax rules.
There is the knapsack problem. I have a similar problem that I would like to reduce to the knapsack problem or, if necessary, a more suitable problem.
The items are all of the form (x1, x2, ..., xm). There are 4 free slots. Each slot has its own set of items from which up to 1 item can be added. The sets are pairwise disjoint. The sum of (x1, x2, ..., xm) in the slots should be maximized, whereby there is a maximum value/cap value for each xi.
Does anyone have any suggestions for a reduction or know of a more suitable problem or a rough approach? So far, I have found the dynamic programming approach to be the most helpful, i.e., similar to the pseudopolynomial solution for the knapsack problem, but with multiple dimensions.
Or are there some helpful python libraries for problems like this?
I have a large file (> 200 Gb), that I encrypted a while ago with AES-256-CBC. The file itself is a tar which I ran through openssl. I've forgotten the exact password, but have a general idea of what it is.
Brute force is the easiest way to crack this from what I've seen (given the circumstances that I have a general theory of what the passwords might be), but the hitch I've run into is the time its taking me to actually try each combination. I have a script running on a server, which seems to be taking it ~ 15 minutes before spitting out that its wrong.
I can't help but think there has to be a better way to solve this.
Poisson disk is a distributing method which spreads points almost equally distanced , which overcomes the problem of Uniform Distribution which may generates clusters and voids.
PCA is used to find the main direction on which the queried samples distancing each others the most significantly . PCA often will produce a pair of orthogonal base composed by Direction A, Direction B , Direction C...etc . Direction A is that along which the queried samples spread the most wide . Direction B is that along which the queried samples spread the secondary wide . They describe the "looseness" of points .
So, theoretically you can calculate PCA on uniform distribution and it should give a good results revealing the "flowing direction" of nearby points . (Uniform distribution means uniform probability instead of uniform distance . Poisson distribution restrict the probability of spawning close points , while generating uniform distance ). However I wonder what PCA will give if it is done upon Poisson disk distribution . I guess it will make variance equally on all direction . Can you provide me some blogs or papers if there had been people tested it before ? Also , since Poisson disk is a kind of Blue Noise which makes no significant difference while zooming out ,making significant difference while zooming in , I wonder if there is any relationship between signal filtering and PCA ? I foreseen the answer ( if any) would be too professional for mathematical amateur like me to understand though I will try to . Thanks