text:
Has Disambiguation, Deceased, Characters,
Main antagonists
Framed by Dexter
Victims of Other killers
Killed in Dexter's presence
Killed at long range
Who is Maria LaGuerta?
Maria LaGuerta: Ambitious Manipulator
Lauren Velez
84 Episodes (see below)
Maria Esperanza del alto Alma LaGuerta
LaGuerta
Cop Bitch (by Hector Estrada)
Shot in the chest by Debra Morgan.
Mid 40s (at death)
Angel Batista (Divorced)
Captain of Miami Metro Homicide (2011-2012)
Lieutenant of Miami Metro Homicide (former)
Detective for Miami Metro Homicide (former)
Captain María LaGüerta is a main character in the Showtime series DEXTER.
She was the Captain of Miami Metro Homicide, having been promoted from Lieutenant (with Detective Debra Morgan taking her place) by Deputy-Chief Thomas Matthews. She led almost every investigation in the series, with Sergeant James Doakes and Angel Batista supervising the crime scenes under her. She handled the political side while her detectives did the dirty work. It wasn't until Season Seven that she began to display her own investigative work.
While initially being one of the Main Protagonists, she was the second and last Main Antagonist of Season Seven (after Isaak Sirko), following her investigation into The Bay Harbor Butcher, while trying to clear the framed Sergeant James Doakes of the crimes committed by the Butcher.
Maria can be seen as a tough, determined woman fighting for power in the political game among law enforcement. Often having a friendly (and sometimes antagonistic) relationship with former-superior Thomas Matthews, she always stood out as cold in her rise through the ranks. Putting her work before her life, she kept most of her emotions bottled inside which led detectives such as Debra Morgan to be convinced that she was out to destroy her out of a personal grudge.
She does however display a sympathetic side, one often shown in the shadows as she is forced to do less than honorable acts to push herself further into power. From sleeping with her replacement's fiancée to marrying and then divorcing a coworker, the toll has been heavy but she never lets it show to those around her. In her early days she was partnered with Sergeant James Doakes and the two developed a close relationship, at one time being lovers and staying close friends for many years. Even as the rest of the Miami Metro Police Department and even the FBI closed in on him as the suspect behind the Bay Harbor Butcher Case, she refused to believe he was guilty and strove to support his innocence (though it was in vain).
This relationship she shared with Doakes was powerful enough that despite several years passing since his death, a discovery of a blood slide at a crime scene led her into investigating the Bay Harbor Butcher again in hopes of clearing his name. It is strongly implied the two were in an intimate relationship, as Doakes was married at one point but was never stated who he was married to as LaGuerta stated that it was Doakes' anger that drove her away. She has proven to come closer than anyone before her in investigating Dexter Morgan, having uncovered his past and relationship to The Ice Truck Killer as well as strong evidence to support him being the Bay Harbor Butcher.
LaGuerta was very ambitious and politically driven. When she lost her job to Esmée Pascal, LaGuerta began sleeping with Pascal's fiancee Bertrand. Pascal began to become irrational, using department resources to investigate her fiancee and acting out erratically. Pascal was eventually replaced, at which point LaGuerta stopped sleeping with Bertrand. Interestingly, LaGuerta has some qualms about what she was doing; she refused to speak ill of Pascal to Captain Thomas Matthews, showing that she knew what she was doing was wrong and that she felt guilty about it.
She is very determined to maintain her position no matter the cost, such as blackmailing Captain Matthews into promoting her. She is also very manipulative, telling Matthews that she would help make the call girls case go away, but instead used Debra by having her dig information on the case that would connect back to Tom and sold him out to the board and had him forcibly put into retirement to gain his position. Even Debra commented on how that was a very low thing she did to Tom and Debra prompting her to ask "How do you sleep at night?!" to which LaGuerta replied "very nicely, knowing that from now on you will do as I say or I'll find someone who will." This shows that she is often more than willing to betray or use anyone to get what she wants, regardless of who she is close to.
Despite her manipulative nature, however, she often shows compassion, loyalty (especially for Sergeant Doakes) and has a strong regard for justice. For instance, when she gives defense attorney Ellen Wolf information that proves Chicky Hines innocent, even though she knows that this would strain relations between herself and her former lover, Miguel Prado. She comforts Debra when Joey Quinn was arrested for the murder of Stan Liddy (though later released because of Dexter), telling her to "have faith" and when she was feeling bad about how Travis got away, telling her she did a good job in trying to catch him. She did admit that what she did to Matthews was wrong, but felt it had to be done despite Deb's statements of how she really did it for herself (which was true).
She has a bond with Dexter during most of the series, most notably in the beginning of Season Five when she shows her solidarity after Rita's death and even suspends Joey Quinn for trying to investigate him, following her murder. Although the reason for the previous could be because LaGuerta feels guilt since the time of Rita's death indicates she was murdered when Dexter was acting as the witness to her and Batista's nuptials. Their supposed bond can also be seen when she gets Dexter to sign the papers for the official marriage between herself and Sergeant Batista and trusts only him as she investigates Miguel Prado for the murder of Ellen Wolf. Her greatest sense of loyalty is towards Sergeant Doakes, whom she is intent on proving innocent. The two are later revealed to have been lovers for a while.
However, LaGuerta is not above making her subordinates feel intimidated. At the series' beginning, she had a sincere dislike for Debra. Although she seems to dial down her dislike in later seasons, LaGuerta returns to manipulating and humiliating Deb after she's promoted to lieutenant over Matthews' choice, Batista. In the first season, she made no secret of her attraction to Dexter, whom she flirted with constantly, to his discomfort. One of her weapons in her artillery of intimidation is her pettiness, especially verbally. She constantly makes very sarcastic and passive-aggressive comments towards Debra when she displays competence in her job and has--on at least one occasion--made physical contact while walking away from Debra after ending a conversation with her. She operates on double standards when it comes to verbal spats: for example, she has crossed the line several times with her boss, Thomas Matthews, but almost every time Debra rightly tried to call her out on her unfairness or incompetence as an investigator, LaGuerta would shut her down or threaten her.
Discussions between LaGuerta and Batista in Seasons One and Four give minor insight into LaGuerta's back story; her family is said to reside entirely in Cuba, and she mentions being alone in a strange land, inferring that LaGuerta was sent to live in America, alone (perhaps in foster care?), by her family. Also in Season One, LaGuerta showed possible interest in adopting a Cuban boy who had been a witness to a crime, but Roberto, the boy's uncle was located.
It is obvious from the first episode that Maria and Debra Morgan do not get along. LaGuerta consistently treats Deb much worse than any other officer or detective, with very little reasoning. Maria purposely makes it harder for Deb to get into homicide but eventually has to let her in, due to the Captain's insistence after she makes a major break in the Ice Truck Killer investigations. At the end of the first season, she is removed from command, when Captain Thomas Matthews sees her as a clear political threat. She is replaced by Esmée Pascal.
Early on, she continues to struggle with her demotion and annoyance of Esmée Pascal's presence in the office. She resorts to sleeping with Pascal's fiancée Bertrand, which quickly drives Pascal toward paranoia and instability. The woman's increasingly erratic behavior around everyone results in Captain Matthews being forced to take her out of the Lieutenant position and reinstate Maria.
When her friend, former partner, and former lover, James Doakes, becomes the prime suspect in the Bay Harbor Butcher case, she tries to clear his name. She learns from a questionable source of two Special Forces missions Doakes took part in that directly conflicted with the deaths of two Butcher victims. However, Doakes is found dead in a seemingly accidental explosion, along with the body of drug dealer Jose Garza, and the case is closed. The evidence LaGuerta finds is ignored. After his death, LaGuerta starts a memorial fund for him, asking police officers for donations, and refuses to think of her deceased friend as a serial killer. She later attends Doakes' funeral, only one of five people to do so. The others were Doakes' mother, sisters, and Dexter.
As she recovers from the trauma of Doakes death, she leads an investigation into the murder of Oscar Prado, the brother of her ex-boyfriend Miguel Prado. She also develops a close relationship with lawyer Ellen Wolf, and is devastated when Wolf is found dead. But through the help of some personal investigation work, along with Dexter's help, she was able to discover that Miguel was the one who killed Wolf and usually confides in Dexter as he is the "only other one who knows". She becomes distraught when the Cuban community is thinking about naming a highway after Miguel and wants to find legal evidence to prove he killed Wolf, but Dexter is able to convince her that doing so would only hurt Miguel's family and the Cuban Community, and even then there is a high chance that won't prove anything and drops it.
At the start she is shown to be romantically involved with Angel Batista. They keep their romance hidden from the rest of the staff within the homicide department, aside from Dexter, whom both Batista and LaGuerta confide in. Their relationship hits a roadblock when she tells their superiors about their relationship so that it cannot be used against them during a trial. The consequence of her disclosure is a threat of reassignment; either Batista or LaGuerta will have to move out of Homicide. Deciding that their jobs are integral parts of who they both are, the two decide to end their relationship, and sign affidavits to that effect. Staying away from each other does not prove easy, however, and they begin having secret liaisons once more. In order to circumvent a reprimand from higher up, and also as a result of their deepening affection for one another, they secretly get married with only Dexter as a witness.
After Rita is murdered by The Trinity Killer, LaGuerta grieves deeply and hands the case over to the FBI in full, since the timing of her death more or less coincides with the timing of her marriage to Batista, in the previous season (which hitherto, only Dexter is aware of) and she does not wish to be reminded of that. As Quinn investigates Dexter for any involvement in Rita's death, he gets busted by the FBI and when LaGuerta finds out what he was doing behind her back, she puts him on immediate unpaid suspension. Soon her husband gets into a bar fight, when a police Sergeant insults her (saying that she gave the best blowjobs in Miami). In order to get Batista out of the hot water, she assists Internal Affairs in busting a Narcotics Officer who is on the take. It is later revealed, however, that her real motives for doing so were purely political, as she aims to make Captain.
During this time, the Fuentes brothers have recently begun a series of horrific murders. Debra soon finds a lead as to where they may be and Batista discovers a way to lure them there, so that they can be apprehended. When the operation occurs, things go bad when LaGuerta orders Officer Manzon to flirt with Carlos Fuentes, against Debra's advice, in an attempt to draw him outside the club so that he can be apprehended. Carlos finds out that she's a cop and this results in a major shootout as, in which Carlos Fuentes as well as two innocent bystanders are killed and three wounded. LaGuerta initially asks Debra to back her story by pinning the blame on Manzon, however, Debra refuses, saying that Manzon was simply following her orders. She then publicly blames Debra for the event (with Manzon backing her version of the event) and places her on immediate suspension, which sours their relationship even more. Despite being her husband, however, Batista shows his loyalty by backing Debra's story, even though it doesn't make any real difference. He also distances himself from LaGuerta, for her atrocious behavior.
Around the same time, a series of rapes and murders in Miami, is brought into the open. As Dexter and his new accomplice Lumen Pierce, attempt to divert police attention away from the case, by pinning it all on one man, Debra soon discovers new DNA evidence revealing that there are multiple criminals, while on file clerk duty, which prompts her to seek LaGuerta's approval in re-opening the case, which she eventually does. When Debra fails in getting a warrant on prime suspect Jordan Chase so that he's brought in for questioning, LaGuerta asks why she didn't seek her assistance in getting it, to which Debra replies that she is the last person she thinks of when seeking help. LaGuerta then gives her another warrant, allowing the police to locate Jordan and keep him under 24 hour surveillance. During the last episode of the season, as Stan Liddy is killed (the Narcotics Officer whom she had suspended), Quinn becomes a major suspect in his murder, due to the blood on his shoe and his fingerprints all over Liddy's van. This deeply disturbs Debra, but LaGuerta tries to reassure her and tell her to have 'faith'. Quinn, however, advises Debra to forget about him and go after Jordan, which results in her finding the location where the rapes occurred. Here she finds Jordan's corpse as well as the Vigilante Couple, whom she allows to escape. By the end of the season, the relationship between Debra and LaGuerta seems to be much better as she congratulates her for solving the Barrel Girls Case. This prompts Batista to mend his own relationship with LaGuerta.
Maria has recently divorced Batista after realizing that he's not as politically driven as she is. She is promoted to Captain in the first episode after blackmailing Deputy Chief Matthews over a madam's contact list which includes his name. Chief Matthews assigns Debra Morgan as the new Lieutenant to LaGuerta's dislike, because she promised the position to Batista. He seemingly did it to get back at LaGuerta. Morgan went from being completely clueless and unsure of her new position in the beginning confided greatly in LaGuerta's help, but because of LaGuerta's obvious dislike for her she gives her a lot of bad advice, much of which backfires on LaGuerta. Morgan soon gains enough confidence in her position to not need LaGuerta's advice anymore, and also begins to realize what LaGuerta has been doing.
However, with Matthews' second transgression with a prostitute, she initially tells Debra to cover it up, but when she continues to search and finds proof of Matthews' involvement, LaGuerta disables both Matthews and Debra, with Matthews being called to retire and blackmailing Debra with her coverup. She makes it clear that she will depose Debra if she does not do as she's told.
While Miami Metro Homicide was at the scene of Travis Marshall's murder, LaGuerta found a blood slide. After confirming from a private lab that the blood on the slide belonged to Travis Marshall, LaGuerta comes to believe that James Doakes was innocent and the real Bay Harbor Butcher may still have been active and killed Travis. So she decided to try to reopen the case, not only in an attempt to find the true murderer, but to prove the innocence of her departed friend and former partner. She continues to investigate until Debra gains wind of this and decides to help her and keep tabs for Dexter. As they interview a victims family, LaGuerta sees Debra hiding something about the case and immediately suspects she knows something, but says nothing so Debra doesn't get suspicious herself. As LaGuerta starts reaching dead ends in the case, she eventually digs deeper and discovers a name on several of the cases: Dexter Morgan. This causes her to recall Doakes obsession for Dexter and believes Doakes may have been right.
Her suspicion would prove right as she discovers that Dexter moved his boat around the time of the case, which causes her to dig deeper into his background. She continues to look into this without Debra's knowledge, due to her belief that she knows something. She enlists the help of Thomas Matthews on the condition he gets his 40 year pension plan due to her having cost it in the first place. She tells him of her suspicion about Dexter being the BHB and how he has a boat and Doakes never did. They visit the site of Doakes's death at the cabin. Once there, they gain word that the cabin was owned at the time of Santos Jimenez, which Matthews remembers the name as he was responsible for murdering Dexter's mother, Laura Moser, prompting LaGuerta to realize Dexter had more of a reason to kill him than Doakes. This would be fueled even further after hearing that Dexter's brother, Brian, was the Ice Truck Killer, and that the Bay Harbor Butcher chops his victims into pieces and that Jimenez is missing, having been killed by the BHB, causes LaGuerta to immediately believe Dexter to be the genuine killer and that Doakes was on to him. She attempts to question him constantly, but Tom stops her, stating that he'll do it since he's known Dexter since he was a kid and trusts him much more.
After Tom talks with Dexter over Dexter claiming that Doakes had a boat, LaGuerta refuses to listen, stating his feelings for the Morgan family is clouding his judgement and if Doakes had a boat she would have known about it. They still look into this boat business and find a key in a tackle box from the cabin that leads them to a deserted boat stand and find several sheets of plastic. They call a private forensics team and find knives in a closet, one of which that has blood degraded on it and a finger print on it that is Doakes'. Tom is convinced this is more than enough, but LaGuerta still isn't convinced and believes Dexter planted this and could have done all this, but Tom still wants her to stop this, as it's over, and nothing more can be done stating that he's done with all this. LaGuerta is saddened by this, but promises Tom his pension plan like they agreed.
However, it turns out she still wasn't convinced and still plans to go after Dexter, having pushed for Hector Estrada, the man who ordered the death of Dexter's mother, to be released after 40 years in prison. Dexter was about to kill him in the kill room when Estrada reveals that LaGuerta was the one who pushed for his release. LaGuerta arrives on the scene with two officers and they hear a chainsaw running in a storage container, and enter to see the room full of plastic, having LaGuerta realize that Estrada's not alone.
In the season finale, LaGuerta arrests Dexter for the murder of Hector Estrada, unaware that he actually escaped Dexter. LaGuerta marches Dexter through the station in handcuffs, causing an uproar. She brings Dexter into interrogation and accuses him of killing Hector Estrada and of being the Bay Harbor Butcher. She claims to have found Estrada's wallet and bloody shirt on Dexter's boat. Debra and Masuka come in and tell LaGuerta that the shirt on Dexter's boat was missing evidence from when Estrada was arrested. Masuka also found a print on the wallet which belonged to LaGuerta, making it appear that she framed Dexter to exonerate Doakes. Deb accuses LaGuerta of trying to frame Dexter and LaGuerta accuses Dexter of setting her up. She is later put under investigation by the commissioner for her behavior. Despite warnings from both Matthews and Angel, she refuses to back off. She discovers more evidence about Dexter's true identity and on top of that, the warrants to track their GPS on the date of Travis's death. Her discoveries lead Dexter to the only decision logical for him - killing her. His plan is to set LaGuerta up by first killing Hector Estrada and then killing Maria, while making it look like Maria and Estrada killed each other postmortem. His plan goes smoothly until Deb walks in minutes after Dexter tranquilized LaGuerta. Because LaGuerta was given less than the usual dose, she wakes up in the middle of Dexter and Debra's dialogue. She tells Debra that she needs to kill Dexter, but a very emotional Debra shoots and kills LaGuerta to protect Dexter's secret.
Six months after her death, many of her former co-workers show up at a bench that is being named in her honor. Angel Batista, LaGuerta's former husband and ex-partner, is displeased with her receiving a park bench as a memorial, as he feels she deserves more than that. Batista also gives Dexter a red vase that belonged to LaGuerta, which is later accidentally broken by Harrison Morgan while spinning on a rotating chair. At his house, Batista goes through a box of LaGuerta's belongings, ripping up the warrants that LaGuerta had kept during her investigation of Dexter and Debra, which could have otherwise implicated the two in the murder of Travis Marshall.
Attempted to Kill Maria
Johnny Rose
Nikki Wald
Ellen Wolf
Maria LaGuerta's House
LaGuerta wears contacts, as revealed when she's talking to Debra in the bathroom and complains about being unable to get a hair out. [1]
Her characterization in the show departs significantly from that in Darkly Dreaming Dexter, in which she is a shrill, manipulative woman whose only real objective is promotion within the department, to the point that she repeatedly ignores insight from Debra in order to focus on her own ideas. Another departure from the books is that LaGuerta died near the end of the first book after being stabbed by Brian upon discovering Brian and Dexter standing over a restrained Deb. A sample of her blood is also taken by Dexter for his blood slide collection following her death.
LaGuerta was antagonistic towards Debra Morgan for a majority of the series, usually providing an obstacle in her path to advancement in Miami Metro. It wasn't until Season Six that the two began to understand one another further and they were on good terms throughout a majority of Season Seven (with Deb being the only one trusted with LaGuerta's investigation into the Bay Harbor Butcher).
Despite LaGuerta becoming one of the two Main Antagonists of Season Seven, it wasn't Dexter who killed her but Debra herself. This proving to be the only time one of the lead characters dealt with one of their own main antagonists apart from Dexter (the other in this season being Joey Quinn with George Novikov).
LaGuerta is the second main antagonist of Season 7 as well as the second female antagonist.
LaGuerta is the second main antagonist to have appeared in previous seasons, the first one in the series being James Doakes.
Strangely, her body is positioned in exactly the same fashion when she was first unconscious (due to m99) and after Debra shoots her.
Despite being an antagonist for many different portions of the series, she was never a "bad" character, justice-wise. While some of the actions she performed were less than honorable, ultimately she sought justice in her own ways, apart from taking over Matthews's position. In Season Seven her actions were to try and clear the name of an innocent man while finding the actual killer and arresting them. Her antagonistic role was that of an opposing force to the lead title character, one that he had to overcome. It is understandable as Dexter has always been a villain protagonist instead of a 'good' one.
Her need to prove that Doakes was innocent can be seen as somewhat obsessive and this can be possibly be contributed to their past as lovers.
Maria shows a human head to Neil Perry
Miguel attempts to get close to Maria
Miguel Prado at Maria LaGuerta's House
Angel Batista and Maria begin sleeping together
Dexter signs the paperwork for Batista and LaGuerta's marriage
LaGuerta finds a blood slide at the Church
Maria finds Travis Marshall's blood slide
LaGuerta compares the Travis Marshall blood slide to a Bay Harbor Butcher trophy, to see that they are the same, which further convinces her of Doakes' innocence
Maria at Coral Cove Marina
Maria enlists the help of Thomas Matthews to investigate Dexter
"What if Dexter is the real Bay Harbor Butcher?"
Thomas Matthews and Maria
Maria shows Debra footage of her getting gas
Maria arrests Dexter as The Bay Harbor Butcher
Dexter under arrest brought into homicide dept
Angel angry that Maria arrested Dexter
Maria tells Dexter she knows the truth about him
LaGuerta, just after being shot in the chest
Maria orders Debra to shoot Dexter
Debra embraces LaGuerta in a deep state of sorrow right after killing her
LaGuerta in the game
"Dexter"
"Crocodile"
"Popping Cherry"
"Let's Give the Boy a Hand"
"Love American Style"
"Return to Sender"
"Circle of Friends"
"Shrink Wrap"
"Father Knows Best"
"Seeing Red"
"Truth Be Told"
"It's Alive!"
"Waiting to Exhale"
"An Inconvenient Lie"
"See-Through"
"The Dark Defender"
"Dex, Lies, and Videotape"
"That Night, a Forest Grew"
"Morning Comes"
"Resistance is Futile"
"There's Something About Harry"
"Left Turn Ahead"
"The British Invasion"
"Our Father"
"Finding Freebo"
"The Lion Sleeps Tonight"
"All in the Family"
"Turning Biminese"
"Sì Se Puede"
"Easy as Pie"
"The Damage a Man Can Do"
"About Last Night"
"I Had a Dream"
"Do You Take Dexter Morgan?"
"Living the Dream"
"Remains to Be Seen"
"Blinded by the Light"
"Dex Takes a Holiday"
"Dirty Harry"
"If I Had a Hammer"
"Slack Tide"
"Road Kill"
"Hungry Man"
"Lost Boys"
"Hello, Dexter Morgan"
"The Getaway"
"My Bad"
"Hello Bandit"
"Practically Perfect"
"Beauty and the Beast"
"First Blood"
"Everything is Illumenated"
"Circle Us"
"Take It!"
"Teenage Wasteland"
"In the Beginning"
"Hop a Freighter"
"The Big One"
"Those Kinds of Things"
"Once Upon a Time..."
"Smokey and the Bandit"
"A Horse of a Different Color"
"The Angel of Death (credit only)"
"Just Let Go"
"Nebraska"
"Sin of Omission"
"Get Gellar"
"Ricochet Rabbit"
"Talk to the Hand"
"This is the Way the World" Ends]]
"Are You...?"
"Sunshine and Frosty Swirl"
"Buck the System"
"Swim Deep"
"Do the Wrong Thing"
"Chemistry"
"Argentina
"Helter Skelter"
"The Dark...Whatever"
"Do You See What I See?"
"Surprise Motherfucker!'
↑ Episode 106: Return to Sender
Retrieved from "https://dexter.fandom.com/wiki/Maria_LaGuerta?oldid=106156"


