Better HN
topnewbestaskshowjobs
Log inSign up

java-man

1,596 karma · joined Feb 17, 2014 (12y ago) · 1,672 submissions

1314F8B8382A325318F60A61644FF24E
Submissions

comment 3y ago · link · parent

A variant of Ni-H battery.

[0] https://en.wikipedia.org/wiki/Nickel%E2%80%93hydrogen_batter...

comment 3y ago · link · parent

Thank you for a detailed explanation!

Please see my response to @pgwhalen. In short, the problem has, I think, a much simpler solution.

What I really dislike about this JEP is not only that it tries to solve the educational problem in a worst possible manner (my opinion), but it also risks creating a generation of students who don't really understand the fundamental concepts that allow us to write reliable code.

Perhaps we need to start teaching basic programming with BASIC instead, and graduate to a more complicated platform once the basic concepts have been understood.

comment 3y ago · link · parent

This particular problem, in my opinion, has a much simpler solution: a special educational environment. A sort of mini-IDE where two things happen:

1. code written by a student gets inserted into a top-level class's main() method (has to be smart enough to deal with imports, inner classes etc.)

2. the top level class might declar certain utility functions such as print() instead of System.out.println(), and possibly others.

Bingo. No need to mess with something that works just fine for 99.99% of the professional users.

edit, in response to @crummy (as we reached the maximum depth it seems):

Some people commented that it might be beneficial to delay introduction of more complex concepts until the basic ones are digested. So hiding the class/main method would help with that (similar to jshell, I might add). And keep in mid this is an IDE and not java-lite.

comment 3y ago · link · parent

Is this really what students struggle with?

I think it is important to be able to determine the root cause of a problem first. Do students find difficult to write "public static void main(String[] args)" or do they find difficulty understanding the concepts of a public method, a static method, a void method? Perhaps then we should focus on teaching these concepts, which are essential to java, first, instead of undermining the core of the language and the platform.

Neither "goals" nor "summary" can explain away why this can solve the problem this JEP purports to solve.

This is my opinion, of course.

comment 3y ago · link · parent

I feel like this is introducing a change for the sake of change, solving a problem which does not exist. The price of this change is very real: adding complexity and bugs to all the tools, IDEs, code analyzers and the like.

There is negative net benefit to pretty much everyone involved, and for what?

546.

Ask HN: What Happened to Www.id3.org?

3 points · by java-man · 3y ago · 1 comment

comment 3y ago · link · parent

Release Notes

https://github.com/openjdk/jfx/blob/jfx20/doc-files/release-...

548.

JavaFX 20 General-Availability Release(jdk.java.net ↗)

3 points · by java-man · 3y ago · 2 comments

comment 3y ago · link · parent

Needs (2015) in the title.

comment 3y ago · link · parent

Not a game.

comment 3y ago · link · parent

I wish they had a very simple styled editor as a default. All of their editor options in the paid plan are clunky.

For simple notes, bold, underline, and monospaced styles might be enough (think Apple Notes or even simpler).

comment 3y ago · link · parent

Excellent idea!

comment 3y ago · link · parent

Or FOOF

[0] https://en.wikipedia.org/wiki/Dioxygen_difluoride [1] https://www.science.org/content/blog-post/things-i-won-t-wor...

comment 3y ago · link · parent

Are there any poisoning effects from gases present in the air, like water vapor?

comment 3y ago · link · parent

Bobby Tables strikes again?

[0] https://xkcd.com/327/

comment 3y ago · link · parent

It is probably unrelated, but opening an Imgur app for a few minutes, then closing it on my iPhone completely drains the battery after 15-20 minutes.

comment 3y ago · link · parent

Always an informative read, thank you so much, Ken!

comment 3y ago · link · parent

Who is paying the journalists?

comment 3y ago · link · parent

Developed for a single use case: encrypting files/folders before uploading them to a cloud storage.

Uses scrypt password-based key derivation function and XSalsa20 cipher.

560.

Show HN: DirCrypt command-line file/folder encryption utility(github.com ↗)

2 points · by java-man · 3y ago · 1 comment

comment 3y ago · link · parent

This is a clear indication that the user is not the customer. The first time someone arrives at the scene catering to the users, the whole industry will be wiped out. This happened to the phone handsets when iphone arrived.

So, future investors - look at the startups that address the user problems, not the client problems, even though the latter are paying.

comment 3y ago · link · parent

Such a beautiful board! Now do an 8080 :-)

comment 3y ago · link · parent

An operating system and a desktop environment written (mostly) in java/javafx, with a focus on security.

comment 4y ago · link · parent

Absolutely stunning images! Just look at Wolf-Rayet 140

https://webbtelescope.org/contents/media/images/01GEJB2906TM...

I wish they dropped that awful orange slider on mouse over...

comment 4y ago · link · parent

the grid lines seem too intense (dark). please make them the same intensity as the calendar border in the top left corner.

comment 4y ago · link · parent

EV emitting specific sound at low speed should be mandatory, for the sake of blind pedestrians and children (and everyone else, for that matter).

comment 4y ago · link · parent

thank you

comment 4y ago · link · parent

Could you be more specific please?

Do you mean something the Batik library could do?

comment 4y ago · link · parent

"View Open Positions" link points to SpaceX page https://www.spacex.com/careers/?search=swarm

comment 4y ago · link · parent

It's widely popular in narrow circles.

Primarily for developing cross-platform desktop (or mobile, see Gluon, https://gluonhq.com/) applications.

1
181920
56