Vehicle Destination Charges - New Car Business Destination Fees - Kelley Blue Book



Vehicle Destination Charges - New Car Business Destination Fees - Kelley Blue Book

Have you ever wondered what you're paying for when you buy a new car and the paperwork lists tax, license and destination charge? What is the destination charge all about? Well, if you've seen the trucks carrying cars on the highways or freight trains stacked with new vehicles, you are basically witnessing the service your destination fees pay. The fee is usually in the neighborhood of $400 — $800 per vehicle and no amount of negotiating will make it go away.

Logic would tell you that if you lived near a port or a particular automotive assembly plant, you could potentially pay less for the destination fees — not so. The destination charge is calculated by each manufacturer based on something called an "equalized delivery." In other words, they factor the cost of shipping all vehicles in the line and "equalize" the cost so the fee is "equal" for all car-buyers.


Read full article from Vehicle Destination Charges - New Car Business Destination Fees - Kelley Blue Book


How to Get the Best Car Loan | New Car Buying - Consumer Reports



How to Get the Best Car Loan | New Car Buying - Consumer Reports

Some consumers will spend days making sure they get the lowest price on a vehicle, yet they won't bother to shop for the best auto loan. If you don't have financing in place when you visit the dealership to buy, you're leaving yourself vulnerable to whatever terms the dealer offers, which may have a much higher interest rate than you could get elsewhere. And dealers often mark up the interest rate of a loan over what you actually qualify for, which can cost you hundreds of dollars extra.


Read full article from How to Get the Best Car Loan | New Car Buying - Consumer Reports


5 Car Loan Mistakes That Cost You Money | Bankrate.com



5 Car Loan Mistakes That Cost You Money | Bankrate.com

4. Rolling negative equity forward. "Upside down" is the term used to describe owing more on your car than it is worth. The difference is "negative equity." When a dealer tells an upside-down consumer that he can fold that negative equity into the car financing of the next deal, he means that he will add it to the purchase price of the new car.


Read full article from 5 Car Loan Mistakes That Cost You Money | Bankrate.com


How many passengers can the 2018 Honda CR-V seat?



How many passengers can the 2018 Honda CR-V seat?

The 2018 CR-V can seat up to five people — and with a generous passenger volume of 105.9 cu-ft, you and you passengers have a great deal of space to relax and enjoy the ride. The 2018 CR-V also offers plenty of cargo space, with a cargo volume of 39.2 cu-ft with the rear seats in their upright position, and 75.8 cu-ft with the rear seats folded flat. Additionally, the rear seats feature a 60/40 split-fold for flexible cargo configurations, while its one-motion operation makes it quick and easy to use. 


Read full article from How many passengers can the 2018 Honda CR-V seat?


车肉是什么意思?_百度知道



车肉是什么意思?_百度知道

车肉就是,起步、超车等加速时,油门踩下去了,档位也对,但车速提的比较慢,达不到心理要求。

Read full article from 车肉是什么意思?_百度知道


SSH Port forwarding through multiple hops [.ssh/config]



SSH Port forwarding through multiple hops [.ssh/config]

Anybody that have to work with lab at work knows the pain of connecting to them. Usually labs don't have direct connectivity to the "regular" network and to connect to them involves a series of jumps though different machines. Just SSH connectivity is painful in those scenarios let alone port forwarding. Fortunately you can setup your ~/.ssh/config in such a way that will automate most of it, if not all.


Read full article from SSH Port forwarding through multiple hops [.ssh/config]


GitHub - tsantalis/JDeodorant: JDeodorant



GitHub - tsantalis/JDeodorant: JDeodorant

JDeodorant is an Eclipse plug-in that detects design problems in Java software, known as code smells, and recommends appropriate refactorings to resolve them.

For the moment, the tool supports five code smells, namely Feature Envy, Type/State Checking, Long Method, God Class and Duplicated Code.

  • Feature Envy problems can be resolved by appropriate Move Method refactorings.
  • Type Checking problems can be resolved by appropriate Replace Conditional with Polymorphism refactorings.
  • State Checking problems can be resolved by appropriate Replace Type code with State/Strategy refactorings.
  • Long Method problems can be resolved by appropriate Extract Method refactorings.
  • God Class problems can be resolved by appropriate Extract Class refactorings.
  • Duplicated Code problems can be resolved by appropriate Extract Clone refactorings.


Read full article from GitHub - tsantalis/JDeodorant: JDeodorant


Refactor Out Code Smell With JDeodrant - DZone Java



Refactor Out Code Smell With JDeodrant - DZone Java

I got to know about JDeodorant- a tool for identifying bad smells in code and helping it to refactor. I got curious and downloaded its Eclipse plugin, I then picked the first bad smell code which Martin Fowler explains in his book: "Refactoring: Improving the design of existing code". I tried my hand at refactoring a long method by Extract Method refactor move. Here's the long method:


Read full article from Refactor Out Code Smell With JDeodrant - DZone Java


GitHub - troessner/reek: Code smell detector for Ruby



GitHub - troessner/reek: Code smell detector for Ruby

Reek is a tool that examines Ruby classes, modules and methods and reports any Code Smells it finds.

For an excellent introduction to Code Smells and Reek check out this blog post or that one. There is also this talk from RubyConfBY (there is also a slide deck if you prefer that).


Read full article from GitHub - troessner/reek: Code smell detector for Ruby


Continuous Inspection | SonarSource



Continuous Inspection | SonarSource

This paper details the key challenges in code quality management. It then introduces the Continuous Inspection paradigm and illustrates how it addresses those challenges, supporting thousands of enterprises in improving their software quality.

By raising its visibility for all stakeholders throughout the life cycle, Continuous Inspection enables enterprises to embrace code quality whole-heartedly.


Read full article from Continuous Inspection | SonarSource


Automating Code Reviews - Software People Inspiring



Automating Code Reviews - Software People Inspiring

This comes up quite often these days, so I thought I'd scribble my thoughts down, for posterity if nothing else.

I increasingly come across dev teams who have adopted a policy where every check-in needs to be reviewed before it can be accepted. In many cases, this has created a bottleneck while developers waiting to get a green build are stuck on the availability of their peers to do the reviewing.

Imagine, every time you want to check your code in, you have to wait for a tester to put your code through its paces. We knew that was a major bottleneck, so we started automating our tests. If the tester would normally check to see what happens if a customer cancels an order, we would write a unit test for the cancel() function of an order.

It's really not much different for code inspections. If a reviewer would normally check that no classes are too big (say, having more than 200 lines of code), we could write a bit of code to inspect every class and report any that exceed our limit.

