Hacker Newsnew | past | comments | ask | show | jobs | submit | throwawaygod's commentslogin

That may be true for a lot of families and friends as well. They may not dispose you outright but they will try to cut you off every chance they get.

But it may not be true for family or of employers… so we are back to square one I suppose.

The differences btwn new() and make() is even lesser now. Is the goal is to deprecate make()?


How would you dup := make([]int, 0, len(slice)) then?


model name?


No idea. Current one is named raymotoss R1


How is it holding up?


uh... its fine. after 2 years i had to replace battery like i said and parts like the occasional burnt connector, cables, body is somewhat fragile but when my daily running cost is 0, these are small things. i could use my car for my office runs but then it would cost me like inr 6-8k monthly in fuel+parking which is more than 0 what i currently pay so its fine.

its not a perfect machine, for inr 40k, i don't think it can be better. if i increase my budget to say 60-70, then there are more choices but this one is a good bet for now.

take ola for example. it is fine until it breaks. then its game over as their service is shit, same for others.

when a machine is more expensive, it is more complicated to repair and more expensive also. the simpler the machine, like mine, it has just body + lead acid battery + controller. nothing more. its easier to repair


Whats the debugger story like? Do we have to use Microsoft's proprietary dotnet debugger?


At the moment, we have to use Microsoft's debugger on the generated code. I have it as a todo - but I don't think I'll get to it soon.


Another typescript compiler similar to this: SharpTS[https://news.ycombinator.com/item?id=46557698]


Wow, I never came across it - thank you.

There are key differences though. What tsonic offers: (0) broad data type support, stack allocated types etc (1) nodejs and js compatibility libs, (2) the availability (in tsonic) of the entire .Net BCL, Asp.Net and EF Core as d.ts files (for example, in @tsonic/dotnet) so that tsc would still run, (3) bindings generator (tsbindgen) for any .net dll etc.

What tsonic is missing: (1) interpreter, (2) compile to .Net IL. Tsonic will only do native code; and does so by converting ts to c# and then using the NativeAOT chain on generated C#. SharpTS is compiling straight to IL (I think), something I considered but decided not to for the time being.

I think these are two different approaches. With pros and cons for both.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: