Provisioning - Getting Started - Vagrant by HashiCorp



Provisioning - Getting Started - Vagrant by HashiCorp

After everything is configured, just run vagrant up to create your machine and Vagrant will automatically provision it. You should see the output from the shell script appear in your terminal. If the guest machine is already running from a previous step, run vagrant reload --provision, which will quickly restart your virtual machine, skipping the initial import step. The provision flag on the reload command instructs Vagrant to run the provisioners, since usually Vagrant will only do this on the first vagrant up.


Read full article from Provisioning - Getting Started - Vagrant by HashiCorp


git - Delete forked repo from GitHub - Stack Overflow



git - Delete forked repo from GitHub - Stack Overflow

By far the easiest way is to log in gitHub account:

  1. Click to your repository {for example yourUsername/yourRepository for example mbaric/test}
  2. Then in the main toolbar of github click on Settings
  3. Scroll to the bottom of the page and you will find Delete this repository button
  4. When you click it another pop up will appear here you need to type in the name of your repository and click on the button below which says: I understand the consequences, delete the repository

Read full article from git - Delete forked repo from GitHub - Stack Overflow


GitHub - vespa-engine/vespa: Vespa - the open big data serving engine



GitHub - vespa-engine/vespa: Vespa - the open big data serving engine

Vespa is an engine for low-latency computation over large data sets. It stores and indexes your data such that queries, selection and processing over the data can be performed at serving time.


Read full article from GitHub - vespa-engine/vespa: Vespa - the open big data serving engine


Open Sourcing Vespa, Yahoo’s Big Data Processing and Serving Engine



Open Sourcing Vespa, Yahoo's Big Data Processing and Serving Engine

Ever since we open sourced Hadoop in 2006, Yahoo – and now, Oath – has been committed to opening up its big data infrastructure to the larger developer community. Today, we are taking another major step in this direction by making Vespa, Yahoo's big data processing and serving engine, available as open source on GitHub.


Read full article from Open Sourcing Vespa, Yahoo's Big Data Processing and Serving Engine


Switch Between Desktop Spaces Faster in Mac OS X with Control Keys



Switch Between Desktop Spaces Faster in Mac OS X with Control Keys

Now you can hit Control+1 to enter Desktop 1, Control+2 to switch to Desktop 2, and so on. This is by far the fastest method to switch Desktops in OS X Lion, Mountain Lion, Mavericks, and whatever they call the next one.


Read full article from Switch Between Desktop Spaces Faster in Mac OS X with Control Keys


Very slow in large multi-projects · Issue #82 · spring-projects/eclipse-integration-gradle · GitHub



Very slow in large multi-projects · Issue #82 · spring-projects/eclipse-integration-gradle · GitHub

The bug is fixed in the Gradle version 2.3. However, the problem is this that we still can't practically use it because, if we do, then we must either:

  • limit all users of the tools to move on to Gradle 2.3.
  • implement different ways of building model depending on the version of Gradle the user is using.

Neither of these are good options for us as the former is not reasonable to many users and the latter is a maintenance nightmare for us.


Read full article from Very slow in large multi-projects · Issue #82 · spring-projects/eclipse-integration-gradle · GitHub


A consistent approach to track correlation IDs through microservices | theburningmonk.com



A consistent approach to track correlation IDs through microservices | theburningmonk.com

One of my key takeaways from Tammer Saleh's microservices anti-patterns talk at CraftConf is that we need to record correlation IDs to help us debug microservices.


Read full article from A consistent approach to track correlation IDs through microservices | theburningmonk.com


What are the options of remote debugging like:-Xrunjdwp, server, suspend? : Adam Bien's Weblog



What are the options of remote debugging like:-Xrunjdwp, server, suspend? : Adam Bien's Weblog

To debug an application remotely, you will have to set options like: -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4242. This allows remote debuggers (jdb even ships with JDK) to attach to a running Java process.

There are two flavors of transports: dt_socket and dt_shmem. The dt_shmem option only works in case both processes are running on the same platform and is only available on Windows.

With suspend=y the Java-process will wait until the debugger connects, with suspend=n you will be also able to debug the application servers startup process.

The option server=y opens a socket and listens for incoming debugger requests. With server=n the debugged application will try to connect actively to a debugger and run therefore as a client.

