darix

Activity Graph

Page 1 of 10 | Next »

2019-01-11

[00:29:02] darix: Read error: error:1408F10B:SSL routines:ssl3_get_record:wrong version number
[00:29:11] darix: has joined #ruby

2019-01-02

[03:25:18] darix: Quit: may the packets be with you...
[03:30:21] darix: has joined #ruby

2018-12-25

[17:47:10] darix: opensuse package is done too
[17:48:34] darix: leah2: no plans for that atm
[17:48:40] darix: but a few of my coworkers are there

2018-12-23

[07:35:58] darix: Quit: may the packets be with you...
[21:39:52] darix: has joined #ruby

2018-12-21

[20:03:47] darix: seems I have another action items NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed on or after 2018-12-01.
[20:04:41] darix: /etc/ssl/certs/ca-certificates.crt this seems like something wrong when you use update-ca-certificates
[20:05:06] darix: havenwood: before I can work on this I need to wait for my gitlab package to publish
[20:06:10] darix: you shouldnt have to use c_rehash anymore with a system that uses update-ca-certificates
[20:06:20] darix: i have the feeling you are mixing a lot of things there
[20:09:32] darix: isene: normally if you use your system ruby and dont configure anything special with your CA certs in your script or any of the gems you are using
[20:09:50] darix: than ruby (well openssl) should find the system certs automatically
[20:10:00] darix: easiest way to test that is
[20:10:11] darix: openssl s_client -connect someservice:someport < /dev/null
[20:12:43] darix: how did you install that ruby?
[20:13:38] darix: looks like debian or so
[20:14:37] darix: works fine with ruby 2.5 on opensuse :P
[20:15:11] darix: did you check their bugtracker if it is a known issue?
[20:17:12] darix: poking a friend at ubuntu
[20:17:15] darix: if he can reproduce it
[20:20:51] darix: isene: he can reproduce it
[20:21:09] darix: isene: my friend ask if you can file a bug
[20:22:45] darix: launchpad i guess
[21:38:58] darix: isene: looks good

2018-12-19

[14:28:30] darix: catphish: so what to do when the signal gets thrown in that block?
[14:28:38] darix: a signal that might indicate a serious error
[14:37:03] darix: catphish: imho signal usually means something important needs to be done now
[14:49:09] darix: catphish: your signal handler could just set a variable and your event loop could check those variable at the beginning of the next iteration?
[14:50:21] darix: that is a pretty small code already imho

2018-12-17

[13:58:43] darix: marz_d`ghostman: what makes you think it hasnt happened instantly?
[14:02:20] darix: you need to provide a script for reproducer
[14:11:47] darix: marz_d`ghostman: should the hash like string at the end be an url maybe?
[14:14:24] darix: see your last line
[14:19:02] darix: and line 21 triggers an error?
[14:21:48] darix: your script works here creates 2 tables and then inserts into 1
[14:22:02] darix: and the data is there
[14:24:59] darix: i commented on your gist
[14:25:35] darix: a very glarring lack of openSUSE/SUSE There :P
[14:28:16] darix: opensuse package for 2.6.0~rc2 submitted
[15:03:45] darix: marz_d`ghostman: for me it was ruby 2.5.3 + ruby2.5-rubygem-sqlite3-1.3.13-1.11.x86_64
[15:37:40] darix: maybe they block commits

2018-12-13

[03:08:28] darix: Ping timeout: 264 seconds
[03:15:50] darix: has joined #ruby

2018-11-24

[14:42:11] darix: Quit: brb
[14:56:52] darix: has joined #ruby
[15:10:52] darix: Ping timeout: 264 seconds
[15:20:11] darix: has joined #ruby

2018-10-17

[13:28:21] darix: bsrd: log to something like a message bus and feed your real log destination from there
[14:03:21] darix: just feeding into sidekiq would be one way yes

2018-10-04

[13:35:42] darix: Quit: brb
[13:38:44] darix: has joined #ruby

2018-09-07

[04:12:34] darix: Ping timeout: 240 seconds
[04:19:59] darix: has joined #ruby

2018-09-06

[14:15:30] darix: marz_d`ghostman: you are not in #slim

2018-09-03

[14:25:20] darix: Quit: may the packets be with you...
[14:51:23] darix: has joined #ruby
[15:16:55] darix: Quit: may the packets be with you...
[15:41:00] darix: has joined #ruby

