Chủ Nhật, 19 tháng 11, 2017

Waching daily Nov 19 2017

Tham gia mạng lưới đối tác network MCN kiếm tiền youtube

Tham gia mạng lưới đối tác network MCN kiếm tiền youtube

For more infomation >> Tham gia network MCN top Châu Á kiếm tiền youtube How To Join Freedom 2018 - Duration: 27:38.

-------------------------------------------

Mercedes-Benz S Class 2018 Test Drive - Duration: 7:55.

For more infomation >> Mercedes-Benz S Class 2018 Test Drive - Duration: 7:55.

-------------------------------------------

Selbstliebe lernen: Wie Dich Schuldgefühle daran hindern & woher sie kommen - Duration: 17:36.

For more infomation >> Selbstliebe lernen: Wie Dich Schuldgefühle daran hindern & woher sie kommen - Duration: 17:36.

-------------------------------------------

Water on the Ranch - Duration: 10:15.

Hi I'm Mike, according to Leonardo da Vinci water is the driving force of all nature and

at the same time it's the driving force of the ranch, without it we have no animals

and no crops.

Nothing.

Join me as we take a look at the cool refreshing side of the ranch with water, on our Wyoming

life.

Life is simple, just add water.

On the ranch water is everything.

Cattle can survive for as long as sixty days with little or no food, but only seven days

without water, and it's even shorter in the hot summer months.

In any given mammal 60% of their body weight is made up in water, which constantly has

to be replenished and it's no different in cows.

A growing animal or a lactating cow needs two gallons of water per 100 pounds of body

weight.

A nonlactating cow or bull needs one gallon of water per 100 pounds of body weight.

So for an example, a cow with a calf will need close to 24 gallons of water per day

for themselves and another 5 to 10 gallons for their calf daily.

That's a lot of water.

On the ranch we consider our water consumption for animals to be about 5500 gallons per day

during the summer months.

The average bathtub holds about 40 gallons of water, so in one day in July or August,

the cows here on the ranch would drink almost 140 bathtubs full of water.

That's if you let them in your bathroom, which luckily, we don't have to.

Spread out all over the ranch are a number of water supplies for the cows.

From stock tanks to reservoirs to creek bottoms, but none of these are an endless supply.

Like everything on the ranch, control and management are required.

Just like managing the grasslands the cattle graze you have to oversee the water they drink.

It's a never-ending job because losing control of one resource could set the ranch into a

downward spiral that could end up being devastating.

Under the ground and maybe under you right now, is water, in underground aquifers.

These aquifers can found anywhere from a few feet to up to 30,000 feet deep.

Some come up through the ground naturally in natural springs but for a majority of the

water around here you have to drill.

Drilling a new water well will cost you about $35 per foot and there isn't really a guarantee

of how deep you will have to drill.

We have 2 wells on the ranch that are only about 35 feet deep, others that are about

300 and a deep well that is drilled to 680 feet.

Even though they are within miles of each other the depths differ greatly and the reason

behind that is the water table.

The water table is the top level of water found underground in the cracks and spaces

in soil, sand and rock.

It is stored in and moves slowly through geologic formations of soil, sand and rocks called

aquifers.

Ground water fills these aquifers by soaking into the ground from rain and snow and is

a renewable resource , as long as you have rain and snow, which there is no guarantee

of in these parts.

Run off from rain and melting snow can also fill reservoirs but will eventually soak back

into the ground unless the bottom of the pond or reservoir is below the water table.

Like every resource here on the ranch, renewable or not, water is very valuable and requires

supervision and water management starts right here at the hydrant.

We have 6 water wells spread across the ranch, each producing water that animals drink.

Hydrants are normally used to fill stock tanks.

Our average stock tank measures 10 feet around and 2 feet deep, each holding about 1000 gallons

of water.

Each pasture the cattle graze has at least one stock tank in it.

Cattle will generally only travel about a mile from any given water source, so our goal

on the ranch is to make sure that water is available in strategic locations throughout

pastures.

This ensures equal and even grazing of the grassland and in some cases, we will even

move water tanks and fill them with the fire truck to move cattle to better grazing areas.

All summer long it is important to make sure that stock tanks are always full and that's

where floats come into play.

A float is hooked up to a water hydrant and in turn attached to a stock tank.

The float regulates the water flowing into the tank and when the water is full it will

