Logs: freenode/#haskell
| 2021-03-19 14:33:22 | → | tinhatcat joins (~tsranso@108-91-101-161.lightspeed.gnvlsc.sbcglobal.net) |
| 2021-03-19 14:34:40 | → | juri_ joins (~juri@79.140.120.153) |
| 2021-03-19 14:37:18 | × | ntkr quits (uid491148@gateway/web/irccloud.com/x-grscyfuzvjfkwmna) (Quit: Connection closed for inactivity) |
| 2021-03-19 14:38:39 | → | Pickchea joins (~private@unaffiliated/pickchea) |
| 2021-03-19 14:40:12 | zerok | is now known as z0k |
| 2021-03-19 14:40:39 | <curiousgay> | opengl package is not meant to be used by someone (me) who doesn't have any experience with opengl? |
| 2021-03-19 14:40:47 | × | tinhatcat quits (~tsranso@108-91-101-161.lightspeed.gnvlsc.sbcglobal.net) (Quit: Leaving) |
| 2021-03-19 14:41:23 | hackage | typenums 0.1.3 - Type level numbers using existing Nat functionality https://hackage.haskell.org/package/typenums-0.1.3 (AdituV) |
| 2021-03-19 14:42:02 | × | fendor quits (~fendor@91.141.3.89.wireless.dyn.drei.com) (Remote host closed the connection) |
| 2021-03-19 14:42:32 | × | ixian quits (~mgold@terra.bitplane.org) (Ping timeout: 240 seconds) |
| 2021-03-19 14:42:41 | → | mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan) |
| 2021-03-19 14:43:33 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-19 14:43:53 | → | Lycurgus joins (~niemand@98.4.116.165) |
| 2021-03-19 14:44:38 | → | viluon joins (uid453725@gateway/web/irccloud.com/x-tsrjyctedjmnhhpa) |
| 2021-03-19 14:46:17 | × | LKoen quits (~LKoen@194.250.88.92.rev.sfr.net) (Remote host closed the connection) |
| 2021-03-19 14:46:44 | × | acidjnk_new quits (~acidjnk@p200300d0c72b9511759421c9ddfcc58f.dip0.t-ipconnect.de) (Ping timeout: 244 seconds) |
| 2021-03-19 14:47:08 | × | mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Remote host closed the connection) |
| 2021-03-19 14:47:26 | <merijn> | curiousgay: It's mean to provide access to OpenGL. Which is not a particularly high level nor beginner friendly API, no |
| 2021-03-19 14:48:25 | <Lycurgus> | nor is any real GUI |
| 2021-03-19 14:48:25 | <curiousgay> | :( |
| 2021-03-19 14:48:54 | <Lycurgus> | it's just busy stuff though and a lil bit of you had to be there |
| 2021-03-19 14:48:55 | × | kmein quits (~weechat@static.173.83.99.88.clients.your-server.de) (Quit: ciao kakao) |
| 2021-03-19 14:50:02 | <dhruvasagar> | Hey guys, if anybody has the time, could you look into this yaml parser that I am in the process of building https://gist.github.com/dhruvasagar/92bfa5ad92c70f31065445a303da7979. I am struggling a little bit getting manyByIndent right and use it for parsing yamlArray / yamlObject. |
| 2021-03-19 14:50:05 | <merijn> | curiousgay: otoh, the advantage of being "just opengl" is that you can pretty much grab any OpenGL book from a different language and use that, since it's "just opengl" :) |
| 2021-03-19 14:50:09 | <Lycurgus> | except smalltalk igess |
| 2021-03-19 14:50:25 | → | acarrico joins (~acarrico@dhcp-68-142-39-249.greenmountainaccess.net) |
| 2021-03-19 14:50:37 | <merijn> | curiousgay: Like, if you know C or something, just grab a C opengl book to learn opengl and done :p |
| 2021-03-19 14:50:52 | → | kmein joins (~weechat@static.173.83.99.88.clients.your-server.de) |
| 2021-03-19 14:51:18 | <curiousgay> | huh, I thought opengl (as a package) is different from openglraw (1:1 correspondence to ugly C API) |
| 2021-03-19 14:52:29 | <Lycurgus> | also smalltalk can but generally doesn't act as bottomost hardware interface |
| 2021-03-19 14:52:38 | <merijn> | curiousgay: opengl is *slightly* higher level, in that it hides the poitner stuff |
| 2021-03-19 14:53:01 | × | coot quits (~coot@37.30.58.223.nat.umts.dynamic.t-mobile.pl) (Quit: coot) |
| 2021-03-19 14:53:04 | × | malumore quits (~malumore@151.62.118.248) (Remote host closed the connection) |
| 2021-03-19 14:53:40 | curiousgay | thinking |
| 2021-03-19 14:53:44 | <merijn> | curiousgay: But it's not really a high level API. There was a nice-ish higher level rendering library, but I can't remember the name |
| 2021-03-19 14:54:14 | → | ezrakilty joins (~ezrakilty@97-113-58-224.tukw.qwest.net) |
| 2021-03-19 14:54:34 | <merijn> | curiousgay: For something higher level you'd want something like SDL |
| 2021-03-19 14:54:43 | <curiousgay> | then I need to do something in Haskell that's not related to graphics at all... |
| 2021-03-19 14:55:00 | → | darjeeling_ joins (~darjeelin@122.245.217.128) |
| 2021-03-19 14:55:03 | <dolio> | It will be somewhat better than C, probably. Like, it has `with...` stuff instead of you having to remember to call `...Begin` and `...End` correctly. |
| 2021-03-19 14:55:31 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 244 seconds) |
| 2021-03-19 14:55:31 | × | juri_ quits (~juri@79.140.120.153) (Read error: Connection reset by peer) |
| 2021-03-19 14:56:20 | <curiousgay> | merijn: hm, actually there's a whole tutorial that uses SDL https://github.com/madjestic/Haskell-OpenGL-Tutorial |
| 2021-03-19 14:56:20 | → | juri_ joins (~juri@79.140.120.153) |
| 2021-03-19 14:56:24 | → | mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan) |
| 2021-03-19 14:56:35 | <dolio> | But that's just an example of C making it difficult to do even the most basic control flow abstraction. |
| 2021-03-19 14:56:58 | <dhruvasagar> | anybody ? any thoughts / clues / hints ? |
| 2021-03-19 14:57:21 | <curiousgay> | ah, that tutorial uses not only SDL, I misread the README |
| 2021-03-19 14:57:51 | → | ixian joins (~mgold@terra.bitplane.org) |
| 2021-03-19 14:58:03 | × | stree quits (~stree@68.36.8.116) (Ping timeout: 246 seconds) |
| 2021-03-19 14:58:33 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-3-8.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!) |
| 2021-03-19 14:58:55 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-3-8.w83-200.abo.wanadoo.fr) |
| 2021-03-19 14:58:56 | <Lycurgus> | dhruvasagar, your query may work better if you are more specific |
| 2021-03-19 14:59:14 | × | Lycurgus quits (~niemand@98.4.116.165) (Quit: Exeunt) |
| 2021-03-19 15:00:02 | <dhruvasagar> | Lycurgus: well I am doing this as a learning exercise, my code is largely borrowed from haskell-json a parser build by tsoding for json. The main thing I am kinda struggling with is building a nice indent sensitive parser |
| 2021-03-19 15:00:42 | <merijn> | dhruvasagar: Because building indent sensitive parser is *hard* :) |
| 2021-03-19 15:01:02 | <dhruvasagar> | merijn: even more reason to try to do it :) |
| 2021-03-19 15:01:56 | <curiousgay> | merijn: I'll try that tutorial, although it focuses on GLFW instead of SDL |
| 2021-03-19 15:02:15 | <curiousgay> | just nice start for learning Haskell and GL lol |
| 2021-03-19 15:02:15 | × | juri_ quits (~juri@79.140.120.153) (Read error: Connection reset by peer) |
| 2021-03-19 15:02:35 | → | molehillish joins (~molehilli@2600:8800:8d06:1800:e0d0:506b:db48:8ec8) |
| 2021-03-19 15:02:54 | → | bitmagie joins (~Thunderbi@200116b8064af700cc4b64cf6315dd95.dip.versatel-1u1.de) |
| 2021-03-19 15:02:57 | curiousgay | wants to rewrite IRC client from Tcl/Tk to Haskell |
| 2021-03-19 15:03:27 | <merijn> | dhruvasagar: Sure, but that might explain the lack of response :p |
| 2021-03-19 15:03:42 | × | ixian quits (~mgold@terra.bitplane.org) (Ping timeout: 265 seconds) |
| 2021-03-19 15:03:48 | <dhruvasagar> | merijn: I can tell, this is the fourth time I am trying here |
| 2021-03-19 15:03:51 | <merijn> | I built one once years ago that worked "well enough for my examples", but I'll be damned if I remember how :) |
| 2021-03-19 15:04:09 | <merijn> | dhruvasagar: You can try the haskell-cafe mailing list |
| 2021-03-19 15:04:29 | <merijn> | dhruvasagar: Obscure questions work better of asynchronous medium :) |
| 2021-03-19 15:04:31 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-19 15:04:41 | <dhruvasagar> | merijn: thanks, i'll give that a shot too |
| 2021-03-19 15:04:54 | <dhruvasagar> | merijn:i've been stuck trying to do this for a couple of weeks now |
| 2021-03-19 15:04:54 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-19 15:05:09 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-19 15:05:12 | × | hololeap quits (~hololeap@unaffiliated/hololeap) (Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/) |
| 2021-03-19 15:06:01 | <merijn> | IRC relies on the 3 people knowing an answer actually being online and paying attention when you ask. Mailing lists not so much :) |
| 2021-03-19 15:06:02 | → | fendor joins (~fendor@91.141.3.89.wireless.dyn.drei.com) |
| 2021-03-19 15:07:44 | → | juri_ joins (~juri@178.63.35.222) |
| 2021-03-19 15:07:48 | edwardk | wonders what he's doing awake at 8am |
| 2021-03-19 15:07:50 | <curiousgay> | merijn: btw, have you tried any widget library in Haskell? I want to rewrite my IRC client from Tcl/Tk because using untyped scripting language is a torture |
| 2021-03-19 15:08:45 | → | hololeap joins (~hololeap@unaffiliated/hololeap) |
| 2021-03-19 15:08:49 | <merijn> | edwardk: Why? I long ago concluded/realised you're secretly an android who doesn't sleep |
| 2021-03-19 15:08:51 | × | bitmagie quits (~Thunderbi@200116b8064af700cc4b64cf6315dd95.dip.versatel-1u1.de) (Quit: bitmagie) |
| 2021-03-19 15:09:01 | <edwardk> | i usually see this hour from the other side, yes. |
| 2021-03-19 15:09:50 | <edwardk> | anyways *beep* *boop* the distributive code is coming along nicely. I'm really rather fond of a trick i was able to use to get generics to derive most of the code in HKD with it |
| 2021-03-19 15:10:43 | <edwardk> | in particular if you have a data newtype F2 a b f = F2 (f a) (f b) -- GHC.Generics chokes |
| 2021-03-19 15:10:44 | <merijn> | edwardk: On a mission to exterminate the pre 8.6 code? ;) |
| 2021-03-19 15:10:51 | <edwardk> | er data |
| 2021-03-19 15:11:36 | → | stree joins (~stree@68.36.8.116) |
| 2021-03-19 15:11:43 | <edwardk> | but if you define newtype F1 a f = F1 { runF1 :: f a }; data F2 a b f = F2' (F1 a f) (F1 b f) ? -- then i can derive generic/generic1 and use a pattern synonym to get the old api |
| 2021-03-19 15:11:43 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-19 15:11:54 | <edwardk> | not a mission per se |
| 2021-03-19 15:12:05 | <edwardk> | just trying to get the codebase for distributive/hkd to be manageable |
| 2021-03-19 15:12:15 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-19 15:12:31 | <edwardk> | on the plus side dozens of modules from linear become 4-5 lines long each |
| 2021-03-19 15:12:45 | <edwardk> | er i guess closer to 'a dozen' |
| 2021-03-19 15:13:28 | <edwardk> | a lot of this stuff is present with slight variation in barbies/vinyl, except not unified with the funny argument order i use here |
| 2021-03-19 15:13:36 | × | curiousgay quits (~gay@178.217.208.8) (Remote host closed the connection) |
| 2021-03-19 15:13:57 | × | toorevitimirp quits (~tooreviti@117.182.183.55) (Remote host closed the connection) |
| 2021-03-19 15:14:04 | → | brandly joins (~brandly@c-73-68-15-46.hsd1.ma.comcast.net) |
All times are in UTC.