“Job Done” - RTS Prototype

“Job Done” - RTS Prototype

Worked on the basics of a Real Time Strategy game prototype today, with selecting and commanding units, and worker units automatically searching for resources on the map, mining them, and returning to their base to store the resources gathered.

“Job Done” - RTS Prototype

继续阅读

More Posts from Laossj and Others

7 years ago
Readings From «Scientific American» (ca. 1950): Computers And Computation, With Introductions By Robert

Readings from «Scientific American» (ca. 1950): Computers and Computation, With Introductions by Robert R. Fenichel and Joseph Weizenbaum, W. H. Freeman and Company, San Francisco, 1971

7 years ago
Doodle Studio 95
Doodle Studio 95
Doodle Studio 95
Doodle Studio 95

Doodle Studio 95

Project from Fernando Ramallo is a drawing and animation tool for Unity with simple interfaces to create assets for games and interactive experiences, a bit like Flash but in 2.5D:

DOODLE STUDIO 95 is a FUN drawing and animation tool for Unity.

Doodle an animation without leaving the Editor and turn your drawings into sprites, UI elements, particles or textures, with a single click.

Features

Draw inside the Unity Editor

Easy presets for backgrounds, characters and UI elements

Example scenes with 2.5D characters, foliage, speech bubbles and transitions, with reusable scripts

Draw and animate inside the Scene View (beta)

Shadow-casting shaders

Don’t think about materials or image formats, it Just Works.

Five Symmetry modes

Record mode adds frames as you draw

Record a sound with a single click! Boop!

Easy API for using animations with scripts

Convert to sprite sheets or GIFs

…and more

You can find out more here, and even try out a browser-based interactive tour here

7 years ago

5 Mysterious Posts Found On Reddit That STILL Remain Unexplained…

7 years ago

Solar System: 10 Things to Know This Week

Pioneer Days

Someone’s got to be first. In space, the first explorers beyond Mars were Pioneers 10 and 11, twin robots who charted the course to the cosmos.

image

1-Before Voyager

image

Voyager, with its outer solar system tour and interstellar observations, is often credited as the greatest robotic space mission. But today we remember the plucky Pioneers, the spacecraft that proved Voyager’s epic mission was possible.

2-Where No One Had Gone Before

image

Forty-five years ago this week, scientists still weren’t sure how hard it would be to navigate the main asteroid belt, a massive field of rocky debris between Mars and Jupiter. Pioneer 10 helped them work that out, emerging from first the first six-month crossing in February 1973. Pioneer 10 logged a few meteoroid hits (fewer than expected) and taught engineers new tricks for navigating farther and farther beyond Earth.

3-Trailblazer No. 2

image

Pioneer 11 was a backup spacecraft launched in 1973 after Pioneer 10 cleared the asteroid belt. The new mission provided a second close look at Jupiter, the first close-up views of Saturn and also gave Voyager engineers plotting an epic multi-planet tour of the outer planets a chance to practice the art of interplanetary navigation.

4-First to Jupiter

image

Three-hundred and sixty-three years after humankind first looked at Jupiter through a telescope, Pioneer 10 became the first human-made visitor to the Jovian system in December 1973. The spacecraft spacecraft snapped about 300 photos during a flyby that brought it within 81,000 miles (about 130,000 kilometers) of the giant planet’s cloud tops.

5-Pioneer Family

image

Pioneer began as a Moon program in the 1950s and evolved into increasingly more complicated spacecraft, including a Pioneer Venus mission that delivered a series of probes to explore deep into the mysterious toxic clouds of Venus. A family portrait (above) showing (from left to right) Pioneers 6-9, 10 and 11 and the Pioneer Venus Orbiter and Multiprobe series. Image date: March 11, 1982. 

6-A Pioneer and a Pioneer

image

