#hazzy | Logs for 2018-08-11

Back
[10:05:14] -!- Roguish has quit [Remote host closed the connection]
[10:14:22] -!- Roguish has joined #hazzy
[10:31:30] -!- Tommylight has quit [Quit: Page closed]
[15:30:53] <TurBoss> hello
[15:31:07] <TurBoss> sup
[16:07:23] <hazzy-lab> hey
[16:07:30] <hazzy-lab> our boss is on vacation :(
[16:07:34] <hazzy-lab> lol
[16:07:52] <TurBoss> hehehhe
[16:08:38] <TurBoss> have you managed to find how could "we" animate the carousel?
[16:09:02] <TurBoss> I
[16:09:08] <hazzy-lab> no, I have not looked into it yet
[16:09:16] * hazzy-lab is being lazy
[16:09:28] <TurBoss> thats fine
[16:10:04] <hazzy-lab> no, it is bad :D
[16:10:12] <TurBoss> lol
[16:10:16] * hazzy-lab is working on a better website
[16:10:17] <hazzy-lab> https://kcjengr.github.io
[16:10:23] <TurBoss> great
[16:10:25] <TurBoss> checking
[16:10:51] <TurBoss> I use e107
[16:10:52] <TurBoss> for webs
[16:11:08] <TurBoss> a bit arcaic but its what I know
[16:11:30] * TurBoss didn't know about that site before lol
[16:11:52] <hazzy-lab> I had not heard of that, looks interesting
[16:12:12] <TurBoss> keramold.es
[16:12:17] <TurBoss> is where I work
[16:12:19] <TurBoss> done with e107
[16:12:56] <TurBoss> english site is unfinished lol
[16:13:10] <hazzy-lab> that looks very nice!
[16:13:21] <hazzy-lab> did you do it?
[16:16:16] <TurBoss> yes
[16:16:18] <TurBoss> all
[16:17:05] <hazzy-lab> very nice work!
[16:17:15] <TurBoss> ty
[16:17:23] <TurBoss> e107 is easy
[16:17:32] <TurBoss> :P
[16:42:21] <TurBoss> hazzy if I write a python hal comp that exposes thoose things could it be read by the UI?
[16:43:06] <hazzy-lab> yes
[16:43:18] <hazzy-lab> but we may not even need to use a hal comp
[16:43:42] <TurBoss> how so?
[16:44:48] <hazzy-lab> I was thinking we might be able to get enough info from the python interface
[16:44:52] <hazzy-lab> but I guess not
[16:45:03] <hazzy-lab> all it has it tool_in_spindle
[16:45:24] <TurBoss> hmmm
[16:45:32] <hazzy-lab> and motion_type.TOOL_CHANGE
[16:46:26] <hazzy-lab> so with just the python interface we no the previous tool, and when it is doing a toolchange
[16:46:34] <hazzy-lab> but we also need to know the new tool
[16:46:44] <TurBoss> true
[16:46:49] <hazzy-lab> and I don;t see how to get that without a hal comp :(
[16:48:19] <hazzy-lab> one way do do it would be to only have the tool changer animate it the tool was changed from the tool changer window ...
[16:48:29] <hazzy-lab> that might be best anyway
[16:49:12] <TurBoss> can't we load halcomps from the UI?
[16:49:29] <TurBoss> or just from the post_gui.hal?
[16:49:40] <hazzy-lab> I think just post_gui.hal
[16:49:55] <hazzy-lab> but we could use subprocess and halcmd ...
[16:49:56] <hazzy-lab> :D
[16:50:07] <TurBoss> pp does that
[16:50:23] <hazzy-lab> ok!
[16:50:55] <hazzy-lab> so maybe we should do it too, this is a PPClone, after all
[16:51:02] <hazzy-lab> xD
[16:51:10] <TurBoss> p = os.popen("tclsh %s/bin/halshow.tcl &" % (TCLPATH))
[16:51:56] <TurBoss> hmmmm
[16:52:13] <TurBoss> could we use the python-cffi thing?
[16:52:36] <hazzy-lab> hmm
[16:52:40] <hazzy-lab> that is an idea ..
[16:52:42] <TurBoss> https://cffi.readthedocs.io
[16:52:59] <TurBoss> this way we could run C functions
[16:53:08] <TurBoss> not sure if thats what is needed
[16:53:21] <TurBoss> *that is
[16:53:27] <hazzy-lab> and access the interpretor directly
[16:53:34] <hazzy-lab> interesting idea !@
[16:53:45] <TurBoss> great
[16:53:55] <hazzy-lab> that may work
[16:53:59] <hazzy-lab> that would be great
[16:54:00] <TurBoss> yes?
[16:54:15] <hazzy-lab> yes!
[16:54:19] <TurBoss> is there any .so files?
[16:54:38] <hazzy-lab> I am not sure
[16:54:57] <TurBoss> I dhuno how to attacj this vector
[16:55:01] <TurBoss> *dont' know
[16:55:30] <TurBoss> do you know where the C source is
[16:55:32] <TurBoss> ?
[16:55:45] <hazzy-lab> yes
[16:55:50] <TurBoss> great
[16:55:56] <hazzy-lab> it is in the src/rs274 dir
[16:56:12] <TurBoss> brb
[16:56:15] <TurBoss> rebooting
[16:56:16] <hazzy-lab> I think the interesting stuff may be in interpret_python.cc
[16:56:18] <hazzy-lab> ok
[16:57:39] <TurBoss> back
[16:57:56] <hazzy-lab> that was a fast boot
[16:58:10] <hazzy-lab> TuBoBoot
[16:59:53] <TurBoss> sudo apt install python-cffi
[17:00:02] <hazzy-lab> ....
[17:00:03] <hazzy-lab> done
[17:00:09] <hazzy-lab> :D
[17:07:58] <TurBoss> hazzy
[17:08:00] <TurBoss> question
[17:08:29] <TurBoss> isn't this interpreter what its called when you open a python file from axis per example?
[17:09:11] <TurBoss> hmm seems no
[17:10:36] <TurBoss> https://dbader.org
[17:11:43] <hazzy-lab> yes, the interpretor is what opens the file
[17:11:50] <hazzy-lab> you can run it stand alone as well
[17:12:09] <hazzy-lab> just say `rs274` in a terminal
[17:12:43] <hazzy-lab> it converts the gcode to the individual machining commands
[17:12:49] -HaikuBot[m]:#hazzy- it converts the gcode
[17:12:50] -HaikuBot[m]:#hazzy- to the individual
[17:12:50] -HaikuBot[m]:#hazzy- machining commands
[17:12:52] <hazzy-lab> LOL
[17:13:03] <TurBoss> OH
[17:13:13] <TurBoss> for what i can see
[17:13:27] <TurBoss> cffi from repos doesn't handle the interpret_python.hh
[17:13:32] <TurBoss> yet
[17:13:57] <hazzy-lab> :(
[17:13:59] <TurBoss> checking the pip one
[17:14:03] <TurBoss> bad idea
[17:14:06] <TurBoss> not checking
[17:20:40] <TurBoss> https://github.com
[17:20:45] <TurBoss> the title looks good
[17:21:40] <TurBoss> https://www.boost.org
[17:21:58] <TurBoss> https://www.boost.org
[17:22:01] <TurBoss> meck
[17:22:13] * TurBoss sent a long message: < https://matrix.org >
[17:22:26] <TurBoss> so we don't really need ccfi
[17:22:28] <TurBoss> cffi
[17:22:35] <TurBoss> as boost.python does it
[17:22:48] <hazzy-lab> great
[17:23:03] <hazzy-lab> and there is already a boost wrapper for the interpretor
[17:23:15] <hazzy-lab> all we need to do is make it so we can import it
[17:23:30] <hazzy-lab> wait
[17:23:45] <TurBoss> ok
[17:23:54] <hazzy-lab> I think you found we can import it with rs274
[17:24:02] <hazzy-lab> I think that is the main interpretor
[17:24:30] <TurBoss> ok
[17:29:45] <TurBoss> then what?
[17:36:50] <TurBoss> hazzy I have to leave
[17:36:52] <TurBoss> latter
[18:50:53] <TurBoss> back
[19:00:54] <TurBoss> I'm having issues with GL with the propietary drives :(
[19:01:05] <TurBoss> mini.ini on DynATC branch does not fire
[19:01:26] * TurBoss heads to another tas
[19:01:27] <TurBoss> *task
[19:18:30] -!- hazzy-dev has quit [Ping timeout: 260 seconds]
[20:04:55] -!- hazzy-dev has joined #hazzy
[20:27:51] -!- hazzy-dev has quit [Ping timeout: 240 seconds]
[20:53:47] <TurBoss> hey hows your new PC working?
[21:15:47] * hazzy-lab is back
[21:16:08] <hazzy-lab> it is working ok, but it keeps crashing :(
[21:16:39] <hazzy-lab> seems like a hardware or graphics card problem
[21:17:06] <hazzy-lab> are you having graphics problems too?
[21:18:45] <hazzy-lab> this is what I get: https://matrix.org
[21:19:05] <hazzy-lab> < https://matrix.org >
[21:19:26] <hazzy-lab> fail :D
[21:22:18] <TurBoss> looks bad
[21:23:03] <hazzy-lab> I over-clocked it from 3.4 to 4.2 Ghz and it has not crashed since xD
[21:23:05] -HaikuBot[m]:#hazzy- I over-clocked
[21:23:05] -HaikuBot[m]:#hazzy- it from 3.4 to 4.2 Ghz and it has
[21:23:06] -HaikuBot[m]:#hazzy- not crashed since xD
[21:23:15] <TurBoss> fine
[21:23:24] <TurBoss> as you keep it cool
[21:23:24] <TurBoss> :D
[21:23:37] <hazzy-lab> right! the fan runs a lot
[21:24:15] * TurBoss is unable to understand how to write a stupid appservice lol
[21:24:51] <hazzy-lab> for matrix?
[21:24:57] <TurBoss> yes
[21:25:06] <hazzy-lab> neat
[21:25:10] <TurBoss> nop
[21:25:13] <TurBoss> not good
[21:25:19] <hazzy-lab> lol
[21:25:36] <TurBoss> like the irc appservice for matrix
[21:25:44] <TurBoss> but for the spring cominity
[21:25:55] <hazzy-lab> very nice!
[21:26:02] <hazzy-lab> you will get it!
[21:26:20] <TurBoss> lol not sure
[21:26:29] <TurBoss> more than 6 month behind this
[21:27:59] <TurBoss> anyway
[21:28:41] <hazzy-lab> oh, I did not realize you had been working on it so long :(
[21:28:48] <hazzy-lab> that is almost as bad as me :)
[21:28:52] <TurBoss> ye!
[21:32:21] <TurBoss> kcj needs to play Zero-K
[21:34:22] <TurBoss> https://zerok.itch.io
[21:35:13] <TurBoss> 2 vs AI?
[21:35:19] <TurBoss> :P
[21:40:51] * TurBoss goes for some drink
[21:41:02] <TurBoss> back in 10 /20 min
[22:02:19] <TurBoss> back
[22:30:31] -!- hazzy-dev has joined #hazzy