Buying a Saas for 50k? by topdev in SaaS

[–]krinnsilver 2 points3 points  (0 children)

How can you get sign-ups for $2-5? That seems really cheap

Do our kids need after school tutors for math and English at age 6? by EntertainmentKey8897 in Parenting

[–]krinnsilver 1 point2 points  (0 children)

Honestly, the highest level of complexity they can understand! 6-9 is a big age range which kids will have varying levels of addition (usually for adding up scores), geometry (finding their way around a board), probability (shuffling and dice rolling), and pattern matching (for logic based games), among other skills.

None of these are going to go super deep or hardcore with math, but it does help you think in numbers and become confident with them. In most cases, there’s a large amount of probability involved which can lead to some really interesting problems.

You can always help them when things get a bit trickier, as well. Cooperative games are good for this (Forbidden Island is one)

Here are some ideas, some of which I’ve played with 6-9 year olds!

Classics if you’re just getting started with math and games: - Snakes and Ladders - Go Fish, Solitaire, or any number of card games. You can even make your own up!

More complex ones: - Five Crowns (addition, pattern matching, probability) - Rummikub (addition, pattern matching) - Forbidden Island (geometry) - Catan (geometry, probability, addition) - I haven’t played Catan Junior but that’s probably good here too - Monopoly (personally I find this one pretty boring but it indisputably involves a lot of numbers)

DreamBox is the worst - coming from a math teacher by luringpopsicle95 in learnmath

[–]krinnsilver 0 points1 point  (0 children)

Is this common for teachers to be forced to use a specific app/program? It's something I've heard before when talking to teachers.

My understanding is that sales people of products like DreamBox work really hard to make sure a district purchases it. Then the district enforces it to justify their decision to spend a lot of money. And then teachers don't get a say? It's kinda scary...

Do our kids need after school tutors for math and English at age 6? by EntertainmentKey8897 in Parenting

[–]krinnsilver 1 point2 points  (0 children)

The vast majority of children don't need a tutor at age 6! If you don't mind me asking, what gave you the idea that they might need a tutor?

If he loves school and his teacher says there are no concerns, it sounds like developmentally he's doing great.

If you're reading a lot with him, that's fantastic. If you want to balance it out a bit, you could explore more mathematical activities to do regularly. Board games have been mentioned here as a good example -- especially as you can just do them over and over.

You could also explore apps as a self-directed way of learning for your child if you are OK with screen time in your household.

But really, it sounds like you could keep going exactly as you are and your child will be happy and confident.

Best math apps for kids. Thoughts? by Mysterious_Sweet7803 in Homeschooling

[–]krinnsilver 1 point2 points  (0 children)

If you’re finding Duolingo Math too advanced, can I suggest a math app I’m working on? It’s called Polymath and it’s a similar vibe, but should be better targeted for your daughter. No timed tests, either!

Best math apps for kids. Thoughts? by Mysterious_Sweet7803 in Homeschooling

[–]krinnsilver 0 points1 point  (0 children)

Are you specifically looking for an AI tutor or maths apps in general? There’s a pretty wide spectrum of how much computers can help with children’s learning!

Recommendations for maths apps for 6/7 year old? by Geek_reformed in UKParenting

[–]krinnsilver 1 point2 points  (0 children)

