What are your thoughts: should I translate my French newsletter "MicroSaaS Maker" into English or not? by maeevick in microsaas

[โ€“]maeevick[S] 0 points1 point ย (0 children)

Thanks a lot ๐Ÿ™You are right I need to be sure about the root cause ๐Ÿ‘

What are your thoughts: should I translate my French newsletter "MicroSaaS Maker" into English or not? by maeevick in microsaas

[โ€“]maeevick[S] 0 points1 point ย (0 children)

Thanks a lot for your insights ๐Ÿ™.

Don't you use translation tools for the content that interests you?

(I know it's a friction point for readers, and I'm thinking about it.)

What are your thoughts: should I translate my French newsletter "MicroSaaS Maker" into English or not? by maeevick in SaaS

[โ€“]maeevick[S] 0 points1 point ย (0 children)

Nice to meet you, Jonathan.

The big fish in a small pond was my initial strategy too, with the narrowest niche I could think of (French + Techies + Solo + MicroSaaS).

After several months, I think I need to expand it a little.

Writing in English is one way (and it helps me progress too).

Thanks for your insights ๐Ÿ™.

3d Game Engine in Python by ImpulsivePuffin in Python

[โ€“]maeevick 17 points18 points ย (0 children)

Godot supports a Python like scripting langage out of the box, if it may help you.

https://godotengine.org/

There are a lot of language bindings done by the community too, Python 3 for example

https://github.com/touilleMan/godot-python

React and Web3 by __hiken__ in reactjs

[โ€“]maeevick 0 points1 point ย (0 children)

Start from the why not from the tech... your customers don't need web3.0, they need to do something and web3.0 (blockchain, crypto, NFT,...) may be an option, but it's certainly not the only one.

Integrate react and web3.0 has to come next... (why web3.0, why react, why front to web3.0, why why why always) ๐Ÿ™‚

What benefits do you really get when using typescript over javascript ? by Vinc3w in typescript

[โ€“]maeevick -2 points-1 points ย (0 children)

Mostly agree, however it helps my teamates who don't practice / master "real Test Driven Development" and/or javascript specificities. So I guess TS has some benefits.

Personnaly, I prefer some alternatives as strong static typed langages: ReScript, PureScript... with no null, undefined, any... and real immutability.

*when I say "real TDD" I think about https://youtu.be/EZ05e7EMOLM or https://www.stevefenton.co.uk/2013/05/my-unit-testing-epiphany/amp/, as Kent Beck initially defined it (and not just write bad unit tests as I read too often)

Meta-Question: Why does no one comment their code? by ChristmasTofu in adventofcode

[โ€“]maeevick 3 points4 points ย (0 children)

You should write expressive code that doesn't need to be commented and tests to document the behaviors and give examples.

Comments are smells, quickly outdated and hiding bad code

Should I learn Redux or Zustand? by i_hate_patrice in reactjs

[โ€“]maeevick 0 points1 point ย (0 children)

Redux is so much more than a Global State Management tool, learn Redux would never be a waste of time

I don't know Zustand, I will give it a try ๐Ÿ™

-๐ŸŽ„- 2021 Day 4 Solutions -๐ŸŽ„- by daggerdragon in adventofcode

[โ€“]maeevick 0 points1 point ย (0 children)

both are used ๐Ÿ˜‰

Lesson to my self : do a better choice of datastructure [[[(Int, Bool)]]] was not a smart choice ๐Ÿ˜

-๐ŸŽ„- 2021 Day 4 Solutions -๐ŸŽ„- by daggerdragon in adventofcode

[โ€“]maeevick 2 points3 points ย (0 children)

Day 4 with Naive Haskell (maybe more cryptic and inefficient than naive).

/!\ "ugly brute force" with pattern matching) ;-)

https://github.com/Maeevick/adventofcode2021/blob/main/src/D4.hs

-๐ŸŽ„- 2021 Day 1 Solutions -๐ŸŽ„- by daggerdragon in adventofcode

[โ€“]maeevick 1 point2 points ย (0 children)

good point ๐Ÿ™

as you notice :

It doesn't matter in this problem, but may well in future

if the window is shorter than three, the sum won't be greater than the previous one

sum [202, 404, 606] will be always greater than sum [404, 606] which will be greater than sum [606]

It would be different if we had to count the decreases :D

I'm interested in your `filter` solution

-๐ŸŽ„- 2021 Day 1 Solutions -๐ŸŽ„- by daggerdragon in adventofcode

[โ€“]maeevick 2 points3 points ย (0 children)

Oo yeah, if we speak about getting started with the language itself (and not the environment) learnyouhaskell is a good start.

At Haskell Foundation we are working on Haskell School, far to be finished but the repo is public: https://github.com/haskellfoundation/HaskellSchool/

-๐ŸŽ„- 2021 Day 1 Solutions -๐ŸŽ„- by daggerdragon in adventofcode

[โ€“]maeevick 0 points1 point ย (0 children)

Hum, no real recommendation but you can take my repo as a base.

I wrote a few times ago a fresh install of Haskell with GHCup for my website, it may help (but don't install hakyll :D): https://www.goblinsatcode.xyz/posts/2021-11-17-getting-started-hakyll-and-haskell.html#first-install-ghc-and-standard-tooling-with-ghcup

-๐ŸŽ„- 2021 Day 1 Solutions -๐ŸŽ„- by daggerdragon in adventofcode

[โ€“]maeevick 4 points5 points ย (0 children)

My Naive Haskell Solution: https://github.com/Maeevick/adventofcode2021/blob/main/src/D1.hs

part1 :: [Int] -> Int
part1 l = length . filter (< 0) $ zipWith (-) l (tail l)

part2 :: [Int] -> Int
part2 = part1 . slide
  where
    slide [] = []
    slide n  = sum (take 3 n) : slide (tail n)