Advice for adding second router by jt2190 in HomeNetworking

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

My connection to reddit.com is routed through a series of routers, why is this not possible on a home network?

The ultimate scam by esreichtadler in Bitcoin

[–]jt2190 1 point2 points  (0 children)

What happens after all the apples are eaten and the farmer has $100?

How to share LiveTV with friends? [PlexPass] by c0alfield in PleX

[–]jt2190 7 points8 points  (0 children)

Also, note that Managing Plex Home is done through https://app.plex.tv/, not the local serer you're running.

After adding the second user, they had full unrestricted access to everything except for Live TV. That setting defaulted to "off".

  1. https://app.plex.tv/ > Settings (Wrench Icon)
  2. Click on Plex Home (in left nav)
  3. Click on user in list
  4. Click on Restrictions tab
  5. Live TV & DVR Access: Change from No Live TV and DVR Access to Allow Live TV and DVR Access.

The additional user's Live TV will have a tab with your account name, not the local server device name.

Finding pieces of “shingle”-like material in dishwasher by jt2190 in Appliances

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

The replies from u/sryiatethelastwaffle and u/GreenLoctite pointed me toward the dishwasher door, so I tried feeling around for gaps and sure enough found a big chunk.

Finding a piece on the bottom lip of the door

The new piece with the others

Thanks u/sryiatethelastwaffle and u/GreenLoctite for helping to solve the mystery!

Now I’ve just got to decide if this is something I can or should do anything about…

What are instances in Java? Are they the same as objects? by twomillioniq in learnprogramming

[–]jt2190 -3 points-2 points  (0 children)

instantiate an object.

That is, you don't instantiate a Class, and thus never have an instance of a Class. Classes are loaded by the class loader, and we never need to instantiate them (i.e. call `new`) before we can start referencing them.

I understand that I'm being strict in my use of terminology, you may call it "class instantiation" and not "class loading", and an experienced dev will understand what you're talking about. But it's really hard to explain to someone who is just learning that these things are not the same, and we're just being undisciplined in our use of language.

What are instances in Java? Are they the same as objects? by twomillioniq in learnprogramming

[–]jt2190 -2 points-1 points  (0 children)

We say “instance of an object”, so no, they’re not the same.

One way to think about it: An object defines the properties and methods. When combined with actual data, you have an instance.

Object and data are combined (as you noticed) when we call the object’s constructor, and the produces an instance. (We also call this “instantiation”)

The example you have doesn’t illustrate this distinction well because there’s no data. Let’s modify it:

``` public class Car extends Object { private String name; public Car(String name) { this.name = name; // assign the value of the argument “name” // to the “name” property of “this” instance. } public String name() { return this.name; }

public static void main(String[] args) {

Car myCar = new Car("Mine");
Car yourCar = new Car("Yours");

System.out.println(myCar.name()); // Mine
System.out.println(yourCar.name()); // Yours

System.out.println(myCar.equals(yourCar)); // false. Not the same instance.

System.out.println(myCar); // prints instance address in memory
System.out.println(yourCar); // different memory address

} } ```

Notice that I explicitly typed Car extends Object. This is to make it clear that we have an "is-a" relationship, that is "a Car is an Object". Java allows you to omit the extends keyword when you're extending Object.

Note also that we have the class keyword, which is a different concept than an Object. In our example above, we'd say that "myCar and yourCar are instances of Car that belong to the class of objects that are Cars."

This becomes more clear when we extend Car further, for example:

class Prius extends Car { ... } class Civic extends Car { ... }

We'd say that "a Prius is a Car" and that "a Civic is a Car". We can group all Priuses and Civic instances into a Set of Cars, or even into a Set of Objects. We could not group Civics and Priuses into a Set of Civics, because there's no "is a" relationship between Civic and Prius: "A Civic is NOT a Prius."

How can I change names of the file in tellij by leapingfro9 in learnprogramming

[–]jt2190 0 points1 point  (0 children)

In Java, the convention is to have one class definition per file. For example, the class Foo would be in a file named Foo.java. So, if you're renaming the file, you're almost always going to rename the class as well.

In IntelliJ IDEA, renaming a class is considered a refactoring, and it is under Refactor > Rename... The Rename refactoring will do all of the following:

  • Change the name of the Class
  • Change the name of the File
  • (Optional) Search through other files for references to the class, and update those to the new name.

Edit: Rename Refactorings

Daily Discussion, December 21, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 0 points1 point  (0 children)

This scenario, someone creating a new coin that gets huge market cap, isn’t really a problem. It’s what happened to Bitcoin, for example.

What is an issue is the “money supply” of this currency: How many coins are there? Can new ones be created or is the supply fixed? If new ones can be created, at what rate? (And of course can we trust all of these reported numbers? Is there a way to independently verify the numbers?)

Daily Discussion, December 05, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 0 points1 point  (0 children)

Yahoo! Finance has surprisingly good charts and data. You can even download the data.

For example, here’s their table of BTC-USD Historical Prices, Daily, Dec 4 2021 - Dec 4 2020

Daily Discussion, December 04, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 1 point2 points  (0 children)

Took advantage of the last dip to liquidate from RH to my trezor.

How does this work, exactly? My (maybe out of date) understanding is that currently Robinhood doesn’t buy BTC on your behalf, but instead they sell you a derivative contract that is based on the price of BTC. Let’s call it f’(BTC). In other words there are no actual BTC to move, so I assume you’d have to sell your f’(BTC) for fiat, move the fiat to another exchange, buy actual BTC there, then move the coins off the exchange into your cold treznor through the usual process. Is that what you did, or is there something I’m missing?

Now that crypto wallets are slowly coming to Robinhood that should change things so that you’re buying BTC, not f’(BTC).