A pretty comprehensive code inspection could cover a large amount of code, checking for a whole range of issues, in a tiny fraction of the time it takes a human. More importantly, those checks could be run any time. No need to wait for Jenny to get off the phone, or Rajesh to come back from lunch. You'd no longer be blocked.

This, of course, takes some considerable investment early on to develop the right suite of automated quality checks. But I see more and more teams struggling to maintain the pace of development and high code quality, and such an investment really pays for itself many times over, even on relatively short timescales.

It's for this reason that I'm going to be giving Continuous Inspection a big push in 2018. I think most teams should seriously consider it.

Read full article from Automating Code Reviews - Software People Inspiring


[JavaSpecialists 165] - Starvation with ReadWriteLocks



[JavaSpecialists 165] - Starvation with ReadWriteLocks

Welcome to the 165th issue of The Java(tm) Specialists' Newsletter, sent to you from Wall Street, New York City. New York has to date been the most expensive city that I have visited. Not that prices are particularly high in comparison to Crete, but you can purchase almost anything, twenty four hours a day! Usually when I go to New York, my bank sends me urgent emails confirming that I really am spending all that money on my credit card. In contrast, back home in Crete, items are often double the New York price, but there is very little temptation to spend.


Read full article from [JavaSpecialists 165] - Starvation with ReadWriteLocks


Java Holiday Calendar (Day 9): Event Sourcing - DZone Java



Java Holiday Calendar (Day 9): Event Sourcing - DZone Java

Today's tip is about event sourcing, which is a relatively new way of designing database applications. Instead of seeing the database as a representation of the most current state, we would see it as a system of record for all transactions that ever took place in our applications. 


Read full article from Java Holiday Calendar (Day 9): Event Sourcing - DZone Java


Java Memory Leaks: Solutions, Tools, Tutorials & More



Java Memory Leaks: Solutions, Tools, Tutorials & More

Memory management is Java's strongest suit, and one of the many reasons why developers choose Java over other platforms and programming languages. On paper, you create objects and Java would deploy its Garbage Collector to allocate and free up memory. But that's not to say  Java is flawless; in real life, memory leaks do happen, and it happens a lot in Java applications. We put together this guide to arm you with the know-how to detect, avoid, and fix memory leaks in Java.


Read full article from Java Memory Leaks: Solutions, Tools, Tutorials & More


Getting test coverage reports for integration test – George's Techblog



Getting test coverage reports for integration test – George's Techblog

I'm a vociferous supporter of integration tests with an embedded servlet container and in this post I'll show how to get test coverage for the classes touched in those integration tests.

All test coverage gauging tools I know instrument code under test either at build time or run time through Java agents. Because the code under test runs in the servlet container's class loader, it may either not be properly instrumented or evade recording of its execution.


Read full article from Getting test coverage reports for integration test – George's Techblog


When Is the Best Time of Year to Buy Large Appliances?



When Is the Best Time of Year to Buy Large Appliances?

The exception to point number one is refrigerators. Unlike the other major appliances, most manufacturers roll out their new models of refrigerators in the summer. This means that last year's models get discounted during the spring.


Read full article from When Is the Best Time of Year to Buy Large Appliances?


Java Holiday Calendar 2016 (Day 15): Don't Optimize Now! - DZone Java



Java Holiday Calendar 2016 (Day 15): Don't Optimize Now! - DZone Java

The JVM is also using a scheme called Code Flattening , which means that it is able to "roll up" method calls and consider the code as a larger flow of operations. This way, it is able to determine the possible paths the program can take and consider these paths individually and optimize them. For example, identical range checking that takes place in several methods that call each other can be eliminated. Another example is that dead paths (e.g. where an "if"-branch is using a constant expression) can be eliminated altogether.

Another means of optimization is Escape Analysis, which is used to determine if an object is visible outside a certain scope. If not, the object can be allocated on the stack rather than on the heap, making the program run much faster.


Read full article from Java Holiday Calendar 2016 (Day 15): Don't Optimize Now! - DZone Java


Minborg's Java Pot



Minborg's Java Pot

In my previous post, I wrote about how to use Transactions in an easy way using Speedment where we updated two bank accounts atomically. As you all might know, transactions are a way of combining a number of database operation into a single operation that is atomically executed.

But transactions are not only about updating the database but also about performing atomic reads. With Speedment, we can compute values atomically using Java streams and then return the result to something outside the scope of the transaction in an easy way.

Read full article from Minborg's Java Pot


5 Advanced Java Debugging Techniques Every Developer Should Know About



5 Advanced Java Debugging Techniques Every Developer Should Know About

BTrace is a helpful tool that lets you run Java-like scripts on top of a live JVM to capture or aggregate any form of variable state without restarting the JVM or deploying new code. This enables you to do pretty powerful things like printing the stack traces of threads, writing to a specific file, or printing the number of items of any queue or connection pool and many more.


Read full article from 5 Advanced Java Debugging Techniques Every Developer Should Know About


Java Holiday Calendar 2016 (Day 25): The Complete Deck - DZone Java



Java Holiday Calendar 2016 (Day 25): The Complete Deck - DZone Java

Thank you all for following this year's Java Calendar. Here is the complete list with all the articles:


Read full article from Java Holiday Calendar 2016 (Day 25): The Complete Deck - DZone Java


Install Apps from 3rd party in macOS Sierra – VIVOの PUB



Install Apps from 3rd party in macOS Sierra – VIVOの PUB

When installed apps from 3rd party or Internet download, macOS always prompt "Downloaded .app is damaged and can't be opened".

The solution is really simple:

Run the following command before launching the app:

sudo spctl --master-disable


Read full article from Install Apps from 3rd party in macOS Sierra – VIVOの PUB


LeakCanary: Detect all memory leaks! – Square Corner Blog – Medium



LeakCanary: Detect all memory leaks! – Square Corner Blog – Medium

In Square Register, we draw the customer's signature on a bitmap cache. This bitmap is the size of the device's screen, and we had a significant number of out of memory (OOM) crashes when creating it.


Read full article from LeakCanary: Detect all memory leaks! – Square Corner Blog – Medium


Detect All Memory Leaks With LeakCanary



Detect All Memory Leaks With LeakCanary

We've all been bitten by memory leaks that cause OutOfMemoryError crashes in our apps at some point, sometimes even in production. Square's Pierre-Yves Ricau solved this problem by building LeakCanary, a tool to detect and help you fix memory leaks before they ship. In his Droidcon 2015 NYC talk, Pierre teaches techniques to dramatically reduce OutOfMemoryError crashes and easily fix reference leaks, making your app more stable and usable.


Read full article from Detect All Memory Leaks With LeakCanary


Java 8 lambdas and the GC - Objection



Java 8 lambdas and the GC - Objection