Classic rock has Van Halen, we have Van Allen. With credits from Explorer 1 to Pioneer 11, James Van Allen was a rock star in the emerging world of planetary exploration. Van Allen (1914-2006) is credited with the first scientific discovery in outer space and was a fixture in the Pioneer program. Van Allen was a key part of the team from the early attempts to explore the Moon (he’s pictured here with Pioneer 4) to the more evolved science platforms aboard Pioneers 10 and 11.

7-The Farthest…For a While

image

For more than 25 years, Pioneer 10 was the most distant human-made object, breaking records by crossing the asteroid belt, the orbit of Jupiter and eventually even the orbit of Pluto. Voyager 1, moving even faster, claimed the most distant title in February 1998 and still holds that crown.

8-Last Contact

image

We last heard from Pioneer 10 on Jan. 23, 2003. Engineers felt its power source was depleted and no further contact should be expected. We tried again in 2006, but had no luck. The last transmission from Pioneer 11 was received in September 1995. Both missions were planned to last about two years.

9-Galactic Ghost Ships

image

Pioneers 10 and 11 are two of five spacecraft with sufficient velocity to escape our solar system and travel into interstellar space. The other three—Voyagers 1 and 2 and New Horizons—are still actively talking to Earth. The twin Pioneers are now silent. Pioneer 10 is heading generally for the red star Aldebaran, which forms the eye of Taurus (The Bull). It will take Pioneer over 2 million years to reach it. Pioneer 11 is headed toward the constellation of Aquila (The Eagle) and will pass nearby in about 4 million years.

10-The Original Message to the Cosmos

image

Years before Voyager’s famed Golden Record, Pioneers 10 and 11 carried the original message from Earth to the cosmos. Like Voyager’s record, the Pioneer plaque was the brainchild of Carl Sagan who wanted any alien civilization who might encounter the craft to know who made it and how to contact them. The plaques give our location in the galaxy and depicts a man and woman drawn in relation to the spacecraft.

Read the full version of this week’s 10 Things article HERE. 

Make sure to follow us on Tumblr for your regular dose of space: http://nasa.tumblr.com.

7 years ago

Harry Potter and the Neural Network fan fiction

Or, what happens if you train a neural network on the titles and plot summaries of over 100,000 works of Harry Potter fan fiction.

In the decades since the Harry Potter books were published, fans have written literally hundreds of thousands of Harry Potter stories of their own, and shared them online. Can a neural network join in on the fun?

In a way, everything a recurrent neural network writes is fan fiction. A recurrent neural network looks at an example dataset (such as the complete Sherlock Holmes stories) and teaches itself the patterns and conventions that it sees. So, if it’s given Sherlock Holmes stories, it will become obsessed with Holmes and Watson, and if it’s given knock-knock jokes, it will spend all day telling awful knock-knock jokes of its own.

image

Thanks to an idea by a couple of readers, some heroic work by @b8horpet in scraping (with permission) hundreds of thousands of Harry Potter fan fiction titles and summaries from AO3, and a flexible new recurrent neural network implementation by Chen Liang, the neural network’s latest obsession is Harry Potter.

The Perfect Party by iamisaac Draco has been left alone, and Ginny confused must learn and who has his best friend. They were breathed by a love that didn’t become his grounds and the flowers begin.

This is a typical example of the neural network’s fan fiction - romantic pairings of two or more Harry Potter characters (called “ships” in fan fiction-speak). In this case, it even has chosen a plausible author: iamisaac is a real and fairly prolific fan fiction author whose works do tend to be of the “romantic” variety. 

The Garden by perverse_idyll for lexigilite Ron and Hermione move after a man party. What did her best things go and has to deal with people she loves? How many imperfect love really belonges them and needs to be a person? Or will they learn and more than the war? Mirror Thing by Queen_Elexhan “Are you there for a relationship? I was a sad future for your love.”  Harry and Ginny find out the meaning is.

Shatters by Kis [archived by TheHexFiles_archivist ] Based on the Spot Are It Falls Into A Heir by NextrangeOnTheThree Draco and Hermione share a whole indescribbening.

