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
F

Fabio Franco

@Fabio Franco
About
Posts
1.3k
Topics
27
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Is anyone facing this issue with their external displays? If so... have you been able to solve it?
    F Fabio Franco

    To avoid this problem I only plug-in the USB-C cable to the laptop, after it has booted up. DELL inspiron laptop and DELL dock with two monitors too.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge com graphics help question

  • Benefits of switching to Win11?
    F Fabio Franco

    Never worked for me, specially if the monitor screens also turn off. Also, if you unplug the laptop from the monitors (like when going for a meeting), then coming back, the windows also come back to the original positions.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question

  • Benefits of switching to Win11?
    F Fabio Franco

    Just do it then. Such a relief from this annoyance

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question

  • Benefits of switching to Win11?
    F Fabio Franco

    Well, the multi monitor friendly features alone make it worth it. No more moving all windows back to their place when the laptop goes to sleep. If that is relevant to you, it's reason enough. Also it feels much more smooth. The whole UI experience improved quite a bit. The standard apps like explorer and notepad got noticeable improvements. Dark theme first class support too.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question

  • I wish to meet all of the people who say "math is useless to programmers"
    F Fabio Franco

    Now imagine how much you'd bang your head if you never had exposure to those. Knowledge is never lost, just dormant. You can rest assured if you didn't have any exposure, your life would be a lot harder now.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge c++ question career

  • Updated: Personal Data Backup
    F Fabio Franco

    Well, I wouldn't dare enter the domain of non personal backup in this thread. Scenarios are way too variable, much more complex (even Internet connection is different, via dedicated links) and usually employ multiple fallback mechanisms. When we talk about 24/7 availability and disaster recovery, we are talking way beyond backups and in many occasions Internet is necessary anyway, in which cases there are redundant Internet connectivity infrastructure in place. Now, back to personal or even small business use, I am all for being safe and save places that Internet is really an issue, which today are concentrade on pockets of African countries, most of the time (I assume) you wouldn't a super reliable Internet. If you get mange to do the initial setup, everything else is incremental. You can configure your cloud storage provider to always maintain a local copy, this way, at worst you get a delayed setup, where backups are incremental and which I also assume, in most cases would be faster than taking physical devices from one place to another to maintain a safe copy of everything. If Internet is down, the new files or new versions of files will be updated once Internet is back online. To me it's a very easy trade off to make, if my Internet connection is not super reliable. So I get online storage in addition to local copies most of the time, without the hassle and human error factor, plus geo redundancy. Also, if I am super paranoid, I could copy stuff somewhere else "if" I am working on critical files "and if" there is a major outage (of Internet or cloud providers). But that to me would be an edge case, for which there are easy workarounds. I'd hate to have my head space occupied with backup procedures. Obviously each case is a case and there is no one size fits all on this, but I do believe online cloud storage covers most cases in an acceptably reliable way.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question javascript visual-studio com

  • Updated: Personal Data Backup
    F Fabio Franco

    Mike Winiberg wrote:

    If the data is important to you, then multiple copies on local storage is the only way to be reasonably sure that when you need that info it will be available. And testing/refreshing the backups too!

    That's even easier with cloud services. You add in one device, it syncs with all of them, naturally creating already multiple local copies. All you need to do is keep those devices connected and you will always have access to those files. If service gets shutdown, your local copy is already there. Much better than relying on a manual error prone process of maintaining multiple local copies, which may all be gone if your house catches on fire. Plus, with a service like this you can even keep stuff locally but geographically distant (like the office, or some family member's house) without additional effort.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question javascript visual-studio com

  • Updated: Personal Data Backup
    F Fabio Franco

    To me the convenience alone is already worth the price. I personally like OneDrive, it has ransomware protection, versions all your files, so not only in the event of a ransomware, but also your own mistake, you can go back in time. Moreover, having these files accessible on multiple devices, just makes everything so much easier. No manual process of backing up stuff, you just go keep on putting stuff there and it syncs. I use Office364 family eidition, which gives not only me, but 5 other people from my family access to the office suite + 1TB of online storage each.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question javascript visual-studio com

  • An interesting blockchain read
    F Fabio Franco

    Distributed duplication? Global Distributed database with many read replicas and one random write replica?

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge c++ com json oop question

  • An interesting blockchain read
    F Fabio Franco

    See my response below. As if blockchain could only be done that way. Which is not true. That's Blockchain alpha, which is bitcoin and etherum. I see many articles like this that portray a very incomplete picture of blockchain and are usually very biased our misinformed.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge c++ com json oop question

  • An interesting blockchain read
    F Fabio Franco

    It's because Ethereum and Bitcoin are based on an already legacy consensus algorithm (Proof of Work). Several better alternatives were devised (if you google blockchain consensus algorithms, you gonna find a bunch of them). How proof of work works is basically guessing a number (hash), so whoever guesses first, gets the transaction reward. That guess is then validated by the remaining of the network to "prove" it's validity. Because guessing takes resources (computational power), it's not easy or cheap to fake a transaction and convince the network of it. Because to fake the latest "block", you would need to recalculate all the blocks behind it (that's where block"chain" comes from). Every new block's hash is based in the previous block. So each new block makes it harder to overwrite the network. It's expensive and you sill may not be able to convince the rest of the network, it's not a wise investment. Very likely you will not succeed (otherwise bitcoin and etherum would have been taken over already). Problem comes when the network grows (in nodes and transactions). The network adjusts itself and increases the difficulty of the guess, because more people are trying to guess. Instead of trying to guess a number from 1 to 10, you start needing to guess 1 to 100, then 1 to 1000, so on and so on. And that's when things become wasteful on Proof of Work based blockchain networks. So the problem is that Proof of Work does not scale well, driving the energy costs up. Other consensus algorithms such as the one Ethereum is trying to adopt (Proof of Stake) does not rely on computing power to strengthen itself. The miner instead stakes wealth (for Ethereum, it's Ether). So instead of guessing you need to put your valuable crypto on the block pot instead of spending your valuable energy trying guess how much is in the pot. That is what protects the network from attacks. You need to stake a lot of money on an attack and if you're not successful you're going to lose it all. The challenge of "upgrading" (to be more precise, is to change the algorithm for mining and validation), which Ethereum has been trying to do for years is that you actually need to convince the majority of the network to flip the switch at the same and synchronize it well, otherwise it will fail or interrupt the network. So it's quite challenging to change something in the network once it's widely stablished.

    To alcohol! The cause of, and solut

    The Lounge c++ com json oop question

  • Developer Laptop
    F Fabio Franco

    I am very happy with MSI Creator series. Got some good horsepower, lots of SSD, lots of RAM, is light and thin, good battery life while unplugged and as a bonus a nice graphics card. And it also has a very professional look, which makes it suitable for an office.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge graphics hardware question career

  • How did I not know this?
    F Fabio Franco

    I don't remember exactly which solution did this right to me, but I think it was google calendar. The way it handled it was that when I travelled, it detected I was in a different time zone than of where the event was registered and showed a hint saying that the event was registered in a different timezone and displayed the time of that timezone along the time on my current timezone. For that to be possible not only you save the UTC value of the event, but the also the timezone of the location when it happened. Then with the current timezone you can do all types UX improvement for this type of scenario, without cluttering it when it's not necessary.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge csharp javascript cloud help winforms

  • Place your bets ladies and gentleman!
    F Fabio Franco

    Well, I don't see in the rules how specific it should be, so I do bet in not pacific hahaha. Actually I think I will bet planet Earth

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge

  • Place your bets ladies and gentleman!
    F Fabio Franco

    Don't have the skills to do it (specially with CP emojis), but couldn't resist googling the ASCII art.

    ............................................________
    ....................................,.-'"...................``~.,
    .............................,.-"..................................."-.,
    .........................,/...............................................":,
    .....................,?......................................................,
    .................../...........................................................,}
    ................./......................................................,:`^`..}
    .............../...................................................,:"........./
    ..............?.....__.........................................:`.........../
    ............./__.(....."~-,_..............................,:`........../
    .........../(_...."~,_........"~,_....................,:`........_/
    ..........{.._$;_......"=,_......."-,_.......,.-~-,},.~";/....}
    ...........((.....*~_......."=-._......";,,./`..../"............../
    ...,,,___.`~,......"~.,....................`.....}............../
    ............(....`=-,,.......`........................(......;_,,-"
    ............/.`~,......`-...................................../
    .............`~.*-,.....................................|,./.....,__
    ,,_..........}.>-._...................................|..............`=~-,
    .....`=~-,__......`,.................................
    ...................`=~-,,.,...............................
    ................................`:,,...........................`..............__
    .....................................`=-,...................,%`>--==``
    ........................................_..........._,-%.......`
    ...................................,

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge

  • Place your bets ladies and gentleman!
    F Fabio Franco

    OriginalGriff wrote:

    The odds are with me here. :-D

    Well, there is 70% chance that it is not in the pacific ocean, so I beg to differ :laugh:

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge

  • The balance between architecture and code
    F Fabio Franco

    I had been there so many times that it just screams to me all the balancing only experience taught me. Usually learning materials are not really in touch with reality and all the ways it can variate. My experience is that: 1 - The first step is to try anticipating the scale and lifetime of a project. This will help avoid unnecessary over or under-engineering. Patterns exist to help us, but they are often not worth the cost and can create a huge technical debt in the team. 2 - Code reuse is a double edged sword. It can both help to prevent bugs, but also create bugs. When dealing with complex systems, creating a single business rules model can be very bad. You start twisting and over abstracting so much that the codebase starts becoming very hard to understand, creates a lot of coupling and unpredictable side effects. Applying DDD here is beneficial as you separate an often "Big Ball of Organized Mess" into smaller more manageable contexts (bounded contexts). That will somewhat generate code duplication, but I believe it to be a good thing as the chances of side effects are greatly reduced and allows different business domains to evolve independently. Of course, this requires some mindfulness on the impact of a change in the big pictures, but scenarios like the one below are so much easier to deal with, that's worth the code repetition (and some times data): Consider a hypothetical system where we have an employee class which are part of two different business domains: 1 - Payroll Management: For payroll management, you need a model that contains properties like: salary, working schedule, name, address, tax number, email. It should contain methods like calculatePayrollTaxes, calculateNetSalary, calculateIncomeTaxes, updatePersonalInfo 2 - Sales: For sales rules you likely need a whole different approach for the employee rate. For example. In a commissioned scheme, you'd need the following properties: commission rate, name, mtdCost. The methods could probably be much more focused like just having calculateCommission. Because the P&L report needs to account for the costs of the employee, a change in payroll taxes, salary or work schedule will affect the month to date costs. But that can be kept in its entirety contained within Employee entity of the Payroll Management context, without having a huge class with all rules that involve employees. It makes a lot easier to maintain its business rules, doesn't require and endless number of abstraction layers and has much lower chances of causing side effec

    The Lounge com architecture question discussion

  • What part of software development do you wish was "fixed"?
    F Fabio Franco

    The [super chicken](https://www.ted.com/talks/margaret\_heffernan\_forget\_the\_pecking\_order\_at\_work?language=en) problem.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge help python visual-studio csharp javascript

  • Microsoft Edge is a Virus
    F Fabio Franco

    That's not really about edge and more about Windows. Edge doesn't have the power to change default apps on its own. I do enjoy the browser, but do hate Windows and its anti-trust behaviors which are not limited to Edge browser. As far as browser is concerned I actually moved to Edge because of Chrome's privacy issues and been happy since, because to me is a better browser overall.

    To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson ---- Our heads are round so our thoughts can change direction - Francis Picabia

    The Lounge question announcement

  • Is CS not meant for beginners or do I have severe ADHD?
    F Fabio Franco

    Well, I read you describe yourself and it seem like you're describing me. Let first start by telling you something about doing what we (programmers) do. It's because we love it. It's because we're curious and it's because we love the feeling of accomplishment, almost as if we were performing magic when we make something work for the first time. Now, if you share some of that sentiment, you're likely on the right direction and on the right path, everything else is learned, including the way of thinking. I for one, always learned best with books. As you said, doing it at my own pace, with the book open over my lap or desk, while I would try whatever I had just learned. It takes time. Fortunately when I started I had time, I was 14 years old when I read my first book. My first book was from the series "teach yourself in 21 days", which was obviously impossible for me with a book of over 700 pages, doing hands one. It was more likely 21 weeks. What I also didn't know at the time is that I have ADHD (actually ADD, which is the mostly inattentive version). That said, books were one of the only things that actually captured my attention and focus. But yep, in that sense it also made me a slow learner. I started treating myself for the condition just now, over 20 years later, back then I was completely oblivious of the situation, as a matter of fact, I have spent a lot of my life being oblivious about too many things. Too much time in my head and I am thankful for discovering programming (by accident), which gave me some direction. When I actually went to university, I already knew so much that I would spend my time in class helping others, rather than learning myself, this let me slide through CS classes quite easily and the prior knowledge removed the pressure to learn all of these subjects at the same time. As I never liked to do homework, I could use my spare time in class to do exercises on subjects I was not very savvy about, like physics and calculus. So maybe you should ask yourself if it's the right time to do Uni of if you could take it slower. I am not sure about the education system there, but have you considered if you can take less classes at a time? I think this could help you focus and give you room to properly learn stuff. There is no point on rushing through uni if you cannot retain what you're being fed with. It's just a waste of time and money. You should realize what you're experiencing as a red flag and you need to reassess your goals. I think it's no shame on taking longer in the

    The Lounge java php question learning
  • Login

  • Don't have an account? Register

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