Hacker Newsnew | past | comments | ask | show | jobs | submit | more BiteCode_dev's commentslogin

I've been fighting to keep Unity as long as I could, but it's now breaking too often so I accepted my gnome shell fate. It requires 10 plugins, one app, and manually crafted .desktop files to be usable, but ok, it's free software, I'll adapt.

I understand the rational to also push for wayland first now, but it breaks my workflow for things like autokey. We do need to move from X11, but once again, something I will have to work with.

And now Firefox is a snap, which is slow, has permissions problems all around (guaranteed the sandbox will break some addons), takes a lot of space, etc. Again, I get it, it's a perfect candidate to push the tech, and they need to solve user facing apps distribution problem with linux.

I like Ubuntu a lot. I donate to it. I don't want to migrate to Manjaro or something else. Ubuntu is the sweet spot for things working out of the box.

But with 21.010, I really feel like at least moving to Elementary or PopOS right now. Tried them, the first one can't install (EFI partition is too small), the second breaks on my machine.

I don't like KDE, so I guess, next is Xubuntu? Something else?


Pop!_OS just published 21.10 beta yesterday so you're in good luck.

https://www.reddit.com/r/pop_os/comments/q6xvv0/pop_os_2110_...

Having nothing but great things to say about this distro. Favorite Linux distro I've used.


Isn't pop also gnome? You can install pop shell which is an extension. It adds tiling, which isn't for everyone.

I'm like you don't like the fact that defaul gnome is so bad that I need a bunch of extensions. But I don't like KDE either, looks so inconsistent, too much pointless blurring and animation. However, I guess other choices are worse because they would have some other flaws that you can't even find extensions to work around.


I tried to install the pop shell, but it worked out badly. Those distro are not made to just have the DE installed after the installation of Ubuntu. Something always breaks.

You have to install from the official .iso


But it's not a DE just extension of Gnome? I've never actually tried Pop OS but after installing pop shell, I only got windows tiling. The only thing missing is the command palette which I don't really mind.


All those distros have different default settings.

E.G: full disk encryption is enabled by default when you install it, which is the opposite of most Ubuntu based distros.


Perhaps Ubuntu Mate with Mutiny?


Is that still maintained ? It was an experiment in 16.04 right?


It works out of the box for most hardware, install proprietary things easily, including drivers and codecs, and have more up to date softwares. It also have lots of usability tweaks.

You can, have all that with debian, but then you have to do the work.

I don't want to do the work if canonical can do it for me.


I installed debian just a few weeks ago on my brand new desktop. AMD Ryzen 5800x, MSI B550 motherboard, MSI Nvidia RTX 3060 Ti. Everything worked, out of the box, without adding anything magical. Including Ethernet, wifi, Bluetooth and hardware accelerated graphics. Have been buying Nvidia gpu's since forever and their (proprietary) drivers have never let me down.

So I'm not sure what you're talking about. Also, more up to date software, I'm quite certain my Debian Sid has more recent versions of everything compared to what Ubuntu has.


Yeah, I've met those kind of comments for 15 years.

There is always somebody to say that in those kind of threads. Same as Vi is easy, try Manjaro, Nix, this latest implementation of LISP, that NoSQL db, this DSL, etc.

I used to give them the benefit of the doubt, spend some time testing the alternative the person talked about, came out disappointed, and wasted time.

Now I just trust numbers. When 100 people like you will tell me the same for 3 years, I will try.

Before that, I'll stay on what I know works.


I use Linux distributions since 1995, starting with Slackware 2.0, there is always someone that tells that.

Hence why I mostly run Linux on VMs nowadays, and Android/Linux.


Have you considered Fedora?

I recently moved from Arch to Fedora and I have all the same up to date vanilla packages without having to do any real work.


I tried so many distros. None of them fit the bill for a pro laptop.

I don't want to move out of ubuntu based distros, they get too many things right.

I'd rather try Elementary, Pop OS, Xubuntu, etc.


