webi Posted November 19, 2014 Report Share Posted November 19, 2014 Tapēc, ka te daži taisās arā par lieliem interneta profesoriem, bet patiesībā ir kompleksaini puišeļi, kuriem šeit ir vienīgā iespēja pacelt savu pašapziņu, paspīdot ar zināšanām par pašu neradītām "augtākajām" tehnoloģijām.Izslēdzot šos indivīdus, cilvēki normāli atbildēja autoram. Quote Link to comment Share on other sites More sharing options...
Kemito Posted November 19, 2014 Report Share Posted November 19, 2014 Galvenais, ka katrs cīnās par savu taisnību, cits citam pirkstus grib cirst nost, un tagad pasakiet, kā cilvēks, lai saprot, kuru variantu izvēlēties? Quote Link to comment Share on other sites More sharing options...
codez Posted November 19, 2014 Report Share Posted November 19, 2014 (edited) Reāls vienkāršots, bet pamatā strādājošs Amazon S3 piemērs: Ja iesācējs to nespēj sagremot, tad visdrīzāk nevajadzētu nodarboties ar programmēšanu: PHP: $s3 = S3Client::factory(["key" => $key, "secret" => $secret]); $result = $s3->putObject([ 'Bucket' => $bucketname, 'Key' => $filename, 'SourceFile' => $path ]); echo $result['ObjectURL']; Scala: val client = new AmazonS3Client(new BasicAWSCredentials(key, secret)) client.putObject(bucketname,filename,file) Nedomāju, ka tas ir sarežģītāk par visām mkdir, move_uploaded_file, utml. kombinācijām. Edited November 19, 2014 by codez Quote Link to comment Share on other sites More sharing options...
daGrevis Posted November 19, 2014 Report Share Posted November 19, 2014 Mkdir, move_upload_file un tamlīzdīgs bullshit ir kkas, ko tev uzspiež glabāšana filesistēmā un ir incidental complexity. Ja mēs pieņemam, ka viena rindiņa ir **jebkurā valodā**, uz **jebkura backenda** (filesistēma, datubāze utml.), kādi ir plusi un mīnusi katram? Quote Link to comment Share on other sites More sharing options...
Kavacky Posted November 19, 2014 Report Share Posted November 19, 2014 incidental complexity.Paspēlējam vēl bullshit bingo? Tas, ka kaut kādai kosmosa abstrakcijai ir vienkāršs interfeiss, protams, norāda, ka tur nekā kompleksa nav. Quote Link to comment Share on other sites More sharing options...
Kasspars Posted November 19, 2014 Report Share Posted November 19, 2014 (edited) daGervi, Nu bet uzraksti savu bibliotēku, kas abstrahē mkdir, move_uploded uttt un ekspozē tikai vienu metodi putObject un arī glabāšanas failsistēmā liksies pasakaina Edited November 19, 2014 by Kasspars Quote Link to comment Share on other sites More sharing options...
jurchiks Posted November 19, 2014 Report Share Posted November 19, 2014 Ar katru dienu arvien trakāk. Quote Link to comment Share on other sites More sharing options...
Kasspars Posted November 19, 2014 Report Share Posted November 19, 2014 Nosaukt mkdir par bullshitu ir liela necieņa! Mkdir ir mazais melnais rūķis, kas katru dienu tev uz liuxa taisa mapes priekš taviem projekta failiem, priekš assetu failiem. Jā, viņš ir maziņš, vecs un neinteresants, bet tu bez viņa nevari. Quote Link to comment Share on other sites More sharing options...
daGrevis Posted November 19, 2014 Report Share Posted November 19, 2014 Labi, nav jēgas te runāt. Kad kāds no jums zinās kas vispār ir “incidental complexity“, varam padiskutēt. Quote Link to comment Share on other sites More sharing options...
jurchiks Posted November 19, 2014 Report Share Posted November 19, 2014 The train just keeps on rolling... Quote Link to comment Share on other sites More sharing options...
Kavacky Posted November 19, 2014 Report Share Posted November 19, 2014 daGrevis lielais zinātājs, bļe. LOL. Quote Link to comment Share on other sites More sharing options...
webi Posted November 19, 2014 Report Share Posted November 19, 2014 http://www.grapheine.com/bombaytv/studio-en-9746147ae67a4859fd5821be17cffe7f.html Quote Link to comment Share on other sites More sharing options...
codez Posted November 19, 2014 Report Share Posted November 19, 2014 Vismaz kāds(webi) māk labi troļļot. Quote Link to comment Share on other sites More sharing options...
F3llony Posted November 19, 2014 Report Share Posted November 19, 2014 (edited) F3llony, kur tavā piemērā ir asinhronais MQ, kurš nogādā failu uz Cloud storage vai, piemēram, resizo bildes utml.? Freimworkā?! Saglabā failu->piesaka MQ tasku->atgriež steitu aploading. MQ tālāk ir consumer, kas ar to nodarbojas. Edited November 19, 2014 by F3llony Quote Link to comment Share on other sites More sharing options...
jurchiks Posted November 19, 2014 Report Share Posted November 19, 2014 http://www.grapheine.com/bombaytv/studio-en-9746147ae67a4859fd5821be17cffe7f.html Labais :D Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.