Live data from Hacker News

$20k bounty was claimed

prettier.io

251–260 of 345 posts

Re: $20k bounty was claimed

#251

"This means that we can now focus on the next important aspect: Performance. Prettier has never been fast per se, but fast enough for most use cases. This has always felt unsatisfying so we wanted to do something about it. What better way than a friendly competition. On November 9th, we put up a $10k bounty for any project written in Rust that would pass 95% of Prettier test suite." I don't see how better performance…

When it comes to string manipulation, Rust is much faster than JS

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Re: $20k bounty was claimed

#252
post #174

Earlier quoted context omitted.

I'm incredibly curious to hear more on how you think WASIX helps on the company pockets (since is open-source, and even it's governance model is open). I'd love to hear your thoughts, maybe we are missing on some nice business opportunities here!

It's fine to be forthcoming about the financial interests of your projects – this is Hacker News, after all. We live on VC. The tone of your previous comment suggests there is none. I find it hard to believe that anything you would spend your company's time on would not push the mission of the company forward. This creates a financial incentive.

A charitable interpretation could be that a rising tide lifts all boats. Syrus/Wasmer may sincerely believe that WASIX contributes to the rising tide, and it will therefore benefit Wasmer and all other Wasm-related ventures alike.

Under this interpretation, there would still be a financial incentive, but it would not be underhanded.

Re: $20k bounty was claimed

#253
post #8

> One question you are probably wondering is why would the Prettier team fund another project!? In practice, Prettier has been the dominant code formatter for JavaScript and as a result of a lack of competition, there has been little incentive to push on performance and fix various edge cases. I was indeed wondering that but the answer doesn't really answer the question for me. Why not set a bounty to improve Prettie…

How much would you pay to have your project on the front page of Hacker News for most of the day? More or less than $20,000?

Re: $20k bounty was claimed

#254

Earlier quoted context omitted.

many things are more expensive when you don't work at a company - for example the health care for a marginal employee at GE is a lot cheaper than you'll get for yourself. I always used 2x, but probably 2.5x is a sensible way to think about it in a patio11 "charge more than you think you should" mold.

> many things are more expensive when you don't work at a company - for example the health care for a marginal employee at GE is a lot cheaper than you'll get for yourself. This is less true following the Affordable Care Act than it used to be. The unsubsidised marketplace rate for my Kaiser health insurance seems fairly close to what I pay for COBRA from my former big tech employer.

But COBRA is more expensive than the same plan when paid by the employer with pre-tax dollars.

Re: $20k bounty was claimed

#255
post #33

While it's always great to see performance gains, my largest pain point with prettier was never performance. Instead my only gripe with prettier is the "line wrapping noise" it creates, illustrated here by Anthony Fu: https://antfu.me/posts/why-not-prettier#the-line-wrapping-no... Would it be realistic to expect a solution for this issue now that "prettier needs to step up it's game"?

[deleted]

Re: $20k bounty was claimed

#256

Earlier quoted context omitted.

According to their roadmap, WASI preview 2 will have threads and sockets. So, in light of that, what is the reason for diverging from WASI and creating WASIX?

I'm not sure what roadmap you are talking about. Threads are actually removed from WASI Preview 2. WASI Preview 2 still doesn't support threads, fork, subprocesses or longjmp/setjmp (among others). Not even that, when WASIX was created not even sockets were supported in WASI. I'd recommend trying to compile bash or curl to WASI Preview 2 and WASIX and see how far you get in each before trying to polarize the readers…

The roadmap I linked above. The WASI folks have done a poor job at communicating, no doubt.

Just for you I did some googling: see here[0] for the current status of WASI threads overall, or here[1] and here[2] for what they are up to with WASI in general. In this PR[3] you can see they enabled threads (atomic instructions and shared memory, not thread creation) by default in wasmtime. And in this[4] repository you can see they are actively developing the thread creation API and have it as their #1 priority.

