Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 17 09:32
    User @bjorno43 unbanned @linkin-park
  • Jun 20 21:19
    @bjorno43 banned @shenerd140
  • Apr 25 17:13
    @mstellaluna banned @cmal
  • Jan 08 22:05
    @mstellaluna banned @dertiuss323
  • Nov 07 2018 04:42
    User @texas2010 unbanned @ows-ali
  • Nov 02 2018 16:25
    @texas2010 banned @ows-ali
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:12
    User @bjorno43 unbanned @androuino
  • Sep 05 2018 07:38
    @bjorno43 banned @androuino
  • Aug 23 2018 16:57
    User @bjorno43 unbanned @rahuldkjain
  • Aug 23 2018 16:23
    @bjorno43 banned @rahuldkjain
  • Jul 29 2018 14:13
    User @bjorno43 unbanned @jkyereh
  • Jul 29 2018 01:00
    @bjorno43 banned @jkyereh
  • Jul 10 2018 22:09
    @bjorno43 banned @manafn
  • Jul 06 2018 15:20
    @texas2010 banned @imlegend19
  • Jul 03 2018 12:28
    @bjorno43 banned @vbvmatta
  • Jun 29 2018 13:54
    @bjorno43 banned @OGTechnoBoy
Stephen
@stephepush
my computer has 20gigs of ram
lmao
Brad
@bradtaniguchi
Jesus, if thats the case why care about RAM if it means missing out on modern tools?
I could recommend webstorm, which is probably the best web editor out there (not free), but thats the heaviest option
abraham anak agung
@padunk
@stephepush I use babel for sublime. But with 20gigs of ram, go for VSCode please :smile:
Brad
@bradtaniguchi
thats like getting a V8 and being worried about fuel economy haha
Stephen
@stephepush
I'm kinda that kind of person, so yeah
Hyundai Genesis is a nice car, has a v8, but it also weighs nearly 5000 pounds... meh
Brad
@bradtaniguchi
This sorta analogy only goes so far :wink: but yea, 20gb of ram, I'd abuse it otherwise you aren't getting your monies worth haha
I abuse 16gb of ram by running Chrome and Firefox and Firefox quantum at the same time, just cuse I can X'D
Stephen
@stephepush
yeah i always have lots of browser tabs open
so 20gb isn't much
I'm working on a gatsby project and all of the tabs I have open in VSCode has it run up to 2gb
I've tried Sublime and it's like 300mb
Soooooo much overhead from what seems to be electron :(
But anyways, I'm just sorta a weirdo dont mind me
Brad
@bradtaniguchi
I mean that's 1/10th of the ram you have so 10%... thats like almost idle >...>
prashantdabral
@prashantdabral
canone tell if it is correct or not https://codepen.io/prashantdab/pen/PoYXPZp?editors=1100
Corey Lewis
@cursiv3
@prashantdabral on the front end "correct" is in the eye of the ui/ux designers haha that page does what you built it to do so I'd say it is correct, next maybe dig into design and layout a bit (but those are more art-related areas)
siliconchild
@siliconchild
Can I get some help with my react code
Brad
@bradtaniguchi
@siliconchild Ask your quesion and someone will help you if they can
siliconchild
@siliconchild
could you tell me if there is something wrong with this selector, I get weird bugs after writing this selector

export const selectShopOverviewCollections = createSelector(
    [selectShopCollections],
    collections => Object.keys(collections)
                  .map(key=>collections[key])
                  .map(collection => ({...collection,items: collection.items.splice(0,4)})) 
)
siliconchild
@siliconchild
update: using Array.slice instead of Array.splice seems to fix the issue
Brad
@bradtaniguchi
Is this ngrx?
or redux?
and yes, slice is non mutating, splice is mutating
siliconchild
@siliconchild
redux with reslect library
Kaz Baig
@kbaig

react code

hue

alpox
@alpox
:D
siliconchild
@siliconchild
can someone guide me on how to nest routes inside a page in react
i have done my routing inside index.js
is it possible to nest some routing inside the /shop page
Kaz Baig
@kbaig
@siliconchild the way in react-router 4 was to have it the way you do:
<Route exact path='/shop' component={CollectionsOverview} />
<Route path='/shop/:collectionId' component={CollectionPage} />
<Route exact path='/shop/some/other/route' component={Component} />
I think that's changed in react-router 5 though
siliconchild
@siliconchild
so you write all your routes in index.js?
i saw a tutorial where they did it inside the /shop page, so i was confused
Kaz Baig
@kbaig
ah no I don't think it changed
so you'd do it like above
siliconchild
@siliconchild
@kbaig alright thanks man
Kaz Baig
@kbaig
np
lwears
@lwears
looking for some feedback on my code if anyone has time
Brad
@bradtaniguchi
@lwears Quick feedback on the app itself
  1. I'd update the description "How alphanumeric would you like the passphrase?
    " to something like "How many alphanumeric characters would you like in the passphrase?"
I'd also format your code and clean up all the extra comments aswell :)
lwears
@lwears
Improved some bits, any more feedback is welcome :-)
BuoRotti
@BuoRotti
Hello any one, would you kindly assist me wit this links to find out whether on your browser can be open/ if you put in on mock-up website it can be visible? Many thank before hand:
< img url("https://github.com/BuoRotti/tribute-image-/blob/master/Harry_Nilson.jpeg?raw=true");/>.
Shvetal
@verv0eren
hello guys! When we use percentage for say width in @media query. That percentage is with respect to what?
with respect to parent element as before or with respect to original size (before applying media query)?
Johnny
@JohnnyBizzel
@verv0eren 100% width of the viewport. I think so anyway.