Please turn JavaScript on
Stack Overflow - Recent Questions icon

Stack Overflow - Recent Questions

Want to keep yourself up to date with the latest news from Stack Overflow - Recent Questions?

Subscribe using the "Follow" button below and we provide you with customized updates, via topic or tag, that get delivered to your email address, your smartphone or on your dedicated news page on follow.it.

You can unsubscribe at any time painlessly.

Title of Stack Overflow - Recent Questions: "Stack Overflow - Where Developers Learn, Share, & Build Careers"

Is this your feed? Claim it!

Publisher:  Unclaimed!
Message frequency:  422.5 / day

Message History

I am building WPF app and i am refactoring it to use a MVVM pattern, i have an issue with a DataGrid that is fed by an SQL query and has a column with buttons for each register in XAML like so:

<DataGrid Name="NestCards" FontSize="12" ScrollViewer.CanContentScroll="True" MaxHeight="400" ColumnWidth="*"> <DataGrid.Columns> <DataGridTemplateColumn> <...

Read full story

I'm using a FAST API to retrieve a mongo document that contains some bytes. The structure is as follows

item = {"namd" : "xyz", "value1: b'\x89PNG\r\n\sla\..." ... "some_other_byte: b'\x89PNG\r\n\sla\..." }

using a post request in fast API to return the above data, it tries to convert it json, but fails to do so automatically.

So I tried this:

json_comp...

Read full story

I used to use the following registry file to add a custom right-click menu option for my app for a .jpg file - and it works correctly in Windows 10. But this feature of my app does not work any more in Windows 11. (My installer does the equivalent of this reg file:)

[HKEY_CLASSES_ROOT\SystemFileAssociations\.jpg\Shell\Example\Command] @="C:\\example.exe \"%1\""

The de...


Read full story

I am writing a bash script, for educational purposes.
So I was thinking what is the best way to parse JSON and write the JSON attributes to bash variables.

In my script, I am making an API call that returns JSON that I then parse with jq to get some of the attributes and write them to bash variables, ie

echo "$json" { "data": { "foo": "blah", "bar": "blergh"...

Read full story

I have some dependencies that I need to patch. Currently I do the following from a terminal (running ubuntu)

patch -R -p1 <Myfolder/Tests/mypatch.patch

from the a specified working directory. Now I would like to do this as part of my build in maven. I have tried (based on how "<" should be specified in a xml here:


Read full story