|
RyuJIT will be available soon. It is a next generation JIT-compiler for .NET-applications. Microsoft likes to tell us about the benefits of SIMD using and JIT-compilation time reducing. But what about basic code optimization which is usually applying by a compiler? Today we talk about the loop unrolling (unwinding) optimization. In general, in this type of code optimization, the code for ( int i = 0 ; i < 1024 ; i +..
|
|
RyuJIT will be available soon. It is a next generation JIT-compiler for .NET-applications. Microsoft likes to tell us about the benefits of SIMD using and JIT-compilation time reducing. But what about basic code optimization which is usually applying by a compiler? Today we talk about the loop unrolling (unwinding) optimization. In general, in this type of code optimization, the code for ( int i = 0 ; i < 1024 ; i +..
|
|
The question of location comes up a lot in software consulting. Will the work be done on the client’s premises, or the consultant’s? There’s no right answer. Some clients don’t have the office space to accommodate an entire development team. Others already have a large IT department and want the consultancy’s team co-located with their existing staff. Working at the consultancy’s office may afford certain perks like a relaxed dress co..
|
|
Sometimes I want to know used JIT compiler version in my little C# experiments. It is clear that it is possible to determine the version in advance based on the environment. However, sometimes I want to know it in runtime to perform specific code for the current JIT compiler. More formally, I want to get the value from the following enum: public enum JitVersion { Mono , MsX86 , MsX64 , RyuJit } It i..
|
|
Sometimes I want to know used JIT compiler version in my little C# experiments. It is clear that it is possible to determine the version in advance based on the environment. However, sometimes I want to know it in runtime to perform specific code for the current JIT compiler. More formally, I want to get the value from the following enum: public enum JitVersion { Mono , MsX86 , MsX64 , RyuJit } It i..
|
|
It's the end of February and this game is supposed to be content-complete. In a sense, it actually is. All the levels are done. Twenty in all. I thought this month would never end! Just so you know, there are sixty of those lights and I had to hook up each one individually. It fell just barely beneath the "worth it to automate" threshold . Don't look too closely at this next one, it's a bit spoilery.
|
|
Update 17/03/2015: I'm also using NotMuch now, for more info check out this post . Update 2/6/2015: I've added msmtp to the mix, check out my new post about it . This is part of a series of posts where I describe my workflow and OS setup.
|
|
Can you say, what will the following code display for step=1? public void Foo ( int step ) { for ( int i = 0 ; i < step ; i ++) { bar = i + 10 ; for ( int j = 0 ; j < 2 * step ; j += step ) Console . WriteLine ( j + 10 ); } } If you think about specific numbers, you are wrong. The right answer: it depend..
|
|
Can you say, what will the following code display for step=1? public void Foo ( int step ) { for ( int i = 0 ; i < step ; i ++) { bar = i + 10 ; for ( int j = 0 ; j < 2 * step ; j += step ) Console . WriteLine ( j + 10 ); } } If you think about specific numbers, you are wrong. The right answer: it depend..
|
|
If you don’t know the basics of AngularJS service, I recommend you read the other article I wrote on AngularJS Services Part 1: Provider.
|
|
Chances are, sooner or later, you're going to want to be able to let someone log into an application you're writing. Here in the Microsoft space where I still spend a majority of my time, authenticating against Azure Active Directory is always a consideration in any
|
|
Sometimes you can learn a lot during reading source .NET. Let’s open the source code of a Decimal constructor from .NET Reference Source ( mscorlib/system/decimal.cs,158 ): // Constructs a Decimal from an integer value. // public Decimal ( int value ) { // JIT today can't inline methods that contains "starg" opcode. // For more details, see DevDiv Bugs 81184: x86 JIT CQ: Removing the inline striction ..
|
|
Sometimes you can learn a lot during reading source .NET. Let’s open the source code of a Decimal constructor from .NET Reference Source ( mscorlib/system/decimal.cs,158 ): // Constructs a Decimal from an integer value. // public Decimal ( int value ) { // JIT today can't inline methods that contains "starg" opcode. // For more details, see DevDiv Bugs 81184: x86 JIT CQ: Removing the inline striction ..
|
|
Docker config to setup XO which is a web interface to visualize and administrate your XenServer (or XAPI enabled) hosts Github: sammcj/docker-xen-orchestra Running the app Updates are pushed to the Docker Hub’s automated build service: https://registry.hub.docker.com/u/sammcj/docker-xen-orchestra From Docker Hub docker pull sammcj/docker-xen-orchestra docker run -d -p 8000:80 sammcj/docker-xen-orchestra Building git ..
|
|
Docker config to setup XO which is a web interface to visualize and administrate your XenServer (or XAPI enabled) hosts Github: sammcj/docker-xen-orchestra Running the app Updates are pushed to the Docker Hub’s automated build service: https://registry.hub.docker.com/u/sammcj/docker-xen-orchestra From Docker Hub docker pull sammcj/docker-xen-orchestra docker run -d -p 8000:80 sammcj/docker-xen-orchestra Building git ..
|
|
Logging millions of requests everyday and what it takes
-
engineering.hackerearth.com
-
11 years ago
-
eng
HackerEarth’s web servers handle millions of requests every day. These request logs can be analyzed to mine some highly useful insights as well as metrics critical for the business, for example, no. of views per day, no. of views per sub product, most popular user navigation flow etc. Initial Thoughts HackerEarth uses Django as its primary web development framework and a host of other components which have been customized for performance ....
|
|
I started using AngularJS couple of months ago, when we got a new client that wanted us to help with building an app written in Angular.
|
|
Today must read is Nine Things to Expect from HTTP/2 , brewed for us by one of the HTTP/2 core designers, Mark Nottingham. Ten well spent minutes of your time.
|
|
Vagrant is a great tool for development, but Red Hat Enterprise Linux (RHEL) customers have typically been left out, because it has been impossible to get RHEL boxes! It would be extremely elegant if hackers could quickly test and prototype their code on the same OS as they’re running in production. Secondly, when hacking on projects that have a long initial setup phase (eg: a long rpm install) it would be excellent if hackers could ro..
|
|
Vagrant is a great tool for development, but Red Hat Enterprise Linux (RHEL) customers have typically been left out, because it has been impossible to get RHEL boxes! It would be extremely elegant if hackers could quickly test and prototype their code on the same OS as they’re running in production. Secondly, when hacking on projects that have a long initial setup phase (eg: a long rpm install) it would be excellent if hackers could ro..
|
|
Comment on The Ins and Outs of the Yahoo Flickr Creative Commons 100 Million Dataset by Flickr users with the largest number of photos uploaded • djchuang.com
-
code.flickr.net
-
11 years ago
-
eng
may be used like free stock photography depending on its licensing. Flickr users have uploaded almost 100 million photos associated with a Creative Commons […]
|
|
Eve 0.5.2 has just been released with a bunch of interesting fixes and documentation updates. See the changelog for details.
|
|
Introduction One of the things I love about Go is the profiling and debug information you can generate. There is a special environmental variable named GODEBUG that will emit debugging information about the runtime as your program executes. You can request summary and detailed information for both the garbage collector and the scheduler. What’s great is you don’t need to build your program with any special switches for it to work.
|
|
Inspired by http://zitseng.com/archives/7489 Source (Github) WARNINGS Do not run unless you understand what this is doing The CA system is broken by design - This is not a fix for that This is merely a band-aid for those interested or concerned about these root CAs Usage chmod +x delete_gov_roots.sh ./delete_gov_roots.sh You’ll be prompted for your password as root access is required to delete system-wide root certs. ..
|
|
Inspired by http://zitseng.com/archives/7489 Source (Github) WARNINGS Do not run unless you understand what this is doing The CA system is broken by design - This is not a fix for that This is merely a band-aid for those interested or concerned about these root CAs Usage chmod +x delete_gov_roots.sh ./delete_gov_roots.sh You’ll be prompted for your password as root access is required to delete system-wide root certs. ..
|
|
In my previous post I wrote about rethinking racing (aka ripping out the existing racing system). Today I got most of the work done on that. There is a lot left to do, but as of right now:
|
|
Once you have set-up a web server like Apache or nginx running on the Raspberry Pi it is time to create a website. From here there a several options: A CMS that relies on a database, some purely manual crafted pages or a static pages generated by a script. I chose the latter for some reasons. Static sites have a lot of advantages: no database to slow requests down offer greater security, as they do not contain dynamic content, so are immun..
|
|
As humans, we pride ourselves of being able to pass information and culture to the future generations. We think, that since we invented written words, the printing press, and the internet, we have invented information. We haven’t. Many other animals successfully transfer information in their communities, over multiple generations. Take the example of a young leopard learning to hunt from his mother. Initially, the hunting skill and informat....
|
|
In recent years it has become more and more common to work in different projects running on different versions of Java. There are still some running on Java 6, and there are tons already running on Java 8.
|
|
Hello! If you are not familiar with Docker , it is the popular open source container engine. Most people use Docker for containing applications to deploy into production or for building their applications in a contained environment. This is all fine & dandy, and saves developers & ops engineers huge headaches, but I like to use Docker in a not-so-typical way. I use Docker to run all the desktop apps on my computers. But why would I....
|
|
Racing in Gastorpoda has been implemented for months in its most basic state, but has never really gotten the attention it needs. So things like jars, in-jar positioning, and movement ended up evolving past the stage of the racing and making the current racing system kind of an outdated one.
|
|
When I joined Red Square in 2013 the office used different pieces of software to keep track of daily tasks.
|
At Wingify, we believe in open source and actively seek opportunities to give back to the community. We make use of a lot of open source…
|
|
If you’ve been in the #rust-internals IRC channel recently, you may’ve caught a madman raving about how much they like Rust: 1 2 3 4 5 ... [15:50:03]
|
|
One of the most annoying things I deal with is XML documents with invalid characters inside them. Usually caused by copy pasting from MS Word it ends up with invisible characters that you cannot easily find and cause XML parsers to choke. I have encountered this problem enough that I thought a quick blog post would be worth the effort. As such here mostly for my own reference is a regular expression for C# .NET that will clean invalid XML..
|