Again, “perverse_idyll” and “TheHexFiles_archivist” are fairly active authors. (Hi, if you’re reading! The neural network seems to like your writing, and is writing fan fiction of your fan fiction!) Those familiar with Harry Potter fan fiction will not be surprised to learn that the neural network really likes to generate ships; pretty much every combination of characters is represented (some of the more unusual combinations being “The Snow/Voldemort”, “The Ministry/Draco Malfoy”, and “Voldemort/Random Quidditch Child”).

By turning down the neural network’s creativity setting to near-zero, we arrive at its vision of what the quintessential Harry Potter fan fiction would be like - and we also learn its favorite ship:

Persuading by theladyblack Harry and Draco are still a second chance at the end of the war.  Will they be able to do with the fairy tale of the first time they were a strange stranger to the street of the war and the war is over?

It turns out the neural network is obsessed with Harry/Draco, although in a pinch, Sirius/Remus will also do.

The neural network also seems to really like stories about Professor Snape trying to do rather ordinary things:

New Moon Boys by Dungoonke for Loki_Kukaka Severus Snape comes back to a night’s politics.

In the Reason Is Blinders by LittleRoma Severus has been through his lost remote.

In The Alteri Silence by Forest_of_Holly for roscreens41 Snape receives life after plants to do by work over whether they get into. Just Hell.

A Second Chance by DarkCorgi Snape had a second thing, and that is better than anything for for the rest of his life.

Mirror by orphan_account Severus Snape tries to get a lot of dragons and that was to be more than he didn’t expect to continue. He has always been a bit of an old and a baby to stay the way he’d been the brother at Hogwarts and he keeps the chance of meeting… Deception by FlyingEyes Snape is a British Robes of interesting things and worrys like a little fun and sees the pretty battle for a while.

Another thing that happened, which is pretty much my favorite thing ever, is that the neural network apparently encountered some fan fiction stories that were not in English. As a result, it learned to do this from time to time:

The Secretary Of the World  Challenge inspired by GoF and la mating resigns de la mill colors per mereple beruit carteur la pelete el wert rardo completing and herillo intus den una a des rush sentines kelta an transoles… 

Between by Cheyangel13 A series of fivers are unexpectedly depressed and controlled by the bed, with least more from una perfemale erpensa de the maesse akai suidadium dela vida call de la los se terriuus do form en sou dies de fasurard il resisted de for dogs la sementu sein prong colors itu dee adte se sige natard…

The neural network has also learned to employ capital letters:

Les finds love by violet_quill for starstruck1986 Severus Snape wanted him to be more and she likes Draco.  The person he wants an energy to him.  WHALIDE NO GEATIRE SOURR INSPE AHARMANABLISH ALL SOME TO VERY THE RERIDE!!!!!!!

secret Quidditch by snapsleert Collapse and find the second worst and very different. See Gain and Descent motivate surprising death. Unbusing one of the months: should make more bumo.choooshots. HUGULATED

And the neural network occasionally uses content warnings, although it seems to have a rather fuzzy idea about what to warn its readers about:

Better With The Broom Complicate by Margyn_Black Tonks gets more than the best girl of creation. (Rated Maturisle, mark, a violence, contract) (slash] part of themes) ferret.

Art for the Sun a Scary by disillusionist9 A collection of warnings: characters and situations of silence.

Some of the neural network’s stories, though, are just plain weird.

Harry Potter and the Painful Eyes by dark_pook A Birthday drabble about the problems and a woman who shows up a lot less than she checks at Hogwarts in the destiny to the infamous adventure of control of the Art of The Good Boy Kings With Hermione. Harry and the Blue Special Delicious by apolavia_scg An unexpected potions messaged in the world their lives are to find friendship following the day of different pagers. James and Lily come to the summer before the war.

