mnemon

Activity Graph

Page 1 of 1

2018-12-11

[16:04:38] mnemon: Ookma-Kyi: iptables -L, unless empty you prolly need to add iptables rule for port 3000

2018-11-26

[09:25:29] mnemon: *.net *.split

2018-11-09

[14:52:41] mnemon: Tohm3: you can find complete applications in github and such. but Gradle and Rails are pretty different.

2018-09-20

[08:02:08] mnemon: Bish: why?
[08:02:34] mnemon: just turns it into more simpligied form if you don't have data in it.
[09:09:07] mnemon: or does it break it in some other way?
[09:09:07] mnemon: Bish: it just turns empty attributes to boolean attributes(no '=""', just the name)

2018-09-17

[11:18:07] mnemon: emers3n: yes, you can use regexp with gsub

2018-09-01

[22:04:43] mnemon: has joined #ruby

2018-08-29

[01:19:20] mnemon: *.net *.split

2018-08-13

[19:25:20] mnemon: *.net *.split

2018-07-30

[15:51:06] mnemon: regedit: what are you doing with/to it'
[15:54:35] mnemon: regedit: if you store multiple versions if the huge string it will be a problem, creating array of strings shouldn't be too bad I guess.
[15:56:45] mnemon: regedit: what are you doing to it now? modifying the whole massive string for each number?

2018-07-20

[00:07:05] mnemon: *.net *.split
[00:15:44] mnemon: has joined #ruby

2018-06-29

[16:05:50] mnemon: Ping timeout: 245 seconds
[16:10:03] mnemon: has joined #ruby

2018-06-11

[14:44:24] mnemon: braindead_: cd fails with 3 arguments, nothing after && will be run.
[14:44:53] mnemon: cd /var/www/vhosts/domain/httpdocs; rails s && ...

2018-05-29

[02:46:54] mnemon: *.net *.split
[02:47:56] mnemon: has joined #ruby
[02:50:03] mnemon: *.net *.split
[02:50:32] mnemon: has joined #ruby

2018-05-28

[10:01:16] mnemon: *.net *.split

2018-05-17

[15:13:28] mnemon: excel_girl: have you looked at the stdlib contents? https://ruby-doc.org/stdlib-2.4.1/

2018-05-15

[18:50:09] mnemon: Remote host closed the connection
[19:09:53] mnemon: has joined #ruby

2018-05-08

[08:40:03] mnemon: Quit: leaving
[09:06:03] mnemon: has joined #ruby

2018-05-06

[21:53:20] mnemon: *.net *.split
[21:54:07] mnemon: has joined #ruby

2018-05-03

[13:56:55] mnemon: leitz: if you want recent versions of various programming languages on rhel you could go for their software collections :P
[13:58:31] mnemon: leitz: they got 2.4 in RHSCL
[13:58:50] mnemon: https://developers.redhat.com/products/softwarecollections/overview/

2018-04-25

[12:25:39] mnemon: *.net *.split
[12:27:14] mnemon: has joined #ruby
[15:01:10] mnemon: *.net *.split
[15:03:22] mnemon: has joined #ruby

2018-04-22

[12:49:58] mnemon: has joined #ruby

2018-04-21

[01:48:18] mnemon: Remote host closed the connection

2018-04-17

[10:56:27] mnemon: brosso: do you understand what you're doing? concatting 2byte strings input in Hex notation and not the strings C0DE and BA5E ? :P

2018-04-06

[15:24:17] mnemon: Quit: Reconnecting
[15:24:31] mnemon: has joined #ruby

2018-04-04

[10:15:58] mnemon: *.net *.split
[10:45:51] mnemon: has joined #ruby

2018-03-26

[14:23:09] mnemon: Remote host closed the connection
[15:20:02] mnemon: has joined #ruby

2018-03-15

[11:27:21] mnemon: *.net *.split
[11:30:14] mnemon: has joined #ruby

2018-03-13

[10:52:49] mnemon: Bish: imagemagick/rmagick can probably do the conversion at least to gif?
[10:54:15] mnemon: probably need the imagemagick libs

2017-12-15

