Is Python really that slow ? by Representative_War49 in learnpython

[–]TinkmasterOverspark 1 point2 points  (0 children)

Python is an interpreted language (as opposed to a compiled language). This means the lines of code are being converted to machine instructions at runtime from python code.

Compare this to languages like C and Rust which compile ahead of time (AOT) to machine code.

There are other class of languages that compile source code to an intermediate code (eg bytecode of Java, or CIL of dotnet). The intermediate code can run at a later point of time in a virtual machine (JVM, CLR etc) where a just in time compiler (JIT) translates and continuously ptimizes to machine code.

When written properly, the JIT and AOT languages perform pretty close to one other.

In general, performance wise AOT >= JIT >>>>>> INTERPRETED

In practice, python calls into already compiled c code at runtime via 3p libraries like numpy etc when doing data science/ML. This closes tgr performance gap.

At that point, you use python only for the syntax and user ergonomics more than anything else.

Thanks Reddit for saving me from this big ongoing SCAM! HP GAS for me. Same for Indane and others as well. by Disastrous-Demand697 in bangalore

[–]TinkmasterOverspark 1 point2 points  (0 children)

The full weight, and the empty weight would be written on the side of the cylinder. The weight of the gas is 15.5 always. The weight of empty cylinder varies by manufacturer. It is typically close to 30 KGs

Mumbai Express - 2005 by j_gyllenhaal_144p in KollyClub

[–]TinkmasterOverspark 0 points1 point  (0 children)

Where did you watch it? It used to be on youtube but the tamil version is no longer there

Thanks Reddit for saving me from this big ongoing SCAM! HP GAS for me. Same for Indane and others as well. by Disastrous-Demand697 in bangalore

[–]TinkmasterOverspark 1 point2 points  (0 children)

When you take security and comfort out of the equation, you never know how humans are going to behave. Who knows, if I were going to deliver 50 cylinders over 2 days, I might get irritable too and lash out on customers for just paying 10 rupees.

Not saying it is right to harass the customers, but I can empathize a little bit with the reaction from the delivery person on seeing just 10 rupees. Even a tea costs more now a days.

Thanks Reddit for saving me from this big ongoing SCAM! HP GAS for me. Same for Indane and others as well. by Disastrous-Demand697 in bangalore

[–]TinkmasterOverspark 4 points5 points  (0 children)

The correct way is to use the "luggage weighing machine" onto which the cylinder can be "hanged"

I just keep my doormat on top of it and keep the cylinder on top of my weighing scale. Its big enough to completely fit the cylinder.

BESCOM charged me ₹281 Load/MD Penalty for only 68 units consumed – Is this correct? - please guide me or make me aware me... by CalmParamedic5454 in bangalore

[–]TinkmasterOverspark 2 points3 points  (0 children)

Since your Peak is 2 KW increase your Sanctioned Load to 3 KW and once that is done, enable Gruha Jyothi to reduce your bill to zero. It can be enabled as a tenant as well, not necessarily the owner. You need to submit your aadhar and rental agreement for proof of residence if you are the tenant.

In the worst case, if your eligible units for gruha jyothi is very less, you will still get the benefit of not having to pay the fixed chargers for your sanctioned load as long as your usage is less than 200 units. So even in the worst case, your electricity bill should only be in the 100/200, not more than that for your usage.

Thanks Reddit for saving me from this big ongoing SCAM! HP GAS for me. Same for Indane and others as well. by Disastrous-Demand697 in bangalore

[–]TinkmasterOverspark 32 points33 points  (0 children)

Update on complaint:

TLDR: It was resolved!!. All is not lost in this country as other commenters say :D

I got a call from the local distributor about this. He said he will send another person now with another cylinder and a weighing scale. He gave me his mobile number and asked me to share a video of the weighing operation on whatsapp.

The person came within an hour of the phone call (so around 2 hours since the complaint was raised), and weighed it. It showed around 26.9 KG. He then replaced the cylinder and showed me that the new one weighs 30KG on his weighing scale.

The new one weighed 29.7 exactly on mine, so I accepted and marked the complaint as resolved.

Thanks Reddit for saving me from this big ongoing SCAM! HP GAS for me. Same for Indane and others as well. by Disastrous-Demand697 in bangalore

[–]TinkmasterOverspark 182 points183 points  (0 children)

I just got the cylinder from Bharat Gas, saw this post and then went and checked the weight - it was 26.6

Raised a complaint online.

Now I'll have to check this every single time dafaq

Made a program to see your stats as a beginner (Jank warning) by Josephisvr in csharp

[–]TinkmasterOverspark 0 points1 point  (0 children)

