Perl 6 - the future is here, just unevenly distributed

IRC log for #rosettacode, 2015-06-30

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:32 mwn3d joined #rosettacode
01:18 mwn3d joined #rosettacode
01:25 mwn3d1 joined #rosettacode
05:15 mwn3d joined #rosettacode
05:16 mwn3d1 joined #rosettacode
10:17 rok11111 joined #rosettacode
10:17 rok11111 Hi all
10:17 rok11111 I have a problem.
10:17 rok11111 I am trying to read a variables from a file and write the stuff to haproxy.cfg
10:18 rok11111 Haproxy has backend and frontend section
10:20 rok11111 some thing like this
10:20 rok11111 frontend {Site_name} bind {IP} redirect location {URL}  backend {Site_name} server {server_name1} {server_IP} cookie {server_name1} maxconn 256 check server {server_name2} {server_IP} cookie {server_name2} maxconn 256 check
10:22 rok11111 how can I get the content from another text file which has simple sections; like YAML file or sama or puppet style file
10:22 rok11111 any suggestions ?
10:34 rok11111 anyone ?
10:39 ttmrichter rok11111: ... Are you sure you're in the right channel?
10:44 pdurbin rok11111: you'd probably want to use a YAML parsing library, PyYAML or whatever
11:06 rok11111 No I mean any type of config file
11:08 rok11111 for example
11:08 rok11111 [SITE_NAME] BIND_IP = ['192.168.2.2:80'] SERVER_NAME = ['server_name1','server_name2'] SERVER_IP = ['192.168.2.222:80','192.168.2.223:80']
11:08 rok11111 I am not good with arrays
11:08 rok11111 so I thought someone could help me here
11:10 rok11111 I guess its possible via shell script
11:10 ttmrichter I'm still confused.  Why are you asking this question in #rosettacode?
11:43 mwn3d joined #rosettacode
12:11 ROAR joined #rosettacode
12:11 ROAR RRROOOOAAARRR
12:11 ROAR ME WANT HONEY COMB
12:12 ROAR left #rosettacode
16:33 mwn3d joined #rosettacode
16:34 mwn3d1 joined #rosettacode
17:42 davido_ joined #rosettacode
19:10 heynow joined #rosettacode
19:10 * heynow waves
19:11 heynow Supercool website, you've got here. I'm curious, has there been any work done on collecting metadata on the differences between implementations of a given task, or all tasks, for a language?
19:12 heynow I'd like to compare the average task implementation length across Java and Ruby and will write a quick and dirty Ruby script to do so unless it already exists somewhere.
19:16 opticron hmmm...I honestly have no idea if anyone has collected that kind of information
21:42 heynow joined #rosettacode
21:43 heynow Looks like someone else already solved the issue of average implementation length of different languages on RosettaCode:  http://blog.wolfram.com/2012/11/14/c​ode-length-measured-in-14-languages/
21:43 fedaykin "Code Length Measured in 14 Languages-Wolfram Blog" http://rldn.net/A4D
21:43 heynow Good timing ;)
22:26 mwn3d joined #rosettacode
22:36 pdurbin Is that saying that Java and Python are almost the same for code length?
23:58 TimToady joined #rosettacode

| Channels | #rosettacode index | Today | | Search | Google Search | Plain-Text | summary