jesse
2019-5-2 08:18:04

@buoyantair are you looking to use Racket for web devel (I’m taking a guess here about what line of work you’re in) or are you thinking about doing other kinds of things (systems programming, games, etc.)?


pocmatos
2019-5-2 08:53:32

@soegaard2 thanks for submitting RN to hacker news. Currently in number 2! :tada:


soegaard2
2019-5-2 08:54:00

No problem - I saw you forgot it.


soegaard2
2019-5-2 08:54:28

It’s great to have something about Racket on Hacker News often.


d_run
2019-5-2 11:43:34

Also a JS dev at work. I use Racket for scripting tasks folks would normally do in JS or Python (ETL, pulling data from APIs to my laptop, etc) and also build small services for my own use such as automatically exporting records from Pinboard to Pocket, etc.


d_run
2019-5-2 11:44:55

I’ve been meaning to play more with https://github.com/vishesh/racketscript but the project seems kind of dormant


d_run
2019-5-2 11:46:59

d_run
2019-5-2 11:48:29

d_run
2019-5-2 11:48:48

^ written in Racket as well


alexknauth
2019-5-2 13:07:33

Why not make the docs part of the main foo package? Some packages do do that. That’s what binaryio, gmp, scribble-code-examples, sweet-exp, and zeromq-r do.


samth
2019-5-2 13:07:39

@pocmatos the comments about racket news are very nice, and show what a great service it is to the community


pocmatos
2019-5-2 13:39:07

@samth it’s very exciting to see that people like it. I am having lots of fun doing it. Have lots of ideas but so much time for RN. There are other Rackety ideas that I want to nurture and I just started a contract on a very different area in compilers so things are busy at the moment. Going from working on compilers for C like languages and Javascript is a world of difference. Feel like a beginner once again. :smile:


pocmatos
2019-5-2 13:40:22

I can also reveal I received a request to post a listing to a 100% Racket remote job. Coming up in Issue 8.


samth
2019-5-2 13:42:40

ooh


buoyantair
2019-5-2 17:20:40

I’m open towards doing other stuff unrelated to web dev as I’ve worked too much on web dev already!


buoyantair
2019-5-2 17:21:56

Thanks! I will check them out :3


buoyantair
2019-5-2 17:34:50

I really like the concept of Riposte but I don’t find a lot of documentation for checking etc


d_run
2019-5-2 19:50:18

@alama can help you out most likely


matias
2019-5-2 22:29:37

What kind of operations will be future safe? That’s something that I’ve had difficulty determining even in the current implementation of racket.


greg
2019-5-3 02:56:07

@ryanc @mbutterick @alexknauth and tests also go in the main package, it looks like? So main pkg = tests + docs + a dep just one other "-lib" pkg.


greg
2019-5-3 02:57:00

I think I’ve seen sometimes 4 separate pkgs — lib, doc, tests, main/meta — and I’m like, meh, that’s more ceremony and busywork than I want to spend time on in my remaining years :slightly_smiling_face: and shouldn’t submodules somehow do this for me? This seems more reasonable.


greg
2019-5-3 02:57:17

Although I guess it means you can’t use test or doc submodules. :disappointed:


lexi.lambda
2019-5-3 04:02:05

@mflatt What is the expected C representation for the _string/utf-16 type? My first inclination is to assume that they are expected to be nul-terminated, just like for _bytes… but then again, I’d also expect _string/ucs-4 wouldn’t (necessarily) be nul-terminated, since the documentation says it corresponds to the native Racket string type, which can contain nuls.


lexi.lambda
2019-5-3 04:04:45

(It would make sense to me if _string/ucs-4 is a special, different thing designed to correspond directly with Racket’s internal string representation, and the other types like _bytes, _string/utf-8, _path, _symbol, etc. either explicitly mention nul-handling or claim to be “plain char* strings”. But _string/utf-16 says neither, and it seems to have its own representation for the purposes of ctype->layout, so I am unsure.)


lexi.lambda
2019-5-3 04:08:33

I did find scheme_utf16_to_ucs4 in the C API docs, which I assume is related, but that function requires an explicit length be specified, so it doesn’t really help with my confusion.


sorawee
2019-5-3 05:12:15

> Although I guess it means you can’t use test or doc submodules.

Relatedly, how can I raco test the submodule test of a submodule in a file?


dan153
2019-5-3 05:52:42

@dan153 has joined the channel