Jonopoly

Activity Graph

Page 1 of 1

2019-06-19

[07:28:27] Jonopoly: has joined #ruby
[11:46:33] Jonopoly: Quit: WeeChat 2.4
[12:16:22] Jonopoly: has joined #ruby
[15:50:48] Jonopoly: Quit: WeeChat 2.4

2019-06-17

[10:33:04] Jonopoly: has joined #ruby
[11:13:22] Jonopoly: Ping timeout: 245 seconds
[11:27:09] Jonopoly: has joined #ruby
[11:40:43] Jonopoly: Ping timeout: 248 seconds

2019-06-14

[13:00:54] Jonopoly: has joined #ruby
[13:44:46] Jonopoly: Quit: WeeChat 2.4
[14:02:20] Jonopoly: has joined #ruby
[14:32:59] Jonopoly: Quit: WeeChat 2.4

2019-06-13

[07:59:31] Jonopoly: has joined #ruby
[11:50:13] Jonopoly: Quit: WeeChat 2.4
[13:00:13] Jonopoly: has joined #ruby
[16:14:23] Jonopoly: Quit: WeeChat 2.4

2019-06-12

[10:01:48] Jonopoly: has joined #ruby
[15:53:46] Jonopoly: Quit: WeeChat 2.4

2019-06-11

[08:18:09] Jonopoly: has joined #ruby
[15:22:35] Jonopoly: Ping timeout: 248 seconds

2019-06-10

[08:04:12] Jonopoly: has joined #ruby
[16:01:55] Jonopoly: Quit: WeeChat 2.4

2019-06-07

[09:59:39] Jonopoly: has joined #ruby
[15:43:03] Jonopoly: Quit: WeeChat 2.4

2019-06-06

[09:10:24] Jonopoly: has joined #ruby
[16:02:43] Jonopoly: Quit: WeeChat 2.4

2019-06-05

[08:00:02] Jonopoly: has joined #ruby
[10:01:21] Jonopoly: got 80% of website tested using ruby
[10:01:29] Jonopoly: website is java/react
[10:01:40] Jonopoly: trying to convince other devs its just quicker/lighter with ruby T_T
[10:02:05] Jonopoly: highly unlikely could java perform these tasks this small..
[16:00:13] Jonopoly: Quit: WeeChat 2.4

2019-06-04

[08:49:03] Jonopoly: has joined #ruby
[15:59:59] Jonopoly: Quit: WeeChat 2.4

2019-06-03

[09:51:57] Jonopoly: has joined #ruby
[15:48:32] Jonopoly: Quit: WeeChat 2.4

2019-05-31

[08:45:56] Jonopoly: has joined #ruby
[11:43:52] Jonopoly: Ping timeout: 264 seconds
[11:48:56] Jonopoly: has joined #ruby
[16:17:18] Jonopoly: Quit: WeeChat 2.4

2019-05-30

[08:09:32] Jonopoly: has joined #ruby
[16:15:51] Jonopoly: Quit: WeeChat 2.4

2019-05-29

[09:00:46] Jonopoly: Quit: WeeChat 2.4
[09:02:17] Jonopoly: has joined #ruby
[11:18:11] Jonopoly: anyone used rubymotion?
[11:18:16] Jonopoly: tempted to give it a look
[16:16:02] Jonopoly: Quit: WeeChat 2.4

2019-05-28

[09:29:42] Jonopoly: has joined #ruby
[09:30:58] Jonopoly: Client Quit
[09:31:55] Jonopoly: has joined #ruby
[09:37:35] Jonopoly: Quit: WeeChat 2.4
[09:37:57] Jonopoly: has joined #ruby
[09:38:04] Jonopoly: Client Quit
[09:44:13] Jonopoly: has joined #ruby
[09:44:28] Jonopoly: Client Quit
[09:57:06] Jonopoly: has joined #ruby
[09:57:38] Jonopoly: Client Quit
[10:05:11] Jonopoly: has joined #ruby
[10:06:01] Jonopoly: Client Quit
[10:08:03] Jonopoly: has joined #ruby
[10:20:19] Jonopoly: Quit: WeeChat 2.4
[10:20:50] Jonopoly: has joined #ruby
[16:01:50] Jonopoly: Quit: WeeChat 2.4

