snowe

joined 1 year ago
MODERATOR OF
[–] snowe@programming.dev 1 points 3 months ago (4 children)

so it sounds like default frontend, maybe tied to the version we have (we're still a few versions behind), only mobile ff.

[–] snowe@programming.dev 8 points 3 months ago (7 children)

My response would be something along the lines of “Do you use a different phone number or email address depending on the topic of the conversation?”, but the blank stares quickly remind me that I am part of the last generation that actually talked on their phones and wrote emails to actual people.

I mean... not a phone number, because that's not given out willy nilly, but emails? hell yeah. I don't use my work email for private convos, just like I don't use my junk email for coordinating group trips.

But just like you choose an email to converse with (do you have gmail? well that says something about you. Hotmail? same thing), you only communicate on the fediverse with that account. it doesn't mean your identity is that topic. It just means its your home base. Just like gmail or hotmail might be your 'home base'.

Most of us will however be better served by joining a a neutral federation or - even better - by running the instance under your own domain.

which is choosing a topic (yourself) as the root of your identity. Maintaining your own instance is hard. Maintaining a large instance even harder. Growing that instance and keeping it from turning into Reddit (isn't that why we're all here) means making choices about what you want to be. Programming.dev was never meant to be a catch-all. I was the main moderator of /r/ExperiencedDevs and frequently helped people on /r/cscareerquestions. I wanted a place to replace that, but that still had other things connected to it. A sort of in-between between HN and Reddit.

At the very beginning of the exodus, there were instances popping up left and right that had absolutely no connection to each other besides all saying "lemmy". We had lemmy.net, lemmy.world, lemmy.news whatever. Tying your identity to lemmy (or the fediverse even) is a losing proposition. The website should be able to grow no matter what tech it uses, and no matter if it's federated with this fediverse or not.

The choice in making a topic-ed instance was a deliberate one and a very thoughtful one. You can't grow if people have no clue what you are or what you do. Reddit took literally 14 years before it was mainstream enough for people to start coming over from facebook groups. Whether that's something to be desired or not, you can argue about, but it is a point to make that when you tell someone "Oh I use reddit" they're like "what's a reddit". That doesn't happen with programming.dev. And it doesn't happen with other topic instances like solarpunk or mtgzone or literature.cafe. You know what you're getting when you go in (a programming forum), and you happen to be able to use that to communicate with other forums rather than having the diaspora that is Discourse or BB, which you can joyfully find out after joining. Needing to know that something is the fediverse before going in is terrible for discovery and honestly terrible as a website idea. Reddit grew because it happened to be a forum of forums which many people wanted. But a forum of forums where you can choose literally hundreds of sites (and you have no way of knowing which are good or even mediocre) or even host your own? That's too much for most people, even software devs.

[–] snowe@programming.dev 17 points 4 months ago (3 children)

It seems that something went wrong with our nameserver, thus no connections to the 'outside world' were working. As soon as I added a new nameserver, federation started working again (this also affected server updates).

[–] snowe@programming.dev 1 points 6 months ago

I do not. I'm sorry.

[–] snowe@programming.dev 1 points 7 months ago (1 children)

Does type inference provide a practical benefit to you beyond saving you some keystrokes?

it's more readable! like, that's literally the whole point. It's more readable and you don't have to care about a type unless you want or need to.

What tools do you use for code review? Do you do them in GitHub/gitlab/Bitbucket or are you pulling every code review directly into your IDE? How frequently do you do code reviews?

I use GitHub and Intellij. I do code reviews daily, I'm one of two staff software engineers on my team. I rarely ever need to know the type, and if I do Github is perfect for 90% of use cases, and for the other 10% I literally click the PR button in intellij and open up the pull request that way. It's dead simple.

[–] snowe@programming.dev 4 points 7 months ago (9 children)

My response to the article is that you're sacrificing gains in language because some people use outdated tools. Code has more context than what is just written. Many times you can't see things in the code unless you dig in, for example responses from a database or key value store, or literally any external api. Type inference in languages that have bad IDE support leads to a bad experience, hence the author's views on ocaml. But in a language like Kotlin it's absolutely wonderful. If needed you can provide context, but otherwise the types are always there, you can view them easily if you're using a decent IDE, and type inference makes the code much more readable in the long run. I would say that a majority of the time, you do not care about the types in any application. You care about the data flow, so having a type system that protects you from mismatched types is much more important that requiring types to be specified.

[–] snowe@programming.dev 0 points 8 months ago

it does if the other ones have edible seeds, seeds without arsenic, or fewer seeds... your analogy makes no sense.

[–] snowe@programming.dev 1 points 8 months ago

Also, writing memory safe code honestly isn’t that hard. It just requires a different approach to problem solving, that just like any other design pattern, once you learn and get used to it, is easy.

the CVE list would disagree with you.

[–] snowe@programming.dev 38 points 8 months ago (17 children)

It's also just a huge fallacy. He's saying that people just choose to not write memory safe code, not that writing memory safe code in C/C++ is almost impossible. Just look at NASA's manual for writing safe C++ code. It's insanity. No one except them can write code that's safe and they've stripped out half the language to do so. No matter how hard you try, you're going to let memory bugs through with C/C++, while Rust and other memory safe languages have all but nullified a lot of that.

1
DNS Outage (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by snowe@programming.dev to c/meta@programming.dev
 

At 6:49 Denver/America time today I migrated the DNS nameservers to Cloudflare. This propogated quickly, but inadvertently I had set the SSL/TLS Encryption mode to Flexible, which resulted in Cloudflare attempting to encrypt traffic between itself and the server. But programming.dev already has its own certificate. Cloudflare expects http traffic to come from the origin server, not https, so when it received https it simply tried over and over again, resulting in failure to connect.

Switching the SSL/TLS setting to Full (Strict) fixed the issue. Sorry about that everyone! I'll try to not break stuff that badly in the future.

 

I will be taking the server offline for an upgrade in 35 minutes at 4:00 UTC

 

Hi all,

Thank you for joining me here! It's great to see that we have a community that wants to grow in such a new and exciting manner.

As it is, I thought it would be a lot easier to do this by myself than it has been. So I'm asking for some help!

I have several things I need assistance with:

  • setting up and moderating a chat community, for those times when users are having issues with the website. I think it's up to the community what software we use, but I would probably prefer Discord. Since this is all federation though I completely understand if others want to use something like Zulip or Matrix! So let's just use what everyone wants. If you have an opinion please post below.
  • database stuff. I'm absolutely terrible at database stuff, and that is not an exaggeration. If anyone is willing to help it would be much appreciated. Currently I have a need to set up pgbouncer, or we should modify the lemmy source to allow for setting up a bouncer. I also want to set up read replicas so that we can distribute the load a bit more evenly. As it currently is, the site was simply set up with the lemmy-ansible script, so everything is running on a single box 😬. If you know Rust and want to help modify the Lemmy source code for this, or you are a Database Admin and want to help, I'd very much appreciate it.
  • instance admins. I cannot be online constantly and I do have a day job. I'm getting messages and applications to join the instance along with needing to set up new communities, create and update rules, moderate, etc. I cannot handle this all alone.
  • I also need some general help.
    • email admin
    • migration of server to larger VPS (will have to bring the entire site down for this, unless someone wants to help set up a load balancer, a brand new box, and have some sort of migration strategy.)

If you want to help out on the server side of things I will want to know your real life persona, but for instance admins, chat mods, etc. I would just like to see some sort of comment history from you elsewhere.

And thank you once again, for helping create an inclusive community.

 

GitHub - tuanchauict/MonoSketch: MonoSketch is a powerful ASCII sketching and diagramming app that lets you effortlessly transform your ideas into visually stunning designs.

 

I'm trying to get the instance to run better, so I just adjusted the database pooling to hopefully make things run more stable. Let me know if it made stuff worse 😂

22
Community Request Thread (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by snowe@programming.dev to c/meta@programming.dev
 

Please comment with what communities you would like to be added here.

For mod creation I need both the url style name (experienced_devs) and the Display name (Experienced Devs)

 

Has anyone used WASM with Kotlin yet? I still haven't had a chance to check out Multiplatform at all (haven't really had a need).

 

Welcome to the community!

My name is Tyler Thrailkill (@snowe or @snowe2010 on almost every site). I am currently the main mod at r/experiencedDevs on Reddit, and am starting this site up in the hopes that we can make a collective developer community free from VC influence. This is partially because of the recent API changes Reddit has declared, but also because developers are the ones that can most likely make a community like this succeed.

It will probably not go well, I understand that. It will probably be crazy expensive. I understand that. I do hope that the community is able to work together to actually make this a success though.

I've started by creating 3 communities:

meta is for discussions about programming.dev itself. I think this is one of Stack Overflows best ideas (was it their idea?), because it allows for incremental improvement as a collective group. Please use this to discuss things you think need to change about the site.

Programming is for general purpose programming discussions. This is an analogue to /r/programming on reddit.

Finally, Experienced Devs is an analogue to the /r/experiencedDevs sub that I currently moderate on Reddit. I hope to pull some of my mods over from there, but we're still talking about it because we don't even know if lemmy is built to handle the traffic that this site could generate.

I will be creating several more meta posts in the coming days, so be on the lookout for those. Thank you for reading!

view more: ‹ prev next ›