shut off the flow of water, keeping the tank full while at the same time, keeping it from

overflowing.

They work great, in the summer, but as the temperature falls and eventually lands below

zero they will freeze and become useless.

Managing water in the summer and water in the winter can be as different as night and

day.

During the summer we utilize windmills rather than electric wells to pump water to the ranch

animals.

These windmills are old and require constant maintenance and upkeep to keep them running

efficiently.

During the winter the upkeep on an old fashioned windmill can become overwhelming due to high

winds and freezing temperatures.

So in the winter the windmills are shut down, floats are disconnected and all watering is

done by hand.

Filling each tank and making sure they don't overflow and make a huge mess.

A stock tank that overflows actually becomes a hazard to cattle as the water will sit on

the frozen ground, and then eventually freeze itself creating a sheet of ice that cows can

slip and fall on.

During winter all the cows and other livestock is kept pretty close to home, mostly for easy

feeding but also for easy watering.

Because we use electric water wells in the winter having all the stock tanks near the

main ranch saves time and money.

Animals are also separated during this time of year.

Cows in one pasture, bulls in another, heifers off by themselves and steers and horses in

their own corrals as well.

All these separated living conditions require their own water and everyday we check and

fill 5 different stock tanks, one or two for each group.

Another addition to the tanks in the winter are stock tank heaters.

1500 watt electric heaters that either float or sit in the water to keep it from freezing,

until the temperature gets too low.

In larger tanks even the heaters cant keep up and a tool that will will bring with us

everyday will be a hatchet to break ice so the animals can get in.

A new challenge this year is Erin's winter gardens.

This is our first year growing in the winter and almost all of the irrigation for gardens

runs above ground.

Which means that getting water to the gardens through our normal irrigation system is impossible

in the winter due to freezing.

The only way to combat this is to use a portable water tank and fill it and take it to the

garden when she needs to water, then using a small pump she can apply water to her plants.

Water on the ranch is always a challenge, and just when you think things are going fine

that's when you come out and find a broken water line.

Never and easy fix but a lot easier to fix when your fingers aren't wet and frozen.

This is the water line to the chickenhouse and this morning after a cold night that got

down into the teens, I found that my electric heat tape that I usually count on to keep

the line from freezing had failed.

The big problem with broken water lines is that you never know that they are broken until

they thaw and by then you have a mess to fix.

But after a quick trip to town for parts its just a matter of fixing the broken section

of pipe.

Then replacing the defective heat tape and hoping that it holds out.

Every rancher I know is part vet, part environmentalist, part plumber and part crazy, it's a life

that you either love or you hate but in the end its all about being here next year and

the year after that and hopefully passing something down to our kids that is worth having,

loving and respecting.

Water is everywhere, and without it this would be straight whiskey and like a good whiskey,

water shouldn't be taken for granted.

I'm going to sit here and hydrate myself.

If you'd like to join the herd and become a ranch hand yourself, make sure you click

that subscribe button and join us on a journey through hard work, dedication and sometimes

disappointment but when the day is done, we can all look back and say that there are no

limits to what we can achieve.

Quick side note, thanks to everyone who wished me a happy birthday on Facebook and Instagram

this week.

It was a little overwhelming and a whole lot humbling but because I couldn't reply to

everyone, I just want to say thank you.

Have a great week and thanks for joining us in our Wyoming life.

For more infomation >> Water on the Ranch - Duration: 10:15.

-------------------------------------------

Big Box Cinematix - Excitebike (Japan, USA) - Duration: 1:27.

This is available for download on the LB Forums

Where you will also find a version of this with Regular Game Audio

And a couple of 4x3 variations as well

For more infomation >> Big Box Cinematix - Excitebike (Japan, USA) - Duration: 1:27.

-------------------------------------------

「Nightcore」→ Selena Gomez vs Justin Bieber (Switching Vocals) - - Duration: 2:40.

Nightcore - Selena Gomezvs Justin Bieber (subtitles in video)

For more infomation >> 「Nightcore」→ Selena Gomez vs Justin Bieber (Switching Vocals) - - Duration: 2:40.

-------------------------------------------

Quick Tip 01: How To Record & Edit Voice Samples [TUTORIAL] - Duration: 5:31.

Hello there guys and girls,

with this video I wanna start yet another series called "Quick Tips".

These are just some very short tutorials with a few key infos which wouldn't really be

worth making a full length workshop about.