Ok, so I was playing with WeakReferences in java (as you do) and had written some code where you could add lots of listeners/subscribers/whatever to this …well publisher I guess. There would be only one publisher, but potentially lots of subscribers, so I figured I'd try wrapping the listeners in WeakReferences, so I wouldn't have to worry about having to match each addListener() call with a removeListener() to avoid a potential memory leak.


Read full article from Java 8 lambdas and the GC - Objection


AWS Developer Forums: Lambda leaking memory with dire ...



AWS Developer Forums: Lambda leaking memory with dire ...

I'm using somewhat controversial, albeit absolutely legitimate use case for AWS Lambda functions: recursion. A lambda function, just before termination, is using AWS.Lambda.invokeAsync() to invoke itself. There is some extra code to prevent accidental uncontrolled multiplication of execution threads, there is only one instance running at the time. The problem is that with each invocation the amount of memory used increases. The first invocation is around 15MB, then it's gradually increasing up to the limit specified in settings, in this case 128MB. What happens then is somewhat unpredictable. In most cases some garbage collection (or probably restart of node.js instance) takes place and the next invocation is again below 20MB. Occasionally, the invocations will fail without apparent reason and the recursion will stop. Below is such a sequence of events, additional suspicious behaviour is that GUID of the invocations were the same (5436599f-7975-11e4-aee2-172cf7400691) in the few terminal starts.

Read full article from AWS Developer Forums: Lambda leaking memory with dire ...


Udacity Android Developer Nanodegree: a brief review — Exploits of a Programmer | Vicky Chijwani



Udacity Android Developer Nanodegree: a brief review — Exploits of a Programmer | Vicky Chijwani

Since I don't have enough time to write up a full review, I've just copy-pasted my brief review from Udacity's website below. Maybe I'll update this someday to a more comprehensive review of the program.


Read full article from Udacity Android Developer Nanodegree: a brief review — Exploits of a Programmer | Vicky Chijwani


The 10 Most Common Mistakes JavaScript Developers Make | Toptal



The 10 Most Common Mistakes JavaScript Developers Make | Toptal

Today, JavaScript is at the core of virtually all modern web applications. The past several years in particular have witnessed the proliferation of a wide array of powerful JavaScript-based libraries and frameworks for single page application (SPA) development, graphics and animation, and even server-side JavaScript platforms. JavaScript has truly become ubiquitous in the world of web app development and is therefore an increasingly important skill to master.


Read full article from The 10 Most Common Mistakes JavaScript Developers Make | Toptal


Leaking Inner Class | Android Smells Catalogue



Leaking Inner Class | Android Smells Catalogue

Non-static inner classes holds a reference to the outer class. This could lead to a memory leak.

Here are two examples: One inner class and one anonymous inner class.


Read full article from Leaking Inner Class | Android Smells Catalogue


Getting Started with Eclipse - DZone - Refcardz



Getting Started with Eclipse - DZone - Refcardz

Eclipse IDE is a cross-platform, multi-purpose, open-source Integrated Development Environment. It was initiated as Java IDE, but quickly became an extensible multi-language development tool that is widely used to develop projects in Java, JavaScript, PHP, C++, Scala, and a lot of other languages. It's highly extensible and supports the vast majority of industrial technologies.


Read full article from Getting Started with Eclipse - DZone - Refcardz


尝试Java加锁新思路:原子变量和非阻塞同步算法 - 简书



尝试Java加锁新思路:原子变量和非阻塞同步算法 - 简书

我们以非阻塞的栈为例说明非拥塞算法的设计思路。创建非阻塞算法的关键在于将原子修改的范围缩小到单个变量上,同时保证数据一致性。

栈是最简单的链式数据结构:每个元素仅仅指向一个元素,每个元素也仅被一个元素引用,关键的操作入栈(push)和出栈(pop)都是针对于栈顶元素(top)的。因此每次操作只需要保证栈顶元素的一致性,将原子操作的范围控制在指向栈顶元素的引用即可。实例代码如下:


Read full article from 尝试Java加锁新思路:原子变量和非阻塞同步算法 - 简书


由一道 Java finally 执行顺序的题引发的思考 | 赵俊的博客



由一道 Java finally 执行顺序的题引发的思考 | 赵俊的博客

但我相信开发工具是不会骗我的,一定是我自己的理解有问题,然后自己又写了几个类似的例子来测试,最后得出的结论是: finally 语句块在 return 语句之后,return 返回之前执行,可能这句话不是那么容易理解,来看下面的例子吧,看完我相信你应该能明白我这句话是什么意思了。


Read full article from 由一道 Java finally 执行顺序的题引发的思考 | 赵俊的博客


Java未来也许不再是电商的首选开发语言 | 曹祖鹏的Blog



Java未来也许不再是电商的首选开发语言 | 曹祖鹏的Blog

  • 在开发体验、工程化方面要继续强化。Java8+Spring boot+Lombok使用体验经常让我感觉不到在写繁琐的Java。
  • 微服务的领域驱动设计特别重要,而在领域驱动设计实现中Java是主流,目前还没有太好的替代语言。
  • 强化目前的JVM上的语言生态,包括Kotlin、Scala等,也许会有下一个杀手应用出现,抓住类似AI这样的风口机会。


Read full article from Java未来也许不再是电商的首选开发语言 | 曹祖鹏的Blog


Crisp's Blog » Using the 7 deadly sins to motivate your workforce



Crisp's Blog » Using the 7 deadly sins to motivate your workforce

Be generous with compliments to your developers for a short while. Make them addicted to your praise. Ensure they feel proud over their achievements and in their knowledge of all things related to their work. Then stop. This is very important! They will start to doubt themselves and work twice as hard just to get a single kind word from you. They will be eating out of your hand in no time.


Read full article from Crisp's Blog » Using the 7 deadly sins to motivate your workforce


Chain of Responsibility Design Pattern in Java: Before and after



Chain of Responsibility Design Pattern in Java: Before and after

The client is responsible for stepping through the "list" of Handler objects, and determining when the request has been handled.


Read full article from Chain of Responsibility Design Pattern in Java: Before and after


java - Lambda reference to a field - Stack Overflow



java - Lambda reference to a field - Stack Overflow

It sounds like you're hoping that Java has a corresponding feature for field references as it does for method references. But this is not the case. Method references are shorthand for a certain category of lambda expressions, but there is no corresponding syntax for fields. Field literals were explored during the JSR-335 Expert Group deliberation (there is some reference to it here http://mail.openjdk.java.net/pipermail/lambda-dev/2011-November/004235.html) but were not included in Java SE 8.


Read full article from java - Lambda reference to a field - Stack Overflow


美国企业的装嫩问题



美国企业的装嫩问题

