Better HN
topnewbestaskshowjobs
Log inSign up

dfgdfg34545456

44 karma · joined Apr 11, 2023 (3y ago) · 43 submissions

Submissions

comment 2y ago · link · parent

As my organisation migrates everything over to AWS I do find myself questioning what the costs will look like when it is all done and we are completely locked in. AWS/Google/Microsoft cloud services put you in the position of an almost completely captive customer. What large corporation would ever sign up to that?

comment 2y ago · link · parent

The post seems to be assuming that multi threaded code is easy to build and maintain. From my experience it is horrible, every new thread means going from n bugs to nn bugs. As a programmer I prefer* async constructs in languages, and do not want to spin up and manage threads and all the state synchronisation that involves.

comment 2y ago · link · parent

If TC39 Signals are merged this will be redundant. Signals are better than this as they keep track of the tree and don't do unnecessary traversals. With 'automatic useMemo' (this), the tree still needs to be fully traversed.

comment 2y ago · link · parent

Looks like Farringdon that they end up at. Amazing video either way, thanks.

comment 2y ago · link · parent

At a glance of that article they improved some of their furnishings and facilities. Is that the only thing you are considering when I refer to a carrot and not a stick?

comment 2y ago · link · parent

"Rate limit exceeded." It appears another software law has been violated.

comment 2y ago · link · parent

My thoughts on the office/home work management debate:

- Encourage workers back in with a carrot not the stick

- Be mindful of workers with families or other dependants who see wfh as a great benefit

- Don't count days in office and assess people on it - by doing this you are sending a signal that days worked at home don't count.

comment 2y ago · link · parent

The problem with your question is that they are there to show off their knowledge. I failed a tech interview once, question was build a web page/back end/db that allows people to order let's say widgets, that will scale huge. I went the simpleton answer route, all you need is Rails, a redis cache and an AWS provisioned relational DB, solve the big problems later if you get there sort of thing. Turns out they wanted to hear all about microservices and sharding.

comment 2y ago · link · parent

This article is trying hard to sound like it is based on years of learnings, but honestly every point in here just reads like it was cobbled together after the xz incident.

comment 2y ago · link · parent

Thanks, that is helpful.

comment 2y ago · link · parent

Java is better than Javascript, I'm mystified. I have used Java and Javascript lambdas, the Java ones use 4 times the memory of the JS lambdas and are slower, to do the same thing.

comment 2y ago · link · parent

I like that typescript catches when I need to do null checks so I don't end up with the most notorious runtime error seared into the brain of every JS developer "cannot read property of undefined".

Some parts are nice, like the string literal typing "this" | "that". Other things are hacky, like "branded types", gross.

But then I think of my commercial codebase which is extremely well tested, regular old JS, and wonder if is worth the hassle.

comment 2y ago · link · parent

>You’re putting yourself at a big disadvantage.

Why not just appreciate the diversity of opinion and move on, rather than lecture people?

comment 2y ago · link · parent

In NodeJS for example don't you have use Buffers and special decoders to deal with UTF-8 strings? I.e it's a pain there too.

comment 2y ago · link · parent

Thank you for the English lesson, but it's a big leap from this supposed connotation to "painting pet projects black".

comment 2y ago · link · parent

PHP worse energy efficiency than Haskell? Maybe I'm not understanding something.

comment 2y ago · link · parent

>Let's not paint pet projects black.

I don't follow. Where did I do this?

comment 2y ago · link · parent

It does smell like someone's pet project. I'm wondering what the folk at Microsoft had not figured out, that they indeed had at Figma. Typescript is open source, so why wasn't this optimisation just made as a contribution to Typescript at the time?

Also, was Typescript really as claimed in its "infancy" at the time mentioned in the article? They didn't mention a particular year.

comment 2y ago · link · parent

I'm curious about how it all hangs together, WebAssembly and Typescript.

The very first mention of WebAssembly in the article:

"Some years after WebAssembly obtained widespread mobile support, we replaced many core components of our Skew engine"

comment 2y ago · link · parent

For people like me who know little about Figma, what motivates their use of WebAssembly?

comment 2y ago · link · parent

The last time I looked we can't even parse and build a semantic model for anything more than simple sentences to build a coherent representation of their meaning. Which tells me this is just some glorified sort of fuzzy matching algorithm.

comment 2y ago · link · parent

Great new idea in cpp. Automated bounds checking in the hello world example sold me straight away. Try and do that as tersely Haskellers. I hope this project gets momentum.

comment 2y ago · link · parent

Thanks!

comment 2y ago · link · parent

chmod u+x running detect_sh script just runs with no output on my arch linux box?

https://www.openwall.com/lists/oss-security/2024/03/29/4

comment 2y ago · link · parent

The real question the OP should be asking is not which language to use, but how this change managed to pass unit and e2e tests and be deployed to master in the first place. Fair enough javascript has its sharp bits, but those should show up in proper commercial level of unit and integration testing.

comment 2y ago · link · parent

Cheers

comment 2y ago · link · parent

I thought monadic binds would typically be implemented in terms of this intermediate language, not within it.

comment 2y ago · link · parent

Is the toy language all self contained in that repo? I can see it pulls in some deps, wasn't sure if everything I need to see is in that precursor.controller.ts file or elsewhere.

comment 2y ago · link · parent

With you, but just have to add that the decision to return JSON by LSP protocol to code editors is simply ridiculous.

comment 2y ago · link · parent

The decision to lock down JSON without comments was a good one, stopped all these proxy languages developing in it, like what happened with XML.
12