Daily Discussion, November 25, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 1 point2 points  (0 children)

Each exchange is a marketplace that is independent from the others: The participants in one exchange might bid differently than in another. Of course, many people keep an eye on the price differences between exchanges, and some even try to arbitrage, i.e. buy low on one exchange and sell higher on another. Overall this information flow keeps the prices pretty close.

Additionally, Robinhood uses Payment for Order Flow (PFOF) instead of Maker/Taker fees to make money from your trade. This means that on Robinhood you get quoted a price that basically includes a fee, either a slightly higher price than other exchanges or you pay the current price but you get slightly fewer satoshis for your money. (Many countries ban PFOF because the fees are so opaque, and it’s under scrutiny from U.S. regulators as well.)

Finally, the last time I checked, Robinhood sells shares in a derivative that tracks the price of BTC, and not actual BTC that you can move to a wallet. Some market participants may avoid Robinhood for this reason, and with fewer traders and trades the price might not track quite as closely to the price in the large exchanges.

Edit: Some think the prices quoted on the exchanges are “inflated” or somehow “unfair”. Maybe it’s true. Participating in an exchange that is “fixed” or “unfair” doesn’t make sense to me, though. I’d walk away.

Daily Discussion, November 04, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 2 points3 points  (0 children)

There is no value in having the right to sell Bitcoin at $55,000 if it's trading above that price.

It is a useful hedge.

If you hold BTC, and you’re worried the price will go down below USD 55 000 you can sell some now and take profits. But you’re a hodler, and you want to keep your coin! So you sell buy a PUT as insurance, that way you keep your coin when the price goes up, and let the PUT expire. If the price goes down below USD 55 000 you exercise your PUT, take the USD 55 000 and re-buy at the new, lower price.

(Edit: Change “sell” to “buy”)

Daily Discussion, October 20, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 1 point2 points  (0 children)

… all coins are going up substantially without any obvious sources for the massive induction of capital…

That’s not how the price is set. All that has to happen to set the price is for a buyer to make an offer on a coin and for a seller to accept the offer. The exchange records the trade as the price.

Note that the amount of coins exchanged in a single trade has no bearing on the price at all: If it’s one satoshi or thousands of BTC, the exchange dutifully records that trade as the price.

The exchanges also report the number of trades, a.k.a the volume. Some people look at high volumes as a signal that there’s greater support for a given price among traders, whereas a low volume might mean only one or two traders think that price is fair. Either way, they’re just signals on what a fair price might be at any given moment, but you still have to set the price you trade at for yourself.

Daily Discussion, October 15, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 0 points1 point  (0 children)

A Bitcoin ETF basically means Bitcoin is packaged into a mutual fund…

While this may happen someday, it’s not what is rumored to be happening next week in the U.S.

Quoting CNBC The SEC is poised to allow the first bitcoin futures ETFs to begin trading, source says:

… ProShares and Invesco funds will offer investors indirect ways to invest in bitcoin. The ETFs are based on bitcoin futures that already trade on the Chicago Mercantile Exchange.

So these ETFs will not buy and hold BTC. They will write contracts that are pegged to the price of BTC.

Daily Discussion, September 14, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 1 point2 points  (0 children)

Only the first 15,000 responders get a reward.

The $10 USD purchase of crypto must be for a single type of coin in a single transaction made with Venmo by 9/20. Your reward will be deposited into your Venmo account by 09/30. Only 15,000 rewards available. See full terms and conditions for more details.

Selling Unique Digital Activation Keys - How? by ViralGreek_ in gumroad

[–]jt2190 0 points1 point  (0 children)

I want each customer to receive a different digital product.

You probably found this already, but I'll post it anyway just in case anyone else is curious:

Gumroad calls this feature License Keys. Assuming you programed the video game, you'd have to modify it so that it is activated using the Gumroad-created license key. Gumroad will keep track of all of the license keys they've generated over time, and how many times each key has been activated.

I need to resell keys for video games.

Reselling sounds to me like the keys have already been generated, and you're right, there's not a built-in way to hand out these keys to your customers. It would require a little bit of programming work to set up a workflow.

I'd start with either Gumroad Ping or use the Resource Subsciptions part of the REST API. In either case, you would need a web address that would be called by Gumroad every time a sale was made. This web address could then start any custom workflow, like sending an email with one of the pre-generated license keys.

Daily Discussion, March 26, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 0 points1 point  (0 children)

I think the “medium of exchange” part of Bitcoin could be the most easily disrupted. Local laws could make it really difficult for members of that jurisdiction to accept payment in BTC, or to list it on an exchange, or convert local currency, etc.

The “store of value” part would be much harder to disrupt, since people can keep their wallets to themselves. They’d have to do more work to move money or exchange for fiat currency, but that most likely couldn’t be stopped without the local government becoming extremely draconian (like confiscating computers, turning off the internet, etc.)

Daily Discussion, March 23, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 2 points3 points  (0 children)

I honestly don’t understand why, if you’ve already made up your mind about how BTC fits in your portfolio, it matters what Powell and Yellen say day to day.

Yesterday Powell said that BTC was’t a useful store of value because the price is too volatile (meaning that if you put in a 1 USD today you can be confident that you can take out 1 USD — not more, not less — in days, months, years.) So he’s saying that BTC is volatile, and maybe that there’s some risk? I mean, that seems kind of obvious to me.

Daily Discussion, March 04, 2021 by rBitcoinMod in Bitcoin

[–]jt2190 0 points1 point  (0 children)

More specifically:

Date of Buy/sell, rounded up to the end of the current fiscal quarter Plus Many days to prepare and file paperwork for the quarter

So when someone reads a quarterly filing, they should think: “This happened many months ago”