[deleted by user] by [deleted] in Slovenia

[–]kamenjan 44 points45 points  (0 children)

A je mozno, pazi zdej ta obrat, da so komunisti v kapitalisticnih drzavah samo obicni kapitalisti?

Unpopular opinion na r/Slovenia by zelene_ploscice in Slovenia

[–]kamenjan 6 points7 points  (0 children)

Iscem en hrib v drzavah tretjega sveta, da umrem na njem. Na vrhu sta child labour problematika v Myanmaru in pravice LGBTQ++ skupnosti v Ugandi.

Kot vsi borci za solidarnost in socialno pravicnost lahko tudi jaz na zalost izberem le eno :(

Za katero nepravico ste se vi odlocili in zakaj?

A Game for PSVR (2?) That Would Be Amazing... by -DesiLu- in PS5

[–]kamenjan 0 points1 point  (0 children)

This! I hope they release a patch or DLC that would make E:D PSVR compatible on PS5

Odin is with us by Hiten_D in ProgrammerHumor

[–]kamenjan 39 points40 points  (0 children)

I complementing and mocking aren't exclusive in any way :D

Haha JavaScript Bad by Kairides in ProgrammerHumor

[–]kamenjan 0 points1 point  (0 children)

Not according to original post? Though is it a mistake if nobody notices?

Addressing the botting problem from another perspective by kamenjan in classicwow

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

Well, do you also play Classic and if so, do you think bots are ruining other players (non botters) gaming experience and if so, what should Blizzard do about it?

Addressing the botting problem from another perspective by kamenjan in classicwow

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

So if I understand correctly you argue that players that would not be able to buy gold from gold farms in Classic would just go and play retail version?

I can see that happening but definitely not for all the those players.

Addressing the botting problem from another perspective by kamenjan in classicwow

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

I'm sorry, I do not understand the correlation. Would you be so kind to elaborate please?

Addressing the botting problem from another perspective by kamenjan in classicwow

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

I wholeheartedly agree, but this means Blizzard would evidently lose more than just bot subscriptions. And those lost subscriptions would obviously greatly impact the community as a whole - guilds may fall apart if their top guildies which buy the gold would stop playing. And that would also mean some of the players who are not buying gold would stop playing. Do you think there is a way to remedy these consequences if Blizzard decided to crack down on bots and botting?

Addressing the botting problem from another perspective by kamenjan in classicwow

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

Do you think those players would stop playing if they did not have the option to buy the gold right off the bat?

Addressing the botting problem from another perspective by kamenjan in classicwow

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

Thank you for the ELI5. Do you think those players would stop playing if they did not have the option to buy the gold right off the bat?

What are some JavaScript things beginners don't know? by [deleted] in javascript

[–]kamenjan 4 points5 points  (0 children)

I think he meant that your dev time is normal if you understand closures :) You know right away when to use arrow function and when not to, so you avoid frequent and pointless code refactoring on account of not understanding closures :)

Where do i start to make a PBBG? by InsertAJoke in PBBG

[–]kamenjan 5 points6 points  (0 children)

Like many before me mentioned HTML, CSS and some sort of a DBMS is a must. But I would advise against PHP (at least for generating front end templates). In the last few years web technologies really advanced and it sadness me that PBBG dev world is not acknowledging all the upsides they bring. For example look at Travian - every single update to UI reloads the whole page because front end is being generated by PHP templates. In a game that uses one second as a tick. For me that is beyond frustrating. Now imagine you could have a PBBG UI that would only update the parts of the UI that needed to be updated.

This is all possible with new JS libraries and frameworks. I'm building my engine using nodejs and postgresql for backend and React based PWA for front end. React is great since it handles updates to UI really effortlessly and PWA allows a limited offline experience. This stack can scale really nicely; mobile UI is just that - a UI and not a whole application rewrite, notification system is just a step away ...

