HackerTrans
TopNewTrendsCommentsPastAskShowJobs

tejinderss

no profile record

comments

tejinderss
·5 miesięcy temu·discuss
I wonder how is the experience writing Rust or Zig with LLMs. I suspect zig might not have enough training data and rust might struggle with compile times and extra context required for borrow checker.
tejinderss
·6 miesięcy temu·discuss
And the stock goes up 3%
tejinderss
·9 miesięcy temu·discuss
Do you know any good default PRAGMAs that one should enable?
tejinderss
·10 miesięcy temu·discuss
I dont know whats apple obsessions with thinness, instead they should focus on usability and battery life.
tejinderss
·w zeszłym roku·discuss
> Working effectively with LLMs for writing code is an extremely deep topic.

There is a space for learning materials here. I would love to see books/trainings/courses on how to use AI effectively. I am more and more interested in this instead of learning new programming language of the week.
tejinderss
·2 lata temu·discuss
> Here are some books I spent money on in the last 5 years

Would you recommend these books?
tejinderss
·2 lata temu·discuss
At my current place, using Redis with celery is becoming bottleneck for number of concurrent connections it can hold. We are using 1000 workers and start seeing issues (ceiling is 10k connections in Redis); apparently Celery creates huge number of connections. We are considering moving to RabbitMQ for same reason.
tejinderss
·2 lata temu·discuss
> That being said, I wish there was a single consistent resource[1] that summarizes truly modern software design philosophy in the sense that it leaves the object orientation inspired ideas behind that did not turn out to be useful and focusses on typed functional programming. Maybe with examples in Typescript and Rust.

Not Rust or TS, but i found Java to Kotlin a decent book which provides refactoring of java OOP to more functional patterns. One of the authors Nat Pryce was big into OOP design and was also a co-author of famous book Growing Object Oriented Software by Tests.
tejinderss
·2 lata temu·discuss
One of the strengths python has is its ecosystem. All the languages you listed don’t come close to python’s ecosystem except perhaps TypeScript/nodeJS (whose quality of ecosystem is questionable although improving in recent times).
tejinderss
·2 lata temu·discuss
The keyword here is “mutable” config object and not config data object in general. I use immutable config dataclass liberally in one of my python projects and i pass it around in all modules. Many functions rely on multiple values and instead of passing all of them as function parameters (which requires their own function typings), the dataclass has all variables with typing definitions in one place, its pretty handy design pattern.
tejinderss
·3 lata temu·discuss
Try Deno, it compiles cli apps in distributable binaries
tejinderss
·3 lata temu·discuss
> The downside as an expert is realizing you have to get a PhD to get a sense for how much RAM your cats will gobble up.

Go one step further with affine types and use Rust. You get haskell type system with predictable performance.
tejinderss
·3 lata temu·discuss
I am not sure if node is still a viable web backend runtime. When it released originally, it contended with the likes of django, and RoR, but now we have much saner options like Rust, Go, Elixir on backend, I am not sure if the original appeal is there any longer.

Edit: By “saner” option i meant more scalable, performant and maintainable using stricter types.
tejinderss
·3 lata temu·discuss
How does it compare to rust in your experience?
tejinderss
·3 lata temu·discuss
> Thanks for sharing an article supporting my comments

No it does not. It’s saying that the corporate taxes are volatile and “should” not be relied upon, hence the cautionary tone of the article.

Edit: From the same article

> Peter Vale, a tax partner at Grant Thornton, warned that the figures were “surprisingly poor” and indicated that “the risk of weaker corporation tax receipts in the key month of November increases. Poor November figures could erode much of the planned budget surplus.”
tejinderss
·3 lata temu·discuss
> Ireland is no longer reliant on them, in that the country does not fund current expenditure from the CT take

https://www.irishtimes.com/business/economy/2023/09/05/corpo...
tejinderss
·3 lata temu·discuss
> Ireland no longer relies on them

If Ireland has closed all the loopholes then why do the phantom exports (US subsidiary buying IPs) account for 38% of total exports of this year?

> Now that Ireland has agreed to a global minimum corporate tax (CT) rate.

Provided that they dont find another loophole.

Edit: Someone asked for baseline, the phantom exports were 6 billion in 2012, they are 134 billion this year.

https://www.businesspost.ie/news/irish-phantom-exports-surge...
tejinderss
·3 lata temu·discuss
> how successful the policies have been.

I don't know how these “successful” policies are sustainable if they are not playing level field with the rest of EU.
tejinderss
·3 lata temu·discuss
These sweetheart taxation deals should stop in Ireland and other tax havens. It benefits none; although on paper it looks that Ireland is doing too well, the reality is not that rosy for its residents.
tejinderss
·3 lata temu·discuss
Where have you moved if i may ask?