text:
Q: Create monthly files based on daily files with xarray, files have same dimension names but not the same size I have an issue with my dataset, using xarray I am trying to create monthly files based on daily files. The problem is that my different datasets have the same dimension names i.e N_PROF and N_LEVELS but for the first day we have something like N_LEVELS = 100 and for the second day N_LEVELS = 400. The goal is to concatenate daily files using the N_PROF dimension to just stack them into one big monthly file. I'm sure there is a simple way to fix it but I didn't find out.
I tried concatenate and merge from xarray to deal with this issue but neither worked. I also tried to use open_mfdataset but the following issue came out (ncfile1 and 2 are my netcdf file datasets) :
ds = xr.open_mfdataset([ncfile1,ncfile2], concat_dim="N_PROF")
ValueError: Could not find any dimension coordinates to use to order the datasets for concatenation
First dataset :
enter image description here
Second dataset :
enter image description here
xr.concat([ds1,ds2],dim='N_PROF')
ValueError: arguments without labels along dimension 'N_LEVELS' cannot be aligned because they have different dimension sizes: {421, 430}
Thanks a lot !

redpajama_set_name: RedPajamaStackExchange


text:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using IntegraData;
using System.Data.SqlClient;
using IntegraData;

namespace IntegraBussines
{
    public class ControlProveedorAcreedor
    {

