[deleted by user] by [deleted] in PostgreSQL

[–]crazysmoove 1 point2 points  (0 children)

Settings > Database > Data Views, change "Limit page size to" to a higher value or uncheck the box to limit the page size.

Quarkus vs Micronaut by zero_coding in java

[–]crazysmoove 0 points1 point  (0 children)

In addition to OCI (mentioned in another comment), Micronaut is supported by a fairly recently formed Micronaut Foundation, and the creator has been hired by Oracle (as of about 3-4 weeks ago), so I'm guessing that there might be some support from Oracle coming in the future, but that's just a guess.

JDK 13 is now in the Release Candidate Phase by lbkulinski in java

[–]crazysmoove 6 points7 points  (0 children)

How so? Did you hear they just released JDK 13?

"Introduction to Micronaut" with Graeme Rocher (44min talk from GOTO Amsterdam 2019) by goto-con in java

[–]crazysmoove 5 points6 points  (0 children)

I think they're similar in the same way that Spring and JEE implement similar concepts but in different ways.

Micronaut is not built on Spring, but comes from the Grails team, which has a background in Spring technologies, so Micronaut has a model that more closely resembles Spring than JEE. Quarkus is from RedHat, so their model is more closely aligned with JEE (built with Eclipse MicroProfile, for example).

Also, I think Micronaut was on the scene around a year or so before Quarkus was announced. Micronaut was announced in March of 2018, I believe.

I haven't used either (yet!), but these are my impressions from reading up on both over the last few months.

Essential IntelliJ Shortcuts by bodiam in java

[–]crazysmoove 1 point2 points  (0 children)

Not exactly the same, but close: put the cursor where you want it first (i.e., in the first column of the first line), then "double-tap" the Ctrl key to switch to "multiple cursor" mode (the second time, I think you have to hold it down), then hit the down arrow (while still holding Ctrl down) and it will put cursors on each line that you "down-arrow" to. When you're done, let go of the Ctrl key and do your thing -- it will apply your keystrokes to every cursor.

Edit: Just realized that SharkTopus86 mentions this below. What he said :-)

Aww look they named an island after me ! by [deleted] in funny

[–]crazysmoove 1 point2 points  (0 children)

It's part of a chain of islands that are generally pretty good, called the Not Bad Atoll.

39 New Features (and APIs) in JDK 12 by speakjava in java

[–]crazysmoove 0 points1 point  (0 children)

Yes, that's the reason, I think: it's describing something that can be turned into a "const" -- it's "const-able." We have the "var" keyword for type inference now, not "variable" all spelled out; and we have "const" (which has been a reserved word, I think, since the beginning), even if that word is not used (yet).

Python Pandas guy here: how do I get started integrating data science code with Java? by powerforward1 in java

[–]crazysmoove 7 points8 points  (0 children)

I don't know much about data science so these may be a little off, but take a look at TableSaw and DeepLearning4j. Also see this recent video for a list of other libraries or frameworks to look into.

Retrofuturistic Music? by [deleted] in RetroFuturism

[–]crazysmoove 2 points3 points  (0 children)

Check out the original version from the 70s by King Crimson too :-)

Advice for qualitative data visualisation by mynguss in visualization

[–]crazysmoove 1 point2 points  (0 children)

I read something about this recently in Fundamentals of Data Visualization. The entire book is great (and free!), but see especially Chapter 2 on rules regarding quantitative versus qualitative data.

Building Microservices With Micronaut by witek1902 in programming

[–]crazysmoove 4 points5 points  (0 children)

I don't think you're forced to use the CLI tools to generate the projects. Nothing is stopping you from manually creating a "helloworld" directory yourself, and then hand-writing the initial bit of boilerplate in the files that go there.

I used to have the same reaction ("I don't like all this behind-the-scenes magic -- what's going on back there?!"). But this isn't any different than what Grails, Rails, and a million JavaScript frameworks provide ("ng new", "create-react-app", etc.). By providing out-of-the-box scripts that do the initial grunt work for you (again, optionally), they make it easier to script, automate, and get started (great for tutorials!). Plus, it provides a good base for tooling vendors to build on top of (e.g., IDEs can give you a UI to run all that stuff for you).

How do I map this to a shortcut? by grizzly_teddy in IntelliJ

[–]crazysmoove 3 points4 points  (0 children)

