Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kjaer
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
kjaer
2y ago
This made me smile :) if (looping.mode === "off") { // If you waited for a day, you deserve to see this workaround... // Since there is no way to not loop a gif using gifwrap, // let&#
2.
▲
by
kjaer
5y ago
Though they share the word "algebraic", algebraic data types != algebraic effects. And while Java has good support for concurrency primitives and concurrent data structures, it does suffer from the problem highlighted in the artic
3.
▲
by
kjaer
5y ago
Yes! See the redesigned implicits [1] and macros [2]. [1]: https://dotty.epfl.ch/docs/reference/contextual/motivation.h... [2]: https://dotty.epfl.ch/docs/reference/dropped-features&
4.
▲
by
kjaer
5y ago
Scala Native and GraalVM Native Image are projects with different goals, so I wouldn't say that one makes the other unnecessary. Both projects aim to compile to native code, and have use-cases for projects where the JVM startup time is
5.
▲
by
kjaer
5y ago
Graal Native takes JVM bytecode as input, and Scala 3 is binary compatible with Scala 2, so it should be compatible with Graal Native out of the box.
6.
▲
by
kjaer
5y ago
Luckily, these commits came in before the bump to 3.0.0! The second one, at least, seems to have been in preparation for the stable release.
7.
▲
by
kjaer
5y ago
This is correct, though the inline feature does also unlock some optimizations. For instance, see this example from the docs where a recursive method is optimized to a few sequential commands when some of its parameters are constants: http
8.
▲
by
kjaer
5y ago
Indeed, the blog post is up now! https://scala-lang.org/blog/2021/05/14/scala3-is-here.html
9.
▲
by
kjaer
5y ago
I think the Scala 3 book [1] might be what you're looking for! There's also an ongoing video series called "Let's talk about Scala 3" by the Scala Center and 47 Degrees [2], which are more in-depth on certain topics
10.
▲
by
kjaer
6y ago
And that's why you should always use a different domain for your status pages! GitHub does it well, for instance: https://www.githubstatus.com/
11.
▲
Implementing Scala.js Support for Scala 3
(scala-lang.org)
3 points
by
kjaer
6y ago
|
0 comments
12.
▲
by
kjaer
6y ago
People are more likely to already have npm installed and to be familiar with it. So there's an argument to be made that all else being equal, picking npm lowers the barrier to entry for new contributors. This consideration could be esp
13.
▲
by
kjaer
6y ago
With the addition of workspaces and yarn.lock support to npm 7, are there still reasons to use yarn over npm?
14.
▲
by
kjaer
7y ago
I don't know if this actually helps Google show more ads. With a 30k rule limit, I'm imagining most adblockers will prioritize the most common ad domains, and I'm pretty sure Google would be at the top of that list. This may
15.
▲
by
kjaer
7y ago
The trackpad didn't work out of the box, I had to change some settings; annoying, but no big deal. What's a bigger problem is that the trackpad buttons don't work after suspending/hibernating, and I still haven't be
16.
▲
A monad is not a burrito
(kjaer.io)
1 points
by
kjaer
8y ago
|
0 comments
17.
▲
by
kjaer
8y ago
I recently switched to a X1C6, and I wholly agree. It's an amazing laptop in terms of hardware and build quality, but it does have a bunch of Linux compatibility problems.
18.
▲
by
kjaer
8y ago
The assignment of these could go either way, depending on what you prefer :)
19.
▲
by
kjaer
8y ago
Yes. I'm referring to the original HoloLens and HoloLens 2, so to the hardware versions.
20.
▲
by
kjaer
8y ago
For finger tracking, version 1 used random forests [1], because of the performance/hardware budget trade-off: they're harder to train than a traditional deep learning algorithm, but are much more efficient to compute on the device
21.
▲
by
kjaer
8y ago
That's pretty nice. For people looking for an alternative with the same convenience as Medium, converting the archive of Medium posts to a GitHub Pages site could be a decent solution.
22.
▲
by
kjaer
8y ago
Not only that, but it's another Facebook project moving from Flow to Typescript. Jest also announced a Typescript migration last week: https://github.com/facebook/jest/pull/7554
23.
▲
by
kjaer
8y ago
> Show me a Typescript codebase not using the type 'any'! In a decent system language you can't get away with that, it's just a fake sense of security. I don't know the comparison to system languages is fair thou
24.
▲
by
kjaer
8y ago
Here's the video of the author presenting the extension at the Chrome Dev Summit keynote: https://youtu.be/zPHyxvPT0gg?t=1424
25.
▲
by
kjaer
8y ago
I just tried it on Windows 10, and the error message is: This file name is reserved for use by Windows. Choose another name and try again. So at least that has been fixed.
26.
▲
by
kjaer
8y ago
It looks like zsh with the Oh My Zsh [1] with the Agnoster theme [2]. 1. https://ohmyz.sh/ 2. https://github.com/robbyrussell/oh-my-zsh/wiki/Themes#agnost...
27.
▲
by
kjaer
8y ago
I wrote it in Scala below; it's a bit shorter, and I really like the map(base). Getting the digits from a number turns out to be most of the work, and the int->string->int conversion also seems to be the best approach. val ba
28.
▲
by
kjaer
9y ago
jxub called it on the Dropbox Foundation thread 2 days ago https://news.ycombinator.com/item?id=16428729
29.
▲
by
kjaer
9y ago
lit-html is relatively short and well documented. https://github.com/PolymerLabs/lit-html
30.
▲
by
kjaer
9y ago
If you're using Promise.all to run code in parallel, then async await can't really replace that, as far as I know. But you can still use `await Promise.all(...)`, which will free you from having callbacks everywhere; running paral
More ›