joplin's recent activity

  1. Comment on Confessions of a Dumb Person in ~talk

    joplin
    Link Parent
    I recently made a stir fry dish, but forgot to make the rice. I thought, "No problem, I'll start it now, and in 15 minutes I'll put the meat and veggies in the microwave for a few seconds to warm...

    Recently, like three months ago? I tried making an Ikea vegan meatball recipe that used lentils, but neglected to cook them

    I recently made a stir fry dish, but forgot to make the rice. I thought, "No problem, I'll start it now, and in 15 minutes I'll put the meat and veggies in the microwave for a few seconds to warm them up," only to realize that we were completely out of rice.

    1 vote
  2. Comment on Confessions of a Dumb Person in ~talk

    joplin
    Link Parent
    Oh come on! That's no worse than "ATM Machine" or "PIN number". People do it all the time.

    Oh come on! That's no worse than "ATM Machine" or "PIN number". People do it all the time.

  3. Comment on New York City rental market pushed to breaking point by tenant debts in ~life

    joplin
    Link Parent
    Are you sure? There are 14 units in the building. Let's say they bought it for $1.4 million US, and put down a 50% payment of $700,000. For a regular 30 year fixed rate mortgage at 3.8% (the...

    I know that the landlord I had in college was making $72k a year in rent off of fourteen bedrooms in the building. If he spent even eight hours a week working on the building times fifty weeks a year, that's $180 an hour. That's a ludicrous amount of money earned for simply having enough money to buy a building to rent out.

    Are you sure? There are 14 units in the building. Let's say they bought it for $1.4 million US, and put down a 50% payment of $700,000. For a regular 30 year fixed rate mortgage at 3.8% (the current rate in my area of town with good credit), he's paying $3,545.03/mo. on his mortgage. So adding those things up I get:

    Rental Income:    $72,000.00
    Taxes:           -$12,000.00
    Mortgage:        -$42,530.36
                     -------------
                      $17,459.64
    

    That's before we get to maintenance cost. Let's say it's around $500/unit/year. He has to cover things like roof or garage repairs, in addition to plumbing and electrical in each unit, and all the other stuff. So that's an additional $6,000/year, leaving $11,459.64/year that he's making. Which works out to $28.65/hour at 8 hours per week for 50 weeks. That doesn't sound so ludicrous to me.

    Edited to add:

    I believe that everyone has a right to shelter and that it's not ethical that people can make money off of other people needing a place to exist.

    Huh? How is it unethical to offer housing to people who couldn't afford to buy, but want a place to live? Or people who don't want to buy because they might not be around long enough to make it worth their while? I agree everyone has a right to shelter, but it does cost money to run an apartment building or house.

    It's also not ethical that people can make money simply by having money already. It causes generational income inequality and we can all see how that's done for us in the United States.

    People aren't making money simply by having money already. They're making money by taking risks and investing their money into property or businesses that could fail, or by loaning it to others for a fee. It certainly is easier to grow money as you are able to make more investments and spread the risk around. But you are still taking those risks and have to deal with the consequences if they don't work out, as a landlord with no income due to a pandemic might find out.

    2 votes
  4. Comment on Is the state of West Virginia unconstitutional? in ~humanities

    joplin
    Link
    I was unaware of the way that West Virginia became a state. It appears that some believe it was formed unconstitutionally depending on how you interpret the meaning of a semicolon in the...

    I was unaware of the way that West Virginia became a state. It appears that some believe it was formed unconstitutionally depending on how you interpret the meaning of a semicolon in the Constitution. I have no idea whether anyone takes these arguments seriously or not, but it was certainly an interesting read!

    3 votes
  5. Comment on New York City rental market pushed to breaking point by tenant debts in ~life

    joplin
    Link Parent
    No. My spouse and I finally ended up buying a house in LA when our 3 bedroom rental house went from $3,000/month to $4,000/month when our lease ran out. At those prices it no longer made sense to...

    Am I the only one that doesn't think that is that bad? $4k for a 4 bedroom means that each roommate only has to pay $1,000 a month.

    No. My spouse and I finally ended up buying a house in LA when our 3 bedroom rental house went from $3,000/month to $4,000/month when our lease ran out. At those prices it no longer made sense to rent, even given LA's ridiculous housing costs. But it must seem ludicrous to people living in less expensive locales. It sure seemed ludicrous to us when we moved here from Chicago, which itself is a pretty expensive city to live in.

    5 votes
  6. Comment on New York City rental market pushed to breaking point by tenant debts in ~life

    joplin
    Link Parent
    I think Loire covered most of what I wanted to say, but I will add that it seems like you're making a lot of assumptions about property owners. For example this: You have no idea what kind of...

    I think Loire covered most of what I wanted to say, but I will add that it seems like you're making a lot of assumptions about property owners. For example this:

    They're making a decent amount of money for not a lot of work.

    You have no idea what kind of money they're making. They may own the property outright and every dollar paid to them goes into their pocket, but usually that's not the case. Unless they're a large real estate company, they probably have a mortgage on the place they're renting out. (And even many company owned units have a mortgage, too.) They also have to pay property taxes on it and do repairs to keep it in working order. Depending on the property they may also have to pay an association fee.

    Furthermore, owning a property can be a lot of work. You can hire a property manager, but that costs money. How do you deal with repairs? You can get someone else to do them, but again, then you're paying some of that money you made to someone else. Many people do it themselves to save on costs. Even then you have to buy replacement parts and tools. If you own more than one property you probably have a business to protect yourself from personal liability which can mean doing things like filing taxes quarterly and possibly monthly payroll taxes (and actually running payroll every 2 weeks) if anyone other than you works for it. Oh, and of course, there's also insurance for the properties. Depending on whether you own a single unit in a multi-unit building, you may also be on the hook for things like the cable bill if the building has an agreement with a single company. (You can charge the renter for it, but sometimes you still have to deal directly with the company when things go wrong, etc.)

    So yeah, I'm sure there are scenarios where the owner owns the unit outright, has minimal need for repairs because things are fairly new, and only has to deal with taxes and HOA dues once a month or so. But that's probably not the majority of units that people are renting.

    The solution should have been for the government to step in and either cover everyone's payments

    Agreed! I wish we had that. I am glad that our incompetent legislators have done what they have so far, but would like to see them do far more.

    4 votes
  7. Comment on 30% didn’t kill the App Store model. SaaS did in ~tech

    joplin
    Link Parent
    Having sold my own software in the era of big box software stores like CompUSA or Circuit City, giving 30% to one of these companies and getting the access of all their customers would have been a...

    Having sold my own software in the era of big box software stores like CompUSA or Circuit City, giving 30% to one of these companies and getting the access of all their customers would have been a godsend. I never did big enough volume or had the connections to pay the 50% that physical store distributors required back in the day. I used online payment processors in the early 2000s and they cost me between 15% and 30% and didn't offer any sort of store or anything. It was all handled after the user had found my software on their own, downloaded it and tried it out for a few weeks. All they handled was payment. Reaching users was very difficult. It was easier on the Mac because there were a few websites that most Mac users went to to discover new software. But on Windows it was a crap shoot. Most web sites that pointed users to your software were either scammy sites, or just small and unknown. The idea that there would be a single store that all users went to and all software was in would have been an incredible boon to my business, even with the discovery problems that users and developers currently complain about.

    5 votes
  8. Comment on Full employment in ~tech

    joplin
    Link Parent
    Not to mention access to healthcare, legal services, etc. There are parts of some of the less populated states where you literally have to drive 100 miles to get to the nearest hospital. Nebraska...

    Not to mention access to healthcare, legal services, etc. There are parts of some of the less populated states where you literally have to drive 100 miles to get to the nearest hospital. Nebraska recently had an issue where there were something like 12 counties that didn't have a single lawyer in the county. Not to mention all the issues with local law enforcement in smaller municipalities. And with companies like Verizon promising to build out to rural areas and then reneging on those promises after getting grants for the buildout, you might not even have decent internet to do that remote job.

    3 votes
  9. Comment on Must-haves for new Mac users in ~tech

    joplin
    Link Parent
    You shouldn't. You should be able to just launch Xcode and it will offer to install them on first launch.

    you may have to run xcode-select --install once to get some command-line tools installed

    You shouldn't. You should be able to just launch Xcode and it will offer to install them on first launch.

    1 vote
  10. Comment on Must-haves for new Mac users in ~tech

    joplin
    Link
    FWIW, if you're an emacs user, the emacs key bindings work by default in most apps. macOS applications don't need to do anything to support it, it just happens by default. It may not work in apps...

    FWIW, if you're an emacs user, the emacs key bindings work by default in most apps. macOS applications don't need to do anything to support it, it just happens by default. It may not work in apps that aren't native, like electron apps, etc.

  11. Comment on Must-haves for new Mac users in ~tech

    joplin
    Link Parent
    It's contextual-click. If you have a multi-button mouse, it's right-click by default. If you don't have a multi-button mouse it's control-click by default. On a trackpad, it would be control-click...

    It's contextual-click. If you have a multi-button mouse, it's right-click by default. If you don't have a multi-button mouse it's control-click by default. On a trackpad, it would be control-click as well.

  12. Comment on What are your recommendations for beginner MacOS application development? in ~comp

    joplin
    Link Parent
    Yeah, Interface Builder is definitely a confusing piece of the puzzle. You'll probably find that once you've written a few small apps you tend to use the same functionality from it over and over,...

    A lot of my frustration comes from not knowing how Interface Builder does its voodoo.

    Yeah, Interface Builder is definitely a confusing piece of the puzzle. You'll probably find that once you've written a few small apps you tend to use the same functionality from it over and over, and it gets a little easier.

    For what it's worth, even as a macOS developer with decades of professional experience, I find auto layout highly confusing, and have never touched bindings. SwiftUI is pretty cool, but I've found it somewhat limited.

    I also don't have a firm grasp on what design patterns to use.

    The biggest pattern for creating the UI for your app is the Model View Controller (or MVC) pattern. Apple has a pretty good description of it here. While they talk about it in terms of UIKit, it's pretty much the same in AppKit.

    Your "model" is the data your app creates and reads. If you're writing a spreadsheet app, it's the values of all the cells. If you're writing a word processing app, it's the words the user typed and their styles, etc.

    Your views are any classes derived from NSView or UIView. They display the data from the model. They may or may not display all of it, depending on what's appropriate for your particular use case. These are things like text fields, sliders, checkboxes, etc.

    Your controllers hold the logic for updating views when the model changes, or updating the models when the views change. There are a number of ways they can work such as directly modifying both views and model, or by sending notifications which are observed by the views and models. They also can be directly manipulated by your model and views, or can observe notifications from your model and views.

    What classes are okay to use a delegate? Why doesn't IB let me drag over a delegate linker thingy all the time? What /is/ a delegate?

    A delegate is a way of having 2 classes be able to communicate without knowing about each other fully at compile time. A delegate implements a particular protocol (explained below). Say, for example, you want to display a table of students and their scores on the assignments you've given them over the past semester. Apple doesn't know what type of data you'll display in a table, so it created a protocol for the data source for a table view. A protocol is literally just a list of methods that you promise your data source class implements. (In some other languages, this is called an Interface or an Abstract Base Class.) NSTableView doesn't know what class you will use to supply data for the various rows and columns of the table, but in knows that your class will implement methods that tell it things like the number of rows and columns in the table, and that will return an object for each cell of the table. Classes that implement the NSTableViewDataSource protocol are delegates of an NSTableView. (There's also a second type of delegate for an NSTableView — the NSTableViewDelegate — that handles things like how to display the cells. It's the same concept.)

    When should I be using a class like NSView and when should I be using an NSViewController?

    As mentioned above, an NSView displays some piece of data and allows the user to interact with it. An NSViewController mediates between an NSView and your model object. The view controller also has hooks for determining that the app loaded your view from its NIB file or that it was displayed to the user.

    How can I do <x> IB thing purely in code?

    Depends on what <x> is, but generally, if there's an object of some class you're dragging around in IB, you can instantiate one directly in code via something like:

    NSView* myView = [[NSView alloc] initWithFrame:viewFrame];
    

    You then need to manually add it to your view hierarchy by calling:

    [parentView addSubview:myView];
    

    Anyway, if you have other questions, feel free to post them here. I'd be happy to help if I'm able to.

    1 vote
  13. Comment on TV Tuesdays Free Talk in ~tv

    joplin
    Link Parent
    Thanks! Only 1 episode about UFOs. That sounds like an improvement! (And to be fair, maybe they end up concluding it was likely something more earthly in the end? I guess I'll have to watch to...

    Thanks! Only 1 episode about UFOs. That sounds like an improvement! (And to be fair, maybe they end up concluding it was likely something more earthly in the end? I guess I'll have to watch to know for sure.)

    1 vote
  14. Comment on Eugene, a town of 170,000 in Oregon, replaced some cops with medics and mental health workers. It's worked for over thirty years in ~health

    joplin
    Link Parent
    Agreed. Assuming we can't get the government to do their #&$% job, do you think there are ways that private entities could step in and help? If so, what are they? I ask this because I see where...

    CAHOOTS is acting like a band-aid to the larger problem which is that we don't have a system in place to take care of our most vulnerable people

    Agreed. Assuming we can't get the government to do their #&$% job, do you think there are ways that private entities could step in and help? If so, what are they?

    I ask this because I see where our government is, and where it's likely going, and I don't think we can afford to wait around for them to fix it, even though they absolutely should be the ones to do it. While I strongly dislike leaving this sort of thing to the private sector, I don't see the work getting done any other way. I have some ability to donate to causes that are effectively dealing with this sort of problem, but don't know enough to know which ones are worthwhile. Do you have any suggestions of organizations that have been effective in this area?

    1 vote
  15. Comment on TV Tuesdays Free Talk in ~tv

    joplin
    Link Parent
    How is it on the woo-woo scale? I have a vague recollection of a previous show of the same title on syndicated TV in the 90s, and its solution to everything was along the lines of "was it...

    How is it on the woo-woo scale? I have a vague recollection of a previous show of the same title on syndicated TV in the 90s, and its solution to everything was along the lines of "was it aliens/angels/ghosts?"

    1 vote
  16. Comment on What games have you been playing, and what's your opinion on them? in ~games

    joplin
    Link
    I played through Little Orpheus. The art direction of the game is quite spectacular. The story is that your character launched a drilling vehicle from Soviet Russia to drill to the center of the...

    I played through Little Orpheus. The art direction of the game is quite spectacular. The story is that your character launched a drilling vehicle from Soviet Russia to drill to the center of the Earth and find what was there. Along the way he found many fantastic subterranean worlds (that somehow have lots of natural light?). The various worlds are beautifully done.

    The gameplay is mediocre to infuriating. It's similar in play style to Inside or Limbo where you're running to the right towards or away from ...something? Oh, and have various puzzles to solve along the way. Unfortunately, the puzzles are more like tasks, and the game periodically stops responding to inputs at just the wrong moment. For example, at one point I was climbing a rope and needed to jump off before something fell on me. I tap to jump. Nothing. I tap to jump again. Nothing. I sit there furiously tapping on the screen 10-20 times, and I die because it simply stopped responding. And now I have to do whatever task it was all over again. Great. Thanks.

    3 votes
  17. Comment on What games have you been playing, and what's your opinion on them? in ~games

    joplin
    Link Parent
    I really enjoyed the "Let's Game It Out" videos where they sort of test the limits of the game: I Built a 600 Meter Human Cannon That Ends All Existence - Satisfactory I Produced so Much Nuclear...

    I really enjoyed the "Let's Game It Out" videos where they sort of test the limits of the game:

    I Built a 600 Meter Human Cannon That Ends All Existence - Satisfactory

    I Produced so Much Nuclear Waste the World Is Ruined Forever - Satisfactory

    I can just imagine the setup needed to even get to the point where they start the video.

    3 votes
  18. Comment on What are your recommendations for beginner MacOS application development? in ~comp

    joplin
    Link
    Regarding Xcode - it's a very large app with a lot of functionality. The various target settings (and there are literally hundreds of them) can be overwhelming. But the rightmost pane (Inspectors...

    Regarding Xcode - it's a very large app with a lot of functionality. The various target settings (and there are literally hundreds of them) can be overwhelming. But the rightmost pane (Inspectors pane) has a tab for help on each of them! (It's the tab that's a question mark in a circle.) It's pretty awesome and can help make learning what the various settings do a lot easier. Especially for the settings that are just a blank text field.

    The best way to start is by using the templates that Xcode supplies for creating new projects. They're usually set up to help you make a particular type of app along the path of least resistance.

    2 votes
  19. Comment on What are your recommendations for beginner MacOS application development? in ~comp

    joplin
    Link Parent
    What are you trying to do that you're having trouble with? Are you using the documentation built-in to Xcode? The docs let you switch between Objective-C and Swift at the click of a button, which...

    What are you trying to do that you're having trouble with? Are you using the documentation built-in to Xcode? The docs let you switch between Objective-C and Swift at the click of a button, which is nice.

    1 vote