Page 1 of 277 | Next »
[16:30:35] apeiros: "DEPRECATED: ActiveSupport::OrderedHash implements a hash that preserves insertion order"
[16:05:26] apeiros: ok, sometimes I think those people screaming "apple is crazy expensive" make bad comparisons. but the new minis seem vastly overpriced for both their components and their target audience…
[16:07:50] apeiros: I mean at their quantities, CPU is ~80$, RAM ~50$, SSD ~80$, Mainboard ~50$, Case: ~100$, Other parts: 40$, totally 400$. their price: 800$.
[16:16:32] apeiros: well, with the laptops, I also buy for the hardware. even if the touchbar and soldered on ram/ssd stink.
[16:21:30] apeiros: might be the case now. last time I checked something was always missing. either the built-in SSD was slow, the screen only 300nits bright, or just whatever else.
[18:12:03] apeiros: fascinating. I have a 2TB disk. "About this mac" -> "Disks" (or whatever the english name is) says "1.5TB free" and "Documents: 1.3TB". much math. so compute. wow.
[15:18:00] apeiros: there's also eval, but should be obvious why I won't recommend that. also I don't know enough of your context. f.ex. does it absolutely have to be a String you start out with?
[18:22:03] apeiros: noooo medium, I will not make things official. I'll not sign up or anything. kthxbye 🙄
[18:24:06] apeiros: we've got git. if you have something better than eval.in, just tag it and replace
[18:25:38] apeiros: if somebody is up to it, around mid-february, I'd try to set up my own eval box using short-lived "throw-away" docker containers. assistance would be very welcome.
[18:41:37] apeiros: Inside: it is true that the likeliness for an answer increases with the example code being more concrete. but sometimes you'll also get good answers for mostly theoretical questions. of course you can also try to turn your theoretical question into a concrete one.
[18:58:18] apeiros: yeah, the docs of String# and Regexp#match are not explicit on this, but both methods only match once.
[18:58:41] apeiros: i.e. those methods will stop testing the regex against the string after the first successful match
[18:59:43] apeiros: btw., don't do this: `File.open(path).read`, this leaves dangling file descriptors. just use `File.read(path)`
[19:00:30] apeiros: (if you really really want to explicitly use open, at least do it as `File.open(path, &:read)`, that uses a block which closes the descriptor again)
[19:09:22] apeiros: ivanskie: re sourcing env vars: remember you can only ever add env vars for *child* processes.