Mihies

joined 2 years ago
[–] Mihies@programming.dev 1 points 10 hours ago

I use cake build to create the build script and then I can run it from wherever.

[–] Mihies@programming.dev 2 points 10 hours ago* (last edited 10 hours ago) (1 children)

There is no store in the range of hundred kilometers that I know of, plus I prefer e-reading, don't really want to hoard them. If it was available from library, it'd be another story.
Edit: plus physical editions aren't exactly cheap for a single read.

[–] Mihies@programming.dev 21 points 11 hours ago (2 children)

For modern times insert an Israeli photo here

 

I wonder whether there is a way to read Berserk legally in EU possibly online. There are options in Japan, few in US me thinks but none obvious in EU. And in case there is Amazon, I don't want it from there.

[–] Mihies@programming.dev 1 points 20 hours ago

GC.Collect runs in a different thread and it is not blocked by waiting on terminal. And calling Collect is not just a piece of advice, it starts collection. And yes, usually one does not call Collect unless it knows why (there are cases it makes sense), but setting reference to null doesn't hurt (but doesn't help probably). As per destructors, those are for freeing unmanaged resources only.

[–] Mihies@programming.dev 3 points 21 hours ago (1 children)

OTOH gc might decide not to collect it immediately since it's in a static method, try this instead

DestructorDemo? obj1 = new DestructorDemo();
//Making obj1 for Garbage Collection
obj1 = null;
for (int i = 0; i < 10; i++)
{
    GC.Collect();
    GC.WaitForPendingFinalizers();
    obj1 = new DestructorDemo();
}

You'll see destructor in action.

[–] Mihies@programming.dev 2 points 22 hours ago

Try with Trace.WriteLine instead of Console.

[–] Mihies@programming.dev 5 points 1 day ago (1 children)

It's a Belgium company now, right? Still much better then an outside EU one.

[–] Mihies@programming.dev 2 points 1 day ago

Another alternative that I know of is Rider which supports Android apps with .NET. But it's not OSS nor supports Kotlin. I'd like to see an alternative as well, but I fear unless Jetbrains creates something else (and most probably they won't) there will be no other options.

[–] Mihies@programming.dev 18 points 1 day ago (3 children)

German as built in Germany.

GlobalFoundries in Dresden and X-FAB in Erfurt

[–] Mihies@programming.dev 0 points 2 days ago

They provide the weapons so we can help them with imperialism. Also while Europe doesn't (?) blindly support Israel, the second biggest genocide enabler comes from EU and third (probably) comes from ex-EU. Yes, there are some European countries that don't blindly support Israel, but at the best they whine a bit about our concern.

[–] Mihies@programming.dev 4 points 2 days ago

Greenland wants a word with you

[–] Mihies@programming.dev 2 points 2 days ago

So just throw all that confirmed NO to Guantanamo. There, problem solved.

 

Hi guys,

Unfortunately I have a bloody Pixel 6a (my first and last Google phone) with problematic battery and I wonder where to get a replacement battery from. There is plenty of those on AliExpress but I'd really like to avoid having a battery with same issues or worse. There is no battery available from my country's importer. I'm from EU. Any recommendation?

TIA

 

Can't wait for full album. 🤤

 

This is a truly WTF moment about messed up responses to X11 session removal in Gnome.

2 weeks ago I published a blogpost about the upcoming plans of GNOME 49 and the eventual removal of the X11 session. Since then, instead of looking at feedback, bugs and issues related to the topic, we all collectively had to deal with the following, and I am not exaggerating one bit:

  • Fascists and Nazis
  • Wild Conspiracy Theories that make Qanon jealous
  • “Concerned” Trolling about the Accessibility of the Wayland session
  • A culture war where Wayland is Gay, and X11 is the glorious past they stole from you

In my wildest dreams I could have never made this shit up. You all need mandatory supervised access to the Internet from now on.

10
Roglič abandons Giro (programming.dev)
submitted 6 months ago* (last edited 6 months ago) by Mihies@programming.dev to c/bicycling@lemmy.world
 

Sadly Roglič, after taking ~~3~~ 4 falls, abandons the Giro. 🙁

 

I'm going to move away from Windows into Linux and have some strategical questions, among others how do you handle backups/restore and how do you switch distros.

There are two main questions (in case of catastrophic failure or transition):

  1. How do you reinstall your apps? I'm considering ansible for that - have all my installs (as much as possible) done through ansible playbooks.
  2. How do you recover your backup data? Just copy from backup to home directory probably won't do when it comes to a different distro, or? Here I'm considering doing ZFS snapshosts (ZFS pool/datasets would be used for my home directory) to my backup server but not sure how to recover it in case of switching to a different distro. It should be copy in the case of system restoration I guess.

Any other recommendations?

 

Did anybody manage to drive three 4K@60 displays with just the iGPU of a 9900X or forthcoming X3D? The displays should be all DP or HDMI, but not a mix, so a KVM switch can be used. From what I see, mobos have at best two USB4 ports that each could drive 2 DP displays. In theory, that is. While CPU should be able to drive three such displays. I'm not into gaming or such, just need displays for development and want to avoid unnecessary discrete GPU and it's power draw if possible.

 

'Oil and gas, Aliyev said, are “a gift of the God”'

We are doomed

 

I'm looking for a front light "for being seen" that can be mounted under K-Edge mount - GoPro adapter. Not looking for something heavier that illuminates the road ahead (thought I might in future). It has to e rechargeable, USB-C preferably and available in EU. Any suggestions? TIA

 

Well written thoughts on C#12 primary constructors. Sadly they are not really useful. At least for now.

 

I was always wondering this. Imagine a steep descent. What is better for brake wear - braking constantly or more powerful just at the end? Anybody knows? Goes for both rim and disc brakes

 

I'm considering Fiido Titan as e-bike for shopping and short distance commuting. It's hilly where I need it. Any thoughts on bike quality or anything else? From a review on YouTube it seems decent enough. TIA

view more: next ›