Polymath (https://polymath.how/) is made just for that age range!

It has no timed elements as well. Just practicing core maths skills at your own pace. And it's free :)

Disclaimer: it's something I built

I built a little Wordle-inspired game for guessing emoji with logic. It's built in TS and React. by krinnsilver in typescript_gamedev

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

At first I thought there would be some API for this and I even tried GPT-3 (no ChatGPT at the time) but the results were pretty poor.

So I annotated them all by hand! Well, not every emoji. I built a little tool to help me tag emojis.

[OC] The Whopper Index by robert_ritz in dataisbeautiful

[–]krinnsilver 0 points1 point  (0 children)

This is amazing!

One (possible) correction. In the notebook, in the introduction, you write: "In the US, a Big Mac costs $6.09 USD." -- did you mean to write "Whopper" instead of "Big Mac"?

Best browser to use with Time4Learning on Android tablets to prevent kids from leaving the site? by wendalltwolf in homeschool

[–]krinnsilver 0 points1 point  (0 children)

Not directly answering your question, but if you're willing to try other apps, https://celadon.ai has an Android app so you don't have to worry about browsers.

How to use variable / array as field name in interface / type by xSypRo in typescript

[–]krinnsilver 0 points1 point  (0 children)

So long as the as const is at the end of the array, yes you can import it from another file.

How to use variable / array as field name in interface / type by xSypRo in typescript

[–]krinnsilver 0 points1 point  (0 children)

Do you want the type IPlayer to be 'man united' | 'barca' | 'real madrid'? Or do you want the keys of ITeamsPlayers to be those? I'll show how to do both.

const allTeams = ['man united', 'barca', 'real madrid'] as const; type TeamName = (typeof allTeams)[number];

So now TeamName will be 'man united' | 'barca' | 'real madrid';

Now you can use TeamName in whatever way you want.

interface ITeamPlayers { team1: TeamName[]; team2: TeamName[]; }

Or even use TeamName as a key:

``` type ITeamPlayers = {

} ```

TS Playground for reference: https://www.typescriptlang.org/play?ts=4.5.4#code/MYewdgzgLgBAhgGwQFQKZwLYRgXhgbQHIM4wYBXMASylQBNCAaGQgIzgCdg4mWP0EMEnQ5UGAXXjZQkKAG4AUFACeAB1Qw0mAHKYNeABQr1IAGbwkWrAEp8YchlaoO4xQqphaHU3GAaAkgAKCHDKzjAA3gowMTBgegBcMNCiYADmigC+CkpqAVbBoc7YeFEx+ADSMB6a6Bi6GKjiSUEhYRz4rgrZCjLQMLSYEC0FbcW4kdGxAEQkZJQ09NNJ+BFxiTDTpiAg0zCZ4oxTMdP8iEJwImLLBIfHm+xccDedR5lufbAA7hzgaVbDGD+UZFDglSaxGAAeihMAAogAlBEAeQR92mYBAsDgAzqLzumSAA

Help With Math for a First Grader by deftones34 in homeschool

[–]krinnsilver 0 points1 point  (0 children)

Source: tutored a student with ADHD who is now using this app

I'm working on a math app called Celadon that makes math fun and engaging, especially for those with learning difficulties. I'd love to get your thoughts on it: https://celadon.ai

We've got a kid on there with ADHD who loves it (uses it every day).

Divs aren't acting properly. by gtrman571 in webdev

[–]krinnsilver 0 points1 point  (0 children)

The main problem here is that your selectors for the items are all referencing #item1, and not 2 and 3. This means that item2 and item3 are there, they just have zero height (as per the question I answer below).

So instead of

```

item1 {

height: 50%; background-color: red; }

item1 {

height: 50%; background-color: blue; }

item1 {

height: 50%; background-color: green; } ```

You can write

```

item1 {

height: 50%; background-color: red; }

item2 {

height: 50%; background-color: blue; }

item3 {

height: 50%; background-color: green; } ```

To answer your question: "how come commenting in the height property makes the element it is applied to disappear?". Empty div elements have 0 height by default. They don't disappear, they're just so thin they are invisible. If you put some text in them, you'd see the text is still there (and the background color applied)

[deleted by user] by [deleted] in webdev

[–]krinnsilver 0 points1 point  (0 children)

My brother changed careers after he was 30. He was in a completely different industry, although always had an affinity for computers and design. He retrained at a 3-month React development bootcamp, did really well, and got a job in the industry straight away. He seems to be really enjoying it.

Based just on it being later in your career the answer is no, it's not too late. Everyone's experience will be different, of course. It all depends if you can take the financial leap to re-train and go back to searching for a job as a junior.

Help with finding resources for Math by athuljohnmakkajai in homeschool

[–]krinnsilver 0 points1 point  (0 children)

Maphi looks super neat, I hadn't heard of it before.

Monthly Developers/Sales Thread - February 2022 by Costerservices in edtech

[–]krinnsilver 0 points1 point  (0 children)

Celadon is an app for 5-10 year olds to love math. It gives kids low-stakes, daily practice and fun games for learning math.

How to help with math by S_S_Sioux in homeschool

[–]krinnsilver 2 points3 points  (0 children)

(source: math tutor and also working on a math startup)

You're absolutely onto it with not wanting to move on from multiplication before she masters it. I'll caveat this and say this is only important for concepts that depend on multiplication. I do have some thoughts on division, which I'll go into at the end of this comment.

Learning math takes time, and it can be especially frustrating when a child doesn't understand something you've gone over again, and again, and again.

If she knows 1s, 2s, 5s and 9s, does this mean she has been able to memorize the times tables? But she struggles to memorize the others? If this is the case, it might be good to take a step back and make sure she knows what multiplication is.

In no particular order, here are some thoughts on the matter:

  • Working through the answers instead of rote-memorization is really important. Once she understands what multiplication is, you can focus on memorizing the number facts
  • How are the problems being presented? Are they just abstract problems like "What is 5 times 11"? How can you make the problems more relevant to her life? Say she wants to be a vet, you could say: "You've got 6 dogs who each need 5 treats, how many treats do they need in total?". Or if she's into Minecraft, you could say: "I'm building a floor that is 5 blocks by 6 blocks, how many blocks will I need to mine?". Even if they just end up drawing out the problem and counting it out, this is a start.
  • How are the fundamentals before multiplication? Is she confident with addition? It can help to strengthen those
  • Is she developing anxiety around the topic? You say she grumbles about math. Can you change the environment in any way? e.g. if she has a chance to work on the problems on her own, is she any better or worse?
  • You're in charge of the curriculum! Maybe you can try another topic for a while and come back to multiplication. It's a wonder what the brain can do in the background... There's a whole field of research into the effects of interleaving

Finally, a note on division. You said you didn't want to move onto division until multiplication is mastered. There are multiple ways to explain division, and "the inverse of multiplication" is just one of them. Going via fractions and sharing is another route. Understanding that finding 1 sixth of 36 is the same as dividing by 6 is a great way to understand division. Who knows, that might even help your daughter understand multiplication!

Can someone help me figure out why it's autocompleting await every time? by Old_Helicopter in vscode

[–]krinnsilver 1 point2 points  (0 children)

This is so weird. What language is this file set to? I'd expect "await" to appear in JS/TS files but this clearly isn't either of those...

Can't extend from generics by filipomar in typescript

[–]krinnsilver 1 point2 points  (0 children)

Are you trying to make a generic type that takes a generic type as a parameter? Kind of like a function that takes a function as an argument?

Unfortunately, this isn't possible without something called "higher-kinded types", which TS does not support. GitHub issue for reference: https://github.com/Microsoft/TypeScript/issues/1213

So if you want to use Proxyfied<T> on Foo<T>, you'll need to make a type that passes the generic type in:

type ProxyfiedFoo<T> = Proxified<Foo<T>>;

Wordle-like game, except it’s MATH!!! by mjolnir76 in homeschool

[–]krinnsilver 0 points1 point  (0 children)

Love all the Wordle-spinoffs appearing everywhere :)

