[racket-users] Re: Is there a webview for Racket?

2019-09-17 Thread Andre Garzia
Neil, 

Thanks a lot for the detailed response. I am new to Racket, FFI and 
everything else but I decided to take a shot at it today. I've managed to 
create a web-view% GUI class that can display web pages on macOS. It is 
wrapping around WKWebView which is the current way of doing things. I 
haven't programmed in Objective-C in 16 years, so I a bit over my head 
here. 

I've uploaded it to: 

  https://github.com/soapdog/racket-web-view 

I don't yet feel that it is ready for the package catalog. I need to fix 
many things and I'd really welcome help from people who know the current 
Objective-C way of doing things. WKWebView relies a lot in properties and I 
can't find a way to deal with them. For example the "delegate" in the code 
in the repo is not working, nor is the retrieval of the current URL (which 
in Objective-C should be as simple as "webView.URL") 

Anyway, it is a first step towards a real Web View for Racket GUI. It can 
already load pages and navigate, so it is not completely broken. This is my 
first FFI project and also my first Racket code after doing Beautiful 
Racket, it is all brand new to me. Sorry if I'm not idiomatic. 

I'd really like feedback, advise and help with this. All programming 
ecosystems benefit from having Web Views. I hope this becomes my first 
contribution to Racket. 

I also need to do Windows and Linux, but one lion at a time... 

Cheers 

andre 
PS: I tried posting this message a couple times but it was not getting 
through...

I was building a little RSS feed reader here when I noticed that I don't 
> know of any webview package to be used from Racket. My search on the 
> package catalog returned nothing.
>
> Is there a webview for Racket? How should I display HTML?
>
> I'd really appreciate any help, even if just pointing me into some 
> application source code that is doing that.
>
> thanks in advance
> Andre
>
> -- 
> http://www.andregarzia.com -- All We Do Is Code.
> http://fon.nu -- minimalist url shortening service.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/ac105769-ad2d-4c9f-a56b-3cba9870299e%40googlegroups.com.


Re: [racket-users] What is a (the?) way to track requirements for a web or app with Racket?

2019-09-17 Thread Darren Newton
I've found Greg Hendershott's Makefiles to be super helpful with this 
https://www.greghendershott.com/2017/04/racket-makefiles.html

I use that article as a base and then make mods, such as this 
https://github.com/DarrenN/cuttlefish/blob/master/Makefile