That way I wanna keep helping you making your machinima visions come true.

In the first video I wanna offer you some insight on the voice acting and voice editing

part of your machinima.

This is something many creators don't know anything about at all, which is too bad because

it is essential to how convincing your movie will be.

I'm making this video because Corman Brusco asked an intriguing question on Twitter.

So thanks again for the inspiration!

Please put on your headphones for this video now.

You may proceed.

Let's start with the basics: You should get a good microphone.

If you record with a headset or a built in notebook mic you're gonna have a bad time.

If you really wanna have good audio quality for low budget, check out the Audio Technica

AT2020.

It's a USB microphone which I've been using for at least seven years now and it

still works fine.

It delivers amazing audio quality for only a hundred bucks.

If you can, you should get a pop filter on top of that.

You could even go out with your notebook and use it to record your own ambient sounds.

I use Audacity to record voice samples, the download link is in the description.

In this software you can change the input volume very easily.

When voice acting, make sure that you don't go over 0 decibels because then your audio

gets clipped which sounds awful.

So it's best to record quiet and loud parts of a character's voice separately with different

input volumes.

Now you could already cut out the takes you don't like so the file size will be lower.

I usually leave everything in so I have something for my outtakes videos.

When you're done recording you can export the file as a WAV.

Don't use MP3 here because your audio is gonna get compressed.

Then you import the WAV file into your editing program.

I have prepared three little scenes here.

Because the voice you have recorded now is far from perfect for your video.

If you do have a proper microphone your voice will have too much bass which you need to

remove.

Just drag a parametric equalizer onto your voice clip and cut out the lower frequencies.

This is because the only voices that should have more bass are the ones that speak from

off the scene, so that the viewer instinctively knows it's a narrator and not a person on

screen.

Let me show you the difference here.

You can also use the equalizer to create a radio or phone effect if you cut out the low

and very high frequencies and raise the middle ones.

The next step is adding a reverb to the voice depending on the situation.

In the first scene our character is in a small room with hard walls, which means you should

use a short reverb time and a small room size.

You can drag these handles left and right to see what happens.

Down here you can decide how loud the reverb and the original signal should be in relation

to each other.

Let's have a listen.

Sounds way better than the original.

If you have a small room with a carpet and softer surfaces, the reverb should be shorter

and not as audible.

In this case you can increase the dampening so the reverb gets quieter a little faster.

Next up we have a big garage which is basically the same as the bathroom, only with a longer

reverb time, kinda like this.

You are free to experiment here.

If you go a step further and imagine a cathedral interior, you can really crank up these sliders.

In the third scene we are outdoors in the open and I don't think we're gonna need

much reverb here.

Nonetheless I like to have a slight reverb which is barely audible but gives the voice

a little more width since now it's missing bass.

The last thing I'm gonna talk about is positional audio, which isn't a necessity for beginners

but nice to have.

For instance if your character moves away from the camera you can use a little ramp

to decrease or increase the volume of a single voice clip.

Also you can change the stereo position of a voice clip, so if your character is moving

from left to right, you can keyframe the volumes for the left and right channel individually.

Let's listen.

You can do the same thing for any sound effect or music.

Of course for all the voice clips you must adjust the volumes so it suits well with the

rest of the sound effects and ambient sounds.

Again watch out that your master volume doesn't exceed 0 decibels.

As you can see this is fairly easy to do with a little practice.

But keep in mind that there is no quick recipe or preset for this kind of work, because every

voice you record is individual.

Some characters have deeper, bassy voices, others are pitched higher.

You need to open your ears to really comprehend if the audio fits the video.

Because sound design is 50% of a movie.

And that's about it for this quick tip.

If you have any questions, just hit me up in the comment section.

Thank you for watching, whanowa over

For more infomation >> Quick Tip 01: How To Record & Edit Voice Samples [TUTORIAL] - Duration: 5:31.

-------------------------------------------

Детская песня С Иисусом в моей лодке Смеюсь даже в шторм - Duration: 1:24.

For more infomation >> Детская песня С Иисусом в моей лодке Смеюсь даже в шторм - Duration: 1:24.

-------------------------------------------

【MMD】Byoumei wa Ai datta【Ayano Aishi / Yandere Simulator】 - Duration: 1:25.

Utsukushii uso ni damasarete Deceived by a beautiful lie,

e ni awanu hana ni narihatete it becomes a flower not suitable to meet with.

