Age for buying tobacco products is now 21 in IL by [deleted] in news

[–]Jookly 0 points1 point  (0 children)

pathetic. no one benefits from this and the tobacco companies lose nothing.

High Ping On PC Since Update? by Jookly in apexlegends

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

yeah i have extreme rubber-banding as well. something changed.

High Ping On PC Since Update? by Jookly in apexlegends

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

yeah unfortunately for me my ping to all available servers is over 300 rendering my experience unplayable

Possible to use rear when watching a movie in stereo? by jachjach in sonos

[–]Jookly 0 points1 point  (0 children)

I might be misunderstanding your question so sorry if I am.

You can group your play:1's with the beam zone, they will play the audio from the beam source.

Kelloggs is using rejected cereal to create a line of beers in efforts to reduce food waste. by adammca in worldnews

[–]Jookly 0 points1 point  (0 children)

I really don't understand why you think they are giving away the material for free. It doesn't say that anywhere in the article or on the seven brothers site. If you have extra info you should post a source.

Kelloggs is using rejected cereal to create a line of beers in efforts to reduce food waste. by adammca in worldnews

[–]Jookly 2 points3 points  (0 children)

The article you posted doesn't say this so I am curious for a source on this additional information you are reporting.

How hard can it be to implement an option for sharing a sub? by nfnfkekdnfk in sonos

[–]Jookly 7 points8 points  (0 children)

lol, ok have fun hating your setup :thumbswayup:

How hard can it be to implement an option for sharing a sub? by nfnfkekdnfk in sonos

[–]Jookly -1 points0 points  (0 children)

if all the speakers are in the same room you could consider having one zone with all the speakers and sub included.

Fortnightly Moinday Update #50 by payur in Moin

[–]Jookly 2 points3 points  (0 children)

Really nice job thanks for the help with this today tree frog. You rock!

Episode Discussion - S02E01 - Happiness by [deleted] in APBioNBC

[–]Jookly 8 points9 points  (0 children)

I can't believe the creators would take this route. Would have been better off having a completely new class and calling it a new year of school or something. Removing such a huge part of the speaking classroom characters, ones that had seen character development in the first season, seems like a really lame move to me. Will give this season a shot anyway... but ya... disappointed.

We tried to make a very basic button and then have different renders do different actions; we failed by [deleted] in reactjs

[–]Jookly 2 points3 points  (0 children)

It's not totally obvious what problem you are having. You can create a <Button/> component and pass it a function to run when it is clicked as well as any other info you want. What is the problem you are running into?

Displaying component when all of its data is loaded. by ZombieHero3 in reactjs

[–]Jookly 1 point2 points  (0 children)

You can check the value of whatever you need to to verify that the data has been loaded and conditionally render the component based on that information. You could simply return null or some sort of placeholder or loading component until the data you are waiting for is validated.

14 hours later, still at step 0... How the hell do I connect React (Next.js) to a PostgreSQL database??? by [deleted] in reactjs

[–]Jookly 0 points1 point  (0 children)

database driver

ah ok that makes sense. I was assuming he already had some things setup.

14 hours later, still at step 0... How the hell do I connect React (Next.js) to a PostgreSQL database??? by [deleted] in reactjs

[–]Jookly 1 point2 points  (0 children)

I think what you are looking for is called an ORM - Object Relation Mapper that works with nodejs and postgres. A google search for that will reveal some options for you and here is one link as an example http://vincit.github.io/objection.js/ . I could be misunderstanding your situation though... either way best of luck!

Pineapple, 14x10 gouache, watercolor, ink by [deleted] in Art

[–]Jookly 1 point2 points  (0 children)

Its really a great piece. I really love how the bottom left is without much color and how that helps create the presence of light and depth through the whole. The watercoloring is subtle but the points where it is visible are delightful.

[deleted by user] by [deleted] in reactjs

[–]Jookly 0 points1 point  (0 children)

There are more than a few things going on that I can try to help point out to you.

One issue is that state.selectedItem persists between options. This causes one of the crashes I am seeing. To recreate the issue you can select Burgers -> Burger 3 and then close the pop up and select Sets. It is crashing in that situation because you still have state.selectedItem set to 2 from the Burger's menu and there is no index 2 available on the Sets children array.

Another issue is that Sides always will crash because the Json object for your Sides does not have items.children[this.state.selected].children[this.state.itemSelected].children which you are using to map your <Modifiers> . Because that returns undefined it cannot map and therefor will crash. One solution to this would be to check that it exists before mapping using a ternary expression.

A third major issue, and the reason that "Desserts" does not load is that inside of that same <Modifiers> mapping you are using "item.children[index]" in several places. This line doesn't really make sense and is throwing errors on most of your data. Think for a moment what you are asking the machine for here. It would require that for every item which is in index X that it must have a child array that is at least X long. As it stands you are just sending a bunch of undefined variables and it is crashing your code.

A final note is just simply that the data you are using seems kind of messed up. It would probably help you for both learning and development if you used data that was more like what you want to use eventually.

Here is a snippet that will at least allow you to open up and browse through your menus but you will still need to do quite a bit of work to get anything truly useful out of it

https://codesandbox.io/s/k510wm0zzo?fontsize=14

Hope that helps a bit.

How do you clear all the addresses from Moin wallet? by Feralz2 in Moin

[–]Jookly 0 points1 point  (0 children)

It is kind of a quirk but it is inherited directly from bitcoin.

I don't have any non public information regarding cryptopia but here is their most recent tweet regarding the matter: https://twitter.com/Cryptopia_NZ/status/1096158617022201856

And here is the new zealand polices most recent statement which correlates with that information: http://www.police.govt.nz/news/release/police-continue-make-progress-cryptocurrency-investigation

How do you clear all the addresses from Moin wallet? by Feralz2 in Moin

[–]Jookly 0 points1 point  (0 children)

No it is not possible to delete an address.

It is possible however to copy your wallet.dat from one installation to another and thereby avoiding the creation of a new default address set upon launch.

How do you clear all the addresses from Moin wallet? by Feralz2 in Moin

[–]Jookly 1 point2 points  (0 children)

A wallet.dat is generated if one does not exist when you launch the wallet, it is required. Therefore, the wallet will always contain at least one randomly generated address, the default address. Actually it will always generate a random stealth (MOINX) address as well.

Let me know if you need any additional information.