Skip to content

Instantly share code, notes, and snippets.

@mhamzawey
Created November 6, 2018 15:13
Show Gist options
  • Save mhamzawey/9cd0cecfb9cce7af1c1d479e8f80ff15 to your computer and use it in GitHub Desktop.
Save mhamzawey/9cd0cecfb9cce7af1c1d479e8f80ff15 to your computer and use it in GitHub Desktop.
Computer Graphics
Computer graphics are graphics created using computers and the representation of image data by a computer specifically with help from specialized graphic hardware and software.
The interaction and understanding of computers and interpretation of data has been made easier because of computer graphics. Computer graphic development has had a significant impact on many types of media and have revolutionized animation, movies and the video game industry.
Overview
The term computer graphics has been used in a broad sense to describe "almost everything on computers that is not text or sound".[1] Typically, the term computer graphics refers to several different things:
- the representation and manipulation of image data by a computer
- the various technologies used to create and manipulate images
- the sub-field of computer science which studies methods for digitally synthesizing and manipulating visual content, see study of computer graphics
Computer graphics is widespread today. Computer imagery is found on television, in newspapers,
for example in weather reports, or for example in all kinds of medical investigation and surgical
procedures. A well-constructed graph can present
complex statistics in a form that is easier to understand and interpret. In the media "such graphs
are used to illustrate papers, reports, thesis", and other presentation material.[2]
Many powerful tools have been developed to visualize data. Computer generated imagery can be categorized into several different types: two dimensional (2D), three dimensional (3D), and animated graphics. As technology has improved, 3D computer graphics have become more common, but 2D computer graphics are still widely used. Computer graphics has emerged as a sub-field of computer science which studies methods for digitally synthesizing and manipulating visual content. Over the past decade, other specialized fields have been developed like information visualization, and scientific visualization more concerned with "the visualization of three dimensional phenomena (architectural, meteorological, medical, biological, etc.), where the emphasis is on realistic renderings of volumes, surfaces, illumination sources, and so forth, perhaps with a dynamic (time) component".[3]
Trufla Challenge
DevOps Engineer
# Task
Write a Python function which takes the text from the file `data.txt` and outputs a list with all words from the text and the count of their occurrences, ordered by the occurrences.
The result should look like `result.txt`.
# Rules
- Delemiters should be excluded
- Send the result as a github gist like this file.
- Stop immediately after 15 minutes - we don't need, want or honor a working solution, we are interested in your approach.
- The code should work on a unix based system.
- Add a brief description (~ three bullet points) what you would do next in order to run it in production.
- No external libraries (standard libraries are ok).
computer (17)
and (16)
of (12)
the (12)
graphics (12)
a (8)
in (6)
to (6)
is (5)
has (5)
for (4)
data (4)
d (4)
have (4)
been (4)
on (4)
used (4)
computers (3)
visualization (3)
with (3)
are (3)
dimensional (3)
synthesizing (2)
types (2)
as (2)
by (2)
can (2)
which (2)
content (2)
three (2)
developed (2)
different (2)
digitally (2)
that (2)
easier (2)
term (2)
example (2)
graphic (2)
image (2)
several (2)
imagery (2)
visual (2)
manipulating (2)
sub-field (2)
many (2)
studies (2)
media (2)
medical (2)
methods (2)
specialized (2)
more (2)
or (2)
other (2)
reports (2)
representation (2)
science (2)
typically (1)
see (1)
scientific (1)
sense (1)
revolutionized (1)
significant (1)
so (1)
renderings (1)
refers (1)
realistic (1)
procedures (1)
presentation (1)
present (1)
powerful (1)
phenomena (1)
perhaps (1)
past (1)
papers (1)
overview (1)
over (1)
software (1)
sound (1)
using (1)
various (1)
not (1)
newspapers (1)
movies (1)
sources (1)
specifically (1)
meteorological (1)
statistics (1)
still (1)
all (1)
study (1)
manipulation (1)
such (1)
manipulate (1)
made (1)
almost (1)
kinds (1)
video (1)
investigation (1)
into (1)
interpretation (1)
interpret (1)
interaction (1)
information (1)
industry (1)
surfaces (1)
improved (1)
impact (1)
images (1)
surgical (1)
technologies (1)
illustrate (1)
illumination (1)
help (1)
visualize (1)
hardware (1)
had (1)
graphs (1)
volumes (1)
technology (1)
graph (1)
generated (1)
game (1)
from (1)
found (1)
forth (1)
form (1)
weather (1)
fields (1)
television (1)
everything (1)
etc (1)
emphasis (1)
emerged (1)
text (1)
dynamic (1)
understanding (1)
thesis (1)
development (1)
things (1)
describe (1)
decade (1)
well-constructed (1)
where (1)
created (1)
create (1)
time (1)
concerned (1)
understand (1)
component (1)
complex (1)
common (1)
categorized (1)
today (1)
tools (1)
but (1)
broad (1)
biological (1)
widely (1)
become (1)
because (1)
be (1)
two (1)
architectural (1)
animation (1)
animated (1)
widespread (1)
material (1)
like (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment