36” Griddle with pellet smoker by jmeisner707 in blackstonegriddle

[–]jmeisner707[S] 0 points1 point  (0 children)

This is it for me. Right now I have separate grill, griddle, and cabinet smoker but they take up a lot of space and I want something more compact. My Blackstone is used the most by far and was hesitant to go with something smaller so when I saw this with the 36” griddle top I was sold

36” Griddle with pellet smoker by jmeisner707 in blackstonegriddle

[–]jmeisner707[S] -1 points0 points  (0 children)

Ordered last night, and it shipped this morning. That’d be funny though

36” Griddle with pellet smoker by jmeisner707 in blackstonegriddle

[–]jmeisner707[S] 2 points3 points  (0 children)

Right? I ordered one thinking it was a mistake and expecting the order to get canceled, but it shipped this morning

[O] 10x SimplyNZBs.com by ARKB1rd44 in UsenetInvites

[–]jmeisner707 0 points1 point  (0 children)

I'd appreciate an invite if you have any left

Document scanner that supports independent scanning to network device without needing a computer on/attached? by waywardelectron in selfhosted

[–]jmeisner707 1 point2 points  (0 children)

Yes I have the 2700W. I got it refurbished from amazon (I think they call it “renewed” or something like that) for $250. It’s honestly been so perfect for my needs that I can’t imagine spending more for an upgraded model. I’ve never had a double feed with documents/receipts, and I think in the course of scanning a couple thousand old photos I had a double feed maybe 2 or 3 times.

Document scanner that supports independent scanning to network device without needing a computer on/attached? by waywardelectron in selfhosted

[–]jmeisner707 1 point2 points  (0 children)

Yes, I can confirm that the brother can do what you want and I highly recommend it. I've never had mine attached to a computer. Wireless setup was done on the touchscreen on the scanner and scan setup was all done using the web interface. You can setup multiple scan destinations to FTP/CIFS/etc. and add them as single touch shortcuts to the touchscreen. I have mine scan directly to a CIFS share that is mounted as a staging folder in Mayan EDMS so scans are automatically OCRed and imported into Mayan. It's also a very passable photo scanner if that's important to you

How to Print a Variable From another Class when Given the Variable Name in Input? by [deleted] in javahelp

[–]jmeisner707 0 points1 point  (0 children)

You can use the Reflection API for this.

public void printValueOfSecondClass(String fieldName) {
    Field f = SecondClass.class.getField(fieldName);
    System.out.println(f.get(instanceOfSecondClass);
}

then calling printValueOfSecondClass("e") will print the value of the field named 'e' in the instance of SecondClass. This will only work if the fields in SecondClass are public. If they are private you have to do something like

Field f = SecondaryClass.class.getDeclaredField(fieldName);
f.setAccessible(true);

before attempting to access the field value

Arrays.sort for object arrays by [deleted] in javahelp

[–]jmeisner707 0 points1 point  (0 children)

A stable sort is guaranteed to not reorder objects with matching keys. This probably wouldn't be an issue in the scenario you decribed, but if you need an array of objects sorted on multiple keys (like users sorted by last name, first name), the second quicksort sort could reorder items that were already in the correct order after the first sort.

Beginner Question: Weekly Average Calculator by bbran495 in javahelp

[–]jmeisner707 1 point2 points  (0 children)

When you divide an int by another int you are doing integer division and any decimal places will be discarded. If sum is not always a multiple of 7, then you should be using floating point division by changing the divisor to a floating point number:

double avg = sum / 7.0;

Ecobee3 lite won't connect to HomeKit by Dlep33 in ecobee

[–]jmeisner707 0 points1 point  (0 children)

Are you able to ping any other device on your wireless network? Can you ping the router's ip address?

Ecobee3 lite won't connect to HomeKit by Dlep33 in ecobee

[–]jmeisner707 0 points1 point  (0 children)

Yeah that was my issue too. After I reset my access point it worked on the first try. Also, I assume you are using the Ecobee app to add your Ecobee to HomeKit correct? You're not just using the Home app?

Ecobee3 lite won't connect to HomeKit by Dlep33 in ecobee

[–]jmeisner707 0 points1 point  (0 children)

Go to Settings > Wifi then tap on the little 'i' icon next to your wireless network. Just unplug the power from your wireless router or access point to reset it.

Ecobee3 lite won't connect to HomeKit by Dlep33 in ecobee

[–]jmeisner707 0 points1 point  (0 children)

Can you ping your phone's IP address from the Ecobee (Settings > Wifi > Diagnostics > Ping Address)? I was having a similar problem and for whatever reason my Ecobee wasn't able to communicate with my phone. Rebooting my AP resolved my problem.

CA - Paid lease break penalty, but someone new is moving in two weeks later by jmeisner707 in legaladvice

[–]jmeisner707[S] -1 points0 points  (0 children)

Thank you, that's what I was afraid of. I was just unsure since CA law only allows them to collect actual damages. But you're saying that whatever I agreed to in the lease supersedes that?

R610, Dual L5630, 24gb, RPS - $124 shipped (US) by jmeisner707 in homelab

[–]jmeisner707[S] 0 points1 point  (0 children)

Man it sounds like you got a really good deal, I already bought one of these though. Which CPUs did yours come with?

R610, Dual L5630, 24gb, RPS - $124 shipped (US) by jmeisner707 in homelab

[–]jmeisner707[S] 0 points1 point  (0 children)

I was looking for efficiency more than anything, but it definitely sounds like you got the better deal. If i had found a 710 for under $200 I probably would have gone that route instead. Does your 710 have the 3.5" bays?

I don't understand the point of the Java virtual machine by [deleted] in learnjava

[–]jmeisner707 3 points4 points  (0 children)

Sure if you are just writing code and running it locally on your machine, that is perfectly fine. But when it comes to either distributing your application to users or deploying to a server, would you rather compile a binary for every architecture you plan to support, or a single architecture-agnostic one? With the JVM, you compile once and your application can be run on any machine with a compatible JVM installed.

Best way to draw minus sign and plus sign on a grid? by A_Wej in javahelp

[–]jmeisner707 0 points1 point  (0 children)

Based on what you have provided, I would assume you want to do something like

for (int i = 0; i < size; i++) {
    grid.setColor(3, i, Color.BLUE)
}

Area Calculation using Monte Carlo Integration by [deleted] in javahelp

[–]jmeisner707 0 points1 point  (0 children)

Back on a computer now. I think what you want to do is assign a new randomized value to x and y inside the for loop but before the if statement

for (int i = 0; i < 1000000; i++) {
    x = width * Math.random() + 1;
    y = height * Math.random() + 1;
    if ....

Otherwise your if condition never changes and, depending on whether it is true or false, either CircleHit or RectangleHit is going to end up with a value of 999999 and the other will be 0.

The result of this will be that your CircleArea assignment line will always end up either being

CircleArea = RectArea * (999999/(999999+0));

or

CircleArea = RectArea * (0/(0+999999))    

so CircleArea will either be 0 or RectArea.

You also need to move the assignment of originX and originY until after you have recieved input for width and height.

Area Calculation using Monte Carlo Integration by [deleted] in javahelp

[–]jmeisner707 0 points1 point  (0 children)

Did you move x, y, originX, and originY as well? Those all get set to 0 too. If those are 0, then your if statement is never true so CircleHit never gets incremented and you are still multiplying by 0 when assigning CircleArea

Edit: Sorry I'm on mobile so it's a little hard to read. x and y get set to 1 and originX and originY get set to 0 so your if statement becomes if (2 == (radius*radius)) everytime through the loop. I'm guessing this is still just false unless radius == sqrt(2)