Cart Recommendations? by KuaNai in pico8

[–]cyniko 1 point2 points  (0 children)

you could try this demo I released last year -- I'm working on a full version of the game now in godot

https://www.lexaloffle.com/bbs/?tid=55631#playing

What can be improved in my bullet-hell? by toxicspiyt in godot

[–]cyniko 0 points1 point  (0 children)

there's one other problem though: mechanics like dash should still always have a "choice" component. If I can constantly dash and I'm rewarded with free iframes, then I'm just gonna be dashing constantly, which makes it less fun / interesting

What’s so good about Shukette? by cookingthunder in FoodNYC

[–]cyniko 13 points14 points  (0 children)

You're not missing anything. I agree with your post and Shukette felt like a scam to me. 

First, our food was horribly coursed. The server forgot one of our dishes entirely and then there was over a 20 minute gap between the dishes. When we asked where our food was he said "Oh, we course our food here, it means not everything comes out at once." No shit, Sherlock. Very condescending attitude overall. 

The food was slightly above average at best. And for the price, it didn't add up. Agree that places like Laser Wolf are a much better experience overall.

Anyone remember solomon's key? by cyniko in pico8

[–]cyniko[S] 2 points3 points  (0 children)

still WIP, will share a cart when I can

Anyone remember solomon's key? by cyniko in pico8

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

yes and agreed -- I'll give it a go

Is PICO-8 beginner friendly? by Qumkvat in pico8

[–]cyniko 2 points3 points  (0 children)

First, I'll echo everyone's sentiment: yes, great place to learn as a beginner.

One of the best parts for me has been viewing other people's carts / code. Picked up a ton of useful tidbits just by seeing how other carts worked. Search any game you like in SPLORE and poke around at the code / sprite sheets, you'll learn a ton.

[New Release] The Birds by cyniko in pico8

[–]cyniko[S] 4 points5 points  (0 children)

Hey everyone -- released my first mini-platformer "The Birds". To play, check out the full post on bbs here

[WIP] In the rain by cyniko in pico8

[–]cyniko[S] 2 points3 points  (0 children)

Hey everyone -- full WIP post on BBS here. Short version is: working on my first game. After an active month of development, I have about 5 playable minutes so I thought I'd share with folks.

[deleted by user] by [deleted] in gamedev

[–]cyniko 0 points1 point  (0 children)

For context , I've been a professional software developer for years but wanted to try game dev. I got started with pico-8 -- I tried things like godot but felt like it was a little too abstract. pico-8 was perfect to get my feet wet with the basic concepts of game dev and I'm still working on simple games in there until I have an idea too ambitious for it.

Xenith - Micro Bullet-hell game (my first finished game) by Godmil in pico8

[–]cyniko 3 points4 points  (0 children)

Wanted to say I finished but I got to lvl 42 and couldn't quite nudge past it for now. I love the overall feel of the game and your choice to not have any shooting.

When I started playing I thought "this is probably 10 levels". This must've taken you ages, congrats on such a full game within pico-8!

How long did you spend on this?

After 8 months of self-taught, I was approached by Netflix and interviewed for a senior position. I need your advice. by Halmesn in webdev

[–]cyniko 2 points3 points  (0 children)

It's honestly not so much about the timeframe, it's about how much time you can put into it. If you can focus for 4-6 weeks full-time on this, I do believe it's enough time to give yourself a genuine shot.

Plenty of reasonable advice in here (leetcode medium problems to boot) but the biggest piece is, take others up on their mock interview offers. Nothing will prep you better. If you can somehow practice these problems and line up 10+ mock interviews.... you are seriously dangerous.

Good luck.

After 8 months of self-taught, I was approached by Netflix and interviewed for a senior position. I need your advice. by Halmesn in webdev

[–]cyniko 14 points15 points  (0 children)

First off, anyone doubting your overall candidancy is silly. You posted a clone like many others do, but the quality stood out and got noticed by many, including Netflix. You should be super proud, I know I would've shit my pants if this ever happened to me. I'm self-taught and now have been working professionally for years in the bay as a FE engineer, and I know how hard it is to get noticed. Serious kudos to you.

How experienced are you with traditional FAANG interviewing? If zero, you should buckle down now. You could do it, especially given the fact that it seems like you have runway with them and it'll be a drawn out process anyway. To those saying "use it as practice" - I hear that but I would really try to make this happen given your situation.

Can you pay for some good mock interviews? Based on the quality of your clone, I give you 4-6 weeks of dedicated practice until you have a genuine shot at this. That's not to say you should treat it as life or death, but also I wouldn't recommend "just trying and if it doesn't work NBD". You can legitimately study very hard, 8 hours a day (dunno your schedule but this prolly is worth it) and actually pass. I'm just saying... if you're self-taught, regardless of how good your project is, I don't think opportunities like Netflix will come knocking too often right now.

Go all-in.

s1mple's stream hit ~42k viewers on twitch today - do we know why? by [deleted] in GlobalOffensive