Yuruyaka ni semaru shiki de sura I even mistook this slow-approaching death

finaare no you ni michigaeru for a finale.

Asamashii yume ni bakasarete Bewitched by a sordid dream,

furei na yamai ni tatararete this sick habit torments me.

Iki mo taedae na koigokoro Feeling faint and breathless from my love,

sono shinime o tsuzutta I'm binded by the moment of death.

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」

「Byoumei wa ai datta」 「The name of the disease was love.」(x3)

Thank you for watching

For more infomation >> 【MMD】Byoumei wa Ai datta【Ayano Aishi / Yandere Simulator】 - Duration: 1:25.

-------------------------------------------

(Eng sub Sub español) [FADED 淡淡] Official [BL] Short Film Full version |by Arthur Tan| - Duration: 15:33.

For more infomation >> (Eng sub Sub español) [FADED 淡淡] Official [BL] Short Film Full version |by Arthur Tan| - Duration: 15:33.

-------------------------------------------

The Walking Dead Red Machete: Sorrowful - Duration: 3:14.

[Down-tempo music plays]

[Birds chirping]

♪♪

♪♪

[Blade scrapes]

♪♪

♪♪

♪♪

♪♪

♪♪

♪♪

[Snarling]

♪♪

[Bell clanging]

[Snarling, groaning]

♪♪

[Cans clanging softly]

♪♪

[Growling]

[Chimes clanging]

♪♪

[Scream in distance]

[Snarling, growling continue]

♪♪

♪♪

[Birds chirping]

♪♪

[Snarling]

[Bell clanging]

[Door closes]

♪♪

[Bell clangs, snarling stops]

♪♪

[Hinges creaking]

♪♪

♪♪

[Footsteps echoing]

♪♪

[Floorboards creaking]

[Blade scrapes]

♪♪

♪♪

For more infomation >> The Walking Dead Red Machete: Sorrowful - Duration: 3:14.

-------------------------------------------

Улаганский тракт, участок от с. Акташ до с. Улаган - Duration: 7:01.

Siberia, the Altai Mountains. The Ulagan tract from the Aktash village to the Ulagan village

For more infomation >> Улаганский тракт, участок от с. Акташ до с. Улаган - Duration: 7:01.

-------------------------------------------

LA MIA SKIN CARE ROUTINE #1 - Duration: 10:06.

For more infomation >> LA MIA SKIN CARE ROUTINE #1 - Duration: 10:06.

-------------------------------------------

S01.05: Bawley Point, the Hidden Paradise near Sydney and Jervis Bay - Duration: 7:08.

For more infomation >> S01.05: Bawley Point, the Hidden Paradise near Sydney and Jervis Bay - Duration: 7:08.

-------------------------------------------

cartoon tank fighting or game for kids part 2 - Duration: 14:30.

cartoon tank fighting or game for kids part 2

For more infomation >> cartoon tank fighting or game for kids part 2 - Duration: 14:30.

-------------------------------------------

Videos de Animales con Sonido para niños l Animales de Granja para niños en español - Parte 2 - Duration: 3:04.

Videos de Animales con Sonido para niños l Animales de Granja para niños en español - Parte 2

For more infomation >> Videos de Animales con Sonido para niños l Animales de Granja para niños en español - Parte 2 - Duration: 3:04.

-------------------------------------------

Transform-it into what you need at home.... - Duration: 4:59.

To give another idea of housing

ATC presents: Transform-IT

Do it yourself… A free plan available for you in the video description at MyATCtv!

You like our weekly projects??? Support us by sharing this short video!

Share and subscribe via the link below in the video description.

New DIY videos released every Sunday at 3pm CET (Central European time)

www.atc-c.com

For more infomation >> Transform-it into what you need at home.... - Duration: 4:59.

-------------------------------------------

Are you smarter than an octopus? | 22 Minutes - Duration: 2:03.

Welcome back to Are You Smarter Than A 4 Year Old Octopus?

Octopuses are some of the smartest creatures on the planet, possessing nine brains!

While our contestant only has one.

Hi, hey.

Octopus, are you ready?

Alrighty, here we go.

Which social democrat founded universal health-care?

Write your answer.

Okay, time's up.

Izzy, you said: Tommy Douglas That is correct!

*applause* Yes!

Octopus said: tentacle.

*wrong answer buzzer* Once again, that is incorrect.

