hk238

Activity Graph

Page 1 of 3 | Next »

2017-07-11

[10:10:32] hk238: has joined #ruby
[10:10:58] hk238: hello, I was wondering if there is a text editor that also works as a ruby interpreter of some sort? :d
[10:13:27] hk238: I'll look into that ^^
[13:31:10] hk238: Remote host closed the connection

2016-07-31

[03:59:23] hk238: has joined #ruby
[13:26:29] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[14:36:41] hk238: has joined #ruby
[18:38:10] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-30

[03:36:25] hk238: has joined #ruby
[07:01:44] hk238: Ping timeout: 260 seconds
[07:02:45] hk238: has joined #ruby
[07:02:50] hk238: Client Quit
[07:05:47] hk238: has joined #ruby
[18:52:48] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-29

[11:42:31] hk238: has joined #ruby
[13:28:33] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[14:08:40] hk238: has joined #ruby
[19:04:31] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-28

[09:47:17] hk238: has joined #ruby
[18:32:03] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-27

[05:05:09] hk238: has joined #ruby
[13:15:30] hk238: Ping timeout: 258 seconds
[13:41:41] hk238: has joined #ruby
[18:30:10] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-26

[04:49:20] hk238: has joined #ruby
[07:03:12] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[09:47:22] hk238: has joined #ruby
[18:11:47] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-25

[05:17:44] hk238: has joined #ruby
[18:34:07] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-24

[03:24:46] hk238: has joined #ruby
[04:32:38] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[05:22:42] hk238: has joined #ruby
[18:19:55] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-23

[05:00:58] hk238: has joined #ruby
[07:55:07] hk238: Ping timeout: 258 seconds
[10:05:10] hk238: has joined #ruby
[18:29:45] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-22

[13:33:00] hk238: has joined #ruby
[15:39:46] hk238: *.net *.split
[16:17:35] hk238: has joined #ruby
[18:34:11] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-21

[10:56:24] hk238: has joined #ruby
[18:28:43] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-20

[03:50:19] hk238: has joined #ruby
[19:02:56] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-19

[04:11:25] hk238: has joined #ruby
[07:56:39] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[11:50:35] hk238: has joined #ruby
[18:20:18] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-18

[04:24:07] hk238: has joined #ruby
[18:43:53] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-17

[02:29:49] hk238: has joined #ruby
[18:29:41] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-16

[04:22:39] hk238: has joined #ruby
[19:00:29] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-15

[03:52:42] hk238: has joined #ruby
[04:25:30] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[11:29:53] hk238: has joined #ruby
[18:29:07] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-14

[10:30:14] hk238: has joined #ruby
[18:52:45] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-13

[03:56:32] hk238: has joined #ruby
[18:18:06] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-12

[03:46:23] hk238: has joined #ruby
[18:19:24] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-11

[05:12:12] hk238: has joined #ruby
[07:10:37] hk238: Ping timeout: 260 seconds
[07:24:28] hk238: has joined #ruby
[18:43:00] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-10

