How should I provide data(or dto) to service?

How should I provide data to a service correctly? For example in submitForm() I use the following code. $this->session->set(‘var1’, $name); $this->session->set(‘var2’, $count); $form_state->setRedirect(‘test.task’); I have a service where I want to access the data from the session and save it in the database. Should I read the data from the session in a controller and…

Details

No Guile Development package found im compiling open-connect source code from git-hub

*** Detecting GNU Guile… checking for guile-snarf… /usr/bin/guile-snarf checking for guild… /usr/bin/guild checking for arm-linux-androideabi-pkg-config… /usr/bin/pkg-config checking pkg-config is at least version 0.9.0… yes configure: checking for guile 2.2 configure: checking for guile 2.0 configure: checking for guile 1.8 configure: error: No Guile development packages were found. Please verify that you have Guile installed. If…

Details

Ubuntu image file has no source

I got a backup of holiday pictures on my external hard drive, but some JPGs are data only. If I execute the file command, I get e.g. 2015-09-15_07:49:22.JPG: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=14, manufacturer=Panasonic, model=DMC-LF1, orientation=upper-left, xresolution=200, yresolution=208, resolutionunit=2, software=Ver.1.2 , datetime=2015:09:15 07:49:23], baseline, precision 8, 4000×3000, components 3 2015-09-15_07:49:32.JPG:…

Details

merge values from two files on the same parameters

we have two files – primary.txt and secondery.txt on both files we have the same parameters , but on secondary.txt they are not ordered as the primary.txt more primary.txt param.avarge.com 3443 param.no.com 43 param.lol.com 54 param.tis.com 24 param.er.com 254 param.nh.com 13 param.pl.com 456 param.nm.com 534 param.asd.com 236 more secondery.txt param.no.com 42 param.lol.com 51 param.tis.com 21…

Details