        public DataTable ObtieneDatosControles(int numEmpresa, int numFamilia, int numPadre)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Add(new SqlParameter("@companynumber", numEmpresa));
            context.Parametros.Add(new SqlParameter("@family", numFamilia));
            context.Parametros.Add(new SqlParameter("@father", numPadre));

            dt = context.ExecuteProcedure("sp_Controles_ObtieneEstatusProveedor_v1", true).Copy();
            return dt;
        }

        public DataTable ObtieneDatosProveedorAcreedor(int numEmpresa, string TipoPersona, int numPersona, string NomProvedor, int TipoProveedor, int Estatus,
                                                        string ApPaterno, string ApMaterno, string nomCorto, int TipoPersonalidad, string numTelefono, string email,
                                                        string RFC, int TipoProvLocGen, int TipoRolPersona, string Domicilio, string Colonia, string CpPostal,
                                                        string TelDireccion, int Tipodomicilio)
        {
            SQLConection context = new SQLConection();
            DataTable dtDatProveedor = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Tipo_Persona", TipoPersona));
            context.Parametros.Add(new SqlParameter("@Numero_Persona", numPersona));
            context.Parametros.Add(new SqlParameter("@Nombre_Provedor", NomProvedor));
            context.Parametros.Add(new SqlParameter("@Tipo_Proveedor", TipoProveedor));
            context.Parametros.Add(new SqlParameter("@Estatus", Estatus));
            context.Parametros.Add(new SqlParameter("@Ap_Paterno", ApPaterno));
            context.Parametros.Add(new SqlParameter("@Ap_Materno", ApMaterno));
            context.Parametros.Add(new SqlParameter("@Nombre_Corto", nomCorto));
            context.Parametros.Add(new SqlParameter("@Tipo_Personalidad", TipoPersonalidad));
            context.Parametros.Add(new SqlParameter("@Num_Telefono", numTelefono));
            context.Parametros.Add(new SqlParameter("@Email", email));
            context.Parametros.Add(new SqlParameter("@RFC", RFC));
            context.Parametros.Add(new SqlParameter("@TipoProvLocGen", TipoProvLocGen));
            context.Parametros.Add(new SqlParameter("@TipoRolPersona", TipoRolPersona));
            context.Parametros.Add(new SqlParameter("@Domicilio", Domicilio));
            context.Parametros.Add(new SqlParameter("@Colonia", Colonia));
            context.Parametros.Add(new SqlParameter("@Cp_Postal", CpPostal));
            context.Parametros.Add(new SqlParameter("@Telefono_Direc", TelDireccion));
            context.Parametros.Add(new SqlParameter("@Tipo_Domicilio", Tipodomicilio));

            dtDatProveedor = context.ExecuteProcedure("sp_BuscaDatosProvedor", true).Copy();
            return dtDatProveedor;
        }

        public DataTable ObtenDatosProvedor(int tipo, int NumEmpresa, string Nombre, string TipoPersona, int TipoProvedor)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Add(new SqlParameter("@Tipo", tipo));
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", NumEmpresa));
            context.Parametros.Add(new SqlParameter("@Nombre_Proveedor", Nombre));
            context.Parametros.Add(new SqlParameter("@Tipo_Persona", TipoPersona));
            context.Parametros.Add(new SqlParameter("@Tipo_Proveedor", TipoProvedor));

