Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 03:16

    darkfrog26 on dom

    Added MDCProgressBar (compare)

  • 02:41

    darkfrog26 on dom

    Updated MaxSizeFeature to trigg… (compare)

  • Apr 02 23:23

    darkfrog26 on dom

    Continued GUI improvements (compare)

  • Apr 01 00:12

    darkfrog26 on dom

    Added DrawableView (compare)

  • Mar 31 23:49

    darkfrog26 on dom

    Changes to feature functionalit… (compare)

  • Mar 31 23:09

    darkfrog26 on dom

    Continued GUI improvements (compare)

  • Mar 30 02:43

    darkfrog26 on dom

    Minor GUI fixes and updates (compare)

  • Mar 30 00:07

    darkfrog26 on dom

    Added type to InternalContainer… (compare)

  • Mar 30 00:06

    darkfrog26 on dom

    Additional support traits for c… (compare)

  • Mar 30 00:03

    darkfrog26 on dom

    Updated ContainerFeature to sup… (compare)

  • Mar 30 00:01

    darkfrog26 on dom

    Extracted applicable support tr… (compare)

  • Mar 29 23:49

    darkfrog26 on dom

    Updated Component.measure to be… (compare)

  • Mar 29 22:22

    darkfrog26 on dom

    Better warning support in Templ… (compare)

  • Mar 28 03:20

    darkfrog26 on dom

    Continued work on GUI (compare)

  • Mar 28 00:21

    darkfrog26 on dom

    Fix coursier cache, update Coda… Merge pull request #90 from lol… Merge branch 'master' of github… and 2 more (compare)

  • Mar 27 22:14

    darkfrog26 on dom

    Continued work on GUI (compare)

  • Mar 27 00:52

    darkfrog26 on dom

    Continued work on GUI (compare)

  • Mar 26 23:04

    darkfrog26 on dom

    Continued work on GUI (compare)

  • Mar 26 22:39

    darkfrog26 on dom

    Continued work on GUI (compare)

  • Mar 25 13:47
    darkfrog26 commented #90
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
Matt Hicks
@darkfrog26
hey, for a library that I haven't focused on optimizing performance, we're doing pretty well on TechEmpower: https://www.techempower.com/benchmarks/#section=data-r18&hw=ph&test=json&l=zijunz-f
Lorenzo Gabriele
@lolgab
That's the power of simplicity 😎🤘