HNHacker News
TopNewBestAskShowJobs

JaggerJo

592 karma · joined July 9, 2017

hn@jaggerjo.com
submissionscomments
JaggerJo··on WasmFX: Effect Handlers for WebAssembly
Any chance you still know the title of the strangeloop presentation?
JaggerJo··on A new F# compiler feature: graph-based type-checking
Btw. building GUI apps is super simple in F#.

(mac, linux, windows, ios, android, web)

https://github.com/fsprojects/Avalonia.FuncUI

JaggerJo··on Ask HN: How hard is it to write a Linux printer driver?
hah, that’s interesting. Thanks!
JaggerJo··on Norway wants Facebook behavioral advertising banned across Europe
+1

I’d love to ban ads from public spaces and most of the internet.

JaggerJo··on UTM – Virtual Machines for iOS and macOS
Used this to create a Debian VM on my M2 Mac mini. Works great.
JaggerJo··on Microsoft is discontinuing Visual Studio for Mac after major overhaul
Everyone in our team of 5 does..

With JetBrains Rider ist a great experience

JaggerJo··on I come here not to bury Delphi, but to praise it (2019)
Yeah, this is quite nice once you are used to it.
JaggerJo··on Don’t build a general purpose API to power your own front end (2021)
yes, but then it’s not one request per page
JaggerJo··on Don’t build a general purpose API to power your own front end (2021)
This breaks once you need to update parts of the page without reloading everything.
JaggerJo··on A room-temperature superconductor? New developments
What fields would directly benefit from this?

Would buying quantum computing stocks be a good idea now?

JaggerJo··on Unconfirmed video showing potential LK-99 sample exhibiting the Meissner effect
I wonder if there is a way to make a profit by buying quantum computing stocks right now..
JaggerJo··on Stack Overflow Is Down
confirmed.
JaggerJo··on Why I'm Leaving Elm (2020)
For people looking for a replacement:

Take a look at F# and Fable (F# to JS compiler)

JaggerJo··on Rio: Terminal app built over WebGPU, WebAssembly and Rust
But.. why?

Couldn't you just use Rust + OpenGL/SDL2/.. or even AppKit if macOS is the only supported OS?

JaggerJo··on My thoughts on OCaml
what noise?

I get your example of ‘seq { 1; 2; 3; }’ but list, array are not even shortened.

JaggerJo··on My thoughts on OCaml
Exactly. And you can even pick between 3 IDEs

- JetBrains Rider (best IMHO)

- Visual Studio for Mac

- VS Code with Ionide

JaggerJo··on My thoughts on OCaml
+ macOS
JaggerJo··on My thoughts on OCaml
Really? Were you active in the slack/discord channels?
JaggerJo··on My thoughts on OCaml
Don is still working on F#. The F# team at MS now is bigger than is was years ago. People from different companies and the community are collaborating on compiler and language features.

F# is beyond microsoft, a lot of early adopters are still there.

JaggerJo··on My thoughts on OCaml
We use F# in prod. Could not be happier.
JaggerJo··on My thoughts on OCaml
I think you should give F# a shot instead.

1. No standard and easy way of implementing interfaces

No problem in F#, you have interfaces, abstract classed, ...

2. Bad standard library

In F# you have access to the full .NET standard library and ecosystem. There are also quite a lot of libraries that are especially designed to take advantage of F# (SQL libs for example).

3. Syntax problems

3.1 OCaml doesn’t have a single-line comment syntax.

It's `//` for single line and `(* comment *)` for n line comments in F#.

3.2 It has for and while, but no break and continue. So you use exceptions with a try inside the loop for continue, and outside for break.

Same in F#, use recursion.

Generally F# solves some of the issues but definitely not all of them. Some are just in the nature of the Standard ML syntax I guess.

4. Rest of the package is also not that good

- NuGet is a decent/good package manager. - Easy to install a complete dev env. - sane build system (MSBuild) - Great out of the box support in JetBrains Rider/ Visual Studio (for Mac/ Windows) or via a VS Code plugin (Ionide).

JaggerJo··on GUI development with Rust and GTK 4
The code to declare/build the widgets is quite nice. Modifying widgets by hand on certain signals or manually re-wiring all the signals seems a bit outdated to me.

Wonder if something like FuncUI [1] could be built on top of it.

[1] https://github.com/fsprojects/Avalonia.FuncUI

JaggerJo··on ChatGPT can help yield more accurate stock trading predictions – study
No.
JaggerJo··on Apple will use 100 percent recycled cobalt in batteries by 2025
Ok, nice to see this is improving for the big brand android phones.

A lot of people buy cheap $no-brand phones that probably don’t get (any) updates.

JaggerJo··on Apple will use 100 percent recycled cobalt in batteries by 2025
iPhone 6s (released September 2015) - ~ 8 years and going

Nexus 5X & Nexus 6P (released September 2015) - last update January 2019 [1] ~ 2.25 years Pixel & Pixel XL (released October 2016) - 2019 (can't find a good reference) ~ 3 years Pixel 2 (released October 2017) - December 2020 [2] ~ 3.3 years

[1]: https://9to5google.com/2018/11/07/nexus-6p-and-5x-final-guar... [2]: https://www.androidpolice.com/2020/10/05/pixel-2-and-2-xl-re...

My conclusion: an iPhone outlives (at least) 2+/3+ android phones

JaggerJo··on Apple will use 100 percent recycled cobalt in batteries by 2025
Name a brand thats better in providing software updates and security patches for their fleet of phones.

Repairability is a fair complaint - but the initial lifespan of $android is max 2 years. I consider it broken once it does not receive security updates. So $android phone is “broken” after 2 years.

JaggerJo··on Ask HN: 2023 what would your tech stack be for a brand new project?
F#
JaggerJo··on Understanding the .NET ecosystem: The evolution of .NET into .NET 7
F# also is kicking ass.

Were running .NET 6 + F# in production with ~4 developers and its been a breeze.

JaggerJo··on Functional cross platform UI in F#
Backed by https://avaloniaui.net/, a cross platform .NET UI framework.
JaggerJo··on Pulsar – A Community-Led Hyper-Hackable Text Editor
pass, because it’s electron.
← PreviousPage 4 of 9Next →