Izzy, you win!

Oh my God!

Alright, and now we're moving on to the bonus round.

This can be tricky, Izzy, but I think you can do it.

Are you ready to see who can shoot the farthest ink?

What?

We'll start with the octopus.

Octopus, go for it!

Oh.

Judges...

7.3 metres!

Izzy, whenever you're ready!

Okay...uh - Come on, you can do it!

Use your ink sack! *grunting*

*wrong answer buzzer* Oh, sorry, Izzy.

No one ever wins that part.

You're NOT smarter than a 4-year-old octopus.

I don't have an ink sack.

And now it's time for my least favourite part, feeding the contestant to the octopus.

*Screaming* Well, that's all the time we have for today.

Join us tomorrow when we ask: Are You Smarter Than A 4 Year Old Octopus?

Goodnight!

For more infomation >> Are you smarter than an octopus? | 22 Minutes - Duration: 2:03.

-------------------------------------------

ArcGIS Javascript API #esrijs 4.x - 15 - Building an attributes viewer table ( like ArcMap and Pro) - Duration: 39:47.

what's up y'all this is Hussein Nasser from Igeometry and brace yourself

we have a wonderful episode today we will do the finally we will do the

attribute table so remember last time we where did we do man we know the location

right we did that location so we searched only found Naperville now we

have all these features we have the table of content what we want to do

today is when it's gonna be a long episode there's a lot of coding so yeah

so what we're gonna do is when we collect this button will create a table

of it's not a table of content it we will create the attribute table and lest

all the features that are inside this layer okay for simplicity's just like

will list all the fields and the attributes and that table or that layer

and then we'll loop and display the individual features and that layer

alright for simplicity we can display the first hundred or so because just

because we don't want to scroll all the way but yeah we're gonna do fun stuff

alright so for simplicity let's go to our services here so sample service 6

and we're gonna have the water network and let's go for the water service

connection and scroll all the way there is an endpoint called query and we did

use that to get the count of features remember that right and in this episode

what we're gonna do is well we will use more attributes more parameters here we

will activate the instead of returning only the count

will set this to fall so we will actually turn all the features and for

out fields we're gonna add an asterisk which means hey return all the fields

that that that's what means sounds good and we will add also the result count to

1,700 or so when we head query and let's just for simplicity let's return Jason

we can see that right you can see the result beautiful result the jason the

fields what we're gonna do is we will use this array to populate the table

header all right and look at that beautiful hello use the alias and then

what we're gonna do is loop through all the features attributes and then

populate like a table we're just building out the table from this

beautiful jason let's get to work alright alright so if you remember we

have this guy it's actually one table right with two columns the first column

is the table of content and the second column is the mat I'm gonna add another

row to this table and I'm gonna span it to have two columns alright and it's

actually that's really here right table or first stables to talk right there's

comes the talk second column is the map that's the end of the row

I'm gonna create a new row here cause that row and then I'll create one column

span it to it means it will it will literally be like one column that spans

two columns that that makes sense and I do like border

one year actually see what I mean here in a second see that is like a small

things here table attribute table you'll see what I mean now does that make sense

one column the second column and then this is the attribute table I'm gonna

leave that table order for now for simplicity so we can know what we're

doing here sipping my tea here getting ready for a long episode brace yourself

bring your coffee tea beer get ready we're gonna do some foolish stuff all

right attribute table all right guys so the

first thing we want to do here is we're going to add a dev element div ID we

kind of call it attribute table that's really cool we're gonna need to use that

attribute table because we will fetch that attribute table and we will

populate that based on the service that we or the layer that we request okay now

now we know that the next thing we want to do is write a new function here yeah

all the way down the function is populate attribute table it's actually

attributed stable sounds good let's add some comments up you light the attribute

where sounds good all right so what do you want to do here is first of all we

want you activate or call this function when

we click on this button all right because I don't add it but I mean I have

a button why why another boy add another one right so it was like we can change I

mean the image you want can do that but yeah that works fine so we're gonna use

that alright so where is an just for simplicity let's just add an alert here

calling attribute table just that we know that our events are wired correctly

so where is the function that populates that layers there you go so looping all

the building the table of content right and this is the button that says count

literally right and then we fetch the count of the features how many features

are in this layer and then we basically don't have any events currently in this

so we'll do that on click I will just call the function No thank you very much

populate attribute title good on on click open the attribute table so we'll