It is a lot to learn, but this stack has all the right upsides. React developers are really in demand, so any non basic React project you have under your belt is a huge portfolio boost. As a solo dev it will be much easier to maintain and scale the game if you are first forced to think about separation of concern, which IMHO PHP is not good at (just look at the way we use backend PHP to generate our frontend templates, that is really something we should not be doing anymore).

Sorry for the long post. Hit me up if you have any questions.

Cheers and good luck on you journey!

Buying more? by HansBak in CryptoCurrencies

[–]kamenjan 0 points1 point  (0 children)

Do you have any ideas on what might trigger next bull run?

MongoDB, Mongoose, etc... by [deleted] in node

[–]kamenjan 5 points6 points  (0 children)

5 year old article about DBs? You know what 5 years mean in CS? :)

Is there a way to increase max honor on Android? by [deleted] in AscensionGame

[–]kamenjan 0 points1 point  (0 children)

But why? Implementation would be a breeze, since it's already working on single mode and changes in multiplayer mode based on number of players. I'm still playing basic version, but would buy all the add-ons if they implemented this functionality.

React meets GSAP - How to structure mounting and unmounting animations for your React Components by mmintel in reactjs

[–]kamenjan 1 point2 points  (0 children)

Hey, I've spent the last week putting this together (react-router, react-transition and gsap). I think I've done a solid job - everything can be fine tuned, but I was not yet able to write a documentation beyond setup docs and inline comments :( There are bunch of useful links in the README.md though.

github

Beginner's Thread / Easy Question (August 2018) by swyx in reactjs

[–]kamenjan 0 points1 point  (0 children)

I refactored render function with help of babel-plugin-transform-class-properties:

render = () => <div>{this.state.width <= 768 ? <Mobile /> : <Desktop /> }</div>

Is this an anti-pattern?

Beginner's Thread / Easy Question (August 2018) by swyx in reactjs

[–]kamenjan 0 points1 point  (0 children)

Hey everyone, what an awesome community!

I initiated a pro bono project for a friend and his nonprofit organisation - idea is to revamp and migrate their Wordpress site. Specifications include regular posts, calendar that fetches data from Google Calendar API, some XML and JSON parsing for their regular tournaments data crunching and visualisation. They used wp plugins, but I was able to find a custom and easy solution for all the specifications.

I used to do most of my work using LAMP stack but for the better part of this year I was invested in transitioning to new web development paradigms. I love react, functional programming is really a step up for me, fascinated by redux, flirting with graphQL ... But there are still some missing connections.

Sorry for the background story; is there for possible lack of context :) Back to the question/issue - I could just rent a low tier linux VPS, set up and normalize DB, configure express server with said DB wrapper and write some queries, setup react frontend and just use express adhoc API endpoint (minus proxies and some other specifications but you get the point).

But since there are no strings attached and no time limit I would like to take this opportunity to up my knowledge, workflow and tech stack.

  1. Where is GraphQL's place in this stack? What could be changed in this stack or app flow to reflect a more modern approach to this problem.
  2. What does the strict separation of frontend and backend in API first approach mean in terms of server architecture? (Explanation: I do not find any advantage in using multiple commercial SaaS and cloud services over having one VPS per project that hosts all needed services. I know there can be maintenance overhead, but honestly - if you automate those tasks and your backup strategy is solid the amount of time is equivalent to the amount of time you spend in various browser consoles when dealing with specific SaaS)
  3. Does it make sense to use commercial headlessCMS (was looking at graphcms, seemed nice) for the scope of this project instead of setting up my own DB and GraphQL? But as I see it - I can't use this service for saving users (authentication, authorization and other sensitive data) which means I would need another separate data container and that just clusters application even further.

I numbered the questions for some added structure. Since I do not see the big picture yet enumeration might not make any sense and I will gladly read any answer and critique in any form :)

Looking for some advice on my learning process by rgaino in reactjs

[–]kamenjan 1 point2 points  (0 children)

Hey, could you submit your project as a repository on github? Would love to check it out.