Home liberachat/#haskell: Logs Calendar

Logs: liberachat/#haskell

←Prev  Next→ 1,804,034 events total
2021-08-09 18:12:20 <lechner> Hi, with many components linked statically into executables what does the cabal.project option for library-stripping do, please?
2021-08-09 18:12:20 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 268 seconds)
2021-08-09 18:12:25 <monochrom> Yes Pascal was the system programming language of Mac. Fancy that.
2021-08-09 18:12:27 shapr joins (~user@pool-100-36-247-68.washdc.fios.verizon.net)
2021-08-09 18:12:48 <davean> monochrom: whats so weird about that?
2021-08-09 18:12:56 <monochrom> So, probably Bill Gates borrowed from Classic MacOS for Windows, and kept the Pascalish conventions.
2021-08-09 18:13:06 <monochrom> Not weird to me.
2021-08-09 18:13:31 <monochrom> But I like to take every chance to weird out people who think that C is "system" and/or "performant"
2021-08-09 18:13:47 <geekosaur> lechner: there are the external symbols needed for linking but also things like local symbols that can be used for debugging
2021-08-09 18:13:50 <monochrom> (In the latter case I would cite Fortran.)
2021-08-09 18:13:51 <davean> ok, but C isn't overly performant?
2021-08-09 18:13:53 dyeplexer joins (~dyeplexer@user/dyeplexer)
2021-08-09 18:14:11 <monochrom> You don't deny that those delusional people exist, do you?
2021-08-09 18:14:12 <geekosaur> library stripping removes the latter, leaving only the ones needed to link against it
2021-08-09 18:14:16 <davean> and I'm not sure how either apply
2021-08-09 18:14:39 × fef quits (~thedawn@user/thedawn) (Ping timeout: 244 seconds)
2021-08-09 18:15:06 geekosaur still remembers MPW Pascal
2021-08-09 18:15:51 <geekosaur> and how MPW's shell behaved oddly not quite like a unix
2021-08-09 18:15:56 <lechner> it it okay if i also explicitly set debug-info: False for good measure? (it was not on before)
2021-08-09 18:15:59 <davean> monochrom: I mean, even if they did, Pascal is pretty much a C variant in a lot of ways, a very close relative
2021-08-09 18:17:56 × fizbin quits (~fizbin@c-73-33-197-160.hsd1.nj.comcast.net) (Quit: Leaving...)
2021-08-09 18:18:08 <davean> Using Pascal these days would be weird
2021-08-09 18:18:40 <maerwald[m]> look at hedgehog... it hask haskell code, pascal code and a few other languages :)
2021-08-09 18:18:55 dka joins (~code-is-a@ns3059207.ip-193-70-33.eu)
2021-08-09 18:19:06 <maerwald[m]> (the game)
2021-08-09 18:19:06 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 258 seconds)
2021-08-09 18:19:30 <maerwald[m]> eh, hedgewars
2021-08-09 18:19:41 <lechner> sorry about the controversy. maybe i should have picked BASIC over Pascal earlier
2021-08-09 18:19:53 <maerwald[m]> https://github.com/hedgewars/hw
2021-08-09 18:20:10 jess is now known as j
2021-08-09 18:20:23 <maerwald[m]> the server is haskell, the client is pascal or sth
2021-08-09 18:20:28 j is now known as jess
2021-08-09 18:20:29 <monochrom> Oh, BASIC, then we can talk about Applesoft BASIC. Still with Apple. >:)
2021-08-09 18:20:30 <davean> lechner: BIOSs use to run BASIC?
2021-08-09 18:20:35 <maerwald[m]> no idea what type of drugs you need to come up with that idea
2021-08-09 18:20:58 <maerwald[m]> but packaging that thing for a source distro was really fun lol
2021-08-09 18:22:09 <maerwald[m]> so maybe that's pascals new use case
2021-08-09 18:23:04 × markpythonicbitc quits (~markpytho@2601:647:5a00:35:e99d:7f37:f39a:bf6c) (Ping timeout: 256 seconds)
2021-08-09 18:23:21 pricly_yellow joins (~pricly_ye@2a01:620:c06f:6300::339)
2021-08-09 18:23:26 <geekosaur> hm, is delphi still around?
2021-08-09 18:24:20 × kuribas quits (~user@ptr-25vy0i7woj1hwcs7nsl.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3))
2021-08-09 18:24:24 <geekosaur> yep. database with built in object pascal language
2021-08-09 18:25:59 <lechner> davean: thanks for the advice (which i think you had also offered on another day). now i'm down to 26 MB
2021-08-09 18:26:09 <lechner> dminuoso: thanks for the advice (which i think you had also offered on another day). now i'm down to 26 MB
2021-08-09 18:26:16 <lechner> davean: sorry
2021-08-09 18:26:21 Guest60 joins (~Guest60@2a01cb0589202e0024fe769e33dfd141.ipv6.abo.wanadoo.fr)
2021-08-09 18:26:48 <davean> lechner: yah, I only optimize Haskell performance, not size :)
2021-08-09 18:26:51 <davean> lechner: wrong questions for me!
2021-08-09 18:27:05 <davean> if you want to make it faster, we can talk
2021-08-09 18:27:13 × myShoggoth quits (~myShoggot@97-120-70-214.ptld.qwest.net) (Ping timeout: 248 seconds)
2021-08-09 18:27:35 <lechner> davean: i saw your other message btw, and will get back to you when i have some ideas
2021-08-09 18:28:16 qbt joins (~edun@user/edun)
2021-08-09 18:28:58 <Guest60> Hello. Im trying to code a little line command program using the stack template "rio".
2021-08-09 18:29:18 <Guest60> How would you modify the source code to ask for an argument when user call the command line program ?
2021-08-09 18:29:19 <Guest60> https://github.com/commercialhaskell/stack-templates/blob/master/rio.hsfiles
2021-08-09 18:29:26 × ezra quits (~sergal@fsf/member/ezra) (Quit: bye bye)
2021-08-09 18:29:47 <Guest60> i red the documentation of many libraries but i cant find a syntax that satisfy the compiler
2021-08-09 18:30:24 <dminuoso> START_FILE
2021-08-09 18:30:27 <dminuoso> What is this? :o
2021-08-09 18:30:36 <Guest60> i think opt parse is involve
2021-08-09 18:30:57 <Guest60> this is the template used to generate files
2021-08-09 18:31:38 <monochrom> And why is it not StartFile? <duck>
2021-08-09 18:34:47 <tomsmeding> dminuoso: 'stack init' template, like 'cabal init' but different
2021-08-09 18:36:21 <Guest60> the code involve shold be this file : https://pastebin.com/RLhmbJTp
2021-08-09 18:36:27 myShoggoth joins (~myShoggot@97-120-70-214.ptld.qwest.net)
2021-08-09 18:36:32 <Guest60> involved should*
2021-08-09 18:37:46 markpythonicbitc joins (~markpytho@2601:647:5a00:35:112f:f355:ed76:9e65)
2021-08-09 18:38:51 × dyeplexer quits (~dyeplexer@user/dyeplexer) (Remote host closed the connection)
2021-08-09 18:40:12 jackhill_ is now known as jackhill
2021-08-09 18:40:29 × ec quits (~ec@gateway/tor-sasl/ec) (Ping timeout: 244 seconds)
2021-08-09 18:41:29 <Guest60> more precisely i guess it should be around line 18
2021-08-09 18:41:37 × MorrowM quits (~Morrow@176.12.187.199) (Ping timeout: 248 seconds)
2021-08-09 18:41:54 MQ-17J joins (~MQ-17J@d14-69-206-129.try.wideopenwest.com)
2021-08-09 18:42:33 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-08-09 18:45:14 × waleee quits (~waleee@2001:9b0:216:8200:d457:9189:7843:1dbd) (Ping timeout: 268 seconds)
2021-08-09 18:45:57 lavaman joins (~lavaman@98.38.249.169)
2021-08-09 18:46:38 <tomsmeding> Guest60: what kind of argument do you want the program to take?
2021-08-09 18:47:09 waleee joins (~waleee@h-98-128-228-119.NA.cust.bahnhof.se)
2021-08-09 18:47:32 × wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 272 seconds)
2021-08-09 18:48:16 <Guest60> @tomsmeding i expect user to pass one letter
2021-08-09 18:48:16 <lambdabot> Unknown command, try @list
2021-08-09 18:48:41 <Guest60> tomsmeding: so a string or a char i guess
2021-08-09 18:49:05 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 248 seconds)
2021-08-09 18:50:06 <tomsmeding> Guest60: that Options constructor is from the Options datatype in src/Types.hs
2021-08-09 18:50:30 <tomsmeding> I recommend reading the optparse-applicative tutorial at https://github.com/pcapriotti/optparse-applicative
2021-08-09 18:50:52 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-08-09 18:51:02 <tomsmeding> of that, you can skip the whole execParser, <**>, helper etc things, and just read the Parser parts
2021-08-09 18:51:26 ec joins (~ec@gateway/tor-sasl/ec)
2021-08-09 18:51:45 <tomsmeding> because that fourth argument to simpleOptions is a Parser ( https://hackage.haskell.org/package/optparse-simple-0.1.1.4/docs/Options-Applicative-Simple.html#v:simpleOptions )
2021-08-09 18:54:18 × degraafk quits (sid71464@id-71464.tooting.irccloud.com) (Ping timeout: 240 seconds)
2021-08-09 18:55:11 degraafk joins (sid71464@id-71464.tooting.irccloud.com)
2021-08-09 18:55:54 × aria quits (sid380617@id-380617.tooting.irccloud.com) (Ping timeout: 240 seconds)
2021-08-09 18:56:01 × haritz quits (~hrtz@user/haritz) (Quit: ZNC 1.7.2+deb3 - https://znc.in)
2021-08-09 18:56:17 haritz joins (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220)
2021-08-09 18:56:17 × haritz quits (~hrtz@2a02:8010:65b5:0:6009:6384:e3cb:2220) (Changing host)
2021-08-09 18:56:17 haritz joins (~hrtz@user/haritz)
2021-08-09 18:56:23 Erutuon joins (~Erutuon@user/erutuon)
2021-08-09 18:58:43 aria joins (sid380617@id-380617.tooting.irccloud.com)
2021-08-09 18:59:01 Cajun joins (~Cajun@user/cajun)
2021-08-09 19:00:03 <Guest60> tomsmeding: ill check at this, thanks !

All times are in UTC.