Benki → All Posts

⇠ previous page next page ⇢

CINDER PROVIDES A POWERFUL, INTUITIVE TOOLBOX for programming graphics, audio, video, networking, image processing and computational geometry. Cinder is cross-platform, and in general the exact same code works under Mac OS X, Windows and a growing list of other platforms — most recently the iPhone and iPad.

Cinder is designed to take advantage of platforms’ native capabilities whenever it’s possible, and relies on a minimum of 3rd party libraries. This makes for much lighter, faster applications, and means Cinder apps get free performance, security and capability upgrades whenever the operating system does.

We also have worked hard to create a library that feels familiar and intuitive to C++ programmers, building on the idioms and techniques the C++ community has developed over its long history. Cinder’s modern internal memory management virtually eliminates leaks, not only of memory but also of resources like OpenGL textures. We make use of the exceptional Boost libraries to fill in any gaps, and always favor techniques built on features which are currently or soon will be standard C++ (such as std::thread or std::shared_ptr).

We are proud of Cinder, and while we think you’ll be hard-pressed to find a more powerful environment for creative coding, we’re just getting started. We hope you’ll take the time to experiment with Cinder yourself, and if you like what you see, come join our community.

openFrameworks is an open source C++ toolkit designed to assist the creative process by providing a simple and intuitive framework for experimentation. The toolkit is designed to work as a general purpose glue, and wraps together several commonly used libraries, including:

  • OpenGL, GLEW, GLUT, libtess2 and cairo for graphics
  • rtAudio, PortAudio, OpenAL and Kiss FFT or FMOD for audio input, output and analysis
  • FreeType for fonts
  • FreeImage for image saving and loading
  • Quicktime, GStreamer and videoInput for video playback and grabbing
  • Poco for a variety of utilities
  • OpenCV for computer vision
  • Assimp for 3D model loading

The code is written to be massively cross-compatible. Right now we support five operating systems (Windows, OSX, Linux, iOS, Android) and four IDEs (XCode, Code::Blocks, and Visual Studio and Eclipse). The API is designed to be minimal and easy to grasp.

openFrameworks is distributed under the MIT License. This gives everyone the freedoms to use openFrameworks in any context: commercial or non-commercial, public or private, open or closed source. While many openFrameworks users give their work back to the community in a similarly free way, there is no obligation to contribute.

Simply put, openFrameworks is a tool that makes it much easier to make things with code. We find it super useful, and we hope you do too.

A talk about the effective use of some lesser known C++ features. Very interesting!

A look at many of the new features in C++ and a couple of old features you may not have known about. With the goal of correctness in mind, we’ll see how to utilize these features to create simple, clear, and beautiful code. Just a little pinch can really spice things up.

What is the easiest way to find out the fonts used in a webpage? Firebug or Webkit Inspector? No, that’s too complicated. It should be just a click away.

Hence I wrote WhatFont, with which you can easily get font information about the text you are hovering on.

To embrace the new web font era, WhatFont also detects services used for serving the font. Now supports Typekit and Google Font API.

In the year 1930, John Maynard Keynes predicted that, by century’s end, technology would have advanced sufficiently that countries like Great Britain or the United States would have achieved a 15-hour work week. There’s every reason to believe he was right. In technological terms, we are quite capable of this. And yet it didn’t happen. Instead, technology has been marshaled, if anything, to figure out ways to make us all work more. In order to achieve this, jobs have had to be created that are, effectively, pointless. […]

Why did Keynes’ promised utopia – still being eagerly awaited in the ‘60s – never materialise? The standard line today is that he didn’t figure in the massive increase in consumerism. Given the choice between less hours and more toys and pleasures, we’ve collectively chosen the latter. This presents a nice morality tale, but even a moment’s reflection shows it can’t really be true.

A negative base (or negative radix) may be used to construct a non-standard positional numeral system. Like other place-value systems, each position holds multiples of the appropriate power of the system’s base; but that base is negative—that is to say, the base \scriptstyle b is equal to \scriptstyle -r for some natural number \scriptstyle r (r ≥ 2).

Negative-base systems can accommodate all the same numbers as standard place-value systems, but both positive and negative numbers are represented without the use of a minus sign (or, in computer representation, a sign bit); this advantage is countered by an increased complexity of arithmetic operations. The need to store the information normally contained by a negative sign often results in a negative-base number being one digit longer than its positive-base equivalent.

A Dystopian Document Thriller.

The communist state of Arstotzka has ended a 6-year war with neighboring Kolechia and reclaimed its rightful half of the border town, Grestin.