这些"新奇","年轻"的企业文化,似乎很容易吸引刚走出学校,未经世事的年轻人,然而在一个成熟的人看来,这些公司并没有显示出真正的活力,而是显示出愚蠢和虚伪。事实证明,缺乏隔离措施的所谓"开放空间"办公室,并不如传统的单间办公室或者隔离间(cubicle)。编程需要的是独立思考,思考需要集中注意力,很多人思考时甚至不喜欢别人能直接看见自己。没有隔离和隐私措施的办公室,使得员工之间随时都可以互相干扰,难以集中注意力,这对于写出优雅清晰的代码是很不利的。要是遇到那种成天高谈阔论的人在你旁边,那就更倒霉了,不得不成天戴着耳机工作。有些人时不时地发动 NERF 枪战,不但极大地干扰其他人的正常工作,而且制造一种浮躁虚假的氛围,你甚至可能因此受伤。至于 Agile,站会,试用新语言,采用结对编程,鼓吹 TDD,突发奇想的新管理方式,等等,都是 startup 的通病。很多新公司没有经验,不知道什么是真正好的技术和管理方式,再加上不小心招进来不懂装懂的管理者,所以走一步错一步,浪费大量的资源,一步步地走向失败。


Read full article from 美国企业的装嫩问题


java - Google's Json Parsing Gson library: What's the difference between JsonElement and JsonObject? - Stack Overflow



java - Google's Json Parsing Gson library: What's the difference between JsonElement and JsonObject? - Stack Overflow

JsonElement is the base type for all of the different specific types - it's a base class with common things that all nodes should implement. Logically, this makes a lot of sence.

The thing that all specific types inherits from JsonElement is a good thing for you, too. It allows you to test if an object is a Json node representation, simply by checking if it inherits from JsonElement.

The JsonElement class is available to you as a public class probably not because you'd want to subclass it, but because you'd want to test for its subclasses.


Read full article from java - Google's Json Parsing Gson library: What's the difference between JsonElement and JsonObject? - Stack Overflow


Kafka的消息可靠传递 · 乱世浮生



Kafka的消息可靠传递 · 乱世浮生

Kafka提供的基础保障可以用来构建可靠的系统, 却无法保证完全可靠. 需要在可靠性和吞吐之间做取舍.

  • Kafka在分区上提供了消息的顺序保证.
  • 生产的消息在写入到所有的同步分区上后被认为是已提交 (不需要刷到硬盘). 生产者可以选择在消息提交完成后接收broker的确认, 是写入leader之后, 或者所有的副本
  • 只要有一个副本存在, 提交的消息就不会丢失
  • 消费者只能读取到已提交的消息


Read full article from Kafka的消息可靠传递 · 乱世浮生


阿里Dubbo疯狂更新,关Spring Cloud什么事?



阿里Dubbo疯狂更新,关Spring Cloud什么事?

但它们两者的出发点是不一样的,Dubbo 关注于服务治理这块并且以后也会继续往这个方向去发展。


Spring Cloud 关注的是微服务治理的生态。因为微服务治理的方方面面都是它所关注的内容,服务治理也只是微服务生态的一部分而已。


因此可以大胆的断定,Dubbo 未来会在服务治理方面更为出色,而 Spring Cloud 在微服务治理上面无人能敌。


同时根据 Dubbo 最新的更新技术来看,Dubbo 也会积极的拥抱开源,拥抱新技术。


Dubbo 接下来的版本将会很快的支持 Spring Boot,方便我们享受高效开发的同时,也可以支持高效的服务调用。


Dubbo 被广泛应用于中国各互联网公司,如今阿里又重新重视起来并且发布了新版本和一系列的计划,对于正在使用 Dubbo 的公司来说是一个喜讯,对于中国广大的开发者来说更是一件非常喜悦的事情。


Read full article from 阿里Dubbo疯狂更新,关Spring Cloud什么事?


苹果在医疗健康领域的三个 Kit



苹果在医疗健康领域的三个 Kit

HealthKit 作为最早推出的开发套件,实际上也是苹果整个医疗健康产业的基石。试着去打开你手机上的「健康」应用,你可以看到各类健康相关的指标,从基本的健康数据,到生殖健康,再到化验结果、营养摄入……大大小小总共涵盖了数十种指标和体征数据。之所以说 HealthKit 是后面一系列事情的基石,正在于它定义了数据的类型和互相通信的标准。现在,你可以通过将各类第三方健康应用,如 Keep、乐动力、Runtastic,甚至微信运动,它们都可以通过 HealthKit 互相交换、读取、写入健康相关的数据。


Read full article from 苹果在医疗健康领域的三个 Kit


java - Jersey: Is there a clean way to specify allowed URL extensions? - Stack Overflow



java - Jersey: Is there a clean way to specify allowed URL extensions? - Stack Overflow

Jersey will select the appropriate media type based on the url extension. Note that Response is returned instead of String. I'm not sure how you're building your response and what your requirements are but Jersey can handle converting your Java beans into either XML or JSON (or even JSONP) without a problem.


Read full article from java - Jersey: Is there a clean way to specify allowed URL extensions? - Stack Overflow


coding style - Exception messages and event logging - which tense to use? - Software Engineering Stack Exchange



coding style - Exception messages and event logging - which tense to use? - Software Engineering Stack Exchange

I like to use present tense when the error/exception-generating code is the "root cause" of the problem, and past tense when I'm merely repackaging an error/exception from a lower layer of code.

For example, when our frontend makes a request to our backend, the backend may return an error message "Cannot connect to database", and the frontend will throw "Failed to retrieve your widgets because: Cannot connect to database".


In general, the only "best practices" in regards to exception/error wording are to make it as clear, unambiguous, non-misleading and consistent as possible. In my opinion the tense convention I just described fits those criteria the best, but there are probably other equally valid conventions.


Read full article from coding style - Exception messages and event logging - which tense to use? - Software Engineering Stack Exchange


The best Google deals of Black Friday 2017: Google Home Mini, Chromecast, Google Wifi - The Verge



The best Google deals of Black Friday 2017: Google Home Mini, Chromecast, Google Wifi - The Verge

Google's Black Friday and Cyber Monday sales this year will be all about the home. So if you're hoping to score a deal on the new Pixel 2 smartphones during this long weekend's shopping events, I have some bad news. In fact, it doesn't appear that any of the Pixel-branded devices announced back in October will be discounted, or at least the company hasn't announced anything yet and we're just 48 hours away from kickoff.


Read full article from The best Google deals of Black Friday 2017: Google Home Mini, Chromecast, Google Wifi - The Verge


cp - Strange behaviour in recursive copy - Unix & Linux Stack Exchange



cp - Strange behaviour in recursive copy - Unix & Linux Stack Exchange