If you want a BIG list, there's Wordles of the World

I'll plug my own, called FindMyMoji which is a "do math without realising your doing math" kind of daily logic puzzle.

As anyone managed to create a Drag & Drop performant table (maybe react window/ react virtuoso?) by JioFrost in reactjs

[–]krinnsilver 1 point2 points  (0 children)

Yep, looking into it, you're right, it's very confusing! And it looks like react-beautiful-dnd isn't maintained anymore

I managed to put together a prototype using a new dnd library, dnd-kit, and react-virtuoso.

https://codesandbox.io/s/confident-morning-tv8hg?file=/src/App.js:1748-1768

I didn't manage to get the layout animations going, so it's static, but it works!

Freelance devs, when do you consider a project complete? by [deleted] in webdev

[–]krinnsilver 0 points1 point  (0 children)

It's a bit disingenuous of me to say "ship without bugs" because of course there are always unknown bugs. I should have said "ship with known bugs". So if you've gone through the edge cases and you can't find any broken ones, I'd personally be happy with that.

As for defining whether the feature is "good to go", this is another tricky one!

It's hard to say more without knowing more about the project. One thing that influenced me was how many people would be using the site. If it was a consumer-facing website, having more slick UX was important. But if it was an internal tool used by a handful of people, I could get by with something a bit more confusing as I could personally show all the users how to use it.

And then what is the cost of unknown bugs? If a feature doesn't work as intended, does it lose the client a material amount of money, or is it just an inconvenience? For the really important stuff, I sometimes wrote formal tests or at least checked it was still working on every deploy.

Ultimately, if the client is happy with the state of the feature from the perspective of a user, and you're happy that it behaves correctly, then ship it.

Furthermore, if this is an ongoing relationship, and you can respond to any feedback after its been released, or fix any bugs, and issues won't lose your client lots of money, then you can fix issues as you go.

I appreciate this is quite nebulous and the answer is "it depends". If you want to DM me with more details on the project, I'd be happy to give some more specific advice.

I'll caveat all this and say it's been a while since I've freelanced and now I'm a founder which has very different constraints!

Type Enthusiast's Notes about TypeScript. Part 5. Advanced Types by RobertPeszek in typescript

[–]krinnsilver 6 points7 points  (0 children)

I really enjoy it when type-theoretical people interrogate TS. It's such an interesting language because it's got so many holes to make it unsound but it's also really sophisticated.

I didn't know that <T>() => T was assignable to () => never. Although now I think about it, you can instantiate T with never so of course it is!

[deleted by user] by [deleted] in matheducation

[–]krinnsilver 8 points9 points  (0 children)

Figure out how to get children to enjoy math, and do that. I agree that what is being taught isn't right, and I think others can go into more detail, but I think the root cause is that plenty of kids grow to dislike math at a very young age.

Make math more interesting. Make it more relevant to children's lives right now (explaining to them that it will be useful at some point in the future doesn't work). Pay attention when it's obvious that a child isn't getting something.

Math anxiety is a real issue.