Your job as immigration inspector is to control the flow of people entering the Arstotzkan side of Grestin from Kolechia. Among the throngs of immigrants and visitors looking for work are hidden smugglers, spies, and terrorists. Using only the documents provided by travelers and the Ministry of Admission’s primitive inspect, search, and fingerprint systems you must decide who can enter Arstotzka and who will be turned away or arrested.

ClickToPlugin is a lightweight and highly customizable extension that prevents Safari from launching plug-ins automatically, resulting in faster browsing, reduced fan usage, and increased battery life. It replaces every plug-in object by an unobtrusive placeholder that can be clicked to load the embedded content. Further, it can replace many plug-in-based media players by Safari’s native HTML5 media player. ClickToFlash is a restriction of ClickToPlugin that only deals with Flash content.

I’ve had an unusual number of interesting conversations spin out of my previous article documenting that mobile web apps are slow. This has sparked some discussion, both online and IRL. But sadly, the discussion has not been as… fact-based as I would like.

So what I’m going to do in this post is try to bring some actual evidence to bear on the problem, instead of just doing the shouting match thing. You’ll see benchmarks, you’ll hear from experts, you’ll even read honest-to-God journal papers on point.

Just-in-time compilers offer the biggest achievable payoff performance-wise, but their implementation is a non-trivial, time-consuming task affecting the interpreter’s maintenance for years to come, too. Recent research addresses this issue by providing ways of leveraging existing just-in-time compilation infrastructures.

Though there has been considerable research on improving the efficiency of just-in-time compilers, the area of optimizing interpreters has gotten less attention as if the implementation of a dynamic translation system was the “ultima ratio” for efficiently interpreting programming languages. We present optimization techniques for improving the efficiency of interpreters without requiring just-in-time compilation thereby maintaining the ease-of-implementation characteristic that brought many people to implementing an interpreter in the first place.

PEMDAS is a simple but powerful calculator that lets you work with equations and variables.

It is designed to make calculating more efficient, and new and innovative features are being added that allow you to get work done faster and with less effort than other calculators.

An Apple Design Award Winning scientific calculator with an easy-to-use interface for doing calculations with equations and variables.

In addition to the keypad, it also features an equation history view, which is activated by clicking on the the button next to the info button in the bottom bar. The equation history view gives one-click access to everything in the current session, including all equations and their associated results, and all variables. You can clear the session by pressing clear on your keyboard twice fast (shift+delete for notebook users), or double clicking the clear button on the calculator.

In addition, PEMDAS lets you switch between degrees and radians, and has support for percentages, trigonometric, hyberbolic, and logarithmic/exponential functions. You can also convert between hexadecimal, octal, binary, and decimal. PEMDAS lets you format the answer in scientific and engineering notation, has a preference for thousands separators, and lets you limit the amount of significant figures or decimal places displayed.

Dieses Lexikon-Plugin erweitert Apples Lexikon-Programm (Dictionary.app) um einen deutschen Thesaurus.

  • Man kann nach allen Synonymen suchen und nicht nur nach dem Hauptwort.
  • Die Suche findet auch Wortbestandteile von Phrasen oder mit Bindestrichen zusammengesetzten Wörtern (Lexikon sucht normalerweise nur am Wortanfang).
  • Es ist keine Internetverbindung nötig, da das komplette Wörterbuch in das Plugin integriert wurde. Dieser Thesaurus basiert auf dem Online-Thesaurus www.openthesaurus.de von Daniel Naber und enthält bereits über 60.000 Einträge.

Here I offer you a plugin that enhances Mac OS X Leopard’s (10.5) or Mac OS X Snow Leopard’s (10.6) Dictionary.App to provide the complete German-English vocabulary from the fabulous dict.cc dictionary for offline use. It works great in Dictionary.App and other core Mac OS X services like Spotlight or Dictionary-Widget.

In March, readers followed along as Nate Anderson, Ars deputy editor and a self-admitted newbie to password cracking, downloaded a list of more than 16,000 cryptographically hashed passcodes. Within a few hours, he deciphered almost half of them. The moral of the story: if a reporter with zero training in the ancient art of password cracking can achieve such results, imagine what more seasoned attackers can do.

Imagine no more. We asked three cracking experts to attack the same list Anderson targeted and recount the results in all their color and technical detail Iron Chef style. The results, to say the least, were eye opening because they show how quickly even long passwords with letters, numbers, and symbols can be discovered.

Streamulus is a C++ library that makes it very easy to process event streams. You need to write code that handles a single event and the library turns this code into a data structure that handles infinite streams of such events. The stream operators you write can have side effects and they can maintain an internal state. An example is worth a thousand words.

⇠ previous page next page ⇢