00:07:00 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
00:13:32 | * | bjz_ quit (Ping timeout: 245 seconds) |
00:24:56 | Varriount | Araq: Pong |
00:26:50 | * | johnsoft quit (Ping timeout: 276 seconds) |
00:27:10 | * | johnsoft joined #nimrod |
00:27:45 | * | willwillson quit (Ping timeout: 272 seconds) |
00:34:47 | * | fowl quit (Ping timeout: 245 seconds) |
00:46:01 | DiffuseStorm | Are seq's elements contiguous in memory? |
00:51:55 | Varriount | DiffuseStorm: Yes. |
00:52:50 | Varriount | DiffuseStorm: A sequence is analagous to a vector in c++ - it's an array that is resized when space is needed. |
00:53:56 | DiffuseStorm | ok cool, enlarged by 1.4 or 2 or? :) Not that it matters. |
00:55:23 | Varriount | 1.5 I believe |
01:15:48 | * | q66 quit (Quit: Leaving) |
01:27:38 | * | Demos joined #nimrod |
01:33:50 | * | saml_ joined #nimrod |
01:35:12 | * | wan quit (Ping timeout: 246 seconds) |
01:38:32 | * | wan joined #nimrod |
01:39:14 | * | saml_ quit (Ping timeout: 252 seconds) |
01:53:24 | * | saml_ joined #nimrod |
01:59:21 | * | saml_ quit (Ping timeout: 246 seconds) |
02:13:14 | * | saml_ joined #nimrod |
02:40:45 | * | filwit quit (Ping timeout: 272 seconds) |
02:54:07 | * | flaviu joined #nimrod |
02:57:26 | * | filwit joined #nimrod |
03:23:05 | * | xenagi quit (Read error: Connection reset by peer) |
03:23:53 | * | vissborg quit (Remote host closed the connection) |
03:26:08 | * | Jesin joined #nimrod |
03:28:44 | imjoe | nim on frontpage of HN https://news.ycombinator.com/item?id=8282273 |
03:34:57 | Triplefox | go nim \o/ |
03:36:52 | * | flaviu quit (Ping timeout: 245 seconds) |
03:57:52 | * | saml_ quit (Ping timeout: 240 seconds) |
04:22:47 | * | mko quit (Ping timeout: 276 seconds) |
05:20:57 | * | boydgreenfield joined #nimrod |
05:21:19 | boydgreenfield | fyi in case nobody has seen it – Nimrod article on HN: https://news.ycombinator.com/item?id=8282273 |
05:28:14 | filwit | someone else just posted the link to it. nice to see :) |
05:39:00 | Varriount | I couldn't read it for fear of negativity. Is it good or bad? |
05:42:19 | * | Demos quit (Read error: Connection reset by peer) |
05:46:22 | * | reactormonk quit (Ping timeout: 240 seconds) |
05:46:40 | NimBot | nimrod-code/csources bigbreak dede2c0 Araq [+0 ±37 -0]: rebuilt C sources |
05:46:40 | NimBot | nimrod-code/csources bigbreak 96adf91 Araq [+0 ±3 -0]: changed back exename |
05:46:40 | NimBot | nimrod-code/csources bigbreak ae68977 Araq [+69 ±0 -0]: added missing files |
05:46:40 | NimBot | nimrod-code/csources bigbreak 11b85b9 Araq [+0 ±21 -0]: attempt to make the C sources work again |
05:46:40 | NimBot | 2 more commits. |
05:46:43 | vegai | mostly good. He didn't like that "echo" is used, reminds him of shell languages and PHP I guess |
05:46:58 | vegai | and other naming issues |
05:47:18 | Varriount | Don't worry about csource messages - I'm trying to fix up the repo. |
05:52:41 | boydgreenfield | Varriount: The HN comments are not very substantative at the moment – one positive comment, and then some random “language proliferation” obversations, and then a kind of distracting sub-thread from some nimrod proponent about the wikipedia page getting deleted. |
05:53:27 | boydgreenfield | The article itself is quite positive, save for a few (pretty reasonable) preferences/critiques re: maturity, echo vs. print, and some of the tooling |
05:55:07 | Varriount | boydgreenfield: Ah, that I can handle. As long as it's not unsubstantiative criticism, I'm ok. |
05:55:33 | vegai | hm, freebsd's still carrying nimrod-0.9.2 :-| |
06:02:26 | * | BlaXpirit joined #nimrod |
06:02:38 | * | BlaXpirit quit (Client Quit) |
06:04:03 | * | BlaXpirit joined #nimrod |
06:05:33 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:07:51 | * | boydgreenfield joined #nimrod |
06:10:52 | NimBot | nimrod-code/csources master f1b5630 Varriount [+0 ±1 -0]: Update readme.markdown |
06:21:37 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:23:34 | * | reactormonk joined #nimrod |
06:25:08 | NimBot | nimrod-code/csources master a01cc6e Varriount [+0 ±1 -0]: Update readme.markdown |
06:29:50 | * | gsingh93 quit (Quit: Connection closed for inactivity) |
07:10:58 | * | kunev joined #nimrod |
07:14:22 | * | ics joined #nimrod |
07:31:50 | * | willwillson joined #nimrod |
07:32:06 | * | Jesin quit (Ping timeout: 272 seconds) |
07:32:49 | * | Jesin joined #nimrod |
07:55:34 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
08:04:17 | * | Araq_ joined #nimrod |
08:19:54 | * | Joe_knock joined #nimrod |
09:51:41 | * | filwit quit (Quit: Leaving) |
10:00:48 | * | BlaXpirit quit (Ping timeout: 277 seconds) |
10:19:43 | Shoozza | http://btw.the.nim-lang.org.and.nimrod-lang.org.domain.allows.you.to.say.that.d.and.rust.are.better.than.nimrod-lang.org.aka.nim-lang.org/ |
10:20:59 | EXetoC | ? |
10:44:34 | Shoozza | EXetoC, tried to visit http://forum.nim-lang.org/ when i noticed this. |
10:51:32 | * | Araq_ quit (Ping timeout: 245 seconds) |
10:56:13 | EXetoC | no idea what that's supposed to mean |
10:56:17 | * | bjz joined #nimrod |
10:57:39 | dom96 | I guess he means that no matter what subdomain you type it redirects to nim-lang.org |
11:02:53 | EXetoC | I was just trying to find a meaning of that subdomain |
11:03:02 | EXetoC | bjz: why did the front fall off? |
11:08:42 | * | Joe_knock quit (Quit: Leaving) |
11:09:06 | DiffuseStorm | What does {.pragma: ...} and {.passl ...} do? |
11:10:12 | dom96 | the former creates a new pragma IIRC |
11:10:20 | dom96 | the latter passes arguments to the linker |
11:11:07 | DiffuseStorm | So what is this one doing: {.pragma: libx11c, cdecl, dynlib: libX11.} |
11:11:36 | DiffuseStorm | libx11c is the name of the pragma, containing the rest? |
11:14:15 | EXetoC | basically |
11:15:46 | EXetoC | but you can just apply a pragma to all symbols between push/pop, in which case you might not need such a shortcut |
11:17:36 | * | Araq_ joined #nimrod |
11:24:59 | DiffuseStorm | The manual gives this example: {.pragma myInject: inject.} - but it looks very different. The colon is in a different place. |
11:25:47 | EXetoC | where does pragma: appear? |
11:25:58 | DiffuseStorm | https://github.com/nimrod-code/x11/blob/master/src/x11pragma.nim |
11:26:39 | DiffuseStorm | Which is then used like this: function decl{.libx11.} - here: https://github.com/nimrod-code/x11/blob/master/src/xlib.nim |
11:29:15 | EXetoC | that doesn't appear to work |
11:31:19 | DiffuseStorm | It's in the list of official packages on the website. But maybe it's wrong/ out of date |
11:32:19 | DiffuseStorm | Is the grammar in the manual correct? I should learn that. |
11:32:24 | bjz | EXetoC: huh? |
11:41:00 | EXetoC | bjz: you don̈́'t watch Clark and Dawe? |
11:41:15 | EXetoC | DiffuseStorm: it seems I can't get anything to work. I don't know what's going on |
11:50:13 | Araq_ | DiffuseStorm: commas are optional in pragmas so that {.push foo:bar.} works as opposed to {.push, foo: bar.} |
11:50:24 | Araq_ | *works like |
11:50:45 | Araq_ | which is ugly since the comma doesn't make sense for 'push' |
11:51:34 | Araq_ | in retrospect we should perhaps have made 'push' a pragma keyword, but pragma keywords do not exist |
11:54:17 | * | wan quit (Ping timeout: 272 seconds) |
11:56:55 | bjz | EXetoC: no, I used to |
11:57:06 | bjz | EXetoC: don't watch much telly anymore |
11:57:10 | EXetoC | now it works. I applied it in the wrong place, and got a cryptic error message |
11:57:30 | bjz | EXetoC: they were cut from the 7:30 report though right? |
11:58:18 | EXetoC | I just know that they have their own youtube channel |
11:59:12 | EXetoC | I'm not Australian and I never watch TV either |
12:24:27 | bjz | orly! |
12:24:38 | * | bjz searches |
12:25:45 | bjz | I wouldn't have thought non-aussies would have found their stuff interesting - perhaps they do more general stuff (not just australian political satire) |
12:26:42 | EXetoC | I don't get all of what they're saying, but they did bring up the financial crisis for example |
12:27:07 | bjz | it's pretty smart stuff |
12:27:23 | bjz | bit hard if you don't always have the context though |
12:29:44 | * | hexagon_sun quit (Remote host closed the connection) |
12:42:02 | EXetoC | yeah |
12:42:10 | EXetoC | bjz: have you written any application in Rust yet? |
12:57:32 | dom96 | Varriount: ping |
13:05:54 | * | darkf quit (Quit: Leaving) |
13:15:59 | EXetoC | +s |
13:19:43 | * | uber joined #nimrod |
13:20:29 | Araq_ | hi uber welcome |
13:21:34 | * | vendethiel- joined #nimrod |
13:21:43 | EXetoC | can't expand varargs[expr] into a series of arguments, right? without using a macro that is |
13:21:55 | * | vendethiel quit (Ping timeout: 252 seconds) |
13:22:31 | Araq_ | EXetoC: yeah |
13:51:09 | * | BlaXpirit joined #nimrod |
13:55:20 | * | perturbation joined #nimrod |
13:56:53 | * | Varriount|Mobile joined #nimrod |
14:06:51 | * | saml joined #nimrod |
14:07:20 | * | xenagi joined #nimrod |
14:16:31 | DiffuseStorm | Is bitwise or simply "or"? |
14:16:39 | Araq_ | yes |
14:22:41 | * | Varriount|Mobile quit (Read error: Connection reset by peer) |
14:33:09 | * | flaviu__ joined #nimrod |
14:33:50 | flaviu__ | Can someone pop into www.reddit.com/r/programming/comments/2fsm4u/experiments_with_nimrod/ and mention that while strfmt is a great library, it isn't part of the stdlib like the post author says |
14:34:02 | flaviu__ | I can't do it myself right now |
14:36:30 | * | flaviu__ quit (Client Quit) |
14:41:34 | * | flaviu__ joined #nimrod |
14:44:08 | * | flaviu__ quit (Client Quit) |
14:49:48 | * | io2 joined #nimrod |
14:49:50 | * | io2 quit (Changing host) |
14:49:50 | * | io2 joined #nimrod |
14:52:49 | * | hsuh joined #nimrod |
14:54:43 | dom96 | hello hsuh |
14:59:57 | * | Varriount_ joined #nimrod |
15:01:36 | * | Varriount quit (Ping timeout: 246 seconds) |
15:17:58 | * | Matthias247 joined #nimrod |
15:20:30 | willwillson | kind of minor, but on bigbreak, "koch install" installs a nimrod.cfg instead of nim.cfg. I think this is defined in compiler/nim.ini? This also seems to reference files that have since been removed such as c2nim. |
15:23:49 | * | francisl joined #nimrod |
15:24:35 | willwillson | this line: {.deprecated: [fileHandle: getFileHandle].}, in system.nim also gives me a redefinition of identifer fileHandle error. |
15:29:19 | willwillson | actually that might have been from when I didn't have a nim.cfg |
15:34:48 | Araq_ | willwillson: bigbreak requires --cs:partial but it looks like your config got screwed up |
15:36:31 | willwillson | yeah, I found out it was because of the missing nim.cfg (koch install installed nimrod.cfg) |
15:36:41 | * | flaviu__ joined #nimrod |
15:36:58 | DiffuseStorm | wow my libGL.so was linked to libGL.so.1.2.0 which I don't even have. I swear these linux shared libraries are more trouble than they are worth. |
15:37:28 | DiffuseStorm | no clue how that happened as I just use package management.. |
15:37:54 | DiffuseStorm | kind of unrelated, but I was trying out the opengl.nim wrapper |
15:38:30 | flaviu__ | DiffuseStorm: As an Arch Linux user, I'm obligated to tell you to use Arch. You'll become a l33t hazkor if you do! |
15:38:33 | DiffuseStorm | err actually glx is what tried to load libGL.so |
15:38:47 | DiffuseStorm | flaviu_: I'm on Fedora currently. I may try Arch |
15:39:04 | DiffuseStorm | l33t hazkor FTW! |
15:39:38 | * | gsingh93 joined #nimrod |
15:39:42 | NimBot | nimrod-code/Aporia master 9161216 Dominik Picheta [+0 ±1 -0]: Fix extra newlines after copying issues on Windows. |
15:43:43 | NimBot | nimrod-code/Aporia master b623d09 Dominik Picheta [+0 ±1 -0]: Fixes File menu separator position. |
15:48:36 | * | Trustable joined #nimrod |
15:54:24 | NimBot | nimrod-code/Aporia master ffed2f8 Dominik Picheta [+0 ±1 -0]: Fixes newline Windows copying issue for output text view. |
15:56:06 | * | flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
15:57:44 | * | brson joined #nimrod |
15:58:04 | NimBot | nimrod-code/Aporia master 994e1df Dominik Picheta [+0 ±1 -0]: Change default toggle bottom panel key shortcut. |
15:58:38 | * | flaviu__ joined #nimrod |
16:01:21 | DiffuseStorm | I'm getting a "could not import: ..." originating from a importc pragma. How does importc work? |
16:02:54 | * | flaviu__ quit (Client Quit) |
16:04:45 | Araq_ | DiffuseStorm: it comes from a dynlib pragma |
16:08:47 | * | flaviu__ joined #nimrod |
16:15:51 | * | flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:16:07 | * | willwillson quit (Ping timeout: 245 seconds) |
16:16:11 | * | flaviu__ joined #nimrod |
16:16:55 | Araq_ | DiffuseStorm: often these can be resolved with --deadcodeElim:on |
16:18:31 | perturbation | flaviu/Diffuse: s/Arch/Gentoo/ ;) |
16:19:05 | perturbation | not really... these days I'm bored and run a variant of Debian stable, though my out-of-date glibc causes some problems occasionally |
16:19:05 | dom96 | Hrm, I should try Gentoo. |
16:19:23 | EXetoC | teh love for compiling |
16:21:16 | flaviu__ | perturbation, dom96: http://funroll-loops.teurasporsaat.org/ |
16:22:27 | * | flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
16:25:13 | perturbation | yeah yeah -fomg-optimized and all that... I liked it for how much control I had over the setup. I stopped when I didn't have time to fix stuff breaking every two weeks. |
16:29:12 | dom96 | Are there any distros which keep the 'critical' packages frozen and allow you to update non-critical packages to the latest version available? |
16:29:26 | dom96 | Hrm, I guess Ubuntu allows that with PPAs. |
16:32:09 | * | Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 31.0/20140716183446]) |
16:39:47 | perturbation | dom96: you can also do that (to some degree) with debian and apt-pinning. I think that I'm eventually just going to upgrade to testing/unstable. |
16:40:48 | * | kunev quit (Quit: leaving) |
16:42:36 | * | q66 joined #nimrod |
16:44:16 | * | q66[lap]_ quit (Read error: Connection reset by peer) |
16:44:23 | * | Varriount|Mobile joined #nimrod |
16:44:56 | * | q66[lap] joined #nimrod |
16:55:51 | * | brson quit (Quit: leaving) |
16:55:58 | * | brson joined #nimrod |
16:56:22 | * | brson quit (Client Quit) |
16:56:29 | * | brson joined #nimrod |
16:56:29 | * | brson quit (Client Quit) |
16:56:36 | * | brson joined #nimrod |
16:56:38 | * | brson quit (Client Quit) |
16:56:45 | * | brson joined #nimrod |
16:57:24 | * | Matthias247 quit (Quit: Matthias247) |
16:58:01 | * | perturbation quit (Quit: Leaving) |
17:10:34 | * | Varriount|Mobile quit (Ping timeout: 252 seconds) |
17:25:09 | * | Matthias247 joined #nimrod |
17:31:37 | * | flaviu__ joined #nimrod |
17:32:11 | flaviu__ | dom96: Yes, arch linux |
17:33:38 | * | Matthias247 quit (Read error: Connection reset by peer) |
17:34:31 | flaviu__ | dom96: https://wiki.archlinux.org/index.php/Downgrading_packages#How_do_I_stop_pacman_from_upgrading_downgraded_packages |
17:35:46 | dom96 | flaviu__: That requires me to specify explicitly which packages should be kept frozen. |
17:35:50 | dom96 | No thanks. |
17:36:17 | flaviu__ | dom96: wat? |
17:36:34 | flaviu__ | Isn't that basically a description of your goal? |
17:37:13 | Araq | flaviu__: he's after a linux that doesn't keep breaking |
17:37:23 | dom96 | precisely |
17:38:08 | dom96 | I now don't think that is achievable. |
17:39:08 | flaviu__ | Ah, ok. Easy then. Never run pacman -Syu |
17:39:49 | EXetoC | that's it? wow |
17:39:57 | Araq | flaviu__: that's what I did until the openssl bug appeared |
17:40:05 | flaviu__ | Wanna update firefox? pacman -Sy; pacman -S firefox |
17:40:29 | Araq | then I tried to update, failed, reinstalled everything |
17:40:57 | Araq | and now nothing works but I stopped caring |
17:41:34 | * | flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
17:42:26 | reactormonk | Araq, nixos for you? |
17:42:52 | EXetoC | I will just do a little googling and then it's usually resolved after a couple of minutes |
17:45:53 | dom96 | The problem is that there is always something that doesn't work quite right. |
17:46:08 | dom96 | Then I update and they fix it, but introduce a different bug. |
17:46:13 | dom96 | Perhaps they need a better testing suite. |
17:47:12 | Araq | reactormonk: perhaps, but I'm not yet convinced a "declarative" approach is even remotely related to linux's problems |
17:48:24 | Araq | EXetoC: yeah but you only do that for so many years until you're too tired |
17:49:36 | dom96 | But that's why I think that a distro which keeps some critical packages frozen may work. |
17:49:42 | dom96 | Because that is kind of how Windows works. |
17:51:38 | EXetoC | Araq: well I barely spend any time on these things |
17:51:54 | EXetoC | dom96: how do you define that? |
17:52:39 | dom96 | EXetoC: which packages are critical and which are not? |
17:53:59 | dom96 | it's definitely tough to do |
18:07:04 | * | kunev joined #nimrod |
18:10:35 | reactormonk | Araq, coding is all about legacy code. |
18:12:24 | * | flaviu__ joined #nimrod |
18:13:15 | flaviu__ | dom96: I have no idea how you always have issues with linux, but have no issues with nim |
18:13:52 | flaviu__ | I've had a single major issue recently, and then only because of my unusual use of two X sessions at the same time |
18:14:21 | flaviu__ | lol, windows, stable? |
18:14:56 | flaviu__ | All I use it for is occasional gaming, and it already runs at a crawl... |
18:16:29 | flaviu__ | Araq: I don't think heartbleed affects you. You aren't running a publicly-facing server |
18:17:20 | flaviu__ | no need to update. Although openssl does have a thousand more major bugs that may effect you. IIRC firefox uses its own SSL lib though |
18:17:36 | * | willwillson joined #nimrod |
18:19:03 | Araq | flaviu__: dom96 has plenty of issues with Nim. we all have. |
18:25:36 | Araq | but here, have some facts: http://linuxfonts.narod.ru/why.linux.is.not.ready.for.the.desktop.current.html |
18:26:30 | * | kunev quit (Remote host closed the connection) |
18:31:41 | imjoe | Linux works for me. That article is Bullocks! ;-) seriously i've been on linux laptop as my only computer for over a year and it's OK. not great, but better than i had with windows, and osx? forget it, i can't get used to its UI. |
18:34:14 | Araq | imjoe: power management on laptops is really bad on linux, IME |
18:34:35 | flaviu__ | Araq: Sure, happy to respond to that. I agree video drivers aren't ideal, they're getting ther |
18:34:42 | flaviu__ | Audio situation is shit |
18:35:02 | flaviu__ | My experience with printers has been good though |
18:35:08 | imjoe | yeah could be, i'm always plugged in. |
18:35:18 | flaviu__ | dunno about power management, I desktop |
18:35:49 | flaviu__ | Xorg is bad, but Wayland is coming along well |
18:36:01 | flaviu__ | Flash is deprecated |
18:38:51 | * | kunev joined #nimrod |
18:40:14 | flaviu__ | No issues with fonts here, and I think the whole package management issue is stupid, and I don't see the lack of GUI apps as a negative for linux. Different compilers are an issue? only for people who can't avoid UB |
18:43:00 | flaviu__ | Python has a built-in web server for file sharing. Unstable kernel ABIs are hell for closed source software, and that is a good thing. |
18:43:44 | flaviu__ | I can't comment on big DEs, except to say that i3 has had exactly one bug in my experience, and that was already fixed in git. i3 is pretty awesome. |
18:44:21 | flaviu__ | lol, he claims rapid changes are bad |
18:46:31 | Araq | he also claims there is 255 char maxlength limit for filenames |
18:46:43 | Araq | which I really doubt exists |
18:46:55 | Araq | but overall he makes some good points |
18:47:43 | flaviu__ | Araq: That seems to be correct |
18:48:01 | flaviu__ | Although it doesn't do worse than windows... |
18:48:21 | Araq | interesting |
18:48:31 | flaviu__ | There isn't any path limit, unlike windows |
18:49:16 | Araq | having seen recently never ending directory hiearchies (java project) I came to the conclusion that a max path limit is a *feature* |
18:49:29 | Araq | ;-) |
18:49:57 | flaviu__ | lol |
18:52:16 | * | flaviu__ quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
18:54:42 | * | kunev quit (Ping timeout: 252 seconds) |
18:55:57 | * | xcombelle joined #nimrod |
19:08:54 | * | Jesin quit (Quit: Leaving) |
19:36:48 | * | kunev joined #nimrod |
19:36:57 | * | untitaker quit (Ping timeout: 245 seconds) |
19:39:33 | * | flaviu joined #nimrod |
19:42:54 | * | brson quit (Quit: leaving) |
19:43:02 | * | brson joined #nimrod |
19:44:01 | * | untitaker joined #nimrod |
19:46:09 | * | kunev quit (Ping timeout: 264 seconds) |
19:48:32 | * | kunev_ joined #nimrod |
19:49:04 | * | Demos joined #nimrod |
20:00:41 | Trixar_za | Araq: what's this about linux? |
20:00:42 | * | kunev_ quit (Ping timeout: 252 seconds) |
20:02:24 | Trixar_za | Also that dude really needs to read http://linux.oneandoneis2.org/LNW.htm |
20:07:11 | Shoozza | about the max path limit http://msdn.microsoft.com/en-us/library/aa365247%28VS.85%29.aspx#maxpath |
20:07:24 | * | ics joined #nimrod |
20:08:44 | * | Matthias247 joined #nimrod |
20:11:52 | * | flaviu quit (Ping timeout: 245 seconds) |
20:16:10 | DiffuseStorm | Here is a beautiful linux problem (I'm a bit late): Fedora 20 does not come with graphics drivers from nvidia. Only open source ones which I tested to be at least 90% slower for my specific test. It is possible to download from this unofficial repository that includes everything Fedora doesn't want to include, problem is their drivers are a year late. So if I want up to date graphics drivers I'll have to manually install from nvidia, |
20:16:10 | DiffuseStorm | which is actually very hard and scary for a normal person (I can manage it), and then have to redo it with every os upgrade. The result: I never update my operating system. |
20:16:53 | Demos | welcome to graphics on linux, enjoy |
20:17:23 | Demos | intel is not so bad, but intel GPUs are pretty slow in the grand scheme of things |
20:24:00 | * | jszymanski joined #nimrod |
20:24:12 | Araq | hi jszymanski welcome |
20:24:22 | jszymanski | hi |
20:30:55 | Araq | DiffuseStorm: did you solve your importc problem? |
20:32:26 | * | Onionhammer quit (Ping timeout: 260 seconds) |
20:32:51 | * | Onionhammer joined #nimrod |
20:34:12 | Trixar_za | Demos: Not really. Badly configured sometimes, but generally not as bad. That's why the integrated Intel modding scene is so surprisingly active. |
20:34:33 | EXetoC | DiffuseStorm: that's fedora fr you |
20:34:49 | EXetoC | sure that hardware acceleration is used? |
20:35:32 | * | xcombelle quit (Quit: Quitte) |
20:35:53 | DiffuseStorm | Araq: yes your solution worked. But what does importc do and is static linking with a c library possible? |
20:36:30 | willwillson | all these people installing binary blobs on their GNU system makes me sad :( |
20:36:37 | DiffuseStorm | EXetoC: I did verify that I had open source drivers installed. If they were off somehow I don't know, but probably not. |
20:37:12 | Araq | DiffuseStorm: 'importc' only affects name mangling really. then in addition to 'importc' you either use 'header' or 'dynlib'. Static linking is also possible. |
20:37:22 | DiffuseStorm | willwillson: using open source drivers for gpu's is ridiculous. I'm sorry. NVIDIA isn't going to release some great specs for driver writers to use so the open source alternative is always years behind and stupid slow. |
20:37:59 | Trixar_za | Demos: Although I might have to confess something... http://trixarian.net/forum/forumdisplay.php?fid=2 |
20:38:04 | Araq | how to do that depends, but usually you use something like --dynlibOverride:opengl --passL:"-lopengl" |
20:38:22 | * | Mat3 joined #nimrod |
20:38:28 | Mat3 | hello |
20:38:40 | Trixar_za | Hi Mat3 |
20:38:55 | Mat3 | hi Trixar_za |
20:39:39 | EXetoC | DiffuseStorm: hardware acceleration must be enabled by the user for some drivers |
20:40:48 | EXetoC | apparently the performance is not that far off in some cases, but it does indeed take a long time to develop them |
20:41:49 | DiffuseStorm | yes that's true I've seen some stats and they can be pretty fast or even as fast as the native, but the OpenGL version they support is really old |
20:42:33 | EXetoC | up to about 3.3 I think |
20:42:46 | willwillson | DiffuseStorm: do you not value your freedom over a bit of extra performance? |
20:44:40 | Araq | ping Varriount_ |
20:46:11 | DiffuseStorm | willwillson: It's NVIDIA efficiently and expertly developing drivers for hardware they know in and out vs having some poor bloke try to reverse engineer nvidias hardware, which as you can imagine is a lot less efficient. I don't see how I'm losing freedom over my choice. |
20:46:30 | * | TieSoul quit (Read error: Connection reset by peer) |
20:48:34 | Araq | btw does anybody here know how "git cherrypick" works? |
20:49:21 | willwillson | the software is controlling you; you should be controlling the software: https://www.gnu.org/philosophy/free-sw.html |
20:49:57 | DiffuseStorm | oh no not the gnu blokes with their abhorrent licenses |
20:50:06 | Trixar_za | I think I like this author |
20:50:24 | Trixar_za | He included a TL;DR summary |
20:54:33 | imjoe | Araq: I've never used it, but this explanation seems pretty clear: http://sleeplessgeek.blogspot.com/2011/03/using-git-cherry-pick.html |
20:56:45 | Mat3 | DiffuseStorm: The quality of NVIDIA drivers is somewhat questionable I think |
20:57:15 | imjoe | has anyone connected to oracle database using nim? i'm afraid i may need to do that... |
20:57:35 | Araq | imjoe: thanks but I tried that and it simply doesn't work at all. |
20:57:42 | DiffuseStorm | Mat3: the quality of gpu hardware is somewhat questionable, the drivers probably have to do endless hacks to cover for the shitty hardware |
20:58:15 | DiffuseStorm | well thats just what i heard, but i've had great experience with their drivers |
21:00:12 | * | q66[lap] quit (Quit: Textual IRC Client: www.textualapp.com) |
21:02:35 | imjoe | Araq: I just tried it and it worked for me. I did almost forget to switch to the master branch before doing the git cherry-pick though... |
21:03:43 | Mat3 | well, there GPU's are at base simply a specialized MIMD design like most other graphic architectures, optimized for a special case of data streaming |
21:04:32 | NimBot | Araq/Nimrod bigbreak 952de51 Dominik Picheta [+0 ±1 -0]: Removed async console FDs. |
21:04:32 | NimBot | Araq/Nimrod bigbreak 6689fa6 Dominik Picheta [+1 ±2 -0]: Multiple exception idents in except for async. Ref #1487. |
21:04:36 | Mat3 | I don't think the alternatives are such better designed |
21:05:46 | imjoe | Araq: also, I had steve miller band "the joker" playing in the background... "Cause I'm a picker, I'm a grinner, I'm a lover..." :-) |
21:06:11 | Mat3 | (I mean graphic oriented special ASIC's) |
21:08:48 | Araq | imjoe: well devel and bigbreak diverged too much and now no cherry-picking works anymore |
21:10:10 | Mat3 | ciao |
21:10:15 | * | Mat3 quit (Quit: Verlassend) |
21:13:39 | * | filwit joined #nimrod |
21:14:19 | filwit | dom96: Chakra linux is what you're after: http://chakraos.org/home/ |
21:15:00 | * | q66[lap] joined #nimrod |
21:15:25 | filwit | although I personally have had very few stability issues with Arch (now that I've been on KDE), it's not intended for people who don't want to occasionally fix update-related things, and it's not advertised as such. |
21:16:06 | filwit | that said, the best package-management solution (for any OS) is something like NixOS |
21:16:45 | * | Demos quit (Ping timeout: 264 seconds) |
21:17:53 | Trixar_za | NixOS? |
21:19:04 | Trixar_za | Ah - another distro |
21:19:07 | filwit | Trixar_za: yeah, it uses the Nix package manager, which is a better design, from what I can tell, in many ways |
21:19:16 | filwit | have yet to actually try it tho |
21:19:38 | Trixar_za | I really can't keep up with developments anymore. Is it a remix of something or a from scratch project? |
21:20:18 | filwit | scratch |
21:20:43 | filwit | it's main benefit is this: https://nixos.org/nix/ |
21:21:22 | * | def- quit (Ping timeout: 252 seconds) |
21:21:39 | * | def- joined #nimrod |
21:21:49 | filwit | i'm not sure Nix is it just yet, but the concept is really great. It's kinda like how babel works (where the main "repo list" is just a url tree stored on github anyone can make PRs agains) |
21:23:21 | imjoe | waiting for NimOS ;-) |
21:24:33 | * | ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:26:01 | filwit | Trixar_za: if I understand it correctly, because all software is duplicated (and garbage collected) the dependencies entirely dependent on a core repo, and technically anyone can host their own binaries (sorta like a sane version of Windows "click installer" system). |
21:26:18 | filwit | dont** entirely depend |
21:27:31 | Trixar_za | Actually that would work awesomely - anybody could contribute packages and use github to do it |
21:27:37 | filwit | it also means that updating the system will never cause problems with running software, and multiple package versions can nicely coexist. |
21:28:22 | * | jszymanski quit (Quit: Textual IRC Client: www.textualapp.com) |
21:29:28 | filwit | Trixar_za: exactly my thoughts as well... the main reason no one contributes to any one linux distro is because there are so many.. but if you could simply define url deps and host your own binaries, then there would be less a need for each distro's maintainers (and indeed, less of a distinction between "distros" in general) |
21:30:26 | filwit | of course, people will still have to agree on a "common core", but everything beyond the core stack is entirely up to third party software. |
21:31:04 | Trixar_za | As long as packaging the package is straight forward, anybody would be able to do it. |
21:31:45 | Trixar_za | That's actually one of SliTaz's strengths - the package packaging is really easy and it can convert other packages over to the same format. |
21:32:26 | filwit | yep. and the best thing: when you update your binary (and package info), technically everyone gets the update (like how Windows updates software individually... only much saner) |
21:32:45 | filwit | hmm.. never heard of CliTaz |
21:32:50 | filwit | SliTaz* |
21:33:48 | Trixar_za | It's a Micro-Linux distribution mostly made for thin clients and older systems. It boasts that the iso size is about 40MB |
21:34:00 | Trixar_za | Which expands to about 160MB in RAM |
21:34:19 | filwit | cool |
21:34:22 | filwit | but not for me |
21:34:50 | Trixar_za | It has a few flaws - which is why I wanted (and still want to) rebuild it's base |
21:38:10 | * | adrusi joined #nimrod |
21:38:11 | * | adrusi is now known as adrusi_ |
21:43:22 | * | francisl quit (Ping timeout: 240 seconds) |
21:44:48 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
21:59:48 | * | gsingh93 quit (Quit: Connection closed for inactivity) |
22:03:24 | * | jasondotstar quit (Quit: Leaving) |
22:12:36 | * | Jehan_ joined #nimrod |
22:14:22 | * | BlaXpirit quit (Ping timeout: 245 seconds) |
22:18:14 | * | tillzy joined #nimrod |
22:27:28 | * | fowl joined #nimrod |
22:28:39 | Araq | hi tillzy welcome |
22:29:16 | tillzy | Hi! thanks! |
22:34:22 | tillzy | Anyone have any suggestion on a starter project for learning nimrod? |
22:38:37 | adrusi_ | Does Nimrod emit ANSI C? I'm interested in seeing if I can pass its C output to sdcc. |
22:39:43 | * | adrusi_ is now known as adrusi |
22:48:15 | Araq | adrusi: it should work with sdcc whatever that is |
22:51:16 | Araq | tillzy: many people start with nim+SDL to program a game |
22:52:55 | tillzy | Araq: that would be great, i am currently looking at the sdl2 bindings, but maby i should instead start with sdl1? |
22:53:02 | Varriount_ | Although someone has yet to understand the android SDK well enough to wrap that. |
22:54:02 | imjoe | wow, if you could run nim programs on android, that would be huge! |
22:54:51 | Araq | imjoe: er ... don't we have an andriod example in the standard distribution? |
22:55:56 | Varriount_ | Araq: We have an example which uses the JNI interface, IIRC |
22:56:59 | * | Varriount_ is now known as Varriount |
22:58:04 | Varriount | Araq: What we don't have is a *native* Nimrod example, which uses the NDK |
22:58:41 | Araq | Varriount: what does that mean? we can't use teh NDK because we have no java codegen, can we? |
22:59:07 | Varriount | Araq: The NDK is a C/C++ binding to the java api. |
22:59:16 | * | fowl quit (Ping timeout: 252 seconds) |
22:59:31 | Araq | ah ok |
23:01:27 | tillzy | are there any screencasts explaining the basics of nimrod? |
23:03:15 | tillzy | from what i can tell (just started reading about it tonight) nimrod looks incredibly powerfull, can't belive i haven't heard about it before |
23:03:44 | * | Sembei joined #nimrod |
23:04:28 | willwillson | have you tried the written tutorial? |
23:04:55 | willwillson | http://nimrod-lang.org/tut1.html |
23:05:11 | dom96 | This is also nice: https://nimrod-by-example.github.io/ |
23:06:50 | tillzy | only just skimmed it, but i will definitely read it more closely |
23:07:34 | tillzy | the by-example one is really nice! |
23:10:22 | Varriount | Araq: Will the Nimrod repo be moved as well? |
23:13:58 | Araq | Varriount: yeah, but we'll release both 0.9.6 and 0.10.0 at the same time, I think |
23:22:12 | * | saml_ joined #nimrod |
23:22:45 | Varriount | Araq: Uh... Huh? |
23:25:03 | Varriount | Araq: Also, did you need me for something? |
23:25:34 | dom96 | Varriount: how's that script coming along? |
23:26:04 | Varriount | dom96: I didn't get to it yet - the DMV was too hectic, and I wasn't near any power outlets |
23:26:13 | Araq | Varriount: nah, I wanted to thank you for fixing csources |
23:27:23 | dom96 | Araq: is it safe for me to overwrite currException? |
23:27:33 | * | darkf joined #nimrod |
23:27:36 | Varriount | dom96: What do you mean by a powershell script? IIRC, powershell doesn't allow executing unsigned scripts by default. |
23:27:42 | * | saml_ quit (Ping timeout: 245 seconds) |
23:27:56 | dom96 | Araq: hrm, it's not exported so I guess I can't anyway. |
23:28:41 | dom96 | Araq: I can either detect getCurrentException/..Msg or just set currException in async try statements. |
23:29:23 | dom96 | Varriount: whatever works. Just create an interactive way to build/install the compiler. |
23:29:34 | * | Jesin joined #nimrod |
23:30:03 | Varriount | dom96: What's wrong with the installer? |
23:30:06 | dom96 | For Windows you could even make a GUI app. |
23:30:17 | dom96 | it doesn't build the compiler for me. |
23:30:23 | dom96 | I want the latest from git. |
23:30:53 | dom96 | Instead of copying and pasting all those commands I want a simple script to do it all for me. |
23:31:34 | Araq | what's wrong with a batch script? |
23:32:05 | * | tillzy quit (Quit: tillzy) |
23:32:37 | dom96 | Araq: what's wrong with answering my question? |
23:33:20 | Araq | dom96: I'm not sure what you need to do |
23:33:27 | Araq | so I can't answer |
23:33:57 | dom96 | Araq: I'm transforming try statements in my async procs into some if statements remember? |
23:34:16 | dom96 | Araq: This means that getCurrentException() won't work. |
23:34:34 | * | Matthias247 quit (Read error: Connection reset by peer) |
23:34:37 | dom96 | Araq: I can either transform it too or set system.excpt.currException |
23:34:58 | dom96 | but meh, it's obvious I should do the former. |
23:35:22 | dom96 | the latter would be much easier though |
23:36:40 | * | ics joined #nimrod |
23:40:06 | * | Jehan_ quit (Quit: Leaving) |
23:40:47 | * | saml_ joined #nimrod |
23:41:44 | DiffuseStorm | How do I pass a TaintedString into a function wanting a cstringArray? |
23:43:17 | dom96 | [tainted.cstring] |
23:43:20 | dom96 | I guess |
23:43:40 | Araq | dom96: nah setting .currException is fine |
23:43:42 | dom96 | hrm, well |
23:43:50 | dom96 | actually that won't work |
23:43:56 | Araq | you can even export the field, I don't mind |
23:44:34 | dom96 | Araq: ok. Is it nil when there is no exception? |
23:45:21 | Araq | yes |
23:46:47 | * | Trustable quit (Quit: Leaving) |
23:46:48 | dom96 | Araq: maybe it would make more sense to add setCurrentException? |
23:49:45 | Onionhammer | anyone tried CLion yet? |
23:50:37 | * | saml_ quit (Ping timeout: 245 seconds) |
23:51:21 | Onionhammer | who's going to give writing a nimrod plugin for it a shot :P |
23:52:54 | Araq | DiffuseStorm: there is system.allocCstringArray iirc |
23:53:22 | Araq | dom96: it's dangerous either way and for experts only |
23:54:04 | dom96 | yes, i'll create the proc |
23:54:06 | Araq | a setter doesn't make it any better, but I guess it's nice for consistency |
23:55:12 | dom96 | yeah |