Some VPNs allow you to select apps that are affected or not (proton does). That might allow you to route discord only via a chosen country.
- 3 Posts
- 68 Comments
wth@sh.itjust.worksto
Asklemmy@lemmy.ml•People who claim that other languages beyond C, C++ are BS. What is their deal?
22·1 year agoAs an older coder, I’ve spent time commercially programming in a lot of languages (C, C++, C#, Python, TransactSQL, Javascript, and a few more - with many years of experience in each. I even spent time squeezing some forth code into a small programmable chip.
My first comment on this « attitude » expressed above is that you need to pick the language (and its libraries) that is best for your problem space - each will have advantages, including constructs and libraries to suit whatever domain you are working in. Hence forth for a microchip, TransactSQL for DB stored procs, python for general purpose command line work etc.
Having said that I do want to present one viewpoint which could give rise to this above expressed opinion. It’s an area that C is considered pretty strong - specifically language complexity. When coding in C, I really felt like I knew every nook and cranny of the language, exactly how every structure would be packed, what the assembly would probably look like.
Python (and perhaps C#) are currently my favorite languages - python only has 36 keywords and while I don’t have the same solid grasp of what’s happening under the hood, I do feel like there are very few surprises and corner cases to the language, even while supporting some complex programming methodologies.
The opposite of this is (IMHO) swift. What started as a really nice language with a clean syntax and solid libraries has morphed into a monster with 232 keywords. Does any swift programmer have a solid grasp of it all?
I would say that C++ is at the complicated end of the spectrum - spend some time inside Boost and their extreme use of templates/meta-programming and it will make your head spin. The Boost developers are super smart people, but its non-trivial to understand what is going on. Having said that, C++ does make you feel that you can code close to the machine and have a good handle on what is happening under the hood.
This level of control is probably one place where this « only C and C++ code is any good » attitude came from. Its not an attitude I support.
wth@sh.itjust.worksto
No Stupid Questions@lemmy.world•I genuinely feel like I wouldn't live that differently even if I suddenly became ultra-wealthy. Am I kidding myself?
291·2 years agoIf you did get a seriously large lump of cash… after a settling in period a lot of changes will happen, and you will be happy they did (IMHO).
The reason is that one of the biggest gifts that wealth gives you is TIME. A lot of the day to day crap that the rest of us need to deal with just evaporates. No need to shop (there are people for that). Want to travel… people will organise everything. There will be no waiting in lines at airports, at restaurants, at government offices… there are people for that. Someone to clean, someone to pick up the kids (unless you want to of course), someone to cook, holidays on a fuck-off huge yacht with crew to manage everything, or just to zip to Paris for the weekend.
You will probably really appreciate not having to deal with most of that crap. Also, while you probably don’t want a stupid large house, you do want privacy and so will want to get a house on 1000 acres in a gorgeous landscape (plus perhaps apartments in various cities that you like).
Imagine moving from a food insecure lifestyle to a secure lifestyle where food, safety, housing is always there. Would you want to keep your old food-insecure lifestyle? No. Same with going from a food secure lifestyle to a time-and-resource abundant lifestyle.
wth@sh.itjust.worksto
Trackers: ꜱʜᴀʀɪɴɢ ɪꜱ ᴄᴀʀɪɴɢ@lemmy.dbzer0.com•FearNoPeer is open for signupsEnglish
1·2 years agoYeah, started working for me a few hours later.
wth@sh.itjust.worksto
Trackers: ꜱʜᴀʀɪɴɢ ɪꜱ ᴄᴀʀɪɴɢ@lemmy.dbzer0.com•FearNoPeer is open for signupsEnglish
4·2 years agoAnd clicking on the activation link again shows »too many tries »
wth@sh.itjust.worksto
Trackers: ꜱʜᴀʀɪɴɢ ɪꜱ ᴄᴀʀɪɴɢ@lemmy.dbzer0.com•FearNoPeer is open for signupsEnglish
5·2 years agoI signed up, got the activation email, clicked on that which took me to the login page.
Logging in shows me a message that I am not activated.
Weird.
I second the advice to switch to a different/previous/known good kernel. That has been the cause a most boot problems for me. I just had it happen on a VM a couple of weeks ago, so I switched to the old kernel, then removed the new kernel. I’ll wait for another kernel before upgrading.
It’s probably worth scanning your disk just in case as well.
wth@sh.itjust.worksto
Asklemmy@lemmy.ml•What single item improved the quality of your life over you got it? (Buyed it/got as present/made it)English
12·2 years agoI always plug in. I don’t know if it works with calibre server.
wth@sh.itjust.worksto
Asklemmy@lemmy.ml•What single item improved the quality of your life over you got it? (Buyed it/got as present/made it)English
4·2 years agoMy unmodified kobo syncs with calibre.
wth@sh.itjust.worksto
Asklemmy@lemmy.ml•People who have been through tough timew, how did you keep moving?
1·2 years agoI wish you both the best.
wth@sh.itjust.worksto
Programming@programming.dev•I accidentally removed the WHERE clause from my SQL query in a personal tool. Every row is now the same. I overwrote 206,000+ rows. I have no backup, I am stupid.English
8·2 years agoI learned the hard way about the beauty of backups and the 3, 2, 1 rule. And snapshots are the GOAT.
Even large and (supposedly) sophisticated teams can make this mistake, so dont feel bad. It’s all part of learning and growth. You have learned the lesson in a very real and visceral way - it will stick with you forever.
Example - a very large customer running our product across multiple servers, talking back to a large central (and shared) DB server. DB server shat itself. They called us up to see if we had any logs that could be used to reconstruct our part of their database server, because it turned out they had no backups. Had to say no.
wth@sh.itjust.worksto
Asklemmy@lemmy.ml•People who have been through tough timew, how did you keep moving?
6·2 years agoDamn… I feel for you. It sounds like you are in a tough spot. There’s lots of good advice on this page, and the one thing I will add is to protect and keep working on your relationship. Money is the core component of many (or was it most?) relationship problems.
You can get through it, but (IMHO) you need your wife right there with you (or at least, I did). We were doing ok until I tried to start a business and dropped my 9-5 job. Revenue was slim, and then at one point I earned nothing for 6 months. We were on the bones of our arse - living off a meagre kindergarten teacher’s wage paying rent and food. Without my wife, we would have drowned. She did amazing things in budgeting down to the last penny, no luxuries, riding everywhere, spending time together. It was hard and there was no end in sight for a long time. We were very lucky and things turned around. But I would have not managed it without her (and her incredible budgets).
It sound like you have been deep in it for longer than we were, and I wish you all the best in working your way out.
wth@sh.itjust.worksto
Ask Lemmy@lemmy.world•About electric vehicle. If you add the maintenance cost for battery, how does it fair compare to gasoline vehicle? On cost we have to pay.
9·3 years agoMy smaller battery MX Tesla, after 7 years, has gone from 330km to 308km. The degradation is a lot slower than you indicate.
wth@sh.itjust.worksto
Ask Lemmy@lemmy.world•What is a well known 'public secret' in the industry you work in that the majority of outsiders are unaware of?
192·3 years agoHe’s talking about the USA, so the guard could shoot your neighbour and be suspended with pay. If he wants to be extra cautious, he could yell stop resisting after shooting him.
wth@sh.itjust.worksto
Programming@programming.dev•The Top Programming Languages 2023English
2·3 years agoI am one… but I’m the only one I know at my company and socially.
wth@sh.itjust.worksto
Programming@programming.dev•The Top Programming Languages 2023English
1·3 years agoThe lists are quite similar with a slight reordering in the top 7 or 8. I guess both lists are a representative sample of developers… But there is one interesting difference:
IEEE: Python, Java, C++, C, JS, SQL, Go TIOBE: Python, C, C++, Java, C#, JS, VB (!), SQL
In IEEE, VB is way way down the list. Do IEEE members use VB less?
I’m always amazed that C still scores so high, but I’ve been told there is a lot of embedded work still going on.
wth@sh.itjust.worksto
Україна | Ukraine 🇺🇦@lemmy.ml•Journalist Daniel Kovalik on the situation on the group in UkraineEnglish
1·3 years agoI haven’t finished the article yet - but it was making some interesting points about people in the Donbas region wanting to join Russia, and that fighters there were locals, and not (as we have been told) itinerant Russians.
That was different to what I have heard before, and he pointed to the referendum in 2022 that shows that 87% of Donbas support annexation to Russia. However… that referendum was taken after the invasion and so needs to be considered possibly suspect. Link
Maybe a better source for a referendum was from before the initial 2014 annexation of Crimea and the accelerated fighting in Donbas from then. The only one I can find dates to 1991 - and it strongly shows a desire for independence, even in Donbas where it was over 80%. Link. Interestingly lowest support for independence was Crimea at 50-60%. Overall the country was 92% for with 84% turnout. That’s a pretty strong result, although a little old.
wth@sh.itjust.worksto
Programming@programming.dev•The Top Programming Languages 2023English
22·3 years agoKeep in mind that this is for « typical IEEE members », which I am pretty sure is not a great representative sample of programmers in general.
How many of you programmers out there are IEEE members?
wth@sh.itjust.worksto
Technology@lemmy.world•What’s the best printer in terms of no DRM/Open sourceEnglish
31·3 years agoI have one, and they are great. But wasn’t there just a scandal about a recent firmware update that applied DRM to ink?



Just an fyi - Clarke (aka Fred Dagg in his early years) is actually a Kiwi (from New Zealand). Funny guy though.