discuss.tchncs.de

penquin , to cats in Shana needs warmth (and love)
@penquin@lemm.ee avatar

Man, this is a beautiful cat. Someone must have had a really busy day <3

Strawberry , to Programmer Humor in The easiest problem

mathematician here, where is the joke?

humbletightband ,

This joke is funny only if placed in Arnold-Atyah manifold if Kolmogorov-Ramachandran-Yu metric is defined

CanadaPlus , (edited )

So don't use it in non-KRY-definite AA situations, or you could get erroneous results. QQX is fine though, as long as you have non-vanishing ABCD. /s

I wonder if Lean proofs become the new peer review like I've heard suggested, if mathematics might break from this, and look more compsci-ish in the future. That way non-specialists could get up to speed quickly.

BleatingZombie ,

Variable names should be "self defining" meaning you should be able to understand what its doing from the name. The name also shouldn't be too long. Combining those together makes it difficult to come up with an "elegant" name

PotatoesFall OP ,

I think they got the joke, they were just joking about how this is common in math :P

Strawberry ,

The most atrocious variable names I ever encountered in code were as a research assistant for a math professor doing game theory simulations. Literally unreadable unless you had a copy of his paper on the subject to refer to

menas ,

tmp3 = tmp1 + tmp2 ;
T.T

KillingTimeItself ,

in the linux community it's really common to have applications like MPD, music player daemon, or MPC, music player client, and ncmpc, ncurses music player client, and ncmpcpp the aforementioned one with ++ tacked onto the end.

Cmus, which from what i can recall is literally "c music player"

etc....

PoolloverNathan ,

fia? fir? fib (part of fia)?

KillingTimeItself ,

exercise left up to the developer!

PoopSpiderman , to cats in Shana needs warmth (and love)

What a gorgeous cat. I have two Siamese.

morgunkorn OP ,
@morgunkorn@discuss.tchncs.de avatar

Thank you! They have a wonderful temperament and really reward all the attention they can get. I'd be happy to see yours :-)

Her ears collapsed post surgery after an ear infection, but she looks really cute like that, and it's not painful or a handicap.

FrostyCaveman , to Programmer Humor in The easiest problem

Single character variable names are my pet peeve. I even name iterator variables a real word instead of “i” now.. (although writing the OG low level for loops is kinda rare for me now)

Naming things “x”.. shudder. Well, the entire world is getting to see how that idea transpires hahah

Mikelius ,
@Mikelius@lemmy.ml avatar

I hate short variable names in general too, but am okay with them for iterators where i and j represent only indices, and when x/y/z represent coordinates (like a for loop going over x coordinates). In most cases I actually prefer this since it keeps me from having to think about whether I'm looking at an integer iterator or object/dictionary iterator loop, as long as the loop remains short. When it gets to be ridiculous in size, even i and j are annoying. Any other short names are a no go for me though. And my god, the abbreviations... Those are the worst.

FrostyCaveman ,

That’s very reasonable, I can get behind that. (my stance is a partly irrational overreaction and I’m totally aware of it lol)

Abbreviations are definitely annoying. My least favourite thing to do with them is “Hungarian notation”. It’s like.. in a statically typed context it’s useless, and in a dynamically typed context it’s like.. kind of a sign you need to refactor

Cethin ,

Hungarian notation makes sense in a dynamically typed usage (which I despise, but this essentially makes them notationally typed at least) or where you're editor/IDE is so simple it can't give you more information, which I can't see ever being the case in the modern day.

Redkey ,

Most people use the term "Hungarian Notation" to mean only adding an indicator of type to a variable or function name. While this is one of the ways in which it has been used (and actually made sense in certain old environments, although those days are long, long behind us now), it's not the only way that it can be used.

We can use the same concept (prepending or appending an indicator from a standard selection) to denote other, more useful categories that the environment won't keep straight for us, or won't warn us about in easy-to-understand ways. In my own projects I usually append a single letter to the ends of my variable names to indicate scope, which helps me stay more modular, and also allows me to choose sensible variable names without fear of clashing with something else I've forgotten about.

Cethin ,

X, y, and z should only be used when working with things with dimensions larger than 1. Indexing into a 2D array, x and y are great uses. I'm also totally fine with i and j for indexer/iterator when appropriate, but I hate when people try to make short variable names for no good reason. We have auto-complete just about everywhere now. Make the names descriptive. There's literally no reason not to.

Hazzia ,

We have auto-complete just about everywhere now

vim

sparkle ,
@sparkle@lemm.ee avatar

Everywhere CIVILIZED*

Bobbettes ,

Vim can have autocomplete.

PoolloverNathan ,

Press ^X^N, I dare you.

nicky7 ,

Same, except for list comprehension in python, I prefer sinlge character var names there.

platypus_plumba , to Memes in It is so convenient and free.

Alternatives for WhatsApp and Google Search that won't sell your information?

joat_mon ,

Best alternative for WhatsApp would be Signal

CyberEgg ,

Signal an Duckduckgo or Startpage

photonic_sorcerer ,
@photonic_sorcerer@lemmy.dbzer0.com avatar