2019-05-23

[08:42:49] Jonopoly: has joined #ruby
[14:44:55] Jonopoly: whats a good all-around OO project to do
[14:45:08] Jonopoly: so i can do in most (if not all) languages
[14:45:29] Jonopoly: to show a basic understanding of OO ?
[14:55:35] Jonopoly: Rosetta?? haha
[14:55:38] Jonopoly: Thanks zodd_
[14:56:01] Jonopoly: cucumber so annoying at times
[14:56:13] Jonopoly: wish there was a "slow" down property T_T
[15:57:11] Jonopoly: Quit: WeeChat 2.4

2019-05-22

[09:04:07] Jonopoly: has joined #ruby
[10:58:29] Jonopoly: anyone used Ruby & Selenium ?
[10:58:46] Jonopoly: $wait.until { $driver.find_element(:xpath => "//li[div[div[contains(text(), '"+waitFor+"')]]]") }
[10:59:17] Jonopoly: instead of addings sleep(1) on a new line is there another way to wait with try?
[10:59:38] Jonopoly: Try get this, wait 1 second and attempt 3 times or something
[14:33:44] Jonopoly: Anyone used Ruby & Selenium for testing?
[14:40:41] Jonopoly: havenwood: xco: OH is it? I'm learning it now and its pretty fun
[16:00:11] Jonopoly: Quit: WeeChat 2.4

2019-05-21

[10:29:58] Jonopoly: has joined #ruby
[11:00:46] Jonopoly: Quit: WeeChat 2.4
[12:54:27] Jonopoly: has joined #ruby
[15:03:23] Jonopoly: So i'm doing automation with ruby
[15:03:34] Jonopoly: And need to avoid sleep as much as possible
[15:04:07] Jonopoly: I'm using Ruby and Selenium is it possible to wrap something in a try/catch
[15:04:14] Jonopoly: like Try: $wait.until { $driver.find_element(:xpath => "//span[@class='searchCode']") }
[15:04:35] Jonopoly: Wait 1 second then try again (if fails 3 times then print Failed x times"
[16:18:17] Jonopoly: Quit: WeeChat 2.4

2019-05-20

[16:02:05] Jonopoly: Quit: WeeChat 2.4

2019-05-17

[07:58:07] Jonopoly: has joined #ruby
[15:34:53] Jonopoly: Quit: WeeChat 2.4

2019-05-16

[07:58:23] Jonopoly: has joined #ruby
[08:15:50] Jonopoly: Quit: WeeChat 2.4
[08:18:40] Jonopoly: has joined #ruby
[16:05:28] Jonopoly: Ping timeout: 264 seconds

2019-05-15

[11:14:15] Jonopoly: has joined #ruby
[13:17:36] Jonopoly: Quit: WeeChat 2.4

2019-05-14

[11:34:49] Jonopoly: has joined #ruby
[15:59:49] Jonopoly: Quit: WeeChat 2.4

2019-05-13

[09:56:30] Jonopoly: has joined #ruby
[09:56:43] Jonopoly: Client Quit
[09:57:04] Jonopoly: has joined #ruby
[11:50:33] Jonopoly: Quit: WeeChat 2.4
[13:46:28] Jonopoly: has joined #ruby
[15:55:15] Jonopoly: Quit: WeeChat 2.4

2019-05-10

[13:51:56] Jonopoly: has joined #ruby
[15:20:08] Jonopoly: Ping timeout: 252 seconds
[19:31:20] Jonopoly: has joined #ruby
[19:36:15] Jonopoly: Quit: WeeChat 2.4
[20:21:33] Jonopoly: has joined #ruby
[22:32:59] Jonopoly: Quit: WeeChat 2.4

2019-05-09

[08:42:48] Jonopoly: has joined #ruby
[09:30:26] Jonopoly: for threads
[09:30:31] Jonopoly: what is the join doing? starting it?
[09:46:09] Jonopoly: ah wait... so that means if i do a new thread it will run
[09:46:22] Jonopoly: and me doing thread.join means wait here until thread has finished
[09:46:37] Jonopoly: That's more impressive than i thought!
[13:37:52] Jonopoly: im learning it now for work
[13:37:59] Jonopoly: It's easier to read than python
[13:38:32] Jonopoly: _sfiguser: I think ruby&rails will be worth learning
[15:49:10] Jonopoly: why is ruby not good for multithreading?
[15:56:11] Jonopoly: Quit: WeeChat 2.4

2019-05-08

[10:34:16] Jonopoly: has joined #ruby
[10:34:34] Jonopoly: https://pastebin.com/n8y5wxV6
[10:34:44] Jonopoly: oh okay sorry bot
[10:35:25] Jonopoly: https://gist.github.com/JonZso/a574e328a9b87af1861308c0a8321373
[10:35:37] Jonopoly: wondering if anyone can give me advice on this?
[10:35:46] Jonopoly: So i want it to check the file exists
[10:36:02] Jonopoly: if the file doesn't exist try again in 4 seconds
[10:36:20] Jonopoly: after 3 attempts just "File Not Found."
[10:40:20] Jonopoly: So would that just be within try rescue?
[10:40:59] Jonopoly: wow that's amazing
[10:48:08] Jonopoly: phaul: thanks, I added "return File.read('file')"
[10:48:18] Jonopoly: which works perfectly, thanks a lot
[11:46:51] Jonopoly: thanks tbuehlmann that things phaul did seems to work great
[11:46:57] Jonopoly: and its pretty small too
[16:08:27] Jonopoly: Ping timeout: 248 seconds

2019-05-03

[10:15:00] Jonopoly: has joined #ruby
[10:18:56] Jonopoly: Client Quit
[10:19:42] Jonopoly: has joined #ruby
[15:35:02] Jonopoly: Quit: WeeChat 2.4

2019-05-02

[09:29:21] Jonopoly: has joined #ruby
[12:39:30] Jonopoly: Hello i want to stress-test my api
[12:39:46] Jonopoly: so i was wondering would it just be a case of running multiple-api calls
[12:48:08] Jonopoly: Well i wanted to start small, run an api call 50+ times
[12:48:13] Jonopoly: for 50+ different users
[12:48:41] Jonopoly: then just create an algorithm 1..50 users login, do x then y then logout
[14:14:35] Jonopoly: is it possible to say
[14:14:48] Jonopoly: Run this function n times at same time
[14:14:57] Jonopoly: or do you need to set a thread foreach function
[15:13:11] Jonopoly: hmm so im creating a..d (4) threads and running them
[15:13:14] Jonopoly: joining at the end
[15:13:38] Jonopoly: is there not a flexible way to run n threads and join n
[15:56:04] Jonopoly: Quit: WeeChat 2.4

2019-05-01

[11:16:14] Jonopoly: has joined #ruby
[16:15:54] Jonopoly: Quit: WeeChat 2.4

2019-04-30

[09:36:37] Jonopoly: has joined #ruby
[16:18:28] Jonopoly: Quit: WeeChat 2.4

2019-04-29

[07:59:25] Jonopoly: has joined #ruby
[13:56:34] Jonopoly: i think ive came to conclusion that ruby and selenium is a problem T_T
[13:56:53] Jonopoly: One of my features generates a file, I then can't seem to run that file.. T_T
[16:17:14] Jonopoly: Quit: WeeChat 2.4

2019-04-25

[11:01:49] Jonopoly: has joined #ruby
[11:06:06] Jonopoly: Does anyone using cucumber and ruby?
[11:06:17] Jonopoly: I'm wondering if its possible to pass variables through
[11:06:27] Jonopoly: and read them in cucumber/.feature files
[11:06:31] Jonopoly: in the example table
[13:05:07] Jonopoly: Does Ruby support """ """ like python?
[13:17:32] Jonopoly: catphish: It basically lets you write any format style
[13:17:49] Jonopoly: catphish: it's useful for when writing paragraphs, just tested it and it works which is good...
[16:00:50] Jonopoly: Quit: WeeChat 2.4

2019-04-24

[08:34:27] Jonopoly: has joined #ruby
[08:37:11] Jonopoly: So ruby and selenium seem to be pretty good so far
[08:37:18] Jonopoly: for automating smoke tests for website
[09:35:40] Jonopoly: TRying to convert an xlsx file to json seems more frustrating than i thought it'd be..
[12:13:51] Jonopoly: felt easier to create it as a .csv file
[12:14:10] Jonopoly: now converted to array then to json file
[12:19:09] Jonopoly: ryouba: it's for my automation its just one sheet, so csv does okay - Headers (username, groupid, fName, Surname etc..)
[12:19:26] Jonopoly: then just convert into a json .. AND THEN finally read the json creating the users
[13:35:40] Jonopoly: I was using roo
[13:35:48] Jonopoly: now im just using require 'csv'
[14:02:26] Jonopoly: i think its just easier working with csv file
[14:02:30] Jonopoly: only need a table
[16:16:34] Jonopoly: Quit: WeeChat 2.4

2019-04-18

[08:31:57] Jonopoly: has joined #ruby
[08:32:23] Jonopoly: Morning everyone
[08:32:44] Jonopoly: Anyone got any advice on automating a stress test using Ruby
[08:32:51] Jonopoly: Website is Java/React
[09:11:37] Jonopoly: Well atm we use ruby and selemiun
[09:11:58] Jonopoly: Language is easy for non-developers to follow
[09:12:51] Jonopoly: Like python has locustio
[10:28:11] Jonopoly: Quit: WeeChat 2.4
[10:56:34] Jonopoly: has joined #ruby
[11:48:34] Jonopoly: Quit: WeeChat 2.4
[12:13:05] Jonopoly: has joined #ruby
[15:21:47] Jonopoly: Quit: WeeChat 2.4

2019-04-17

[10:13:32] Jonopoly: has joined #ruby
[16:07:11] Jonopoly: Ping timeout: 268 seconds

2019-04-16

[08:41:42] Jonopoly: Hi, sorry yeah
[08:41:58] Jonopoly: Hello, thanks!
[08:42:25] Jonopoly: I've been put in charge with automating a test for our website
[08:42:41] Jonopoly: and i was looking at using Ruby with (Gherkin, Cucumber and Selenium)
[08:42:57] Jonopoly: Since ruby seems very readable (to pass on)
[08:44:07] Jonopoly: the website is Java, JS (react) with tomcat (shudder)
[08:47:10] Jonopoly: Hmm, its mostly for reporting
[08:49:01] Jonopoly: Thanks, i'll give it a look
[09:21:04] Jonopoly: Quit: Page closed
[10:10:13] Jonopoly: has joined #ruby
[10:11:19] Jonopoly: OH iwas just in here, remember that name Havenwood - Thanks for before
[10:41:50] Jonopoly: Remote host closed the connection
[10:42:57] Jonopoly: has joined #ruby
[10:42:57] Jonopoly: Changing host
[10:50:04] Jonopoly: Quit: WeeChat 1.6
[11:31:35] Jonopoly: has joined #ruby
[11:39:32] Jonopoly: Quit: WeeChat 2.4
[11:39:46] Jonopoly: has joined #ruby
[11:45:24] Jonopoly: Quit: WeeChat 2.4
[11:45:47] Jonopoly: has joined #ruby
[11:51:39] Jonopoly: Does anyone use Ruby&Selenium for 'stress' testing a web site?
[12:29:12] Jonopoly: Ruby and Selenium seem to go so well together
[13:48:23] Jonopoly: Quit: WeeChat 2.4
[13:50:53] Jonopoly: has joined #ruby
[14:01:04] Jonopoly: Quit: WeeChat 2.4
[14:11:07] Jonopoly: has joined #ruby
[15:51:17] Jonopoly: Quit: WeeChat 2.4