samosaphile

Activity Graph

Page 1 of 2 | Next »

2018-08-02

[17:45:03] samosaphile: has joined #RubyOnRails
[17:45:05] samosaphile: has joined #ruby
[18:31:54] samosaphile: Ping timeout: 252 seconds

2018-07-30

[18:13:12] samosaphile: has joined #RubyOnRails
[18:13:15] samosaphile: has joined #ruby
[18:18:27] samosaphile: Ping timeout: 252 seconds

2018-07-22

[10:58:09] samosaphile: has joined #RubyOnRails
[10:58:12] samosaphile: has joined #ruby
[17:30:18] samosaphile: Ping timeout: 252 seconds

2018-07-21

[17:49:54] samosaphile: has joined #ruby
[17:49:58] samosaphile: has joined #RubyOnRails
[17:50:00] samosaphile: has left #ruby: ()
[17:50:07] samosaphile: has joined #ruby
[22:27:24] samosaphile: Ping timeout: 252 seconds

2018-07-20

[00:07:00] samosaphile: *.net *.split
[16:31:42] samosaphile: has joined #RubyOnRails
[16:31:48] samosaphile: has joined #ruby
[21:46:48] samosaphile: Ping timeout: 252 seconds

2018-07-19

[15:23:08] samosaphile: has joined #RubyOnRails
[15:23:10] samosaphile: has joined #ruby
[15:40:06] samosaphile: what does .pack and .unpack actually do? and what does C* mean?

2018-07-18

[20:10:14] samosaphile: has joined #RubyOnRails
[20:10:18] samosaphile: has joined #ruby
[20:15:09] samosaphile: Ping timeout: 252 seconds

2018-07-17

[07:27:27] samosaphile: Ping timeout: 252 seconds
[18:44:12] samosaphile: has joined #RubyOnRails
[18:44:15] samosaphile: has joined #ruby
[23:38:41] samosaphile: Quit: Page closed

2018-07-16

[03:23:54] samosaphile: Ping timeout: 252 seconds
[16:49:16] samosaphile: has joined #RubyOnRails
[16:49:20] samosaphile: has joined #ruby

2018-07-15

[01:53:48] samosaphile: Ping timeout: 252 seconds
[18:34:00] samosaphile: has joined #RubyOnRails
[18:34:03] samosaphile: has joined #ruby

2018-07-14

[17:13:54] samosaphile: has joined #RubyOnRails
[17:13:57] samosaphile: has joined #ruby

2018-07-12

[11:18:57] samosaphile: Ping timeout: 252 seconds

2018-07-11

[09:35:50] samosaphile: has joined #RubyOnRails
[09:35:58] samosaphile: has joined #ruby
[10:09:45] samosaphile: Ping timeout: 252 seconds
[10:15:15] samosaphile: has joined #RubyOnRails
[10:15:18] samosaphile: has joined #ruby
[10:22:24] samosaphile: Ping timeout: 252 seconds
[11:23:40] samosaphile: has joined #RubyOnRails
[11:23:44] samosaphile: has joined #ruby
[12:19:33] samosaphile: Ping timeout: 252 seconds
[14:57:40] samosaphile: has joined #RubyOnRails
[14:57:44] samosaphile: has joined #ruby

2018-07-10

[17:28:13] samosaphile: havenwood: i liked that spidr crawler gem you linked to yesterday .. the only problem i'm having with it is, it seems to do a breadth first search (meaning scan all folders in higher level directories) before moving to lower levels. Need to somehow make it depth first (i.e. crawl deep first then move on) but not too sure how
[17:28:15] samosaphile: https://repl.it/repls/ModernAwkwardConfigfiles
[18:04:23] samosaphile: havenwood: not sure what the difference is or if i understand you question correctly .. basically that site, the directory goes like: Day folders -> Name folders -> Contents (.rep file, .txt file, .jpg files) .. but I only need to read .txt files (ignore everything else)
[18:05:35] samosaphile: havenwood: right now, it tries to download (or print I mean) all like Day folders first, then all name folders first ... before getting to actual contents (.txt files)
[18:06:08] samosaphile: maybe you're right not easy to add..
[20:20:54] samosaphile: Ping timeout: 252 seconds