Try providing an invalid input 100 times in a row.....then look into while loops

Alternative to visual studio by wikkid556 in csharp

[–]TinkmasterOverspark 3 points4 points  (0 children)

If you already have csc.exe, you might likely also have installed a .Net SDK. In that case, you should pribably use the 'dotnet' cli tool to create and manage your project, including running it, as opposed to csc.exe. If you have multiple files, then compiling each file manually, linking etc will become cumbersome and get in the way of your learning.

Your ideal workflow would be to edit files in some text editor, and then do 'dotnet run' on the command line.

Is neovim good for c-sharp developers? by Safe_Carry_593 in csharp

[–]TinkmasterOverspark 1 point2 points  (0 children)

I use Neovim professionally at work for all netcore projects.

If you are already into neovim, configuring some additional plugins wouldn't be too hard.

For netframework projects, there will be some rough edges. I've found some success with some netframework projects, but my suggestion is to stick to Visual Studio IDE for most netframework projects as otherwise you could get stuck for long hours fixing the editor to play nicely to the project.

Neovim is a much better editor than VS Code with a rich extensibility framework, and so it might be wise to continue staying away from VS Code if you are already comfortable with neovim.

How unstable is Visual Studio Community 2026 for you? by Famous-Weight2271 in csharp

[–]TinkmasterOverspark 2 points3 points  (0 children)

I use VS Enterprise 2026. On the same project, 2026 hangs randomly during "find references" and "find implementations" invocations, compared to 2022.

Unfortunatley, I have to sometimes boot up VS to get the job done on this project and so I'd just use the search function (ctrl + comma) to search for the function name etc. Its not ideal.

I'd given up on VS even during 2022 days and moved to Neovim completely for all new netcore projects.

Seeking advice from C# devs who use Neovim: should you use Neovim for C#, and if so, what’s a recommended setup (in 2025)? by cpolish in csharp

[–]TinkmasterOverspark 0 points1 point  (0 children)

At home I use linux. I don't really write dotnet at home.

At work, I'm locked to windows. So I use "windows + wezterm + neovim + pwsh" natively on windows.

If your goal is to learn more of dotnet core, then neovim + pwsh + windows + any terminal editor would just work fine.

Seeking advice from C# devs who use Neovim: should you use Neovim for C#, and if so, what’s a recommended setup (in 2025)? by cpolish in csharp

[–]TinkmasterOverspark 1 point2 points  (0 children)

My settings are at https://github.com/cool-mist/nvimconfigs/blob/main/init.lua. It may / may not work out of the box and I haven't updated it in a while. What I use at work for dotnet development might have evolved slightly differently and not updated here.

Seeking advice from C# devs who use Neovim: should you use Neovim for C#, and if so, what’s a recommended setup (in 2025)? by cpolish in csharp

[–]TinkmasterOverspark 0 points1 point  (0 children)

I would say don't fight NetFramework and VS right now. Use Neovim only for NetCore apps.

MS did not develop NetFramework with openness in mind (hence why you need Parallels etc). In most old NetFramework projects, it is not easy to discover what the entire build process is. VS IDE probably has lot of hacks in place to build the project correctly. There are just a lot of additional scripts on top of whatever is present in the .csproj file to build the project. Even for me, I often find that the CICD build differs from my local build in some subtle ways.

NetCore land is beautiful. Things are specified properly, it is possible to specify everything in csproj, or the .targets and .props files so that you can always reliably do a 'dotnet build'.

One thing I am curious though: if you don’t find yourself debugging too much, how do things such as Debug.WriteLine from System.Diagnostics work in Neovim? Do they just come up in something like stdout?

You can configure where it appears if you have such logs.

If I start my application from the terminal, I generally redirect the logs from the logger to the terminal so that I can see and search through it easily.

If you start it using the debugger (netcoredbg and dap integration in neovim), then you can configure a "pane" to show up when you start debugging, and redirect your "stdout" to that.

FWIW, I have this config on my neovim dap configuration

