Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lihaoyi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
301.
▲
Cask: A Scala HTTP micro-framework
(lihaoyi.com)
1 points
by
lihaoyi
6y ago
|
0 comments
302.
▲
Cask: A Scala HTTP micro-framework
(github.com)
1 points
by
lihaoyi
6y ago
|
0 comments
303.
▲
Mill: A Build Tool Based on Pure Functional Programming
(youtube.com)
1 points
by
lihaoyi
6y ago
|
0 comments
304.
▲
by
lihaoyi
6y ago
I have a special place in my heart for F#. While I do a lot of Scala these days, professionally and open source, F# was my first introduction to functional programming that eventually got me into Scala. F# and Scala are extremely similar la
305.
▲
Mill: A Build Tool Based on Pure Functional Programming
(youtube.com)
1 points
by
lihaoyi
6y ago
|
0 comments
306.
▲
Mill: A Build Tool Based on Pure Functional Programming
(youtube.com)
3 points
by
lihaoyi
6y ago
|
0 comments
307.
▲
by
lihaoyi
6y ago
Being SVG also means you can style them via CSS, allowing simple interactivity. For example, you can make graph edges change color or become thicker when you mouse over them, making it easier to follow edges in a large messy graph
308.
▲
by
lihaoyi
6y ago
I use Graphviz throughout my book https://www.handsonscala.com to render diagrams. I honestly think it looks pretty good: - Dependency graph between chapters in the book: https://www.handsonscala.com/chapter-1-ha
309.
▲
by
lihaoyi
6y ago
Futures and Actors are complementary tools, and neither is really a substitute for the other. `Chapter 16: Message-based Parallelism with Actors` has a good discussion of when you would use each one, and some of the exercises involve using
310.
▲
by
lihaoyi
6y ago
The book is basically done for now. I will likely update it for Scala 3, but that's still a moving target, so I'll wait for the dust to settle before considering it. I don't expect the code to need to change too much to suppo
311.
▲
by
lihaoyi
6y ago
It will, but the Scala3 launch date is still up in the air so I can’t give any concrete promises as to when
312.
▲
by
lihaoyi
6y ago
I think Scala adoption is doing great. A lot of the initial hype around things like Akka and Pure Functional Programming has died down since the frothy excitement of 2015-2016, but honestly I think a lot of that hype was oversold and many o
313.
▲
by
lihaoyi
6y ago
Trying to make Scala better for "simple" projects is definitely a focus of this book. You are right that traditionally the fixed overhead of learning Scala made it only worth it for huge and complex projects, but this book introdu
314.
▲
by
lihaoyi
6y ago
I'm planning on open sourcing the build pipeline soon, but it's basically a Mill ( http://lihaoyi.com/mill ) build pipeline which uses Scalatags + CommonMark-Java + Puppeteer + ApachePDFBox + EPubLib + kindlegen to
315.
▲
by
lihaoyi
6y ago
I wouldn't call pure functional Scala a dead-end, but it's definitely a niche that not everyone will be comfortable with. For those that enjoy it it works great, but this book is intended to promote a style of programming that is
316.
▲
by
lihaoyi
6y ago
If you're interested in Actors, the book has a chapter `Chapter 16: Message-based Parallelism with Actors` that does an introduction to them, and they are used "in anger" in `Chapter 18: Building a Real-time File Synchronizer
317.
▲
by
lihaoyi
6y ago
The book's web page makes this pitch: Python-like convenience with Go-like performance, easy safety and correctness via compiler checks, and a huge ecosystem of tools and libraries. Compilation time is definitely a tradeoff, but if any
318.
▲
by
lihaoyi
6y ago
Glad you like the typesetting! I’m a professional web developer, among other things, and the typesetting is just HTML + Bootstrap CSS 4.4.1, rendered into PDFs using Puppeteer. Turned out looking much better than I had hoped!
319.
▲
by
lihaoyi
6y ago
This was posted once before when it was work in progress, I thought it would be nice to put it up again now that it is complete :) In one 400 page book, Hands-on Scala takes you from from FizzBuzz, to Sudoku solving, to Websites and API ser
320.
▲
Hands-On Scala Programming
(handsonscala.com)
284 points
by
lihaoyi
6y ago
|
101 comments
321.
▲
New Book: Hands-On Scala Programming
(handsonscala.com)
1 points
by
lihaoyi
6y ago
|
0 comments
322.
▲
by
lihaoyi
6y ago
On the topic of toy JVMs, my Metascala project is a JVM implemented in ~4000 lines of Scala that is complete enough to interpret itself! - https://github.com/lihaoyi/Metascala Interpreting code in Metascala is about 10
323.
▲
Hands-On Scala Programming
(handsonscala.com)
1 points
by
lihaoyi
6y ago
|
0 comments
324.
▲
Hands-On Scala Programming
(handsonscala.com)
1 points
by
lihaoyi
6y ago
|
0 comments
325.
▲
Hands-On Scala Programming
(handsonscala.com)
2 points
by
lihaoyi
6y ago
|
0 comments
326.
▲
Show HN: Hands-On Scala Programming Book
(handsonscala.com)
1 points
by
lihaoyi
6y ago
|
1 comments
327.
▲
by
lihaoyi
6y ago
Hands-on Scala is a book is designed to quickly teach an existing programmer everything they need to build all sorts of production applications, taking you from "hello world" to building interactive websites, parallel web crawlers
328.
▲
Show HN: Hands-On Scala Programming Book
(handsonscala.com)
8 points
by
lihaoyi
6y ago
|
2 comments
329.
▲
FastParse: Fast, Modern Parser Combinators
(vimeo.com)
1 points
by
lihaoyi
6y ago
|
0 comments
330.
▲
by
lihaoyi
6y ago
Pretty sure we MacroPy predates Hy by about a year
More ›