News for hackers. Stuff that matters.

chain--

Re:Meta Is Transferring Jest to the OpenJS Foundation on Wednesday May 11, 2022 @08:57PM (#31347946)
Yup I've used Vitest without Vite for a personal project. I replaced Jest as I was having a lot of trouble with ESM modules (it might be better now)
Re:Show HN: Recipe search engine, built in vanilla PHP on Friday May 06, 2022 @06:05PM (#31290043)
I also have something similar :)

Demo (client only): https://josh18.github.io/hitpoints/recipes Source: https://github.com/josh18/hitpoints

Goals are a little bit different though, designed to be a personal catalog.

Re:Ask HN: Who wants to be hired? (May 2022) on Monday May 02, 2022 @05:16PM (#31241029)
Location: New Zealand

Remote: Yes

Willing to relocate: Probably not, would consider doing offset hours

Technologies: Javascript/Typescript, Angular, React, Node.js, GraphQL, SQL, AWS + lots of other web related things

Full stack developer with ~9 years experience. Mostly experienced with web related technologies but always interested to learn new stuff. I like making things efficient and helping people solve problems.

CV (with contact details): https://josh18.github.io/

I could be wrong but I think it is used to alert you when you have incompatible dependencies.

For example if you have a dependency with a peerDependency `something: 2.x.x` and you currently have `something: 1.0.0` installed as a direct dependency, it will fail rather than allowing multiple versions to be run.

Re:Rust Is the Future of JavaScript Infrastructure on Thursday November 11, 2021 @07:15PM (#29194922)
Of course! People are free to dislike languages as much as they want. But is that something that is worthwhile discussing on HN?

I don't dislike any language in that sense, every language has pros and cons. Different tools for different jobs, some I enjoy more than others. But that wasn't the point.

Re:Rust Is the Future of JavaScript Infrastructure on Thursday November 11, 2021 @07:05PM (#29194857)
I completely agree with that, there are some things that would be nice to change that are unlikely ever to be changed due to the goal of being backwards compatible. But a lot of the OP's comment was unrelated to the language itself.

> browser incompatibilities are still prevalent

It's true, browser difference are a pain to work with. But what is the alternative, to only support a single browser engine? Note that this has improved a lot in recent years. As long as you don't need to support IE11 or below then you shouldn't come across many issues. You can find browser support using caniuse.com or looking at MDN docs.

> even popular libraries are barely documented and you regularly have to wade through hundreds of wannabe tutorials on Medium/Hackernoon/...

I don't think that incomplete documentation is is exclusive to Javascript by any means. It is quite possible that the standard for packages and articles is lower due to Javascript having a lower entry level. I think we saw a similar thing with PHP.

> one compiler/transpiler, no, there are several...

I personally don't see a problem with this? Usually they have different goals, pros and cons. Do we think that it would be beneficial to not create competing solutions? For example would it be beneficial to only have React and not have Angular, Vue, Svelte? Agreed that multiple solutions can be confusing for new users and generally I would direct new developers to all-in-one solutions so they don't need to deal with these things.

> some things like imports might work in completely different ways

I'm not quite sure what is being referred to here, maybe the difference between commonjs and es imports? I personally haven't encountered any issues but they are completely different. I might be able to point someone in the right direction if they clarify.

Again I understand if you don't like having to deal with these things, but there are reasons for them that can't just be glossed over. Discussions are great! But I find it hard to have them when developers ignore the nuances and insist on approaching them from a negative angle.

Re:Rust Is the Future of JavaScript Infrastructure on Thursday November 11, 2021 @06:08PM (#29194423)
I like Javascript (mainly Typescript) and use it quite a lot. If you aren't a fan, I completely understand. However I don't understand why people feel the need to discredit something that they don't like.

It honestly makes me not want to open HN threads about JS as I know I will be met with a barrage of negative comments about something that I enjoy. I'm all for open discussion of the downsides of the JS ecosystem but that is rarely what these comments are.

Re:Ask HN: Who wants to be hired? (November 2021) on Tuesday November 02, 2021 @06:07AM (#29079108)
Location: New Zealand Remote: Yes Willing to relocate: Probably not, would consider doing offset hours

Technologies: Javascript/Typescript, Angular, React, Node.js, SQL, AWS + lots of other web related things

Full stack developer with ~8 years experience. Mostly experienced with web related technologies but always interested to learn new stuff. I like making things efficient and helping people solve problems.

Working on my CV, feel free to send me an email if you are after more details.

Re:LOL just got kicked out of @ycombinator on Friday June 04, 2021 @06:54PM (#27400005)
What would you say the purpose or goal is of unconstructive critique?
Re:If Not SPAs, What? on Thursday October 29, 2020 @04:50AM (#24928463)
Try / catch is the exception, if you don't await then your catch handler won't work. https://jakearchibald.com/2017/await-vs-return-vs-return-awa...
Re:Moving from TypeScript to Rust / WebAssembly on Thursday July 09, 2020 @12:35AM (#23776972)
I haven't used it but there are some unofficial Rust bindings to the Godot game engine: https://github.com/godot-rust/godot-rust
Re:OpenAPI v3.1 and JSON Schema 2019-09 on Saturday February 29, 2020 @11:00PM (#22455038)
Not super familiar with the topic, how does this affect GraphQL?