Skip to main content

Home/ Aasemoon'z Cluster/ Group items tagged coding

Rss Feed Group items tagged

Aasemoon =)

Facebook Developers | HipHop for PHP: Move Fast - 0 views

  • Today I'm excited to share the project a small team of amazing people and I have been working on for the past two years; HipHop for PHP. With HipHop we've reduced the CPU usage on our Web servers on average by about fifty percent, depending on the page. Less CPU means fewer servers, which means less overhead. This project has had a tremendous impact on Facebook. We feel the Web at large can benefit from HipHop, so we are releasing it as open source this evening in hope that it brings a new focus toward scaling large complex websites with PHP. While HipHop has shown us incredible results, it's certainly not complete and you should be comfortable with beta software before trying it out. HipHop for PHP isn't technically a compiler itself. Rather it is a source code transformer. HipHop programmatically transforms your PHP source code into highly optimized C++ and then uses g++ to compile it. HipHop executes the source code in a semantically equivalent manner and sacrifices some rarely used features — such as eval() — in exchange for improved performance. HipHop includes a code transformer, a reimplementation of PHP's runtime system, and a rewrite of many common PHP Extensions to take advantage of these performance optimizations.
Aasemoon =)

Embedded.com - Timing Closure on FPGAs - 0 views

  • Have you ever written code that behaves correctly under a simulator only to have intermittent failures in the field? Or maybe your code no longer functions properly when you compile with a newer version of your tool chain. You review your test bench and verify 100 percent complete test coverage and that all tests have passed with no errors--yet the problem stubbornly remains. While designers understandably place great emphasis on coding and simulation, they often have only a nodding acquaintance with the internal workings of the silicon within an FPGA. As a result, incorrect logic synthesis and timing problems, rather than logic errors, are the cause of most logic failures. But writing FPGA code that creates predictable, reliable logic is simple if designers take the right steps. In FPGA design, logic synthesis and related timing closure occur during compilation. And many things, including I/O cell structure, asynchronous logic and timing constraints, can have a big impact on the compilation process, varying results with each pass through the tool chain. Let's take a closer look at ways to eliminate these variances to better and more quickly achieve timing closure.
Aasemoon =)

Doing C-code generation better: from graphical code to embedded target | Industrial Con... - 0 views

  • One challenge designers face is the need to translate their algorithms into code for use in embedded targets. The task has proven to be long and prone to error. This article examines how the use of high-level design tools and C code generation capabilities improves the design flow by exploring different use cases and how to reduce the amount of embedded technology expertise required to program embedded targets.
Aasemoon =)

Five Tips for Improving IntelliJ IDEA Performance | geek listed - 0 views

shared by Aasemoon =) on 02 Jan 10 - Cached
  •  
    Since I totally luv IDEA...... "We use JetBrains IntelliJ IDEA Java IDE and love its features, functionality, and price point. Dealing with its performance is another matter, however. When developing Seam 2.x applications, IDEA can just crawl - and this is when sticking to just one project or SVN branch at a time. Some of the biggest performance hits our team has noticed are: 1. File indexing on IDEA startup 2. Long code completion times when editing XHTML/JSF files 3. Pauses when switching from one Java or XHTML file to another 4. Calls to Ant targets can drag on forever for no apparent reason while others time they are tidy and fast Here is a collection of ideas on how to improve the performance of IDEA; note that not all of these will be applicable to your environment or application. For example, we wouldn't consider turning off local history options as this is invaluable. 1. If you're not using Subversion or other version control system, turn off synchronized files. This can be disabled from the Settings -> General, and disabling "Synchronize Files on Frame Activation". 2. Revert to IDEA's original visual interface. Browse to Settings -> Appearance and select the "IDEA 4.5 Default" theme. 3. Decrease the size of local history of code changes. Even if you find this feature invaluable, you can still improve performance of IDEA by reducing the number of days of local history IDEA will store. By default this option is set to three days! 4. Disable unused plugins. You mean you're not developing GWT apps and you're not working with JetGroovy? Great, then why not disable some of those plugins? 5. Increase the IDEA Java VM heap size. I can attest to this offering much improved performance; if you can spare the memory, follow these directions: 1. locate your Program Files/JetBrains/IDEA x.x/bin directory 2. open idea.exe.vmoptions 3. modify Xms, Xmx, and XX:MaxPermSize settings as needed"
Aasemoon =)