give the impression that we're actually opening a table it's just or building a

table yeah let's do give the user it's like an arcmap when you write to click

on a layer and open attribute table or pro and hope an attribute table this is

exactly what we're building here sounds good sounds good all right

we're done add event click and we're just calling an alert here refresh

Mela to do hmm and then click and then calling attribute table give me a second

let me turn on the AC it's really hot here Jesus it's almost November it's hot

back it's almost November and so hot man when he ran up a blunt Timmy Cola so all

right back where were we oh he's already guys so how about that

calling attribute table right so now we have the events wired correctly so I

will listen to this event and I'll do one more than here I want to capture the

layer ID that the user clicked on that's a very important piece of information

that we will use later and the beauty of the JavaScript

when you say button we can just do layer ID equal and that's it that will create

a new property in this button object which we will then pass to this as an

event called Ito target so we'll do either target dot player ID and so I see

calling it a beautiful layer burger go over let's see if we got the layer IDs

here so that that the way I'm doing programming here is I'm doing

incrementally wiring up events and then finally writing the code floor so we got

the layer layer ID 8 sweet lay Rd six beautiful layer ID I have no idea - that

is cool that is really cool

all right so let's continue we have the layer ID we know what we're gonna do

right we want a query and that layer and then pull all the features so we already

have authored that code and get count if you remember right so steal this code

beautiful we have the layer ID pad the selective service

mayority is literally e nice so what we want to do here is augment these query

options to add more parameters all right so return count only I want to set this

to false or just remove it another thing remember what we did here

what do we do man where did we do the query 1 equal 1 give me everything I'm

not interested in just sub set out fields how do we know remember how do we

know the actual parameter name we right click inspect thank you chrome very much

and then you can just steal their little actual icon here write actual name

parameter then we're gonna send an S tricked which means give me all fields

what else what else main where else with results record count that's the actual

parameter name and looking good

cool so we make the query to the layer give me all the field but it's our only

ten features I'm not interested in more send the query return the response

obviously the response is much more complex than that right so we'll have to

add some curly braces here all right guys

and this is when the actual thing fails all right so e l element right so let's

declare a variable here attribute table is equal document they'll get element by

ID and it's really our tribute table or did we say attribute table now this is

see guys when you don't become consistent like me you're always lost

did we say attribute table or attribute so it's attribute table so we we get

that attribute table object it's very important document element what you

wouldn't want to do with that table that's actually a table but it's a div

element right so yeah why not okay we got that right

we make the query we get the response let's just do response dot data member

dot let's make the query so we can look at the results response the data is

actual the whole thing okay object and then you when you add a dot

you're accessing the sub objects here so dr. fields and that's what we are

interested in here so if I say dot data the cat damn it da de de da field dot

lame

what do you expect

why do you expect guys we will get the length of those right so what did I

click on like like water service connection right and post and then let's

go to the same water service connection and then click on that we get 16 so 16

is the actual number of fields here 1 2 3 4 5 6 9 10 11 12 13 14 15 16 I don't

know how to counter but these are 16 so sue me

alright guys alright so we have 16 fields what do we

want to do with this 16 field we want to populate them into the attribute table

right there find out we're gonna find out soon enough my field my gunner here

I'm gonna teach you JavaScript right there alright guys sorry about that

alright what do you want to do here we got the object all we have to do is try

start constructing our table so I have to create a table right document don't

create I want to create a table so that's my actual table so wheat and then

I'm gonna create a header a header is nothing but a row here in this case

which is tr remember how we create a table TR is a row to your table is a

table and TD is the column th is the header column in this case

alright sweet and then we created the header I want to add table the append

child add that element beautiful now what now our beautiful loop let our

equals 0 I is less than or equal response or data.gov my built-in school

actually of length son actually they call just once Allah or black flash

we're looping through all of them I still I want to take my time and

actually alert these fields I misspoke response I'm sorry please pause the data

good field sub boy good now I am here I'm looping through each object one by

one so what do you want feels sub I dot name dot I ordered Elias I'm interested

in alias so I'm gonna response the alias here so bear with me that'll be a huge

love and a lot of alerts brace yourselves

price yourself winter is coming look at that object ID facility and

installed a tree service diaper with rotation account to enable I look at Oh

finally we're done sixteen sixteen sweet sixteen

there you go let's do that alright so we look through that I obviously I'm not

