This link shows a lot of Scala
foldLeft examples, including sum, product, reverse, average, encode, decode, and more.
This link shows a lot of Scala
Although people have been toying with USB webcams on the Raspberry Pi for some time now, the release of the official camera module has reinvigorated interest in video related projects.
The official Raspberry Pi camera module is a Full HD camera that plugs into the Raspberry Pi via the Camera Serial Interface (next to the Ethernet port) on the device. The sensor on the camera is a 5MP with fixed focus lens. It can shoot still images with a maximum resolution of 2592×1944 as well as Full HD 1080p video @ 30 FPS and 720p video @ 60 FPS.
If you happen to be looking for the best songs of the 1970s, this list of “List of Billboard Hot 100 number-one singles of the 1970s” is very helpful.
From the article:
- You are what you make
- Great ideas start in conversations
- Stop rendering and start making
- If you’re not failing, you’re not making
There are eight other “ideas”, but that’s my takeaway.
Philosopher Dan Dennett makes a compelling argument that not only don't we understand our own consciousness, but that half the time our brains are actively fooling us.
This is an interesting piece where a person writes “advice to their younger self”, in this case regarding design school. “Give yourself permission to screw up” is a good one for me.
Something I’d add to this is that your knowledge builds up over time, like a snowball rolling down a snowy mountainside. If you stick with it and get better every day, your skills will keep getting better and better.
Lisperati looks like an interesting website. It apparently has only a few tutorials, and those are about Lisp and Haskell.
I started using my 2013 MacBook Pro which is now running OS X Yosemite, and it very consistently crashes after (a) I use it with the lid closed and connected to an external monitor, and then (b) disconnect it from the external monitor and attempt to use it as a laptop again. It also crashes when I put it to sleep while still connected to the external monitor and then attempt to wake it up.
From their website:
“ScalaCheck is a library written in Scala and used for automated property-based testing of Scala or Java programs. ScalaCheck was originally inspired by the Haskell library QuickCheck, but has also ventured into its own.”
From the Typesafe website:
The link is an article that discusses how to implement algebraic data types in Scala. In short, Haskell defines ADTs like this:
data Bool = False | True
In Scala you implement ADTs like this:
sealed abstract class Bool case object True extends Bool case object False extends Bool
which lets you do things like this:
ScalaFX is a UI DSL written within the Scala Language that sits on top of JavaFX 2 and JavaFX 8. Every ScalaFX application is also a valid Scala application. It supports full interoperability with Java and can run anywhere the Java Virtual Machine (JVM) and JavaFX2 or JavaFX8 are supported.
ScalaFX uses a simple, hierarchical pattern for creating new objects and building up the scene graph. Here is a simple, complete application example that creates a new stage (window) with a rectangle that changes color based on mouse events...
Magic Leap is a company that’s creating an “augmented reality” device, possibly/probably a pair of glasses. Google just gave them $542M.
There’s an old story that Kekule dreamed of a snake swallowing its tail (an Ouroboros), and from that he made the creative jump that benzene is formed in the shape of a ring. There are quite a few articles on this, but the link shown at least attempts to put a little research behind this in the first few paragraphs.
Jonathan Ive gave a rare live interview at Vanity Fair's New Establishment Summit.
An article title, “Typesafe Activator - What it is”, by Dick Wall.
If you work for any given amount of time as a software developer, one problem you’ll end up with is parsing structured text to extract meaningful information.
I’ve faced this issue more than I care to remember. I even think that’s why I learned regular expressions in the first place. But, as Internet wisdom will teach you regexes are only suitable for a subset of the parsing problems out there. We learn it at school: grammars are the way to go.
Studying the Solar System through Research and Exploration. Southwest Research Institute's Planetary Science Directorate has over 60 employees and is located in the Exeter Building at 11th and Walnut in downtown Boulder, Colorado.
- Many interview techniques test skills that are at best irrelevant to real working life;
- you want somebody who knows enough to do the job right now;
- or somebody smart and motivated enough that they can learn the job quickly;
- you want somebody who keeps getting better at what they do;
- your interview should be a collaborative conversations, not a combative interrogation;
- you also want somebody who you will enjoy working with;
- it’s important to separate “enjoy working with” from “enjoy hanging out with;&r
One of the biggest disappointments from Apple’s announcements yesterday was the lack of a sapphire screen for the iPhone 6. A seemingly-neverending string of part leaks and rumors indicated that 2014 would be the year the iPhone got a nearly indestructible sapphire display cover.
And while sapphire is used for the Apple Watch’s display, Apple made no mention of sapphire for the iPhone 6 or 6 Plus.
According to a knowledgable source, it all came down to a last-minute problem in the manufacturing process.