mikar

Activity Graph

Page 1 of 1

2017-07-29

[12:30:50] mikar: has joined #ruby
[12:32:57] mikar: hi, I'm trying to always show 2 decimals in a BigDecimal when it's printed on the screen: BigDecimal.new('16.5').to_s('F') => 16.5 but I'd like it to show 16.50, without casting it to float and possibly loosing precision (eg with '%.2f' % decimal). Any idea if it's possible? I'm reading the whole doc and stackoverflow but I can't find a way :/
[12:36:23] mikar: Papierkorb: that's very hackish, I hoped that there was something available directly from BigDecimal ;)
[13:22:30] mikar: Quit: Page closed

2016-05-31

[06:07:36] mikar: has joined #ruby

2016-05-25

[13:24:55] mikar: Quit: Connection closed for inactivity

2016-05-24

[14:12:30] mikar: has joined #ruby

2016-05-20

[07:41:30] mikar: has joined #ruby
[15:04:52] mikar: Quit: Connection closed for inactivity
[15:14:45] mikar: has joined #ruby
[18:44:52] mikar: Quit: Connection closed for inactivity

2016-05-18

[06:44:18] mikar: has joined #ruby
[08:47:00] mikar: Ping timeout: 276 seconds
[09:04:00] mikar: has joined #ruby
[09:54:51] mikar: Quit: Connection closed for inactivity

2016-03-18

[11:02:44] mikar: has joined #ruby
[19:34:27] mikar: Quit: Connection closed for inactivity

2016-03-15

[10:56:34] mikar: has joined #ruby
[17:04:26] mikar: Quit: Connection closed for inactivity

2016-03-14

[11:37:16] mikar: has joined #ruby
[14:34:26] mikar: Quit: Connection closed for inactivity
[17:15:22] mikar: has joined #ruby
[19:44:26] mikar: Quit: Connection closed for inactivity

2016-03-11

[07:13:43] mikar: has joined #ruby
[07:50:29] mikar: hi, can i tell the net/http library to skip the proxy for certain hosts? i.e. make it respect something like the no_proxy environment variable.
[17:24:26] mikar: Quit: Connection closed for inactivity

2016-03-10

[13:57:06] mikar: has joined #ruby
[18:14:25] mikar: Quit: Connection closed for inactivity

2016-03-09

[08:14:25] mikar: Quit: Connection closed for inactivity
[09:55:44] mikar: has joined #ruby
[11:27:18] mikar: hi, does someone know why Net::HTTP would ignore my proxy environment variables? see this snippet: https://bpaste.net/show/27552025ded2
[14:04:27] mikar: Quit: Connection closed for inactivity

2016-03-08

[11:33:05] mikar: has joined #ruby
[11:34:49] mikar: Client Quit
[11:35:08] mikar: has joined #ruby
[11:36:31] mikar: is there some sort of shorthand that translates weeks/days/hours into seconds? i'd like a timeout in seconds and a variable input of something like "2:hours" or "3.5:minutes"
[11:44:49] mikar: adaedra, djellemah: thanks