00:00:24 | MFlamer | Yeah. I'm learning alot, but not really fixing much |
00:00:35 | filwit | that's good though |
00:00:46 | filwit | gotta know how it works |
00:01:07 | filwit | i've only taken a few looks at the compiler so far, but plan on doing more later |
00:03:55 | MFlamer | Are you in CA? I know someone was, but I forgot who |
00:04:27 | filwit | me? no, i'm in Florida not California |
00:04:49 | MFlamer | Oh, cool. I'm i CA. Went to Tampa once |
00:05:33 | filwit | cool. I live in Tampa bay area. but i may move further south eventually |
00:05:48 | filwit | i was born in CA though, and live most my life in Oregon |
00:06:02 | filwit | sort.. |
00:06:04 | filwit | sorta** |
00:06:28 | MFlamer | Oh sweet. I like oregon. Have some family in Portland, lived there for a few months |
00:07:11 | filwit | cool. yeah i was either going to get a job in Portland, or in Florida. i chose sunshine, lol |
00:07:26 | filwit | Oregon is nice, but to much rain in the Willamette valley |
00:07:39 | filwit | and not much going on in eastern oregon |
00:09:24 | filwit | i miss the mountains though |
00:09:32 | filwit | florida is far to flat |
00:10:42 | MFlamer | :-) |
00:10:47 | * | xenagi joined #nimrod |
00:27:36 | * | brson joined #nimrod |
00:39:43 | * | brson quit (Remote host closed the connection) |
00:41:00 | * | brson joined #nimrod |
01:08:11 | * | freezerburnv joined #nimrod |
01:09:57 | freezerburnv | I don't know who mentioned it, but someone a few days or something ago mentioned the website gamemath. Is the book on there good for learning that kind of thing? Or is there something better? (I'm a relative newbie to math and whatnot) (also sorry if this is super off topic, but just remembered to ask about it and people were talking about making a game in Nimrod around then as well) |
01:13:41 | fowl | freezerburnv, it looks legit |
01:16:12 | filwit | nice find |
01:33:16 | * | filwit quit (Quit: Leaving) |
01:53:02 | * | MFlamer quit (Ping timeout: 240 seconds) |
02:16:18 | webskipper | do we really need the * symbol for exportss ? |
02:17:22 | webskipper | do we need exports at all (and if yes why?) |
02:18:57 | * | DAddYE quit () |
02:20:27 | EXetoC | webskipper: usually it doesn't make sense to expose everything, such as helper functions and what have you |
02:21:15 | EXetoC | so everything that isn't exported remains inaccessible to other modules |
02:24:40 | xenagi | it's better than python's __dunder__ naming conventions |
02:26:52 | webskipper | in python its all public by default ? |
02:28:46 | freezerburnv | In python everything is public and everything is mutable |
02:29:00 | freezerburnv | Except tuples |
02:29:07 | OrionPK | export everything and you have a lot more potential for conflicting names |
02:29:34 | freezerburnv | (and you can probably set stuff in tuples in some sneaky way, because python) |
02:29:34 | EXetoC | There's no language support for private in python - it's just a convention, stating that everything beginning with an underscore is to be considered private |
02:30:53 | webskipper | ah ok |
02:44:54 | * | Jesin joined #nimrod |
03:24:43 | * | brson quit (Ping timeout: 245 seconds) |
03:26:11 | * | EXetoC quit (Quit: WeeChat 0.4.2) |
03:27:32 | * | freezerburnv quit (Quit: freezerburnv) |
03:30:55 | xenagi | yeah nothing is really private |
03:31:10 | xenagi | it's all public, but python won't implicitly import __dunder__ members |
03:31:16 | xenagi | you have to explicitly import them |
03:41:46 | * | webskipper quit (Read error: Connection reset by peer) |
04:12:51 | * | Jesin quit (Ping timeout: 246 seconds) |
04:33:37 | * | eigenlicht quit (Quit: WeeChat 0.3.2) |
04:38:09 | * | brson joined #nimrod |
04:55:32 | Varriount | Hm. Besides directly assigning a var the iterator type, is there ny other way to "explicitly instanciate" one? |
05:07:55 | * | xenagi quit (Quit: Leaving) |
05:33:59 | fowl | Varriount, no? |
06:12:21 | * | mflamer joined #nimrod |
06:26:21 | * | mflamer quit (Remote host closed the connection) |
06:28:48 | * | Boscop quit (*.net *.split) |
06:28:48 | * | musicalchair quit (*.net *.split) |
06:28:48 | * | fowl quit (*.net *.split) |
07:12:12 | * | OrionPK quit (Read error: Connection reset by peer) |
08:44:56 | * | fowl joined #nimrod |
08:44:56 | * | Boscop joined #nimrod |
08:44:56 | * | musicalchair joined #nimrod |
08:46:12 | * | brson quit (Ping timeout: 264 seconds) |
09:18:10 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
09:39:41 | * | C0C0 quit (Ping timeout: 272 seconds) |
09:46:34 | * | CarpNet joined #nimrod |
09:54:04 | * | C0C0 joined #nimrod |
10:50:58 | * | BitPuffin joined #nimrod |
10:53:00 | * | q66 quit (Ping timeout: 260 seconds) |
11:18:05 | * | phil4mac joined #nimrod |
11:21:22 | * | q66 joined #nimrod |
11:26:43 | phil4mac | How would one go about wrapping "termios.h" so that it could be used from nimrod to setup the parameters of a seral port, e.g. baudrate, parity etc...? I can find the functions tcgetattr, tcsetattr or ioctl in standard library. |
11:27:00 | phil4mac | * can't find |
11:35:11 | * | io2 joined #nimrod |
12:04:52 | * | io2 quit () |
12:09:33 | BitPuffin | phil4mac: well maybe they exist under a different name. But basically what you would do is to run c2nim on the header |
12:09:54 | BitPuffin | and if that fails, modify the header to be in a way that c2nim would like |
12:10:29 | phil4mac | at the moment c2min bombs out with a syntax error if I point it at the header. |
12:12:46 | phil4mac | BitPuffin: is the the right way to be using it? ./c2nim /usr/include/termios.h --out:~/nim-test/termios.nim |
12:16:16 | BitPuffin | phil4mac: yeah I think that looks right unless you want specific optinos |
12:16:40 | BitPuffin | phil4mac: But yeah, the c2nim tool is picky about syntax. It only supports ANSI C, not C99 and C11 |
12:17:24 | phil4mac | BitPuffin: I'm not really familiar with process at all, should I just strip out bits which don't matter and don't get parsed properly then? |
12:31:43 | BitPuffin | phil4mac: if they aren't important sure |
12:31:53 | BitPuffin | otherwise just rewrite them in a way that c2nim understands |
12:32:01 | BitPuffin | but usually it's safe to remove a whole bunch of stuff |
12:35:16 | phil4mac | BitPuffin: ok thanks, I'll see how it goes |
12:49:48 | * | Jackneill joined #nimrod |
13:08:23 | * | BitPuffin quit (Ping timeout: 252 seconds) |
13:24:42 | * | brson joined #nimrod |
13:25:18 | * | BitPuffin joined #nimrod |
13:27:20 | * | Ricky_Ricardo joined #nimrod |
13:40:54 | * | freezerburnv joined #nimrod |
13:52:53 | * | eigenlicht joined #nimrod |
14:15:09 | * | Ricky_Ricardo quit (Quit: laptop[lid].close) |
14:22:31 | * | brson quit (Quit: leaving) |
14:24:05 | * | BitPuffin quit (Quit: WeeChat 0.4.2) |
14:26:52 | * | BitPuffin joined #nimrod |
14:33:31 | * | noam_ quit (Disconnected by services) |
14:33:35 | * | Ricky_Ricardo joined #nimrod |
14:33:59 | * | noam__ joined #nimrod |
14:42:13 | * | ics joined #nimrod |
14:59:27 | * | BitPuffin quit (Quit: WeeChat 0.4.2) |
14:59:41 | * | BitPuffin joined #nimrod |
15:18:28 | * | mflamer joined #nimrod |
15:28:53 | * | OrionPK joined #nimrod |
15:28:56 | * | mflamer quit (Ping timeout: 272 seconds) |
15:29:33 | * | leex joined #nimrod |
15:30:32 | leex | hi, I just started using nimrod and I get this error message while compiling: Error: for a 'var' type a variable needs to be passed |
15:31:33 | leex | this is the line the compiler is complaining about: var p = (2 * (a.dot((b-m))))/(a.dot(a)) |
15:32:56 | OrionPK | leex what is "dot" |
15:33:36 | leex | proc dot (v: var Vec, w: var Vec): float = return v.x * w.x + v.y * w.y + v.z * w.z |
15:34:12 | OrionPK | I would get rid of the "var" keword from the definition of dot |
15:34:28 | leex | ok |
15:34:34 | leex | let me try that |
15:34:39 | BitPuffin | yeah doesn't seem like you are modifying v anyway |
15:35:38 | leex | ok, so I jsut need var if I am modifying the variable? |
15:35:55 | OrionPK | right |
15:36:02 | leex | OrionPK: thanks |
15:36:38 | OrionPK | also you can make the parameters slightly more concise with proc dot (v w: Vec): float |
15:36:46 | OrionPK | sorry, proc dot (v, w: Vec): float |
15:37:29 | OrionPK | thats up to personal preference though |
15:38:15 | leex | cool |
15:38:39 | OrionPK | also you dont need the "return" keyword for single statementl ike that ;) |
15:38:55 | leex | what is ** or ^ in nimrod? I tried *% but that seems to only work on ints |
15:39:39 | Varriount | Araq , ping |
15:39:59 | leex | OrionPK: I know, but I like explicitly returning from functions as a rubyist |
15:40:23 | OrionPK | what are you expecting ** and *% to do? |
15:41:02 | leex | OrionPK: oh, sry exponentiation |
15:41:16 | OrionPK | ^ is pow, but you need to import math |
15:41:24 | OrionPK | this might come in handy: http://nimrod-code.org/theindex.html |
15:42:00 | OrionPK | you can write an alias for pow like this template `^`(x,y: stmt): stmt = pow(x,y) |
15:42:10 | OrionPK | idk if that compiles exactly, but something like that should do the trick |
15:43:00 | Varriount | leex, in case you're wondering why you need to import math, it's because it means that less dead code has to be eliminated. |
15:43:12 | OrionPK | afk |
15:43:19 | leex | OrionPK: thanks :) |
15:43:28 | leex | Varriount: makes sense |
16:05:06 | * | BitPuffin quit (Ping timeout: 246 seconds) |
16:07:02 | Varriount | ANyone know what the deal is with iterators and typedescs? |
16:08:50 | * | q66_ joined #nimrod |
16:09:15 | * | q66 quit (Disconnected by services) |
16:09:17 | * | q66_ is now known as q66 |
16:37:34 | * | MFlamer joined #nimrod |
16:45:35 | * | webskipper joined #nimrod |
16:47:05 | webskipper | I have a question about module import. If A is imported, that imports B, that imports C. (A<-B<-C) Is a proc defined in C viewable for A in Nimrod ? |
16:48:39 | OrionPK | not automatically, unless B exports C |
16:49:07 | * | MFlamer quit (Remote host closed the connection) |
17:00:49 | * | phil4mac quit () |
17:19:52 | webskipper | OrionPK: hmm, it is possible to export a whole module ? |
17:22:20 | webskipper | btw for me its ok if it is not viewable for A. Hierarchies are good. |
17:22:44 | Varriount | Anyone know why I get an error from this code? -> https://gist.github.com/Varriount/7470706 |
17:25:37 | webskipper | what error ? |
17:27:03 | Varriount | Cannot instantiate 'T' |
17:27:43 | Varriount | webskipper, do you not recieve an error when trying to run that code? |
17:28:36 | webskipper | mom |
17:29:18 | Varriount | Huh? |
17:30:03 | webskipper | y get the same |
17:32:37 | webskipper | is intSeq built-in type ? |
17:33:13 | Varriount | No, it's a variable. |
17:33:46 | Varriount | Sorry, intSeq should be cycleSeq |
17:38:07 | webskipper | you dont use iT ? |
17:38:50 | Varriount | I use it in the procedure parameters. |
17:39:28 | webskipper | [iT, rT] is it (iT AND rT) or (iT OR rT) ? |
17:39:57 | Varriount | It's it AND rT |
17:47:37 | fowl | Varriount, would it kill you to use words instead of iT, rT |
17:48:12 | Varriount | I just follow convention. If you want me to use words from now on, I will. |
17:48:36 | * | MFlamer joined #nimrod |
17:49:10 | fowl | it and rt are indistinguishable to me |
17:49:25 | fowl | also when you gist select nimrod as the language so you have syntax highlighting |
17:50:05 | Varriount | There. Updated. |
17:54:16 | fowl | instead of two var cont lines |
17:54:30 | fowl | var cont: seq[returnType] = @[] |
17:54:54 | fowl | that causes segfault tho, for some reason |
17:56:06 | Varriount | As does var cont = newSeq[returnType]() |
17:58:13 | Varriount | The aggravating thing is, I don't know how to fix it. |
18:00:27 | fowl | compile the compiler in debug mode |
18:00:55 | fowl | then you have a backtrace |
18:00:57 | fowl | bbl |
18:01:06 | Varriount | I have. If I do var cont = newSeq[returnType], it doesn't segfault, it just errors. |
18:01:22 | webskipper | c:\lang\nimrod\lib\system.nim(388, 14) Error: cannot instantiate: 'T' |
18:01:22 | Varriount | Cannot instanciate var t |
18:01:43 | Varriount | webskipper, that's the line of the newSeq function |
18:02:52 | webskipper | Varriount: so caused by var cont = newSeq[rT]() ? |
18:03:40 | Varriount | Yes. |
18:03:45 | webskipper | var cont = newSeq[int]() ? |
18:04:05 | webskipper | is it possible to instantiate from int ? |
18:04:31 | Varriount | By passing "int", I would make the sequence returned a sequence of integers |
18:04:51 | webskipper | y but T = int I guess |
18:05:02 | Varriount | Only in this case. |
18:12:42 | * | DAddYE joined #nimrod |
18:15:07 | fowl | Varriount, so report it |
18:15:46 | Varriount | I will, but I would like to find out *why* it's acting the way it is in the first place. |
18:23:26 | MFlamer | Hi nimbros. zahary: What's the idea with skipTypes() in the compiler? Its used every where. Looks like it recurses into a node, but I dont quite get the pattern |
18:24:28 | leex | is it possible for a function to return nil as well as an array? if ... return nil ... return array |
18:25:21 | MFlamer | zahary: I'm wondering if it might help with stuff like this "n.sym.ast.sym.ast.kind == nkSym and n.sym.ast.sym.ast.sym.kind == skType: " |
18:25:45 | Varriount | leex, I believe so. If the result variable (which is the implicit return variable) doesn't get set or assigned to, it's nil automatically. |
18:25:57 | fowl | leex, nil refers to null pointers/references |
18:26:17 | fowl | Varriount, no, its an initialized array of 0s (or blank objects) |
18:27:44 | fowl | return TMaybe[TArrayType] |
18:29:39 | * | CarpNet quit (Quit: Leaving) |
18:30:41 | * | Varriount wishes he could compile the compiler with --debugger:on |
18:31:35 | leex | the error messages are a myth to me :D |
18:31:50 | Varriount | Huh? |
18:32:30 | leex | yeah, I guess because I still don't know enough about nimrod |
18:33:35 | Varriount | leex, most of nimrod is pretty solid, with the exception of iterators and generics (Which I can understand, both are pretty complex and complicated to implement) |
18:35:22 | zahary | MFlamer: you probably have noticed that certain types act just like modifiers for other types. i.e. tyVar(tyFloat) |
18:36:08 | zahary | skipTypes is able to ignore such modifiers and get to the "root" of the type (you say what you want to ignore) |
18:37:27 | Varriount | zahary, is there anything I can do to allow the compiler to properly generate generic procedures that call other generic procedures using a generic parameter? |
18:39:19 | Varriount | Also, is there any way to easily print out the a representation of a PNode to the console? echo(repr()) just hangs. |
18:42:11 | zahary | PNodes within the compiler are best printed with the debug function |
18:42:25 | zahary | debug n |
18:42:26 | zahary | it also works for types and symbols |
18:43:20 | Varriount | Ah, thanks. What about the generic parameter problem? I'm just frustrated - I see bugs, but nothing that I can fix. :/ |
18:43:45 | zahary | regarding the generics problem, can you send a gist? I can't quite imagine what you mean |
18:44:17 | Varriount | Here, zahary -> https://gist.github.com/Varriount/7471540 |
18:44:19 | zahary | I can give you some easy tasks; the `is` operator doesn't work quite well and it's very easy to improve |
18:44:50 | zahary | well, this should work. let me try it |
18:47:43 | zahary | strange, I'm surprised we don't have a test case like this |
18:50:44 | * | closures999 joined #nimrod |
18:54:21 | * | Varriount_ joined #nimrod |
18:56:07 | MFlamer | thanks zahary |
18:56:36 | * | Varriount quit (Disconnected by services) |
18:56:42 | * | Varriount_ is now known as Varriount |
18:59:55 | * | webskipper quit (Read error: Connection reset by peer) |
19:01:46 | leex | hmm, how to I return an array? http://pastebin.com/qndsZiqH doesn't seem to work |
19:02:12 | Varriount | array[float] |
19:02:23 | Varriount | you have to specify the values held in the array |
19:03:10 | * | closures999 quit () |
19:06:37 | leex | Varriount: Error: array expects two type parameters, so I guess I have to specify the length too? |
19:08:06 | Varriount | Ah, yes. |
19:08:31 | Varriount | If you need something with a dynamic length, use sequences (the seq type) |
19:10:26 | leex | Varriount: thanks, that was what I was looking for |
19:21:37 | fowl | leex, you should read the tutorial |
19:31:48 | Varriount | And/or the manual |
19:32:33 | * | BitPuffin joined #nimrod |
19:33:18 | leex | fowl: I skimmed thru :/ |
19:33:31 | BitPuffin | ahergafergh!!! |
19:35:17 | BitPuffin | hey alex_nx Amrykid Araq Boscop C0C0 capisce comex DAddYE dom96 dymk eigenlicht fowl freezerburnv ics isenmann Jackneill jdp JStoker krusipo leex mal`` MFlamer mkb musicalchair noam__ olahol orbitz OrionPK q66 Raynes reactormonk Reisen Ricky_Ricardo rndbit Roin shodan45 silven Trixar_za tumak Varriount XAMPP zahary zahary and Zor_! |
19:35:20 | BitPuffin | and NimBot |
19:35:37 | q66 | stop. |
19:35:39 | BitPuffin | :D |
19:35:43 | dom96 | don't do that |
19:35:52 | BitPuffin | you guys should be flattered |
19:35:52 | dom96 | ever again |
19:36:00 | BitPuffin | I typed your names |
19:36:17 | BitPuffin | dom96: you are so ungrateful :( |
19:36:23 | q66 | wait, you typed them out? |
19:36:31 | q66 | do you even /names |
19:36:45 | BitPuffin | naw |
19:36:47 | BitPuffin | I typed |
19:36:52 | BitPuffin | because I'm a nice guy |
19:37:46 | BitPuffin | treatin you with the respect you all deserve |
19:38:00 | BitPuffin | and what do I get?? pure hatred :'( |
19:38:33 | BitPuffin | valuable lesson |
19:39:03 | q66 | i hope the lesson is, "don't ever mass-ping people again" |
19:39:40 | BitPuffin | The lesson is that none of you will get anything for christmas |
19:40:01 | BitPuffin | well at least not you and dom |
19:40:07 | * | familiar125 joined #nimrod |
19:40:12 | BitPuffin | ahoy familiar125! |
19:40:15 | BitPuffin | welcome to the ship |
19:40:37 | Varriount | Hm. What is PObject? I can't seem to find its' definition in the compiler files. |
19:40:48 | familiar125 | bitpuffin it's OrionPK |
19:41:01 | familiar125 | just testing my IRC web client written in nimrod :) |
19:41:02 | BitPuffin | Varriount: maybe it's not defined in the compiler :o |
19:41:17 | BitPuffin | Varriount: But it's probably a ref TObject |
19:41:33 | Varriount | Ok, but what are it's characteristics? |
19:41:34 | BitPuffin | familiar125: that name sounds familiar!! HAR HAR |
19:41:44 | BitPuffin | Varriount: it is a reference to a TObject? |
19:41:50 | dom96 | Varriount: It's probably defined in system. |
19:41:58 | BitPuffin | and TObject is the root object |
19:42:02 | BitPuffin | that most things inherit from |
19:42:10 | BitPuffin | so you can take references of anything I guess |
19:42:23 | BitPuffin | familiar125: awesome that you are making an irc client. Is it open sauce?? |
19:42:37 | q66 | <BitPuffin> The lesson is that none of you will get anything for christmas |
19:42:37 | q66 | <BitPuffin> well at least not you and dom |
19:42:37 | q66 | aw |
19:42:42 | q66 | but i had a present for you :( |
19:42:53 | q66 | i guess here you go http://akk.li/pics/anne.jpg |
19:43:09 | familiar125 | It will be open source.. but not til it's closer to being done, and not until a couple compiler/stdlib tweaks I've changed are fixed/included in nimrod |
19:43:14 | BitPuffin | q66: I'm not even gonna look! |
19:43:35 | BitPuffin | familiar125: ah, cool! Under what license? |
19:43:42 | q66 | BitPuffin, why not :D |
19:43:48 | * | OrionPK left #nimrod ("Leaving") |
19:43:54 | BitPuffin | q66: because I cannot trust you with links :P |
19:43:58 | q66 | :( |
19:44:49 | * | dom96 's original plan was to use Nimrod for an IRC client |
19:44:57 | familiar125 | MIT probably |
19:44:59 | familiar125 | https://dl.dropboxusercontent.com/u/417554/familiar.jpg |
19:45:00 | BitPuffin | q66: apparently it's a creepy thing :P |
19:45:20 | BitPuffin | familiar125: looks great |
19:45:21 | dom96 | familiar125: sexy |
19:45:31 | dom96 | familiar125: Needs a margin like in xchat though :P |
19:45:32 | BitPuffin | familiar125: why not cc0? join the revolution >.< |
19:45:43 | BitPuffin | dom96: what are you even talking about :P |
19:45:51 | familiar125 | dom96 a margin? |
19:45:53 | q66 | >any CC license |
19:45:54 | q66 | BitPuffin pls |
19:46:06 | q66 | CC licenses are ugly and convoluted and useless for anything but artwork |
19:46:12 | BitPuffin | q66: not CC0 |
19:46:17 | BitPuffin | q66: CC0 > MIT |
19:46:21 | q66 | no. |
19:46:38 | BitPuffin | q66: with CC0 if someone uses my library they do not need to distribute it with the license |
19:46:47 | q66 | and that's a good thing? |
19:46:48 | dom96 | er, I mean there should be a line and the nicks should be right aligned to it, with the messages left aligned. |
19:46:51 | q66 | i don't think so |
19:46:52 | BitPuffin | q66: yes |
19:47:05 | BitPuffin | q66: well then silence :P |
19:47:28 | q66 | so someone uses my library without doing the least they can do, aka give me some credit |
19:47:32 | q66 | fuck that shit :P |
19:47:36 | BitPuffin | q66: But yeah other CC licenses are not really all that nice for software |
19:47:48 | BitPuffin | but CC0 is the best license for putting software in the public domain |
19:48:02 | q66 | MIT != public domain |
19:48:03 | BitPuffin | q66: well then if that's the way you roll then that's the way you roll |
19:48:08 | BitPuffin | q66: I know |
19:48:10 | q66 | i wouldn't put anything into public domain unless it's a small piece of code |
19:48:14 | BitPuffin | it's kind of obvious |
19:48:19 | BitPuffin | that it's not public domain you know |
19:48:28 | q66 | e.g. if i write a tiny but helpful script and decide to publish it it's public domain |
19:48:31 | familiar125 | dom96 ahh, I see what you're saying.. |
19:48:32 | q66 | anything else, nah. |
19:48:34 | BitPuffin | but thank you I am now enlightened because that was really hard to figure out, you cracked the code |
19:48:46 | familiar125 | that would probably require using a table though, and right now I'm using flexbox |
19:48:54 | BitPuffin | q66: in that case CC0 is the best way |
19:49:00 | q66 | no |
19:49:03 | BitPuffin | because public domain does not apply everywhere |
19:49:07 | q66 | CC0 is still longer text-wise than MIT even :P |
19:49:13 | BitPuffin | yeah of course |
19:49:19 | familiar125 | dom96 actually, there are some other ways I could do it, I'll add it to my wishlist as I kind of like the margin as well |
19:49:24 | BitPuffin | because it has to cover countries that don't have the concept of a public domain |
19:49:28 | q66 | http://unlicense.org/ |
19:49:36 | q66 | a bit shorter than CC0 |
19:49:40 | dom96 | familiar125: yeah, NimBot's IRC logs use a table. |
19:49:42 | q66 | about as long as MIT i think |
19:49:49 | BitPuffin | q66: I used to use unlicense, but I stopped |
19:49:59 | BitPuffin | because it's not clear enough about what applies when there is not a public domain |
19:50:05 | q66 | http://en.wikipedia.org/wiki/Beerware is a good choice |
19:50:09 | BitPuffin | because it borders on ambigouus |
19:50:26 | BitPuffin | doesn't mention anything about warranty though |
19:50:39 | familiar125 | dom96 I also want this to work well on mobile devices |
19:50:40 | BitPuffin | cc0 is written by people who know their legal stuff |
19:50:44 | BitPuffin | not so much with unlicense |
19:50:49 | BitPuffin | but I like the initiative of the unlicense |
19:50:57 | q66 | CC licenses are ugly and convoluted |
19:51:01 | BitPuffin | it's just not a good choice |
19:51:10 | BitPuffin | q66: who gives a fuck about how a license look though |
19:51:12 | q66 | I won't support creative commons in anything unless it's art because there it's fairly common |
19:51:15 | familiar125 | maybe even configure it to automatically email you chat summaries that mention you :D |
19:51:23 | BitPuffin | define support |
19:51:27 | BitPuffin | you aren't giving them money |
19:51:29 | q66 | use their stuff |
19:51:49 | BitPuffin | you are just leveraging their work to assure that your software is as unrestricted as possible in every country |
19:51:50 | dom96 | familiar125: hrm, so it will be like a BNC but with a web interface? |
19:52:12 | familiar125 | I've never used BNC |
19:52:18 | q66 | i don't care anyways |
19:52:21 | q66 | i just use MIT for most stuff |
19:52:26 | q66 | and http://en.wikipedia.org/wiki/University_of_Illinois/NCSA_Open_Source_License for large things) |
19:52:28 | familiar125 | brb |
19:52:56 | BitPuffin | sure, but I want to put my software in the public domain. And CC0 is the best one for doing that |
19:53:09 | BitPuffin | if there was another one that was shorter but still as guaranteed to work I'd use it |
19:53:11 | BitPuffin | and unlicense isn't |
19:53:13 | BitPuffin | sad but true |
19:53:25 | q66 | there is no drawback in using unlicense over CC0 |
19:53:33 | BitPuffin | except there is |
19:53:50 | BitPuffin | well there probably won't be any Ig g |
19:53:54 | BitPuffin | guess because nobody will care |
19:54:08 | BitPuffin | but still |
19:54:11 | q66 | name one |
19:54:18 | BitPuffin | a drawback? |
19:54:21 | q66 | yeah |
19:54:48 | familiar125 | dom96 but yea a bit like a bouncer |
19:54:53 | q66 | http://codepad.org/MGrBtnCB this text is obviously bullshit |
19:54:59 | familiar125 | im going to host familiar on my raspberry PI hopefully |
19:55:10 | familiar125 | and have it exposed on a public port |
19:55:17 | dom96 | familiar125: Awesome, I will use it then :) |
19:55:22 | BitPuffin | q66: because it is basically copy pasting from other licenses and it's not well written to be a license to put your software in the public domain |
19:55:23 | familiar125 | cool!:) |
19:55:35 | BitPuffin | q66: so it's not clear about what applies when you can't put your software in the public domain |
19:55:40 | q66 | BitPuffin, do you have any proof of a loophole in unlicense |
19:55:42 | familiar125 | dom96 now you just need to fix HTTPServer so I can open source it :P |
19:56:00 | BitPuffin | sure you can argue that you can interpret the you are free to do bla bla bla as being true in any country |
19:56:06 | BitPuffin | but you shouldn't need to argue |
19:56:10 | BitPuffin | because it should be explicit |
19:56:14 | BitPuffin | and it isn't |
19:56:28 | q66 | <q66> BitPuffin, do you have any proof of a loophole in unlicense |
19:56:34 | Varriount | Ok... where are generic parameters added to the scope... |
19:56:37 | * | OrionPK joined #nimrod |
19:57:05 | BitPuffin | q66: well considering it is written by programmers instead of people who know the law I'm certain there is one :P I'd rather trust a license written by people who know how to write legal documents |
19:57:15 | q66 | so you don't |
19:57:23 | BitPuffin | no but why would I risk it? |
19:57:34 | BitPuffin | when the CC0 is more explicit and well written |
19:57:35 | q66 | there is no risk |
19:57:37 | Varriount | Would you two please stop bickering, and just agree that the other is wrong? |
19:57:40 | q66 | CC0 is not well written |
19:57:44 | q66 | CC0 is convoluted to the max |
19:58:08 | BitPuffin | CC0 is well written |
19:58:12 | BitPuffin | as a legal text |
19:58:23 | BitPuffin | Unlicense is a copy paste |
19:58:28 | BitPuffin | it's like copying and pasting PHP |
19:58:30 | BitPuffin | it's not reliable |
19:58:43 | q66 | it's as reliable as any other license |
19:58:53 | BitPuffin | no |
19:58:54 | q66 | it's not any less reliable than e.g. MIT or the BSD licenses |
19:58:59 | q66 | which are widely used in software projects |
19:59:15 | q66 | and FWIW, it's fucking public domain |
19:59:41 | BitPuffin | just because it is copying and pasting from other licenses that are well written does not mean that they work well together |
19:59:44 | q66 | anyway i don't have time for this shit, would you kindly shut your mouth now, before my head starts to hurt :P |
20:00:28 | BitPuffin | that's like saying yeah I copied these lines from the linux kernel, and this line from webkit, and these two functions from apache, I bet it's gonna be a great reliable piece of software now |
20:00:43 | * | q66 facedesks |
20:00:53 | BitPuffin | q66: you started the fucking discussion so don't come talking about how you don't have time for it |
20:01:26 | OrionPK | bitpuffin I honestly havent given it much thought |
20:01:28 | q66 | a discussion where you simply negate my previous statement is not constructive, therefore I don't intend to participate in it any further |
20:02:00 | * | familiar125 quit (Read error: Connection reset by peer) |
20:02:01 | Varriount | Hm, I wonder who is Op.. dom96 ? |
20:02:09 | q66 | or alternatively simply keep repeating what you said 10 times before |
20:02:18 | * | familiar125 joined #nimrod |
20:02:49 | * | familiar125 quit (Read error: Connection reset by peer) |
20:02:53 | BitPuffin | q66: well don't act like you didn't negate what I said and that you presented good arguments for why what you were saying was true either |
20:03:23 | q66 | all you presented to me was highly opinionated stuff with no factual value whatsoever |
20:03:24 | BitPuffin | q66: In fact I at least presented some arguments. You simply said that it's that way without anything to support it |
20:03:27 | BitPuffin | anyways whatever |
20:03:31 | Varriount | dom96, ping |
20:03:43 | BitPuffin | q66: that's what you did |
20:03:51 | BitPuffin | I explained why I trust CC0 more than Unlicense |
20:03:58 | BitPuffin | you didn't explain anything |
20:04:10 | OrionPK | bitpuffin when I see licenses, my eyes glaze over |
20:04:17 | dom96 | Varriount: yes, i'm op. |
20:07:11 | BitPuffin | OrionPK: sure, I am the same but maybe not as much. But I want to ensure that I do what I intended |
20:11:19 | Roin | uh who hl'ed me? |
20:11:38 | * | Varriount points at BitPuffin |
20:12:35 | Varriount | zahary, about that generic params bug I just showed you, I don't suppose there's an easy fix that I could implement? If not, what was that thing concerning the 'is' operator? |
20:13:03 | BitPuffin | Roin: don't risk your christmas gift |
20:13:38 | Roin | o_o |
20:14:23 | BitPuffin | Roin: seems like you are gonna be just fine :D |
20:14:31 | Varriount | BitPuffin, you're assuming he celebrates Christmas. |
20:14:45 | BitPuffin | well okay hannukah gifts |
20:14:50 | BitPuffin | or the other types of gifts |
20:14:57 | BitPuffin | Varriount: I'm sorry ;_; |
20:15:08 | * | Varriount celebrates Christmas. |
20:17:55 | Roin | I celebrate christmas |
20:18:09 | Roin | but this year it will be a small one, I only want a guitar stand xD |
20:19:07 | BitPuffin | :P |
20:19:23 | BitPuffin | I already have one :D |
20:22:34 | dom96 | I don't even have a guitar :\ |
20:23:26 | Varriount | :O |
20:23:43 | * | Varriount didn't know you could use gdb breakpoints with nimrod... |
20:25:50 | BitPuffin | dom96: but can you play one? |
20:26:28 | dom96 | BitPuffin: Yeah... you just pull the strings right? :P |
20:26:37 | BitPuffin | dom96: :P |
20:26:56 | BitPuffin | dom96: you could have gotten one for christmas, but now you probably won't |
20:27:22 | dom96 | :( |
20:27:30 | BitPuffin | it's what happens |
20:27:46 | BitPuffin | I think we should all give Araq something for christmas |
20:28:04 | BitPuffin | or hannukah |
20:28:07 | BitPuffin | or something else |
20:28:18 | BitPuffin | depending on what kind of guy he is |
20:29:28 | BitPuffin | let's compile nimrod, and burn it to a cd, and send it to him >.< |
20:30:02 | dom96 | lol, I don't think Araq is Jewish. |
20:30:38 | BitPuffin | dom96: so you are saying it would be wrong if he was? How racist of you :/ |
20:31:38 | * | Varriount hits BitPuffin on the head. |
20:31:39 | dom96 | What about the other religions? You've totally missed them out, how insensitive of you :P |
20:32:03 | BitPuffin | dom96: I did say or something else! |
20:32:08 | * | BitPuffin cries |
20:32:26 | * | BitPuffin punches Varriount on his toe |
20:33:17 | dom96 | BitPuffin: not good enough |
20:33:22 | dom96 | why do those two get priority!? |
20:33:46 | BitPuffin | dom96: because I don't know the other christmas/hannukah variants ;_; |
20:33:51 | BitPuffin | I'm not a religion guy |
20:34:30 | BitPuffin | dom96: do you like death metal? |
20:34:39 | dom96 | no |
20:34:44 | BitPuffin | aww |
20:34:50 | dom96 | kpop ftw |
20:34:52 | dom96 | lol |
20:34:59 | BitPuffin | oh no :( |
20:35:19 | dom96 | Nah, I don't really listen to kpop much |
20:35:20 | dom96 | http://www.last.fm/user/dom96 |
20:35:39 | BitPuffin | kpop fans are almost on or if not even the same level as bronies |
20:35:43 | dom96 | And latest update broke Spotify a bit ughr |
20:36:14 | dom96 | Are you saying bronies are bad people? :P |
20:36:28 | BitPuffin | no I'm saying that they are horrible people |
20:36:34 | BitPuffin | :D |
20:36:39 | * | MFlamer quit (Remote host closed the connection) |
20:37:53 | dom96 | comex is a brony :P |
20:38:05 | Varriount | zahary, ping |
20:38:18 | dom96 | Anyway, you can see exactly what I am listening to on Last.fm |
20:38:42 | * | BitPuffin stalks dom96 |
20:39:43 | * | BitPuffin weeps for comex |
20:40:10 | dom96 | I listen to really depressing music usually :P |
20:40:17 | dom96 | with no vocals |
20:40:35 | BitPuffin | dom96: you are such an emo xD |
20:40:52 | Varriount | Hm. What is the opposite of an emo? |
20:40:53 | OrionPK | when i was ur age, it was all about GNR |
20:41:00 | dom96 | lol nah, don't emos listen to MCR or something? |
20:41:04 | * | Jackneill quit (Remote host closed the connection) |
20:41:27 | BitPuffin | Varriount: an ome |
20:41:51 | BitPuffin | dom96: I guess! |
20:42:18 | BitPuffin | dom96: music with lyrics is too distracting when coding, so maybe your last.fm can be useful |
20:42:20 | BitPuffin | unless it sucks |
20:42:34 | dom96 | Yeah, precisely. |
20:42:50 | BitPuffin | http://spawnofpossession.bandcamp.com/ < that album never gets old. Some kind of black magic going on |
20:42:55 | dom96 | I sing along to music which has lyrics |
20:43:06 | BitPuffin | dom96: I sing along to that album |
20:43:16 | dom96 | Listen to the song i'm currently listening to :P |
20:43:20 | OrionPK | lot of good swedish musics |
20:44:03 | * | NimBot joined #nimrod |
20:44:04 | OrionPK | royksopp > swedish music though |
20:44:04 | BitPuffin | true story actually http://youtu.be/rDaB9ZfBGRg |
20:44:09 | Varriount | Could you also fix the one that makes me have to do a manual deletion of csources\.git on windows? |
20:44:30 | zahary | Varriount: the `is` operator is supposed to check wether a variable matches a certain type |
20:44:37 | dom96 | OrionPK: oh yes, Royksopp is good if I'm not mixing them up with someone else. |
20:44:52 | BitPuffin | OrionPK: do you listen to SOP? |
20:44:53 | OrionPK | they're my favorite |
20:44:58 | zahary | it's broken is many situations like (10 is int) # 10 is considered a range type or something like that |
20:45:03 | OrionPK | SOP? |
20:45:11 | BitPuffin | OrionPK: spawn of possession |
20:45:15 | OrionPK | never heard of them before |
20:45:21 | BitPuffin | OrionPK: oh boy you are so welcome |
20:45:34 | OrionPK | Im not a bigg death metal guy |
20:45:34 | OrionPK | :P |
20:45:35 | zahary | it doesn't work with pseudo types such as x is tuple, x is proc, etc |
20:45:50 | BitPuffin | OrionPK: does NOT matter |
20:45:50 | dom96 | BitPuffin: Enter Shikari |
20:45:56 | OrionPK | lol |
20:46:06 | dom96 | BitPuffin: Ever listened to them? |
20:46:13 | OrionPK | when I say swedish music |
20:46:21 | BitPuffin | dom96: I can't remember if I maybe saw them live |
20:46:29 | OrionPK | I mean more like... karin driejer andersson |
20:46:30 | dom96 | Varriount: Bug report on github please |
20:47:05 | dom96 | I'm going to see Thirty Seconds to Mars soon :) |
20:47:34 | OrionPK | with jared leto? |
20:47:54 | dom96 | Dunno. Would they be able to play without him? |
20:48:07 | OrionPK | bitpuffin have you seen dethklok? |
20:48:19 | BitPuffin | OrionPK: nope |
20:48:35 | BitPuffin | http://youtu.be/Z8GBfs511yY < me singing |
20:48:36 | OrionPK | it's a cartoon |
20:48:38 | OrionPK | http://www.youtube.com/watch?v=UosmKd1krWU |
20:49:00 | OrionPK | poking fun at norwegian death metal |
20:49:08 | dom96 | oh yeah, I have listened to Royksopp. |
20:49:19 | BitPuffin | OrionPK: sounds fun :D |
20:49:36 | dom96 | It's indeed the kind of music that I am into. |
20:49:44 | OrionPK | http://www.youtube.com/watch?v=51Bpx63wkbA |
20:49:59 | dom96 | You guys should listen to some good ol' Polish disco polo. |
20:50:14 | Araq | hi leex welcome |
20:50:23 | OrionPK | i like australian-nudisco |
20:50:37 | OrionPK | bag raiders, miami horror, cut copy |
20:50:40 | Araq | so .. anything I missed? |
20:50:43 | * | dom96 should ask gradha about what he thinks of disco polo |
20:51:00 | Araq | except these very useful youtube links of course |
20:51:19 | OrionPK | gotta have a soundtrack to your coding, araq |
20:51:24 | dom96 | Araq: BitPuffin will send you the Nimrod compiler on a CD as a Christmas present. |
20:51:42 | Araq | meh ... no floppy version? |
20:52:09 | Varriount | Araq, you might have missed the finding of another generic bug. |
20:52:31 | BitPuffin | Araq: that could be arranged |
20:52:36 | BitPuffin | I have a floppy reader |
20:52:40 | BitPuffin | I wonder if that can write |
20:52:52 | BitPuffin | OrionPK: it's actually kind of catchy |
20:53:01 | BitPuffin | (dethklok) |
20:53:14 | OrionPK | hehe |
20:53:30 | OrionPK | bitpuffin look for the duncan hills coffee jingle |
20:53:33 | OrionPK | by dethklok |
20:53:43 | Araq | BitPuffin: but it needs to be able to *run* from floppy ... (insert disk 5 now for the compiling to proceed) |
20:54:14 | BitPuffin | Araq: that will be arranged :P |
20:55:06 | BitPuffin | last link I'm gonna send of me: http://youtu.be/VQXXLabeOfg |
20:55:26 | BitPuffin | dom96: so yeah, lyrics is not a good idea when you wanna code :D |
20:55:46 | Araq | meh I'll simply use Mat2's "'let' not supported due to 8K limit"-compiler instead ... ;-) |
20:56:09 | BitPuffin | haha :P |
20:56:11 | BitPuffin | is that done? |
20:56:59 | BitPuffin | Now you all at least know how to recognize me at nimcon |
20:57:51 | leex | Araq: hi |
20:57:56 | BitPuffin | OrionPK: seriously though listen to SOP |
20:58:04 | BitPuffin | OrionPK: it will be the best decision you ever make |
20:58:17 | OrionPK | perhaps |
20:59:26 | BitPuffin | OrionPK: and I know, it's hard to swallow, takes a few listens until it really sticks, and after that it'll never let go |
20:59:58 | Varriount | Anyone here from Canada? |
21:00:00 | OrionPK | i'll listen to as much as i can stand |
21:00:11 | Araq | Varriount: bug #673 looks like a regression. can anyone confirm? |
21:00:28 | Varriount | Well, a regression from what point in time? |
21:00:35 | Araq | 0.9.2 *cough* |
21:02:16 | BitPuffin | OrionPK: I think my favorite track is deus avertat |
21:02:26 | BitPuffin | OrionPK: but I dunno, they are all so good |
21:02:53 | BitPuffin | the only one that never really stuck as hard as being intensely unique and mind blowing is the second track |
21:03:00 | BitPuffin | but it's still fucking awesome |
21:03:06 | BitPuffin | and the solo is amazing |
21:07:31 | Varriount | Araq, if by 9.2, you mean the version available on the website, that version has the bug as well. |
21:10:22 | Varriount | Unfortunately, that bug prevent's my itertools module from compiling. I would fix it, if I had more than a vague guess as to where the trouble is. |
21:10:54 | * | noam_ joined #nimrod |
21:13:52 | * | noam__ quit (Ping timeout: 241 seconds) |
21:17:39 | BitPuffin | Araq: why not create a nimrod twitter account? |
21:17:47 | BitPuffin | that posts links to all the nimrod articles |
21:17:59 | BitPuffin | if we are gonna roll with this 1 article/week thing |
21:18:20 | BitPuffin | we could even write a nimrod program that updates everything |
21:18:43 | BitPuffin | ie posts to twitter, posts to reddit, posts to whatever |
21:18:44 | BitPuffin | HN |
21:20:17 | Araq | who writes 1 article/week? I barely manage to write 1 per 3 months and even this is taking precious time that I could work on the compiler instead |
21:20:43 | BitPuffin | Araq: me, dom96, and some other people |
21:20:48 | BitPuffin | we are gonna try and time it |
21:21:06 | BitPuffin | so that we are omnipresent in the social media |
21:22:48 | dom96 | yeah, maybe we should start to time it. |
21:22:53 | dom96 | We don't really have a plan for this currently. |
21:23:15 | dom96 | would be nice to create some sort of schedule |
21:23:36 | BitPuffin | yup |
21:23:41 | BitPuffin | or pseudo schedule |
21:23:42 | dom96 | "Monday 18th: BitPuffin's article" |
21:23:58 | BitPuffin | like weekend of week 1 |
21:24:03 | BitPuffin | weekend of week 3 |
21:24:04 | dom96 | "Monday 25th: My article" |
21:24:04 | BitPuffin | etc |
21:24:14 | dom96 | And if you miss the deadline I will haunt you down. |
21:24:22 | Araq | voluntary work doesn't work this way |
21:24:31 | Araq | but sure go ahead and try it |
21:24:35 | BitPuffin | exactly, that's why I say pseudo schedule |
21:24:46 | BitPuffin | so sometime around this time this person should post an article |
21:25:49 | BitPuffin | there is no hard coded millisecond it must be up in order to instakill said person |
21:25:53 | BitPuffin | to not* |
21:27:11 | Araq | dom96: what about https://github.com/Araq/Nimrod/pull/655 ? |
21:27:36 | Araq | what kind of migration path should we use? remove 'select' from sockets so stuff breaks? |
21:28:00 | dom96 | I think we discussed an 'events' module where 'select()' will be moved to |
21:28:24 | dom96 | but is 'events' really the best name? |
21:29:13 | Araq | we already have an 'events' module iirc |
21:29:38 | * | freezerburnv quit (Quit: freezerburnv) |
21:29:40 | Araq | perhaps name it iodisp ... |
21:30:12 | dom96 | or just name it 'select'? |
21:30:46 | Araq | this sounds like trouble until we fixed the symbol table handling |
21:32:52 | dom96 | call it poll then or something |
21:33:59 | Araq | well ... do you know how to abstract over epoll and crap? |
21:34:24 | Araq | everybody says he mustn't use select or we cannot SCALE |
21:34:51 | BitPuffin | Araq: what's your opinion of namespaces? |
21:35:12 | Araq | BitPuffin: nimrod has them. they are called "modules" |
21:35:14 | dom96 | Araq: Yes, i've already done it: https://github.com/Araq/Nimrod/blob/38fb6819702e9288ecd48ae4550f33aa148b5795/lib/pure/selectors.nim |
21:35:52 | dom96 | It's not finished yet though. |
21:36:22 | BitPuffin | Araq: :P well I mean other than modules. namespaces inside modules. Horrible? |
21:36:24 | dom96 | I wanted to make it as efficient as possible but it looks like I will need to use a TTable for the epoll implementation too. |
21:41:42 | Araq | ok, well I have no other idea either |
21:41:53 | OrionPK | whats the current events module do |
21:56:38 | OrionPK | lol bitpuffin... i have those headphones |
21:57:18 | OrionPK | that fucking hair, jesus |
21:57:26 | * | Demos joined #nimrod |
21:59:37 | BitPuffin | OrionPK: hehe :) we are headphone bros |
21:59:42 | BitPuffin | OrionPK: what about my hair ;_; |
22:02:28 | BitPuffin | OrionPK: I have new headphones incoming though, for mixing. Will probably keep using these for gaming and maybe bass mixing |
22:02:57 | OrionPK | your hair looks like you're auditioning to be in children of men |
22:03:26 | OrionPK | they're not great headphones, but they have a mic which is important for gamin |
22:03:49 | BitPuffin | </3 |
22:05:08 | BitPuffin | I think they are pretty good for what you are paying |
22:05:20 | OrionPK | yeah definitely |
22:05:25 | OrionPK | I just mean in the grand scale of things |
22:05:33 | BitPuffin | I guess |
22:05:42 | BitPuffin | maybe I'll feel differently when my new headphones arrive |
22:06:03 | Demos | what headset |
22:06:07 | Demos | I love my G930 |
22:06:17 | OrionPK | steelseries |
22:06:32 | Demos | and my logitech UE for teh musicz |
22:06:32 | OrionPK | siberia v2? |
22:06:56 | BitPuffin | OrionPK: KRK KNS-8400 |
22:07:09 | BitPuffin | it's not a gaming headset |
22:07:13 | BitPuffin | it's just headphones |
22:07:20 | BitPuffin | I have studio microphones that I use anyway |
22:07:26 | OrionPK | yeah |
22:07:40 | BitPuffin | might use my incoming shotgun mic while talking on skype etc when I'm not field recording |
22:07:47 | BitPuffin | so that keyboard presses aren't caught |
22:07:48 | Demos | any hardware that is a "gameing" suchandsuch usually sucks |
22:08:03 | BitPuffin | very true |
22:08:05 | OrionPK | mye penger |
22:08:32 | Demos | I have bought two razer products both of which fuction, but are kinda awkward |
22:08:57 | OrionPK | ive been looking @ AKG, K702 and K550 |
22:09:32 | BitPuffin | Demos: I don't like razer at all |
22:09:46 | BitPuffin | I don't like the bi-handed design thing whatever it is called |
22:09:53 | BitPuffin | for mice I mean |
22:10:10 | BitPuffin | OrionPK: If you want I can give you a verdict on the headphones when they arrive |
22:11:06 | Demos | I have a naga(or mamba or some kind of mouse, the 5 button wireless one) that works wirelessly 50% of the time and has trouble chargeing when not in the dock |
22:11:32 | BitPuffin | OrionPK: the K702 is damn expensive :P |
22:11:57 | BitPuffin | I wish there was some kind of top quality mouse |
22:12:01 | BitPuffin | like with keyboards |
22:12:18 | Demos | there do exist good mice |
22:12:26 | Demos | I loved my old logitech mouse |
22:12:26 | BitPuffin | Unicomp, filco etc |
22:12:28 | BitPuffin | like those |
22:12:44 | BitPuffin | Demos: yeah my logitech mouse is probably the among the best in terms of quality |
22:12:55 | Demos | yeah, mine lost acceracy after ~5 years |
22:12:58 | BitPuffin | but that logitech sets the standard for mouse quality is kind of weird |
22:13:03 | Demos | got a razer, not as good |
22:13:10 | OrionPK | bitpuffin yeah K702 is pricey |
22:13:13 | Demos | I mean it is functional but not quite as nice |
22:13:35 | BitPuffin | I think razer mice are garbage more or less |
22:13:39 | BitPuffin | they look pretty cool |
22:13:40 | OrionPK | 701 are beautifulo |
22:13:42 | BitPuffin | but who gives a shit :P |
22:13:54 | OrionPK | (i think razers look like shit too) |
22:13:59 | Demos | also, the rubber on the side of the mouse falls off |
22:14:10 | BitPuffin | OrionPK: yeah I guess they aren't THAT good looking really :P |
22:14:16 | BitPuffin | honestly my logitech looks better |
22:14:18 | Demos | well in gameing hardwaisre the closer it looks to a cylon raider the better it |
22:14:28 | Demos | I accedently my trackpad |
22:14:30 | OrionPK | yeah i have a logitech as well |
22:14:37 | BitPuffin | OrionPK: my headphones that I bought are in the same price range as the K550 |
22:15:10 | OrionPK | logitech M500 |
22:15:30 | BitPuffin | I have a G500 |
22:15:32 | BitPuffin | well two actually |
22:16:04 | OrionPK | i dont get why they have to make something ugly in order to appeal to gamers |
22:16:37 | Demos | well glowey bits sell more than real solid hardware |
22:17:11 | OrionPK | bitpuffin http://www.iphones.ru/wp-content/uploads/2011/02/AKG-Q-701-green-she.jpg |
22:18:32 | BitPuffin | OrionPK: they are pretty huge |
22:19:15 | OrionPK | huge is good |
22:20:28 | BitPuffin | sure |
22:21:08 | fowl | hi |
22:21:37 | BitPuffin | hey fowl |
22:25:47 | BitPuffin | OrionPK: apparently people say the 702s are uncomfortable |
22:26:27 | * | Demos quit (Ping timeout: 260 seconds) |
22:29:07 | * | gradha joined #nimrod |
22:29:49 | * | Demos joined #nimrod |
22:33:34 | dom96 | gradha: Do you like disco polo? |
22:33:51 | gradha | no idea, is that a drink? |
22:37:47 | dom96 | no, it's a type of music |
22:38:04 | gradha | I'm sure it can't compete with baby metal |
22:38:12 | BitPuffin | ugh |
22:38:30 | dom96 | it was (still is?) pretty popular in Poland |
22:38:42 | gradha | the world needs baby metal songs sung by vocaloids |
22:38:59 | gradha | dom96: remember that I was born there, but I know nothing about it |
22:39:39 | dom96 | gradha: oh man, you don't know what you're missing. |
22:39:55 | gradha | ignorance is bliss, they say |
22:40:13 | dom96 | This music is really '90s though hah |
22:40:33 | dom96 | http://www.youtube.com/watch?v=DXKaEaoWJwI |
22:40:35 | gradha | my first CD was from Michael Jackson, when he was still black |
22:40:44 | gradha | I still like it |
22:41:00 | * | dom96 never bought an album |
22:41:09 | leex | hmm I am playing around with sdl and try to set a pixel, there is this function: http://nimrod-code.org/graphics.html#118 but whenever I call it I get the error message that []= expects array, string or seq |
22:41:58 | gradha | dom96: maybe you should hear the bangles, they are also nice |
22:42:06 | gradha | not polish though |
22:42:24 | leex | isn't calling surface[x,y] = color the right way to do it? |
22:42:40 | gradha | dom96: that song needs some heavy metal from 1:15 |
22:43:16 | dom96 | gradha: This is a Polish Disco Polo classic: http://www.youtube.com/watch?v=c2i4h7Q-8sA |
22:45:42 | gradha | dom96: ok, that's it, stop writing shitty nimrod articles, let's do a Nimrod dance song video |
22:47:39 | * | Demos quit (Ping timeout: 246 seconds) |
22:47:45 | fowl | leex, the graphics module defines its own PSurface which is a garbage-collected wrapper for sdl's PSurface |
22:49:12 | gradha | dom96: The Nimrod love song: "You treat me like a GC" |
22:51:03 | leex | fowl: thanks, just notices that myself ;) |
22:51:46 | gradha | dom96: this was from the 2nd CD I got https://www.youtube.com/watch?v=2qRpIA3RKYc |
22:53:24 | gradha | dom96: meh, that link was shit, this is much more hardcore https://www.youtube.com/watch?v=BWP-AsG5DRk |
22:55:13 | gradha | dom96: why do you like old music? |
22:58:49 | fowl | lol that looks like michael jackson in the first video |
22:59:12 | gradha | fowl: yeah, I thought it was the original music video but it's just somebody who took the image and changed the sound |
22:59:37 | fowl | gradha, that is MJ isnt it lol |
23:00:14 | Varriount | Anyone have cases where the 'is' statement doesn't work correctly? |
23:00:32 | gradha | haven't used 'is' yet |
23:00:33 | Varriount | Or areas where it could be improved? |
23:00:53 | gradha | sounds like something you'd need with dynamic dispatch |
23:01:49 | Varriount | It's kinda equivalent to proc(x,y): type(x)==y |
23:02:04 | Varriount | I don't know if that actually works, but you get the idea. |
23:02:44 | dom96 | gradha: because nostalgia |
23:03:06 | gradha | dom96: classical music must bring you to tears then |
23:03:27 | fowl | Varriount, i dont think it works fully with user defined type class |
23:03:45 | fowl | seq[int] is collection[int] |
23:06:17 | Varriount | or 1..5 is range? |
23:06:49 | fowl | it isnt a range though |
23:06:54 | fowl | it's TSlice[int] |
23:07:07 | Varriount | Oh, silly me. |
23:07:07 | C0C0 | how do I use graphics.PSurface to display something? creating a new screenSurface opens a window but I don't see functionality to update it |
23:08:13 | Varriount | C0C0, graphics.blit? |
23:08:49 | * | Amrykid quit (Excess Flood) |
23:09:14 | C0C0 | Varriount: graphics.blit needs a second surface right? |
23:09:17 | * | Amrykid joined #nimrod |
23:09:42 | Varriount | Use the surface of the window you opened, I think. |
23:10:00 | C0C0 | so I have to create a screen surface, and a normal surface, draw on the normal one and then blit it to the screen? |
23:10:24 | Varriount | *shrug* I've never used the graphics module. |
23:10:32 | gradha | C0C0: usually hardware works that way, you rarely have direct memory access to the VRAM, so you work in memory and then blast it to the video card |
23:10:35 | fowl | C0C0, have you ever used SDL? |
23:10:54 | Varriount | All I know is what's standard operating procedure for graphics. |
23:11:05 | Varriount | With opengl you have to swap buffers. |
23:11:06 | C0C0 | fowl: nope just ogl |
23:11:38 | C0C0 | opengl |
23:13:15 | fowl | C0C0, sdl's swapbuffers is called "flip" |
23:14:44 | Varriount | C0C0, you might be better off using the sdl or opengl wrappers, or contributing to the graphics module. |
23:15:11 | C0C0 | Varriount: was allready considering using the opngl wrapper (got working nimrod code for that^^) |
23:16:20 | Varriount | One of the best graphic libraries I've ever used was a java library called libgdx. |
23:16:30 | fowl | yea the graphics module is lame, i'd use sdl_gfx instead of it |
23:17:54 | C0C0 | well drawing to a backbufer surface and then using blit to the screen surface doesn't change anything |
23:18:37 | fowl | care to share the code? |
23:19:56 | * | DAddYE_ joined #nimrod |
23:22:50 | * | DAddYE_ quit (Remote host closed the connection) |
23:23:20 | * | DAddYE quit (Ping timeout: 260 seconds) |
23:23:28 | * | DAddYE joined #nimrod |
23:24:14 | C0C0 | http://sprunge.us/AcfG |
23:24:33 | * | DAddYE_ joined #nimrod |
23:25:18 | fowl | C0C0, like i said you have to "flip" the screen surface to update it after you're done drawing on it: http://build.nimrod-code.org/docs/sdl.html#720 |
23:26:16 | C0C0 | fowl ah, ok i was still distracted by Varriount note about blit |
23:26:43 | gradha | Varriount: what was so good about it? |
23:27:25 | * | DAddYE_ quit (Remote host closed the connection) |
23:27:47 | * | DAddYE quit (Read error: Connection reset by peer) |
23:28:11 | * | DAddYE joined #nimrod |
23:28:17 | C0C0 | http://sprunge.us/NPRE |
23:28:24 | C0C0 | still doesn't do anything |
23:28:48 | fowl | C0C0, cast[sdl.psurface] is incorrect |
23:28:57 | C0C0 | fowl: what would be correct? |
23:29:16 | fowl | http://build.nimrod-code.org/docs/graphics.html#103 |
23:29:31 | fowl | screen.s will get you the sdl.PSurface |
23:30:04 | * | familiar125 joined #nimrod |
23:30:07 | C0C0 | whey thx :) |
23:30:08 | leex | fowl: thanks :) |
23:30:09 | C0C0 | works |
23:30:35 | fowl | let me say again that the graphics module is lame, sdl_gfx is more useful |
23:30:42 | familiar125 | yay, works on my phone:) |
23:31:21 | C0C0 | fowl: well Just want to be able to set pixels & display them (raytracer) |
23:31:21 | leex | fowl: we are writing a raytracer to learn nimrod |
23:31:27 | Varriount | Hm, is SDL hardware accelerated in the same way OpenGl is? |
23:31:55 | familiar125 | SDL uses opengl |
23:32:16 | C0C0 | familiar125: but in a different way then the usual opengl usage no? |
23:32:31 | Varriount | Could I have some evidence? I've heard statements to the contrary. |
23:33:28 | fowl | eh? by default sdl1 uses software renderer |
23:34:28 | familiar125 | I mean it can render with open gl |
23:34:33 | familiar125 | and direct x |
23:35:26 | gradha | Varriount: it's not exactly the same, as SDL is 2d and OpenGL is 3d, but sdl has some hardware accelerated stuff |
23:35:35 | familiar125 | it's not like they compete. libglfw is more like a competitor |
23:36:02 | fowl | glfw isnt a competitor |
23:36:12 | Varriount | Isn't glfw a wrapper? |
23:36:14 | fowl | sdl provides audio, video, fonts, drawing primitives |
23:36:35 | fowl | glfw provides input events and window management, everything else you have to do in pure GL |
23:37:02 | familiar125 | depends what you're trying to do |
23:37:09 | fowl | glfw competes with glut |
23:37:16 | familiar125 | glfw sets itself up as an alternative to sdl |
23:37:47 | fowl | where did you read that? MAD magazine? |
23:38:03 | gradha | Playboy magazine |
23:38:14 | Varriount | O_o |
23:39:03 | * | gradha is still waiting patiently for other ideas for Nimrod Song Video ideas |
23:39:08 | familiar125 | would you use both in one project? |
23:39:41 | Varriount | Gradha, what are you looking for? A song to represent nimrod? |
23:40:13 | gradha | Varriount: articles about programming languages are so old school, the new article is a youtube video |
23:40:27 | Varriount | So...? |
23:41:14 | gradha | maybe videos would make nimrod more popular, so we just need a nimrod song |
23:42:20 | * | q66_ joined #nimrod |
23:43:56 | gradha | good night |
23:44:04 | * | gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=2IzR_ClTE8Y again) |
23:44:27 | * | filwit joined #nimrod |
23:44:46 | * | freezerburnv joined #nimrod |
23:45:05 | Varriount | Hi filwit |
23:45:18 | filwit | hi Varriount :) |
23:46:16 | * | q66 quit (Ping timeout: 260 seconds) |