Logs: freenode/#haskell
| 2021-04-07 06:55:09 | → | Kaiepi joins (~Kaiepi@47.54.252.148) |
| 2021-04-07 07:00:07 | <solvr> | . |
| 2021-04-07 07:00:11 | × | ajc quits (~ajc@69.231.232.79) (Ping timeout: 240 seconds) |
| 2021-04-07 07:03:37 | → | michalz joins (~user@185.246.204.39) |
| 2021-04-07 07:05:20 | × | hypercube quits (hypercube@gateway/vpn/protonvpn/hypercube) (Ping timeout: 265 seconds) |
| 2021-04-07 07:05:46 | → | dpl joins (~dpl@77-121-78-163.chn.volia.net) |
| 2021-04-07 07:07:10 | → | hypercube joins (hypercube@gateway/vpn/protonvpn/hypercube) |
| 2021-04-07 07:07:22 | → | coot joins (~coot@37.30.55.131.nat.umts.dynamic.t-mobile.pl) |
| 2021-04-07 07:07:46 | × | kiltzman quits (~k1ltzman@195.189.99.96) (Ping timeout: 240 seconds) |
| 2021-04-07 07:07:46 | × | RoguePointer quits (~jigen@unaffiliated/roguepointer) (Ping timeout: 240 seconds) |
| 2021-04-07 07:08:03 | → | kiltzman joins (~k1ltzman@195.189.99.96) |
| 2021-04-07 07:08:43 | × | dsrt^ quits (dsrt@ip98-184-89-2.mc.at.cox.net) () |
| 2021-04-07 07:08:45 | → | RoguePointer joins (~jigen@94.177.235.178) |
| 2021-04-07 07:08:45 | × | RoguePointer quits (~jigen@94.177.235.178) (Changing host) |
| 2021-04-07 07:08:45 | → | RoguePointer joins (~jigen@unaffiliated/roguepointer) |
| 2021-04-07 07:09:31 | → | Sorny joins (~Sornaensi@077213203030.dynamic.telenor.dk) |
| 2021-04-07 07:11:17 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-07 07:11:17 | → | Aquazi joins (uid312403@gateway/web/irccloud.com/x-gutayqhfktjbgela) |
| 2021-04-07 07:11:22 | → | LKoen joins (~LKoen@65.250.88.92.rev.sfr.net) |
| 2021-04-07 07:11:55 | → | MichaelFreeman joins (2d136c0c@45-19-108-12.lightspeed.tukrga.sbcglobal.net) |
| 2021-04-07 07:12:51 | <MichaelFreeman> | Hi. I tried to save a file in VS Code as Haskell, and it became .hsig file. How do I make it save as .hs file? |
| 2021-04-07 07:13:24 | <Axman6> | Save As and rename it, or in the file list (cmd-B) right click on it and rename it |
| 2021-04-07 07:14:05 | <Uniaika> | yeah it's a Backpack stuff |
| 2021-04-07 07:14:50 | <MichaelFreeman> | So it is normal it saves as hsig and I should just manually rename it to hs? |
| 2021-04-07 07:15:09 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2021-04-07 07:15:22 | × | frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 260 seconds) |
| 2021-04-07 07:15:29 | <Axman6> | I wouldn't say normal, I would say annoying - was the language set to Haskell? |
| 2021-04-07 07:15:46 | × | gnumonic quits (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) (Ping timeout: 240 seconds) |
| 2021-04-07 07:15:49 | <MichaelFreeman> | Yes, when I save I chose "Haskell". It's np, I was just wondering if I set things up wrong |
| 2021-04-07 07:16:06 | × | royal_screwup21 quits (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) (Ping timeout: 240 seconds) |
| 2021-04-07 07:17:10 | <Uniaika> | well that's weird, because .hsig files serve a very specific purpose |
| 2021-04-07 07:17:15 | <Uniaika> | they're not "normal code" |
| 2021-04-07 07:17:35 | → | vs^ joins (vs@ip98-184-89-2.mc.at.cox.net) |
| 2021-04-07 07:18:03 | → | Sornaensis joins (~Sornaensi@79.142.232.102) |
| 2021-04-07 07:18:04 | → | Varis joins (~Tadas@unaffiliated/varis) |
| 2021-04-07 07:18:15 | <MichaelFreeman> | I see. Maybe I messed up on my installation then. I go to File>Save As>Save as type: Haskell. Then result is .hsig file. I see the option for Literate Haskell and that gets me .lhs file. None of the options I found result in .hs file |
| 2021-04-07 07:18:23 | → | thc202 joins (~thc202@unaffiliated/thc202) |
| 2021-04-07 07:19:01 | <Axman6> | nah that just seems to be what VS code does, must be a problem with the Haskell extension |
| 2021-04-07 07:19:37 | <MichaelFreeman> | Ah okay ty for the explanation:) it was driving me nuts so I had to join IRC lol |
| 2021-04-07 07:20:55 | × | Sorny quits (~Sornaensi@077213203030.dynamic.telenor.dk) (Ping timeout: 260 seconds) |
| 2021-04-07 07:21:23 | → | ddellacosta joins (~ddellacos@86.106.143.57) |
| 2021-04-07 07:21:35 | <Uniaika> | MichaelFreeman: open a ticker at the extension's issue tracker :) |
| 2021-04-07 07:21:39 | <Uniaika> | it's not you |
| 2021-04-07 07:24:45 | → | gnumonic joins (~gnumonic@c-73-170-91-210.hsd1.ca.comcast.net) |
| 2021-04-07 07:26:42 | × | ddellacosta quits (~ddellacos@86.106.143.57) (Ping timeout: 268 seconds) |
| 2021-04-07 07:27:31 | → | mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan) |
| 2021-04-07 07:27:38 | × | mikoto-chan quits (~anass@gateway/tor-sasl/mikoto-chan) (Client Quit) |
| 2021-04-07 07:27:50 | → | mikoto-chan joins (~anass@gateway/tor-sasl/mikoto-chan) |
| 2021-04-07 07:28:08 | → | royal_screwup21 joins (52254809@gateway/web/cgi-irc/kiwiirc.com/ip.82.37.72.9) |
| 2021-04-07 07:29:38 | → | raym joins (~ray@45.64.220.78) |
| 2021-04-07 07:29:42 | × | aVikingTrex quits (789a2138@120.154.33.56) (Ping timeout: 240 seconds) |
| 2021-04-07 07:31:30 | × | Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer) |
| 2021-04-07 07:32:06 | → | Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net) |
| 2021-04-07 07:32:43 | × | Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer) |
| 2021-04-07 07:32:47 | → | typetetris joins (uid275937@gateway/web/irccloud.com/x-remmslgdlkipcjiq) |
| 2021-04-07 07:32:56 | → | kiweun joins (~kiweun@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) |
| 2021-04-07 07:34:10 | × | kmein quits (~weechat@static.173.83.99.88.clients.your-server.de) (Quit: ciao kakao) |
| 2021-04-07 07:34:28 | → | kmein joins (~weechat@static.173.83.99.88.clients.your-server.de) |
| 2021-04-07 07:34:34 | → | Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net) |
| 2021-04-07 07:35:02 | motersen_ | is now known as motersen |
| 2021-04-07 07:37:19 | × | Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer) |
| 2021-04-07 07:37:43 | × | kiweun quits (~kiweun@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) (Ping timeout: 260 seconds) |
| 2021-04-07 07:37:52 | × | molehillish quits (~molehilli@2600:8800:8d06:1800:6d47:e2d7:e78c:8f4) (Remote host closed the connection) |
| 2021-04-07 07:38:06 | → | Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net) |
| 2021-04-07 07:39:24 | → | srk joins (~sorki@unaffiliated/srk) |
| 2021-04-07 07:40:54 | → | cfricke joins (~cfricke@unaffiliated/cfricke) |
| 2021-04-07 07:41:21 | <solvr> | In Haskell can I model a change to a big array by putting a small array of "changes" in front of it, which shadows entries in the big array |
| 2021-04-07 07:41:28 | × | Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer) |
| 2021-04-07 07:42:47 | <Uniaika> | solvr: if your "array" allows for duplicates, it's not a good idea :P |
| 2021-04-07 07:42:48 | → | Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net) |
| 2021-04-07 07:43:38 | <solvr> | Uniaika, let's say I have a list of 1 million items. |
| 2021-04-07 07:43:48 | <solvr> | Uniaika, I also have a map where I map index > value |
| 2021-04-07 07:44:10 | <solvr> | Uniaika when I need to read a value I first check the map. If it's there I read from there, if not, I go back to the array |
| 2021-04-07 07:44:13 | <solvr> | the list |
| 2021-04-07 07:44:19 | → | haskellstudent joins (~quassel@213-225-9-45.nat.highway.a1.net) |
| 2021-04-07 07:44:32 | <solvr> | Uniaika, this allows me to keep changes cheap without redoing the whole list |
| 2021-04-07 07:44:52 | <Uniaika> | are you describing a cache? |
| 2021-04-07 07:45:23 | <solvr> | Uniaika it has similar topology as a cache, but accessing the main array is not slower. Rather, it just has "old" state |
| 2021-04-07 07:45:26 | <solvr> | That's not valid |
| 2021-04-07 07:45:38 | <solvr> | The updates are encoded in the map |
| 2021-04-07 07:46:05 | <Uniaika> | btw, you're using "array" and "list" interchangeably, but I assume you realise the differences between those two data-structures ? |
| 2021-04-07 07:46:12 | <solvr> | Sorry, habit |
| 2021-04-07 07:46:36 | <Uniaika> | no need to be sorry, I just wanted more precisions :P |
| 2021-04-07 07:46:50 | <Uniaika> | 1 million items in an array can be expensive ;) |
| 2021-04-07 07:47:00 | <solvr> | :) |
| 2021-04-07 07:48:11 | → | MrRedstoner joins (c29af484@194.154.244.132) |
| 2021-04-07 07:49:10 | <MichaelFreeman> | Uniaika Sorry I am a complete noob. Where do I type do this in VS Code? Execute in the root of your project the command `haskell-language-server --debug .` |
| 2021-04-07 07:49:42 | × | yoneda quits (~mike@193.206.102.122) (Quit: leaving) |
| 2021-04-07 07:49:45 | <Uniaika> | solvr: do you wish to keep an initial state and only encode / store changes then? or just periodically update the array and keep the map as a fresher source of data? |
| 2021-04-07 07:50:05 | <Uniaika> | MichaelFreeman: https://github.com/haskell/vscode-haskell/issues |
| 2021-04-07 07:50:29 | <solvr> | Uniaika, essentially I'm trying to avoid modify/rebuild the array frequently. |
| 2021-04-07 07:51:02 | <MrRedstoner> | So I just installed haskell per https://www.haskell.org/platform/windows.html and running "cabal v2-repl" in a fresh cmd.exe I get "cabal.exe: The program 'ghc' version >=7.0.1 is required but it could not be found." Thing is, in C:\ProgramData\chocolatey\bin\ where the cabal executable is there are also ghc-9.0.1.exe and ghci-9.0.1.exe and the |
| 2021-04-07 07:51:03 | → | neiluj joins (~jco@91-167-203-101.subs.proxad.net) |
| 2021-04-07 07:51:03 | <MrRedstoner> | directory is in PATH. So I have no idea why it doesn't work for me |
| 2021-04-07 07:51:06 | <solvr> | Uniaika, also probably keep it around for other parallel code reading its state as-is without the new "transactional" changes |
| 2021-04-07 07:51:31 | <MichaelFreeman> | Ty I was in the wrong place ^^ |
| 2021-04-07 07:55:54 | <Uniaika> | solvr: ever thought of doing some hash consing and having a pointer table? |
| 2021-04-07 07:56:00 | → | kritzefitz joins (~kritzefit@p548c9398.dip0.t-ipconnect.de) |
| 2021-04-07 07:56:14 | → | ddellacosta joins (~ddellacos@86.106.143.148) |
| 2021-04-07 07:58:41 | × | Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer) |
All times are in UTC.