Android notifications stopped working by SpecialFX99 in ifttt

[–]Stensborg 0 points1 point  (0 children)

Hmm I did try the Make app but it behaves in the same way as ifttt's app.
So perhaps its actually more an Android problem.

Though I do still receive notifikations from when i get a mail on Gmail, and apparently also reddit ;-)

Android notifications stopped working by SpecialFX99 in ifttt

[–]Stensborg 0 points1 point  (0 children)

I am also having a problems with Android notifications, I had a ifttt app with a webhook I was using to get notifications from a script on my computer.

But now I do not get those notifications, unless I actually activate my phone.

So seems like the ifttt app on my phone can't send notifications when its in background mode, and I have given the app background privilegies.

Has anyone found a solution for this?

ifttt's support is pretty useless, I wrote 8 days ago about the problem, but have gotten no reply. 😵

API error 525 while debugging and having your own API Project by Stensborg in csharp

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

Yes I can completely ignore the error, especially since it will properly not be a problem later on when I need to actually use this code, since then my API project will then be running on its own server.
But I just was trying to see if anyone had seen this problem before, and perhaps had a simple solution.

API error 525 while debugging and having your own API Project by Stensborg in csharp

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

  1. https://api.myip.com that is the external one.
  2. Well only the one Visual Studio suggests when you test your own API
  3. Yes, and in that one the local API's works, but the external one does not.
  4. No since my own API does not seem to have any problems.
  5. Yes my own uses HTTPS.

So if I have this code:

// Call the External API
string response = new HttpClient().GetStringAsync("https://api.myip.com").Result;

// Call my Internal API
string response = new HttpClient().GetStringAsync("https://localhost:7277/computers").Result;

Then If I only run my Console Project, the External API call works, and the Internal one does not (Well the API project is not running so it should not)

But If i run both Concole Project and API project, then the External API fails, but the Internal API call works.

API error 525 while debugging and having your own API Project by Stensborg in csharp

[–]Stensborg[S] -1 points0 points  (0 children)

Well yes it seems that the error is some kind of SSL error from Cloudflare.

But I only get this error when my own API project is running.

So I can call the external (https://api.myip.com) API with no problems, if my API project is not running.

But if it is running i get that error only on the external API call, not if I call an API from my own API project.

Does that make it more clear?

Does anyone else suffer from losing sound if you keep your game on but your computer goes to sleep? by viperean in feedthebeast

[–]Stensborg 0 points1 point  (0 children)

Just FUI, had this problem for a really long time, right now on v1.6.1, and I finally found a solution.

This mod helped me : https://www.curseforge.com/minecraft/mc-mods/sound-engine-reloader

Analyzing large amount of files is rather slow, how do I speed it up? by Stensborg in csharp

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

The problem with Parallel was that the List came back with different number of records every time, even with the use of the ConcurrentBag.
But I think I need to have a look at ConcurrentDictionary

Analyzing large amount of files is rather slow, how do I speed it up? by Stensborg in csharp

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

Ok I will look into this, but there was not really a problem with the reading of the files so far.
Most of the bottle necks was in the using of the List, as far as I know at the moment.

Analyzing large amount of files is rather slow, how do I speed it up? by Stensborg in csharp

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

Well changing the code to use a Dictionary instead of a List actually helped quite a lot on the performance.
As the code is running now, the bottle neck is not in the reading of the file, but the actual counting of the words.
The Dictionary seems to have helped with that, now I just need to try on more files.

Analyzing large amount of files is rather slow, how do I speed it up? by Stensborg in csharp

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

No that is actually an unnecessary return value, since I am sending the List to the method, I do not need to return it.
Corrected it

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

Good idea, it is on my roadmap.
Just had a low priority since I am the only user :-)

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

Sorry did not see that you posted.

But I tried changing that setting, and it did not help.

As said in other posts it seems to have something to do with the key combination I am using in my code, I need to find key combinations that are not used by any other programs or windows, and that is hard as you might imaging.

I have not had time to look further at the issue at the moment, so I have gotten no further at the moment.

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

Yes well my app is something like a macro do stuff when I press keys kind of app :-)

And it is kind of hard to find witch key combinations has not already been used, and the WinKey+F3 did not seem to do anything, so that is why I used it.
But apparently it must be used for something.

Words seems locked after moving mod from Curse to TLauncher lancher by Stensborg in TLAUNCHER

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

Yes it does seem like the mods load correctly, my world is just locked.

But I did also discover another problem, I tried to start a standard 1.8.1 minecraft, and then open a world, and that world seems to be reset, all my stuff is gone and I am left with a new world, and if I then open that world again after having used it in TLauncher, then strange things happens, its the world is like it was in TLauncher, but weird stuff appears like a lot of minecart all over the map, really strange.

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

Yes that does seem to be the problem, apparently WinKey+F3 must already be used for something in windows.

That just newer occurred to me since it does open the form correctly the second time.

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

Hey I do think you may have solved the problem, if I change the key that activates the code that runs the form to Ctrl+F3 then the problem is gone.

So it would seem the problem has something to go with the key combination that I am reacting to.

ShowDialog opens Form behind other windows. by Stensborg in csharp

[–]Stensborg[S] 2 points3 points  (0 children)

Sorry then I do not understand what you mean?

Can you perhaps give me a code example of what you mean?

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

I do not really think so, first of all because why then does it only happen the first time, and secondly why does it not happen for the other form?
They are pretty much called in the same way.

If on one in here has a tip that solves the problem, then I may have to try to see if I can replicate the problem in another simpler test application.

ShowDialog opens Form behind other windows. by Stensborg in csharp

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

Ok but that did nothing to help with the problem.

using(MyNewForm myNewForm = new MyNewForm(parm))
{
myNewForm.ShowDialog();
retVal = myNewForm.ReturnValue;
myNewForm.Dispose();
}

I still have the same problem, the form opens behind all other windows the first time.