2018-09-01

[23:04:51] darix: leitz: leave out the 2nd param?
[23:09:20] darix: leitz: uploading a version is like freezing it. think of it as immutable. version numbers are cheap.
[23:09:33] darix: you never change a release
[23:10:08] darix: leitz: example: many distros verify that the checksum of the upstream tarball (a gem in your case) doesnt change
[23:10:33] darix: leitz: so if you upload 2 different tarballs for the same version ... you would break that. and the first assumption would be ... someone broke into your account
[23:10:45] darix: _ari: 1. #rails 2. why wouldnt it?

2018-08-30

[21:56:52] darix: baweaver: there are worse ldap libraries

2018-08-29

[02:42:50] darix: *.net *.split
[02:58:25] darix: has joined #ruby

2018-08-21

[19:53:56] darix: peacetreaty: uhm
[19:54:09] darix: why not full_path.start_with? dirname
[19:54:39] darix: maybe run File.expand_path on both before
[19:55:00] darix: Mike11: or do you only care about direct parent relationship?
[19:56:14] darix: '/etc/sysconfig/kernel'.start_with? '/etc'
[19:56:17] darix: >>> '/etc/sysconfig/kernel'.start_with? '/etc'
[19:56:27] darix: so the bot napping again?
[19:56:47] darix: >>>> '/etc/sysconfig/kernel'.start_with? '/etc'
[19:56:53] darix: apeiros: ?
[19:57:05] darix: RedNifre: a ruby twitter library
[19:57:41] darix: https://rubygems.org/search?utf8=%E2%9C%93&query=twitter
[19:58:07] darix: RedNifre: well you need to handle oauth and all the jazz :)

2018-08-15

[14:04:28] darix: blood: if you only have one namespace ... yes
[14:04:31] darix: then you can do that
[14:08:13] darix: blood: but you can have thins like <foo:bar><foobar:bar /></foo:bar> ... now you do //bar ... which one do you refer to?
[14:12:17] darix: ACTION tries to remember where his code is for xpath with namespace
[14:16:02] darix: blood: //xmlns:filter-name
[14:16:09] darix: blood: //xmlns:cookie-name
[14:17:04] darix: that xmlns is a short hand for the default namespace
[14:19:00] darix: yeah now you need to prefix things with xmlns: and be done
[14:19:38] darix: you might need //xmlns:filter[xmlns:filter-name='psfilter']
[14:19:46] darix: otherwise yes
[14:19:51] darix: blood: hint. binding.pry
[14:19:54] darix: and play around with it :P
[14:20:03] darix: blood: you can. but it doesnt matter
[14:20:05] darix: you can also do
[14:20:20] darix: /xmlns:weblogic-web-app/xmlns:session-descriptor/xmlns:cookie-name
[14:20:33] darix: blood: binding.pry :P
[14:25:02] darix: blood: https://gist.github.com/darix/7b6422a4334937fcd6e0cc193d9721f8

2018-08-14

[13:44:08] darix: guzzlefry: works for me
[13:49:20] darix: guzzlefry: would be interesting which IP you see for www.r-l.o
[13:49:35] darix: dualstack.m.shared.global.fastly.net has IPv6 address 2a04:4e42:3::434
[13:49:35] darix: dualstack.m.shared.global.fastly.net has address 151.101.13.178
[13:49:35] darix: www.ruby-lang.org is an alias for dualstack.m.shared.global.fastly.net.
[13:49:35] darix: host www.ruby-lang.org
[13:50:59] darix: interesting
[13:52:33] darix: so 8.8.8.8 returns your list for me ... while 1.1.1.1 and my local resolvers only get my list
[18:53:01] darix: Quit: may the packets be with you...
[20:08:50] darix: has joined #ruby

2018-08-10

[14:39:22] darix: gray_-_wolf: the new jit added for 2.6 will bring you something similar
[14:42:08] darix: gray_-_wolf: it will store the compiled version of your ruby files if it is jit worthy
[14:42:16] darix: gray_-_wolf: are you sure the parse time is your problem?
[14:48:05] darix: gray_-_wolf: not sure we have something like that.

2018-08-09

[16:27:58] darix: Quit: may the packets be with you...
[16:34:43] darix: has joined #ruby

2018-08-06