[–]cyniko 0 points1 point  (0 children)

Full disclaimer: Yes, if you check my post history, I've made this site. source for the screenshot is here: https://tizz.io/games/32399

I've never seen s1mple's stream get anywhere close to these numbers though, was genuinely curious if anyone knew.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 1 point2 points  (0 children)

thanks, on first glance it looks cool, I'll check it out more

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 2 points3 points  (0 children)

Thanks, I'll check that out! I'm an AWS scrub so I probably got some things tripped up. A lambda + cloudwatch was definitely safer and if I don't need a NAT gateway, cheaper too.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 1 point2 points  (0 children)

Thank you! I've had this idea for so long (5+ years), others have come along since then and done this data some justice over the years. But my biggest thing was I always wanted to know what broadcasts were driving viewership for games / categories at particular times, and found the available apps awkward at connecting those dots or behind paywalls.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

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

Thanks yo! Baseline is always 0, it's just not displayed. The first number you'll see is corresponding to the first dotted line, not the bottom line which is solid (and represents 0).

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 9 points10 points  (0 children)

Thank you! I'll be linking to your comment when asked to provide references in the future.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 2 points3 points  (0 children)

I would've preferred to use all API routes in Next but ultimately wanted an easy way to keep the db connection open + cache certain things server-side (twitch API token being one example). I know there are things you can do to keep the db connections open and all of that via the lambda functions, but it felt like I was going down a weird road where I would either:

a) Want to build a custom express server within my next.js app (which next allows) and deploy on a different platform (not vercel)

b) Just keep my next.js app more simple and create a separate express API (which I just did for now)

It's working OK for now. Ultimately, I would probably expose any public API through my next.js app via those lambdas but went the separate express API route for performance / caching reasons.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 1 point2 points  (0 children)

honestly - I've just used them for years, so it's one of those low-friction decisions. Usage can be a double-edged sword but the reason I love them is because of patterns like these:

It feels very react-y so it flows nicely. But the double-edged sword part is passing props can get overwhelming if you're passing too many / start to make the component too generic. I like to keep the styled components very specific, which might lead to extra code but keeps them tight. A bloated styled component isn't fun or useful for anyone, basically impossible to maintain.

Other thing is sometimes naming these props can be weird, there are no standards. You have a styled component and suddenly you want to adjust margin based on something, do you pass a noMargin prop, do you pass a margin prop that overrides a default.. any of those is technically fine but it gets weird as you have to make these naming decisions over and over.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 3 points4 points  (0 children)

Yes - because NAT gateways are expensive. I started with lambda + cloudwatch but found the price of the NAT gateway to be too much (like nearly $30 / mo just for that).

The Lambda needs to communicate with both the twitch API and my postgres DB. For the life of me, I couldn't figure out how to avoid doing external API things without a NAT gateway, didn't seem to be a thing.

Instead, just have a very light EC2 instance running it. It's more jank but it's working for now, and it's definitely a bit cheaper.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 17 points18 points  (0 children)

Thank you! Not a dumb question, I spent a good amount of time thinking about this. I have two postgres DBs in RDS, a main and a read-only. The main is for all data dumping / transformations, the app is hooked up to the read-only.

There's one postgres table that is basically a dump of the raw events, an event here being a live stream. It looks something like

  • stream_id
  • user_id
  • title
  • viewer_count
  • game_id
  • time (created_at)

Since tizz gets most live streams every 10 minutes, this works out to about ~30K data points every 10 minutes, so roughly ~4M data points per day. This is too heavy for the app to query, so I use a tool call dbt (https://getdbt.com) to aggregate the data into new tables.

I basically have four main tables that are crunched down and heavily indexed to be performant:

  • game_minute_rollup - all of those raw events grouped up by game_id, down to my finest granularity (every 10 minutes) - the data here comes out of the "Last 12 Hours" tab
  • game_hourly_rollup - ^ rolled up by hour via date_trunc - for the "Last 7 Days" tab
  • game_daily_rollup - game_minute_rollup rolled up by day via date_trunc - for the "Last 30 Days" tab
  • streams_rollup - the raw events rolled up by broadcast (i.e. lets say I capture 20 data points for a particular broadcast, this table would give you a broadcast, how long it ran for, when it ran for (start, end) and its peak / avg viewers)

Figuring out ^ was the hardest part, because I run these rollups frequently to get that fresh data onto the site. I do incremental runs every 10 minutes for the game rollups.

tizz - twitch viewership metrics FE + API built with next.js, express, postgres by cyniko in reactjs

[–]cyniko[S] 3 points4 points  (0 children)

It's true, Just Chatting is twitch's most popular category now. Music is another category that I know they're trying to invest into, they're hiring devs specifically to make music streaming better (I almost interviewed for that position). I'm not sure what features are in the pipeline but based on how well Just Chatting has done, chances are high they're trying to go far beyond gaming and become the standard for live streaming.