            dt = context.ExecuteProcedure("sp_Autocomplete_Proveedor_Acreedor", true).Copy();
            return dt;
        }

        public DataTable ObtieneDatosPersonalesProveedor(int numEmpresa, int Personalidad, int numProveedor,
                                                           string perJuridica, int TipoLocGen)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Personalidad", Personalidad));
            context.Parametros.Add(new SqlParameter("@Num_Proveedor", numProveedor));
            context.Parametros.Add(new SqlParameter("@Persona_Juridica", perJuridica));
            context.Parametros.Add(new SqlParameter("@Tipo_Loc_Gen", TipoLocGen));

            dt = context.ExecuteProcedure("sp_ObtieneDatosPersonalesProveedorAcreedor", true).Copy();
            return dt;
        }

        public DataTable ObtieneDatosDePagoproveedor(int numEmpresa, int numProveedor)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Proveedor", numProveedor));

            dt = context.ExecuteProcedure("sp_ObtieneFormasPagoProvedor", true).Copy();
            return dt;
        }

        public DataTable ObtenDomicilioProveedor(int numProveedor)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Persona", numProveedor));

            dt = context.ExecuteProcedure("sp_ObtieneDireccionProvedor", true).Copy();
            return dt;
        }

        public DataTable VereificaTipoProvedor(int numEmpresa, int nunPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Persona", nunPersona));

            dt = context.ExecuteProcedure("sp_ObtieneTipoProveedor", true).Copy();
            return dt;
        }

        public DataTable VerificaTipoPersona(int tipo, int numEmpresa, int numPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Tipo", tipo));
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Persona", numPersona));

            dt = context.ExecuteProcedure("sp_VerificaTipoPersona", true).Copy();
            return dt;
        }

        public DataTable verificaCuentaProveedor(int numEmpresa, int numCuenta)
        {
            SQLConection contex = new SQLConection();
            DataTable dt = new DataTable();

            contex.Parametros.Clear();
            contex.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            contex.Parametros.Add(new SqlParameter("@Numero_Cuenta", numCuenta));

            dt = contex.ExecuteProcedure("sp_VerificaCuentaProveedorCliente", true).Copy();
            return dt;
        }

        public DataTable VerificaExistenciaClienteOtrasEmpresas(int numEmpresa, string nomCliente, string perJuridica)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Nombre_Cliente", nomCliente));
            context.Parametros.Add(new SqlParameter("@Personalidad_Juridica", perJuridica));

            dt = context.ExecuteProcedure("sp_VerificaExisteciaCliente", true).Copy();
            return dt;
        }

        public bool GeneraModificacionCliente(int tipoMovimiento, int numEmpresa, int? numero, string nomCompleto, string apPaterno, string apMaterno, string nombre,
                                                      string nomCorto, string rfc, string curp, string telefono, string fax, string radiolocalizador, string celular,
                                                      string Email, string PersonalidadJuridica, int General, string sFechaAlta)
        {
            try
            {
                SQLConection context = new SQLConection();

                context.Parametros.Clear();
                context.Parametros.Add(new SqlParameter("@TipoMovimiento", tipoMovimiento));
                context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
                context.Parametros.Add(new SqlParameter("@Numero", numero.HasValue ? (object)numero.Value : DBNull.Value));
                context.Parametros.Add(new SqlParameter("@Nombre_Completo", nomCompleto));
                context.Parametros.Add(new SqlParameter("@Paterno", apPaterno));
                context.Parametros.Add(new SqlParameter("@Materno", apMaterno));
                context.Parametros.Add(new SqlParameter("@Nombre", nombre));
                context.Parametros.Add(new SqlParameter("@Nombre_Corto", nomCorto));
                context.Parametros.Add(new SqlParameter("@RFC", rfc));
                context.Parametros.Add(new SqlParameter("@CURP", curp));
                context.Parametros.Add(new SqlParameter("@Telefono", telefono));
                context.Parametros.Add(new SqlParameter("@Fax", fax));
                context.Parametros.Add(new SqlParameter("@Radiolocalizador", radiolocalizador));
                context.Parametros.Add(new SqlParameter("@Celular", celular));
                context.Parametros.Add(new SqlParameter("@Correo_Electronico", Email));
                context.Parametros.Add(new SqlParameter("@Personalidad_Juridica", PersonalidadJuridica));
                context.Parametros.Add(new SqlParameter("@General", General));
                context.Parametros.Add(new SqlParameter("@Numero_Confia", ""));
                context.Parametros.Add(new SqlParameter("@Transportista", ""));
                context.Parametros.Add(new SqlParameter("@Fecha_Alta", sFechaAlta));

                context.ExecuteProcedure("sp_Persona", true).Copy();
                return true;
            }
            catch (Exception ex)
            {
                Console.Write(ex.Message);
                return false;
            }
        }

        public DataTable VerificaexixtenciaProveedor(int numEmpresa, int numPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Persona", numPersona));

            dt = context.ExecuteProcedure("sp_VerificaExixtenciaProveedor", true).Copy();
            return dt;
        }

        public bool GeneraModificacionProveedor(int tipoMovimiento, int numeroEmpresa, int numeroPersona, int ICProvedor, int Estatus, string OBS, string NombreCompleto,
                                                int Tipo, int formPago, int clasFormPago, int clasMoneda, int TipoNE)
        {
            try
            {
                SQLConection context = new SQLConection();
                DataTable dt = new DataTable();

                context.Parametros.Clear();
                context.Parametros.Add(new SqlParameter("@TipoMovimiento", tipoMovimiento));
                context.Parametros.Add(new SqlParameter("@iNumEmpresa", numeroEmpresa));
                context.Parametros.Add(new SqlParameter("@Numero_Persona", numeroPersona));
                context.Parametros.Add(new SqlParameter("@iCProveedor", ICProvedor));
                context.Parametros.Add(new SqlParameter("@iEstatus", Estatus));
                context.Parametros.Add(new SqlParameter("@Obs", OBS));
                context.Parametros.Add(new SqlParameter("@Nombre_Completo", NombreCompleto));
                context.Parametros.Add(new SqlParameter("@Tipo", Tipo));
                context.Parametros.Add(new SqlParameter("@Forma_Pago", formPago));
                context.Parametros.Add(new SqlParameter("@Clas_Forma_Pago", clasFormPago));
                context.Parametros.Add(new SqlParameter("@Clas_Moneda", clasMoneda));
                context.Parametros.Add(new SqlParameter("@Tipo_NE", TipoNE));

                context.ExecuteProcedure("sp_Proveedor", true).Copy();
                return true;
            }
            catch
            {
                return false;
            }
        }

        public DataTable ValidaExistenciaDomicilioFiscal(int NumPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dtDom = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Cliente", NumPersona));

            dtDom = context.ExecuteProcedure("sp_ObtieneDomicilioFiscal", true).Copy();
            return dtDom;
        }
        //modificar para traer el numero de domicilio
        public bool GeneraModificacionDomicilio(int tipoMovimiento, int? numDom, int numPersona, string Domicilio, string Colonia, string Delegacion,
                                                string Estado, string CodPostal, string Telefono, string Fax, int Fiscal, int ClasTipDom)
        {
            try
            {
                SQLConection context = new SQLConection();
                DataTable dt = new DataTable();

                context.Parametros.Clear();
                context.Parametros.Add(new SqlParameter("@TipoMovimiento", tipoMovimiento));
                context.Parametros.Add(new SqlParameter("@Numero", numDom.HasValue ? (object)numDom.Value : DBNull.Value));
                context.Parametros.Add(new SqlParameter("@Numero_Persona", numPersona));
                context.Parametros.Add(new SqlParameter("@Domicilio", Domicilio));
                context.Parametros.Add(new SqlParameter("@Colonia", Colonia));
                context.Parametros.Add(new SqlParameter("@Delegacion_Municipio", Delegacion));
                context.Parametros.Add(new SqlParameter("@Estado", Estado));
                context.Parametros.Add(new SqlParameter("@Codigo_Postal", CodPostal));
                context.Parametros.Add(new SqlParameter("@Telefono", Telefono));
                context.Parametros.Add(new SqlParameter("@Fax", Fax));
                context.Parametros.Add(new SqlParameter("@Fiscal", Fiscal));
                context.Parametros.Add(new SqlParameter("@Clas_Tipo_Dom", ClasTipDom));

                context.ExecuteProcedure("sp_Domicilio", true).Copy();
                return true;
            }
            catch (Exception ex)
            {

                return false;
            }
        }

        public int AgregaNuevoDomicilio(int tipoMovimiento, int? numDom, int numPersona, string Domicilio, string Colonia, string Delegacion,
                                                string Estado, string CodPostal, string Telefono, string Fax, int Fiscal, int ClasTipDom)
        {

            SqlParameter[] parameters = new SqlParameter[]
            {

            new SqlParameter("TipoMovimiento", tipoMovimiento),
            new SqlParameter("Numero", numDom.HasValue ? (object)numDom.Value : DBNull.Value),
            new SqlParameter("Numero_Persona", numPersona),
            new SqlParameter("Domicilio", Domicilio),
            new SqlParameter("Colonia", Colonia),
            new SqlParameter("Delegacion_Municipio", Delegacion),
            new SqlParameter("Estado", Estado),
            new SqlParameter("Codigo_Postal", CodPostal),
            new SqlParameter("Telefono", Telefono),
            new SqlParameter("Fax", Fax),
            new SqlParameter("Fiscal", Fiscal),
            new SqlParameter("Clas_Tipo_Dom", ClasTipDom),

        };
            try
            {

                if (parameters != null)
                {
                    foreach (SqlParameter param in parameters)
                    {
                        if (param.ParameterName == "Numero" && numDom == 0)
                        {
                            param.Direction = ParameterDirection.Output;
                        }
                    }
                }

                return sqlDBHelper.ExecuteNonQueryOutputValue("sp_Domicilio", "Numero", CommandType.StoredProcedure, parameters);

            }
            catch (Exception)
            {

                return -1;
            }

        }

        public DataTable ObtieneDatosGeneralesProveedor(int numEmpresa, int numPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Persona", numPersona));

            dt = context.ExecuteProcedure("sp_ObtieneDatosGeneralesProveedor", true).Copy();
            return dt;
        }

        public DataTable ObtieneDatosBanco(int numEmpresa, int Concepto, int numPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Concepto", Concepto));
            context.Parametros.Add(new SqlParameter("@Num_Persona", numPersona));

            dt = context.ExecuteProcedure("sp_Proveedor_Conceptos_Tipo", true).Copy();
            return dt;
        }

        public DataTable ObtieneDatosCuenta(int numEmpresa, string Cuenta, int concepto, int banco)
        {
            SQLConection context = new SQLConection();
            DataTable dtCuenta = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@sTemp", Cuenta));
            context.Parametros.Add(new SqlParameter("@Concepto", concepto));
            context.Parametros.Add(new SqlParameter("@Tipo_Gasto", banco));

            dtCuenta = context.ExecuteProcedure("sp_Proveedor_Conceptos_Tipo_Gasto", true).Copy();
            return dtCuenta;
        }

        public DataTable ObtieneDatosConcepto(int numEmpresa, int numProveedor, string decripccion)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
            context.Parametros.Add(new SqlParameter("@Numero_Proveedor", numProveedor));
            context.Parametros.Add(new SqlParameter("@Descripcion", decripccion));

            dt = context.ExecuteProcedure("sp_Proveedor_Conceptos", true).Copy();
            return dt;
        }

        public DataTable obtieneConceptoProveedor(int numCompani, int numPersona)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@Numero_Empresa", numCompani));
            context.Parametros.Add(new SqlParameter("@Numero_Proveedor", numPersona));

            dt = context.ExecuteProcedure("sp_Proveedor_Conceptos_CP_Trae", true).Copy();
            return dt;

        }

        public bool AgeregaModificaConcepto(int tipoMovimiento, int numEmpresa, int ID, int numProveedor, int numConcepto, int? Tipo, int? gasCosto)
        {
            try
            {
                SQLConection context = new SQLConection();

                context.Parametros.Clear();
                context.Parametros.Add(new SqlParameter("@TipoMovimiento", tipoMovimiento));
                context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
                context.Parametros.Add(new SqlParameter("@ID", ID));
                context.Parametros.Add(new SqlParameter("@Numero_Proveedor", numProveedor));
                context.Parametros.Add(new SqlParameter("@Numero_Concepto", numConcepto));
                context.Parametros.Add(new SqlParameter("@Tipo", Tipo.HasValue ? (object)Tipo.Value : DBNull.Value));
                context.Parametros.Add(new SqlParameter("@Gasto_Costo", gasCosto.HasValue ? (object)gasCosto.Value : DBNull.Value));

                context.ExecuteProcedure("sp_Proveedor_Conceptos_CP", true).Copy();

                return true;
            }
            catch (Exception ex)
            {

                return false;
            }
        }

        public bool EliminaConceptoProveedor(int tipoMovimiento, int numEmpresa, int ID, int? numProveedor, int? numConcepto, int? Tipo, int? gasCosto)
        {
            try
            {
                SQLConection context = new SQLConection();

                context.Parametros.Clear();
                context.Parametros.Add(new SqlParameter("@TipoMovimiento", tipoMovimiento));
                context.Parametros.Add(new SqlParameter("@Numero_Empresa", numEmpresa));
                context.Parametros.Add(new SqlParameter("@ID", ID));
                context.Parametros.Add(new SqlParameter("@Numero_Proveedor", numProveedor.HasValue ? (object)Tipo.Value : DBNull.Value));
                context.Parametros.Add(new SqlParameter("@Numero_Concepto", numConcepto.HasValue ? (object)Tipo.Value : DBNull.Value));
                context.Parametros.Add(new SqlParameter("@Tipo", Tipo.HasValue ? (object)Tipo.Value : DBNull.Value));
                context.Parametros.Add(new SqlParameter("@Gasto_Costo", gasCosto.HasValue ? (object)gasCosto.Value : DBNull.Value));

                context.ExecuteProcedure("sp_Proveedor_Conceptos_CP", true).Copy();

                return true;
            }
            catch (Exception ex)
            {

                return false;
            }

        }

        public DataTable ObtieneNumeroPersona(int numEmpresa)
        {
            SQLConection context = new SQLConection();
            DataTable dt = new DataTable();

            context.Parametros.Clear();
            context.Parametros.Add(new SqlParameter("@companynumber", numEmpresa));

            dt = context.ExecuteProcedure("sp_ObtieneUltimaPersona", true).Copy();
            return dt;
        }

    }
}

