Skip to main content

Home/ Coders/ Group items tagged structures

Rss Feed Group items tagged

Andrey Karpov

The Archive of Interesting Code - 0 views

  •  
    The Archive of Interesting Code is an (ambitious) effort on my part to research, intuit, and code up every interesting algorithm and data structure ever invented. In doing so, I hope both to learn the mathematical techniques that power these technologies and to improve my skills as a programmer. The examples on this site are in a variety of languages. I generally prefer to use C++ for algorithms, since the STL provides a great framework for expressing algorithms that work on a variety of data types. I code up most data structures in Java, both because the Collections framework allows them to be integrated in seamlessly with other applications and because automatic garbage collection simplifies some of the resource management. Every now and then I'll find an algorithm or data structure that is best represented in a different language like Haskell, in which case I'll forgo my usual language conventions.
alex gross

C# to JavaScript: HOWTO Declare JSON - JavaScript Object Notation - 5 views

  •  
    JSON, short for JavaScript Object Notation, is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). This example illustrates how to declare a JSON Contact structure.
Fabien Cadet

Programming as if Performance Mattered, by James Hague [2004-04-04] - 3 views

  • I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures.
  • Inevitably someone chimes in that making out-of-context assumptions, especially without profiling, is a bad idea. And they're right.
  • The golden rule of programming has always been that clarity and correctness matter much more than the utmost speed. Very few people will argue with that. And yet do we really believe it? If we did, then 99% of all programs would be written in something like Python. Or Erlang.
  • ...5 more annotations...
  • At the same time, such concerns and advice seem to remain constant despite rapid advances in hardware.
  • That tempting, enticing, puzzle-solving activity called "optimization," it hasn't gone away either.
  • Only now the process is on a different level. It isn't machine level twiddling and cycle counting, but it isn't simply mathematical analysis of algorithms either.
  • The big difference is that the code changes I made are substantially safer than running a program and having it silently hang the system. All array accesses are bounds-checked. There's no way to accidentally overwrite a data structure. There's no way to create a memory leak.
  • Really, this is what those cycle-counting programmers from 1985 dreamed of.
  •  
    « I frequently see bare queries from programmers in discussion forums, especially from new programmers, who are worried about performance. These worries often stem from popular notions about what operations are "slow." Division. Square roots. Mispredicted branches. Cache unfriendly data structures. »
bosenbio

gellan gum for sale - 0 views

  •  
    Gellan gum is also known as Kaike gum and Jielan gum. The main components are glucose, glucuronic acid and rhamnose in a ratio of 2:1:1, and four monosaccharides are linear polysaccharides composed of repeating structural units. There are acetyl and glyceric acid groups in the natural high acetyl structure, they are all located on the same glucose group, and on average, each repeating structure has a glyceric acid group, and every two repeating structures has an acetyl group. After being saponified with KOH, it is transformed into low acetyl gellan gum. The glucuronic acid group can be neutralized by potassium, sodium, calcium and magnesium salts. It also contains a small amount of nitrogen produced during fermentation production.
Fabien Cadet

STXXL : Standard Template Library for Extra Large Data Sets - 4 views

  • The key features of STXXL are:
  • Transparent support of parallel disks. The library provides implementations of basic parallel disk algorithms. STXXL is the only external memory algorithm library supporting parallel disks.
  • The library is able to handle problems of very large size (tested to up to dozens of terabytes).
  • ...4 more annotations...
  • Improved utilization of computer resources. STXXL implementations of external memory algorithms and data structures benefit from overlapping of I/O and computation.
  • Small constant factors in I/O volume. A unique library feature called "pipelining" can save more than half the number of I/Os, by streaming data between algorithmic components, instead of temporarily storing them on disk. A development branch supports asynchronous execution of the algorithmic components, enabling high-level task parallelism.
  • Shorter development times due to well known STL-compatible interfaces for external memory algorithms and data structures.
  • For internal computation, parallel algorithms from the MCSTL or the libstdc++ parallel mode are optionally utilized, making the algorithms inherently benefit from multi-core parallelism.
  •  
    « The core of STXXL is an implementation of the C++ standard template library STL for external memory (out-of-core) computations, i. e., STXXL implements containers and algorithms that can process huge volumes of data that only fit on disks. »
Joel Bennett

M - The modelling language - 0 views

  •  
    M seems to be like LINQ for data structure generation: a simple template language with assemblers for different back-end technologies.
  •  
    The Microsoft code name "M" language is a declarative language for working with data and building domain models. "M" lets users write down how they want to structure and query their data using a textual syntax that is convenient to both author and reader.
Fabien Cadet

MIT's Introduction to Algorithms, Lectures 22 and 23: Cache Oblivious Algorithms - good... - 0 views

  • Cache-oblivious algorithms should not be confused with cache-aware algorithms. Cache-aware algorithms and data structures explicitly depend on various hardware configuration parameters, such as the cache size. Cache-oblivious algorithms do not depend on any hardware parameters.
  • An example of cache-aware (not cache-oblivious) data structure is a B-Tree that has the explicit parameter B, the size of a node. The main disadvantage of cache-aware algorithms is that they are based on the knowledge of the memory structure and size, which makes it difficult to move implementations from one architecture to another.
  •  
    « Cache-oblivious algorithms take into account something that has been ignored in all the lectures so far, particularly, the multilevel memory hierarchy of modern computers. Retrieving items from various levels of memory and cache make up a dominant factor of running time, so for speed it is crucial to minimize these costs. The main idea of cache-oblivious algorithms is to achieve optimal use of caches on all levels of a memory hierarchy without knowledge of their size. »
subsequent1 subsequent1

doudoune ralph lauren big pony pas cher Malheureusement - 0 views

Ils sont plutôt rémunérés comme des cadres supérieurs ». À l'ENS, deux tiers des diplômés se dirigent vers l'enseignement supérieur et la recherche, 12 % vers l'enseignement secondaire. Ils sont 20...

sac ralph lauren pas cher doudoune big pony veste chere

started by subsequent1 subsequent1 on 15 Dec 14 no follow-up yet
apptech23

6 SEO Best Practices for Structuring Website URLs APPTech Mobile Solutions - 0 views

  •  
    It's been an extended time since we covered one among the foremost fundamental building blocks of SEO-the structure of domain names and URLs-and i feel it's time to revisit. But, a crucial caveat before we begin: the optimal structures and practices i will be describing within the tips below aren't absolutely critical on any/every page you create.
htmlslicemate.com

Using CSS Preprocessors With WordPress - LESS Structures - 0 views

  •  
    Using LESS to Create Twenty Twelve Child Theme We are going to be creating a child theme for the default Twenty Twelve theme. For those of you who are unfamiliar with creating child themes, the only thing we need to create a child theme is a style.css file. For more info, visit the WordPress Codex...............
htmlslicemate.com

All You Need To Know About CSS3 Selectors, #1: Structural Pseudo-Classes - 0 views

  •  
    Today's front-end developers don't just need to understand how to write CSS, we need to know how to write it efficiently. And what "efficiently" means can depend on your project and environment. Perhaps you have a team with several members working in the CSS and you need an efficient way to work together. Or maybe you have a huge enterprise site and you need your CSS optimized for speed. You could even be working with a legacy system that restricts access to HTML, which means you need efficient selectors to effectively style elements without ids or classes. You might even face all these situations and more.
steve steve7876

cash for structured settlements - 0 views

  •  
    Fortunately, it does not have to be too difficult to sell an annuity today. However, you do have to take the time to make sure that you are working with a company that has a good reputation in the business
reachtoroy

Asp.net and its Benefits - CRB Tech Reviews - 0 views

  •  
    Asp.net is an open source server-side Web program structure developed for Web growth to generate powerful websites.
Fabien Cadet

Design pattern in simple examples @ go4expert.com - 0 views

  •  
    Describes all of the GoF patterns (Creational / Structural / Behavioral) using 2 UML diagrams: One presenting the pattern, one for an example. There's not a lot of verbal description though.
anonymous

Traits - 0 views

  •  
    Traits are a simple composition mechanism for structuring object-oriented programs. A Trait is essentially a parameterized set of methods; it serves as a behavioral building block for classes and is the primitive unit of code reuse. With Traits, classes are still organized in a single inheritance hierarchy, but they can make use of Traits to specify the incremental difference in behavior with respect to their superclasses. Unlike mixins and multiple inheritance, Traits do not employ inheritance as the composition operator. Instead, Trait composition is based on a set of composition operators that are complementary to single inheritance and result in better composition properties.
Fabien Cadet

Intel® 64 and IA-32 Architectures Software Developer's Manuals - 0 views

  •  
    Software Developer's Manuals: * Volume 1: Basic Architecture. * Volume 2A&B: Instruction Set Reference. * Volume 3A&B: System Programming Guide. * Optimization Reference Manual. * Memory Ordering White Paper. * Application Note: TLBs, Paging-Structure Caches, and Their Invalidation. * x2APIC Specification.
Joel Bennett

NDepend - 0 views

  •  
    NDepend is a tool that simplifies managing a complex .NET code base. Architects and developers can analyze code structure, specify design rules, plan massive refactoring, do effective code reviews and master evolution by comparing different versions of the code.
Fabien Cadet

« Big Ball of Mud » (aka. Spaghetti Code) , by Brian Foote and Joseph Yoder (... - 3 views

  • The class of systems that we can build at all may be larger than the class of systems we can build elegantly, at least at first.
  •  
    « While much attention has been focused on high-level software architectural patterns, what is, in effect, the de-facto standard software architecture is seldom discussed. This paper examines this most frequently deployed of software architectures: the BIG BALL OF MUD. A BIG BALL OF MUD is a casually, even haphazardly, structured system. Its organization, if one can call it that, is dictated more by expediency than design. Yet, its enduring popularity cannot merely be indicative of a general disregard for architecture. »
Sylwia S

Daily Headlines Theme Demo | Just another ProudThemes.com Theme Demo - 0 views

  •  
    Daily Headlines is a premium WordPress theme developed by ProudThemes.com. It has an unique way of creating the structure of the homepage, something that is hard to describe with words. So make sure to take 2 minutes and watch this screencast of Daily Headlines widgetized homepage.
1 - 20 of 72 Next › Last »
Showing 20 items per page