Why would I use TypeScript and Babel together?

In my opinion you transpile TypeScript code to ES6 by using typescript and then re-transpile it to es5/es3 using babel to use in most javascript run times. Now because typescript compiler gives you es6 javascript you can do tree-shaking which is only supported for es6 module. And after tree-shaking your es6 javascript you can now … Read more

How to print every executed line in GDB automatically until a given breakpoint is reached?

Well, this wasn’t easy – but I think I somewhat got it 🙂 I went through a bunch of failed attempts (posted here); relevant code is below. Basically, the problem in a “next/step until breakpoint” is how to determine whether you’re “on” a breakpoint or not, if the debugger is stopped (at a step). Note … Read more

Autoit Recorder not available

As of AutoIt v3.3.14.1 AU3Recorder is not included anymore. The only way is: Download AutoIt v3.3.14.0. Copy autoit-v3.3.14.0.zip\install\Extras\Au3Record to {AutoIt-Install-Dir}\Extras\Au3Record. Start AU3Recorder: Run {AutoIt-Install-Dir}\Extras\Au3Record\Au3Record.exe. Or open SciTE and click Tools > AU3Recorder (Alt + F6): Notes: Version 3.3.14.0 has AU3Recorder. Version 3.3.14.2 does not. Changelog / history does not mention it. Explained here and here.

How to get the range of occupied cells in excel sheet

I had a very similar issue as you had. What actually worked is this: iTotalColumns = xlWorkSheet.UsedRange.Columns.Count; iTotalRows = xlWorkSheet.UsedRange.Rows.Count; //These two lines do the magic. xlWorkSheet.Columns.ClearFormats(); xlWorkSheet.Rows.ClearFormats(); iTotalColumns = xlWorkSheet.UsedRange.Columns.Count; iTotalRows = xlWorkSheet.UsedRange.Rows.Count; IMHO what happens is that when you delete data from Excel, it keeps on thinking that there is data in those … Read more

Why are there no Makefiles for automation in Python projects?

Actually, automation is useful to Python developers too! Invoke is probably the closest tool to what you have in mind, for automation of common repetitive Python tasks: https://github.com/pyinvoke/invoke With invoke, you can create a tasks.py like this one (borrowed from the invoke docs) from invoke import run, task @task def clean(docs=False, bytecode=False, extra=””): patterns = … Read more

Screenreader WPF Groupstyles

The problem is really about how the screenreader is supposed to reach the value. Groupitems are accessible from cursor via MSAA, but not via UIA. UIA is the primary API to use for accessibility in WPF. The core problem with UIA and WPF, is when trying to read controls which are found by cursor (other … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)