redpajama_set_name: RedPajamaGithub


We are delighted to introduce to the market this immaculately presented and tastefully decorated Semi Detached Villa situated in a quiet and highly desirable residential location within Dundee.
The accommodation, in pristine condition and decorated in modern tones comprises Entrance Hallway, open plan Lounge/Kitchen/ Dining area with French doors leading to large rear garden and paved patio area. The modern Kitchen comes complete with floor and base units, contrasting work top surfaces and integrated appliances, ample storage units and large Pantry. The Master Bedroom, with mirror wardrobes, is beautifully presented with well proportioned En-suite, three additional bright Bedrooms, one with fitted mirrored wardrobes, immaculate Family Bathroom, downstairs W.C and Utility cupboard.
The property benefits from gas central heating with and double glazing.
The property sits within mature garden grounds, mainly laid to lawn with shrubs and plants to the front . The paved and chipped driveway provides off street parking for at least 3 vehicles and leads to the single garage.
To the rear the garden, again mainly laid to lawn with vegetable patch and paved patio area, is an ideal spot for outdoor activities and entertaining. The garden shed provides handy external storage.
This is a beautiful home, in walk in condition, and will appeal to many purchasers.


People left behind by traditional finance don't just live in developing, politically unstable or war-torn countries. In the United States, a first-world nation, DACA recipients or 'Dreamers' are financially crippled due to their unstable citizenship status. Through micro-banking and micro-loans, the Haven app empowers 'Dreamers' to take steps towards escaping the cycle of poverty by giving them access to small loans and the ability to gain interest.


Any "Everybody Loves Raymond" fans out there??
This episode is pure GOLD and perfectly sums up a VERY common problem in our household.
Debra and Ray go away and the suitcase stays on the staircase landing for three weeks whilst each waits for the other to unpack it. Its a battle of the wills until Ray needs to use it to go away for a work trip.
Totally hilarious and if you have time, click and enjoy.
But packing aside, its the UNpacking that is painful when we get home. Nobody wants to unpack a suitcase when they just arrived home do they? Well unless they have OCD and enjoy it, which I haven't and I don't.
In our previous house, we would often dump the suitcase in out (very large) bedroom and live out of it until the next trip, which may not be for many months or until we had worn all the clothes out of it.
Gosh its hard pretending to be grown up isn't it??
In our current (dogbox of a) house, we do not have the room in our bedroom for this luxury, slackness and so it usually gets packed away the day after we get home. I do the kids bag and I force Mr Point Five to "help" me do ours. By help I mean I get all the dirty washing out and done, put my clothes away (folded on the Christmas Chest on my side of the bed) and chuck his clean clothes on his side of the bed for him to put away. These usually end up on top of the dresser (full of clothes we never wear anymore) and he puts the suitcase away in the robe. Then we both live out of the clothes on the respective sides of our bed.
It what we do and although neither of us is totally thrilled with the arrangement it is sadly how it works.
If we even win Lotto I will pay someone to unpack our suitcase when we get back from anywhere.
Its akin to putting away the washed and folded clothes.
Doesn't take any time at all but the sheer EFFORT is inexplicably insurmountable!
Anyway, Mr Point Five went away for the night for work last Monday night and I thought to give you a timeline of "the suitcase" he took. I refuse to unpack it as I didn't use it.
Tuesday Afternoon when he got home.
Tuesday evening when he realised he couldn't get into bed.
For the record, if I went away and took this suitcase, it would prolly be the same on my side of the bed for a good week or so – except I cant FIT it on my side of the bed on the floor so I unpack it pretty much straight away or we cant get into the bathroom.
I so picked the wrong side of the bed.
I wish I had Housekeeping OCD.
« Conversations with Toddlers, or wait, was that a Goldfish??


If there were a Nobel Prize awarded for public interest science, without a doubt Barry Commoner would have been one of its recipients. His work, spanning more than a half century, challenged the apathy of calcified government agencies and scientists who fed from their troughs and raised the consciousness of countless young scientists to understand that inaction in the face of moral crisis was itself immoral.
Commoner found his calling in science with a public purpose. He tackled the iconic environmental problems of the 20th century, including radioactive fallout, toxic pollution, air quality, the fossil fuel economy, hazardous waste, nuclear power, chemically intensive agriculture, climate change and the ecology of the planet.
In his pursuit of fundamental questions, he refused to be limited to the disciplines of his education, namely biochemistry and genetics. He mastered the literature in other fields in order to create a more holistic view of the causes and solutions of environmental problems. On the celebration of Commoner's 80th birthday one of his students, Danny Kohl, wrote: "Barry Commoner's scientific career is best characterized by his insistent commitment to holistic (as opposed to reductionist) approaches to understanding how living things function and his alertness in bringing the most modern tools from physics and chemistry to bear on the properties of living systems."
Activist Peter Montague spoke of him most aptly as the father of grassroots environmentalism. Commoner gave ordinary citizens more credit for their ability to assimilate technical information than most of his contemporaries. He introduced the concept of "right to know" decades before it became a cornerstone of legislation.
Commoner's defiance against immoral authority began at a young age. While writing Science in the Private Interest, I interviewed Commoner for a profile I was preparing on a few public interest scientists. He told me that when he attended James Madison High School in Brooklyn, where he had been a high academic achiever spending considerable time in biology labs, his teachers prompted him to go to college to study biology. Commoner's uncle, a Russian-born intellectual on the staff of the New York Public Library, advised his nephew that Jews had a difficult time getting positions in universities; if he wanted such a career, he should enroll in an elite college, specifically not City College, the default choice of most of the children of immigrant parents. He applied to Columbia and was rejected, according to Commoner, because of the Jewish quotas that many Ivy League schools had during that period. Columbia directed him to Seth Low Junior College, which it had established to accept ethnic and racial minorities.
Commoner refused to attend the "lesser school" and eventually one of his family members contested the decision and he was admitted to Columbia and thereafter Harvard.
The issue that jump started Commoner's public role in science and on which he spent a dozen years was nuclear radiation from atomic testing. In the mid-to-late 1950s the public was assured that there were no risks from the radiation released from atmospheric testing of nuclear weapons. So much of the information was classified that it was impossible to make an informed decision. Commoner argued that the decision about atmospheric testing should not rest with the scientists alone. He started the St. Louis Committee for Nuclear Information (CNI), which led to the magazine Scientist and Citizen.
Working through CNI, Commoner executed one of the most iconic citizen information campaigns in the 20th century. At Washington University, he collaborated with the Dental School and collected baby teeth to determine the levels of strontium 90 absorption from the radioactive fallout of atmospheric nuclear weapons testing. The citizens of St. Louis played a critical role in delivering biological information to scientists.
Commoner also made his scientific expertise available to occupational health and safety activists who lobbied for legislation protecting workers. CRG founding member Tony Mazzocchi, who served as vice president of the Oil, Chemical and Atomic Workers Union, wrote about Commoner: "Without [our] association with Barry we would never have changed the face of the workplace." Mazzocchi was also a participant in the Baby Tooth Survey while he was a member of SANE (the anti nuclear organization). Commoner was also a member of the advisory committee of the then nascent Council for Responsible Genetics.
Ralph Nader spoke of Commoner as one of the most complete scientists, a person who doesn't just contribute to the technical details of a debate. He asked more fundamental questions, such as why we should have a fossil fuel economy in the 21st century, or how do we organize our economy so it is not dependent on high throughput material consumption and technologies that disrupt the biosphere?
While Commoner was widely known for his environmental activism and for applying science toward a public purpose, he was also a brilliant and creative scientist working across fields of biology and physics. He began his career investigating the tobacco mosaic virus. He used electron spin resonance to study free radicals (molecules with one rather than two electrons in the outer shell which gave them unique chemical properties).
While researching the history of biology, I came across Commoner's early writings in molecular genetics. In 1964 and 1968 Commoner published articles in Nature where he questioned the Watson-Crick theory of DNA in inheritance and criticized the central dogma of molecular biology. Commoner contended that DNA was not self-replicating and that their theory failed to account for the role of proteins. He left that debate aside and came back to it many years later.
I came across a comment by Commoner in the media that stated that many of the new genetically modified products had already been tested in nature's genetic exchanges. I wrote him and explained that the new biotechnology was similar to the rise of synthetic organic chemistry and could do things nature had not imagined or tried out. Moreover, I reminded him of his early work which was emblematic of an anti-reductionist approach to biotechnology. Some time passed and I learned that Commoner was steeping himself in the newest studies of molecular biology. Then, in 2002 he published a widely distributed article in Harpers Magazine titled "Unraveling the DNA Myth: The Spurious Foundations of Genetic Engineering." This took him full circle from his 1968 Nature paper "Failure of the Watson-Crick Theory as a Chemical Explanation of Inheritance." In his essay he questioned the biological claims of the new agricultural biotechnology enterprise.
When I began teaching a course on the political economy of the environment, I was drawn to Commoner's work. He wrote compellingly about energy, population growth, industrial production, reductionism in science and the responsibility of scientists. His book Science and Survival, published in 1963, is a classic. I also had access to audio lectures he made on ecology and survival. As a lecturer he had in his voice all the drama of a seasoned thespian. He used his stage presence as effectively as any speaker I have ever heard. And he was masterful at simplifying complex science to a general audience. I can still hear his resonant voice bellow out in the audio tapes: "We use atomic energy to heat water to 3,000 degrees when all we need is steam that requires 212 degrees."
Sheldon Krimsky, PhD, is Chair of the Board of Directors of the Council for Responsible Genetics.


Gardiner — Norman Abbott Gosline, age 83, died after a short but valiant fight with cancer March 23, 2019.
Born Nov. 6, 1935, at Gardiner Hospital, he was the son of Arthur N. Gosline Sr. and Katherine R. (Wadsworth) Gosline, both of whom predeceased him.
Norman was the youngest of six siblings, Mary Frances (Fran) Gosline Towle, Walter Wadsworth Gosline, Arthur N. "Skip" Gosline Jr., Ann Margaret Gosline Blaisdell and Robert W. "Bob" Gosline.
Norman was a well-respected real estate professional with more than 50 years in real estate appraisal, brokerage and consulting, serving Maine, New England and the maritime provinces of Canada. He received many honors and awards, such as Realtor to Realtor Emeritus, president of the Kennebec Valley Board of Realtors, president of the Maine Association of Realtors, co-founder and dean of the Tri-State Realtor Institute, and director of the National Association of Realtors.
In the appraisal field, Norman earned the coveted Member, Appraisal Institute professional designation, served twice as president of the Maine chapter of the Society of Real Estate Appraisers, served as president of the New England chapter of the American Institute of Real Estate Appraisers, was chair of the Northeast Region of the Appraisal Institute and served two terms on the National Board of Directors for the Appraisal Institute. He was designated a Counselor Real Estate, becoming the second ever for the state of Maine. In recognition of his standing in the eeal estate community, Norman was selected to visit and meet with officials and participants of the Peoples Republic of China by the Eisenhower Foundation "People to People" Program in June of 1994.
He was a charter member and co-founding member of the Board of Directors of the Maine Self Storage Association. He was a member of Kora Temple Shrine Motor Corps for more than 20 years, a public member of the state of Maine Land for Maine's Future Board and its Appraisal Oversight Committee. A final point of Norman's service to the public is his rejuvenation of the Gardiner Public Landing, The Great Kennebec River Whatever Race and his many contributions to the Augusta Historical Society.
During his youth and early adulthood, Norman was a communicant of Christ Episcopal Church. He also had a distinguished involvement of more than 50 years with the Gardiner Rotary Club, serving as a president as well as the club's second ever honored as a Paul Harris Fellow of Rotary International. He also served on the Gardiner Planning Board and the city's Ambulance Advisory Committee.
Always interested and observant, Norman made contributions to his community, state and nation, and was a follower of national and world affairs as reported by the media, and demonstrated his integrity by being asked to serve as best man at his late first wife's second marriage ceremony.
He was predeceased by his first wife, Joan Crosman, their daughter Lee, her son Troy, and Norman's step-son William K. Hoch Jr. and William's wife, Kimberly.
Norman is survived by his loving and patient wife of 42 years, Shirlene Heath Hoch Gosline; son Jeffrey, his wife, Sandra, of New London, Pa., and their three sons, Matthew, his wife, Brandy Phillips, and their two girls, Isabella and Sophia, Benjamin, and Nicholas; son Mark, his wife, Brenda, of Waterville, and daughter Hannah; stepchildren Jolene Hoch, her partner, Mike Coutts, of Randolph, and her daughter, Andrea, and her partner, Dayna Kramer; and Ellen M. Hoch of Connecticut; his granddaughter, Tiffany, husband Brandon andtheir four children, Taylor, Leah, Cole and Maggie; as well as a near score of nieces and nephews from Maine to California to Florida. Additionally, beloved "daughter" Meredith "Merri" Lindstrom; and an exceptional professional assistant for more than 40 years, Donna Phillips.
Visitation will be held at Staples Funeral Home and Cremation Care, 53 Brunswick Ave., Gardiner, Thursday, March 28, from 5. to 8 p.m. A funeral service be held Friday, March 29, at 11 a.m. at Christ Episcopal Church, Dresden Avenue, Gardiner, with the Rev. Kerry Mansir presiding. A spring burial will be held at Oak Grove Cemetery in Gardiner.
Donations may be made in Norman's memory, to the Center for Grieving Children, 555 Forest Ave., Portland, ME 04101.


Abstract: Absolute chronologies of active volcanoes and consequently timescales for eruptive behaviour and magma production form a quantitative basis for understanding the risk of volcanoes. Surprisingly, the youngest records in the geological timescale often prove to be the most elusive when it comes to isotopic dating. Absolute Holocene volcanic records almost exclusively rely on 14C ages measured on fossil wood or other forms of biogenic carbon. However, on volcanic flanks, fossil carbon is often not preserved, and of uncertain origin when present in paleosols. Also, low 14C-volcanic CO2 may have mixed with atmospheric and soil 14C-CO2, potentially causing biased ages. Even when reliable data are available, it is important to have independent corroboration of inferred chronologies as can be obtained in principle using the 40K/40Ar decay system. Here we present results of a 40Ar/39Ar dating study of basaltic groundmass in the products from the Pleistocene – Holocene boundary until the beginning of the historic era for the north-northeastern flank of Stromboli, Aeolian Islands, Italy, identifying a short phase of intensified flank effusive activity 7500±500 yrs ago, and a maximum age of 4000±900 yr for the last flank collapse event that might have caused the formation of the Sciara del Fuoco depression. We expect that under optimum conditions 40Ar/39Ar dating of basaltic groundmass samples can be used more widely for dating Holocene volcanic events.


Last night I was busy making signages for my stall for Noel Park's first Jumble Trail and I'm really happy with the way they turned out too- nice and simple. I don't really do hand painted signs that often either so it was quite refreshing to be able to do something slightly new.
I was going to bake a cake for my stall too, but then I decided I was being way too ambitious with the idea so left it at that. Plus, the last time I baked was a distant memory and baking a cake which I've never tried out before was probably not a good idea as well.
Some quick ink doodles for my stall.
What a lovely way to spend the day meeting my neighbours and generally having a right good old chit chat, as you do! The event for me was more about community spirit, getting to know people from the area, and knowing that your items are going to a good home rather ending up in the bin. The day also prompted some locals who hadn't signed up for it had spontaneously got out whatever was in their house and made a day of it, which is what I loved about the Jumble Trail.
I'm hoping there'll be another Jumble Trail in the near future as many of the locals have expressed their interest in another one. Here's to the kind spirits of Noel Park folks and bring on the jumbley goodness! (Note: for the next one I will have perfected a carrot cake and a Victoria sponge cake).
Hello neighbour, thought I would check out your web page great illustrations loving the cards.
I second the cakes idea I love a good bake off.
Jo, I've only just seen your comment! Not sure why I don't get notifications.. anyway, here's to another potential Noel Park Jumble Trail! The organiser has schedule a pub meeting sometime in September to get feedback on the day.


text:
// Provides default renderer for control sap.ui.table.ColumnMenuRenderer
sap.ui.define(['jquery.sap.global', 'sap/ui/core/Renderer', 'sap/ui/unified/MenuRenderer'],
	function(jQuery, Renderer, MenuRenderer) {
	"use strict";

	/**
	 * Renderer for the sap.ui.table.ColumnMenuRendere
	 * @namespace
	 */
	var ColumnMenuRenderer = Renderer.extend(MenuRenderer);

	return ColumnMenuRenderer;

}, /* bExport= */ true);


$10 monthly service charge if available balance falls below $1,000.
$10 monthly service charge if available balance falls below $10,000.
Relationship is defined as Direct Deposit Checking.
Interest is compounded monthly. Interest is credited to your account monthly. We use the daily balance method to calculate the interest earned on your account. The daily balance method applies a daily periodic rate to the account balance each day.


text:
Art protest against HS2 tree massacre
'Last stand' demo joined by Martin Rowson, Adam Dant and Sian Berry
30 June, 2018 — By Billie Manning
Dan Llywelyn Hall
CAMPAIGNERS staged a two-day "art-making protest" over High Speed 2 axing mature trees and closing public parks.
HS2 is in the process of transforming Euston Square Gardens into a temporary taxi rank as part of its £57billion railway project.
The "Last Stand" demonstration, throughout Tuesday and yesterday (Wednesday), was organised by artist Dan Llywelyn Hall in a final bid to stop the works.
He said: "What we're saying is that this part of the project can still be reconsidered, because it's nothing to do with the infrastructure of the track. It's purely a service point which could, with some imagination, be relocated."
Mr Rowson's cartoon
Guardian cartoonist Martin Rowson and artist Adam Dant spent time in the park and Green Party politician Siân Berry also attended.
Paintings created during the protest will be part of an exhibition at the Crypt Gallery in Euston Road from until July 8.
An HS2 statement said: "We recognise the importance of the trees and gardens around Euston to people living and working near the station and we are working with London Borough of Camden to ensure that all trees lost during construction are replaced and other open spaces in the local community are enhanced.
"Supporting the natural environment is just as important to us as building stations, regenerating city centres and supporting the economy. That's why, alongside HS2, we are also creating a new 'green corridor' of woodland, wildlife habitats and new community facilities to leave a lasting legacy of high quality green spaces all along the route.
15 drivers a day are hit with fines at same roundabout
03 January — By Sam Ferguson
Objections to proposed left turn ban in Camden Town
Union activist's megaphone is 'no weapon', judge rules
Calls for inquiry into Crossrail delays 'disgrace'

redpajama_set_name: RedPajamaCommonCrawl


Huhn, E A; Fischer, T; Göbl, C S; Todesco Bernasconi, M; Kreft, M; Kunze, M; Schoetzau, A; Dölzlmüller, E; Eppel, W; Husslein, P; Ochsenbein-Koelble, N; Zimmermann, R; Bäz, E; Prömpeler, H; Bruder, E; Hahn, S; Hoesli, I (2016). Screening of gestational diabetes mellitus in early pregnancy by oral glucose tolerance test and glycosylated fibronectin: study protocol for an international, prospective, multicentre cohort trial. BMJ Open, 6(10):e012115.
This list was generated on Thu Apr 25 13:01:05 2019 CEST.


A spacious two double bedroom flat located on the top floor of this converted house. Good condition throughout. Large reception room. Separate kitchen. Available part furnished. Communal gardens. Rear off street parking and available 5th June.


Dr. Sanchez is currently an Associate Professor in Computer Science at the University of Warwick, UK. He has a background in computer science and engineering with applications to diverse areas, including medical image processing and simulation. He has developed algorithms to manage and analyze whole slide images (WSIs), currently used in digital pathology. His contributions have allowed pathologists to access these imaging data remotely more efficiently, as well as facilitated the development of computer-aided diagnosis techniques using machine learning.
A health services researcher and Professor at the School of Population and Public Health, the University of British Columbia focuses on access, processes and outcomes of care delivery.
Health technology is a hot topic, particularly when it comes to patient engagement! The Health Technology Assessment (HTA) team at C2E2, is an independent academic group contracted by the BC Ministry of Health to produce Health Technology Assessments. The team will carefully look at the strengths and weaknesses of health care technologies and processes, old or new, and recommend whether they should be used across the province.
"If all hip fracture surgeries were within two days of admission, one in six deaths among delayed surgeries would have been avoided," says Dr. Boris Sobolev, leading author of a study recently published by the Canadian Medical Association Journal. The study compared various timing standards for surgical treatment of older adults with hip fracture who otherwise are medically stable.
Why is Canada so behind in research on climate change and health?
Congratulations to Professor Boris Sobolev who received the Best Oral Presentation Award at 2018 Global Congress in Dublin for a talk on findings from his study on 48-hour policy for the timing of hip fracture surgery.
Dr. Corinne Hohl is an Associate Professor in UBC's Department of Emergency Medicine, an Attending Physician in the Emergency Department at Vancouver General Hospital and a Scientist at the Centre for Clinical Epidemiology and Evaluation. Her main research interests are in emergency medicine, drug safety and effectiveness and adverse drug event surveillance. Dr. Hohl's research program aims to improve the safety of patients using prescribed medications by building better systems and enhancing research capacity.


Alternative Medicine may contact me regarding special promotions and events.
*Rate valid only in the U.S. Only. Natural solutions is published 10 times per year, Alternative Medicine is published six times per year.


text:
AFLW: Erin Phillips wins competition's inaugural best and fairest award
By Samantha Lane
Updated March 29, 2017 — 8.46am first published March 28, 2017 — 9.28pm
Football tradition turned on its head. Dramatically. Touchingly.
The setting was familiar: a black tie function, men and women dressed in finery, a three-course meal, speeches and a vote count.
Then, the season's best Australian Rules footballer was announced by the AFL's chief executive. And the best player, on this unprecedented night, was a she.
She was Erin Phillips.
Sealed with a kiss: Erin Phillips is congratulated by wife Tracy. Credit:Pat Scala
And as of last Saturday, she was not merely an Australian Olympian but an Adelaide Crows premiership player.
When AFL boss Gillon McLachlan declared on Tuesday, that 14 votes from umpires made Phillips peerless in the eight-week inaugural AFL women's season, the winning footballer smiled. She then kissed her wife on the lips.
Within a minute, Phillips was sharing the joy with the audience which included out-going AFL Commission head, Mike Fitzpatrick who - when he raised the toast to Phillips - remarked, rightly: "well, this is a new experience".
Phillips thanked the AFL for starting the AFL women's league three years earlier than originally planned.
Erin Phillips with the inaugural AFLW best and fairest medal. Credit:Pat Scala
She spoke about the four-and-a-half-month-old twins that her American wife, Tracy, carried and has also breast-fed through this convention-smashing inaugural AFLW season.
"I'm just unbelievably honoured," she said.
These were the first words Phillips said after having a medal – the as-yet-unnamed highest individual AFL accolade for a female player - put around her neck.
Phillips polled three votes in each of the Crows' first two games in the AFLW – best afield against Greater Western Sydney and the Western Bulldogs, well before anyone knew she would go on to be best on ground in last Saturday's landmark grand final.
"As soon as I was born I wanted to play footy. My poor father, I never let him sit down," the hard-bodied, deftly-skilled athlete reflected.
Phillips's father is Greg Phillips, a South Australian football champion who now, with wife Julie, is helping Erin and her wife, Tracy, with their twins, Brooklyn and Blake.
Erin and Tracy – married in America – have recently moved back into the Phillips' family nest for the extra support as one of the twins' mum has dominated the first AFLW season in the first AFLW premiership side.
"Every bit of this is owed to you," 31-year-old Phillips said to her wife on the stage.
"I love you and thank you so much."
What has playing AFLW meant to Phillips, who played basketball for Australia at the Beijing Olympics and, in a fortnight, returns to America with brood to play in the WNBA for Dallas?
"It has meant everything," she said.
"I was 13 years old and I was told I wasn't allowed to play footy any more with the boys. So to have this 17 years later; it's alright."
She was so much better than alright. She helped light the AFLW up.
Samantha Lane
Samantha Lane is a former AFL reporter for The Age.
Most Viewed in Sport


text:
34American Bar Association
Standing Committee on Law and National Security
7Duke University
7University of Virginia
7School of Law
4University of Arizona
2American Bar Association
Administrative Law and Regulatory Practice Section
2University of Missouri, Columbia
Showing 1 - 20 of 34 Show 34
December 1, 2014 Last Aired January 4, 2015
Whistleblowers, Leaks, and the Media
The editors and a contributor to the book Whistleblowers, Leaks and the Media: The First Amendment and National Security talked about the legal and policy issues surrounding the media's coverage of national…
March 28, 2013 Last Aired April 4, 2013
International Law and Cyber Warfare
Panelists talked about the origin and process of developing the Tallinn Manual on the International Law Applicable to Cyber Warfare. Commissioned in 2009 by the NATO Cooperative Cyber Defence…
March 20, 2013 Last Aired March 25, 2013
New Technologies, National Security, and the Law
Andrew Weissmann, general counsel for the Federal Bureau of Investigation, talked about new technologies and the challenges the FBI and other law enforcement agencies face in getting private communications records for…
December 13, 2012 Last Aired December 17, 2012
Protecting the Infrastructure
Suzanne Spaulding talked about strengthening and securing national critical infrastructure against hazards such as extreme weather, cyber- and human-made threats, and physical…
February 18, 2011 Last Aired March 28, 2011
Judge Vaughn Walker on Cameras in the Courtroom
Judge Vaughn Walker spoke about the history of cameras in the courtroom. He focused on precedents set by the Ninth Circuit over the past 20 years, reaction to several highly publicized trials, as…
Fair Trials and a Free Press
Participants spoke about press freedoms, the administration of justice, conduct of fair trials, and challenges posed to the process by the use of new media. They also responded to questions…
High Profile Cases in the Digital Age
Panelists talked about the challenges of handling and covering high-profile cases from the perspective of judges, court staff, lawyers, and journalists. Issues included courtroom coverage,…
Federal Appeals Courts and New Media
Panelists talked about the impact of federal courts of appeals and how the new media may be changing their anonymity and their public face. Because the Supreme Court hears so few cases, the federal…
January 13, 2011 Last Aired January 16, 2011
National Security and Privacy
John Pistole spoke about the Transportation Security Agency's efforts to balance privacy rights with securing the airport and railway systems. He also responded to questions from the…
March 3, 2008 Last Aired March 4, 2008
Future Surveillance Laws
The panelists offered suggestions for modernizing the Foreign Intelligence Surveillance Act (FISA) to meet current intelligence challenges. Moderator Suzanne Spaulding asked questions. Then…
November 16, 2007 Last Aired January 27, 2008
Law and Warfare
U.S. Air Force Deputy Judge Advocate General Charles Dunlap delivered the keynote address, titled "Lawfare and Warfare," at the 17th Annual Review of the Field of National Security Law…
Justice Department National Security Efforts
Attorney General Mukasey talked about the need to modernize the Foreign Intelligence Surveillance Act (FISA). FISA regulates the when the government must obtain a court order in order to…
November 16, 2007 Last Aired November 27, 2007
Congressional Regulation of Intelligence
The panelists talked about the constitutional role of Congress in intelligence operations. Other topics included the policy issues of unilateral presidential action versus working with Congress, the…
Democracy and National Security
The panelists talked about reconciling national security demands for secrecy with the democratic imperative for openness. Panelists advised presidential candidates of both parties on issues such as the…
Efforts to Combat Terrorism
James Comey talked about law enforcement activities and the government's role in counterterrorism efforts in a speech titled "Finding Common Ground in Fighting Terrorism." Mr. Comey, senior…
November 30, 2006 Last Aired December 8, 2006
Secretary Chertoff delivered a dinner keynote address at the National Security Law Conference. Topics included the relationship between law and national security, worldwide terrorism…
December 1, 2006 Last Aired December 7, 2006
Civil Litigation and Terrorism
Assistant Secretary Baker opened the National Security Law Conference with remarks on U.S. security interests and law enforcement programs to strengthen national security. Following opening…
Executive Branch View of National Security Law
Panelists talked about new developments in national security, the role of the executive branch in setting and enforcing national security policy, as well as legal and constitutional…
National Security, Leaks, and the Press
The panelists talked about the topic of national security secrets in a democracy, including leaks, whistleblowers, and the media. Other topics included classified documents,…
Detaining and Prosecuting Terrorists
A roundtable discussion was held on detaining and prosecuting alleged terrorists. Topics included the history of enemy detention, Supreme Court rulings, and the creation of military…


