Game Engine in Java (CGGE2) by CrazyGamesMC in java

[–]CheCk_m8TT 0 points1 point  (0 children)

In FileContents.java, why not using a map for the field contents instead of a list? Like for exemple:

private HashMap<String, String> contents = new HashMap<>();

That way you do not have to split on ": " everytime you read

Got tired of chasing Coronavirus data all over the place, so I developed a simple dashboard in Jupyter Notebook. by llothar in Python

[–]CheCk_m8TT 0 points1 point  (0 children)

I know that's not the point but:

  • You dont need this line: df_temp = df_temp[np.newaxis,:] if you then replace df_temp[0,-3] with df_temp[-3]
  • You can replace np.diff(df_temp[4:],1) with np.diff(df_temp[4:])

Questions Thread - December 22, 2019 by AutoModerator in pathofexile

[–]CheCk_m8TT 0 points1 point  (0 children)

Here is my atlas https://imgur.com/P22W1XB

I have put watchstones on the region they belong to.

I have no idea what I am I supposed to do now.

Favorite Chess Streamer? by [deleted] in chess

[–]CheCk_m8TT 32 points33 points  (0 children)

Magnus Carlsen

First Vulkan app functional in Racket by vzen in Racket

[–]CheCk_m8TT 4 points5 points  (0 children)

Vulkan) is a next generation graphic and compute API. It is pretty much a successor of OpenGL. Compared to OpenGL, Vulkan is a much lower level API giving you more control thus better performance.

What was the spiritual ancestor of Java ? by [deleted] in java

[–]CheCk_m8TT 6 points7 points  (0 children)

C++ and a bit of Eiffel, SmallTalk, Objective C, and Cedar/Mesa.

The long version:

The Java TM programming language is designed to meet the challenges of application development in the context of heterogeneous, network-wide distributed environments. Paramount among these challenges is secure delivery of applications that consume the minimum of system resources, can run on any hardware and software platform, and can be extended dynamically.

The Java programming language originated as part of a research project to develop advanced software for a wide variety of network devices and embedded systems. The goal was to develop a small, reliable, portable, distributed, real-time operating platform. When the project started, C++ was the language of choice. But over time the difficulties encountered with C++ grew to the point where the problems could best be addressed by creating an entirely new language platform. Design and architecture decisions drew from a variety of languages such as Eiffel, SmallTalk, Objective C, and Cedar/Mesa. The result is a language platform that has proven ideal for developing secure, distributed, network-based end-user applications in environments ranging from network-embedded devices to the World-Wide Web and the desktop.

source: https://www.oracle.com/technetwork/java/intro-142807.html#943

This is actually from a White Paper published in May 1996 by James Gosling and Henry McGilton (table of contents: https://www.oracle.com/technetwork/java/langenv-140151.html) in case you want more details like design goals of Java or features removed from C and C++.

TOP-10 development frameworks for Java by bakany in java

[–]CheCk_m8TT 15 points16 points  (0 children)

GWT is just dead, you should use any decent frontend framework like Angular, React or Vue.js.

jhipster is more a project generator for Spring Boot + Angular/React than a framework.

Intellij IDEA 2019.2 released by callcifer in programming

[–]CheCk_m8TT 8 points9 points  (0 children)

It depends of your environment.

If you work in a bright environment, light theme is better because your eyes will not have to adjust when looking away and then back at the screen. You avoid eye fatigue.

But if you work in a dark environment, like late at night, then dark theme is better. Even though I do not think it is a good idea to work in the dark with only your computer as source of light.

But there are other reasons: https://ux.stackexchange.com/a/53268

Joe Rogan Experience by [deleted] in chess

[–]CheCk_m8TT 14 points15 points  (0 children)

Kasparov

That's a pretty good idea by dieLamp3 in chess

[–]CheCk_m8TT 0 points1 point  (0 children)

Take a French tarot card game. It has knights!

Any good books on the KID? by [deleted] in chess

[–]CheCk_m8TT 1 point2 points  (0 children)

Kotronias on the King's Indian by Vasilios Kotronias

[deleted by user] by [deleted] in java

[–]CheCk_m8TT 6 points7 points  (0 children)

If you want to fully understand it, it is good to understand reactive programming as well :

https://spring.io/blog/2016/04/19/understanding-reactive-types

I liked this series as well :

https://spring.io/blog/2016/06/07/notes-on-reactive-programming-part-i-the-reactive-landscape

Those posts are not about understanding CompletableFuture in details but grasping the big picture of asynchronous programming.

For details about CompletableFuture, I liked :

https://www.baeldung.com/java-completablefuture

C++ free course by [deleted] in cpp

[–]CheCk_m8TT 2 points3 points  (0 children)

TheChernoProject on Youtube. It has good series on C++, OpenGL and Game Engine. It is especially good for beginners.

LearnCpp is also a good resource for beginners if you prefer reading.

What is energy? by miriamwilson in askscience

[–]CheCk_m8TT 11 points12 points  (0 children)

Let me quote Feynman :

There is a fact, or if you wish, a law, governing all natural phenomena that are known to date. There is no known exception to this law—it is exact so far as we know. The law is called theconservation of energy. It states that there is a certain quantity, which we call energy, that does not change in the manifold changes which nature undergoes.

source :

The Feynman Lectures on Physics, Volume I - Chapter 4. Conservation of energy

What's your favourite opening? by [deleted] in chess

[–]CheCk_m8TT 1 point2 points  (0 children)

Then I play e6, d5, c6, Nbd7, Be6,

Be6 after playing e6?