|
Introduction: By nature HackerEarth has so many programming puzzles. These puzzles bound to have mathematical equations, statements and symbols. Problem Setters often requested us to add support for Latex. Implementation: The obvious and easy solution for this is to implement Latex support for individual pages. But that’s not scalable and maintainable. Then we came with up with a solution where we didn’t have to write custom code for eve....
|
|
Analyzing submissions in real time for social media updates
-
engineering.hackerearth.com
-
10 years ago
-
eng
Objective In Jan 2015, HackerEarth conducted nearly 10-12 hiring challenges, 5-6 coding challenges and numerous college challenges. HackerEarth has a decent social media presence and we wanted to inform our followers about the events at HackerEarth. One of the main objectives of this project was to provide flexibility to the marketing team to automate simple jobs and to focus on sophisticated campaigns. Design Goals As a first step, we d....
|
|
Picked up via Emacs Redux's Display the Keybinding for a Command With Substitute-command-keys , with my own example: (message (substitute-command-keys "Press \\[ar/ox-html-export] to export org file")) Press
|
|
Recently updated org-mode and started seeing an invalid function error: Error (use-package): ob :config: Invalid function: org-babel-header-args-safe-fn Just learned dired enables you to mark files and byte compile via M-x dired-do-byte-compile .
|
|
We at HackerEarth regularly conduct 24-hours internal hackathons usually once a month to boost ourselves to get familiar with new technologies and to come up with great ideas and hacks to increase our productivity. A hackathon project can be anything from creating a new product to creating some tools which helps our own devlopment. In the hakathon in Dec 2015, I came up with the idea to create a profiler which could tell which code inside d....
|
|
We know that we can’t control the outcomes of sporting events or elections. Then why do we become so emotional over what we can’t control?
|
Hi. In this post I will share a git pre-commit hook I created for aiding with code beautification. In Linux, I work in two different coding styles: User space and Kernel. The Linux kernel has a very specific coding style and every commit to kernel must adhere to that style. The Linux kernel provides a […]
|
|
When the new .net core reached RC it looked like the perfect time to start to port some of the Nuget packages I've made starting with…
|
|
I’ve discussed my homelessness on here before, but between my camping trip a few months back and my early retirement revelation , I now have a whole new lens to examine it under. Getting Nostalgic So let’s take it back more than 12,500 years: humans aren’t doing anything productive. We’re hunter-gatherers, we set up camp near wherever we think the food (berries, plants, and huntable animals) will be at. We build simple st..
|
|
I’ve discussed my homelessness on here before, but between my camping trip a few months back and my early retirement revelation , I now have a whole new lens to examine it under. Getting Nostalgic So let’s take it back more than 12,500 years: humans aren’t doing anything productive. We’re hunter-gatherers, we set up camp near wherever we think the food (berries, plants, and huntable animals) will be at. We build simple st..
|
|
Core UI principles that transcend frameworks and provide stability in a rapidly changing world of software engineering
|
|
NSDictionary *dictionary = @{ @"key1" : @"val1\n", @"key2" : @"val2\n", @"key3" : @"val3\n", @"key4" : @"val4\n", @"key5" : @"val5\n", @"key6" : @"val6\n", }; NSError *error; NSData *jsonData = [NSJSONSerialization dataWithJSONObject:dictionary options:0 error:&error]; if (error) { // noooooooooo! } NSString *json = [[NSString alloc] initWithData:jsonData encoding:NSUTF8StringEncoding];
|
|
Today we launched a mobile website for homeless people … and it was launched by one of Australia’s many recent Prime Ministers Today alone we served up over 87,000 requests As many of you know, I work with Infoxchange as the operations lead. When I first heard the idea of a website or app for people that have found or are worried about finding themselves homeless in Australia I really didn’t think it made sense - until I saw t..
|
|
Today we launched a mobile website for homeless people … and it was launched by one of Australia’s many recent Prime Ministers Today alone we served up over 87,000 requests As many of you know, I work with Infoxchange as the operations lead. When I first heard the idea of a website or app for people that have found or are worried about finding themselves homeless in Australia I really didn’t think it made sense - until I saw t..
|
|
Smart suggestions with Django, Elasticsearch and Haystack
-
engineering.hackerearth.com
-
10 years ago
-
eng
Introduction One of the primary issues when gathering information from users is suggesting the right options that they are looking for. At HackerEarth, we gather information from all our developers which help us provide them a better experience. So there came a time when we had to suggest very smartly to our users! :D When humongous amounts of data has to be indexed and suggested intelligently, one of the efficient ways to do it is by us....
|
|
Managing roles and access control in a web application
-
engineering.hackerearth.com
-
10 years ago
-
eng
HackerEarth Recruit , is a platform for technical recruitment. Many companies use this platform for candidate assessments and interviewing. There can be multiple admins for a company account. As teams grow in size, access control is a special concern for applications that deal with financial and privacy data. Access control is concerned with determining the allowed activities of legitimate users, but we required more sophisticated and compl....
|
|
We had implemented a javascript logger to capture the pesky issues our users faced and had problems when using the site. When we came up with the idea, we thought it would be just a five minute job where we would just have to add a snippet and would be done, but as it is well know, nothing is simple when it comes to real world production issues. After analyzing a lot of loggers, we decided to use errorception as our javascript logger. I....
|
|
Whenever we roll out an improvement on our platform, we at HackerEarth love to conduct A/B tests on the improvement to understand which iteration helps our users more in using the platform in a better way. Since the available third party libraries did not quite meet our needs, we wrote our own A/B testing framework in Django. In this post we will share a few insights as to how we accomplished this. The basics A lot of products, especially....
|
|
What being a PM is really like - Software is easy, People are hard
-
www.craigkerstiens.com
-
10 years ago
-
eng
In recent months I’ve had the question nearly once a week about advice/tips for becoming a Product Manager or more commonly referred to as PM. These are generally coming from people that are either currently engineers, or previously were and are in some engineer/customer role such as a sales engineer or solution architect. There’s a number of high level pieces talking about PM and it often feels glorious, I mean you get to make product de....
|
|
What being a PM is really like - Software is easy, People are hard
-
www.craigkerstiens.com
-
10 years ago
-
eng
In recent months I’ve had the question nearly once a week about advice/tips for becoming a Product Manager or more commonly referred to as PM. These are generally coming from people that are either currently engineers, or previously were and are in some engineer/customer role such as a sales engineer or solution architect. There’s a number of high level pieces talking about PM and it often feels glorious, I mean you get to make product de....
|
|
This is so cool I can hardly stand it. In Docker 1.10, the awesome libnetwork team added the ability to specify a specific IP for a container. If you want to see the pull request it’s here: docker/docker#19001 . I have a IP Block on OVH for my server with 16 extra public IPs. I totally use these for good and not for evil . But to use these previously with Docker containers meant hackery with the awesome pipework . Or even worse som..
|
|
I’ve been working on a project that uses Fabric and I’m hosting Redis inside the cluster as a simple cache system. One of things that isn’t baked into Fabric is a pub/sub model for communicating between services about events that are occuring. As I’ve got the Redis instance up and running in the cluster I decided to take a look at using the Pub/Sub capabilities in Redis to make this happen. N.B Redis isn’t a guarenteed delivery so use ..
|
|
Update 2021 ] This approach is now very out-dated. I’m working on a project where we’re in need of a cache inside Service Fabric. Now the cache doesn’t need to be durable just nice, quick and easy to use. So I came up with the idea of running a Redis cache inside the cluster as a stateless service fabric service. The problem with this is that when the cluster re-balances the services between nodes I will lose the inmemory data in Redis ..
|
|
Lecture at Ecole Polytechnique: Taking Network Management into the 21st Century
-
rob.sh
-
10 years ago
-
eng
Mark Townsley and Jean-Louis Rougier again invited me to come and lecture at École Polytechnique this year. Their course there focuses on analysing the success of network protocols - using the (fantastic) framework laid out in RFC5218. Given that I’d spoken about SR for the last couple of years in my lecture there, and was giving a (slightly) updated version of the SR lecture at Telecom ParisTech for JLR’s ‘Future Internet’ course earlie..
|
|
Lecture at Ecole Polytechnique: Taking Network Management into the 21st Century
-
rob.sh
-
10 years ago
-
eng
Mark Townsley and Jean-Louis Rougier again invited me to come and lecture at École Polytechnique this year. Their course there focuses on analysing the success of network protocols - using the (fantastic) framework laid out in RFC5218. Given that I’d spoken about SR for the last couple of years in my lecture there, and was giving a (slightly) updated version of the SR lecture at Telecom ParisTech for JLR’s ‘Future Internet’ course earlie..
|
|
I sent this email to the Putty guys, but I haven't heard back from them. So I'll post it here. --------------------------- First of all, thanks for your work on Putty. It's a very useful tool for us. However pscp uploads much more slowly than it should for us. We are uploading from our office network (UK) to a server in a German data centre. Ping latency to the server is ~31ms. Uploading a ~100MB file, putty stabilises at around 2..
|
|
Here are the two BIWA Summit 2016 presentations I delivered today. The first one is a collection of high level thoughts (and opinions) of mine and the 2nd one is more technical: SQL in the Hybrid World from Tanel Poder SQL Monitoring in Oracle Database 12c from Tanel Poder
|
|
Here are the two BIWA Summit 2016 presentations I delivered today. The first one is a collection of high level thoughts (and opinions) of mine and the 2nd one is more technical: SQL in the Hybrid World from Tanel Poder SQL Monitoring in Oracle Database 12c from Tanel Poder
|
|
Six months ago, I wrote on this blog about Geohashes and LevelDB with Go, to create a fast geo database. This post is very similar as it works the same way but replacing GeoHashes with Google S2 library for better performances. There is an S2 Golang implementation maintened by Google not as complete as the C++ one but close. For the storage this post will stay agnostic to avoid any troll, but it applies to any Key Value storages: LevelDB/Ro..
|