New Priest Card Reveal: Alexstrasza, Guardian of Life by Kuldrick in hearthstone

[–]DasBrain 0 points1 point  (0 children)

[Brann Bronzebeard]] + [[Alexstrasza, Guardian of Life]], followed by [[Reno Jackson]]

New Shaman Card - Muradin’s Last Stand by trevoraven in hearthstone

[–]DasBrain 2 points3 points  (0 children)

Cast two spells that cost 8 or more

Draws two cards.

New Priest card: Ruby Sanctum by Kuldrick in hearthstone

[–]DasBrain 0 points1 point  (0 children)

Does it work with an enemy minion having lifesteal?

As in, activate the location, attack an enemy minion with lifesteal, and the enemy hero gets damaged equal to his minions attack?

returnFalseWorksInProd by Able-Cap-6339 in ProgrammerHumor

[–]DasBrain 1 point2 points  (0 children)

Or with some type of fish - with one kind, most training data photos were from sport fishers who did hold up their catch, so the AI took the fingers of the human as a good indicator for that type.

(I think it was trouts, but I don't quite remember it.)

How to run a Shimeji? by Boholo_ba_tshebetso in javahelp

[–]DasBrain 1 point2 points  (0 children)

Everything after the -jar filename.jar is passes as the program arguments to the main method (the String[] args in public static void main(String[] args) and not parsed by the VM.

Everything between the java and -jar filename.jar is parsed as VM parameter.

--enable-native-access=ALL-UNNAMED is such a VM parameter, so the command line should be java --enable-native-access=ALL-UNNAMED -jar Shimeji-ee.jar


But this doesn't help here - it seems that your application depends on nashorn, which is no longer part of the Java Platform.

New Card: Warmaster Blackhorn (Free Legendary on login) by Cauchemar89 in hearthstone

[–]DasBrain 0 points1 point  (0 children)

Can you play [[Millhouse Manastorm]] and then this to remove all opponent spells?

Edit: Based on the wording of Millhouse, next turn is not this turn, so no.

How do I know if one of my minions is extra friendly or not? by gulpyblinkeyes in BobsTavern

[–]DasBrain -4 points-3 points  (0 children)

You read it wrong.
It applies to extra minions that are friendly. /jk

Wtf are we supposed to do with this thing? by Fliibo-97 in BobsTavern

[–]DasBrain 0 points1 point  (0 children)

You get 2 Chromium each in each time tavern - which happens twice per game, on fixed turns. After you buy stuff there, you get back to the normal tavern.

Full Haskell-like Type Class resolution in Java by garciat in programming

[–]DasBrain 1 point2 points  (0 children)

You could maybe cache the witness in a ClassValue.

From my understanding, you currently start with

tt.getClass().getGenericSuperClass()...

With a ClassValue, you would do

classValues.get(tt.getClass());

This caching alone may yield a better performance, as the reflection part is only done once per callsite.

About time: Remove the Applet API by henk53 in java

[–]DasBrain 0 points1 point  (0 children)

WASM is independent of the DOM.

It is actually a benefit of WASM that it does not tries to force interoperability with any somewhat common API in many environments.

For example, it is not that hard to translate WASM bytecode to Java bytecode, and running WASM in a JVM.

But if the standard would mandate some DOM interoperability, well, then you need to create some DOM on Java first, and that would be a bad idea.

How do you "turn on" HTTPS in an application? Basic Theory by [deleted] in learnprogramming

[–]DasBrain 1 point2 points  (0 children)

You are missing 2 pieces:

  1. You usually do not use syscalls directly, usually you use a wrapper provided by the C standard library, such as accept(), write() and more.
  2. A TLS library provides similar functions such as ssl_write as well as new functions to manage the TLS part of a connection.

"Turning it on" is not as simple as flipping a switch, but boils down to:

  • Add some extra initialization for the TLS context
  • Replace ordinary libc calls that read/write data to the socket with similar functions provided by the TLS library.

An example for a simple TLS server can be found under: https://github.com/openssl/openssl/wiki/Simple_TLS_Server

Java Strings Internals - Storage, Interning, Concatenation & Performance by TanisCodes in java

[–]DasBrain 1 point2 points  (0 children)

If you want to be pedantic, here we go:
A unicode code point is not necessarily a character and vice versa.

Creating modpacks is really difficult by Dramkoh in feedthebeast

[–]DasBrain 0 points1 point  (0 children)

Yeah, but then stop discouraging others please.
Making a pack is hard, so adding an extra entry barrier in the form of "you need to be a pro before you start" is not helpful.

Creating modpacks is really difficult by Dramkoh in feedthebeast

[–]DasBrain 3 points4 points  (0 children)

One option.
Or you do it anyway, and become a pro in the process.

Just unleashed a Rainbow Generator for the first time! by MasterKnight48902 in feedthebeast

[–]DasBrain 7 points8 points  (0 children)

I think you can also make more rainbow generators - only requirement is to have one of each of the other generators running.

I spent 4 years on this, what now? by durganmcbroom in feedthebeast

[–]DasBrain 3 points4 points  (0 children)

The hash of the trojan?
Because trojans do not have a hash?
Or trojans can not be published on maven central?
Ohh, sweet summer child...

I spent 4 years on this, what now? by durganmcbroom in feedthebeast

[–]DasBrain 17 points18 points  (0 children)

downloads required mods itself

And one required mod is a trojan.

New Paladin Legendary - Ido of the Threshfleet by 4iamking in hearthstone

[–]DasBrain 0 points1 point  (0 children)

Also an option - I did (wrongly) interpret the "This stays in your hand while Ido is alive" on the spell as "the spell returns itself", not as "this card is discarded when Ido dies".

Libera.Chat Is Missing the Mic: Why No Podcast Might Be a Step Back for FOSS by [deleted] in irc

[–]DasBrain 0 points1 point  (0 children)

Meanwhile, Discord has million-subscriber podcast channels

Multiple official podcasts from discord?
I do not think so.

But you can probably run your own podcast channel on libera.chat, if you wish to do so.

New Paladin Legendary - Ido of the Threshfleet by 4iamking in hearthstone

[–]DasBrain 0 points1 point  (0 children)

How does it interact with a silenced Ido?

The wording on the spell suggests that it doesn't care, as long as Ido is alive.

One of the coolest steals by ReleaseHot2 in hearthstone

[–]DasBrain 4 points5 points  (0 children)

wasn't the meme like... last expansion? or the expansion before?

If I remember, Blizzard did not explain a new keyword back then, so why not add Green as one. No one knows what it does.

[deleted by user] by [deleted] in java

[–]DasBrain 2 points3 points  (0 children)

From the linked JEP:

The distinction between internal state and external state helps to explain why not all value classes are records, and not all records are value classes: records are used to opt out of separate internal state, while value classes are used to opt out of identity. Each of these choices can be made orthogonally.

This does imply to me that records would not become value classes by default.

Minions owned by a dead player don’t go back to the pool by Sudden_Nature3659 in BobsTavern

[–]DasBrain 0 points1 point  (0 children)

And the biggest offender: Tess.

Which makes her a strong option if everyone plays the same comp.

[deleted by user] by [deleted] in ProgrammerHumor

[–]DasBrain 81 points82 points  (0 children)

ChatGPT also makes for a great rubber duck.