[03:57:29] hk238: has joined #ruby
[04:30:50] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[04:42:00] hk238: has joined #ruby
[04:59:55] hk238: *.net *.split
[05:28:39] hk238: has joined #ruby
[14:24:36] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[15:40:35] hk238: has joined #ruby
[15:43:38] hk238: hmm how do I match a whitespace character ?
[15:44:26] hk238: or more specifically I'm editing a sublime syntax definitions file, and I'm trying to match a whitespace, problem is if I do `\ ` backslash and whitespace, then the file doesnt work, and if I do `\s` then it matches all whitespaces I think
[15:44:48] hk238: pontiki how would I do it with regexp? :o
[15:45:22] hk238: it's a ruby regexp, but for some reaso nin thisthing it doesnt work if it ends in a space, so it's problematic
[15:45:33] hk238: (or at least it's claiming to be ruby)
[15:46:24] hk238: https://www.sublimetext.com/docs/3/syntax.html
[15:46:27] hk238: it says here it's ruby though
[15:47:01] hk238: on the off chance that it actually is ruby,
[15:47:29] hk238: if for some reason sublime wouldnt process a match correctly when it ends in a `\ ` that is a backslash, and a literal space, how would I match whitespace differently?
[15:49:22] hk238: alright thanks, i didnt realize I have to escape it
[15:49:54] hk238: it seems to work now, well, the at least there's no error, the syntax definition doesnt work, but I think that's not about the regular expression so it should be a different issue..
[15:51:38] hk238: actually it is a problem with it, there's no error once escaping the backslash, but it's not matching the whitespace
[15:51:54] hk238: I mean I tried it with `\s` and it matches a whitespace
[15:52:16] hk238: yeah that's the problem :d
[15:52:28] hk238: or I assumed it would be a problem so I didnt try that
[15:53:24] hk238: oh well, that didnt even occur to me
[15:53:36] hk238: I mean I tried backslash space, but not jus tspace
[15:55:14] hk238: hey thanks that works
[18:35:03] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-09

[05:10:00] hk238: has joined #ruby
[18:33:31] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-08

[11:40:46] hk238: has joined #ruby
[18:35:50] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-07

[03:59:54] hk238: has joined #ruby
[04:22:36] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[10:15:49] hk238: has joined #ruby
[18:24:19] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-06

[04:18:52] hk238: has joined #ruby
[09:02:21] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[14:38:33] hk238: has joined #ruby
[18:28:38] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-05

[04:03:42] hk238: has joined #ruby
[11:02:08] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[14:44:46] hk238: has joined #ruby
[19:58:04] hk238: Ping timeout: 264 seconds

2016-07-04

[04:08:00] hk238: has joined #ruby
[18:20:11] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-03

[04:12:28] hk238: has joined #ruby
[13:27:14] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[13:28:04] hk238: has joined #ruby
[18:10:51] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-02

[03:46:39] hk238: has joined #ruby
[18:41:55] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-07-01

[11:43:27] hk238: has joined #ruby
[18:24:14] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[18:25:46] hk238: has joined #ruby
[19:47:58] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-30

[10:39:54] hk238: has joined #ruby
[18:37:16] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-29

[03:53:27] hk238: has joined #ruby
[08:03:28] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[12:16:24] hk238: has joined #ruby
[18:32:50] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-28

[04:33:03] hk238: has joined #ruby
[13:40:15] hk238: Ping timeout: 244 seconds
[14:10:34] hk238: has joined #ruby
[18:23:11] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-27

[04:53:49] hk238: has joined #ruby
[06:31:48] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[06:38:06] hk238: has joined #ruby
[08:00:16] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[08:46:18] hk238: has joined #ruby
[12:22:09] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[12:26:45] hk238: has joined #ruby
[18:20:12] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-26

[03:32:22] hk238: has joined #ruby
[05:13:29] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[05:17:02] hk238: has joined #ruby
[07:20:06] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[07:30:23] hk238: has joined #ruby
[07:43:40] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[08:22:37] hk238: has joined #ruby
[13:19:43] hk238: Ping timeout: 244 seconds
[13:43:04] hk238: has joined #ruby
[16:57:22] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[17:06:42] hk238: has joined #ruby
[18:58:40] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-25

[03:41:53] hk238: has joined #ruby
[04:04:14] hk238: kraken_ I can't explain it properly, but it refers to a concept called `message passing` which is one of the features useful for implementing an object oriented language. I think examples of that are things like datatypes.
[04:05:11] hk238: well I'm not sure if this is accurate, but at least it's a comparison, for an example if you have a function `absolute value` and thne you'v edifferent kinds of number types, like integers, unsigned integers, floating points, and so on
[04:06:18] hk238: the `message passing` style of implementing these things would be that you pass this command to that thing, and it returns you the value. So for an example if you add another thing to the list of things that you could get an absolute value out of, you dont need to chang ethe `absoliute value`command, instead you just includ ea response in the newly defined thing
[04:06:49] hk238: hmm although I might be confusing this with the concept of `data driven..` ... data driven. What was it
[04:07:58] hk238: I'm confused about this for, well I was watchin a lecture on this a few days ago when going to bed, and now I cant remember it corretcly
[04:08:42] hk238: there was 3 concepts involved, but somehow I have formed categories for only two, and am miximg up the data driven approach with the message passing approach and cant tell what the difference is, I should go back and read up on tha Iguess... anyone else know what that distinction might be? ^^
[04:25:52] hk238: the lecture I was watching is from youtube Computer Science 61A lecture 15, I think the year for this one was 2007.. The topic of the lecture is generic operators (also video title I think)
[04:26:30] hk238: it contained an example with squares and circles and different ways of implementing a system of calculating their `area` so that was like the absolute example
[04:32:45] hk238: and the first case was `conventional approach` which was basically the worst way of defining things, in that method basically you write in side an operator how it deals with different types, like for an example some conditions.. if the type of this data is , then use that procedure.. and it's basically inefficient or awkward
[04:33:08] hk238: the reasoning being that if yo add a new type like `orange` or whatever, and then you want to include that into the system, you've to look at the definitions of each operation
[04:33:19] hk238: and add a new typetest, and a new procedure for the orange
[04:33:39] hk238: so it just makes things more convoluted
[04:34:12] hk238: then there was a data directed approach, in which case the operators were defined i na different manner, kind of like as a table, so I'm not sure what exact implementation style was... I guess this was the confusing part
[04:34:34] hk238: since the lecture is using schema or how you spell that? and I was going to bed, and when Im lying down, I cant see what the lecturer is typing
[04:34:47] hk238: so anyway I dont know the details of the implementation, but I'm just guessing based on the contetx what it must be
[04:35:38] hk238: and that is so you implement the operator procedure so that first there's a table of operations for each type, or something like that, and whne you include a new type, then you just add a row into the table.. But that seems awfully.. well exactly the same as the conventional approach
[04:36:19] hk238: and thne there was message passing, which was that the operator doesnt need to know anything about the object
[04:36:30] hk238: instead it's defined in each object
[04:36:40] hk238: or something like that
[04:37:22] hk238: hmm I guess I dont know it accurately enough to make the difference out :o
[04:37:59] hk238: or maybe the difference was that
[04:40:04] hk238: I dont know I'm getting too confused about this
[04:42:31] hk238: hmm maybe the difference was something of the sort that the function call included the type, either so that there isa routing layer with the type, that could be implemented as a table with functions
[04:43:39] hk238: or that there's a separate function for each type, but that doesnt seem very efficient....... Ahh I dont kno.w But the message passing thing is convenient and it was the 3rd case, so send the object the message `area` and expect the object to return a value as a return message or somtehing like that
[04:44:07] hk238: kind of hoping someone would clear this up but I dont know.... I think it's good time to get some more coffee ^^
[17:11:56] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[17:34:29] hk238: has joined #ruby
[18:26:25] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-24

[03:44:32] hk238: has joined #ruby
[04:14:28] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[06:34:28] hk238: has joined #ruby
[09:34:57] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[09:43:06] hk238: has joined #ruby
[18:39:58] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-23

[10:42:21] hk238: has joined #ruby
[18:29:52] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-22

[03:41:14] hk238: has joined #ruby
[09:41:57] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[10:27:40] hk238: has joined #ruby
[13:36:18] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[13:58:20] hk238: has joined #ruby
[18:35:36] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-21

[03:16:02] hk238: has joined #ruby
[03:30:45] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[04:37:49] hk238: has joined #ruby
[05:21:22] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[05:27:40] hk238: has joined #ruby
[13:26:11] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[13:50:09] hk238: has joined #ruby
[18:06:25] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-20

[03:44:58] hk238: has joined #ruby
[13:45:37] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[14:17:34] hk238: has joined #ruby
[15:41:41] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[15:46:26] hk238: has joined #ruby
[18:10:35] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-19

[03:43:02] hk238: has joined #ruby
[14:48:55] hk238: Ping timeout: 244 seconds
[15:26:06] hk238: has joined #ruby
[18:13:45] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-18

[04:03:14] hk238: has joined #ruby
[17:26:00] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[17:46:10] hk238: has joined #ruby
[18:14:54] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-17

[10:26:29] hk238: has joined #ruby
[16:54:27] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-16

[10:43:46] hk238: has joined #ruby
[17:49:30] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-15

[03:46:42] hk238: has joined #ruby
[12:47:04] hk238: Ping timeout: 240 seconds
[13:21:52] hk238: has joined #ruby
[18:18:47] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-14

[03:37:16] hk238: has joined #ruby
[18:03:16] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-13

[05:42:45] hk238: has joined #ruby
[17:58:06] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-12

[03:48:22] hk238: has joined #ruby
[17:59:32] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-11

[04:11:06] hk238: has joined #ruby
[12:46:08] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[16:01:08] hk238: has joined #ruby
[18:03:16] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-10

[10:58:10] hk238: has joined #ruby
[18:13:59] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria

2016-06-09

[04:05:34] hk238: has joined #ruby
[04:16:55] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria
[10:39:18] hk238: has joined #ruby
[18:14:49] hk238: Quit: http://www.kvirc.net/ 4.9.1 Aria