I have heard great things about PopOS but haven't tried it personally. Hopefully you find the right distro for you.


Go for it! Those are great choices, you'll do fine.


In their mind it makes sense: firefox is a user facing app that is frequently updated and requires a lot of dependencies. Perfect candidate for a snap.

But yeah, up to now, snaps really sucked, and flatpak is winning.


Well, in this day and age of bazooka DMCA take down, it's refreshing to see a game author happy about his game being gutted, and put online to play.


> it's refreshing to see a game author happy about his game being gutted, and put online to play.

The game author is typically not the copyright holder.


Nah, design patterns are mostly communication tools.

When you name something "factory", when some doc mentions "dependency injection", when you import a "register", when you talk with a colleague about a "decodator", if you know the name, you already know what it does, and what the API will probably look like.

I say probably, because we don't have a format definition of all design patterns, nor are they all recognized as such. For for the ones that are and we do, we don't all agree. Not to mention you must adapt them to problems and languages.

So sure, when you code and you encounter a problem, you may use a design pattern. But you don't explicitly do so. Just like a chess master doesn't chose a move by thinking "I'm going to use x", they just decide on it, and also adapt it to the situation.

I never think about design patterns when I code, only when I name the code, I write the doc, and talk about it. When I communicate.

If you read a book about design patterns, they will make no sense to you. You will probably misuse them. But if you look at real life source codes from other devs, or yours again and again, you realize some problems come back often, and a lot of people use similar solutions. Then you look it up: bingo, it has a name.

That's how it works, not the other way around. It's formalization of real life, not theory to apply.


> Just like a chess master doesn't chose a move by thinking "I'm going to use x", they just decide on it, and also adapt it to the situation.

This is an interesting analogy maybe someone who knows more about chess can correct me, but don’t chess masters have elaborate memorized openings and end games where they do decide to use “the indian defense” then go on autopilot until someone deviates from the common lines?


The idea is that they won't tell themself, "I'm going to use the indian defense".

Just like I won't tell myself "I'm going to apply the strategy pattern here".

We just see the situation, and if it calls from a solution from the banks of solutions we have encountered in the past, we see if it fits, we try to apply it if it does (tailoring may be necessary).

Then the commentator later may say "oh, he decided to use Y". But that's for the benefits of the people watching.


I'm largely agreed with this, but to add on:

if you consider the idea source -- Alexander's A Pattern Language -- the notion of a pattern is a more useful than that; it is both a communication tool, as well as the realization that the problem (in his case, buildings) can be subdivided into smaller parts, and at a certain level, these parts fall into common repeating forms (patterns). You can thus mostly initialize the design by simply composing patterns together.

The key that typically gets lost in GoF pattern discussions is that it doesn't end there. Once the patterns are decided, you need to account for the non-standard details of the problem at hand -- e.g. the house is partly on a hill. The hill raises the height of the door. The door had a relationship with the window -- it's no longer aligned, and will have to be modified to fit. With the shift of the window, the mirrors need to change.. and with the mirrors, the door. Eventually these changes will stabilize, producing an equilibrium (TB: he declares that equilibrium to be "beauty", and a feature that everyone can innately detect, though they may not know how to reach it... this corresponds strongly to "code smell" or "elegance" in programming)

So the elements of the home starts as patterns, but they're also in a fluid state, and the effects of reality will trigger a feedback loop, creating continuous design reflows, until the whole thing reaches an equilibrium (and you can now build the house).

