Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
L

Lorenzo Bertolino

@Lorenzo Bertolino
About
Posts
27
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • On potentially enabling piracy and responsibilities in that regard
    L Lorenzo Bertolino

    Don't worry, such tools exist already, Plex and Jellyfin to name two popular ones and Plex even comes with a paid version to unlock more features! Is it ethically dubious? To me honestly not much, it's not like people commit less of a crime by downloading pirated videos and watching them using say a smb share and vlc on their TV Would people use it to watch pirated content? If it has better features than the current alternatives I'm sure someone would But I don't think is your responsibility to cripple it or keep it private as to not enable piracy, you are not the one committing a crime by using it to view pirated movies and people will do it anyway

    The Lounge design help question html database

  • The Future they say you want: Apple vision pro
    L Lorenzo Bertolino

    People, as usual, lack common sense but honestly, as a substitute to my 3 monitor setup at work? I'd at least give it a try if only just for the giant screen space I'd have.. if it was possible to connect to a windows PC with something more than RDP and it would be fantastic if when connected to a Mac it was possible to move the windows in space instead of having just one screen replicated in the room

    The Lounge

  • AI Economic Modelling
    L Lorenzo Bertolino

    Yes, fantastic, in how much time compared to those algorithms? In many cases speed and a moderate size reduction is a lot better than smaller but slower (and maybe by a lot, the paper doesn't say and I highly doubt AI is nearly as fast)

    The Lounge

  • What's your font?
    L Lorenzo Bertolino

    I really like coding ligatures so I used Fira Code for a while and then 3 or 4 years ago switched to Cascadia Code. It's one of the things I install straight away on my new computers, together with the basic toolbox of programs I use daily

    The Lounge csharp visual-studio question

  • Coding Pet Peeves
    L Lorenzo Bertolino

    #1 I have no issues at all with the absence of braces but code must be indented correctly at ALL times, no excuses or exceptions #2 I don't really care, maybe I'd enable auto wrap or reformat the code to do it, luckily I don't see it often #3 just for C#, for C++ I prefer on the same line and even for C# it's just because there is a preferred style and it would be dumb to go against the current, if it wasn't for that, braces would be on the same line

    The Lounge wpf help question

  • App, or Pocket calculator?
    L Lorenzo Bertolino

    I'm not 30 yet And not only do I know the meaning but I also used it for a while :~

    The Lounge mobile visual-studio question career

  • Comparison of 2 Web Hosts
    L Lorenzo Bertolino

    To me (Italy) WinHost sits at 11.299 and SmarterASP.net at 10.812

    The Lounge csharp asp-net com data-structures sales

  • Comparison of 2 Web Hosts
    L Lorenzo Bertolino

    The DDOS exception is not being willing to find a solution to me, charge a bit more and put your website behind a CDN

    The Lounge csharp asp-net com data-structures sales

  • .Net 5 Freakin Annoying
    L Lorenzo Bertolino

    I disagree, even an expert brain farts sometimes and the compiler warning you of that is, to me, useful to avoid bugs. And having the warnings in place can help in shared codebases, if you work alone sure, disable them. If it's shared I much prefer having them enabled and when you do weird stuff you disable it with a comment right there and not globally

    The Lounge dotnet csharp

  • Is it just me...
    L Lorenzo Bertolino

    I somehow prefer the worst of both worlds, trackballs, they have a ball that gets dirty and are laser tracked :cool:

    The Lounge performance c++ mobile com oop

  • So yes, I meant to ask, "What is the metaverse"
    L Lorenzo Bertolino

    The way I translate it in understandable terms is a VR open-world game in which everyone can buy land and build virtual stuff with real money, interact with other avatars, exchange said virtual stuff. Basically a Matrix built for corporate greed, where you can rent a spot in Times Square for a kidney and a half or a spot under a dirty bridge for a few cents, but it's in VR! (and FacebookMeta will happily take a commission from each and every transaction in this world)

    The Lounge asp-net csharp dotnet com json

  • I wish to meet all of the people who say "math is useless to programmers"
    L Lorenzo Bertolino

    Yeah, sure, it's just that I don't think that since there are some programmers that make chemistry software we should all learn chemistry, same thing for maths or music for people that make DAWs. I don't have your job ;P and if I did.. I would probably be of the same idea, I didn't learn CUDA at school, now I need it and learnt it, it would be absurd to think that school would have had to teach it to me. :)

    The Lounge c++ question career

  • I wish to meet all of the people who say "math is useless to programmers"
    L Lorenzo Bertolino

    Surely not useless but I don't think it deserves the emphasis it has, when I needed FFTs I learnt them, I never had a need for Laplace so I don't know it, I remember some basic trigonometry and I never had a need for something remotely as "advanced" as what we did in school. School taught me to learn, what I learnt is largely irrelevant to me now. If I could go back and chose to not have some math classes, I would do it

    The Lounge c++ question career

  • Well, negative advertising seems to help stop smoking. Will it work here?
    L Lorenzo Bertolino

    There is no health monopoly in Italy, we have plenty of private clinics and they will be more than happy to take your money. But we actually recognise health as a sort of basic human right and everybody is entitled to it, no matter what. If you can and want, sure, pay up and go to the best doctor there is, if you can't, you probably won't get the best treatment but you will at least get treated. At least we don't have people screaming "don't call the ambulance" after an accident around here and you can't get in debt for a visit in the ER, that is free no matter what

    The Lounge com help question

  • The joys of 3D printing
    L Lorenzo Bertolino

    It actually is free unless you make more than 5k a year from it or something like that!

    The Lounge c++ question

  • Power Shell without the complexity? Could be ...
    L Lorenzo Bertolino

    As a REPL, I dislike its verbosity but for writing scripts it's fantastic compared to bash, so much simpler. Spacing around `=` is irrelevant instead of throwing weird errors. The if statement behaves like a programming language and does not have weird stuff like [[ ]] that changes something.. I never understood bash as a language. That being said, I miss quite some stuff from coreutils on windows.. and I just realized that Git installs them and just added `C:\Program Files\Git\usr\bin` to the path, so I don't actually miss them anymore

    The Lounge com linux algorithms tutorial question

  • Programming peeve of the Day
    L Lorenzo Bertolino

    Sure, in a function that is 1000 lines long, it isn't clear. In one that fits on the screen is quite obvious. But I'd argue that a function that long isn't clear either way. :-D

    The Lounge

  • C Sharps - how are you getting on with nullable reference types?
    L Lorenzo Bertolino

    I tried them first in swift where they are called more appropriately (at least to me) Optionals They basically have the same syntax and behavior and they are neat! (unless you force unwrap a null value and everything explodes as a normal null usage would do)

    The Lounge csharp com performance help tutorial

  • CPU: Could you help me understanding it?
    L Lorenzo Bertolino

    Every modern cpu works in a range of frequencies, from idle to boost (which is a frequency that the processor will keep for a brief amount of time) Most Intel CPUs are sold either as "locked" or "unlocked", just the unlocked ones can be used for overclocking because they allow changing the configuration of voltages and frequencies. If I remember correctly, AMD ones (or at least Ryzens) are all sold unlocked. Overclocking is very much still alive, it's just the process of changing a setting from an app or the bios over the limit set by the manufacturer

    The Lounge html asp-net visual-studio com help

  • CPU: Could you help me understanding it?
    L Lorenzo Bertolino

    Quote:

    This said, all the newer ones run at a much lower base frequency. Does this means the everyday tasks on programs prepared to run only on one core will run slower?

    The base clock (frequency) is the frequency used when the cpu is idle, it has no impact on performance AFAIK, especially considering that during normal use, the cpu sits idle about 90% of the time, It surely matters a lot less than the max sustained clock or boost (instantaneous) clock speeds.

    Quote:

    In case we would have 3 single core designed programs running at the same time... Would windows set them to use a different core each?

    No, Windows' scheduler handles everything, single thread apps can and often will be moved around, for... reasons :shrug: If the processes don't use 100% of the core, they might even run on the same one, if the almighty scheduler says so

    Quote:

    If I would have 3 vmware virtual machines running at once... having more cores would be better (would each core be dedicated to one virtual machine)?

    I don't know what exactly happens but I see 2 scenarios: 1. yes, the cores are dedicated to the vm instance and that's it, having more cores would mean that you can allocate more of them to the VMs (the usefulness of this may vary a lot, depending on your workload) 2. no, the scheduler handles the vm jobs exactly as it would with a normal host os process and the scheduler inside the guest os doesn't know that it's not running on an actual cpu but a virtual one* Having more physical cores, might improve performance in this case too, **depending on the workload** * it might and that could trigger some kind of optimization but... I have no idea, it probably depends on the combination of guest OS, host OS and virtualization app you're using (I'll leave this to someone more knowledgeable than me)

    The Lounge html asp-net visual-studio com help
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups