background preloader

A place for elegant solutions

A place for elegant solutions

9 of the Best Free Java Books Java is a general-purpose, concurrent, class-based, object-oriented, high-level programming language and computing platform first released by Sun Microsystems in 1995. It is related in some ways to C and C++, in particular with regard to its syntax, and borrows a few ideas from other languages. Java is designed to be simple enough that many programmers can quickly become proficient in the language. This programming language is the underlying technology that powers utilities, games, business applications, and other software. The focus of this article is to select some of the finest Java books which help programmers master all aspects of this language. To cater for all tastes, we have chosen a good range of books. Next Section: 9 of the Best Free Java Books - Page 2 This article is divided into three pages: Page 1, Page 2, Page 3

The Endeavour — The blog of John D. Cook I help people make decisions in the face of uncertainty. Sounds interesting. I’m a data scientist. Not sure what that means, but it sounds cool. I study machine learning. I’m into big data. Even though each of these descriptions makes a different impression, they’re all essentially the same thing. There are distinctions. “Decision-making under uncertainty” emphasizes that you never have complete data, and yet you need to make decisions anyway. “Data science” stresses that there is more to the process of making inferences than what falls under the traditional heading of “statistics.” Despite the hype around the term data science, it’s growing on me. Machine learning, like decision theory, emphasizes the ultimate goal of doing something with data rather than creating an accurate model of the process that generates the data. “Big data” is a big can of worms. Bayesian statistics is much older than what is now sometimes called “classical” statistics.

Coding Horror An Interactive Guide To The Fourier Transform The Fourier Transform is one of deepest insights ever made. Unfortunately, the meaning is buried within dense equations: Yikes. What does the Fourier Transform do? Here's the "math English" version of the above: The Fourier Transform takes a time-based pattern, measures every possible cycle, and returns the overall "cycle recipe" (the strength, offset, & rotation speed for every cycle that was found). Time for the equations? If all goes well, we'll have an aha! This isn't a force-march through the equations, it's the casual stroll I wish I had. From Smoothie to Recipe A math transformation is a change of perspective. The Fourier Transform changes our perspective from consumer to producer, turning What did I see? In other words: given a smoothie, let's find the recipe. Why? So... given a smoothie, how do we find the recipe? Well, imagine you had a few filters lying around: We can reverse-engineer the recipe by filtering each ingredient. Filters must be independent. See The World As Cycles Oh!

I cannot understand what an Op-Amp does! : ECE Philadelphia Software Developer “Postgres for Developers” – Notes from PGConf NYC 2014 April 8th, 2014 — Code Examples I saw a talk by one of the core Postgres developers, which showed a bunch of interesting tricks to handle business rules in Postgres specific SQL. Example 1: Array Aggregation “array_agg” can be used to combine rows, which sort of resembles a pivot table operation (this is the same set of values that would be passed as arguments to other aggregation functions) If you use the above table as a common table expression, you can also rename the columns in the with block. Example 2: Named Window Functions I’m not sure yet whether this is just syntactic sugar or has real value, but you can set up named “windows.” By way of explanation, a lot of times when you start using aggregate functions (min, max, array_agg, etc), you end up using window functions, which resemble the following: These allow you do calculate aggregate functions (like min/max) without combining all the rows. PGConfNYC Keynote Notes (Gilt)

Execution in the Kingdom of Nouns Hello, world! Today we're going to hear the story of Evil King Java and his quest for worldwide verb stamp-outage.1 Caution: This story does not have a happy ending. It is neither a story for the faint of heart nor for the critical of mouth. If you're easily offended, or prone to being a disagreeable knave in blog comments, please stop reading now. Before we begin the story, let's get some conceptual gunk out of the way. The Garbage Overfloweth All Java people love "use cases", so let's begin with a use case: namely, taking out the garbage. If you're a normal, everyday, garden-variety, English-speaking person, and you're asked to describe the act of taking out the garbage, you probably think about it roughly along these lines: get the garbage bag from under the sink carry it out to the garage dump it in the garbage can walk back inside wash your hands plop back down on the couch resume playing your video game (or whatever you were doing) Of course our thoughts are also filled with nouns.

Immersive Linear Algebra immersivemath immersive linear algebra by J. Ström, K. The world's first linear algebra book with fully interactive figures. Learn More Check us out on Twitter and Facebook Table of Contents Preface A few words about this book. Chapter 1: Introduction How to navigate, notation, and a recap of some math that we think you already know. Chapter 2: Vectors The concept of a vector is introduced, and we learn how to add and subtract vectors, and more. Chapter 3: The Dot Product A powerful tool that takes two vectors and produces a scalar. Chapter 4: The Vector Product In three-dimensional spaces you can produce a vector from two other vectors using this tool. Chapter 5: Gaussian Elimination A way to solve systems of linear equations. Chapter 6: The Matrix Enter the matrix. Chapter 7: Determinants A fundamental property of square matrices. Chapter 8: Rank Discover the behaviour of matrices. Chapter 9: Linear Mappings Learn to harness the power of linearity... Chapter 10: Eigenvalues and Eigenvectors

Custom Sensor Solutions, Inc. - Operational Amplifiers Simplified How Operational Amplifiers Work The operational amplifier (or 'op amp') is a critical component in any apparatus for doing electrochemistry. There are many references to op amps out there, but here, we're going to concentrate only on those features that are important to electrochemical applications. This is the general schematic for an op amp. Figure 1. General symbol for an op amp. There are two input terminals (left side) and one output terminal. The output voltage is determined by the following formula: Where V- is the voltage at the inverting input, V+ is the voltage at the noninverting input, and Vo is the output voltage. Op amps are active devices and must be provided with power to operate. Op amps come in several packages. The pin connections of nearly all 8 pin DIP single op amps are standard * Pin 1 - no connection * Pin 2 - inverting input * Pin 3 - noninverting input * Pin 4 - negative power supply * Pin 5 - no connection * Pin 6 - output * Pin 7 - positive power supply

15+ Inspirational Portfolio Designs As creative folk and freelance designers, we often want to show off our work to others — whether that be to clients, family, friends, or colleagues. Your online portfolio says a lot about your style and approach to work, and it’s an important thing to spend time tweaking and perfecting. In this article, we’ll walk through 18 creatively designed portfolios to give you a few ideas for your next portfolio refresh. Flick through, enjoy the inspiration, and feel free to share your own examples in the comments! Synergy This portfolio design is colorful, functional, and cleverly designed. Work Diary The Work Diary design has a fairly inventive 3D hover effect, with a stylish menu that is “sticky”. Kronos Kronos is a tasteful one page portfolio and has a beautiful flat inspired interface, with easy navigable menus and controls. Elox Bold and colourful, I really like the persistent information that stays on the left side of the page showing the designer’s photo, name, and contact details. All Me

Differential Equations Explained $\cos$PLAY You're probably used to equations like $$(t-.5)(t-1)= 0,$$ where 'solving' means finding an unknown number. A differential equation (DE), by contrast, is a fact about the derivative of an unknown function, and 'solving' one means finding a function that fits. To visualize derivatives, we can draw a right triangle whose hypoteneuse is tangent to a function. If the triangle's width is $1$, then its height is the derivative. With that one weird trick, the plots to the right show how the derivative of $\sin(t)$ is $\cos(t)$. That's a pretty basic DE, though. Consider a cart rolling to a stop. The solution is a function $v(t)$ giving velocity at time $t$. It turns out the exponential function, $e^{-kt}$, has the properties $$ \begin{align} \frac{d}{dt}e^{-kt}=-ke^{-kt} && e^{-k\cdot 0}=1. To make the solution more intuitive, here you'll solve the cart's DE manually by picking a series of $\left( t, v \right)$ points. The first cart below obeys the $v(t)$ function you designed.

Related: