Logs: freenode/#haskell
| 2021-04-28 09:04:13 | × | ddellacosta quits (~ddellacos@86.106.143.242) (Ping timeout: 276 seconds) |
| 2021-04-28 09:06:42 | × | RusAlex quits (~Chel@unaffiliated/rusalex) (Ping timeout: 268 seconds) |
| 2021-04-28 09:06:49 | × | idhugo__ quits (~idhugo@80-62-116-231-mobile.dk.customer.tdc.net) (Ping timeout: 276 seconds) |
| 2021-04-28 09:08:24 | → | bennofs_ joins (~quassel@x4dbff94d.dyn.telefonica.de) |
| 2021-04-28 09:08:24 | → | RusAlex joins (~Chel@unaffiliated/rusalex) |
| 2021-04-28 09:14:40 | × | Qwerky_ quits (~qwerky@37.170.48.251) (Remote host closed the connection) |
| 2021-04-28 09:17:09 | → | themk joins (~lukec@14-203-137-238.tpgi.com.au) |
| 2021-04-28 09:23:46 | × | fre quits (~freusque@104.238.190.229) (Quit: fre: znc bye) |
| 2021-04-28 09:24:13 | → | DavidEichmann joins (~david@147.136.46.217.dyn.plus.net) |
| 2021-04-28 09:24:31 | → | Qwerky joins (~qwerky@37.170.48.251) |
| 2021-04-28 09:25:21 | × | Guest36391 quits (~iomonad@95.179.211.27) (Ping timeout: 245 seconds) |
| 2021-04-28 09:25:40 | → | dvdp73 joins (59736826@38.104.115.89.rev.vodafone.pt) |
| 2021-04-28 09:26:45 | × | ech quits (~user@gateway/tor-sasl/ech) (Ping timeout: 240 seconds) |
| 2021-04-28 09:28:13 | → | fre joins (~freusque@104.238.190.229) |
| 2021-04-28 09:28:49 | → | wmacmil joins (~wmacmil@c83-248-72-252.bredband.comhem.se) |
| 2021-04-28 09:29:08 | × | Qwerky quits (~qwerky@37.170.48.251) (Ping timeout: 258 seconds) |
| 2021-04-28 09:29:21 | → | knupfer joins (~Thunderbi@p200300eb4f122d00641e6bfffebd888e.dip0.t-ipconnect.de) |
| 2021-04-28 09:30:02 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-28 09:30:43 | <wmacmil> | if i run `readProcess "ls" ["*jpg"] ""` i get the exception `ls: cannot access '*jpg': No such file or directory` |
| 2021-04-28 09:31:31 | <wmacmil> | why is this an incorrect arguement by the readProcess standard when `ls *.jpg` works just fine from the command line |
| 2021-04-28 09:31:45 | → | acidjnk_new2 joins (~acidjnk@p200300d0c72b9524d9e45372e00f3038.dip0.t-ipconnect.de) |
| 2021-04-28 09:32:08 | <Rembane> | wmacmil: Which readProcess are you using? |
| 2021-04-28 09:32:22 | <wmacmil> | System.Process |
| 2021-04-28 09:32:31 | <themk> | It's because it doesn't do glob expansion. |
| 2021-04-28 09:32:35 | <themk> | That is normally done by your shell. |
| 2021-04-28 09:32:38 | × | vgtw quits (~vgtw@gateway/tor-sasl/vgtw) (Remote host closed the connection) |
| 2021-04-28 09:33:01 | <wmacmil> | themk: thank you, any suggested fix? |
| 2021-04-28 09:33:21 | → | vgtw joins (~vgtw@gateway/tor-sasl/vgtw) |
| 2021-04-28 09:33:26 | <merijn> | wmacmil: Go through the shell |
| 2021-04-28 09:33:28 | → | ddellacosta joins (ddellacost@gateway/vpn/mullvad/ddellacosta) |
| 2021-04-28 09:33:45 | <themk> | Yes, use a shell, or use the Glob library. |
| 2021-04-28 09:34:04 | × | ukari quits (~ukari@unaffiliated/ukari) (Remote host closed the connection) |
| 2021-04-28 09:35:00 | → | ukari joins (~ukari@unaffiliated/ukari) |
| 2021-04-28 09:35:20 | <tdammers> | Note that using a shell is a security minefield, you have to be super careful not to introduce shell injection vulnerabilities. If you decide you want to do it, I recommend not having anything dynamic in your shell command at all. |
| 2021-04-28 09:35:49 | × | knupfer quits (~Thunderbi@p200300eb4f122d00641e6bfffebd888e.dip0.t-ipconnect.de) (Quit: knupfer) |
| 2021-04-28 09:37:04 | → | jgt joins (~jgt@88.225.221.135) |
| 2021-04-28 09:37:13 | <merijn> | I recommend not going through the shell ;) |
| 2021-04-28 09:37:24 | <themk> | Yes, if you do need to glob, the Glob library is really quite good, and will cause less headaches. |
| 2021-04-28 09:37:26 | <Mrbuck> | hi in haskell do we write all things as modules and import them? |
| 2021-04-28 09:37:30 | <wmacmil> | thanks! |
| 2021-04-28 09:37:36 | <Mrbuck> | all things as in every function* |
| 2021-04-28 09:37:51 | <merijn> | Mrbuck: As opposed to? |
| 2021-04-28 09:38:04 | × | ddellacosta quits (ddellacost@gateway/vpn/mullvad/ddellacosta) (Ping timeout: 252 seconds) |
| 2021-04-28 09:40:24 | <Mrbuck> | merijn: not opposing anything just want to know |
| 2021-04-28 09:40:36 | <merijn> | No, I meant: "What's the alternative?" |
| 2021-04-28 09:40:42 | <Cale> | wmacmil: You could also read the directory contents in Haskell using getDirectoryContents, and then filter that, like filter (isExtensionOf "jpg") |
| 2021-04-28 09:41:18 | → | domenkozar[m] joins (domenkozar@NixOS/user/domenkozar) |
| 2021-04-28 09:41:18 | → | EmanuelLoos[m] joins (emanuel-lo@gateway/shell/matrix.org/x-ccfqmpexidbbdgfn) |
| 2021-04-28 09:41:18 | → | mjlbach joins (atriusmatr@gateway/shell/matrix.org/x-bvtmjmmlgatiwtwy) |
| 2021-04-28 09:41:18 | → | CrabMan joins (phi-matrix@gateway/shell/matrix.org/x-ugqyawvncvacxvcr) |
| 2021-04-28 09:41:18 | → | fakubish[m] joins (fakubishne@gateway/shell/matrix.org/x-jbcgigidgtkrgfve) |
| 2021-04-28 09:41:19 | → | mrus[m] joins (mrusmatrix@gateway/shell/matrix.org/x-nwqeewfgxdoywgen) |
| 2021-04-28 09:41:19 | → | vaibhavsagar joins (vaibhavsag@gateway/shell/matrix.org/x-jalplsodfrwfewzt) |
| 2021-04-28 09:41:19 | → | PotatoHatsue joins (berbermanp@gateway/shell/matrix.org/x-gflbqnsamcccztbl) |
| 2021-04-28 09:41:19 | → | hsiktas[m] joins (hsiktasmat@gateway/shell/matrix.org/x-gugdidzornmsbqte) |
| 2021-04-28 09:41:19 | → | Lurkki[m] joins (lurkkifene@gateway/shell/matrix.org/x-tcyfuqvmehhdcnup) |
| 2021-04-28 09:41:19 | → | rednaZ[m] joins (r3dnazmatr@gateway/shell/matrix.org/x-mdycfrjlahowxvor) |
| 2021-04-28 09:41:19 | → | berberman__ joins (berberma4@gateway/shell/matrix.org/x-eblzmaixoufeajtd) |
| 2021-04-28 09:41:19 | → | jeffcasavant[m] joins (jeffcasava@gateway/shell/matrix.org/x-zemrejlpxixrtjdp) |
| 2021-04-28 09:41:20 | → | DevTurks[m] joins (turkdevops@gateway/shell/matrix.org/x-sbrizugrbjkmgmop) |
| 2021-04-28 09:41:20 | → | maralorn joins (maralornma@gateway/shell/matrix.org/x-datqfgpfnslndhmi) |
| 2021-04-28 09:41:20 | → | arcontethegreat[ joins (arcontethe@gateway/shell/matrix.org/x-fynbclknqzbnlvbq) |
| 2021-04-28 09:41:20 | → | alexfmpe joins (alexfmpema@gateway/shell/matrix.org/x-cfbsuzgtowqlpdpa) |
| 2021-04-28 09:41:21 | → | hegz joins (hegzmatrix@gateway/shell/matrix.org/x-lpejkdiwrnzfmzmr) |
| 2021-04-28 09:41:21 | → | johnnyv[m] joins (badwolf256@gateway/shell/matrix.org/x-snikqtdbljwraqcc) |
| 2021-04-28 09:41:21 | → | jesser[m] joins (jessermatr@gateway/shell/matrix.org/x-krbwrrrrfyjdhkbj) |
| 2021-04-28 09:41:21 | → | Hanma[m] joins (hanmamatri@gateway/shell/matrix.org/x-cdkqqwjlurvjchsb) |
| 2021-04-28 09:41:21 | → | lambdaclan joins (lambdaclan@gateway/shell/matrix.org/x-nlffnpghzfabpuxw) |
| 2021-04-28 09:41:21 | → | joe[m]4 joins (joemonoida@gateway/shell/matrix.org/x-wamgtxwemulgqbqt) |
| 2021-04-28 09:41:21 | → | slycelote[m] joins (slycelotem@gateway/shell/matrix.org/x-qxtrzkpokvfkhlib) |
| 2021-04-28 09:41:22 | → | fgaz joins (fgazmatrix@gateway/shell/matrix.org/x-mgevtppufszitkam) |
| 2021-04-28 09:41:22 | → | michaelpj joins (michaelpjm@gateway/shell/matrix.org/x-cegnevincdtrzzmv) |
| 2021-04-28 09:41:22 | → | Lurkki[m]1 joins (lurkkipriv@gateway/shell/matrix.org/x-isyhslhcdxtqiqhe) |
| 2021-04-28 09:41:22 | → | Noughtmare[m] joins (naughtmare@gateway/shell/matrix.org/x-ezpsgshfemjyczoj) |
| 2021-04-28 09:41:22 | → | supersven[m] joins (supersvenm@gateway/shell/matrix.org/x-yllxmwoozxynyliw) |
| 2021-04-28 09:41:22 | → | ThaEwat joins (thaewraptm@gateway/shell/matrix.org/x-edsytnplokpagwcn) |
| 2021-04-28 09:41:22 | → | sm[m] joins (simonmicma@gateway/shell/matrix.org/x-mfesfokfwpleawzk) |
| 2021-04-28 09:41:22 | → | maerwald[m] joins (maerwaldma@gateway/shell/matrix.org/x-pyvdmcxssbqqflsf) |
| 2021-04-28 09:41:23 | → | toasty_avocado[m joins (toastyavoc@gateway/shell/matrix.org/x-blcnavbxkdcehbvk) |
| 2021-04-28 09:41:23 | → | lnxw37d4 joins (lnxw37d4ma@gateway/shell/matrix.org/x-jmtycosfbgskcbjd) |
| 2021-04-28 09:41:23 | → | JaakkoLuttinen[m joins (jluttinema@gateway/shell/matrix.org/x-voemsvmmhmegbjmj) |
| 2021-04-28 09:41:23 | → | johnnyboy[m] joins (gifumatrix@gateway/shell/matrix.org/x-eqxnnnvtcaueqhad) |
| 2021-04-28 09:41:23 | → | jtojnar joins (jtojnarmat@gateway/shell/matrix.org/x-gdynpirehvttuqgd) |
| 2021-04-28 09:41:23 | → | psydruid[m] joins (psydruidma@gateway/shell/matrix.org/x-orfuwvwxmmdbmyxg) |
| 2021-04-28 09:41:23 | → | mith[m] joins (mithmatrix@gateway/shell/matrix.org/x-ivwbchwbjlykkjix) |
| 2021-04-28 09:41:23 | → | loyon joins (loyonmatri@gateway/shell/matrix.org/x-nvvwjgtnydlazhqq) |
| 2021-04-28 09:41:24 | → | bitonic joins (bitonicmat@gateway/shell/matrix.org/x-kznirxeanjsjbohh) |
| 2021-04-28 09:41:24 | → | Guillaum joins (guiboumatr@gateway/shell/matrix.org/x-fvjmbciiwqbgfexw) |
| 2021-04-28 09:41:24 | → | dyniec[m] joins (dyniecmatr@gateway/shell/matrix.org/x-rqjbulqpqdoluiiq) |
| 2021-04-28 09:41:24 | → | M9ndres[m] joins (m9ndresmat@gateway/shell/matrix.org/x-pudfhcvtdpredvew) |
| 2021-04-28 09:41:24 | → | alar[m] joins (alarmxalat@gateway/shell/matrix.org/x-tumhmfppepawepdt) |
| 2021-04-28 09:41:24 | → | TheWizardTower[m joins (thewizardt@gateway/shell/matrix.org/x-wdmliecptdlzuqsx) |
| 2021-04-28 09:41:25 | → | siraben joins (sirabenmat@gateway/shell/matrix.org/x-pzgsdxlvwtqwzhrz) |
| 2021-04-28 09:41:25 | → | pnotequalnp[m] joins (pnotequaln@gateway/shell/matrix.org/x-fqukrforkcqmjqmf) |
| 2021-04-28 09:41:25 | → | chrisbloecker[m] joins (chrisbloec@gateway/shell/matrix.org/x-cfmnrgdjzwadkarf) |
| 2021-04-28 09:41:25 | → | pqwy[m] joins (pqwymatrix@gateway/shell/matrix.org/x-fpcbkdqevgiqsfht) |
| 2021-04-28 09:41:25 | → | unclechu joins (unclechuma@gateway/shell/matrix.org/x-hmyukeoalvxhtawb) |
| 2021-04-28 09:41:25 | → | srid joins (sridmatrix@gateway/shell/matrix.org/x-pldvflvxklvtooyv) |
| 2021-04-28 09:41:25 | → | adziahel[m] joins (adziahelma@gateway/shell/matrix.org/x-qwxmblcrsukkaonc) |
| 2021-04-28 09:41:25 | → | viktorstrate[m] joins (viktorstra@gateway/shell/matrix.org/x-npzjdqyttogpwofo) |
All times are in UTC.