Skip to main content

Home/ InnoDev/ Group items tagged code

Rss Feed Group items tagged

Peter Vojtek

You Should Write Ugly Code - 1 views

  •  
    personally think that developers shouldn't care about code beauty, because that's not their job. Instead, they should focus on creating great products, which is infinitely more satisfying. Code Fashion What defines beauty in code? Just like for clothes, opinions on the subject may vary. Each year, we find new trend-setters, like Jeff Atwood, Martin Fowler, or Eric Evans. They offer convincing arguments to explain why pattern A is better than pattern B. Until someone else publishes a book, explaining that pattern C is much, much better
Jozef Fulop

Responsible Refactoring - Naildrivin' - 1 views

  •  
    I'm not going to be talking about the third step of the TDD cycle. Refactoring code that's in development and not currently running on production is something you must absolutely do. Work clean, and write clean code. What we're talking about is changes to existing, running code.
Jozef Fulop

Does the GIL Make Your Ruby Code Thread-Safe? - 1 views

  •  
    out of 5 dentists agree that multi-threaded programming is hard to get right. At the end of the day, all that the GIL guarantees is that MRI's native C implementations of Ruby methods will be executed atomically (but even this has caveats). ... So the GIL doesn't 'solve' thread-safety issues. ... One way that we work with hard problems is with good abstractions. ... We're seeing more and more abstractions around threads. An approach that's catching on in the Ruby community is the Actor model of concurrency, with the most popular implementation being Celluloid. Celluloid provides a great abstraction that marries concurrency primitives to Ruby's object model. Celluloid can't guarantee that your code will be thread-safe or free from race conditions, but it wraps up best practices. I encourage you give Celluloid a try.
Stano Bocinec

A look inside Facebook's source code - 2 views

  •  
    So what have we learnt today? I think the main thing to take away from this is you shouldn't use public services such as Pastebin to post internal source code. Some creepy guy like me is going to collect it all and write about it. Another thing is to make sure debug information is never pushed to production. I didn't put much effort in to this but there will be more of Facebook's source code floating around out there.
Stano Bocinec

Your anonymous code contributions probably aren't: boffins - 1 views

  •  
    There's no such thing as an anonymous programmer: your coding style can unmask you, according to research led by Drexel University Comp. Sci. PhD student Aylin Caliskan-Islam. In work that has serious implications for anyone believing their open source project contributions are anonymous, the researchers find that as many as 95 per cent of contributors to a decent-sized code base can be identified.
Jozef Fulop

Rails Quick Tips - ActiveRecord::Calculations.pluck - The Hashrocket Blog - 2 views

  •  
    Definitely less code but what is it doing? .pluck is a (misplaced?) calculation method that, like described above, is returning an array of results based
Jozef Fulop

How to be an open source gardener - 0 views

  •  
    I do a lot of work on open source, but my most valuable contributions haven't been code. Writing a patch is the easiest part of open source. The truly hard stuff is all of the rest: bug trackers, mailing lists, documentation, and other management tasks. Here's some things I've learned along the way...
Peter Vojtek

Why the most important part of your app has the messiest code - 2 views

  •  
    dovody preco je to tak su dost trefne.
Peter Vojtek

10 ways to be a faster code reviewer - 2 views

  •  
    Vyborne tipy, nielen z hladiska review, napr. body 1 a 4.
Stano Bocinec

Celebration of *Day Against DRM* at O'Reilly - 50% off on all 8000+ Ebooks & Videos - 0 views

  •  
    In Celebration of *Day Against DRM* Save 50% on all 8000+ Ebooks & Videos Use Code: DRM2014 Deal expires May 7, 2014 at 5am PT, and cannot be combined with other offers or applied to Print, or "Print & Ebook" bundle pricing.
Stano Bocinec

How Ruby Uses Memory - 0 views

  •  
    I've never met a developer who complained about code getting faster or taking up less RAM. In Ruby, memory is especially important, yet few developers know the ins-and-outs of why their memory use goes up or down as their code executes.
Stano Bocinec

Five Things Old Programmers Should Remember - 3 views

  •  
    If you've been-there-done-that and you're now building your dream home with your retirement fund, this post really isn't for you. Congratulations are in order. But if, like me, you find yourself getting older and still can't resist the desire to keep coding and building things, then read on.
Juraj Visnovsky

Image Tragick - 0 views

  •  
    There are multiple vulnerabilities in ImageMagick, a package commonly used by web services to process images. One of the vulnerabilities can lead to remote code execution (RCE) if you process user submitted images. The exploit for this vulnerability is being used in the wild.
Peter Vojtek

PubSubHubbub - 0 views

  •  
    pre rozsirenie si znalosti o message oriented architekturach.
Peter Vojtek

Git Source Code Review - 3 views

  •  
    toto nie je citanie pre tych co chcu lepsie rozumiet gitu z pouzivatelskeho hladiska, ale je to vyborne citanie o tom, ako sa robi zaujimava softverova architektura.
Stano Bocinec

SymbolHound: Search Better. Code Better. - 2 views

  •  
    SymbolHound is a search engine that doesn't ignore special characters. This means you can easily search for symbols like &, %, and π. We hope SymbolHound will help programmers find information about their chosen languages and frameworks more easily. Example searches: === javascript scala => lisp #' ruby $$
Peter Vojtek

They Write the Right Stuff - 1 views

  •  
    the last three versions of the program -- each 420,000 lines long-had just one error each. The last 11 versions of this software had a total of 17 errors. Commercial programs of equivalent complexity would have 5,000 errors. Take the upgrade of the software to permit the shuttle to navigate with Global Positioning Satellites, a change that involves just 1.5% of the program, or 6,366 lines of code. The specs for that one change run 2,500 pages, a volume thicker than a phone book. The specs for the current program fill 30 volumes and run 40,000 pages.
Stano Bocinec

3 lessons learned running an open source company - 1 views

  •  
    It all sounds so straightforward: Put your code up on GitHub or start/join a project at the Apache Software Foundation (ASF), build a community of like-minded individuals, start a company, take in some funding, and then IPO. Or maybe not. One thing is certain: Running an open source company has unique challenges and opportunities.
Juraj Visnovsky

Idioms that lead to faster running Ruby code - 0 views

  •  
    Pomocka pri pisani rychlejsieho Ruby kodu. V ramci moznosti... :o)
Stano Bocinec

Unix History Repository - 0 views

  •  
    commity Kernighana, Ritchieho, Bournea .. The goal of this project is to create a git repository representing the Unix source code history, starting from the 1970s and ending in the modern time. To fulfill this goal the project brings data from early snapshots, repositories, and primary research. The project aims to put in the repository as much metadata as possible, allowing the automated analysis of Unix history. The following table illustrates the type of material that can be gathered and integrated into the repository.
1 - 20 of 24 Next ›
Showing 20 items per page