The Perfect Cow by alafaye Severus and Hermione start a horcruxes

Art: Let Draco roll the light of the moon, and means. by Dangelanne What happens after the war. Not drawn to Draco Malfoy jumpers. Originally written in 2008.

Birds of a Saturday by SasuNarufan13 Harry Potter is drunk and discovers he is an alternate universe.

Holly theody by yesIpxdishoftlyGrinli What would be dangerous! Side Voldemort Jones does all lord off the sunshine show.

Lily Evans and the Ravenclaw of a Christmas Surprise by ci Severus angst the truth of a frighten situation for the wink.

Persuasion by Samanthian The Sorting Hat is fighting in one of the houses.

lily’s family by sharkle Harry woke up in searching after a werewolf Sherlock’s picnic. He is furious.

As a bonus, I leave you with some fairly-plausible screennames the neural network invented, which appear not to be taken (yet):

desire_at_the_malfoy SeverelyAshed fishlingthelovely thedarklyblue phantombeers captainingthetrain siriusly_harry DarkVoldember ChildOfAtSperble all_frogs BelladonnaLeek Sneaking_UnicornWitch bluemelooppiesweatled

7 years ago
Machine learning could finally crack the 4,000-year-old Indus script
After a century of failing to crack an ancient script, linguists turn to machines.
7 years ago
Silicon Valley Entrepreneur And Novelist Rob Reid Takes On Artificial Intelligence — And How It Might
Silicon Valley Entrepreneur And Novelist Rob Reid Takes On Artificial Intelligence — And How It Might

Silicon valley entrepreneur and novelist Rob Reid takes on artificial intelligence — and how it might end the world — in his weird, funny techno-philosophical thriller, After On.

Critic Jason Sheehan says, “It’s like an extended philosophy seminar run by a dozen insane Cold War heads-of-station, three millenial COOs and that guy you went to college with who always had the best weed but never did his laundry.”

‘After On’ Sees The End Of The World In A Dating App

8 years ago
Полигонаэдр / Polygonahedron Experiment With Rear Projection Film, Leap Motion And Processing
Полигонаэдр / Polygonahedron Experiment With Rear Projection Film, Leap Motion And Processing
Полигонаэдр / Polygonahedron Experiment With Rear Projection Film, Leap Motion And Processing

Полигонаэдр / Polygonahedron Experiment with rear projection film, Leap Motion and Processing https://vimeo.com/191812588

8 years ago

Introducing SAMOA, an open source platform for mining big data streams.

https://github.com/yahoo/samoa

Machine learning and data mining are well established techniques in the world of IT and especially among web companies and startups. Spam detection, personalization and recommendations are just a few of the applications made possible by mining the huge quantity of data available nowadays. However, “big data” is not only about Volume, but also about Velocity (and Variety, 3V of big data).

The usual pipeline for modeling data (what “data scientists” do) involves taking a sample from production data, cleaning and preprocessing it to make it usable, training a model for the task at hand and finally deploying it to production. The final output of this process is a pipeline that needs to run periodically (and be maintained) in order to keep the model up to date. Hadoop and its ecosystem (e.g., Mahout) have proven to be an extremely successful platform to support this process at web scale.

However, no solution is perfect and big data is “data whose characteristics forces us to look beyond the traditional methods that are prevalent at the time”. The current challenge is to move towards analyzing data as soon as it arrives into the system, nearly in real-time.

For example, models for mail spam detection get outdated with time and need to be retrained with new data. New data (i.e., spam reports) comes in continuously and the model starts being outdated the moment it is deployed: all the new data is sitting without creating any value until the next model update. On the contrary, incorporating new data as soon as it arrives is what the “Velocity” in big data is about. In this case, Hadoop is not the ideal tool to cope with streams of fast changing data.

Distributed stream processing engines are emerging as the platform of choice to handle this use case. Examples of these platforms are Storm, S4, and recently Samza. These platforms join the scalability of distributed processing with the fast response of stream processing. Yahoo has already adopted Storm as a key technology for low-latency big data processing.