Signal and DuckDuckGo

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

Installing Signal is the easy part. Convincing your friends to do the same is the impossible part.

photonic_sorcerer ,
@photonic_sorcerer@lemmy.dbzer0.com avatar

I was surprised by how many of my friends were using both when I first installed it. Just try it out.

stebo02 ,
@stebo02@lemmy.dbzer0.com avatar

I already did and managed to get two friends to use it too but they only use it to talk to me

platypus_plumba ,

DuckDuckGo does sell your information, doesn't it? I thoughts that was their business model.

burninghedgehog ,

Most search engines make money with ads, including DDG. Plus, DDG has in the past explicitly whitelisted trackers from MS so I wouldn't trust them. They are definitely better than Google though (as low of a bar that is).

SearXNG (https://searx.space/) seems to be the best option from a privacy standpoint I found so far.

RandomLegend ,
@RandomLegend@lemmy.dbzer0.com avatar

That's why you have to find services you pay for with your own money. So you know how they make money.

I love kagi. I know exactly how they make their money... because i pay them.

Tartas1995 ,

Signal is like WhatsApp but you don't even need to share your phone number for it anymore. You can have an username and share that with people.

thmnwlf ,

….iMessage
MUHAHAHAHAHA

Zerush ,
@Zerush@lemmy.ml avatar

I don't know if such a long list fits into Lemmy.

kaputter_Aimbot ,

MetaGer is a metasearch engine focused on protecting users' privacy. Based in Germany, and hosted as a cooperation between the German NGO 'SUMA-EV - Association for Free Access to Knowledge' and the University of Hannover, the system is built on 24 small-scale web crawlers under MetaGer's own control. In September 2013, MetaGer launched MetaGer.net, an English-language version of their search engine.

Source: https://en.m.wikipedia.org/wiki/MetaGer


It currently supports the following languages/regions:

Dansk (Danmark)

Deutsch (Österreich/Schweiz/Deutschland)

English (Great Britain/Ireland/Malaysia/USA)

Español (España/México)

Suomalainen (Suomi)

Français (Canada/France)

Italiano (Italia)

Nederlands (Nederland)

Polski (Polska)

Svenska (Sverige)

Source: https://metager.org/lang


There is a TOR-hidden service too:

https://metager.org/tor


It is open source:

https://gitlab.metager.de/open-source/MetaGer


And has other useful features, for example:

That you can hide yourself behind our proxyserver just by opening the result anonymously? Use "OPEN ANONYMOUSLY"; this also affects the following links.

Source: https://metager.org/tips


Alternatively I use some SearxNG-instances, preferably hosted in the EU:

https://searx.space

pewgar_seemsimandroid ,

for WhatsApp : signal, telegram (for large news group chats) and jami

for google: searX/searXNG (really customizable) startpage (uses google search) ecosia (eco friendly and uses bing) and finally brave search (best independent search engine)

CowsLookLikeMaps , to Memes in It is so convenient and free.
@CowsLookLikeMaps@sh.itjust.works avatar

Share your alternative stack ... 321GO!

atmur , (edited )

Google -> DuckDuckGo, sometimes fall back to Startpage if DDG has bad results

Discord -> I use Discord, but incredibly rarely. Haven't bothered finding an alternative

Windows -> Linux, obviously

Whats App -> Signal

iCloud -> Selfhosted storage + Proton Drive

I don't want anything like TikTok, Instagram, or the rest of them, so I don't use those or their alternatives.

Edit: arrows

ZeroTwo ,

Revolt is a great discord alternative. It's pretty much the same exact thing except open source and the nitro perks are free.

danc4498 ,

Greater than?

atmur ,

lol, maybe -> would've come across better

definitely not greater than

sillypuddy ,
@sillypuddy@mander.xyz avatar

I think he's using it as an arrow. Like "are you using X? ➡️ Use Y instead"

AFallingAnvil ,
@AFallingAnvil@lemmy.ca avatar

Your greater than symbols being the wrong way around made this far more confusing than it needed to be

swab148 ,
@swab148@startrek.website avatar

I think they were just going for "arrows"

riquisimo ,

Yeah they need the dash.
->

Fluid ,
@Fluid@aussie.zone avatar
  • Online discussion: Lemmy
  • Private messaging: Signal
  • Music: Direct purchase/download
  • OS: Any linux flavour
  • Mobile OS: Unfortunately needs a little more time...
cyberpunk007 ,

My exact choices. I want to love the open source phone options but... Corporations have embraced android and iPhone. I worry about road blocks with things like duo and apps that don't permit install on rooted things etc.

Zenchyi ,

Android is fine, just not the default versions. Using lineage or graphene os is barely a difference from stock os, but significantly more private.

PM_ME_VINTAGE_30S ,
@PM_ME_VINTAGE_30S@lemmy.sdf.org avatar

Reddit --> Lemmy

Facebook --> fucking nothing lmao

YouTube --> FreeTube + Invidious [1]

Windows --> Debian [2] with KDE Plasma

Word --> LyX

Microsoft Office --> LibreOffice

Built-in phone music player --> Odyssey [3]

Firefox --> LibreWolf [4]

Adobe Reader --> Okular + Librera on Android

Default phone launcher --> KISS Launcher

[1] I prefer FreeTube on computers where I have it installed, but one of my family's jank 10-year-old work PCs can't handle it, so I'll typically watch videos in Invidious in LibreWolf on that computer.

[2] I can't recommend Debian for absolutely everyone since it prioritizes stability and predictability over new features and ease of use, but it's great for most of my use cases. I typically recommend Linux Mint for complete beginners.

[3] It handles extremely large music libraries (>100 GB of .mp3 files) without constantly taking forever to reload when I add a single new album.

[4] Firefox is pretty good and FOSS, but LibreWolf comes with better defaults and I'm a lazy fucker.

pewgar_seemsimandroid ,

VLC for FLACs

evanstucker ,

https://prism-break.org/

https://privacyguides.org/

Arch Linux instead of Windows or MacOS

GrapheneOS instead of stock Android or IOS

Mastodon instead of Twitter/X

Matrix instead of Slack

Lemmy instead of Reddit

Signal instead of phone, texting, and video chat

Jitsi instead of Zoom

Nextcloud instead of Google Contacts, Calendar, and Drive

Protonmail with custom domain instead of Gmail

Jellyfin instead of Spotify, but I still use Spotify... :(

Pixelfed instead of Instagram, but its still lacking content and useable mobile apps.

Haven't escaped YouTube yet, but meaning to browse Peertube more.

I've been a Linux-only gamer for years too, thanks to Proton, Vulcan, Lutris, etc. Still waiting for good VR though.

FOSS or GTFO!

PoolloverNathan ,

OS: NixOS 24.05 (gen 67, non-flake)
WM, DE: KDE Plasma
Mass massaging: Aliucord mobile, Vencord (installed from nixpkgs patch) desktop
P2P messaging: Netcat
Don't really watch many videos / listen to music
Editor: Sandboxed VSCodium
Base flake for development environments: stddev
Programming language: Haskell + Rust + Go (one project)
Browser: Sandboxed Firefox
Phone launcher: Niagara

chemicalwonka , to Memes in It is so convenient and free.
@chemicalwonka@discuss.tchncs.de avatar

I don't use any service of them

I just use Google Pixel 8 but with other system.

But Google is almost impossible to totally escape (their trackers and codes are in almost all sites in the web)

apotheotic ,
@apotheotic@beehaw.org avatar

GrapheneOS supremacy

PseudorandomNoise , to Memes in It is so convenient and free.
@PseudorandomNoise@lemmy.world avatar

Windows aint free, which just makes it that much worse!

Lileath ,
@Lileath@lemmy.blahaj.zone avatar

In the minds of most people it is, because for them it's just factored in the cost of their Computer.

TheBat ,
@TheBat@lemmy.world avatar

Windows aint free

Not with that attitude

thorbot , to Memes in It is so convenient and free.

Only iCloud. No siri. Only use for auto photo storage and music. I don’t care if they know my music listening habits. None of the rest.

not_that_guy05 , to Memes in It is so convenient and free.

Yay I only have google and windows out of all of them.

Weslee ,

Google, windows, and WhatsApp for me.

I've been slowly phasing out Google, and going to experiment with Linux on my old laptop, with the eventual goal of getting rid of windows on my pc

Zerush , to Memes in It is so convenient and free.
@Zerush@lemmy.ml avatar

Electric company: Hold my beer

AmerikaLosesWW3 , to Memes in It is so convenient and free.

Window$

elliot_crane , to Memes in This is literally the internet nowadays without an adblock

My retired parents live with me. I went ahead and put a PiHole on our home wifi. A day later my mother was literally complaining that she couldn’t click on ads on facebook. I told her those are ads and they track her and she says “well everyone likes to use the internet how they like to use it.. can you put it back the old way? I want to look at these shoes”. Can’t fucking win.

jarredpickles87 ,
@jarredpickles87@lemmy.world avatar

My wife turns off the WiFi on her phone to avoid the pihole. She does this so she can watch the ads in her games to get an extra life or whatever. You'll never win on that front and I won't either.

superduperenigma ,

I get so pissed off when I try to play sudoku on the bus and it forces me to watch 30 seconds of ads between each game. And then during the game I have to ignore the flashing banner ad at the bottom of the screen.

Grumpy ,

Just pay for a good offline sudoku app. It probably costs less than a cup of coffee. Then we'll all be happier.

gohixo9650 OP ,

or get an open source, free and privacy friendly one from f-droid in case you haven't tied your hands with an iphone

sirico , to Programmer Humor in The easiest problem
@sirico@feddit.uk avatar

It took me too long to figure out the I in an if statement was just integer

PotatoesFall OP ,

In a for statement, it often refers to index

ILikeBoobies , to Programmer Humor in The easiest problem

Am I being gaslit?

rickyrigatoni ,
@rickyrigatoni@lemm.ee avatar

Gasboss gatelit girlkeep

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines