~/devreads

21 Jun 2011

Junior Grossi 3 min read

Boa tarde, pessoal! É muito comum em aplicações web a necessidade de trabalhar com imagens, tanto para redimensionamento, criação de thumbnails, girar, etc. Apresento a Asido, um conjunto de classes para trabalhar com imagens em PHP. Embora eu não goste muito da forma de organização de OO que a Asido utiliza, é uma boa ferramenta … Continue reading Redimensionamento, rotação…

asidogdimagemagickimagensphp

Junior Grossi 1 min read

Boa tarde, pessoal! Utilizar onKeyUp para fazer chamadas Ajax é bem interessante, melhorando e muito a experiência do usuário com o sistema, de maneira que os resultados da pesquisa vão aparecendo na medida que ele pressiona as teclas no teclado. Porém, imagine, a cada tecla que o usuário pressiona é uma chamada Ajax na aplicação, … Continue reading setTimeOut para…

javascript

Junior Grossi 2 min read

Olá pessoal! Esta semana estou trabalhando num projeto onde a utilização de Ajax está sendo muito útil em termos de performance e facilidade na busca de produtos no banco de dados. Como estou utilizando Zend Framework no projeto, vou explicar resumidamente como trabalhar com requisições Ajax no ZF. Basicamente, o óbvio seria desabilitar a renderização … Continue reading Utilizando AjaxContext…

ajaxphpzend frameworkzf

20 Jun 2011

1 min read

Dangling Nodes and Non-Uniqueness Recall where we left off last time. Given a web $ W$ with no dangling nodes, the link matrix for $ W$ has 1 as an eigenvalue, and if the corresponding eigenspace has dimension 1, then any associated eigenvector gives a ranking of the pages in $ W$ which is consistent with our goals. The first…

1 min read

My next book will be Practical Math for Programmers A High-Level Overview of Fully Homomorphic Encryption Searching for Riemann Hypothesis Counterexamples Linear Programming and Healthy Diets Hybrid Images Bezier Curves and Picasso

19 Jun 2011

1 min read

Story Time Linear algebra was founded around the same time as Calculus (think Leibniz, circa 1700) solely for the purpose of solving general systems of linear equations. The coefficients of a system were written in a grid form, with rows corresponding to equations and columns to the unknown variables. Using a computational tool called the determinant (an awkward, but computable…

18 Jun 2011

1 min read

The Web as a Graph The goal of this post is to assign an “importance score” $ x_i \in [0,1]$ to each of a set of web pages indexed $ v_i$ in a way that consistently captures our idea of which websites are likely to be important. But before we can extract information from the structure of the internet, we…

16 Jun 2011

Junior Grossi 2 min read

Olá pessoal. Indo direto ao assunto, sempre tive dúvidas quanto a usar o Poedit para traduzir strings, motivo pelo qual usava mais arrays em PHP mesmo. Porém, mais cedo ou mais tarde, necessitamos evoluir e correr atrás do tempo perdido. Sempre achei o Poedit chato e nunca conseguia fazê-lo funcionar. Após umas fuçadas na net … Continue reading Tradução usando…

gettexti18nphppoeditzend framework

Junior Grossi 1 min read

Olá pessoal. É meu primeiro post no blog. Depois de alguns anos me rendendo à tentação (por falta de tempo), mas sabendo de sua importância, me rendi aos encantos do WordPress e fiz um blog, simples, que espero que sirva de referência para pessoas assim como eu, que todo dia recorre ao Google para tirar … Continue reading Primeiro post…

bloggeneraljunior grossi

14 Jun 2011

1 min read

The Quest to Capture Speed Companies and researchers spend hundreds of millions of dollars for the fruits of their algorithms. Whether one is indexing websites on the internet for search, folding proteins, or figuring out which warehouse is the most cost-effective to ship a product from, improvements in algorithm speed save immense amounts of money. It’s no surprise then, that…

1 min read

Binary Search Binary search is perhaps the first and most basic nontrivial algorithm a student learns. For the mathematicians out there, binary search is a fast procedure to determine whether a sorted list contains a particular element. Here is a pseudocode implementation: # Binary Search: # Given a list L, sorted via the total order <, and a sought #…

13 Jun 2011

1 min read

The goal of this post is to use prime numbers to make interesting and asymmetric graphics, and to do so in the context of the web design language CSS. Number Patterns For the longest time numbers have fascinated mathematicians and laymen alike. Patterns in numbers are decidedly simple to recognize, and the proofs of these patterns range from trivially elegant…

12 Jun 2011

1 min read

Importance on the Web As a society living in the “Information Age,” it comes as no surprise that we are faced with the task of sorting through vast oceans of content. With the admission that most content is actually junk, we must wisely choose the objects of our analysis. The appropriately named site UselessJunk.com certainly doesn’t deserve the same attention…

10 Jun 2011

1 min read

It’s now official, I have resigned from Sony Computer Entertainment America. I was planning on posting this a bit later but since I was politely escorted out of the building by HR/security, I have more free time to let you know of my decision. Before you ask: No, my decision isn’t directly related to the recent PSN/Sony security breach events…

29 May 2011

2 min read

If you are looking for some inspiration for your next weekend hack project, here is a list of ideas that could be built using the SoundCloud platform. Feel free to add your own ideas in the comments!

26 May 2011

Joel Spolsky 3 min read

The Stack Exchange network is already up to 51 sites on diverse topics, from math to cooking to science fiction. Each site is a community on its own,… Read more "Modern community building"

news

24 May 2011

Schakko 1 min read

Yesterday I installed a central Git repository server for storing all configuration files from our Linux servers. Every /etc directory is now observed by Git (and etckeeper). Each of these servers pushes the changes from the local master branch to the central repository. Authentication is done via public/private key authentication. […] The post Installing Git on Citrix XenServer 5.5 appeared…

virtualizationcitrixgitxenserver

20 May 2011

Schakko 1 min read

Heute habe ich es endlich geschafft, den Patch für mod_auth_ldap (Apache 2.0.63) und mod_authnz_ldap (Apache 2.2.18) auf Github zu veröffentlichen. Die Version für mod_auth_ldap hatte ich bereits vor zwei Jahren fertig gestellt, aber nie öffentlich zugänglich gemacht. Stattdessen schlummerte Kompilat und Sourcen in unserem Unternehmens-Repository. Der Patch stellt drei Einstellungen […] The post Global-Bind-User Patch für mod_auth_ldap (Apache 2.0.63) und…

active directory ldapapacheglobal bind usermod authnz ldapmod auth ldap

19 May 2011

1 min read

Alongside with the SoundCloud Android app we’ve created a new Java Wrapper for the SoundCloud API and today we can finally release it to the public! It is simple to use, supports OAuth2 and requires a minimum of external dependencies so it should be easily embeddable in both desktop and mobile applications.

15 May 2011

Dominic Steinitz 4 min read

One of my colleagues (Roland Zumkeller) posted some nifty functions to count the number of expressions in an AST for the DSL we work on. This led to an email and chat discussion that I have summarised in this post. Any errors are entirely mine. Let’s start off with our target language. It’s easy to … Continue reading Monadic Caching…

category theoryhaskell

11 May 2011

9 May 2011

Joel Spolsky 1 min read

We’re working on a series of two-day Stack Overflow conferences for the fall: “What’s this conference about? The idea for the original DevDays was to have high-bandwidth,… Read more "Help us organize the next Stack Overflow conference"

news

5 May 2011

Brendan Eich 2 min read

NodeConf is a blast, and Mozilla had a 30 minute slot. Here’s the slideshare.net link. SpiderNode and V8Monkey are on github, of course. Paul O’Shannessy already blogged a few weeks ago. To avoid confusion, here’s the cheat-sheet: V8Monkey is SpiderMonkey with V8’s API around it. We are not done emulating the full V8 API. Because … Continue reading "Mozilla’s NodeConf…

mozillauncategorized

Brendan Eich 9 min read

@jashkenas was kind enough to let me join him for his JSConf.us session. Here is the slideshare link. I’ll comment on the individual slides below. Jeremy’s talk was entitled “CoffeeScript as a JS/next”, and I was interested in giving an update on Ecma TC39 Harmony progress, so when Jeremy and I met and caught up … Continue reading "My JSConf.US…

mozillauncategorizedtranspiler

4 May 2011

1 May 2011

Schakko 3 min read

Unsere bisherigen Pläne für ZABOS sehen vor, dass wir die Funktionalität der Alarmierung per SMS über Fünfton-Folgeruf (ZVEI) erweitern – nämlich um die digitalen Protokolle POCSAG und FMS. Unserer bisheriger Fünfton-Folgerufempfänger ist ein selbstenwickeltes Board mit Mikrocontroller, der die Fünfton-Folgen aufnimmt und dann über die serielle Schnittstelle an ZABOS weiterreicht. […] The post Funkauswerter monitord um ActiveMQ-Support erweitern appeared first…

apachelinuxworkactivemqcpp

29 Apr 2011

28 Apr 2011

Joel Spolsky 2 min read

What do you do for lunch every day? Where do you eat it? With whom? I’ve been on teams that eat together every day, and it’s awesome.… Read more "Lunch"

news

4 min read

Greetings! I’m Robb and this is my first SoundCloud Backstage blog post. During the day I’m a developer working on the Mac App here in the…

27 Apr 2011

Joel Spolsky 1 min read

Jeff Atwood and I have resumed our weekly podcast, formerly known as the Stack Overflow Podcast, now known as the Stack Exchange Podcast! Here are some ways… Read more "The podcast is back!"

news

23 Apr 2011

Schakko 1 min read

Zur Vorbereitung meiner Klausur für Angewandte Mathematik bin ich über eine Aufgabe zum Berechnen der multiplikativ Inversen innerhalb eines Galois-Felds gestoßen. In Anlehnung an meine Euklid-Vorlage habe ich ein weiteres Dokument geschrieben, in dem detailiert erklärt wird, wie man innerhalb eines Galois-Feldes das multiplikativ Inverse einer Zahl mit Hilfe des […] The post Erweiterte Euklidischer Algorithmus für die Berechnung der…

angewandte mathematikdivisiondualerweiterteuklid

14 Apr 2011

1 min read

In this post I will do my best to explain why and how I reinvented the wheel and wrote a custom web framework for some of Sony’s AAA console titles. My goal is to reflect on my work by walking you through the design process and some of the implementation decisions. This is not about being right or being wrong,…

7 Apr 2011

Schakko 1 min read

Some time ago I developed ADUaCET, an extension for the Active Directory User and Computer MMC snap-in. Sad to say but the ADUaCET property page is not shown if you are searching for an user. It is only available if you use the procedure right click $USER -> Properties. I […] The post Additional property page sheet in Active Directory…

active directory ldapmicrosoft.netactive directoryaduacet

6 Apr 2011

1 min read

UPDATE: Check out our guide on Playing Sounds for the most up to date information. We think the default audio widget from SoundCloud already is one of the sexiest on the web. But maybe you need something a bit simpler or complex and want to tailor the player to your needs. This is where the idea of “custom players” comes…

1 min read

UPDATE: Check out our guide on Playing Sounds for the most up to date information. This is an introduction to how you can power your app or website with sounds hosted on SoundCloud. Via our API, you get access to millions of different sounds, and in addition to streaming and downloading tracks, you can access meta data and social features…

5 Apr 2011

3 min read

UPDATE: Check out our guides on Authentication and Sharing Sounds for the most recent information. If you build an app or web service that generates any type of sound, it’s easy to connect it to SoundCloud and enable your users to share their creations across the web. Allowing users to share what they create to their existing social networks and…

4 Apr 2011

1 min read

We are happy to introduce you to our new developer portal developers.soundcloud.com. Here we are bundling up all the SoundCloud platform…

31 Mar 2011

Schakko 1 min read

As I mentioned yesterday, Christoph is currently developing the Active Directory Integration WordPress plugin. Today we were talking about the write back of WordPress profile settings to Active Directory. I mentioned it would be helpful to have an abstract definition of available Active Directory attributes which can be dynamically integrated […] The post Convert Active Directory schema to XML or…

active directory ldapphpactive directoryconvertjson

30 Mar 2011

Schakko 2 min read

Christoph was implementing a function into Active Directory Integration (ADI) (a WordPress plugin for Active Directory authentication and authorization) called Sync Back. With this function WordPress users are able to write back their WordPress profile to their Active Directory account. A problem that occured was that by default Active Directory […] The post How to give users the permission to…

active directory ldapactive directoryndernattributeattributes

20 Mar 2011

1 min read

If you program in Python, you’re probably familiar with the pickle serialization library, which provides for efficient binary serialization and loading of Python datatypes. Hopefully, you’re also familiar with the warning printed prominently near the start of pickle’s documentation: Warning: The pickle module is not intended to be secure against erroneous or maliciously constructed data. Never unpickle data received from…

19 Mar 2011

17 Mar 2011

15 Mar 2011

13 Mar 2011

12 Mar 2011

10 Mar 2011

0xADADA 6 min read

Motion, keyboard commands and shortcuts for VI Improved Legend Motion / Normal mode Insert mode Changes Yank/Put or Copy/Paste Visual/Visual Block Mode Commands Files Windows Tabs coc.nvim Denite Help Search/Replace Find Files Legend Command Keyboard Character command ⌘ control ⌃ alt ⎇ delete ⌫ option ⌥ shift ⇧ caps lock ⇪ tab ⇥ arrow up ↑ arrow down ↓ arrow…

notesvimneovim

9 Mar 2011

7 Mar 2011

1 min read

My name is Matt Aimonetti, and in my free time I work on Apple’s open source Ruby implementation named MacRuby. I’m also the author of O’Reilly’s MacRuby book. As you can imagine, I’m very thankful that Apple initiated the MacRuby project a few years ago and have been an avid supporter. MacRuby is awesome to develop OS X native applications…

1 Mar 2011

23 Feb 2011

Joel Spolsky 1 min read

One day, you’ll be telling your grandchildren about getting a programming job, version 1.0. You would send a “resume” to a “recruiter.” It included all kinds of… Read more "Careers 2.0 (by Stack Overflow)"

stack overflownews

22 Feb 2011

1 min read

Concurrency is certainly not a new problem but it’s getting more and more attention as machines start having more than 1 core, that web traffic increases drastically and that some new technologies show up saying that they are better because they handle concurrency better. If that helps, think of concurrency as multitasking. When people say that they want concurrency, they…

19 Feb 2011

1 min read

Today I was helping someone write an Objective-C framework around cocos2d. C/Objective-C code can be called directly from MacRuby. However the Obj-C code you would like to use might be using some ANSI C symbols that are non-object-oriented items such as constants, enumerations, structures, and functions. To make these items available to our MacRuby code, you need to generate a…

11 Feb 2011

Joel Spolsky 1 min read

There’s a surprising amount of misinformation out there about whether software companies own the work that a programmer does in their spare time. From my answer to… Read more "Does your employer own your side projects?"

news

8 Feb 2011

1 min read

reptyr (announced recently on this blog) takes a process that is currently running in one terminal, and transplants it to a new terminal. reptyr comes from a proud family of similar hacks, and works in the same basic way: We use ptrace(2) to attach to a target process and force it to execute code of our own choosing, in order…

3 Feb 2011

Joel Spolsky 1 min read

If you weren’t able to make it to the FogBugz/Kiln world tour, a video of my presentation is up now on YouTube. (If you have a high… Read more "FogBugz/Kiln Demo"

news

31 Jan 2011

1 min read

Designing beautiful and scalable software is hard. Really hard. It’s hard for many reasons. But what makes it even harder is that software scalability is a relatively new challenge, something only really done in big companies, companies that are not really keen on sharing their knowledge. The amount of academic work done on software design is quite limited compared to…

24 Jan 2011

Joel Spolsky 5 min read

(reposted from the Stack Overflow blog) 2010 was an absolutely amazing year here at Stack Overflow. We grew from 7 million visitors to over 16 million, putting… Read more "Stack Overflow 2010 recap"

stack overflownews

21 Jan 2011

1 min read

Over the last week, I’ve written a nifty tool that I call reptyr. reptyr is a utility for taking an existing running program and attaching it to a new terminal. Started a long-running process over ssh, but have to leave and don’t want to interrupt it? Just start a screen, use reptyr to grab it, and then kill the ssh…

19 Jan 2011

Brendan Eich 16 min read

Continuing in the vein of paren-free, I’d like to present a refreshed vision of JavaScript Harmony. This impressionist exercise is of course not canonical (not yet), but it’s not some random, creepy fanfic either. Something like this could actually happen, likelier and better if done with your help (more on how at the end). I’m … Continue reading "Harmony Of…

mozillauncategorized

1 min read

From today on, we advise developers to use OAuth 2 as preferred way of API authentication. Our implementation of the Draft 10 OAuth…

18 Jan 2011

1 min read

Part of my job at Sony PlayStation is to architect scalable systems which can handle a horde of excited players eager to be the first to play the latest awesome game and who would play for 14-24 hours straight. In other words, I need to make sure a system can “scale”. In my case, a scalable system is a system…

15 Jan 2011

7 Jan 2011

Stephen Blum 1 min read

Get started integrating PubNub into your node js server side application to build real-time pub/sub communication in your application.

5 Jan 2011

1 Jan 2011

4 min read

So you are familiar with the SoundCloud API Wrapper and want to use it to share the sounds you upload? And you want to use the existing connections on SoundCloud or make new ones? Awesome. Here’s how to do it.

27 Dec 2010

1 min read

I’ve spent a lot of time this last week staring at decompiled Dalvik assembly. In the process, I created a couple of useful tools that I figure are worth sharing. I’ve been using dedexer instead of baksmali, honestly mainly because the former’s output has fewer blank lines and so is more readable on my netbook’s screen. Thus, these tools are…

20 Dec 2010

13 Dec 2010

10 Dec 2010

1 min read

Dan Rosenberg recently released a privilege escalation bug for Linux, based on three different kernel vulnerabilities I reported recently. This post is about CVE-2010-4258, the most interesting of them, and, as Dan writes, the reason he wrote the exploit in the first place. In it, I’m going to do a brief tour of the various kernel features that collided to…

9 Dec 2010

1 Dec 2010

Steve Yegge 4 min read

The worldwide Haskell community met up over beers today to celebrate their unprecedented discovery of an industry programmer who gives a shit about Haskell. On Wednesday, researchers issued a press release revealing that 27-year-old Seth Briars of North Carolina, a Java programmer at Blackwater accounting firm Ross and Fordham, actually gives a shit about Haskell. "Mr. Briars has followed every…

30 Nov 2010

1 min read

Most of you reading this blog probably remember CVE-2010-3081. The bug got an awful lot of publicity when it was discovered an announced, due to allowing local privilege escalation against virtually all 64-bit Linux kernels in common use at the time. While investigating CVE-2010-3081, I discovered that several of the commonly-believed facts about the CVE were wrong, and it was…

24 Nov 2010

Brendan Eich 12 min read

The tl;dr version <Krusty>So, you kids want CoffeeScript, do you?</Krusty> <script type="harmony"> // placeholder MIME type if year > 2010 { syntax++ } for i in iter { // i is a fresh let binding! frob(i) } while lo <= hi { let mid = (lo + hi) / 2 // binary search blah blah … Continue reading "Paren-Free"

mozillauncategorized

20 Nov 2010

16 Nov 2010

15 Nov 2010

Brendan Eich 2 min read

After marinating for a few months, my JSConf.eu slides: Proxies are Awesome! (Mobile/No-Flash version) These are based directly on the excellent work of Mark Miller and Tom Van Cutsem, who developed the harmony:proxies proposal that is now approved for the next major iteration of the JavaScript standard (ECMA-262, probably edition 6 but we’ve learned the … Continue reading "Proxy Inception"

mozillauncategorized

12 Nov 2010

1 min read

##Description of the talk: This year I gave the traditional Apple’s MacRuby talk at RubyConf. My presentation focused on 2 axis: What’s new since last RubyConf Show some examples of how fun it is to hack with MacRuby ##Video {% video https://cdn.confreaks.com/system/assets/datas/768/original/448-rubyconf2010-macruby-why-and-how-small.mp4 640 360 /images/matt_aimonetti_rubyconf2010.jpeg %} Other video formats are available here ##Slides Presentation slides available on Speakerdeck ##Details of…

7 Nov 2010

1 min read

I’ve recently started playing with scons a little for some small personal projects. It’s not perfect, but I’ve rapidly come to the conclusion that it’s a probably far better choice than make in many cases. The main exceptions would be cases where you need to integrate into legacy build systems, or if asking or expecting developers to have scons installed…

28 Oct 2010

26 Oct 2010

2 min read

Being both a mediocre biz dev guy and a nerd means I get to post on the Developer blog as well as our Company blog, and today I’d like to…

24 Oct 2010

1 min read

I love VMware workstation. I keep VMs around for basically every version of every major Linux distribution, and use them heavily for all kinds of kernel testing and development. This post is a quick writeup of my networking setup with VMware Workstation, using dnsmasq to assign my VMs addresses and provide a DNS server to resolve VM addresses. The objective…

22 Oct 2010

21 Oct 2010

Joel Spolsky 1 min read

Due to unexpected demand we’ve been working with the venues for the upcoming FogBugz World Tour 2010 (incorporating DVCS University) to find more room. We already have… Read more "World Tour – last chance"

news

19 Oct 2010

1 min read

I was working on a piece of code using MacRuby, Webkit and JavaScript. Calling JS from MacRuby is really straight forward but calling Ruby from JS is a but tricky. There is actually a known bug in MacRuby which was giving me a hard time. The bug should be fixed in 0.8 if everything goes according to plan. In the…

16 Oct 2010

Brendan Eich 1 min read

jwz finally learns some JS and picks at an old scab that had almost healed. I reply in various comments. I include some little-known, kind-of-funny (not always ha-ha funny) history along the way to set several records straight. The issue before us now is whether to add value types to JS, perhaps by extending proxies, … Continue reading "Should JS…

mozillauncategorized

15 Oct 2010

13 Oct 2010

Schakko 2 min read

Die letzten beiden Tage war ich damit beschäftigt, ein paar Evaluierungen für die .NET-Plattform zu machen. Eines unserer Projekte greift mit Hilfe eines (zugegebenermaßen ziemlich coolen) WPF-Frontends über WCF auf einen SOAP-Service zu, der die Verbindung zu einer MS SQL-Datenbank herstellt. Logging auf die Konsole Unter Java bzw. innerhalb eines […] The post .NET aus der Sicht eines Java-Entwicklers appeared…

application serverc#javamicrosoft.net

11 Oct 2010

1 min read

A common problem in software engineering is avoiding confusion and errors when dealing with multiple types of data that share the same representation. Classic examples include differentiating between measurements stored in different units, distinguishing between a string of HTML and a string of plain text (one of these needs to be encoded before it can safely be included in a…

8 Oct 2010

3 min read

Team SoundCloud hacking at Music Hack Day Barcelona Last weekend a team of SoundCloud attended Music Hack Day Barcelona. This blog post is…

4 Oct 2010

1 min read

A while back, I was poking around LLVM bugs, and discovered, to my surprise, that LLVM doesn’t support the va_arg intrinsic, used by functions to accept multiple arguments, at all on amd64. It turns out that clang and llvm-gcc, the compilers that backend to LLVM, have their own implementations in the frontend, so this isn’t as big a deal as…

30 Sept 2010

Schakko 2 min read

Wenn man die grundlegende Funktionsweise von Spring MVC verstanden hat – ich empfehle an dieser Stelle die äußerst vorzügliche offizielle Dokumentation -, kommt man an den Punkt, an dem man auch Bilder oder Stylesheets in die Web-Applikation einbinden möchte. Dafür gibt es zwei Möglichkeiten. Spezifizieren eines eigenen URL-Suffixes für Request-Mappings […] The post Springs FrontController soll keine CSS-, PNG- oder…

application serverjavacontentcontrollercss

29 Sept 2010

27 Sept 2010