Alas, currently there is no common solution for mining big data streams, that is, for doing machine learning on streams on a distributed environment.

Enter SAMOA

SAMOA (Scalable Advanced Massive Online Analysis) is a framework for mining big data streams. As most of the big data ecosystem, it is written in Java. It features a pluggable architecture that allows it to run on several distributed stream processing engines such as Storm and S4. SAMOA includes distributed algorithms for the most common machine learning tasks such as classification and clustering. For a simple analogy, you can think of SAMOA as Mahout for streaming.

SAMOA is both a platform and a library. As a platform, it allows the algorithm developer to abstract from the underlying execution engine, and therefore reuse their code to run on different engines. It also allows to easily write plug-in modules to port SAMOA to different execution engines.

As a library, SAMOA contains state-of-the-art implementations of algorithms for distributed machine learning on streams. The first alpha release allows classification and clustering.

For classification, we implemented a Vertical Hoeffding Tree (VHT), a distributed streaming version of decision trees tailored for sparse data (e.g., text). For clustering, we included a distributed algorithm based on CluStream. The library also includes meta-algorithms such as bagging.

HOW DOES IT WORK?

An algorithm in SAMOA is represented by a series of nodes communicating via messages along streams that connect pairs of nodes (a graph). Borrowing the terminology from Storm, this is called a Topology. Each node in the Topology is a Processor that sends messages to a Stream. The user code that implements the algorithm resides inside a Processor. Figure 3 shows an example of a Processor joining two stream from two source Processors. Here is a code snippet to build such a topology in SAMOA.

TopologyBuilder builder; Processor sourceOne = new SourceProcessor(); builder.addProcessor(sourceOne); Stream streamOne = builder.createStream(sourceOne); Processor sourceTwo = new SourceProcessor(); builder.addProcessor(sourceTwo); Stream streamTwo = builder.createStream(sourceTwo); Processor join = new JoinProcessor(); builder.addProcessor(join).connectInputShuffle(streamOne).connectInputKey(streamTwo);

SWEET! HOW DO I GET STARTED?

1. Download SAMOA

git clone git@github.com:yahoo/samoa.git cd samoa mvn -Pstorm package

2. Download the Forest CoverType dataset.

wget "http://downloads.sourceforge.net/project/moa-datastream/Datasets/Classification/covtypeNorm.arff.zip" unzip covtypeNorm.arff.zip

Forest CoverType contains the forest cover type for 30 x 30 meter cells obtained from US Forest Service (USFS) Region 2 Resource Information System (RIS) data. It contains 581,012 instances and 54 attributes, and it has been used in several papers on data stream classification.

3. Download a simple logging library.

wget "http://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.7.2/slf4j-simple-1.7.2.jar"

4. Run an Example. Classifying the CoverType dataset with the VerticalHoeffdingTree in local mode.

java -cp slf4j-simple-1.7.2.jar:target/SAMOA-Storm-0.0.1.jar com.yahoo.labs.samoa.DoTask "PrequentialEvaluation -l classifiers.trees.VerticalHoeffdingTree -s (ArffFileStream -f covtypeNorm.arff) -f 100000"

The output will be a sequence of the evaluation metrics for accuracy, taken every 100,000 instances.

To run the example on Storm, please refer to the instructions on the wiki.

I WANT TO KNOW MORE!

For more information about SAMOA, see the README and the wiki on github, or post a question on the mailing list.

SAMOA is licensed under an Apache Software License v2.0. You are welcome to contribute to the project! SAMOA accepts contributions under an Apache style contributor license agreement.

Good luck! We hope you find SAMOA useful. We will continue developing the framework by adding new algorithms and platforms.

Gianmarco De Francisci Morales (gdfm@yahoo-inc.com) and Albert Bifet (abifet@yahoo.com) @ Yahoo Labs Barcelona

