|
When this post gained much traction in HackerNews and r/golang, I was both suprised and happy. The general interest made me more motivated to do more and write more. And also some good discussions happend on HackerNews thread that was & will be helpful to me. I decided to package myinit in Go, and rename it to gonit Contributions and ideas are welcome through email and in the issues of the GitHub repo.
|
|
The Future of Web Development (Part 2): Full-Stack Automated JavaScript Testing
-
engineering.widen.com
-
10 years ago
-
eng
In my last article, I showed you how to develop a full-stack JavaScript web application using some pretty interesting and futuristic libraries and web specifications. In this follow-up, I'm going to demonstrate how you can write server-side and client-side unit and integration/Selenium tests for that app entirely in JavaScript.
|
|
From Generate go struct definition from json file , and before I forget: curl http://url.tld/file.json | gojson -name=Repository
|
|
I previously noted how to undo your last git commit (ie. soft reset) . Using Magit: M-x magit-log-current . Move point to prior revision. M-x magit-reset-soft (defaults to revision at point). Or if you want a single function: (require 'magit) (defun ar/magit-soft-reset-head~1 () "Soft reset current git repo to HEAD~1." (interactive) (magit-reset-soft "HEAD~1"))
|
|
Sending emails to our half million and growing user community
-
engineering.hackerearth.com
-
10 years ago
-
eng
At hackerearth we send emails to keep our users updated on upcoming challenges and their activities, for example, when a user successfully solves a problem, receives test-invitation, updates on user comments. Basically whenever it is appropriate. Architecture It takes lot of computational power to send emails in such large quantities synchronously. So we have implemented an asynchronous architecture to send emails. Here is brief overvie....
|
|
CSS Filters are awesome, but you can't do individual channel manipulation with them. Enter: feColorMatrix, SVG filter effect method that allows for really in-depth pixel value manipulation for even better image filters.
|
|
So you’re a roboticist, looking at Ubuntu Core and Snappy, trying to decide if they’re a good fit for your project. You come across some ROS documentation and realize that the ROS support is first-class, but you’re not using ROS. No, you’re using the Mission Oriented Operating Suite (MOOS). Why is there no documentation on using MOOS? Because it’s too easy to need a document, that’s why (update: this remains true, but we wrote a quick one a..
|
|
Table is a composite component (but it isn’t a lead component ), this means it is a subclass of Container . It’s effectively built from multiple components. __ | Table is heavily based on the TableLayout class. It’s important to be familiar with that layout manager when working with Table. Here is a trivial sample of using the standard table component: Form hi = new Form("Table", new BorderLayout()); TableModel mo..
|
Full transcript of a speech to ASMS high school students about pursuing your passions, building networks and doing your own thing
|
Full transcript of a speech to ASMS high school students about pursuing your passions, building networks and doing your own thing
|
Full transcript of a speech to ASMS high school students about pursuing your passions, building networks and doing your own thing
|
|
I am working on myinit.go. Init process is no good if it cannot spawn other processes. I will use the other processes for critical functionality, i.e getting an IP address for future interactivity over SSH or maybe HTTP, or possibly Web Sockets. Because, why not? Anyways, I modified myinit.go to following and put it in the /init folder to have a nicer structure. It basically spawns a new process, and prints it output.
|
|
Seven Pitfalls to Avoid During Organizational Transformation
-
www.thoughtworks.com
-
10 years ago
-
eng
|
|
Data is abundant, data is big, and big is a problem. Let me start with an example. Let’s say you have a list of movie titles and you want to learn their genre: romance, action, drama, etc. And maybe in this scenario IMDB doesn’t exist so you can’t scrape the answer. Well, the title alone is almost never enough information. One nice way to get more data is to do the following:
|
|
Data is abundant, data is big, and big is a problem. Let me start with an example. Let’s say you have a list of movie titles and you want to learn their genre: romance, action, drama, etc. And maybe in this scenario IMDB doesn’t exist so you can’t scrape the answer. Well, the title alone is almost never enough information. One nice way to get more data is to do the following:
|
|
Data is abundant, data is big, and big is a problem. Let me start with an example. Let’s say you have a list of movie titles and you want to learn their genre: romance, action, drama, etc. And maybe in this scenario IMDB doesn’t exist so you can’t scrape the answer. Well, the title alone is almost never enough information. One nice way to get more data is to do the following:
|
|
You may be wondering why would someone need to do that. I just want to experiment with Linux and build stuff with Go, so this is a nice option. I also found Linux distros to be completely confusing. So many files, a lot of stuff going on, weird and different type of config files of everything in system. Also, I hate my network-manager service in Ubuntu that it cannot reflect the changes in /etc/network/interfaces without a damn reboot.
|
|
To innovate, is to enter the unknown. Doing this induces anxiety, even among seasoned professionals. In most organisations—where failure is not an option—leaders have many fears. They fear what they do not know. They fear that competitors will outpace them. Most of all, they fear their inability to find success. This fear causes rational leaders with no permission to fail to resort to conservatism.
|
|
I’ve been remarkably busy working on issues and documentation so I neglected an important announcement I had to make. Over the weekend we flipped the default build from gradle back to ant. So effectively if you don’t set any build hint the behavior will be android.gradle=false which should work fine for most of you. This is temporary but we felt it was necessary as a stopgap measure. In other news it seems that fixing the Codename O..
|
|
In this blog post I'm going to write a little bit about permutations, and some connections with information theory and sorting algorithms, including giving a sketch-proof of the \(n \log n\) lower bound on comparison-based sorting. A permutation is a re-ordering of a list. For example, (1, 3, 2), (3, 2, 1) and (2, 1, 3) are all permutations of the list (1, 2, 3). Let's say you have a list with \(n\) elements in it (e.g. the length of ....
|
|
I finally have two BrainRunners working on a DigitalOcean droplet, and one BrainHub on another droplet queueing and assigning tasks to the runners.
|
|
A different way of supplying React-components with state . A SoundCloud client in React and Redux (Hacker News) . Awesome redux (collection of libraries in ecosystem). Building React Applications with idiomatic redux (Hacker News) . Connecting Redux to your API . Curated awesome Redux tutorial and resource links . Flux Standard Action utilities for Redux . How to integrate Redux with very large data-sets and IndexedDB? (Stack Overfl....
|
|
TODO]{.todo .TODO} Tern.js with Atom . [TODO]{.todo .TODO} Object spread syntax proposed for ES7 . [TODO]{.todo .TODO} if (typeof myvar = 'undefined') … [TODO]{.todo .TODO} copy object and set with Object.assign({}, state, {property: newValue}). [TODO]{.todo .TODO} Use ES6 computed property syntax. [TODO]{.todo .TODO} ES6 syntax: import * as reducers from './reducers'.
|
|
TODO]{.todo .TODO} Signal: a library offering enriched hook-like features . [TODO]{.todo .TODO} Debugging tips . [TODO]{.todo .TODO} Examples of Emacs modules . [TODO]{.todo .TODO} htop-like CPU and memory graphs for Emacs . [TODO]{.todo .TODO} Timp: multithreading library . [TODO]{.todo .TODO} Effortless Major Mode Development . [TODO]{.todo .TODO} cl-spark implementation of Zach Holman's spark and Gil Gonçalves' vspark ....
|