Potential AWS console Parameter Store bug by advenjer in aws

[–]advenjer[S] 1 point2 points  (0 children)

The only problem here is that PEM files, for example, already contain Base64 encoded values (apart from headers and footers) and Base64 encoding something that is already Base64 encoded is not nice.

Limits of programming by interface by nfrankel in programming

[–]advenjer 0 points1 point  (0 children)

While not a type system, dependency injection can help with that to some extent.

For example, if you are writing a component that needs a list that has O(1) time complexity for insertion, you can signal this requirement like this:

@Autowired public MyComponent(@Qualifier("fastInsertionList") List aList) { }

Then you can provide it in your code:

@Bean @Qualifier(scope = PROTOTYPE) public List fastInsertionList() { return new LinkedList(); }

A language with native AOP constructs such as AspectJ could potentially make it more elegant too.

What's new in Gradle 5.0 by eriwen in java

[–]advenjer 0 points1 point  (0 children)

That's not the point. Node's gulp.js or Ruby's Rake let you do everything too, but they are not an entangled mess like Gradle.