interested in alerting you guys right so we're gonna crack columns we're gonna

create column column and a column is a TD right we create a column what do you

do with this column I'm gonna put some content on that's

gone what's the content the content is response the data dot fields sub hi dot

Elias right sounds good once you do that for each column you create go ahead

please and add it to the header row that we created that sounds okay guys I know

this episode I'm trying to explain everything but this is cool stuff so

take your time rewind this video on trying to be as slow as yeah so just

take your time really ask me questions anything I'm not saying that this code

won't have bugs it definitely will and we will fix it all right even if you

take an hour right we have all the time in the world guys we have all the time

on the wall all right create a column to the digital I think we are good we added

we clear the table we create the headers

one header actually and the hair we create we appended the header to the

table which is one row so I have a table would one row and then we created column

loop add loop add add and we'd start adding all these columns to this header

once we're done we're done but now we've forgot very important

piece which is actually adding the table to the parent table right here the big

table this is all in memory remember this is old memory now if I do this

after the loop obviously right it's very critical that you do it after the loop

you do it a little bad things happen I can't I don't want to imagine what will

happen if you do this'll be crazy all right

and then we just add the table the whole table object and all that's child all

its children right will be added to that and just like that everything I'm to get

fine I swear I got everything just fine

are you holy mamacita look at that look at that oh man this is Oh

bad stuff is happening bad stuff and you know what I we're not cleaning up our

after ourselves guys we are not cleaning up so every time you populate the

attribute table you have to do innerhtml which means wipe wipe everything okay

come on man look at that objectid dude all right have some more

fun change this DD to the edge th's actually means the header of the table

right we can go to w3schools but i do remember this much right some of you

might actually have our laughing right now because i'm using ancient tags i

know i am that old I'm sorry I don't know the new style and CSS oh yeah I

apologize all right but that's the only thing I know

oh they're fancy stars and fancy CSS I don't know those I willing to learn I

swear but that's what I know right anyone out there wanna take ahead on

this and make it pretty please by all means do and I

have absolute faith in you guys that you have much more Skills than building a

beautiful website I'm just trying really hard all right so I want to do another

thing here my table that has some boulders I'm gonna have board it too

just for fun just for kicks let's add some border some border oh

this is ugly oh yeah you've got that idea right we

have that border border all right beautiful

where are the features someone will ask right look at that look at that look at

that look at that every table has different set of fields

obvious right and I'm amazed at how fast this is I was amazing

look at this has a lot of fields by the way guys look at that nice cold yeah

doesn't have much real time all right we have the loop pop you little field

columns nice now are you guys ready the ultimate desk loop through all

features now we get a loop through the features themselves I apologize guys my

Mac is spinning I have no idea it's just sometimes just likes to spend randomly

all right back I took off the spinning prong I'd no idea what's going on there

just clothes for your programs all right we're back looking we're gonna loop

through all the features now and to do that there is all the features right

we're going to loop through each features here and then for each feature

that's a feature all right that's another feature and we're looking

through attributes that's the only thing we're interested in right now we're not

interested in shapes yet probably well well no we're gonna loop let's use

another character all right J is equal to 0 or J's response data features the

plans J plus loss

sweet so we're looking through feature by feature cool but now remember we are

we have this big table now we want to create under this table and you roll for

each feature to do that we're gonna code last a row element rent or row in it or

just raw okay document the create element dance call

this oh yeah this is just TR it's a completely new role as called

instead of the header this is the raw and then we're gonna obviously add the

raw to the table nice so we just added that part role then we will do that row

table the DEP in child they're all now we want to create columns which they

will in this case they will represent the value of that field in this case of

this is a bit tricky so we'll look through now we have this right we have

this correct we have the feature so let's have that just as a feature

let's do declare something called feature equal response data the features

sub I cool let's have that just for simplicity I

don't arrived all that cool we have the attribute feature dot attributes and

then dot the actual field name right the name is used here not the Elias so what

we're gonna do here as loop and then have another loop to loop through all

fields for on that feature and then populate it okay as do

so for what I equals zero I is less than this is exactly the same as this really

just loop through all columns all right and then it will look at all the fields

here but creating TD instead of th the column in this case is not equal to this

but is equal to is equal to feature dot attribute attribute or attributes with

an S alright third attribute sub the field name which is the field name is

actually let's declare some of the code field here which is called response the

