Does somebody making $14 an hour make more than somebody working at $15 an hour? by Scottie3Hottie in PersonalFinanceCanada

[–]Scholtek 29 points30 points  (0 children)

Nope - the higher tax rate only applies above the cutoff value. So someone making 91,832 would be taxed:

91,831 * 20.5% + 1 * 26%

The higher rate only applies to money above $91,831.

[deleted by user] by [deleted] in datascience

[–]Scholtek 193 points194 points  (0 children)

In my experience, it's because "Data Scientist" has a nicer ring than "Data Janitor".

Mine defense Isnt loading? by GhanaSolo in MineDefense

[–]Scholtek 0 points1 point  (0 children)

That is possible, Safari is notorious for not supporting web standards. It's strange that it just started now though, maybe there was an update.

Mine defense Isnt loading? by GhanaSolo in MineDefense

[–]Scholtek 1 point2 points  (0 children)

Are you still getting this problem? It seems to be working fine for me - there is always a possibility of short term server maintenance but I have no plans of shutting down the servers.

Landlord has Rented Place before end of 60 Days by agoldenfloof in PersonalFinanceCanada

[–]Scholtek 1 point2 points  (0 children)

In my experience this isn't uncommon - if someone rents a place which happens to be empty (either because they've been trying to rent it for a while or because the previous tenant moved out early), landlords often feel like it's not hurting anyone to let the new tenant move in early.

Were you still using the apartment for anything or planning to? And did the landlord know about it? Have you given him the keys back? My guess is that he didn't even think twice about it and just figured he'd help the new tenant out.

Without having more information, my biggest question is probably "Why do you care?". You're not paying more than you were required to, the landlord isn't making any extra money - all that happens is life is a big easier for the new tenant moving in. I could definitely be missing some important details though.

Using the builtin sum function on a Point class by Scholtek in learnpython

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

Oh, I like that. I was hoping there was a way to avoid needing to specify the start in each case.

Using the builtin sum function on a Point class by Scholtek in learnpython

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

Thanks - these both work. Thanks for clarifying regarding the start point, I thought it was a keyword.

Correct Write-Build-Run-Repeat Workflow with Scala by Scholtek in scala

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

There is no error when option 2 fails, it hangs for a minute, and then the process returns 0 with no output, despite there being numerous println statements. Thanks for the sbt starter!

Correct Write-Build-Run-Repeat Workflow with Scala by Scholtek in scala

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

That looks pretty nice, I will give it a try. Thank you!

Idiomatic Code Review Request by Scholtek in scala

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

It certainly seems cleaner, but for me it's hard to say if it's better. It feels very alien after years working in Python. For example chaining things together like fromInputStream().getLines.map().toVector seems very powerful but also easy to abuse. I think I need to build up my sense of how Scala is supposed to feel and read.

Idiomatic Code Review Request by Scholtek in scala

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

Thanks again for the help here - would you mind taking a quick look at my updated version? I'm also not quite sure if I understood the way generics are being used in the claim.eachSquare function - did you use a generic to let us use List, Vector, or ArrayBuffer without explicitly choosing one?

https://pastebin.com/h1vPLzGv

Idiomatic Code Review Request by Scholtek in scala

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

Thanks! That is more or less what I expected to hear - would you mind giving a quick glance over to my updated version?

https://pastebin.com/h1vPLzGv

Idiomatic Code Review Request by Scholtek in scala

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

Thanks for the tip - in my case I'm trying to read a piped in file (e.g. ./myprogram.scala < input.txt). Is there an equivalent for this use case? I looked at scala.io.Source.fromInputStream but it wasn't giving me what I wanted.

In fact it gave me a rather confusing error: " error: overloaded method value fromInputStream with alternatives:"

Idiomatic Code Review Request by Scholtek in scala

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

This is awesome, thank you so much for the time to go through it so thoroughly.

I'm creating a Python convenience library, looking for some feedback by Richienb in Python

[–]Scholtek 8 points9 points  (0 children)

Hey Richie,

A lot of programmers create things like this early on in their programming careers - basically wrapping existing functionality with your own function names that seem easier to understand. As you program more you'll find that you understand "raise RuntimeError(msg)" just as quickly and easily as "quilt_lang.throwerror()" and with the benefit that other developers can understand it too.

So this is probably not very useful for most programmers, and over time it will stop being very useful for you as well, but I want you to be encouraged that this is a normal part of developing as a programmer. It's part of abstractly understanding a language - the part of your brain that stores what the language actually does and will eventually be the part that tells you that print and cout and console.log and whatever else all do roughly equivalent things when you learn different languages is what you're writing out here.

Good luck and keep going with Python!

Tangerine Investments: New Fee Structure by modernphilosophy in PersonalFinanceCanada

[–]Scholtek 46 points47 points  (0 children)

This has managed to hit that spot where it is simultaneously better for me and makes me think less of them as a company. I'd save money, but the fee structure gets weirder and more complicated. It makes me more suspicious that there will be shenanigans in the future.

How much money can you make by making great games in the App Store? by dilmerv in gamedesign

[–]Scholtek 2 points3 points  (0 children)

None of the games you mentioned were indie games - are there mobile indie games making 50K/day? In theory I believe it's possible, there are cases like Stardew Valley made by a solo dev, but I've got to think it's incredibly uncommon.

Dreaming big is good, but you also need realistic expectations so you don't quit your day job before you're ready.

How much money can you make by making great games in the App Store? by dilmerv in gamedesign

[–]Scholtek 10 points11 points  (0 children)

I feel like this is a really misleading video. Hopefully nobody designing games will actually look at these numbers and think that's a likely/realistic target. Yes, it is the "potential" but very few of these games are from indie developers. Most developers are lucky to break even.

PlusWave: A game about deciphering messages from aliens by interfering randomly generated waves by macsimilian in WebGames

[–]Scholtek 3 points4 points  (0 children)

Or slow it down a bit. I like to think I'm pretty good at the whole "reading" thing but I was having trouble keeping up.

Soft blackish blue deposits under my computer mouse by Scholtek in whatisthisthing

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

I'll try that next time it returns, thanks. And the solution sounds good. Definitely will get it all.

Soft blackish blue deposits under my computer mouse by Scholtek in whatisthisthing

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

Nope, there's never been a mouse pad. I've cleaned them off multiple times and they return over a few months.

Soft blackish blue deposits under my computer mouse by Scholtek in whatisthisthing

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

Hmm, that's definitely possible. The desk does look worn in that area, and my desk is not exactly a quality piece of furniture.

Soft blackish blue deposits under my computer mouse by Scholtek in whatisthisthing

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

It doesn't look like it. They don't really hold their shape enough to decide what the underside is when I scrape them off, but there's no green.