So there is no black magic involved in debugging application servers. As long they are implemented in Java, you will be always able to debug them. Even without any fancy tools.


Read full article from What are the options of remote debugging like:-Xrunjdwp, server, suspend? : Adam Bien's Weblog


Polishing SolrCloud Distributed Updates I've been meaning to polish SolrClou...



Polishing SolrCloud Distributed Updates I've been meaning to polish SolrClou...

1. Joel Bernstein moved past my initial humble attempts at allowing the java client CloudSolrServer to hash documents client side and route updates directly to the correct shard. He has iterated heavily on that issue, responding to feedback and suggestions. I've put off helping him get his work in for a long time, and it's finally been too long.

2. For most of this year, there have been sporadic reports of deadlock in the DistributedUpdateProcessor - it was only recently that I finally started looking into it, and while I think I know the cause, after working on #1, I had refreshed my code memory enough to wonder if trying to fix the current update distribution approach in DistributedUpdateProcessor was worth further time. The current approach buffered updates in small batches, while a streaming approach would be much nicer. I had held off on this initially because I thought there might be some tough problems to tackle - a renewed look at the code had me thinking I could hack something together rather quickly perhaps.

Read full article from Polishing SolrCloud Distributed Updates I've been meaning to polish SolrClou...


Technical Interview Tests – AndroidPub



Technical Interview Tests – AndroidPub

This article is aim to give you some tips and tools I consider they can speed up building such interview tests. I also provide a lightweight but complete Android Skeleton Project for you to reuse, based on a layered architecture pattern (Clean Architecture), latest android technologies like dependency injection and reactive programming, and also fully tested.


Read full article from Technical Interview Tests – AndroidPub


How To… Speed up Gradle build time » Tim Roes



How To… Speed up Gradle build time » Tim Roes

If you use the new Gradle build system with Android (or Android Studio) you might have realized, that even the simplest Gradle call (e.g. gradle project or grade tasks) is pretty slow. On my computer it took around eight seconds for that kind of Gradle calls. You can decrease this startup time of Gradle (on my computer down to two seconds), if you tell Gradle to use a daemon to build.


Read full article from How To… Speed up Gradle build time » Tim Roes


How To Turn Off OS X System Sounds



How To Turn Off OS X System Sounds

Apple takes a bunch of decisions in the background to make sure that the user experience is top notch as possible when it comes to using its product on a day to day basis. For instance, on the iPhone and iPad, whenever you click on the power button, the wallpaper slightly animates towards the user giving a sense of waking up something. And such things are all over the place, even the Mac.


Read full article from How To Turn Off OS X System Sounds


Manual | Code Recommenders



Manual | Code Recommenders

Whenever you are using a new framework or API, the challenges are always the same: to learn about all the expectations and usage rules implicit in the API. This can be a very time-consuming process. Fortunately, you are not alone in this; often, others have already overcome these challenges for the API in question. But how to tap into their hard-won knowledge?

This is where Eclipse Code Recommenders comes in. Code Recommenders automatically analyzes existing code using that API and extracts common usage rules and patterns from it. In the form of recommendation models, this knowledge is then fed back into your IDE. Code Recommenders' intelligent code completion and augmented API documentation then utilizes the power of these models to provide you with the solutions implemented by other developers in the past. This helps you to get up to speed with the new framework or API without countless hours of searching the Internet for the solutions to common problems.


Read full article from Manual | Code Recommenders


My nine must-have plug-ins for Apple Mail | Macworld



My nine must-have plug-ins for Apple Mail | Macworld

This plug-in (Gregory Welch, free) once served the crucial purpose of ensuring that the To: and Cc: fields were filled in correctly for messages that you'd previously sent but wanted to follow up on. Now Mail automatically addresses such messages correctly when you choose Reply or Reply All, except in one specific case: When you're adding to a conversation in which you were a Cc: recipient, Mail still wants to swap the contents of the To: and Cc: fields when you reply. This plug-in ensures that the original To: and Cc: recipients remain intact.


Read full article from My nine must-have plug-ins for Apple Mail | Macworld


Introducing Atom IDE UI | Nuclide



Introducing Atom IDE UI | Nuclide