2018-07-09

[14:16:08] samosaphile: has joined #ruby
[14:16:19] samosaphile: has joined #RubyOnRails
[14:16:28] samosaphile: has left #RubyOnRails: ()
[14:16:30] samosaphile: has left #ruby: ()
[14:16:33] samosaphile: has joined #RubyOnRails
[14:16:35] samosaphile: has joined #ruby
[19:15:08] samosaphile: hey havenwood
[19:22:51] samosaphile: any idea how to build a web crawler/scraper in ruby? something that can for example, go through each directory and subdirectory, here: http://gentool.net/data/zh/ looking for .txt files such as http://gentool.net/data/zh/2018_07_July/09_Monday/-beginner-_EKDSILEHOIEI/17-53-11_2v2v2_wuestenf_MaSTeRAc_beginner_akagoisU_Goopher4_SolidSna.txt then like read or scrape certain info from these .txt files but not all?
[19:31:25] samosaphile: is it really hard building your own? like what topics do you need to know or understand? i was thinking of using like library/framework but they all seem so bloated and like have hundreds of features but what im trying to crawl/scrape seems simple but idk
[19:36:45] samosaphile: wouldn't --mirror download everything?
[19:39:28] samosaphile: well....i guess you've to download everything anyway to read/see... what is within it first and then filter / discard info you don't want...
[19:41:06] samosaphile: it's just so confusing when there's like a million frameworks to do same thing, which one to pick
[19:55:15] samosaphile: lupine: yeah, you're right..they just downloading + html parsing... i don't need everything tho..just realized most of those folders are empty... so just need to write something like looks for folder of current month (july) and maybe previous month (june) .. then somehow like maybe do .scan/*.txt/ or some kind of regex scan for only .txt files in folder so it only download those instead of like everything else
[20:01:30] samosaphile: i just don't understand how .. like website has (A) directory with folders -> (B) sub directory with folders -> (C )the files (.rep, .jpeg, .txt) .. so like going from A -> B -> C ... do you need to download everything in B to get to C?
[20:01:57] samosaphile: nvm, ..not trivial, just use a crawler gem

2018-07-08

[17:50:22] samosaphile: has joined #RubyOnRails
[17:50:46] samosaphile: has joined #ruby
[21:11:09] samosaphile: Ping timeout: 252 seconds

2018-07-07

[16:51:36] samosaphile: has joined #RubyOnRails
[16:51:39] samosaphile: has joined #ruby
[23:45:18] samosaphile: Quit: Page closed

2018-07-06

[15:13:34] samosaphile: has joined #RubyOnRails
[15:29:04] samosaphile: https://pine.fm/LearnToProgram/chap_06.html - "...Change your previous program so that you have to shout BYE three times in a row. Make sure to test your program: if you shout BYE three times, but not in a row, you should still be talking..." <- how does one do this?
[17:07:32] samosaphile: optikalmouse: any idea how to write (".".join(str(int(x, 16)) for x in (["".join(x) for x in zip(*[iter(UID)]*2)]))) or ('.'.join(str(int(i, 16)) for i in ([UID[i:i+2] for i in range(0, len(UID), 2)]))) (does same thing) in ruby? it's supposed to convert little endian hex string to IP
[17:26:10] samosaphile: example input: 55905E48 desired output: 85.144.94.72
[17:26:22] samosaphile: has joined #ruby
[17:29:03] samosaphile: hey, any idea how to write something in ruby which takes hex and converts to IP? like ... example input: 55905E48 desired output: 85.144.94.72
[17:37:44] samosaphile: oh, didn't know it'd be that easy
[17:38:05] samosaphile: thx, i see now
[17:39:12] samosaphile: but what if you wanted to ignore the 255 part or not print/show it
[17:46:47] samosaphile: wow, thanks so much havenwood and Zarthus
[17:51:49] samosaphile: ...no idea how that works tho ._.
[17:53:58] samosaphile: havenwood: im interested .. just don't know where to begin.. like i really don't understand any of it :/
[17:54:26] samosaphile: ye, like base 16
[17:59:42] samosaphile: going to ask noob questions
[18:01:38] samosaphile: when you did >> '55'.hex <-- what does the dot behind hex do? dot = method? is there a way to find like a list of like dot commands in ruby intrepreter?
[18:03:22] samosaphile: sorry, am abit slow... this probably going to take me like 2 weeks to actually get it lol
[18:09:16] samosaphile: i'm actually still confused over <Zarthus> that's just the return value of IPAddr#inspect like where do you add #inspect in irb(main):008:0> IPAddr.new "55905E48".hex, Socket::AF_INET => #<IPAddr: IPv4:85.144.94.72/255.255.255.255>
[18:10:45] samosaphile: IPAddr.new("55905E48".hex, Socket::AF_INET).to_s <- this does work tho... not sure why doing .to_s makes it ignore 255 part
[18:31:17] samosaphile: too much new info at same time, braincrashed x_x..
[22:12:24] samosaphile: Ping timeout: 252 seconds

2018-07-05

[17:37:38] samosaphile: has joined #RubyOnRails
[18:14:32] samosaphile: has joined #ruby
[19:31:22] samosaphile: Quit: Page closed

2018-07-04

[12:59:13] samosaphile: has joined #RubyOnRails
[13:17:23] samosaphile: how do you make it so that, 'require 'bootsnap/setup'' is permanently commented out or removed from config/boot.rb, so that whenever i do rails new app, i don't have to manually do it everytime (because it creates that line automatically be default)
[13:27:38] samosaphile: tbuehlmann: https://github.com/Shopify/bootsnap/issues/67 https://gitlab.com/gitlab-org/gitlab-ce/issues/45230 bootsnap is broken on armv7 (running rails on ubuntu chroot on a arm chromebook)
[13:33:59] samosaphile: does anyone use nano text editor here?
[13:58:09] samosaphile: Ping timeout: 252 seconds

2018-07-03

[03:25:35] samosaphile: Quit: Page closed

2018-07-02

[11:43:20] samosaphile: has joined #RubyOnRails
[11:43:32] samosaphile: has joined #ruby
[11:48:31] samosaphile: has left #ruby: ()
[11:49:40] samosaphile: any idea why this is happening? http://dpaste.com/1G1BZGT
[12:35:53] samosaphile: sevenseacat: ok, but now i get: http://dpaste.com/1QX7JY7
[12:55:03] samosaphile: thx:) , altho getting new errors now, atleast it fixed my rake errors...was getting a heartattack lol... completed like 110/282 of koans stuff and then suddenly rake broke.. never before happened. so was surprise...

2018-06-30

[17:41:07] samosaphile: has joined #RubyOnRails
[17:41:10] samosaphile: has joined #ruby
[17:52:33] samosaphile: hey anyone around?
[18:02:00] samosaphile: Ping timeout: 260 seconds

2018-06-29

[14:48:57] samosaphile: has joined #RubyOnRails
[14:49:01] samosaphile: has joined #ruby

2018-06-27

[19:51:10] samosaphile: has joined #RubyOnRails
[19:51:13] samosaphile: has joined #ruby
[20:13:18] samosaphile: anyone have the solutions to these: https://pine.fm/LearnToProgram/chap_06.html not sure if am doing it right. so far done: https://repl.it/repls/GiantLimpingRoute https://repl.it/repls/AngryGoldenrodWaterfall kinda stuck on how to do third one
[20:17:34] samosaphile: well, i just dunno how to make something which asks for same input 3 times...and when condition met exists..
[20:20:22] samosaphile: also, does the term 'command' have special meaning in ruby? cuz i've found if i replace word with another word, it doesn't work .. or starts to show errors / warnings(?)
[20:24:39] samosaphile: ok, that is really wierd then...
[20:26:15] samosaphile: had to change all my variable names from 'Talk' to 'command' to make warnings go away on repl.it... :S wtf
[20:28:07] samosaphile: Quit: Page closed

2018-06-26

[21:04:50] samosaphile: has joined #RubyOnRails
[21:04:54] samosaphile: has joined #ruby
[21:08:35] samosaphile: Quit: Page closed

2018-06-22

[14:08:49] samosaphile: has joined #ruby
[14:08:56] samosaphile: has left #ruby: ()
[14:08:59] samosaphile: has joined #RubyOnRails
[14:09:03] samosaphile: has joined #ruby
[14:18:13] samosaphile: Quit: Page closed

2018-06-20

[19:16:32] samosaphile: has joined #RubyOnRails
[19:16:37] samosaphile: has joined #ruby
[20:35:01] samosaphile: that book by chris pine is good
[20:42:03] samosaphile: not too sure what this rubykoans stuff is about but do you really need to ruby installed locally for this, or would repl.it be fine?
[21:08:11] samosaphile: Quit: Page closed

2018-06-16

[00:54:45] samosaphile: Ping timeout: 260 seconds
[16:53:53] samosaphile: has joined #RubyOnRails
[16:53:57] samosaphile: has joined #ruby
[17:15:44] samosaphile: Quit: Page closed

2018-06-15

[22:27:19] samosaphile: has joined #RubyOnRails
[22:27:23] samosaphile: has joined #ruby

2018-06-12

[13:05:46] samosaphile: is there a reason why haskell has no or few libraries/frameworks but OOP stuff (java, python, c# / .NET, etc) have tons? despite haskell being older language? well, i guess you could say java was backed by sun/oracle and c# by MS, which helped but ruby/python weren't ...
[13:09:28] samosaphile: what happens if you need a library in python/ruby but write something in haskell? is it possible to use libraries from different languages?
[13:10:17] samosaphile: k, was just curious
[13:25:07] samosaphile: dminuoso: what are your thoughts on python and c# / .NET ? do you equally detest them like javascript and ruby / rails? :P
[13:25:32] samosaphile: i don't understand dminuoso if you really hate web so much, why not just use rust instead?
[15:11:34] samosaphile: hmm, doesn't seem haskell is great for gui stuff, http://www.scs.stanford.edu/14sp-cs240h/projects/martinez.pdf https://www.reddit.com/r/haskell/comments/3z6961/designing_a_gui_library_purely_in_haskell/cyjskts/
[19:07:48] samosaphile: Quit: Page closed

2018-06-10

[11:03:59] samosaphile: has joined #RubyOnRails
[11:04:02] samosaphile: has joined #ruby

2018-06-09

[16:22:21] samosaphile: has joined #RubyOnRails
[16:22:28] samosaphile: has joined #ruby
[18:39:55] samosaphile: Ping timeout: 260 seconds

2018-06-02

[00:17:23] samosaphile: has joined #RubyOnRails
[00:17:26] samosaphile: has joined #ruby
[00:24:25] samosaphile: Ping timeout: 260 seconds
[09:01:25] samosaphile: has joined #RubyOnRails
[09:01:30] samosaphile: has joined #ruby
[23:05:42] samosaphile: Quit: Page closed

2018-06-01

[22:49:45] samosaphile: has joined #RubyOnRails
[22:49:49] samosaphile: has joined #ruby
[22:57:41] samosaphile: why are there no rails tutorials which don't deal with registration / login ? not everyone is trying build something to force users to register
[23:03:03] samosaphile: malide: no longer free :\
[23:09:02] samosaphile: yea, i was shocked at the change now too. i tried it a few months ago and just tried it today and completely different site
[23:17:10] samosaphile: it's also beginning to annoy me that the few resources left for rails ... like half of them are paid? not funny ... and why on earth would you? like now of all the times? who exactly is trying to learn rails now? (besides like me) no one in 2018 lol
[23:41:50] samosaphile: Ping timeout: 260 seconds

2018-05-30

[20:56:15] samosaphile: Ping timeout: 260 seconds

2018-05-29

[02:47:02] samosaphile: *.net *.split
[02:47:45] samosaphile: has joined #RubyOnRails
[02:47:56] samosaphile: has joined #ruby

2018-05-28

[12:00:22] samosaphile: has joined #RubyOnRails
[12:00:25] samosaphile: has joined #ruby

2018-05-27

[13:27:47] samosaphile: has joined #RubyOnRails
[13:27:50] samosaphile: has joined #ruby
[23:03:00] samosaphile: Quit: Page closed

2018-05-24

[09:14:23] samosaphile: *.net *.split
[09:43:23] samosaphile: has joined #RubyOnRails
[09:43:26] samosaphile: has joined #ruby
[11:17:58] samosaphile: Quit: Page closed

2018-05-22

[08:03:01] samosaphile: has joined #RubyOnRails
[08:03:06] samosaphile: has joined #ruby
[10:32:18] samosaphile: ACTION takes a deep breath
[10:32:32] samosaphile: IMO, one of reason(s) why there is so much money in web dev stuff now is because of the emergence of technologies like nodejs which enable more powerful like web apps.
[10:32:44] samosaphile: If you know how to deploy web app's like on cloud (e.g. AWS, GCP, etc) you're basically doing devops stuff almost. Atm right now, there is allot of money for knowing how to setup, config web apps in containers. Yes, if you just know 1997 HTML no one is going to care, just in the same way knowing 1997 python will get you nowhere.
[10:32:55] samosaphile: If you stay stagnant in any field you'll get nowhere (especially in tech field) but it is a stepping stone. Just like you can't break into ML / DL field without knowing the foundations of python. Knowing the foundations of web dev / JS help enable you to understand devops / cloud. (because 90% of the stuff being deployed on AWS is stuff like JS web apps and mobile apps)
[10:34:16] samosaphile: or it's one way anyway
[10:34:37] samosaphile: I guess sys admin is another route
[10:36:07] samosaphile: you can hate web dev stuff all you want but the future is all about collaboration and openness
[10:37:14] samosaphile: dev stuff didn't really get big or mainstream until stuff like github came around imo
[10:50:18] samosaphile: dminuoso: ok, lets look at Erlang
[10:50:37] samosaphile: what's built with erlang?
[10:50:46] samosaphile: i don't know of anything
[10:52:10] samosaphile: yeah, never heard of it
[11:02:33] samosaphile: companies are using it
[11:02:47] samosaphile: industry is using it
[11:02:55] samosaphile: ACTION shrugs
[11:04:41] samosaphile: all those features that erlang has may sound nice and all, but where is the industry mass adoption
[11:07:54] samosaphile: i guess it comes down to right tool for right job in the end
[11:09:28] samosaphile: the features i want the problems am trying to solve don't see how stuff like erlang or haskell would help at all
[11:20:36] samosaphile: but lol dminuoso i don't know how you ended up here in rails in the first place with your hate of web xD .. surprised you're in ruby ... instead of like rust or somewhere
[11:21:53] samosaphile: anyways, my point was just to show that there is money in web dev stuff. think i proved this point. so mission accomplished.
[11:25:42] samosaphile: but i suppose there is money in anything if you're good at it... just that you said avg. salary in us was 60k / yr. yes, it is, but it can easily be doubled switching to learning devops stuff. i guess you could say the same about erlang or haskell, but i just don't know or am aware even of erlang/haskell being popular in cloud to deploy stuff on aws and stuff
[11:27:34] samosaphile: altho im not even sure why i keep mentioning devops as it seems dead boring and something only companies care about
[11:27:45] samosaphile: but this started about money
[11:28:05] samosaphile: ML / DL is one way, so is devops
[11:28:42] samosaphile: don't see money in erlang/haskell :/

2018-05-18

[18:57:34] samosaphile: has joined #RubyOnRails
[18:57:37] samosaphile: has joined #ruby
[21:20:05] samosaphile: Ping timeout: 260 seconds

2018-05-17

[23:12:00] samosaphile: has joined #RubyOnRails
[23:12:04] samosaphile: has joined #ruby

2018-05-14

[15:57:05] samosaphile: Ping timeout: 260 seconds

2018-05-13

[01:17:02] samosaphile: has joined #RubyOnRails
[01:17:13] samosaphile: has joined #ruby

2018-05-12

[11:57:56] samosaphile: has joined #RubyOnRails
[11:57:59] samosaphile: has joined #ruby
[12:06:45] samosaphile: Quit: Page closed

2018-05-11

[21:57:22] samosaphile: has joined #RubyOnRails
[21:57:25] samosaphile: has joined #ruby