For cp, the destination is the last argument on the command line. You have specified 2/g as the last argument.

Before cp is executed, the command parameters are expanded. 1/* expands to 1/a 1/b 1/c. 2/* expands to 2/f 2/g. The final executed command is cp -r 1/a 1/b 1/c 2/f 2/g, which will copy all the arguments (except the last one) to 2/g.

If you are intending to copy things to 2, the second glob isn't necessary, making the command cp -r 1/* 2/. If you are intending to copy things to multiple destinations, you can't specify that with just cp; you can use a small loop, like the following:


Read full article from cp - Strange behaviour in recursive copy - Unix & Linux Stack Exchange


COPY command ignores USER, sets file ownership to root · Issue #13020 · moby/moby · GitHub



COPY command ignores USER, sets file ownership to root · Issue #13020 · moby/moby · GitHub

If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.

We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.

If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.


Read full article from COPY command ignores USER, sets file ownership to root · Issue #13020 · moby/moby · GitHub


Get a Competitive Rate on Homeowners Insurance - @Redfin



Get a Competitive Rate on Homeowners Insurance - @Redfin

You didn't get a dime for doing your homework in school, but it can pay off big time when it comes to buying homeowners insurance. Go online or call several reputable homeowners insurance companies to compare coverage and get quotes. Then evaluate policies side by side and "apples to apples." Keep in mind, your home is likely your most valuable asset; a radically inexpensive policy may not adequately protect your home.


Read full article from Get a Competitive Rate on Homeowners Insurance - @Redfin


Sysadmin 101: Troubleshooting - All things sysadmin



Sysadmin 101: Troubleshooting - All things sysadmin

I typically keep this blog strictly technical, keeping observations, opinions and the like to a minimum. But this, and the next few posts will be about basics and fundamentals for starting out in system administration/SRE/system engineer/sysops/devops-ops (whatever you want to call yourself) roles more generally.

Read full article from Sysadmin 101: Troubleshooting - All things sysadmin


What is the difference between a mortgage interest rate and an APR?



What is the difference between a mortgage interest rate and an APR?

The interest rate is the cost you will pay each year to borrow the money, expressed as a percentage rate. It does not reflect fees or any other charges you may have to pay for the loan.

An annual percentage rate (APR) is a broader measure of the cost to you of borrowing money, also expressed as a percentage rate. In general, the APR reflects not only the interest rate but also any points, mortgage broker fees, and other charges that you pay to get the loan. For that reason, your APR is usually higher than your interest rate.


Read full article from What is the difference between a mortgage interest rate and an APR?


Reveal file in sidebar - features - Atom Discussion



Reveal file in sidebar - features - Atom Discussion

The tree-view package now supports this feature through the autoReveal option.


Read full article from Reveal file in sidebar - features - Atom Discussion


java - @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this) - Stack Overflow



java - @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this) - Stack Overflow

So I would recommend the use of the MockitoJUnitRunner wherever possible. However, as Tomasz Nurkiewicz has correctly pointed out, you can't use it if you need another JUnit runner, such as the Spring one.

My recommendation has now changed. The Mockito team have added a new feature since I first wrote this answer. It's a JUnit rule, which performs exactly the same function as the MockitoJUnitRunner. But it's better, because it doesn't preclude the use of other runners.


Read full article from java - @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this) - Stack Overflow


java - @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this) - Stack Overflow



java - @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this) - Stack Overflow

MockitoJUnitRunner gives you automatic validation of framework usage, as well as an automatic initMocks().

The automatic validation of framework usage is actually worth having. It gives you better reporting if you make one of these mistakes.

  • You call the static when method, but don't complete the stubbing with a matching thenReturn, thenThrow or then. (Error 1 in the code below)

  • You call verify on a mock, but forget to provide the method call that you are trying to verify. (Error 2 in the code below)

  • You call the when method after doReturn, doThrow or doAnswer and pass a mock, but forget to provide the method that you are trying to stub. (Error 3 in the code below)

If you don't have validation of framework usage, these mistakes are not reported until the following call to a Mockito method. This might be

  • in the same test method (like error 1 below),
  • in the next test method (like error 2 below),
  • in the next test class.


Read full article from java - @RunWith(MockitoJUnitRunner.class) vs MockitoAnnotations.initMocks(this) - Stack Overflow


java - MockitoJUnitRunner is deprecated - Stack Overflow



java - MockitoJUnitRunner is deprecated - Stack Overflow

org.mockito.runners.MockitoJUnitRunner is now indeed deprecated, you are supposed to use org.mockito.junit.MockitoJUnitRunner instead. As you can see only the package name change, the simple name of the class is still MockitoJUnitRunner.


Read full article from java - MockitoJUnitRunner is deprecated - Stack Overflow


ClassFormatError when trying to mock certain interfaces · Issue #1215 · mockito/mockito · GitHub



ClassFormatError when trying to mock certain interfaces · Issue #1215 · mockito/mockito · GitHub

I stumbled over some strange behaviour when trying to update from a 1.x version of Mockito to 2.x. One of my interfaces would no longer want to be mocked, throwing a MockitoException, with an error message of Mockito cannot mock this class: interface <MyInterfaceName>, ultimately triggered by a java.lang.ClassFormatError: Duplicate field name&signature in class file <MyInterfaceName>$MockitoMock$1318839329


Read full article from ClassFormatError when trying to mock certain interfaces · Issue #1215 · mockito/mockito · GitHub


You Can't Plug iPhone 7 Headphones Into a New Macbook Pro



You Can't Plug iPhone 7 Headphones Into a New Macbook Pro

Fortunately, Apple makes a dongle that lets you plug normal headphones into a Lightning port. Unfortunately, Apple does not make its reverse: an adapter that lets you plug Lightning headphones into a headphone port. Until someone whips one up, you'll have to either go Bluetooth, use a dongle to use old headphones on your iPhone 7, or keep an extra pair of headphones at your desk.

Most Popular
Why Aircraft Carriers Have an Angled Runway
The Pentagon Is Working on a New Air-to-Air Missile
What We Really Learned From the Newest Star Wars: The Last Jedi Trailer

To be fair, plugging iPhone 7 pack-in headphones into a new Macbook Pro is a pretty specific use case, small enough that you can see why Apple wouldn't add an extra port to the Macbook Pro just for that. Then again, this means even Apple's very newest devices don't play nice together, and the dongle that would let them doesn't even exist yet. We've reached out to Apple to see if they plan on a new dongle.


Read full article from You Can't Plug iPhone 7 Headphones Into a New Macbook Pro


ssh - How to restart sshd in OSX Lion? - Ask Different



ssh - How to restart sshd in OSX Lion? - Ask Different

You probably know this already, but I'll say to be complete: if you kill sshd processes you'll terminate active SSH sessions to the machine. The sshd daemon provides ssh access to your machine. It handles incoming ssh connections. Not outbound connections.


Read full article from ssh - How to restart sshd in OSX Lion? - Ask Different


[JDK-8165852] (fs) Mount point not found for a file which is present in overlayfs - Java Bug System



[JDK-8165852] (fs) Mount point not found for a file which is present in overlayfs - Java Bug System

The problem as it manifests in btrfs is essentially the same situation as observed for overlayfs in docker: the parent of a path component has a different device ID than that of the current path component and so the loop of the upwards traversal towards the root is broken out of but there is no entry for the current path component in /proc/mounts. This was observed to occur specifically for the case of a file contained in a btrfs sub-volume which is not itself explicitly mounted. If the sub-volume is mounted via `mount` it shows up in /proc/mounts and the error does not occur. This failure might be due to the nature of btrfs sub-volumes and unrelated to Docker per se.
Show
bpb Brian Burkhalter added a comment - - edited The problem as it manifests in btrfs is essentially the same situation as observed for overlayfs in docker: the parent of a path component has a different device ID than that of the current path component and so the loop of the upwards traversal towards the root is broken out of but there is no entry for the current path component in /proc/mounts. This was observed to occur specifically for the case of a file contained in a btrfs sub-volume which is not itself explicitly mounted. If the sub-volume is mounted via `mount` it shows up in /proc/mounts and the error does not occur. This failure might be due to the nature of btrfs sub-volumes and unrelated to Docker per se.


    Read full article from [JDK-8165852] (fs) Mount point not found for a file which is present in overlayfs - Java Bug System


    [SOLR-9440] ZkStateReader on a client can cache collection state and never refresh it - ASF JIRA



    [SOLR-9440] ZkStateReader on a client can cache collection state and never refresh it - ASF JIRA

    I saw this while writing a test case for SOLR-9438. The collection1 collection which was in stateFormat=2 was somehow caching the CloudSolrClient's ZkStateReader such that the returned cluster state contained the collection state. However this collection was neither watched nor lazy so any call to waitForRecoveriesToFinish would see stale state and loop until timeout.


      Read full article from [SOLR-9440] ZkStateReader on a client can cache collection state and never refresh it - ASF JIRA


      Buildpacks | Heroku Dev Center



      Buildpacks | Heroku Dev Center

      Buildpacks are responsible for transforming deployed code into a slug, which can then be executed on a dyno. Buildpacks are composed of a set of scripts, and depending on the programming language, the scripts will retrieve dependencies, output generated assets or compiled code, and more. This output is assembled into a slug by the slug compiler.


      Read full article from Buildpacks | Heroku Dev Center


      Why we don't let non-root users run Docker in CentOS, Fedora, or RHEL — Project Atomic



      Why we don't let non-root users run Docker in CentOS, Fedora, or RHEL — Project Atomic

      I often get bug reports from users asking why can't I use `docker` as a non root user, by default?

      Docker has the ability to change the group ownership of the /run/docker.socket to have group permission of 660, with the group ownership the docker group. This would allow users added to the docker group to be able to run docker containers without having to execute sudo or su to become root. Sounds great…


      Read full article from Why we don't let non-root users run Docker in CentOS, Fedora, or RHEL — Project Atomic


      加州硅谷地产资讯(Cathy Liu Real Estate Blog): 南湾新房大盘点--Sunnyvale 篇



      加州硅谷地产资讯(Cathy Liu Real Estate Blog): 南湾新房大盘点--Sunnyvale 篇

      在国内大家都习惯买新楼盘,而在美帝买二手房似乎才是主流。其实,这两年湾区也有不少新楼盘悄然开售,并且多数都是具有升值潜力的交通房。新楼盘,新社区,从设计,装修到建筑质量都更有时代感,并且多数楼盘都不需要bid,也更加省心。从价格上来说,新房与二手房价格相差不多,不会有deal,但也不会高的离谱。当然,新盘特别是townhouse相对更为紧凑,占地较小,学区也往往不是最好。但作为潜力股,它们仍然值得关注。

      Read full article from 加州硅谷地产资讯(Cathy Liu Real Estate Blog): 南湾新房大盘点--Sunnyvale 篇


      6 Things to Know Before Buying a New Home | Real Estate Tips | HGTV



      6 Things to Know Before Buying a New Home | Real Estate Tips | HGTV

      • New homes are typically far from the city center; will you mind the commute?
      • Are you willing to coax a new lawn into existence, and can you wait 20 years for sapling trees to mature?
      • Will the cookie-cutter nature of new subdivisions drive you bonkers?
      • New houses tend to be built right on top of each other. Do you mind the closeness and potential lack of privacy?


      Read full article from 6 Things to Know Before Buying a New Home | Real Estate Tips | HGTV


      Can I (or should I) use a MacBook charger on my iPhone? - Ask Different



      Can I (or should I) use a MacBook charger on my iPhone? - Ask Different

      Unless there is some reason to the contrary that I'm not aware of, yes, you can use your MacBook charger with your iPhone. The power adapter will only convert as much power as is drawn, and the iPhone will only draw as much power as it needs.

      (Note that it is not a good idea to charge your MacBook with an iPhone or iPad charger!)


      Read full article from Can I (or should I) use a MacBook charger on my iPhone? - Ask Different


      What are credit inquiries and how do they affect my FICO Credit Score?



      What are credit inquiries and how do they affect my FICO Credit Score?

      Soft inquiries are all credit inquiries where your credit is NOT being reviewed by a prospective lender. These include inquiries where you're checking your own credit (such as checking your score in myFICO), credit checks made by businesses to offer you goods or services (such as promotional offers by credit card companies), or inquiries made by businesses with whom you already have a credit account.

      Hard inquiries are credit inquiries where a potential lender is reviewing your credit because you've applied for credit with them. These include credit checks when you've applied for an auto loan, mortgage or credit card. Each of these types of credit checks count as a single credit inquiry. One exception occurs when you are "rate shopping". That's a smart thing to do, and your FICO score considers all inquiries within a 45-day period for a mortgage, an auto loan or a student loan as a single credit inquiry. This same guideline also applies to a search for a rental property such as an apartment. These inquiries are usually recorded by the credit bureau as a type of real estate-related inquiry, so the FICO Score will treat them the same way. You can avoid lowering your FICO Score by doing your apartment hunting within a short period.


      Read full article from What are credit inquiries and how do they affect my FICO Credit Score?


      java - JUnit confusion: use 'extends TestCase' or '@Test'? - Stack Overflow



      java - JUnit confusion: use 'extends TestCase' or '@Test'? - Stack Overflow

      • extending TestCase is the way unit tests were written in JUnit 3 (of course it's still supported in JUnit 4)
      • using the @Test annotation is the way introduced by JUnit 4

      Generally you should choose the annotation path, unless compatibility with JUnit 3 (and/or a Java version earlier than Java 5) is needed. The new way has several advantages:


      Read full article from java - JUnit confusion: use 'extends TestCase' or '@Test'? - Stack Overflow


      Conditionally Running Tests in TestNG — Xebia Blog



      Conditionally Running Tests in TestNG — Xebia Blog

      In this post, my colleague Barend showed how one can conditionally ignore certain tests in JUnit. In this post we will take a look at how this can be solved in TestNG, another popular testing framework.


      Read full article from Conditionally Running Tests in TestNG — Xebia Blog


      A Quick Look at Java Decompilers



      A Quick Look at Java Decompilers

      Java code obfuscation is something I have an interest in for no particular reason, mostly because you see a variety of cool approaches popping up in the wild to prevent people from reverse engineering your proprietary JAR's (which are, by default, very easy to reverse engineer). Most approaches resort to obfuscation/packing (similar as to what is done with Javascript files), but there exist more thorough methods as well, e.g. implementing a custom classloader which will decrypt classes on the fly. This article contains a good general overview.


      Read full article from A Quick Look at Java Decompilers


      Troubleshooting: Eclipse IDE and SAP Eclipse Plugins - openSAP: Extending SAP S/4HANA with SAP HANA Cloud Platform



      Troubleshooting: Eclipse IDE and SAP Eclipse Plugins - openSAP: Extending SAP S/4HANA with SAP HANA Cloud Platform

      TRBL 1: Can't install SAP Tools for Eclipse

      If you are working behind a firewall you have to set proxies in Eclipse: see Week 1 - Unit 5 - Configure Proxy Settings.

      If you are still having trouble, try to set up a "fresh" Eclipse, as an already installed plugin might have caused some problems. See Week 1 - Unit 5 - Step 5 for information on how to install a new Eclipse with SAP Development Tools plugins.


      Read full article from Troubleshooting: Eclipse IDE and SAP Eclipse Plugins - openSAP: Extending SAP S/4HANA with SAP HANA Cloud Platform


      Where is the location of 'plugins' directory for eclipse mars in mac OSX? - Stack Overflow



      Where is the location of 'plugins' directory for eclipse mars in mac OSX? - Stack Overflow

      In my case (Mars on Mac version Darwin 14.5.0, installed with Eclipse installer) I found the plugins folder in MY_HOME_DIRECTORY/.p2/pool/plugins . I found this path with this: Eclipse -> About Eclipse -> Installation Details -> Configuration -> property --launcher.library


      Read full article from Where is the location of 'plugins' directory for eclipse mars in mac OSX? - Stack Overflow


      Install New Software on Eclipse not working on Mac - Stack Overflow



      Install New Software on Eclipse not working on Mac - Stack Overflow

      I have downloaded eclipse classic x86_64 3.7 cocoa on my Mac Intel Core 2 Duo with snow leopard 10.6.8

      I have extracted and copied the eclipse directory to Applications folder. When run, I get following errors

      System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences  Unexpected error loading extension: org.eclipse.equinox.p2.metadata.repository.simpleRepository  java.lang.NoClassDefFoundError: Could not initialize class org.apache.commons.httpclient.HttpClient at org.eclipse.ecf.provider.filetransfer.httpclient.HttpClientBrowseFileTransferFactory$1.sendBrowseRequest(HttpClientBrowseFileTransferFactory.java:53)  Error while reading from repository: http://download.eclipse.org/releases/indigo/site.xml.  


      Read full article from Install New Software on Eclipse not working on Mac - Stack Overflow


      Quickly Show/Hide Hidden Files on macOS Sierra, OS X El Capitan & Yosemite | Ian Lunn - WordPress & Front-end Developer



      Quickly Show/Hide Hidden Files on macOS Sierra, OS X El Capitan & Yosemite | Ian Lunn - WordPress & Front-end Developer

      It seems like every day I search Google for the command to show hidden files on Mac OS X, not to mention Googling for the command to then hide those hidden files a few minutes later.

      Today I decided to make a short and easy to remember alias to speed up the process. All I need do now is type showFiles and hideFiles whenever I need to show/hide OS X's hidden files. Here's how you can do it too.


      Read full article from Quickly Show/Hide Hidden Files on macOS Sierra, OS X El Capitan & Yosemite | Ian Lunn - WordPress & Front-end Developer


      Acer launches thinner, lighter Chromebook 15 - Liliputing



      Acer launches thinner, lighter Chromebook 15 - Liliputing

      The laptop will be available with touch or non-touch display options, and it features 802.11ac WiFi, Bluetooth 4.2, two USB 3.0 ports, two USB 3.1 Type-C ports, and an HDMI port as well as a headset jack and SD card reader.


      Read full article from Acer launches thinner, lighter Chromebook 15 - Liliputing


      旧金山湾区5大区:南湾、东湾、北湾、半岛、旧金山_加州地产经纪-快乐的麦兜_新浪博客



      旧金山湾区5大区:南湾、东湾、北湾、半岛、旧金山_加州地产经纪-快乐的麦兜_新浪博客

      在金门大桥 (Golden Gate Bridge)北方的旧金山湾区通常被称做北湾(North Bay)。除了一小部份地区外,北湾是一个极为富有的地方:马林县经常被列为全国最富有的行政区,这里有着最好的眺望旧金山市的豪宅。北湾是美国著名的酒 乡和美食之都,据全美称90%的葡萄酒都产于此,阳光,温暖,葡萄酒,吸引了很多富人选择在北湾养老,湾区的米其林三星级餐馆,大多都藏匿在这个酒乡里, 最大名鼎鼎的要算美国著名厨师Thomas Keller的法国餐馆French Laundry了。北湾也是湾区里唯一没有通勤铁路服务的地区;较小的人口密度与跟湾区其他地区无陆地直接相连是北湾缺乏公共交通工具的主要原因,金门大 桥是此区往旧金山唯一的道路。

      Read full article from 旧金山湾区5大区:南湾、东湾、北湾、半岛、旧金山_加州地产经纪-快乐的麦兜_新浪博客


      ★美國買房101─【Part 3】House Hunting看屋大學問★在美置產新手必看 - 咕噜美国通 (Guruin.com)



      ★美國買房101─【Part 3】House Hunting看屋大學問★在美置產新手必看 - 咕噜美国通 (Guruin.com)

      安全是居住环境的最基本要求呀!除了参考犯罪纪录与统计报告,你也可以观察附近街道整洁度、行人举止、店家外观/防护设施、街头涂鸦与破坏状况,也能略知一二。建议也在白天与晚上分别去房子周遭绕绕感受一下。

      ●想了解南家居住安全排名吗?可参考此篇
      ●想看LA哪一区最适合你吗?可参考此篇(略带戏谑口吻)
      ●几个可查询房子周遭安全的网站:
      Spotcrime  只要输入地址或地区,就会将最近期的各类犯罪事件标示在地图上。
      Neighborhoodscout  提供非常丰富的美国城市资讯,从犯罪率、安全性到学区等资讯应有尽有。
      National Sex Offender Public Website 唯一一个以性侵相关案件为主的美国政府官方网站。


      Read full article from ★美國買房101─【Part 3】House Hunting看屋大學問★在美置產新手必看 - 咕噜美国通 (Guruin.com)


      How to reset the System Management Controller (SMC) on your Mac - Apple Support



      How to reset the System Management Controller (SMC) on your Mac - Apple Support

      How to know if you need to reset the SMC

      These symptoms might mean that an SMC reset is necessary:

      • Your computer's fans run at high speed, even though it isn't under heavy usage and is properly ventilated.
      • The keyboard backlight behaves incorrectly.
      • The status indicator light (SIL), if present, behaves incorrectly.
      • Battery indicator lights, if present, behave incorrectly on Mac notebooks with a non-removable battery.
      • The display backlight doesn't respond correctly to ambient light changes.
      • Your Mac doesn't respond when you press the power button.
      • Your Mac notebook doesn't respond properly when you close or open the lid.
      • Your Mac sleeps or shuts down unexpectedly.
      • The battery doesn't charge properly.
      • The MagSafe power adapter LED, if present, doesn't indicate the correct activity.
      • Your Mac performs unusually slowly, even though its CPU isn't under an abnormally heavy load.
      • A computer that supports target display mode doesn't switch into or out of target display mode as expected, or it switches into or out of target display mode at unexpected times.
      • The illumination around the I/O ports on a Mac Pro (Late 2013) doesn't turn on when you move the computer.


      Read full article from How to reset the System Management Controller (SMC) on your Mac - Apple Support


      my macbook pro suddenly shuts down | Official Apple Support Communities



      my macbook pro suddenly shuts down | Official Apple Support Communities

      Portable computers that have a battery you should not remove on your own include MacBook Pro (Early 2009) and later, all models of MacBook Air, and MacBook (Late 2009).

      1. Shut down the computer.
      2. Plug in the MagSafe power adapter to a power source, connecting it to the Mac if its not already connected.
      3. On the built-in keyboard, press the (left side) Shift-Control-Option keys and the power button at the same time.
      4. Release all the keys and the power button at the same time.
      5. Press the power button to turn on the computer. 
        Note
        : The LED on the MagSafe power adapter may change states or temporarily turn off when you reset the SMC.


      Read full article from my macbook pro suddenly shuts down | Official Apple Support Communities


      Engineering Uber Predictions in Real Time with ELK - Uber Engineering Blog



      Engineering Uber Predictions in Real Time with ELK - Uber Engineering Blog

      Uber's services rely on the accuracy of our event prediction and forecasting tools. From estimating rider demand on a given date to predicting when an UberEATS order will arrive, Uber uses forecasting algorithms to enhance user experiences (UX) across our product portfolio.


      Read full article from Engineering Uber Predictions in Real Time with ELK - Uber Engineering Blog


      New Features in Bash-4.0 | Admon Linux



      New Features in Bash-4.0 | Admon Linux

      The first public release of bash-4.0 is now available here at GNU.org, and from the usual GNU mirror sites. Unlike previous bash distributions, this released file includes the formatted documentation (postscript, dvi, html, and nroffed versions of the manual pages). Diffs from bash-3.2 are not available.This is the fourth major release of bash. It fixes the remaining serious bugs in the bash version 3 branch and introduces significant new features.


      Read full article from New Features in Bash-4.0 | Admon Linux


      Why is the version of Bash included in OS X so old? : bash



      Why is the version of Bash included in OS X so old? : bash

      Because newer versions are under the GPL version 3 which Apple considers poisonous or something. They won't ship anything that's under that license.


        Read full article from Why is the version of Bash included in OS X so old? : bash


        Upgrade bash on your mac os ! (Example)



        Upgrade bash on your mac os ! (Example)

        I do not recommend change of SHELL for root. Let's make it safe if brew upgrade will go bad.

        Mac OS is using bash version 3. Or to be exact it's using /bash/sh which is:


        Read full article from Upgrade bash on your mac os ! (Example)


        Changing static final fields in Java for JUnit Unit Tests



        Changing static final fields in Java for JUnit Unit Tests

        Reflection allows you to tinker with Java in ways that are clearly against everything you've learnt from your Object Oriented Programming lessons.

        Reflection is like being handed a master-key. I've used it to come up with solutions to problems that didn't have an easier or cleaner way in Java - cutting down cumbersome code writing.


        Read full article from Changing static final fields in Java for JUnit Unit Tests


        Eclipse Oxygen: This is what Eclipse Foundation officials say about it - JAXenter



        Eclipse Oxygen: This is what Eclipse Foundation officials say about it - JAXenter

        Wayne Beaton: Multiple participating projects are doing work with the Language Server Protocol. The obvious ones are the Eclipse LSP4J and Eclipse LSP4E projects which provide frameworks for building language server implementations in Java and in the Eclipse IDE specifically. I'm not sure what specific functionality is going to be offered in the Eclipse Oxygen release, but the Xtext and PHP Development Tools projects are also doing some language server work.


        Read full article from Eclipse Oxygen: This is what Eclipse Foundation officials say about it - JAXenter


        Can't open plugins tab. - Google Product Forums



        Can't open plugins tab. - Google Product Forums

        Per https://bugs.chromium.org/p/chromium/issues/detail?id=615738  -  Deprecate chrome://plugins
        Chrome will be removing support for all plugins and removing the  chrome://plugins  page in Chrome 57.

        You can administer Chrome's built-in components including PPAPI Flash and Chrome's PDF Viewer from:
        top-right Chrome Menu/three vertical dots ( ⋮ ) > Settings > Show advanced settings > Privacy > Content settings

        Read full article from Can't open plugins tab. - Google Product Forums


        How to Fix Your Mac's "kernel_task" High CPU Usage Bug



        How to Fix Your Mac's "kernel_task" High CPU Usage Bug

        High CPU usage is generally only a problem when you're not expecting it. It's reasonable to expect your machine to chew up resources if you're running a game, watching a video in your browser, or editing a video. If a single Safari tab or Mac process is using more than its fair share, that generally means something's gone wrong.


        Read full article from How to Fix Your Mac's "kernel_task" High CPU Usage Bug


        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