recentpopularlog in

mcherm : java   264

« earlier  
Storm ditches Clojure in favor of Java in its core | Hacker News
Immutability and lisp-like aren't what I would expect for super-high performance, so I agree with the comment stating that this is a story of a success for closure as a high-quality prototyping language. Also, number of developers matters.
languages  clojure  java  via:HackerNews 
june 2019 by mcherm
Amazon releases a no-cost distribution of OpenJDK - SD Times
Since I REALLY don't trust Oracle, this is good news. Sorry, Oracle - you've earned my lack of trust.
amazon  java  oracle 
november 2018 by mcherm
Oracle: Java SE 8 business users must buy a licence from January next year | V3
From the moment that Oracle bought Sun I feared they would try to find a way to charge for the use of Java. This is only for an older version, but still...
java  oracle  evil  via:HackerNews 
april 2018 by mcherm
AWS Serverless Java Container
Amazon has been working on a way to run things like Spring in Lambda functions. But it doesn't quite seem to be on the level where I can just pick it up and use it.
serverless  aws  lambda  spring  programming  java 
january 2018 by mcherm
JAVA and SIMD - Prestodb rocks!
How Java uses single-instruction-multiple-data instructions.
jvm  java  programming  via:HackerNews 
june 2017 by mcherm
Is Jigsaw good or is it wack? – Mike’s blog
Red Hat and IBM argue that the new modules proposal isn't good. This blogger thinks they're just caught up in their own unsuccessful implementations.
java  standards  via:HackerNews 
april 2017 by mcherm
Using JDK 9 Memory Order Modes
Doug Lea talks about new changes to the Java memory model (for threading) that are coming in JDK9.
DougLea  concurrency  parallelprogramming  java  jvm  via:HackerNews 
march 2017 by mcherm
JSP: Creating a custom EL function
Useful reference (I hope!) showed me how to define functions I can call on a JSP page that uses tags.
february 2017 by mcherm
java - Should one call .close() on HttpServletResponse.getOutputStream()/.getWriter()? - Stack Overflow
What to do about wanting to set cookies or headers AFTER writing content. Can't write headers after body, so have to buffer body then flush after finishing.
java  tomcat  webdevelopment 
february 2017 by mcherm
The JVM is not that heavy - Open Sourcery
He attempts to debunk the claim that the JVM is very heavyweight.
jvm  via:HackerNews  programming  java 
february 2017 by mcherm
java - Why would ClassLoader.getResourceAsStream() return null? - Stack Overflow
An answer that worked for me about how to read a resource from the classpath when running inside a container (well, Tomcat anyhow).
java  tomcat  programming 
january 2017 by mcherm
Jackson vs Gson | Baeldung
A comparison of Gson and Jackson libraries for JSON in Java.
java  JSON  library  programming 
september 2016 by mcherm
Manage Tomcat Session State with DynamoDB — Developer Guide
Some tool from Amazon which sounds like it might help with keeping the session on DynamoDB. I should look at it and consider whether it is overly likely to have data collisions or whether I can safely use it.
aws  java  tomcat  amazon  programming  todo 
september 2016 by mcherm
Cache Abstraction in Spring
About the use of cache and Spring.
java  programming  spring  cache 
may 2016 by mcherm
Comparing Python enums to Java, was: How much sanity checking is required for function inputs?
Java enums are better than Python enums because they use the enum identity for comparison, not the values in fields in the enum.
languagedesign  python  java  programming 
april 2016 by mcherm
JEP 286: Local-Variable Type Inference
Proposal to allow variables to be declared in Java without explicitly specifying the type.
languagedesign  java  via:HackerNews 
march 2016 by mcherm
java - What is the synchronization cost of calling a synchronized method from a synchronized method? - Stack Overflow
Answer to the question "Is there a meaningful performance cost to obtaining a lock when you already have it?"
java  threading  concurrency 
november 2015 by mcherm
Java 8’s new Optional type is worthless — Medium
Java's new "Optional" type doesn't prevent the option itself from being null, and it doesn't provide a compiler-guaranteed check that you are using it safely. So they should have just improved support for static code checkers instead.
via:HackerNews  programming  java  languagedesign 
october 2015 by mcherm
The State of the Module System
Java has added a module system, to provide a different kind of encapsulation than what the classpath and separate classloaders offers. This document describes it quite readably. I do not fully understand it yet, but this document helped.
programming  java  via:HackerNews 
september 2015 by mcherm
The programming language by JetBrains. Reading through it I conclude that it is a "slightly better syntax for Java", with few fundamental differences but lots of little improvements.
programming  languagedesign  languages  via:HackerNews  kotlin  java 
july 2015 by mcherm
JAR Search -
A tool for finding what JAR file a given class is found in.
java  useful  maven 
july 2015 by mcherm
My favorite bug: segfaults in Java — Luke Shumaker
Optimization freed value running finalized too soon and segfaulting.
bug  java  programming  via:HackerNews 
march 2015 by mcherm
Proving that Android’s, Java’s and Python’s sorting algorithm is broken (and showing how to fix it) | Envisage: Engineering Virtualized Services
They used their program prover to prove that Timsort was correct... and found that it wasn't! They can demonstrate the flaw and submitted a fix. The Java team didn't use their fix!
python  java  programming  bug  math  algorithm  opensource  via:HackerNews 
february 2015 by mcherm
The basics of Java class loaders | JavaWorld
A VERY old but still useful article on ClassLoader in Java.
java  research 
september 2014 by mcherm
Find a way out of the ClassLoader maze | JavaWorld
A useful article (from 2003) with information about how ClassLoaders really work in Java.
java  programming  research 
september 2014 by mcherm
How to take over the computer of any Java (or Clojure or Scala) developer - Ontoillogical
Maven does not use SSL by default for connecting to the central repo. It should.
java  security  internet  maven  via:reddit 
july 2014 by mcherm
8 Cool Things About Java Streams - ...and they shall know me by my speling errors.
Some neat features of the "streams" added to Java 8. It's strongly reminiscent of iterators in Python.
java  programming  via:HackerNews 
february 2014 by mcherm
Java: easy to read; Scala: expressive of high level concepts
Java restricts how you can express things which means it's always low level but easy to jump into someone's code. All specialists create a jargon which is concise but difficult for outsiders. Scala supports "jargons" for projects: better high-level expressivity but difficult to read for outsiders to the project.
scala  languagedesign  java  programming  via:HackerNews 
december 2013 by mcherm
Changes to String in Java 1.7.0_06 - Java Performance Tuning Guide
In 1.7.0_06, java changed String so substrings can no longer share memory. Their analysis says almost all strings are small so it gave little benefit.
java  jdk  optimization  algorithms  via:reddit  programming 
november 2013 by mcherm
Scaling Scala vs Java - all that jazz
Scala apps perform and scale better than Java apps because the language makes it easier to use things like asynchronous calling and immutable data.
programming  java  scala  asynchronous  immutable  scalability  via:HackerNews 
november 2013 by mcherm
Parallel Universe • No More Callbacks: 10,000 Actors, 10,000 Threads, 10,000 Spaceships
He ran a simulation with LOTS of "actors" using the actor library rather than traditional threading. Says it works well.
concurrency  concurrentprogramming  programming  java  jvm  scala  performance  via:HackerNews 
october 2013 by mcherm
Security Dialogs for unsigned applets in Java
Well, that's the FINAL nail in the coffin of the Java Applet.
via:slashdot  java  internet  webdev 
september 2013 by mcherm
Library for reading Cobol Copybooks in Java: cb2java
A library for reading cobol flat-file formats as defined by cobol copybooks into Java. GPL.
cobol  java  programming  library 
june 2013 by mcherm
Oracle Starts Charging for Updates to Java's Time Zone Database
I already knew Oracle was slimy, this is just one example.
java  oracle  evil  via:HackerNews 
june 2013 by mcherm
Answer to the “School” challenge « Otaku, Cedric's blog
Interesting Java coding challenge. You can't make a legitimate .equals() method for an object where equality is defined as "either of two fields matches". The only legal solution for that is for .equals() to always return true: because equals is transitive and later an object MIGHT be created that matched both of two different objects.
programming  java  via:CedricBeust 
february 2013 by mcherm
Java Regex Helper - Stack Overflow
A really detailed explanation of why Java's support for modern regular expression is irredeemably broken.
programming  java  regexp 
february 2013 by mcherm
The LMAX Architecture
Using a no-locks implementation of a big ring buffer instead of queues for passing things between threads. This allowed astounding throughput from a single-thread core engine (which massively simplified the system architecture).
architecture  concurrency  performance  java  MartinFowler 
january 2013 by mcherm
FlatPack - Java library for parsing position-delimited flat files
A java library for reading (and writing) position delimited flat files. Limited ability (I think) to write these files. Available on an Apache license.
java  library 
january 2013 by mcherm
A close look at how Oracle installs deceptive software with Java updates | ZDNet
Some details about how Oracle is making Java into an installer for spyware and general crummy stuff (Ask toolbar).
oracle  spyware  java  via:HackerNews  zdnet 
january 2013 by mcherm
Critical Java zero-day bug is being “massively exploited in the wild” (Updated) | Ars Technica
A fairly serious security bug, from the sound of it. Zero-day Java browser plugin bug being exploited.
java  security  via:reddit  ArsTechnica 
january 2013 by mcherm
Java's Atomic and volatile, under the hood on x86 - Marc's Blog
At the assembly-language level, comparing normal, volatile, and atomic variables (for X86 machines).
via:HackerNews  programming  java  parallelprogramming  concurrentprogramming 
november 2012 by mcherm
AbstractSingletonProxyFactoryBean (Spring Framework API 2.5)
"Everything that's wrong with Java in a single class." By the way, although I agree it's funny, I actually would defend both the naming and the existence of this class.
java  funny  programming 
september 2012 by mcherm
RR's Random Ramblings: Java Tuning in a Nutshell - Part 1
Brief summary of the JVM parameters you can mess with to do performance tuning and which ones you should mess with first.
java  performance  via:HackerNews 
march 2012 by mcherm
Checked Exceptions Might Have Their Place, But It Isn't In Java
Another person making the case why Java's checked exceptions are broken. This time with good examples.
languagedesign  progamming  java  exceptions  via:JamesIry  JamesIry 
february 2012 by mcherm
JDK7 do escape analysis by default |
Here's a reason to upgrade runtimes to the 1.7 JVM: it performs escape analysis so it's JIT is just BETTER.
java  performance  jvm  programming  via:HackerNews  jit 
january 2012 by mcherm
'Re: Why Git is so fast (was: Re: Eric Sink's blog - notes on git,' - MARC
A technical and low-level analysis of why certain kinds of code (in this case, the source to Git) can be made faster when written in C than when written in Java. Gives a pretty good idea of what kind of problem space C is best for.
programming  languages  languagedesign  C  java  optimization  via:HackerNews 
january 2012 by mcherm
Apache Tomcat and the hashtable collision DoS vulnerability
Information about a preventative fix for a hash collision vulnerability in Tomcat.
security  tomcat  java 
january 2012 by mcherm
The Rest Of The Story |
His review of Scala, and why you shouldn't read it.
scala  personal_net  programming  java  via:HackerNews 
november 2011 by mcherm
InfoQ: Is Scala the new EJB 2?
I disagree with most of what this article says.
scala  progamming  java 
november 2011 by mcherm
Java8 Lambda Expressions – Perhaps not as sexy as intended? | Craig Tataryn's .plan
Unlike scalar, lambda expressions in Java 8 don't have a "function type"; they can substitute for any interface / abstract class with just one method, and you have to care which one.
programming  languagedesign  java  scala  via:reddit 
november 2011 by mcherm
Everything I Ever Learned About JVM Performance Tuning @Twitter
Lots of information about how to tune garbage collection in the JVM.
via:HackerNews  programming  performance  gc  jvm  java  twitter 
october 2011 by mcherm
larval objects in the VM (John Rose @ Oracle)
A very nice idea for a language: allow 2 lifecycle stages for each object. In the "larval" stage it is mutable, and has a bunch of methods used to set up the object; in the "mature" stage it is immutable and has fewer methods. The compiler would need to insert a memory fence (so this can't be done on the JVM) but it seems like a great idea.
languagedesign  java  programming  via:StackOverflow 
september 2011 by mcherm
When to Wrap a Library : Dragons in the Algorithm
When it is a good idea to wrap a library, and when not.
blogentry  programming  java 
july 2011 by mcherm
BCrypt Library for Java
Here is a java library for an acceptable hash function (bcrypt). SHA-1 is already weakening, and will be broken before too long. SHA-2 doesn’t exist yet. Use this (it might even win SHA-2).
via:BruceSchneier  cryptography  hash  java  programming  security 
july 2011 by mcherm
Swarm of XeBees » Is Scala really Faster than Java?
Analysis of a performance test that showed a Scala program ran faster than a Java program to do the same thing. Says the difference is in reduced need for garbage collection because of better data structures.
scala  java  performance  via:HackerNews 
june 2011 by mcherm
« earlier      
per page:    204080120160

Copy this bookmark:

to read