On Monday, September 16, 2019 at 6:04:43 AM UTC-4, Bogdan Popa wrote:
>
>
> Marc Kaufmann writes: 
>
> > So the easiest to do is to create such an info.rkt file and call `raco 
> pkg 
> > install app-name/` -- and that should work even if I don't do the `raco 
> > exe` and `raco distribute`? 
>
> Yes, that's right.  `raco exe' and `raco distribute' are not required. 
>
> I realize now that I should've mentioned a couple caveats to treating 
> apps as packages like this.  I often need to tell Racket to recompile my 
> package after I make certain changes because the interpreter doesn't try 
> to recompile stale dependent modules of changed modules on the fly (if 
> `a.rkt' depends on `b.rkt' and you change `b.rkt', without recompiling 
> `a.rkt', the interpreter won't do it for you).  This means you can run 
> into errors along the lines of "instantiate-linket: mismatch".  When 
> that happens, you can either remove all the compiled bytecode from your 
> project 
>
> $ find app-name-here/ -type d -name compiled -exec rm -rf \{\} \; 
>
> or tell Racket to recompile all the modules in your package's collection 
>
> $ raco setup --avoid-main --tidy --check-pkg-deps --unused-pkg-deps 
> app-name-here 
>
> I usually do the latter, because large projects can take a very long 
> time to compile/load from scratch.  That said, that also comes with its 
> own downside in the form of worse error reporting.  `errortrace' can no 
> longer peer into the source code since it's been compiled which leads to 
> some pretty terse error reports. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/93640acf-507c-4fda-919f-890d389c2829%40googlegroups.com.


[racket-users] Call for Contributions: BOB 2020 [Feb 28, Deadline Nov 8]

2019-09-17 Thread Michael Sperber


Racket proposals are extremely welcome at BOB!

 BOB Conference 2020
 "What happens when we use what's best for a change?"
  http://bobkonf.de/2020/cfc.html
 Berlin, February 28
Call for Contributions
 Deadline: November 8, 2019


You are actively engaged in advanced software engineering methods,
implement ambitious architectures and are open to cutting-edge
innovation? Attend this conference, meet people that share your goals,
and get to know the best software tools and technologies available
today. We strive to offer a day full of new experiences and
impressions that you can use to immediately improve your daily life as
a software developer.

If you share our vision and want to contribute, submit a proposal for
a talk or tutorial!

NOTE: The conference fee will be waived for presenters. Travel
expenses will not be covered (for exceptions see "Speaker Grants").
Speaker Grants

BOB has Speaker Grants available to support speakers from groups
under-represented in technology. We specifically seek women speakers
and speakers who are not be able to attend the conference for
financial reasons.

Shepherding
---

The program committee offers shepherding to all speakers. Shepherding
provides speakers assistance with preparing their sessions, as well as
a review of the talk slides.

Topics
--

We are looking for talks about best-of-breed software technology, e.g.:

- functional programming
- persistent data structures and database
- event-based modelling and architectures
- types
- formal methods for correctness and robustness
- abstractions for concurrency and parallelism
- metaprogramming
- probabilistic programming
- math and programming
- controlled side effects
- beyond REST and SOAP
- effective abstractions for data analytics
- ... everything really that isn’t mainstream, but you think should be.

Presenters should provide the audience with information that is
practically useful for software developers.

We're especially interested in experience reports.
Other topics are also relevant, e.g.:

- introductory talks on technical background
- overviews of a given field
- demos and how-tos

Requirements
-

We accept proposals for presentations of 45 minutes (40 minutes talk +
5 minutes questions), as well as 90 minute tutorials for
beginners. The language of presentation should be either English or
German.

Your proposal should include (in your presentation language of choice):

- An abstract of max. 1500 characters.
- A short bio/cv
- Contact information (including at least email address)
- A list of 3-5 concrete ideas of how your work can be applied in a developer's 
daily life
- additional material (websites, blogs, slides, videos of past presentations, …)

Submit here:

https://bobcfc.active-group.de/en/bob2020/cfp

Organisation


- Direct questions to contact at bobkonf dot de
- Proposal deadline: November 8, 2019
- Notification: November 22, 2019
- Program: December 6, 2019

Program Committee
-

(more information here: https://bobkonf.de/2020/programmkomitee.html)

- Matthias Fischmann, Wire
- Matthias Neubauer, SICK AG
- Nicole Rauch, Softwareentwicklung und Entwicklungscoaching
- Michael Sperber, Active Group
- Stefan Wehr, factis research

Scientific Advisory Board

- Annette Bieniusa, TU Kaiserslautern
- Torsten Grust, Uni Tübingen
- Peter Thiemann, Uni Freiburg


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/y9lpnjzmh3g.fsf%40valmont.home.active-group.de.


[racket-users] Racket discord server trial

2019-09-17 Thread Stephen De Gabrielle
Hi, I just realised I posted this without a subject line...my apologies.

On Wednesday, September 11, 2019 at 9:27:48 PM UTC+1, Stephen De Gabrielle 
wrote:
>
>
> Hi,
>  I’m trying out a discord server. It’s pretty similar interface to slack 
> and while it doesn’t do some things slack does...it does some things that 
> slack doesn’t.
>
> Please give it a try https://discord.gg/6Zq8sH5
>
> Kind regards
>
> Stephen
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/e49f0d91-a509-4cb0-8369-f567a6168aa6%40googlegroups.com.