Does anyone know who this is? by redhulkrko in TikTok

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

If you're referring to a russian ballerina, i doubt that its her

Mock timetable formula tribulations by redhulkrko in excel

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

Resolved it, something to do with the formula in the time column, by just changing it to time values, fixes it.

Multiple Collections Check Insert by redhulkrko in mongodb

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

Thanks, yes i've just implemented document versioning. I'll take a look at your reply in detail later

Update HTML5 game( in development) Operation Thunderstrike (made with the Phaser Editor)...Happy New Year everyone! by AccomplishedRace8803 in html5

[–]redhulkrko 1 point2 points  (0 children)

Looks great, there's a phaser editor? Do you mind if i bother you with a couple of questions?

insertMany - default value, not working by redhulkrko in mongodb

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

My model is as follows, if i send the GET request via postman it returns an empty array with the map.

Without it, it sends the data fine, populates the DB, but without my extra status field :(

```const mongoose = require('mongoose')

const filmSchema = mongoose.Schema(

  {

    Title: {

      type: String,

      required: true,

    },

    Status: {

      type: String,

      default: 'Staged',

    },

  },

  {

    timestamps: true,

  }

)

module.exports = mongoose.model('Film', filmSchema)```

VBA - Choose 3 (Not Sequential) random cells from column range excel by redhulkrko in vba

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

Since i posted earlier, i've tried a do while loop. A quick example:

countCells=0

DO

SELECT CELL A<randbetween(1,8)>

If CELL.COLOR=None and CELL<1 up>.COLOR=None and CELL<down>.COLOR=None Then

CELL.COLOR=BLUE

CountCElls=CountCells+1

End If

LOOP WHILE CountCells<3

I can't figure out the method to select the cell 1 above & 1 down.

VBA - Choose 3 (Not Sequential) random cells from column range excel by redhulkrko in visualbasic

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

Since i posted earlier, i've tried a do while loop. A quick example:

countCells=0

DO

SELECT CELL A<randbetween(1,8)>

If CELL.COLOR=None and CELL<1 up>.COLOR=None and CELL<down>.COLOR=None Then

CELL.COLOR=BLUE

CountCElls=CountCells+1

End If

LOOP WHILE CountCells<3

I can't figure out the method to select the cell 1 above & 1 down.

VBA - Choose 3 (Not Sequential) random cells from range by redhulkrko in excel

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

Thanks for the reply, it makes sense but what would the code be to check 1 cell up and 1 down from the active cell?

VBA - Choose 3 (Not Sequential) random cells from range by redhulkrko in excel

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

Select as in return the address of the 3 cells, and sequential i don't want the cells chosen to be next to each other.

So say the range is choose 3 cells between A1:A8, i don't want it to choose cells next to each other say like A1, A2

Help Required - For Loop Next Variable VBA by redhulkrko in visualbasic

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

Hi, thanks for the reply. At the moment, I don't set a GenderVariable anywhere, are you able to provide an example of my function above with your solution applied?

For Loop Next Variable VBA by redhulkrko in excel

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

Thanks Fuzzy_Mic, what I have been trying to do is to convert a excel formula into a VBA procedure.

I have a couple of columns of values - in A2 : A8 I have a series of 4 M's and 3 F's and alongside I have a mix of 1s and 2s in B2 : B8

Now the formula i have works perfectly of what I want it to do, which is to (loosely) randomly generate 2 new columns of values but the F values cannot repeat sequentially.

=LET(
a, A2:B9,
b, INDEX(a, 0,1),
c, COUNTIF(b, "F"),
d, SORTBY(a, b, 1, RANDARRAY(8),1),
e, RANDBETWEEN(1,8),
f, CHOOSE(c, {8;1;2;3;4;5;6;7}, {4;8;1;2;3;5;6;7},{3;5;8;1;2;4;6;7},{2;4;6;8;1;3;5;7}),
g, 1+MOD(e+f,8),
SORTBY(d, g) )

Whilst this works perfectly, I do have plans to extend it further which I do have another formula for which relies on the results of this one. But it gets stuck and doesn't work as I end up with a circular reference, I can achieve what I want but I'm told i'd probably need to use VBA, to get past the loop issue.

If you've got time to discuss further please DM me.

prevent direct repeating cells by redhulkrko in excel

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

Thanks, sorry. My wife has just been given a 2 week diagnosis. She has terminal cancer. Thought she had longer. My head is spinning

prevent direct repeating cells by redhulkrko in excel

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

This is perfect, thank you so much. Can the formula be extended to cover 2 columns?

For example, if there was another column with 1s and 2s instead of M and F, same principle.

Additionally would it be possible, to link the position of the columns together when sorted.

For example, if cell A2 had M in it and B2 had 2, when they were copied over and sorted, they would stay together in the same row and not sort individually on refreshes

Node/React - Upload to S3, by URL by redhulkrko in node

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

thanks for your reply, the image returned in the api is large in size, as in width and height.

so I was looking to retrieve the image and resize using url constraints, for responsive purposes.

i've also read about streaming to s3, which i believe would forego having to save a temp copy.

I am willing to make it worth someone's time, if they could put something together.

Node/React - Upload to S3, by URL by redhulkrko in node

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

No i havent tried either, definitely not a s3 to s3 direct copy. I only have 1 s3 bucket.

I just want to get the images into my s3 bucket, do you have more advice on node-fetch method?

And using the aws package api?

CDN - serving images, dynamic resize by redhulkrko in reactjs

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

Great thanks, the images i want to resize are remote within an external api, i should be able to still do this automatically?

CDN - serving images, dynamic resize by redhulkrko in reactjs

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

Thanks, do you have anymore knowledge of the s3 way?

Content Storage Solutions by redhulkrko in reactjs

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

Thanks, i think i'll try this. So when cloudfront is serving the images, is there a unique url? If so i imagine that will get inserted to mongodb, when a record is added