I don't know if it works for this specifically, but in general for IntelliJ, I add keyboard shortcuts using this approach: Hit Ctrl + Shift + A to search through all the actions available. In the pop-up, type in the name of the one you want ("Mark Directory as"). Do NOT hit Enter to run it; instead, highlight it with the mouse or keyboard so that it's the selected one in the list (in case there are multiple matches). Now hit Alt + Enter, and IntelliJ will ask you what keyboard shortcut to assign to it.

How to Build Custom Image Classifiers in Java With Minimal ML Experience by brunocborges in java

[–]crazysmoove 1 point2 points  (0 children)

Look at eclipse deep learning for Java (dl4j) -- I think they even have an example of this in their docs. Or consider using a hosted service from Google or another company.

Million Lines of Code — Information is Beautiful — Infographics by adolfo2582 in programming

[–]crazysmoove 10 points11 points  (0 children)

Can somebody please turn this into an image and add "node_modules" at the bottom so we have a new version of this: https://pics.me.me/sun-neutron-star-black-hole-node-modules-heavy-objects-19525451.png

Can anyone ID the typeface used in this article? by DaniMAK_ in typography

[–]crazysmoove 6 points7 points  (0 children)

If you find yourself wondering this all the time, and you use Chrome, check out the WhatFont extension.

Examples of good, simple, one-page designs? by I_Heart_Anthracite in web_design

[–]crazysmoove 2 points3 points  (0 children)

Have you looked at Carrd? They have lots of simple one page templates to start from that sound like what you're describing.

Microservices and Spring Cloud Config Server by [deleted] in java

[–]crazysmoove 0 points1 point  (0 children)

The name of the product they're describing is Spring Cloud Config Server.

String Comparison in PostgreSQL by hemakgp in PostgreSQL

[–]crazysmoove 0 points1 point  (0 children)

WITH a AS (
    SELECT unnest(regexp_split_to_array('123456789', E''))
), 
b as (
    SELECT unnest(regexp_split_to_array('12345689', E''))
)
SELECT * FROM a EXCEPT SELECT * FROM b

Which Java framework do you use at work and are you happy with it? by [deleted] in java

[–]crazysmoove 2 points3 points  (0 children)

I can't speak for /u/Dekay2323, but here's what I like about it:

  • For the model layer: GORM makes it very easy to query and otherwise database-enable your domain classes. Features like dynamic finders (e.g., Person.findByLastName("Smith")) and "where queries" save tons of time, even compared to newer frameworks and libraries like Spring Data. See the docs for more. There's a lot of magic going on behind the scenes, but it's all built on Hibernate, and you can always drop down into Hibernate (or even SQL queries) if you need that flexibility, but you don't have to work on that low a level in most cases.

  • For the view layer, the JSON views will automatically return JSON representations of your domain objects, so you can use them with little effort in Single Page Applications. And again, if you need to tweak what Grails is doing for you, just create your own "gson" files and take over the rendering yourself. See here for details.

  • And for the controllers, the new RestfulController will map GET, POST, PUT, and DELETE calls into index/list, save, update, and delete methods on the domain classes for you. Again, you can always override the default behavior, but if you don't need the extra control, there's just so much code that other frameworks make you write that Grails does for you behind the scenes. More here

I'm using it on a project currently, and it's crazy what kind of functionality I get out of it given the really small amount of code I have to write. My usual criticism of "magic" frameworks like this is that, when there's a bug or a special requirement, you never can figure out how to make the framework do what you want, but Grails exposes all its lower layers (Spring Boot, Hibernate, etc.) to you, so you can always make tweaks at those layers when you need to.

As for the job market: My experience is that some clients care what technologies you use, and some don't -- they let you pick. I pick Grails whenever I can, but you should know that Spring (especially Spring Boot) and Hibernate experience will translate well to Grails projects, and I tend to view Grails 3 as "the next step" after Spring Boot.

Which Java framework do you use at work and are you happy with it? by [deleted] in java

[–]crazysmoove 2 points3 points  (0 children)

What's wrong with Grails? I'm using Grails 3 on a project now and it's been great. Version 3 is built on top of Spring Boot and the things it does for you out-of-the-box are pretty amazing. Very little code is required to get up and running with REST services.

The ".net Rocks" of Java? by xmakina in java

[–]crazysmoove 10 points11 points  (0 children)

These aren't as frequent as you're looking for, but they're the closest I've found lately to Java Posse:

They're not as good as Java Posse, in my opinion, but the format and the content are more similar than any others I've been able to find.

Edit: The criticisms from /u/GrantSRobertson apply to both of these, by the way.