programming.dev

10,086 readers
356 users here now

Welcome Programmers!

programming.dev is a collection of programming communities and other topics relevant to software engineers, hackers, roboticists, hardware and software enthusiasts, and more.

The site is primarily english with some communities in other languages. We are connected to many other sites using the activitypub protocol that you can view posts from in the "all" tab while the "local" tab shows posts on our site.


๐Ÿ”— Site with links to all relevant programming.dev sites

๐ŸŸฉ Not a fan of the default UI? We have alternate frontends we host that you can view the same content from

โ„น๏ธ We have a wiki site that communities can host documents on


โš–๏ธ All users are expected to follow our Code of Conduct and the other various documents on our legal site

๐Ÿ˜๏ธ Want to create a new community? Please follow our Community Guidelines

โค๏ธ The site is run by a team of volunteers. If youre interested in donating to help fund things such as server costs you can do so here

๐Ÿ’ฌ We have a microblog site aimed towards programmers available at https://bytes.programming.dev

๐Ÿ› ๏ธ We have a forgejo instance for hosting git repositories relating to our site and the fediverse. If you have a project that relates and follows our Code of Conduct feel free to host it there and if you have ideas for things to improve our sites feel free to create issues in the relevant repositories. To go along with the instance we also have a site for sharing small code snippets that might be too small for their own repository.

๐ŸŒฒ We have a discord server and a matrix space for chatting with other members of the community. These are bridged to each other (so you can interact with people using matrix from discord and vice versa.

Fediseer


founded 2 years ago
ADMINS

Broken communities have been fixed, report any issues to ategon

1
2
47
submitted 1 day ago by maxint to c/linux
3
 
 

Was going through a Python tutorial, but it seems kinda dated. Wanted to know if people regularly use docstrings in the workforce. Or are they somewhat irrelevant because you can convey most of that info via comments and context? Do jobs make you use them?

4
5
6
 
 

I have instances of this area2d object that spawns and is added to a group dynamically. when they collide I want them to say their name and the group they are in. right now they report their name but not their group and I can't figure out why, when they instantiate they report the group they are in so it looks like they're in their group but when they collide the group is missing.

var type_groups = [ "pluto", "moon", "mercury", "mars", "venus", "earth", "neptune", "uranus", "saturn", "jupiter", "sun" ]

func set_type(t): type = t

# Adjust for paths or hierarchy
var shape = get_node_or_null("CollisionShape2D")
if shape:
	shape.scale = Vector2(type_sizes[t] * 5.5, type_sizes[t] * 5.5)
	
var detect = get_node_or_null("Area2D/CollisionDetection")
if detect:
	detect.scale = Vector2(type_sizes[t] * 5.7, type_sizes[t] * 5.7)
	detect.add_to_group(type_groups[t])
	print("added to group: ", type_groups[t])
	
var sprite = get_node_or_null("Sprite2D")
if sprite:
	sprite.scale = Vector2(type_sizes[t] * 1, type_sizes[t] * 1)
	sprite.texture = type_textures[t]

func _on_area_2d_area_entered(area): print("Collision detected by: ", get_name(), " | group: ", area.get_groups()) set_contact_monitor(true)

7
8
9
10
 
 
11
12
9
Wasm 2.0 Completed (webassembly.org)
submitted 2 hours ago by neme@lemm.ee to c/webassembly
13
14
4
SpecTec has been adopted (webassembly.org)
submitted 2 hours ago by neme@lemm.ee to c/webassembly
15
16
12
submitted 23 hours ago* (last edited 21 hours ago) by Cheezyburger to c/programming
 
 

Hi everyone! Iโ€™m a student currently working on a research activity for our Software Engineering class, and Iโ€™d really appreciate your insights. ๐Ÿ˜Š

Iโ€™m looking to gather input from software developers, project managers, or engineers about the Software Development Life Cycle (SDLC) paradigms you've used in your past or current projects.

If you have a few minutes to spare, Iโ€™d love to hear your answers to these quick questions:

  1. What type of software did you develop? (e.g., mobile app, enterprise system, game, etc.)

  2. Which software development paradigm did your team follow? (eg. Prototyping Model, Spiral Model, Fourth Generation Techniques (4GT), Waterfall Model Agile Model, V-Shaped Model, Incremental Model, RAD (Rapid Application Development), Feature Driven Development (FDD), Big Bang Model, Scrum, etc)

  3. Why did you choose that particular paradigm? (e.g., client requirement, team familiarity, project scale, etc.)

Your input will be used for academic purposes only, and it would really help me complete this task with real-world insights. Thank you so much in advance!

17
5
Day 1 - Get to know your server (linuxupskillchallenge.org)
submitted 3 hours ago by livialima to c/linuxupskillchallenge
18
 
 

How "watery" is this water to you? Enough or do you expect something more from "abstract map-tier water"?

19
20
21
22
23
24
25
view more: next โ€บ