[09:24:04] mnemon: srandon111: there's plenty of frameworks for DB's(probably most notable one being activerecord), essentially ruby object to DB "object" mapping with all the standard DB code already in place.
[10:21:00] mnemon: dminuoso: all the heavy lifting will be done with by the libs/native extensions anyways eh?
[10:28:02] mnemon: dminuoso: It does require some additional throght to make sure ruby doesn't do anything beyond the coordinating :)

2017-12-11

[12:15:21] mnemon: child in uninterruptible sleep?

2017-12-06

[20:51:27] mnemon: Ping timeout: 240 seconds
[20:51:44] mnemon: has joined #ruby-offtopic
[20:51:44] mnemon: has joined #ruby

2017-12-01

[02:28:27] mnemon: has joined #ruby-offtopic
[02:29:00] mnemon: has joined #ruby

2017-11-14

[16:06:02] mnemon: aScottishBoat: there's also puppet and chef with varying amounts of ruby you can write :P
[16:07:47] mnemon: anyways, for the "how is it?", kinda depends what you want to do :)

2017-11-09

[14:55:33] mnemon: guardian: "asd123".delete('^0-9')
[17:16:29] mnemon: Sparky: also, before you truncate all the files, "a" is append "w" will truncate the file before writing.
[17:20:04] mnemon: tcpdump: probably pretty minimal unless you end up with a performance problem on the DB side, not doing it is usually bad idea unless you really understand the implications.

2017-10-31

[16:49:42] mnemon: eam: time and effort are expensive
[16:56:50] mnemon: how do you apply simple bug fixes?
[17:05:29] mnemon: making the rebuild automatic tends to be hard, and doing it partially manually can be time consuming(vs. incremental upgrades).
[17:06:04] mnemon: of course depends on the complexity of the system.
[17:06:43] mnemon: Papierkorb: for the rebuild?
[17:11:47] mnemon: Papierkorb: ime, works great with relatively simple and/or stateless systems but can be pretty complex to automate nice rebuilds/upgrade of systems with more persistent data
[17:12:41] mnemon: data or state ...
[17:15:01] mnemon: eam: in some cases, I mostly work on very "HA" systems and accepting some disruptions on sudden device failure(rare) vs. working around the impact on upgrade(frequent) is different.

2017-10-29

[18:06:28] mnemon: Ping timeout: 240 seconds
[18:08:08] mnemon: has joined #ruby-offtopic
[18:08:08] mnemon: has joined #ruby

2017-10-25

[12:18:12] mnemon: which one?

2017-10-23

[12:17:46] mnemon: apeiros: pacman
[12:19:35] mnemon: apeiros: yeah, it's arch linux package manager, so yeah, using OS package manager to handle the ruby versions
[12:20:29] mnemon: for other distros using their own package manager, haven't needed to touch ruby on windows for many years ...
[12:26:37] mnemon: apeiros: the package managers can generally handle multiple versions but I haven't really needed to work with multi-ruby systems recently, only exception being the ruby bundled with automation softwares(puppet/chef).

2017-09-20

[20:02:33] mnemon: ornerymoose: mechanize doesn't handle javascript either.
[20:04:03] mnemon: selenium works, but it's just basically automation of a complete browser

2017-09-19

[08:24:27] mnemon: spooky_d: there are parts that won't parallelize well
[08:27:00] mnemon: also specifically, -j will make make multiple recipes of the makefile, if the makefile is written in one it will have no effect
[08:37:25] mnemon: faster hardware/system or possibly disabling unused bits ... might have somethign ruby specific but it's a long time since I've built the intepreter itself so don't remember if there's anything relevant already in the make/config
[08:38:45] mnemon: or if you're happy with bad performance from ruby itself disable gcc optimizations :)
[08:44:47] mnemon: spooky_d: you could try to get better performance out of the compiler itself ... what system are you building on/for?
[08:59:44] mnemon: march=native for the things you don't need to ship to other systems and using tmpfs etc?
[12:45:03] mnemon: depesz: there's many webdrivers for ruby and there's also mechanize port to ruby :)
[12:45:39] mnemon: selenium bindings comes to mind ...

2017-08-09

[19:33:35] mnemon: alfiemax: html parser doesn't like newlines inside the tags? :)

2017-07-28

[10:29:38] mnemon: jaegerca: you could extend existing objects with functionality from additional modules at runtime?
[10:38:02] mnemon: jaegerca: you can extend existing objects with instance methods from modules to add functionality(o=Dog.new;o.extend(SleepModule);o.sleep etc.)
[10:41:35] mnemon: jaegerca: if you want to do class level things, why not just extend the Dog class?
[10:41:57] mnemon: then you have SleepyDog class that knows how to sleep in the doghouse :)
[10:48:53] mnemon: jaegerca: so extend the Dog instance in the engine at runtime with the SleepyDog module instead of including it in the base Dog class?
[10:52:01] mnemon: just a sec, haven't done rails in a while so need to check the activerecord docs :)
[10:56:23] mnemon: Maybe there's some limitation that I'm not seeing but can't you just do the rails equivalent of o = Dog.new;o.extends(SleepyDog);o.add_relations where add_relations runs the "has_many :blahs" to add the relation to the instance?
[10:57:19] mnemon: You of course need to create the migrations to have the DB side support but otherwise should be feasible ...
[10:58:10] mnemon: has_many ? :) https://apidock.com/rails/v4.2.7/ActiveRecord/Associations/ClassMethods/has_many
[11:12:04] mnemon: jaegerca: ah, right ... have you looked at engine namespace isolation? If it's good enough to isolate the modified Dog based on the engine I think this would enable you to modify the class and not have the rest of the application see the new functionality.

2017-07-27

[22:42:49] mnemon: Remote host closed the connection
[22:43:02] mnemon: has joined #ruby-offtopic
[22:43:02] mnemon: has joined #ruby

2017-06-20

[00:15:58] mnemon: Remote host closed the connection
[00:20:11] mnemon: has joined #ruby-offtopic
[00:20:11] mnemon: has joined #ruby
[00:24:36] mnemon: has joined #ruby
[00:24:36] mnemon: has joined #ruby-offtopic

2017-06-13

[08:01:08] mnemon: has joined #ruby-offtopic
[08:01:08] mnemon: has joined #ruby

2017-06-07

[21:29:25] mnemon: Ping timeout: 240 seconds

2017-06-05

[06:50:11] mnemon: has joined #ruby-offtopic
[06:50:11] mnemon: has joined #ruby

2017-06-04

[20:46:11] mnemon: *.net *.split

2017-05-29

[15:54:58] mnemon: elomatreb: a lot of AV companies flagged netcat as "Hacking software" too :)
[16:05:16] mnemon: out of curiosity, do you know any packers that won't get flagged and could actually be used for legit software?
[16:05:54] mnemon: some AV's just flag any packer, can't easily dissassemble -> has to be evil :(
[16:09:26] mnemon: AV heuristics will also flag many packed/obfuscated binaries latest at runtime even if they don't have the specific fingerprints for the packer.

2017-05-08

[21:46:45] mnemon: has joined #ruby-offtopic
[21:46:45] mnemon: has joined #ruby

2017-05-07

[22:22:32] mnemon: *.net *.split

2017-05-04

[12:13:39] mnemon: esObe: with 10s look over, probably need to require the time_go_in_words gem.

2017-04-26

[01:38:29] mnemon: Ping timeout: 240 seconds
[01:39:27] mnemon: has joined #ruby-offtopic
[01:39:27] mnemon: has joined #ruby

2017-04-24

2017-04-07

[12:20:35] mnemon: moeSizlak: there's also ruby-filemagic with less dependencies

2017-04-06

[09:31:35] mnemon: zun: what would "pentesting with ruby" entail?
[09:32:17] mnemon: there's bunch of tutorials for working with metasploit(using ruby for modules etc.)
[09:37:41] mnemon: never seen anything focused on those but if you understand the concepts, reading up on ruby networking/http libs should be enough.
[09:37:59] mnemon: *enough to get you started.

2017-04-05

[11:54:37] mnemon: has joined #ruby-offtopic

2017-04-04

[05:14:21] mnemon: *.net *.split
[11:31:11] mnemon: has joined #ruby
[11:31:11] mnemon: Changing host

2017-03-30

[20:09:09] mnemon: Ping timeout: 258 seconds
[20:22:23] mnemon: has joined #ruby

2017-03-24

[15:37:24] mnemon: misthonk: what info are you looking for?
[15:37:38] mnemon: (from the responses)
[15:39:48] mnemon: nobitanobi: I'd check for the state of the significant data, so for something like a String the actual chararray match and so on ... == match on the same class regardless of state/data doesn't seem like a very good idea.
[15:40:42] mnemon: ah, right, nvm :)
[15:44:52] mnemon: you probably want to puts the .body if the response or something like that then :P