[14:18:36] darix: apeiros: JFYI: https://www.humblebundle.com/books/cybersecurity-wiley-books
[14:22:03] darix: i leave managing daemons to my init system

2018-08-03

[22:41:08] darix: >>> a = []; a.freeze; a.dup.frozen?
[22:41:14] darix: bot broken

2018-07-20

[00:07:18] darix: *.net *.split
[00:15:42] darix: has joined #ruby
[22:00:39] darix: JJonah: maybe checkout what activesupport does
[22:18:09] darix: apeiros: the old activesupport way doesnt work anymore?
[22:23:44] darix: apeiros: but it would achive the goal wouldnt it?;)
[22:29:41] darix: apeiros: for me it is more a question of solving the high level goal :P

2018-07-12

[21:24:39] darix: leitz: you can use globs
[21:24:46] darix: when constructing the list
[21:24:49] darix: the gemspec is ruby
[21:25:59] darix: leitz: so?
[21:30:42] darix: leitz: so use it properly

2018-07-10

[11:19:06] darix: apeiros: people still using anything else besides utf-8 or maybe utf-16 should be spanked anyway :P
[14:43:55] darix: mjacob: maybe use "".codeporints "".chars "".bytes
[14:43:59] darix: depending what you want

2018-07-09

[21:50:44] darix: Quit: brb
[22:08:03] darix: has joined #ruby

2018-07-06

[16:38:22] darix: omg it is apeiros

2018-07-05

[14:15:55] darix: riton: try Gem.path << '/path/to/directory'

2018-07-02

[23:55:11] darix: JFYI: we already have an opensuse package for 2.6 testing
[23:55:59] darix: mynameisdebian: most people will probably use yourenumrable.each {|e| ... }
[23:57:15] darix: mynameisdebian: #each is also builtin :P

2018-06-27

[23:11:00] darix: cthulchu_: binding.pry
[23:21:00] darix: even without pry-byebug

2018-06-25

[15:06:05] darix: walidvb: system libv8 and the libv8 gem can be tricky
[15:06:14] darix: as it is really picky about which versions work
[15:07:36] darix: dbrandon: stop using my password please.

2018-06-17

[13:14:12] darix: dminuoso: differentiation of programming languages
[13:17:17] darix: dminuoso: "you cant do X with language Y" style I guess based on your discussion before
[13:29:32] darix: dminuoso: that I wouldnt limit your statement to scripting languages only :P

2018-06-15

[14:30:57] darix: _aeris_: setting up your own little CA isnt so much work

2018-06-12

[22:55:21] darix: chris349: gem install --user-install maybe?
[22:55:27] darix: you dont need to install into the system path
[22:57:48] darix: chris349: for a rails app the 2nd is probably better

2018-06-11

[15:16:43] darix: _aeris_: next time use something like https://gist.github.com/ - then people dont have to type all the stuff again
[15:17:06] darix: cdunklau: I would still expect f.keys to return something. dont you?
[15:19:09] darix: so pass in a block to Hash.new, that returns an array instance
[18:12:12] darix: noron99: learn the basics. and apply them to what ever framework will be the best for that task at hand
[18:12:51] darix: noron99: that can matter a lot on the case
[18:13:14] darix: someone else posted the other day here how they prefer a framework hasomething nowadays
[18:13:59] darix: gitlab uses grape
[18:15:30] darix: noron99: lets say someone asks you do add an API for an existing app.
[18:15:40] darix: and the existing app is rails. but you only learned sinatra
[18:15:47] darix: would you write the api in sinatra?
[21:20:49] darix: azerty is real pita though :P

2018-06-06

[10:39:16] darix: apeiros: https://cdn.iwastesomuchtime.com/October-18-2011-20-12-49-DoubleFacePalm.jpg
[10:40:40] darix: apeiros: good thing IRC has ways to specify the encoding of each message so the client can convert it to their local encoding ;)
[10:43:49] darix: apeiros: I was using sarcasm there ;)
[10:44:53] darix: the first line sounded too serious
[11:18:18] darix: apparition: use utf-8 or die
[11:18:28] darix: apeiros left
[12:28:11] darix: vutral|kali: use sequel or so

2018-05-30

[00:06:46] darix: Ping timeout: 265 seconds
[00:39:54] darix: has joined #ruby

2018-05-29