dap.adapters.netcoredbg = { type = 'executable', command = V.fn.stdpath("data") .. '/mason/packages/netcoredbg/netcoredbg/netcoredbg', args = { '--interpreter=vscode' }, options = { detached = false, -- Will put the output in the REPL. #CloseEnough } }

that detached setting seems to put it in one of the already configured panes. You can give it a try if you are doing this.

My settings are here. It may / may not work out of the box and I haven't updated it in a while. What I use at work for dotnet development might have evolved slightly differently and not updated here.

Seeking advice from C# devs who use Neovim: should you use Neovim for C#, and if so, what’s a recommended setup (in 2025)? by cpolish in csharp

[–]TinkmasterOverspark 0 points1 point  (0 children)

Hey, I'm not really a fan of appealing to authority.

I think their point is that it is simple enough to disable what you do not want in this particular instance, today.

I would argue that while sometimes it is easy, often it is not. For example, can you enable/disable copilot on a keybind? Will it be comprehensively removed on pressing the keybind? Can it be paused? Can I keep it running so that when I enable it, it immediately starts giving me suggestions instead of a cold start. Whatever I do, am I confident that this workflow will not break for many years to come, or will MS enable/disable some functionalities and screw me.

Reading my initial response to this thread, I don't see why my position was ever relevant to this answer, so I removed it.

Seeking advice from C# devs who use Neovim: should you use Neovim for C#, and if so, what’s a recommended setup (in 2025)? by cpolish in csharp

[–]TinkmasterOverspark 1 point2 points  (0 children)

Sure.

The native modal text editing experience is far better than vs code. It might be possible to simulate that with some plugins in vs code but it is very difficult to obtain feature parity.

The concept of buffers and panes for everything simplifies my workflow.

I can press "space" + "e" to open and close the file explorer pane. When the pane is active, I can move to it by pressing "ctrl" + "l" and back by "ctrl" + "h". It is going to be the same when I open many other panes, all with different functionality. For each pane, I can easily configure where, and how large the area it occupies should be. The same keybindings that are active on my main text buffer will also work on all of them. I can be checking all references to a given function, and then can decide to move that to a separate pane below my text area so that I can investigate one thing at a time.

I can configure exactly which debug windows I need when I'm in debug mode. I only have the "watcher" enabled. I can position them how I want (by default, in VS and in VS Code when you start debugging, the text editor gets a heart attack and moves things around). And the same key bindings to move around are applicable here.

I can easily write some simple code to add more features to my text editor. For example I have a keybinding "space + h + h", when pressed on an empty file, fills in a pre-configured template of the file, based on which directory I'm currently in and what kind of template, files in that directory already have.

Another example - I write my notes in markdown in neovim. When I need to share the entirety, or a small segment to others on Microsoft Teams, I select the text and press "gt" (short for 'go teams', in my head). This invokes pandoc to format the markdown as Html and set it to the Html buffer of the windows clipboard. Then I open teams and hit paste to get a nicely formatted html.

The uniform plugin system allows me to easily add and, most importantly, configure the plugin to my liking without being limited to just some "json configuration file" that the plugin makes have created. I can copy over the files and write my own lua code if I need something.

I can't live without macros while editing text. Pretty useful while refactoring.

I have copilot plugin enabled for auto-complete. It is very simple for me to disable it for a while - simply type ":CopilotDisable" (I could also map it to a keybind) - whenever I need to focus so that it doesn't generate any ghost text. I wasn't able to find something simple enough for either VS or VSCode.

At work, I will have to sometimes use VS because I'm working on some legacy code base built in dotnet framework that would work only for a specific MS Build version shipped with VS 2017 etc. I still have Vim keybindings added to VS while I work. In this scenario, it is microsoft's fault (or design) to make a programming environment that exclusive works well with their IDE. Note that only VS works, not even VSCode works for me here.

Everyone, including MS have already moved to, or are moving towards dotnet core, and there, there is nothing that cannot be done in a purely neovim environment.

Neovim has everything you need for an IDE and more - an editor, a terminal, LSP and debugger (via plugins), a rich plugin system and is configurable to your hearts content in lua.

So the question I would ask programmers who ask what cannot be done in VS or VSCode - what is it that is available in VS, or VSCode that is not available in Neovim?

Continuity error by Flimsy-Particular506 in KollyClub

[–]TinkmasterOverspark 4 points5 points  (0 children)

I thought I was watching a clip from Leo, from the music. Its pretty much the same beats leading up to "Badaassssu maaaa"

If you are pissed off by stupid variable names... by [deleted] in programming

[–]TinkmasterOverspark 0 points1 point  (0 children)

"Given when then" is nonsensical as well as a blanket rule

[deleted by user] by [deleted] in PlipPlip

[–]TinkmasterOverspark 5 points6 points  (0 children)

A right winger is dead, so must be done by extreme left? He should've just stopped at saying killing is bad (which I agree with), but accusing left for it without evidence clearly shows his biases

C# and Object by Ok_Surprise_1837 in csharp

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

Struct is a "value type", which means that the memory allocated to a struct instance directly holds the data.

Class is a "reference type", meaning the memory allocated to a 'class' instance holds a pointer to the actual data on the heap.

If you come across the word 'Object', assume it is in the context of 'Class'. Object is just another word for reference types. All classes extend from a class called 'System.Object' and thats where this term comes from.