Programming

568 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
1
 
 

Copilot is great, but a hundred bucks for what is basically a smart autocomplete seems a bit much - mostly, I hate the fact that the code is constantly transmitted to github (my repos are mostly local) - are there any reasonably convenient options for doing this without github looking over my shoulder all the time? I'm using VSCode but not wedded to it.

2
3
 
 

I'm working on an macOS client app and was curious what was needed to authorize/login a user to get a token for the auth header?

The lemmy documentation for login doesn't seem to work (sends 400 response back) and it also doesn't seem to work with oauth?

I got oauth working for mastodon but those same endpoint calls don't seem to work for lemmy.

4
 
 

I know profilers and debuggers are a boon for productivity, but anecdotally I've found they're seldom used. How often do you use debuggers/profilers in your work? What's preventing you? conversely, what enables you to use them?

5
 
 

Overall, a release more for engineering than language. Even the new API's are mainly optimizations, but a large improvement.

6
 
 

Head to https://brilliant.org/CodeBullet/ to start your free 30-day trial, and the first 200 people get 20% off an annual premium subscription.check out my s...

7
 
 

The course i'm following says primitive types belong to the execution context in the call stack, but are they part of the context variable environment?

I guess variable declarations would surely be part of the variable environment, but what about the other primitive types, like null or undefined? Do they need to be attached to a declaration or are they stored in as well?

8
 
 

9
 
 

Feel free to tell about what your day looks like. I'm exploring different positions so it'd be very valuable to me. I've already done a few courses in C# and Python, they seem to be quite common. My goal here is to get to know this role better, for now I have limited information about it. Is it rather repetitive, or is there always something new to do? What part of it do you enjoy the most and the least? Is it true that many desktop apps are really webapps?

10
 
 

Hey does anybody know if there's a description of ActivityPub available that isn't just the spec? I realized I don't actually know how the protocol works, and I'd be interested in learning more. May have to just bite the bullet and dive into the spec – it doesn't actually look too bad based on a quick glance – but a summary would be cool

11
 
 

Hi hi, I know I posted about this yesterday-ish, but Slemmy is now deployed! Head to https://slemmy.libdb.so to give it a try! Simply make a profile with your favorite instance and continue!

If you haven't seen yesterday-ish's post, here are some screenshots of Slemmy: https://imgur.com/a/KJqKuiF

Unfortunately, there's no signing in yet, so you can't do much besides reading posts. I'm actively working on this, though!

The project's source code is at https://github.com/diamondburned/slemmy. Its README contains the current features and what is planned for now. I started on this project not even a week ago, so it's likely unstable and not ready for heavy use yet. Please open an issue if you encounter any bugs, I would really appreciate it!

12
 
 

We use RocksDB at work in a distributed form but I was curious how people deal with problems using it in open source distributed systems (eg how people handle replication and sharing of data)

13
 
 

I've been working on honing my architectural skills and came across this interesting article that put some things in perspective for me. Maybe it will help you too!

14
 
 

I ask because I like console, but at the same time have difficulties remembering all the commands. I'd like to try a GUI that is comfortable to use with only a keyboard.
[edit]
My inbox got fediversized, fantastic feeling.

15
 
 

An interesting take on why dynamically typed languages became so popular and why staticly typed languages are making a comeback.

16
 
 

I work for an association and every time i get the material for a new blog post i need to format, publish it on the blog and then design different types of post for FB, IG and Telegram with their own formatting. That requires plenty of time and work.

Ideally, i would love to create a blog where i can publish items ONE TIME, and then get social designs (with one or two alternative types of designs) and getting the text formatted right to be published.

The website is on wordpress right now, but i'm studying webdevelopment and i would really love to remake it in plain code with HTML, CSS and JS / JS frameworks. I'm not seeking to do this on Wordpress, on the opposite i would like to move away from it.

I know i would have to work with the APIs of the socials in order to get the content automatically published and with AI to get a quick text formatting: for example cutting some key parts of a text automatically. I have no clue for the design part, right now i'm using Canva but i always do pretty simple designs and all by hand.

I know this is probably a pretty ambitious project but it would leave me with A LOT less work once all of this is correctly set up, and replicating this for other blogs would simply be awesome.

How much is this makable? Would it require a lot of paid services, are the APIs usually free for such a small use? Where should i start from to learn how implementing the auto design part? Can a Junior webdeveloper do something like this in a reasonable amount of time, or are these pretty advanced skills?

