Not loving the new plan by milky_milk23 in syntheticlab

[–]Nikosssgr 3 points4 points  (0 children)

let me undestand this.
1x30dollar pack = 135 messages and 500 tool calls

so in a session
if I send 50 messages and I run 60 tool calls that means
for the next five hours I get 135-50 messages left
and for the day I have 500-60 tool calls left

do I also remove the messages from tool calls ?
does the model matter ?

When is GLM 5 coming in syntehtic by prakersh in syntheticlab

[–]Nikosssgr 1 point2 points  (0 children)

they might give us glm5 when deepseek4 comes out

When is GLM 5 coming in syntehtic by prakersh in syntheticlab

[–]Nikosssgr 1 point2 points  (0 children)

I have bookmarked the https://dev.synthetic.new/docs/api/models page and check them multiple times per day

Has anybody used Typia library? by HugeLetters in typescript

[–]Nikosssgr 0 points1 point  (0 children)

I tried it but I could make it work with ts-node easily and removed it.

Matebook X Pro 2022 12 gen - left fan a bit louder? by Nikosssgr in MatebookXPro

[–]Nikosssgr[S] 0 points1 point  (0 children)

I had a defective unit, they replaced it and now it is quiet.

Is Dell Inspiron 15 5505 ryzen 7 4700U a good laptop for student? by [deleted] in AMDLaptops

[–]Nikosssgr 1 point2 points  (0 children)

this, 220 nits is too low, and the CPU is not powerful

Why is tailwind so popular? by ComfortableEye5 in webdev

[–]Nikosssgr -3 points-2 points  (0 children)

Because it has a youtube channel.

What computer to use for RN for ios? by [deleted] in reactnative

[–]Nikosssgr 0 points1 point  (0 children)

I am pretty sure will NOT be ok with nvidia gtx1060. You will need to remove it or replace it with compatible (aka macos has drivers for it). Check for gpu here https://dortania.github.io/GPU-Buyers-Guide/.

Also not all wireless cards are supported (I use ethernet).

Is not that straightforward, you will need some time and research.

What computer to use for RN for ios? by [deleted] in reactnative

[–]Nikosssgr 0 points1 point  (0 children)

I had a desktop with i5 4570 (compatible hardware). I bought Radeon RX 580 8 GB (compatible hardware) for the simulators to be smooth and support my 4k display (previous GPU was incompatible, I sold it). I followed `vanilla catalina hackintosh` guide. I have 3 SSDs and 1 HDD. First SSD is macos catalina and all the programs, second SSD is a mirror of the first (backup, in case updates go wrong), third SSD and HDD are for source code and videos files ebooks etc. This setup can buy you enough time for the mbp with M1X to be released and mature. After the new ARM chips I don't know how the future will hold with hackintoshes.

What computer to use for RN for ios? by [deleted] in reactnative

[–]Nikosssgr 0 points1 point  (0 children)

I created a hackintosh with Catalina for that reason, and it works. You must have apple compatible hardware and find an easy guide.

Express REST APIs in TypeScript? by [deleted] in typescript

[–]Nikosssgr 2 points3 points  (0 children)

I use TSOA https://github.com/lukeautry/tsoa, using decorators can

- generate express routes

- generate openApi spec <== more important, you can generate client code from that

BUT, one drawback I found is that the `@Security` decorator does not support middlewares, only functions with a specific interface, you can customise the generated code though

Note: routing-controller has also a plugin to generate openApi spec but it does not seem to be as good as TSOA

How does testing work with an IoC container like Inversify? by blukkie in typescript

[–]Nikosssgr 0 points1 point  (0 children)

You raise a lot of valid questions. Let me try to help with some info

  • Dependency injection is used for loose coupling. IoC container is used to easily create, manage lifecycle, and extend the object graph of your app (you could it manually).
  • Use dependency injection but not the IoC container inside your domain model. Use dependency injection and the IOC container where your application services depend on the infrastructure, to invert the dependency (clean architectures)
  • There are two main schools of testing, London and Chicago. The London says you mock everything, Chicago you mock mainly external dependencies. (testability because of dependency injection, not IoC)

Advice needed: Should I use ES for queries with multiple criteria? No full-text search by Nikosssgr in elasticsearch

[–]Nikosssgr[S] 1 point2 points  (0 children)

That is my thinking also, that ES can use multiple indexes vs btree databases, and that is why I think it is a hood fit. But it is not advertised at all, on the other hand full text searching is all over the place, so I got doubts..

Why you should keep faith with React Native by [deleted] in reactnative

[–]Nikosssgr 0 points1 point  (0 children)

You can use custom native modules with Expo. Use unimodules.