Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 24 23:51

    darkfrog26 on master

    Updated Undertow and minor bug … (compare)

  • Aug 21 21:49

    darkfrog26 on 0.11.24

    (compare)

  • Aug 21 21:49

    darkfrog26 on master

    Release 0.11.24 (compare)

  • Aug 21 21:42

    darkfrog26 on master

    Added URL support for file:/// … (compare)

  • Aug 21 13:55

    darkfrog26 on master

    Minor clarity improvements to a… (compare)

  • Aug 20 02:12

    darkfrog26 on master

    Updated communication URL suppo… (compare)

  • Aug 20 01:48

    darkfrog26 on master

    Updated default ContentScreen s… (compare)

  • Aug 20 00:09

    darkfrog26 on master

    Added support for PreloadedCont… (compare)

  • Aug 19 20:00

    darkfrog26 on master

    Added support to screen loading… (compare)

  • Aug 19 19:31

    darkfrog26 on master

    Improvements to support for rem… (compare)

  • Aug 18 00:29

    darkfrog26 on master

    Added support to reconnect to s… (compare)

  • Aug 16 21:48

    darkfrog26 on 0.11.23

    (compare)

  • Aug 16 21:48

    darkfrog26 on master

    Release 0.11.23 (compare)

  • Aug 16 20:50

    darkfrog26 on master

    Added stopImmediatePropagation (compare)

  • Aug 16 20:43

    darkfrog26 on master

    Better HTML event support and c… (compare)

  • Aug 14 00:22

    darkfrog26 on gui

    Release 0.11.21 Fixed bug in Updates.every not … Updated ClientApplication.logWr… and 5 more (compare)

  • Aug 14 00:15

    darkfrog26 on gui

    Minimal skeleton (compare)

  • Aug 12 22:20

    darkfrog26 on 0.11.22

    (compare)

  • Aug 12 22:20

    darkfrog26 on master

    Release 0.11.22 (compare)

  • Aug 12 20:44

    darkfrog26 on master

    Minor update to HTMLComponent f… (compare)

Matt Hicks
@darkfrog26
so you get DSL cleanliness without a bunch of extra grammar
Jose C
@jmcardon
sounds ok as long as there's no strange interaction there re: implicit conversions
Matt Hicks
@darkfrog26
just realized, I didn't need the filters wrapper since it's just one item
my compile-time interpolators for IP, URL, and Path make this a lot cleaner too
Jose C
@jmcardon
we want an URI interpolator in http4s atm too
want to hijack that idea from sttp
Matt Hicks
@darkfrog26
last time I checked my URL class was much more complete than http4s
Jose C
@jmcardon
possibly. Our uri class isn't the strongest part of the api
the strongest part is the fact it enables FP code
another feature of youi though is that all of those standard types are cross-compiled to Scala.js as well as that you can take advantage of them in the browser
Jose C
@jmcardon
what does that expression do?
Jose C
@jmcardon
does it run the server immediately?
if it side effects it's not exactly pure
which is a lot of what http4s emphasizes on
Matt Hicks
@darkfrog26
no, it doesn't start a server, it just creates the configuration for handling
Jose C
@jmcardon
like do your services mount using Task, IO or just Future
?
Matt Hicks
@darkfrog26
Future
Jose C
@jmcardon
can be in a functional style but future breaks referential transparency
Matt Hicks
@darkfrog26
you'll find I'm much more about practicality than functional purity. :-p
Jose C
@jmcardon
well that's what I mean that is the fundamental difference
Matt Hicks
@darkfrog26
if I can do it cleanly functionally then I'll prefer that route, but very often FP is more of a burden than OO (insert gasp here)
Jose C
@jmcardon
that's a rather large realm of opinion
it's cumbersome if you never do it
and often fighting the type system is nicer than fighting side effect-related bugs
Matt Hicks
@darkfrog26
@jmcardon I prefer clean and concise code that makes sense. Sometimes that's not FP though when possible I prefer that. However, sometimes it's because I simply don't know how to accomplish a clean and concise solution in FP, so I'm always open to correction.
Jose C
@jmcardon
It's a matter of changing your style though. What you may find clean and concise others may not.
(not saying you should,. just that what you might find f'ed up in FP others may see it making sense)
Matt Hicks
@darkfrog26
definitely, which is something a lot of people take issue with when migrating to Scala from another language like Java
I try to examine my reasoning and give things a fair shake, but I am also much more concerned with readable code than most people.
Which is why all of my open-source projects are so pretty. ;)
Jose C
@jmcardon
I think "readable" depends what you're used to
like cats used to look like black magic before
or doobie
Matt Hicks
@darkfrog26
Though this is mostly true, there's something to be said for readability without special knowledge. Lift eventually becomes "readable", but to any outsider it looks like gibberish. There's a trade-off that comes with "black magic" and very often I think Scala devs don't take that into consideration or just don't care. If the trade-off is worthwhile then I'm willing to make it, but very often the trade-off happens for no valid reason for some obscure "better practice" that is easily arguable. Further, immutable code very often suffers from serious performance impact.
Having written Scribe, which is more than three times faster than log4j, written 3d engines, and a strong focus on big data, performance is important to me.
@jmcardon I do hope you'll challenge the ideas put forth in youi, but I hope you're ready to defend the reasoning better than, "this is FP best practice" :-p
René Vangsgaard
@rvangsgaard
Hi, what is the best version to use right now? Thinking of building a prototype with youi.
Matt Hicks
@darkfrog26
@rvangsgaard what kind of application? If you want to use the UI elements (a high-level DOM) then 0.9.0 is somewhat gutted
0.8.0 is your best bet
if you don't need any of that then 0.9.0-M8 is your best bet
@rvangsgaard I read your email, but it's still a bit unclear. You have an existing HTML template you're working with?
Matt Hicks
@darkfrog26
@rvangsgaard FYI, I'm currently publishing 0.9.0-M9
most of the changes have to do with the HttpClient though
Michael Ahlers
@michaelahlers
:+1:
Matt Hicks
@darkfrog26
@/all I'm trying to get 0.9.0 released by the end of June and I'd be very interested in getting some feedback from you all about how you currently work with web applications (particularly frontend) and any thoughts on how youi might make life easier for you.
Lorenzo Gabriele
@lolgab
@darkfrog26 don't know if I have time but I try to test and give my two cents 😊
Matt Hicks
@darkfrog26
@lolgab at the moment I'm just looking for some general feedback regarding ideals of a web app library