text:
Q: jsPDF, base64 image from url: dataurl not defined I'm making an ondemand catalogue. The user can save items to the localstorage and next build it's catalogue from these saved value's. On the final page they are able to export this to a pdf. I use jsPDF in combination with a function to make base64 images from a url.
For making the base64 file I'm using approach 2 from: How can I convert an image into Base64 string using JavaScript?
I use the CMS Kirby. I run this script in a php-file because I need to have the php-language to compose the right url to the image.
Here is the full function:
function pdfmerge() {
  const doc = new jsPDF('p', 'mm','a4',true);
  doc.setFontSize(30);
  doc.text('Title', 8, 20);
  doc.text('On-demand Catalog', 8, 30);

  for (let i = 0; i < localStorage.length; i++)   {
      if (localStorage.getItem(localStorage.key("kirby$language"))) {
          localStorage.removeItem("kirby$language");
      } else {
      };
      var num = localStorage.getItem(localStorage.key(i));
      doc.addPage();
      doc.setFontSize(10);

      function toDataURL(src, callback, outputFormat) {
        var img = new Image();
        img.crossOrigin = 'Anonymous';
        img.onload = function() {
          var canvas = document.createElement('CANVAS');
          var ctx = canvas.getContext('2d');
          var dataURL;
          canvas.height = this.naturalHeight;
          canvas.width = this.naturalWidth;
          ctx.drawImage(this, 0, 0);
          dataURL = canvas.toDataURL(outputFormat);
          callback(dataURL);
        };
        img.src = src;
        if (img.complete || img.complete === undefined) {
          img.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";
          img.src = src;
        }
      };
      toDataURL(
        '<?= $site->find('full-catalogue') ?>' + '/' + num + '.png', // the url of the image
        function(dataUrl) {
          console.log('RESULT:', dataUrl);
        }
      );
      doc.addImage(dataUrl, 'png', 0, 0, 210, 297, undefined, 'FAST');
      doc.text(num, 8, 6);

  };

  doc.save('re-FORMAT_cat.pdf');
};

The problem:
For some reason the dataUrl is 'not defined' if I view the console…
However this line: doc.addImage(dataUrl, 'png', 0, 0, 210, 297, undefined, 'FAST'); needs to add the base64 image of the saved item.
Not sure how to reformulate it… my head is literaly breaking over this piece of code… I'm foremost a graphic designer who teached himeself to code.
Hope someone can help :)

A: You can put the base 64 string in the dataUrl variable, or use another variable name for no problem.
dataUrl = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";
doc.addImage(dataUrl, 'png', 0, 0, 210, 297, undefined, 'FAST');

I have something similar in my js
var imgData = 'data:image/jpeg;base64,iVBORw0K . . . . . . . . . . . . . ';
doc.addImage(imgData, 'JPEG', 30, 80, 400, 400);


text:
Melaka players starting to show compatibility - Zainal Abidin
MELAKA, Jan 10 (Bernama) -- The Melaka United players are starting to exhibit their compatibility with each other after undergoing three pre-season friendlies through a neater and more orderly playing pattern to form a strong team for the Super League next month.
Its chief coach, Zainal Abidin Hassan said understanding in the team was much needed other than the combination of players in their respective positions showing improvements including the front which was beginning to get their rhythm to create opportunity and finishing in front of the goalpost.
The 58-year-old coach was also satisfied with the performance of the import on trial from Brazil, Anselmo Casagrande who gave a very good performance at the friendly against Singapore team, Warrior FC last night, despite only having arrived here on Friday.
''His combination with another import player, Luka Milunovic showed compatibility despite only being paired up in training only several days ago and we hope the combination will become better in the actual matches in the league.
''Overall, we can see the game of the players are more orderly but undeniably there are several matters which must be rectified and whatever things that are already okay must be improved further and maintained,'' he said when met by reporters here last night.
He was met at the match at the Hang Jebat Stadium, Krubong last night with Casagrande also successfully helping the Mouse Deer squad to win 5-1 over Warrior FC through two goals which were scored in the 15th and 34th minute.
Three more Melaka United goals were scored through Devan Raj in the 27th minute, Milunovic (39th) and Nurshamil Abd Ghani (53rd) while the goal of Warrior FC, the team from Singapore, was netted by Sahil Suhaimi in the 83rd minute.
Commenting further, Zainal said he was satisfied with the action exhibited by the Melaka United defenders headed by experienced players such as Shukor Adan and Razman Roslan.
''We believe these stalwarts, who need a little bit of time to boost their performances, will give the best,'' he said.
Meanwhile, team manager???????, Datuk Mohd Yusoff Mahadi said he hoped Zainal would use the advantages possessed by Casagrande in the coming matches.
''We take him into the team based on his excellent record and destructive touch and reputation as the top goal scorer with the previous team, so we hope the touch will also happen with Melaka United," he said.
Melaka United would leave for Vietnam this evening for three friendlies with the clubs there and would return to face Sarawak on Jan 21 at the Hang Jebat Stadium.


may enhance their own appears significantly.
starting to value all of them.
discount rates whenever purchasing at wholesale prices through trustworthy eyeglass manufacturers.
costs via going to those sites which signify numerous eyeglasses creative designers.
certainly get the eye of numerous clients.
shop, location a good purchase as well as assume for that shipping from the item.
promoting the most recent design eyeglasses, that are really appealing as well as full of high quality.
think about much better options through well-liked creative designers however along with inexpensive price.
work on the internet as well as near the offer along with client satisfaction assured.
the actual Western Eyeglasses make sure you go to the website from shoresoptical. com.


Former New England mob underboss Gennaro "Jerry" Angiulo has died.
The 90-year-old Angiulo died yesterday, according to the Joseph A. Langone Jr. Funeral Home, which is handling funeral arrangements.
Federal authorities said Angiulo ran Boston's rackets for the Patriarca crime family from the 1960s until the early 1980s. He served 24 years in federal custody for racketeering, and was released from a prison hospital on parole in 2007.
Angiulo and his three brothers were convicted in February 1986 with evidence from conversations the FBI secretly recorded. In 1998, it was revealed in federal court that gangsters James "Whitey" Bulger and Stephen "The Rifleman" Flemmi gave the FBI instructions on where the bugs should be planted.


text:
Jerry Schemmel, Rockies radio voice, returns to Iowa for 1989 plane crash anniversary
By Nick Groke
Jerry Schemmel
Rockies radio announcer Jerry Schemmel. (Helen H. Richardson, Denver Post file)
Rockies radio announcer Jerry Schemmel missed Friday's game at Pittsburgh so he could return to Iowa for the 25th anniversary of the crash of Flight 232 in Sioux City.
Schemmel was a passenger on a United DC-10 en route from Denver to Chicago on July 19, 1989 when the plane lost its hydaulic power, a rear engine exploded and crashed in a corn field near Sioux City.
The plane cartwheeled down a runway, killing 112 people on board.
Amazingly, 184 people survived. Schemmel was one of them.
"It was complete chaos. Bodies thrown about the plane. Others were thrown from their chairs. There was smoke and fire and debris," Jerry Schemmel, 54, told The Associated Press.
Schemmel's story is incredible. He walked back into the burning debris for a baby he heard crying. Maybe you've heard Schemmel give a speech to high school seniors or church groups about his experience. Or maybe you saw an ESPN report about Schemmel and the crash (it's posted below).
But he always seemed, in a way, reluctant to talk about it. Schemmel, after attending anniversary memorial services this weekend, said he wants to put it all behind him after 25 years.
"I think as much as anything, it will be good for my family. Our son, who is 15, is going to come along," he said. "After this weekend, it will be a chapter we can close."
Rockies bullpen problems swell in Pittsburgh — with no end in sight
Rockies owner Dick Monfort speaks his mind on KOA radio


The Mission Inn, a grand destination in the understated city of Riverside, draws locals and tourists year round with their beautiful rooms, wedding-friendly grounds, macaws and of course the annual Festival of Lights that wows each year during the holiday season. Even Yorba Linda's Richard Nixon married Pat there, dontcha know.
But this Feburary, the historic hotel launched what they hope becomes a new annual tradition: the Festa dell' Amore, which translates to the Festival of Love. Truth be told, the Mission Inn would have to do very little to transform their grounds for a Valentine's Day destination. The Inn and surrounding gardens just ooze romance, from the string lights to the impeccably decorated Spanish-influenced decor to the mood lighting.
But they step up their romance game in February, starting in the lobby with a wall of faux roses for the perfect photo op. Venture up to your room and for additional fees you can experience a rose petal treatment with flickering e-tealights (complete with heart-shaped rose petals on the bed) or order a dozen long-stem red roses to await you upon entering. Perhaps your love is more of a sweet tooth; satiate them with in-room chocolate dipped strawberries or Casey's Cupcakes, which has a bakery on the grounds and roots in Orange County, what with Casey being a Laguna Beach: The Real OC star and with a location at the Irvine Spectrum.
And there are several other more modest romantic accents you can add to your room by contacting the concierge (contact info at the bottom of this article).
Of course, what courtship or display of affection would be complete without food? While there are multiple restaurants at the Inn, the Mission Inn Restaurant (with gorgeous star and string lighting) and Duane's Prime Steaks and Seafood really bring the luv.
At a recent media dinner, reporters such as yours truly sampled inspired dishes from each of the Mission Inn's fine restaurants. Some exciting dishes included the salad (yes, the salad), topped with duck prosciutto and punctuated with pomegranate seeds. The second course of seared sea bass melted off the fork. The grand finale of a passion fruit tartine of sorts, had equal parts crisp from the flaky pastry and equal parts natural sweetness from the passion fruit jam, the symbolism not lost on this reporter.
And if the theme of your stay is love and romance (and the odds are it is, what with 250 marriages performed here yearly and numerous other engangement and nuptual photos performed here), don't just stop at the accommodations and the restaurants. Experience the romance of generations prior with a trip to the chapel (where Bette Davis married in 1945) or a drink at the Presidential Lounge, which was just that—a presidential suite, and place of the nuptials of Richard Milhous Nixon and Thelma Catherine "Pat" Ryan in 1940—right by the fireplace that still stands in the bar today.
And if that wasn't romantic enough for you, perhaps the fact Ronald and Nancy Regan honeymooned at the Inn might make you Swing Your Lady or have you call her The Amazing Dr. Clitterhouse. Too obscure? Yeah, let's just laugh and have a drink at the Presidential Lounge and pretend I'm funny instead.
The Festa Dell'Amore is booked for 2017. The Mission Inn plans to continue the tradition in February 2018. But of course you never know about last-minute cancellations through the month of February so call the concierge at (941) 341-6701 ext. 5051 or email concierge@missioninn.com.
When not running the OCWeekly.com and OC Weekly's social media sites, Taylor "Hellcat" Hamby can be found partying like it's 1899.