data to the fields sub I and the field

dot name give me the field dot name value and that returns this value so the

field name is object ID if you made it was if the I did you give me that and so

on right until we loop through all their features call them dot txt but we're not

gonna add it to the header we're gonna add it to that beautiful guys

you're a pub I think that's it yeah make sense in the feature loop through all

fields and for all for every field give me the value on that attribute let's

take a look

all right sometimes the out joyous service decided to go down for some

reason right and looks like this is the time Oh

rain don't go down on us now oh and it goes now I have to stop guys

and come back when it's back sometimes they do maintenance on the jail or

joyous API so it goes down a time is it like 4:30 in the afternoon oh well this

is the weekend so they actually can do maintenance at that time so we might

actually have that so we'll get back in a second all right guys jst dark eyes

dot-com a is back and let's quickly test our code here all right

broken debug let's quickly debug all right I think that's our code right

populate attribute table yeah let's just we know that up to here works right so

choose all right so we populated that correctly

go ahead create that add it then you're gonna look through the features that's

ten of them that's right because we asked for ten oh there's the first book

that should be J there should be J simple very small simple book

give me the James picture and then most of the eyes apologize for this spinning

sound again I have to take mom back to the side oh look at that look at that

Oh something is bad going on what is going on dude oh man what happened

darlin all right okay it's like that is just adding one column and every time

adding to that calm oh that's that's right this should probably be in that

and the inside level because for each feature you want to create a new row

right that's just that show me all the services oh man we did it we did it

look at that finally ooh sweet sweet sweet sweet so there are things that

might not make sense look at a Japanese bombs here guys

some people are editing this hard go Japan konichiwa look at that yeah for

the date we in general ESRI stores the date as a as a long as a double value

right and that's the value since a book

a period of time history personal I've typically that's not want

so a book is actually a number I can't fit yeah your neck support that's what

I'm looking for so UNIX epoch is the value of a number

it's in milli second since Nigel for January 1st 1970 and it's proven very

useful to dealing with dates in general all right

so dealing with a number and you deal with the date as a number and then you

play you store things that are numbers instead of actual complex state object

so everything is a number so we have to deal to convert that number back to a

meaningful and that's there's a lot of tools to do that we'll take care of that

at one another time but look at that you like that you like that look at that

that's so cool man obviously some of the things we can't control like that the

width of the fields we can't play with a lot of things here but you can imagine

what's happening next right guys a zoom in button here click to zoom to that

feature collect the sound of that feature then edit that feature will make

this editable like I go on and and then go edit that field directly we can do

that it's a public data it supports it then we're gonna missile

that right it's public nobody asked them to put public sounds ok it support

anything we're gonna edit it guys we're gonna do some fun stuff alright

I think that is all for us today I had I've cut this video like maybe three or

four times it's such a whole stupid things really service went down

something like bad so yeah but looks good so we can we can adjust things like

this we can fetch more features 50 I'd say right

oh that's a long service like if you click here now we get more features now

we get 50 features and but I prefer to like fetching 10 features and then you

ask the service to for example give me 10 features and then offset the 11 so

give me the next 11 give me the next give me the next thing give me the next

n right does that make sense so start from the 21st and then just keep giving

me the next set of features all right so that's called paging so will enable

paging it at a certain point here all right go Suraj look it's you editing

the data right look at that alright so the name of our alright I

think we'll stop here and we will continue in the next episode with some

more cool stuff all right guys we'll see you the next one hope you enjoyed this

episode do tell me if you want to see more and more stuff that's we're gonna

have a lot of things like we're building applications coming together it's ugly

as f might I say but it's functional it's ugly

what's functional alright there's a big difference

ugly ugly ugly I know I can't I do not disagree with that it's an ugly it's an

ugly ass application but it's functional does the job

alright don't make fun away don't on dare to make fun of my aid

alright guys this is so cool this is so cool ish as soon as that as soon as that

oh my god who's that careful is going to murder you

For more infomation >> ArcGIS Javascript API #esrijs 4.x - 15 - Building an attributes viewer table ( like ArcMap and Pro) - Duration: 39:47.

-------------------------------------------

Sampdoria Vs Juventus l Serie A 2017 - 18 l Gameplay ᴴᴰ ♥ - Duration: 11:53.

Sampdoria Vs Juventus l Serie A 2017 - 18

Không có nhận xét nào:

Đăng nhận xét