HackerTrans
TopNewTrendsCommentsPastAskShowJobs

martpie

no profile record

Submissions

Meta Ray-Ban Display

meta.com
639 points·by martpie·il y a 10 mois·962 comments

Linux Mint 22.2 "Zara" released

blog.linuxmint.com
2 points·by martpie·il y a 10 mois·0 comments

Vitest Browser Mode

vitest.dev
5 points·by martpie·il y a 11 mois·0 comments

Biome v2–Codename: Biotype

biomejs.dev
12 points·by martpie·l’année dernière·1 comments

Tauri 2.0 Stable Release

v2.tauri.app
39 points·by martpie·il y a 2 ans·10 comments

Tauri 2.0 Release Candidate

v2.tauri.app
209 points·by martpie·il y a 2 ans·96 comments

comments

martpie
·il y a 4 mois·discuss
Look very nice, I may end up using for https://museeks.io, gapless playback has been on the roadmap for a while, but WebAudio APIs have always been super cryptic, a higher-level API is very much welcome.
martpie
·l’année dernière·discuss
I mean, I hate business as much as any other engineer, but what’s the point of software without a business? (excl. the beauty of open source)
martpie
·l’année dernière·discuss
TBH, all of what’s in this release came from previous 1.1.x patches.

It seems they just drafted a new release to communicate the groups of change from the previous releases.
martpie
·il y a 2 ans·discuss
That the whole industry embraced. Not bad for a piece of trash.
martpie
·il y a 2 ans·discuss
Well, it definitely becomes harder when you cannot (officially) access any of the WP infra, including themes and plugins.
martpie
·il y a 2 ans·discuss
That is exactly what Meta acknowledged, and this is not a product that is going to be released to the public anyway.
martpie
·il y a 2 ans·discuss
As a non-native English speaker, I may be one the few finding this addition really useful to correct syntax and spelling mistakes.

I am not 100% sure to understand the hostility towards such a feature, that seems accessible only via a user-action.
martpie
·il y a 2 ans·discuss
To me, the best feature is Relay Fragments (I think Apollo has fragments too?), as each component describes the data they need: no need to do a big top-level request then pass down the data to the responsible components, everything is in one file.

It makes UI changes much much easier to deal with.
martpie
·il y a 2 ans·discuss
Lots of valid points about the increase in complexity for React over the years, and that one should pick another more modern tech stack (Svelte, Solid, html, whatever), and I used to be thinking like that

But since maybe 1-2 years, I am back and betting on React for most of my serious projects (for the ecosystem, the ease of hiring, etc), but the most important point is the following:

React backwards compatibility is really good, and will stay so for a good reason: a LOT of Meta’s UI code is using old features (classes syntax etc), and Meta cannot afford to break those. If there are breaking changes, they must be “codemodable” (so, usable by everyone).

Meaning in terms of stability, I know my codebase today will still work fine in years ( or upgrade-able with minimal efforts). Of course there will be new shiny features, but I or my team will not have to rewrite old code all the time following tedious migration guides.

disclaimer: I am kind of biased as I work at Meta, but far from React.
martpie
·il y a 2 ans·discuss
Thank you very much for sharing your experience. I am developing on macOS so I have yet to face the Linux issues, but I have already faced a few issues on macOS, that require editing some plists file (switching media outputs for example), which made me "sigh" a couple of times.

In Electron, I got my fair share of Linux issues, but nothing critical (tray appearing twice, this kind of things).

This is the Electron paradox: this is the best platform to develop cross-platform apps, because it just works. Yet people hate it (for valid reasons).
martpie
·il y a 2 ans·discuss
@Sytten mentionned many issues with WebkitGTK, do you share the sentiment?
martpie
·il y a 2 ans·discuss
I am currently working on porting Museeks [0] from Electron to Tauri 2.0, mainly to reduce the memory and app size footprints, which are the main things everybody complains about with Electron.

What I really like:

- the dev experience is stellar and comes out of the box. No need to setup binary compilation, webpack, vite, hot-reload, TS compilation for back-end, etc yourself. You can pick your favorite JS framework with Vite, during setup, or use a Rust frontend (kind of what electron-forge is doing, but it is buggy, and landed yeaaaars after Electron was released).

- the architecture makes sense (commands, security, plugins, all very well-designed)

- they provide official plugins for common-usecases (SQL, config, etc)

- Rust is fun and interesting to learn for folks like me used to high-level languages like JS or Python

What I don't like as much:

- facing webview-specific UI issues (feature X does not work on Safari, Y not on gtk-webview etc), with Electron, you know if X works on Windows, it will work on Linux or MacOS

- some rough edges with the framework or the ecosystem (not as mature or dev-friendly as npm's or Electron), but the crates (and Tauri's) maintainers are very friendly and reactive.

- the focus on mobile apps, It seems like a very different space, and it feels weird to try to build with big mashup framework. I would rather have them work on more integrations, but whatever.

- changes in the Rust backend can take minutes to compile, and rust-analyzer is damn slow.

Overall I'm really happy and having a lot of fun. I will keep working on this port and release it when I can. Kudos to the Tauri team, what you are building is awesome :)

[0] https://museeks.io
martpie
·il y a 2 ans·discuss
Graphite is a code review tool (to organize PRs in stacked diffs), their data probably comes from their userbase, not just their internal team.