[02:47:07] darix: *.net *.split
[02:47:59] darix: has joined #ruby
[12:39:49] darix: kke: maybe stick to templating languages which limit what the user can do. like liquid

2018-05-24

[09:09:00] darix: Ping timeout: 265 seconds
[09:15:36] darix: has joined #ruby

2018-05-23

[15:29:18] darix: z4phod: indirectly via discourse
[15:35:31] darix: I think discourse limits it to admin only

2018-05-22

[12:31:16] darix: Quit: may the packets be with you...
[12:42:33] darix: has joined #ruby

2018-05-17

[15:08:55] darix: excel_girl: just using the search on rubygems.org might be a good start too
[15:09:18] darix: depending on the libraries you need
[15:13:29] darix: excel_girl: os/subprocess => popen* and friends. I guess. requests ... depending on what exact use case ... I liked "httpclient", faraday also seems popular, mechanize
[15:13:47] darix: datetime might require at most a require 'date'
[15:13:53] darix: shtuils = fileutils
[15:14:05] darix: email = I can really recommend the "mail" gem
[15:15:40] darix: oh and yes stdlib docs

2018-05-03

[12:49:10] darix: leitz: sequel is fun
[12:49:43] darix: leitz: what version are you trying to compile there?
[12:59:31] darix: leitz: you are compiling from git then?
[13:04:55] darix: leitz: for git without a configure you need it yes
[13:04:59] darix: for release tarballs no
[13:08:36] darix: leitz: it has 100% market share in all my scripts :P
[13:08:57] darix: leitz: you can always bootstrap from a release tarball and then build git afterwards.
[13:10:38] darix: leitz: what kind of OS?
[13:11:04] darix: also why ruby 2.0.0 which is EOL already
[13:11:13] darix: leitz: dont do that :P
[13:11:19] darix: leitz: install into a different path
[13:12:49] darix: which begs the question ...
[13:12:55] darix: why dont you start on centos 7?
[13:14:39] darix: leitz: "why?"
[13:14:48] darix: leitz: centos6 will also be EOL soon
[13:15:25] darix: mikhael_k33hl: if it is a segfault or anything
[13:15:32] darix: mikhael_k33hl: if it is an exception
[13:15:46] darix: then begin ; ensure ; end
[13:33:31] darix: Personally I would rather pay you to help migrating services to centos 7 ;)
[13:33:36] darix: (like when I would be your boss)
[13:39:33] darix: leitz: SUSE is hiring I think
[13:41:27] darix: https://jobs.suse.com/category/software-engineering-jobs/3486/19757/1
[13:41:41] darix: leitz: what do you mean?
[13:42:13] darix: leitz: you mean containers as in linux containers or containers as in organizational structures?
[13:42:52] darix: leitz: I dont know to which position your friend applied to and if it was relevant for this position or not.
[15:04:16] darix: leitz: ouch
[15:04:34] darix: leitz: my desktop is opensuse tumbleweed (similar to fedora rawhide)
[15:06:01] darix: leitz: I wouldnt limit myself to the oldest distro possible on the desktop
[15:06:03] darix: was the point

2018-05-02

[11:06:23] darix: https://twitter.com/Altimor/status/990801260835094528
[15:45:15] darix: moss: one of your 2 variables is nil
[15:46:10] darix: moss: gem install pry -> add require 'pry';binding.pry before that if line
[15:53:25] darix: moss: it will give you an interactive shell into your script right at that position
[15:55:13] darix: hays_: gemfile
[15:56:01] darix: hays_: it depends on what you want to do exactly
[15:56:22] darix: hays_: if you do "bundle install" then the bin stubs will also end up in your app dir
[15:56:27] darix: (with the right options)
[15:57:44] darix: for opensuse we add suffixes to the system wide gem stubs
[15:57:48] darix: and last but not least
[15:57:51] darix: you can do things like
[15:57:59] darix: rails _5.1.2_ <other args>
[15:58:04] darix: to force a certain version
[15:58:09] darix: so many options

2018-05-01

[09:20:30] darix: Remote host closed the connection
[11:00:58] darix: has joined #ruby
[12:34:50] darix: leitz: too much documentation. you should remove some.

2018-04-25

[12:32:26] darix: has joined #ruby
[15:01:14] darix: *.net *.split
[15:03:29] darix: has joined #ruby