He then goes on to note that the home exists in a continuously fluid state (as it's used and changed by inhabitants), constantly deviating from that equilibrium, and being brought back into that state. So the most beautiful homes are those not designed into a harmonious state, but maintained in a harmonious state -- I particularly like the correspondence to programming here.


Yes, but even after the opening lines are exhausted, a huge part of expert chess play is just intuition and choosing which moves “look right”, rather than conscious thought and calculation (though that too has its place).


The equivalent of a standard chess opening would be a function call or some form of template in software engineering.


It's also because the britanic banking system decided that, on the safety / usability balance, they would choose usability.

Banking in britanic banking system is way easier than anywhere else. I remember when I was a student, they sent a bus to the university, so we could just hop in, arrive at the bank, and open an account as an immigrant in 15 minutes.

Try to do that in France, you would get your card, what, next month at best?

It was only a matter of time before the criminals realize the door was unlocked and feast on them.

In fact, I'm expecting Australia to be next, for the very same reasons.

Have you tried to do any paper work in Australia ? It's. So. Simple. Seriously, for a french, it's a video game on easy mode, and you never leave the tutorial.

But there is trust everywhere.

They are either going down, or make the system harder to work with.


Just an fyi, for at least the last 6 years it is very difficult for any kind of migrant to open an account


Unless the fraudulent transaction is due to the fact you just lost your credit card.


The important part is that you are able to look up/personally verify that you are contacting the correct people. If I lose my card I can still look up the right number on my banks website. Because you cannot confidently identify a caller it is better for the customer to reach out using more easily verified information.


Well yeah.. but again, the number could also be in the footer of the banks website.

People usually get scammed when they have the card with them... when they lose the card, they're the one actively looking for a phone number, and not presented with one from a scammer.


- "Sir, I'm calling you because I found your card, I called your bank, and they gave me your number. They told me you should report the card as lost in case it's been used fraudulently with the phone number that is written at the back of the card"

- "Can you send me back the card?"

- "I'm in a train, I won't be able to do that for a while. You should really call"

- "But I don't have the number"

- "I can read it to you"

Pwn


Red flag number 1 - my bank wouldn't give someone random my telephone number. That would be illegal.


Good thing there are no data leaks or compromises! /s

That my bank insists on using essentially now public information now to verify (and refuses to use anything else, even after being repeatedly asked!) is also infuriating. Last 4 of SSN and DOB? Really?


Well, the point isn't that my bank wouldn't "leak" my details - I certainly don't trust them that far. So it's absolutely possible for a random person to get my phone number from the bank. But if a random person were to phone me and tell me that my bank gave them my phone number to be helpful, I'd be calling that out as a lie.


If someone spoofs the banks number on caller ID (trivial), knows all your security question answers, the bank you bank with, and your number - very few people are NOT going to fall for some kind of attack there correct?


How could they figure out the internal account number without hacking into the bank in the first place? I’m fairly certain there’s no way to derive the account number from a debit card number or any of the info you mentioned.


Via the data leak issue I mentioned? [https://www.bankinfosecurity.com/capital-one-warns-more-data...] which are becoming more and more common?


You have confirmation that internal account numbers were leaked in the capital one breach?


It says so right in the linked article.

Additionally, bank account ‘internal’ account numbers are pasted on every check that goes out and any ACH transfers also include that information, so it’s not like they are hard to cross reference with any of the other major breaches.

SSN, dob, which banks people use (and other financial institutions), which loans they have with whom, etc. also got leaked for pretty much every US adult with the equifax hack.


But for this, you must lose a card, not realize you lost it, a scammer must find your card, and he must somehow get your phone number to scam you.


If my bank has blocked fraudulent transactions for a card I've lost, I'm not in much hurry to respond. They've already blocked it, and I don't have the card to use anyway.


That number should also be on every single billing statement you've ever received from them, so you know, check that paper or pdf.


Sure, like anyone can be Usain Bolt if they are familiar with their body and has a deep understanding of running.


I'm so waiting for somebody selling pieces of the moon as NFT, like the good old 1900 scams.

They already redid the million dollars home page, NFT edition.


You can follow the answers to the announcement on the mailing list here: https://mail.python.org/archives/list/[email protected]/...

TL;DR: the author has working code for a CPython 3.9 implementation that gets rid of the GIL, works with most C extensions (albeit requiring to compile them again), and with better perfs _including_ for single threaded programs.

The report is worth read, very clear, professional, and humble, which for such a complex achievement, is quite a thing by itself.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: