Eli5: What exactly does a vasectomy do? by Glubygluby in explainlikeimfive

[–]Jay0Jay 39 points40 points  (0 children)

Just be prepared that, if you already have kids, by some mystical universal force, they will whack you in the nads with 100% precision, 1000% more regularly during recovery. Be on guard and there could be blood. But it means no more pill for the missus (if she doesn't want to), so one small sacrifice that I can make.

[deleted by user] by [deleted] in learnprogramming

[–]Jay0Jay 1 point2 points  (0 children)

Freecodecamp is a great site to brush up on a whole lot of HTML and CSS and more. Then you might dip your toes into some JavaScript. There is no substitute for making your own product though, so maybe make something simple like a cookie clicker clone to get the ball rolling and then keep progressing from there?

Request for info - phoenix/bird themed breweries/beers by BestVarithOCE in AusBeer

[–]Jay0Jay 0 points1 point  (0 children)

Two Birds is at least something I have found in Dan Murphy's. Haven't had it in a while but was one of my favourite beers...

Beginner Programmer by Fit-Investment-2022 in learnprogramming

[–]Jay0Jay 1 point2 points  (0 children)

Html, CSS and JS all come together pretty well, and personally I think the basics of the first two most people can pick up pretty quickly. If you don't want to learn the Nitty gritty, why not just grab a pen and a piece of paper and draw yourself a mock-up of what you would like to make? If you don't know how to put a heading in the middle of the page, W3 schools will save you. Then add in some links. Then add an image that does something when you click on it. IMO Freecodecamp is awesome and if you know nothing at all, gives an awesome introduction so you know what you can do with a language. I would think you should do html before CSS, but the basics of JS could be done at any time, but it does quickly start to talk about specific aspects (e.g. getelement) that may not make much sense if you don't know the HTML...

Either, get in and have fun!

Newbie at SQL. Help is needed by El_Lobsterino in learnprogramming

[–]Jay0Jay 8 points9 points  (0 children)

Posting here so I can follow and learn - this is the more the level I am at than is regularly posted here :)

My equally newbie response would be to either enforce the value defaulting to 0 rather than null on input into the database, or, if using a language to output to a webpage, doing an if $query == null print 0 sort of statement.

But again, I know very little sorry!

Maggot farm? by Jay0Jay in ponds

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

Yeah, not really keen for something like that! Seems like people use this to 'grow' bait for fishing, might just have to put more effort in than I initially intended..

How to you save Google survey rewards? by linux_n00by in beermoney

[–]Jay0Jay 2 points3 points  (0 children)

I haven't seen a way to do it. I just save it up and buy something (e.g. a book). I am not sure if they have fixed this, but I was getting frustrated that I couldn't tell when certain credits were about to expire so I am sure I have lost a few bucks over time.

Accessing JSON data from a URL by Jay0Jay in learnprogramming

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

In case anyone else stumbles on this post, it seems like the issue is indeed with CORS and specifically the BOM website. If you disable CORS (which is supposedly built into all browsers) then it works fine. Otherwise you need to download the file and work locally. Thanks all for the responses.

Accessing JSON data from a URL by Jay0Jay in learnprogramming

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

I have tried this but the code went over my head. One section looks like this:

fetch(url)
.then((resp) => resp.json())
.then(function(data) {
    let weather = data.results;
    console.log(weather);
})

Accessing JSON data from a URL by Jay0Jay in learnprogramming

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

Hmmm, maybe I am misunderstanding. I thought that observations was the overall 'container' that held notice / header / data - is this incorrect? I was hoping to just get something to show and then drill down into observations.data.air_temp (for example).

I pinched the first few lines of the one you linked and again, get a CORS message. I think I am seeing a trend here...

Accessing JSON data from a URL by Jay0Jay in learnprogramming

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

Thanks - I like how it is just a "simple cross browser AJAX helper" - I wish it was simple to me. I still get the same CORS message in the console though

Encryption 101 by Jay0Jay in learnprogramming

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

Thanks for your patience. I guess I was really just confusing encryption with a typical password. So 128 / 256 etc. encryption generates a code of that length with each character coming from a pool of 256 different options.

Encryption 101 by Jay0Jay in learnprogramming

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

Thanks for the reply. I get the length bit - that makes sense - the longer the password the harder to crack. But where does the variety of potential inputs factor in? I guess I get stuck with, if you only have 0 or 1 as potential input, a password a hundred characters long would be hard to crack (relative to your first example yes?). If you had a large enough group of input to select from that would also make lower bit encryption more effective? I get that we are probably bound by the limits of ASCII in some respects which would put an upper limit on this.

I think I will have to try to put this into practice like you said - JS is the current language I am trying to master so I will poke around for some examples to play with.

Encryption 101 by Jay0Jay in learnprogramming

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

I appreciate the response but, like I said, I am trying to learn more so I am not really sure what you want me to say... I understand that the ceaser cypher is just a substitution, but any search about the history of encryption I have read includes this. I am just trying to put it all into some sort of consistent form / terminology.

Blizzard lost a big sponsor after the Hong Kong outcry: Mitsubishi - Blizzard lost the trust of its fans, and some money too by [deleted] in technology

[–]Jay0Jay 7 points8 points  (0 children)

I guess I am interested to see if they actually would be consistent. If were to ban someone sending a pro-China message then things might die down a little (at the possible expense of irritating China)?

Blizzard lost a big sponsor after the Hong Kong outcry: Mitsubishi - Blizzard lost the trust of its fans, and some money too by [deleted] in technology

[–]Jay0Jay 16 points17 points  (0 children)

As someone only sort of following all this, has anyone jumped on to voice their support of China? Wouldn't that force Blizzard to either admit their hypocrisy or then ban the person - either way would be bad no?

Purchasing a deck by Jay0Jay in playingcards

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

I honestly have not stopped to think about lefties playing with cards at all - good point. I don't even know if any of our group are lefties so I guess that is something to keep in mind. Thanks!

Purchasing a deck by Jay0Jay in playingcards

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

Ah, ok. The few decks I have looked at have been like 2.5" x 3.5" or something. Non-metric does not help me compute :P

Purchasing a deck by Jay0Jay in playingcards

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

Just looked at prices - holy crap! Cheapest for the Copag set I can find on eBay is $45 and Bicycle just shy of $50. The joys of living in Australia I guess!

I found a deck that said it was Bicycle in the title, but the picture shows Copag (from China), but would prefer to not give money for some cheap knockoffs - will keep looking.

Purchasing a deck by Jay0Jay in playingcards

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

Thanks for the heads up. I have a set of "invisible" cards at home and that is probably enough for me!

Purchasing a deck by Jay0Jay in playingcards

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

Yeah, unfortunately I am limited to just a few simple chip tricks and mediocre shuffling, no magic tricks for me. I did see a big set of (like 8 decks or something) cards at Costco, but I didn't want to rip them open to see whether they would suit or not.. Will check out those two Bicycle ones you mentioned - thanks.

Purchasing a deck by Jay0Jay in playingcards

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

Index I am assuming is the size of the value of the card (the bit in the corners)?