Develop Web Apps in F# with WebSharper | .NET Zone - 1 views

  • In ASP.NET development, F# also offers productivity advantages over VB and C#.  F# is different because it is statically checked and type-safe.  It addresses weaknesses in ASP.NET development like untyped values, complex form construction, and using strings for IDs and method names that connect markup with code-behind (class-files).  Writing a web application in F# on the WebSharper platform can be less-time consuming if a developer is not great at writing web apps in JavaScript.  Through WebSharper, developers can write a web app using a large subset of F# and .NET core libraries and then just let WebSharper map the code to JavaScript.  WebSharper can integrate with ASP.NET applications, but it is different from the standard approach because it builds applications from miniature web pages called "pagelets".  The pagelets correspond to functions on the client-side and they are automatically translated into JavaScript.   WebSharper supports a wide range of JavaScript libraries, making it easy for developers to optimize their code in whatever way they choose.  jQuery, qooxdoo, Flapjax, and Yahoo UI are all supported by WebSharper.  The leap from F# to JavaScript is manageable because both are functional languages that support lambda expressions and closures.  Another unique part of WebSharper is a "formlet".  A formlet is a special pagelet that provides form functionality.  Formlets in Web Sharper run and validate on the client, submitting their result to a either a client- or a server-side callback.
Aasemoon =)

Coding 4 DNA | LarryLarsen | Channel 9 - 0 views

  • Andrew Phillips holds the title of Scientist with Microsoft Research Cambridge, and he's working on a method of programming that compiles into DNA. Part of this involves a visual programming language called Stochastic Pi Machine, or SPiM. This system models biological processes to help give researchers feedback on how organisms will react to modifications. The hope is that this can be used to help scientists program for large biological systems using modular components compiled to DNA. Yes, I’m in way over my head here, but I do my best to ask Andrew about the role this will play in medical treatment going forward, what it means to DNA computing, and the ability of back-engineering the genetic code we don’t use now.
Aasemoon =)

What Is an Arduino Shield and Why Should My Netduino Care? | Coding4Fun Articles | Chan... - 0 views

  • When the Arduino Duemilanove microcontroller appeared in 2005, it featured a set of female pin headers exposing most of the pins of the ATmega168 for easy hacking and for connecting accessory boards known as 'Shields'. The purpose of a shield is to provide new plug-and-play functionality to the host microcontroller, such as circuit prototyping, motion control, sensor integration, network and radio communication, or gaming interfaces, without worrying too much about the hardware implementation details. Seven years after the birth of the original Arduino, new shields keep coming out and are being cataloged on http://shieldlist.org/, a testament to the versatility of the design. It is also simple to build a DIY shield when nothing out there will meet your needs or when you want to understand how the shield concept works from the ground up.
Aasemoon =)

Demonstrating a Mini-Compiler with a Stack-Machine Program that Calculates Factorials -... - 0 views

  • In Stack Machines, Expression Evaluation, and the Magic of Reverse Polish, I showed how expressions can be evaluated by rewriting them in reverse Polish and translating this into machine-code instructions for a stack machine. I demonstrated with a stack-machine interpreter that I'd written as part of a working model of a Pascal compiler. But as well as expressions, the compiler needs to compile assignments and jumps, so — in my progress towards explaining the compiler — I'm going to extend the machine code so it can handle these. I'll demonstrate by interpreting a program that calculates five factorial.
Aasemoon =)

Calling F# from COBOL and Back Again - CodeProject - 0 views

  • Running languages on .NET is ultra-powerful. Using managed COBOL (from Micro Focus), it is possible to use F# code to work with COBOL code. Imagine a Cloud based F# map reduce system consuming legacy COBOL - yes, that really is on the horizon.
Aasemoon =)

untitled - 0 views

  • Andrew Phillips holds the title of Scientist with Microsoft Research Cambridge, and he's working on a method of programming that compiles into DNA. Part of this involves a visual programming language called Stochastic Pi Machine, or SPiM. This system models biological processes to help give researchers feedback on how organisms will react to modifications. The hope is that this can be used to help scientists program for large biological systems using modular components compiled to DNA. Yes, I’m in way over my head here, but I do my best to ask Andrew about the role this will play in medical treatment going forward, what it means to DNA computing, and the ability of back-engineering the genetic code we don’t use now
Aasemoon =)

IEEE Spectrum: Cracking Security Codes: Does It Matter? - 0 views

  • The past week or so there have been two stories about very secure system protocols being able to be successfully hacked by researchers. The first concerned the report by the AP that Christopher Tarnovsky, a former U.S. Army computer-security specialist and who now runs the Flylogic security company, was able to crack open (literally) a Trusted Platform Module or TPM and obtain its cryptographic keys. This hadn't been done before, or at least admitted to publicly.
Aasemoon =)

Simulation Robot Programming with Microsoft Robotics Developer Studio (MRDS) and SPL - ... - 0 views

  • Simulation enables people with a personal computer to develop very interesting robots, cars, spaceship, and an enormous range of scientific effects with the main limiting factors becoming time and imagination. A novice user with little to no coding experience can use simulation; developing interesting applications in a game-like environment.
Aasemoon =)

Henry Sowizral on Refacing C++ with WPF in Expression Design | Pete Brown | Channel 9 - 0 views

  • While on campus for the MVP Summit in February, I had a chance to visit Henry Sowizral over in building 41. Henry Sowizral is a Principal Architect in Microsoft Expression, and he and his team did something really cool: they converted an existing C/C++/MFC application to have a WPF front-end, while still leveraging all that existing code. If you have legacy code and are considering porting the UI to .NET, pick up some pointers from Henry. Once you've finished, check out Henry's presentation deck on how the team converted the Expression Design UI to WPF. See more WPF at Pete's site and blog http://10rem.net Follow Pete on twitter at @pete_brown
Aasemoon =)

Visual Studio 2010 Code Visualization Tools | The Knowledge Chamber | Channel 9 - 0 views

  • Visual Studio 2010 is a fairly important release of the developer tool of choice for writing Windows applications. One of the important advancements in the new update is how it enables developers and architects to better visualize the assets and dependencies through UML (Unified Modeling Language) diagrams. In this episode, Cameron Skinner gives us a quick overview of how Visual Studio 2010’s new UML visualization tool's design might help you with better understanding the overall structure of your applications.
Aasemoon =)

JLOUIS Ramblings: Haskell vs. Erlang for bittorent clients - 0 views

  • Since I wrote a bittorrent client in both Erlang and Haskell, etorrent and combinatorrent respectively, I decided to put up some bait. This might erupt in a language war and “My language is better than yours”, but I feel I am obligated to write something subjective. Here is to woes of programming in Haskell and Erlang.Neither Haskell, nor Erlang was a first language for me. I have programmed serious programs in C, Standard ML, Ocaml, Python, Java and Perl; tasted the cake of Go, Javascript, Scheme and Ruby; and has written substantial stuff in Coq and Twelf. I love static type systems, a bias that will rear its ugly head and breathe fire.I have written Haskell code seriously since 2005 and Erlang code seriously since 2007. I have programmed functionally since 1997 or so. My toilet reading currently is “Categories for the working mathematician” by Mac Lane. Ten years ago it was “ML for the working programmer” by Paulson.Enough about me.
Aasemoon =)

Acoustics and Psychoacoustics Applied - Part 5: Audio coding systems and more | Audio D... - 0 views

  • Part 5 of an excerpt from the book "Acoustics and Psychoacoustics," fourth edition, begins with a brief look at noise-reducing headphones and "mosquito" units and ringtones, and then delves into the ins and outs of audio coding systems.
Aasemoon =)

InfoQ: Erlang Style Concurrency for .NET Applications Part 1 - CCR - 0 views

  • Erlang allows for massively scalable concurrency, often with millions of lightweight, thread-like components known as actors. Unfortunately, using Erlang requires rewriting all of your legacy code into a rather esoteric language. But there are other options, such as the little known CCR platform that was developed by .NET's robotics department. Actor based languages such as Erlang are able to achieve high degrees of parallelism by using the Actor model. Under this model the fundamental unit of concurrency is not a thread or fiber, but rather something much smaller. Known as a "process" in Erlang, each unit of concurrency has a base overhead of about 1200 bytes on a 32-bit system. By comparison, a thread on the Windows operating system defaults to 1 MB just for the stack, additional space is also needed for bookkeeping and thread local storage. Because they are so lightweight, an application can spawn literally millions of processes simultaneously.
Aasemoon =)

C9 Lectures: Dr. Ralf Lämmel - The Quick Essence of Functional Programming | ... - 0 views

  • We had to cover monads eventually, and there are many great monad tutorials out there (see, for example, here: http://www.haskell.org/haskellwiki/Tutorials#Using_monads). In fact, there are web resources concerned solely with organizing the many monad tutorials available in the wild, and developing new monad tutorials seems to be a popular sport in the Haskell community.Today, Ralf Lämmel's lecture goes back to the roots, essentially revisiting Wadler's "The essence of functional programming"—the 1992 paper that discovered monads and popularized their use in functional programming. Ralf Lämmel's lecture and accompanying code distribution show Wadler's seminal insight: those original scenarios and observations still make sense today. Indeed, Simon Marlow (a Haskell/GHC high priest @ MSR Cambridge) recently noted: "it's still the best monad tutorial" (see http://twitter.com/simonmar/status/21397398061).
Aasemoon =)

Mercury Releases OpenSAL - Open Source Version of Scientific Algorithm Library | Milita... - 0 views

  • CHELMSFORD, MA.  October 7, 2010  Mercury Computer Systems, Inc. (NASDAQ: MRCY, www.mc.com), a trusted ISR subsystems provider, announced the availability of OpenSAL, an open source version of its award-winning Scientific Algorithm Library (SAL) for vector math acceleration. SAL is a high-throughput, low-latency signal processing library containing efficient algorithms with the fewest possible instructions and computing resources. OpenSAL provides a robust API, C code reference design and documentation for over 400 SAL math functions.
1 - 20 of 117 Next › Last »
Showing 20 items per page