2017-03-22

[13:22:18] mnemon: erebel55: you can disable the certificate verification or feed it a proper cert store, iirc you can use the windows one too. curl uses the system (ca)certs.
[13:29:47] mnemon: What he meant is that even if you use https url the data can be intercepted and modified quite easily unlike with https with cert validation.
[13:30:28] mnemon: with verify_none you're only protected from middle of the session attacks, not from proxies that mitm the handshake.
[15:47:02] mnemon: Bulldoze: what will you use ruby for?
[15:47:56] mnemon: there's usually pretty big difference between writing rails apps, ruby libs/gems and using it in something like chef (DSL).

2017-03-16

[11:38:40] mnemon: zipper: because the installation files are signed with gpg
[12:40:31] mnemon: zipper: Seems like a routing issue(no route to the resolved ip).

2017-03-12

[03:36:49] mnemon: *.net *.split
[03:49:19] mnemon: has joined #ruby

2015-10-21

[14:57:15] mnemon: Ping timeout: 240 seconds

2015-10-16

[00:09:06] mnemon: has joined #ruby

2015-10-10

[21:31:36] mnemon: Ping timeout: 240 seconds
[21:33:16] mnemon: has joined #ruby

2015-10-08

[00:23:04] mnemon: Remote host closed the connection
[00:25:28] mnemon: has joined #ruby

2015-10-01

[22:50:24] mnemon: Remote host closed the connection
[22:50:41] mnemon: has joined #ruby

2015-07-03

[11:59:32] mnemon: *.net *.split

2015-06-20

[20:15:02] mnemon: *.net *.split
[20:20:50] mnemon: has joined #ruby

2015-02-07

[06:02:52] mnemon: pragmatism: well, it really depends on what you're doing ... (engineer doesn't tell much)

2014-11-17

[10:38:53] mnemon: jackmanarakat: what's that?
[10:39:23] mnemon: what is a programming bootcamp?
[10:39:38] mnemon: what do you do there etc.

2014-08-21

[00:25:30] mnemon: compulsive: it's easy to learn, but you can write very arcane code with it.
[00:33:43] mnemon: i've only ever participated in one ug and it was more of a "lets drink booze, talk IT and let some company desperate to do some marketing pay the tab" ;)

2014-06-16

[06:05:32] mnemon: monday22: gem specifications gemnamehere
[06:10:30] mnemon: *specification
[06:21:54] mnemon: monday22: yeah like i said, typo ... it's "gem specification"

2014-05-13

[18:59:11] mnemon: workmad3: when you want stable server os, you usually end up with rather dated one :P
[18:59:38] mnemon: fedora and centos

2014-05-03

[02:38:01] mnemon: yakko: there's no point in letting people use broken things like md5, if you want something fast just use sha
[02:43:16] mnemon: yakko: 1. md5 is badly broken 2. if any php dev still uses it for any security related purpose he should be shot.

2014-04-24

[11:22:55] mnemon: timgauthier: why don't you just generate a static version and open it up in a frame or popup window or something ... much easier than making all the stylings static and making sure the current pages styles won't interfere.
[11:25:45] mnemon: timgauthier: what's wrong with the responsiveness of iframe? i suppose you need to fetch the code from somewhere anyways?

2014-04-21

[02:09:41] mnemon: AlexRussia: that sentence doesn't make any sense
[02:22:02] mnemon: AlexRussia: [1,2,3,4].delete_if{ |i| i%2 == 0 } ?
[02:34:54] mnemon: tar56: IPoAC ?
[02:46:59] mnemon: shevy: it went away :(

2014-03-21

[00:18:27] mnemon: if you're in NL they probably wouldn't bother even reporting it since you can't be extradited for that ;)

2014-03-20

[23:53:22] mnemon: dorei: no, it will be translated for the computer ;)

2014-03-12

[21:04:12] mnemon: "pre-alpha"
[21:06:17] mnemon: havenwood: well, I bleed enough when using powershell on windows already :(
[21:08:03] mnemon: shevy: yeah, it's great for managing windows environments, but it's also slow as hell and buggy :/

2014-03-11

[20:32:31] mnemon: failshell: just read lines and split on = ?

2014-03-09

[05:36:02] mnemon: 1JTAANIGS: -5 01:00 = -4 02:00

2014-02-03

[04:40:45] mnemon: BraddPitt: what is there to explain? it will repeatedly call itself, to make one that doesn't just hang you need to specify a condition that will eventually end the recursion(if num == 1 in this case)

2014-01-31

[03:00:28] mnemon: beginner_coder: they just write a program that does malicious things.
[03:05:22] mnemon: bnagy: but they usually include some low level components for the actual infection/exploitation/whatever
[03:07:20] mnemon: beginner_coder: pretty much anything you could do in another language, it might not be as well suited to some tasks though.
[03:10:31] mnemon: beginner_coder: easiest way is to use some GUI toolkits like http://shoesrb.com/ or qt or something ... can't really recommend any since i haven't used any in ages.
[03:12:11] mnemon: beginner_coder: if you want to make a browser, you can use some gui lib like the one i meantioned, or you could write a webpage to use as a gui.
[03:14:32] mnemon: beginner_coder: depends what you call a "video game" ;)
[03:16:43] mnemon: beginner_coder: could make something like minesweeper or tic-tac-toe in few days/week maybe even if you don't really know programming but are reasonably good at the basics.
[03:18:31] mnemon: beginner_coder: there's a lot of frameworks/tools that make it much easier than writing it with generic gui libs but you usually still need to be reasonably good at programming.
[03:22:55] mnemon: breaking software is always more fun than making it ;)
[03:25:32] mnemon: to be fair, i haven't really done much in years apart from breaking some random pieces of software some incompetent coworkers wrote ... breaking anything widely used is too tedious without good automation which i'm too lazy to make :/
[03:26:12] mnemon: it does if you're good at it
[03:27:03] mnemon: bnagy: so i hear :) what kind of stuff do you do?
[03:31:19] mnemon: bnagy: you can write a fuzzer that finds a bunch of bugs and then get foiled by aslr, dep or sandboxing or whatever these days :P
[03:42:09] mnemon: lagweezle: since everyone is generally on x86 or -64 that's a bit misleading
[03:43:05] mnemon: bnagy: opcodes or aggregated instructions?
[03:59:31] mnemon: bnagy: if you just count the mnemonics it ain't that much ... or forget that 8086 has a few extensions nowadays ;)
[04:06:05] mnemon: i had a 486 by the time i was actually able to understand what i was typing in ... then got ruined by basic ;)
[04:11:27] mnemon: i had one of these http://en.wikipedia.org/wiki/VTech_Laser_200 as a toy ... but by the time i was actually able to read i already moved on to the 486 ...

2013-06-19

[01:04:45] mnemon: sprintf '%010d', 1
[01:10:00] mnemon: popl: like http://ruby-doc.org/core-2.0/String.html#method-i-25 ?
[01:15:05] mnemon: jackal_af: might get answers if you just ask the question :>
[01:19:01] mnemon: jackal_af: different authors and apparently different uses ... kafka-rb is for http://kafka.apache.org/ and kafka is "kafka is a tiny gem which allows you to convert standard svn repositories to git."
[01:23:57] mnemon: milardovich: if you always have the correct number(don't need to convert it to binary) just use d instead of b
[01:26:05] mnemon: you could use popls example to convert it into binary in the right format though ...
[01:27:08] mnemon: unless you need to do something funny like convert it to big endian :)