17
 
 

This app will mostly be intended for reading, but it'll support multiple profiles, upvoting and commenting.

I currently plan on targeting both desktop and phone usage, with some primitive touch gestures to make it easier. Unfortunately, since this is just a progressive web app, that's going to feel a bit scuffed.

The source code is at https://github.com/diamondburned/slemmy. It's currently not usable for production yet :( but I'm working on it!

18
19
 
 

Hi all, keeping this post short, I am working on a new Lemmy app for iOS and Android, heavily inspired on the Infinity for Reddit app.

The app is very much still a work in progress, but I's like to share some screenshots and a few MVP functionalities already implemented:

Screenshots

Already implemented:

  • Anonymous browsing;
  • Login;
  • Multiple accounts support;
  • Account switcher;
  • Post cards
  • Sorting posts by Lemmy's sorting options (Active/Hot/New/etc..);
  • Listing posts by Lemmy's listing options (Subscribed/Local/All);
  • Upvote, downvote (and counters), comment counter, save;
  • Mark post as read;
  • Infinite post scrolling (keep on scrolling, app loads more posts in the background);

What's next before I make it available in the app stores (MVP):

  • Post view (see post's comments);
  • Add a comment to a post;
  • Create a post;
  • A sexier selected account card on the sidebar;

What's still to do before I can call it a beta version:

  • Profile view;
  • Community view (rules mods other details);
  • Search;
  • Dark mode;

What's to come after:

  • Custom theming/Material You support;
  • Advanced post filters;
  • Community groups (Add communities to a group, see posts only from selected group);
  • A video player with controls over speed playback and maybe quality if possible;
  • Alternative posts view (compact card, list, etc)
  • Other cool misc options.

Dreams:

  • Kbin and Mastodon accounts support.

Keep an eye for future posts, I may be able to announce the MVP by the end of this week if everything goes well, but I can't promise anything :)

EDIT:

This post got so much traction than I had predicted. Thank you so much for all your comments and ideas! I tried to reply to as many as I could.

I also collected from this post a bunch of good suggestions from you which for now I am keping track of here: https://brunofinger.notion.site/brunofinger/Beyond-45cabaae7f724cd5ad2b77d902e9a97e

The app name probably will be "Beyond" as suggested by a couple of users here, and really like this idea as it creates a sort of symbolic link to Infinity as the inspiration for my work by the famous "To Infinity and Beyond" phrase :)

20
 
 

Have to say, I wasn't expecting this in my feed. It is a bit novel of a concept, but if you think about what it takes to build and ship a product, a lot of this makes sense, and modern languages are starting to follow the batteries included mentality (golang, rust).

There's even an ironic naming ecosystem that just lends itself to this personification: flatpak and containers.

21
 
 

I want to start a discussion of MIT vs GPL and see what you all think

22
23
 
 

Hi all!

I am learning JavaScript and web development, and while i really like this road, i sometimes feel a bit alone following online courses and i think adding new brains would definetely help us to grow better, would anyone like to join and make a group where we share, learn and grow together?

I feel like we need to build a better web after all this Reddit thing, why not start together from the fundamentals?

We can do this on Telegram!

24
 
 

Hello everyone.

I just forked this and added my own 2 themes to my fork. Both themes are based on the winternord theme contained within that repository. In the theme the author, 2xx04 clearly states at the top that their code contains modifications to Bootstrap's CSS, as well as the Nord colour scheme by Arctic Ice Studio & Sven Greb. Both of those repositories contain the MIT license, but 2xx04's repository contains no license.

My question is this: Even though technically any github repository with no license has the default copyright rules applied to it (i.e. the author has sole ownership), since they failed to include the license of the software they modified, my repository should include the MIT license, and any code written by me is mine (under MIT license rules of course, so anyone can copy and distribute it)?

Thanks in advance. Here is a link to my repository in case you need it to understand what I mean

25
 
 

At my company there has been a move away from our large e2e testing suite for various reasons:

  • flaky tests
  • long build times
  • significant burden for multiple teams to contribute

The use of pact is seemingly only covering some small portion of each integration point between applications as large, comprehensive pacts that cover the full API and values used are considered too costly or coupled.

I am conflicted that we are losing test coverage of business use cases because there aren't necessarily any tests that are automatically running a use case end to end.

How do you deal with this in your workplace and what is your position on e2e vs pact testing.

view more: next ›