7 years ago
Plastic Girls
Plastic Girls
Plastic Girls
Plastic Girls
Plastic Girls

Plastic Girls

Short film by Nils Clauss explores the spaces that use female-form robotic mannequins around South Korea to attract business:

With slow graceful movements and digitally generated messages, Plastic Girls make a conspicuous contribution to the sexualisation of public space in front of their owners premises.

PLASTIC GIRLS is the last film of a Korea related trilogy following BIKINI WORDS and LAST LETTERS:

vimeo.com/151000182 vimeo.com/195284427

Link

  • hordeboss-blog
    hordeboss-blog liked this · 7 years ago
  • hauntedfiremilkshake
    hauntedfiremilkshake liked this · 7 years ago
  • downzeroapp
    downzeroapp liked this · 7 years ago
  • boardgame-guru-blog
    boardgame-guru-blog liked this · 7 years ago
  • laossj
    laossj reblogged this · 7 years ago
  • laossj
    laossj liked this · 7 years ago
  • astrofurby
    astrofurby liked this · 7 years ago
  • argenticsstudio-blog
    argenticsstudio-blog liked this · 7 years ago
  • celebratechibi
    celebratechibi liked this · 7 years ago
  • xlscustompc-blog
    xlscustompc-blog liked this · 7 years ago
  • gabrielthepisces
    gabrielthepisces liked this · 7 years ago
  • itz-rascal
    itz-rascal liked this · 8 years ago
  • cenullum
    cenullum liked this · 8 years ago
  • korveen
    korveen liked this · 8 years ago
  • strangercarrot-blog
    strangercarrot-blog liked this · 8 years ago
  • krazybomb
    krazybomb liked this · 8 years ago
  • trevorist
    trevorist liked this · 8 years ago
  • olsyx
    olsyx liked this · 8 years ago
  • bryastar
    bryastar reblogged this · 8 years ago
  • bryastar
    bryastar liked this · 8 years ago
  • blubberquark
    blubberquark liked this · 8 years ago
  • thejohncheese
    thejohncheese liked this · 8 years ago
  • sewgay
    sewgay liked this · 8 years ago
  • wherabouts-of-light
    wherabouts-of-light liked this · 8 years ago
  • swiggityswooyy
    swiggityswooyy liked this · 8 years ago
  • watcherno6
    watcherno6 reblogged this · 8 years ago
  • villain-reform-school
    villain-reform-school reblogged this · 8 years ago
  • villain-reform-school
    villain-reform-school liked this · 8 years ago
  • 0-nyze
    0-nyze liked this · 8 years ago
  • hihihi-2020-blog
    hihihi-2020-blog liked this · 8 years ago
  • candycodec-blog
    candycodec-blog liked this · 8 years ago
  • kashakisha20
    kashakisha20 liked this · 8 years ago
  • plasticskeleton-blog1
    plasticskeleton-blog1 liked this · 8 years ago
  • the-monster-d-blog
    the-monster-d-blog liked this · 8 years ago
  • teatipster
    teatipster liked this · 8 years ago
  • mercury-and-cyanide-blog
    mercury-and-cyanide-blog liked this · 8 years ago
  • oswinoswaldappreciationlife
    oswinoswaldappreciationlife liked this · 8 years ago
  • voidsparkk
    voidsparkk liked this · 8 years ago
  • soledad-y-melancolia
    soledad-y-melancolia liked this · 8 years ago
  • 75mar-blog
    75mar-blog liked this · 8 years ago
  • axel-wich-blog
    axel-wich-blog liked this · 8 years ago
  • icedragoncred1763
    icedragoncred1763 liked this · 8 years ago
  • eredorr
    eredorr liked this · 8 years ago
  • krunifus
    krunifus liked this · 8 years ago
laossj - 无标题
无标题

295 posts

Explore Tumblr Blog
Search Through Tumblr Tags