Since the beginning, Nuclide has strived to provide a feature-rich IDE experience on top of Atom, with functionality like code diagnostics, jump to definition, and much more. However, over time we've heard feedback that the "one-size-fits-all" philosophy can be overwhelming for many Atom users.


Read full article from Introducing Atom IDE UI | Nuclide


GitHub's Atom Text Editor Gets a Full IDE - The New Stack



GitHub's Atom Text Editor Gets a Full IDE - The New Stack

Atom is already a top tool choice for the full spectrum of developers, from student to pro. Its intuitive UI, almost Vulcan-mind-meld-level integration into GitHub, and ease of use appeals to new coders — or anyone else who wants to just get right down to work. Atom works across operating systems and provides handy built-in features like smart autocompletion and a built-in package manager that go to work right out of the box. For those with out-of-the ordinary needs or people who just like to mess around with config files, Atom is also designed to be fully hackable, er, completely customizable.


Read full article from GitHub's Atom Text Editor Gets a Full IDE - The New Stack


Top 10 2010-A4-Insecure Direct Object References - OWASP



Top 10 2010-A4-Insecure Direct Object References - OWASP

Am I Vulnerable To 'Insecure Direct Object References'?

The best way to find out if an application is vulnerable to insecure direct object references is to verify that all object references have appropriate defenses. To achieve this, consider:

  1. For direct references to restricted resources, the application needs to verify the user is authorized to access the exact resource they have requested.
  2. If the reference is an indirect reference, the mapping to the direct reference must be limited to values authorized for the current user.

Code review of the application can quickly verify whether either approach is implemented safely. Testing is also effective for identifying direct object references and whether they are safe. Automated tools typically do not look for such flaws because they cannot recognize what requires protection or what is safe or unsafe.


Read full article from Top 10 2010-A4-Insecure Direct Object References - OWASP


Calculate the size of a Cassandra table | Sherman Digital



Calculate the size of a Cassandra table | Sherman Digital

Knowing how to calculate the size of a Cassandra table allows you to estimate the effect different data models will have on the size of your Cassandra cluster. Keep in mind that in addition to the size of table data described in this post, there is additional overhead for indexing table data and organizing tables on disk.


Read full article from Calculate the size of a Cassandra table | Sherman Digital


Labels

Algorithm (219) Lucene (130) LeetCode (97) Database (36) Data Structure (33) text mining (28) Solr (27) java (27) Mathematical Algorithm (26) Difficult Algorithm (25) Logic Thinking (23) Puzzles (23) Bit Algorithms (22) Math (21) List (20) Dynamic Programming (19) Linux (19) Tree (18) Machine Learning (15) EPI (11) Queue (11) Smart Algorithm (11) Operating System (9) Java Basic (8) Recursive Algorithm (8) Stack (8) Eclipse (7) Scala (7) Tika (7) J2EE (6) Monitoring (6) Trie (6) Concurrency (5) Geometry Algorithm (5) Greedy Algorithm (5) Mahout (5) MySQL (5) xpost (5) C (4) Interview (4) Vi (4) regular expression (4) to-do (4) C++ (3) Chrome (3) Divide and Conquer (3) Graph Algorithm (3) Permutation (3) Powershell (3) Random (3) Segment Tree (3) UIMA (3) Union-Find (3) Video (3) Virtualization (3) Windows (3) XML (3) Advanced Data Structure (2) Android (2) Bash (2) Classic Algorithm (2) Debugging (2) Design Pattern (2) Google (2) Hadoop (2) Java Collections (2) Markov Chains (2) Probabilities (2) Shell (2) Site (2) Web Development (2) Workplace (2) angularjs (2) .Net (1) Amazon Interview (1) Android Studio (1) Array (1) Boilerpipe (1) Book Notes (1) ChromeOS (1) Chromebook (1) Codility (1) Desgin (1) Design (1) Divide and Conqure (1) GAE (1) Google Interview (1) Great Stuff (1) Hash (1) High Tech Companies (1) Improving (1) LifeTips (1) Maven (1) Network (1) Performance (1) Programming (1) Resources (1) Sampling (1) Sed (1) Smart Thinking (1) Sort (1) Spark (1) Stanford NLP (1) System Design (1) Trove (1) VIP (1) tools (1)

Popular Posts