If folks want to use WASIX as a quick and dirty hack to compile existing programs, then by all means, have at it! I think that's great. Just know that your WASIX program isn't going to run natively in wasmtime (arguably the best WASM runtime with the strongest long-term outlook), nor will it run in browsers, because they're going to follow standards.. not WASIX. I don't think anyone believes exposing POSIX fork() to WASM is a good idea, even if it lets you build existing apps 'without modification'.

Please stop accusing me of being polarizing. I just don't want to live in a world with two competing WASI standards, two competing thread creation APIs, and a split WASM ecosystem overall. I want good tech to win, not shitty power plays.

[0] https://github.com/bytecodealliance/jco/issues/247#issuecomm...

[1] https://bytecodealliance.org/articles/wasmtime-and-cranelift...

[2] https://bytecodealliance.org/articles/webassembly-the-update...

[3] https://github.com/bytecodealliance/wasmtime/pull/7285

[4] https://github.com/WebAssembly/shared-everything-threads

Re: $20k bounty was claimed

#257
post #174

Earlier quoted context omitted.

It's fine to be forthcoming about the financial interests of your projects – this is Hacker News, after all. We live on VC. The tone of your previous comment suggests there is none. I find it hard to believe that anything you would spend your company's time on would not push the mission of the company forward. This creates a financial incentive.

A charitable interpretation could be that a rising tide lifts all boats. Syrus/Wasmer may sincerely believe that WASIX contributes to the rising tide, and it will therefore benefit Wasmer and all other Wasm-related ventures alike. Under this interpretation, there would still be a financial incentive, but it would not be underhanded.

This is, despite how it may otherwise appear, how I see it. I think that the decision is a good one, made by people and a company I don't trust.

The broader context of Syrus' actions within the community (which reflect on Wasmer as its CEO) are what raise concern for me.

Re: $20k bounty was claimed

#258
post #206
post #141

Earlier quoted context omitted.

If the fix is to disable prettier for an entire file, you're proving your parent poster point.

It doesn't have to be disabled for the whole file, you can annotate lines too as shown in the link the parent commenter shared.

Adding comments just to fight with prettier is... uglier. I rather just not use prettier at all. It's more harmful than good IMO.

Re: $20k bounty was claimed

#259
post #219

Earlier quoted context omitted.

Wasmer is a VC company building a platform that depends on the existence of these platform APIs – sockets, threads, forking, etc. They have a vested interest in the existence of these APIs, and the health of the developer ecosystem, to stay alive. From here, it kind of seems like the fundamental foundation of everything Wasmer is building. Meanwhile, Bytecode Alliance is a registered non-profit with many large corpor…

> The issue isn't with WASIX, but with you and your actions. Is refreshing to see at least some honesty. Haters gonna hate, so I personally don't mind. Have a great day!

> Haters gonna hate

If you dismiss all criticism of your behaviour in this way, you'll never gain any insight into why so many people find your behaviour so objectionable.

It's not because "haters gonna hate". It's not because you're operating in a competitive and highly visible space, and so of course you're going to receive some "hate", or whatever other dismissive narrative you might have cooked up. Look around you: people in similar positions just don't generate the reaction that you do.

When Wasmer eventually folds, it will be your fault, because you refused to reflect on how your antisocial behaviour destroyed all trust in the brand.

I don't know how to stop that from happening. Maybe a good therapist could help? Heck, your board would probably even be happy to pay for it, given the potential upside for Wasmer.

Re: $20k bounty was claimed

#260
post #134

> Consider donating if you or your company are using Prettier and it has been helpful to you. Wondering what company would NOT be using prettier. Not many. Some arguing that Prettier isn't foundational piece of software, I'd consider automated consistent readability enhancements as foundational though.

IMO it should be called uglier. The default line wrapping logic (which cannot be disabled at all, by design) is awful. It unwraps short lines that I want wrapped, and it wraps long lines that I want unwrapped. It's banned from all my projects.
Post reply on HN