1
4

A friend of mine has cracked premiere pro, and i wanna do the same but he only gave me these files. How I am supposed to crack it with those ? Thx y'all

2
8

Hello everyone,

I'm having a hard time formulating the question and it can be a bit confuse to me too at times, but here it is. For the context, so that you can have an idea of the shenanigans I'm used to program, I'm a PhD in compilation and did stuff related to security and performance. I have essentially worked in projects that are relatively low-level and system-oriented (compared to webdev, desktop application dev etc).

I usually code CLI tools, usually system-oriented libraries, and stuff like that. And sometimes I would like to hack simple yet cool frontends, typically a webapp to either visualize my processes/data or to manipulate the inputs or whatever. I'm not looking for a big solid webapp. What I would like to do is to write frontends that would be the equivalent of quick ugly glue Perl scripts for interprocess communication.

Typically, I could have a program I wrote doing stuff, I may add a little HTTP server feature to it as an entrypoint to its internal and then have a cute webapp to connect to it to visualize what is going on, idk.

As I said, I'm not trying to transform my applications into actual servers or microservices in order to build an entire web application on top. It is more like using a proper user interface (typically web) as a better pretty-printing/logging system/whatever.

I guess there must be frameworks, tools, architectures or whatever to suite my needs, but since I have never really done frontend projects, I'm in the dark right now.

If someone has any recommandation, it would be very nice. Thank you so much in advance!

3
5
Music and SFX tools? (crazypeople.online)

When it comes to game development, the two areas that I see discussed the most extensively are coding and/or engines, and artwork (pixel art etc.). But I don't think I've ever come across a conversation in the wild about the audio side of things.

So I'm wondering, are there any recommended tools or software for use in game development specifically? Or is this something that is more or less up to the creator? I'm sure recording real instruments is more or less the same as recording anything else in the music industry, so I'm talking specifically about software for creating electronic music. Think retro style games. Which I'm guessing would be MIDI?

Which brings me to another question. I believe that MIDI makes use of something called 'soundfonts', which is basically the sound and personality of all of the instruments. How does this work out as far as licensing and shit goes? Do indie devs frequently make use of free soundfonts or is creating your own soundfont commonplace? Or am I getting ahead of myself here?

Basically, or TL;DR, are there any tutorials or guides floating around that suggest recommended software and perhaps offer more information in general on this side of game dev? Music theory is another story altogether, so that's not what I'm asking here. I'm asking specifically about creating music in relation to game dev.

4
19
How do I start a project? (programming.dev)

Sorry, I know this isn't exactly a dev question, but how do I make a project without a tutorial? I know how to make functional code that does simple things, or to solve a problem/question. But nw I want to try to make some projects to add to my portfolio. I've found websites with different ideas, and I can find some tutorials, but what if I don't have a tutorial? Like, what do I do if I want to make something from scratch myself?

5
9

This is for models that use vertex colors. I want all faces with the max brightness of the object. So in daytime lighting it should look unshaded, but in a dark environment it should darken (like the thumbnail).

What I've tried:

  • using vertex_lighting* and then setting the normal directly (eg NORMAL = vec3(0.0, 1.0, 0.0);)
    • this works, but only if the lighting is perfectly overhead... a slightly wrong angle or even too far into the middle of an omnilight will create a shadow
  • attempting to save the original color value, change the normal, and then bring it the old brightness back via max() if the new value is dimmer
    • lots of moving parts/assumptions on my part here
  • other math stuff with NORMAL/VERTEX, abs() and normalize() etc
    • on top of the direction failure, there's also failure to keep consistent brightness (with a spinning animation), and darkening across a TextMesh

I also know I could do this with unshaded and just multiply/mix it in the shader, but I don't really like the idea of making a custom lighting/detection system (rather than using actual lights, that is).

I am not totally against diffuse shading, something like a vertex toon shader (2-3 brightness bands) could be interesting aesthetically. If that's even possible, it seems like the vertex light calculation is hardcoded (though it's also possible I just don't understand it).

* this is a relatively re-added feature (4.4)

6
1

Seeking Direction: Sharing AI-Aided Knowledge Beyond Corporate Platforms

As a Reddit (and RIF) refugee, I'm searching for a space to share various useful information where it can be easily found later. The challenge is that the definition of "useful" varies among individuals, and I suspect that Reddit and other "for -profit" moderators are overly influenced by corporate interests.

In the past, I spent considerable time figuring out how to accomplish tasks unrelated to my primary goals—tasks I usually only needed to do once. Now, I tend to ask AI tools like ChatGPT, Perplexity, Deepseek, or other available models to assist with the task at hand. I've learned that by doing so, I can condense days or even weeks of effort into just a few hours, if not less.

However, a significant issue is that these AIs don't currently learn from my questions, and the knowledge they provide isn't propagated beyond the AI itself, unlike traditional sources. The AI models offering this information are essentially static, and the context of the current session is typically lost quickly.

The solution I envision is to take the results of successful chat sessions and post them somewhere on the internet where both humans and AIs can access and incorporate the information into their knowledge and training. The problem is that this approach doesn't align with the posting models of conventional for-profit services like Reddit or Facebook. I tested Reddit again this morning and immediately had a post rejected for "low effort," even though it would have taken me a long time to develop the content myself.

I'm looking for direction on:

Where to share this AI-generated knowledge so it's accessible and beneficial to others.

How to structure these posts to fit within the guidelines of non-commercial platforms like Lemmy.

What communities or instances would be receptive to such content.

Any suggestions or guidance would be greatly appreciated!

7
20
submitted 10 months ago* (last edited 10 months ago) by 3rr4tt1c@programming.dev to c/no_stupid_questions@programming.dev

Like if I'm using print statements to test my code. Is it okay to leave stuff like that in there when "publishing" the app/program?

Edit: So I meant logging. Not "tests". Using console.log to see if the code is flowing properly. I'll study up on debugging. Also, based on what I managed to grasp from your very helpful comments, it is not okay to do, but the severity of how much of an issue it is depends on the context? Either that or it's completely avoidable in the first place if I just use "automated testing" or "loggers".

8
5

To what extent will these changes, and potential future changes along the same trajectory, affect the use of un-substitutable apps on Graphene OS?

Play Integrity API - 2024 Dec

The transition to the new verdicts will reduce the device signals that need to be collected and evaluated on Google servers by ~90% and our testing indicates verdict latency can improve by up to ~80%.

the huge ratio of reduction suggests to me that the attestation is being offloaded from Google servers to on-device AI, but maybe i assume wrong. my instinct tells me Google would always make this impossible for 3rd party OS to implement anyway.

Hypothetically, If implementing that AI in Graphene could allow most attestation-requiring apps to install and run normally, is that something the Graphene devs would do? i know it would have to be secure and private, so assuming there was a way...

I'm not pro AI, not the surveillance big data capitalism kind at least. just wondering about the scenarios and what prep or extra work i would have to do.

9
7
submitted 11 months ago* (last edited 11 months ago) by quickenparalysespunk@lemmy.dbzer0.com to c/no_stupid_questions@programming.dev

In my understanding, the options need to be customized for each machine, as well as the fact that making packages for tons of distros can be a lot of work for solo or small team devs, and that's why some software is provided as .tar only.

but it seems like the install process on the user side could be automated to a single command or drag-drop, as long as the script would throw informative alerts for any errors and the user is prepared to take over manually.

does something like this exist in a standalone form that's not bundled like snaps or flatpaks?

if not, is there a broadly-applicable reason (security, damaging OS, etc) that makes it a terrible idea? or simply that no one has gotten to it?

10
24
11
4

The idea is making deployment so simple even a 13 year old could republish the website in cloudflare or github pages.

Any other tactics are welcome

12
4
submitted 1 year ago* (last edited 1 year ago) by ertai@programming.dev to c/no_stupid_questions@programming.dev

To my understanding:

Many terminals are capable of displaying multiple fonts at the same time, say latin unicode characters in font foo and japanese unicode characters in font baz. In urxvt at least, it is also possible to have one font in a certain size and the next font in another size. However, no font can have a size bigger than the base size, the size of a terminal cell.

Why is it not possible to have multiple terminal cell sizes? For exampleso one line has terminal size 8 and the next line has terminal size 12.

13
11

The wikipedia articles are terribly written (for math loves or people who just need to refresh their knowledge).

What is a "sum" of types? What is a product of types? Is it possible to Cat x Dog or Cat + Dog? What does that even mean?

14
9

So I want to build blender fork but it fails to build on Visual Studio 2022. There is already a patch and a open PR that fixes the issue.

I have already git cloned the repository and I would want to only get the patch into my local repository. So I can build from that.

15
9

Limitation of using drag and drop Images in readme.md?

One I am aware of is the size limit that no image size should be >10 MB. Are there any other limitations when using this (for example: retention period, storage capacity, etc)? I want to link those images outside Github.

I am aware of uploading images to the repository and linking by

[image](./path/to/image/image.png)
16
24

You see this with some apps (I think ReVanced is a popular example?) and games occasionally, and I've never been clear on how they do it.

17
7
submitted 2 years ago* (last edited 2 years ago) by andnekon@programming.dev to c/no_stupid_questions@programming.dev

Hello. I have Windows - Ubuntu dual boot and I'm trying to move space from Windows to Ubuntu. I've already freed space from the Windows side

I'm pretty sure that I've read online that it can be dangerous to move the unallocated partition, because next boot to windows can corrupt my Ubuntu system. Is it true? Also, when I'm trying to move the unallocated partition, there's no option to "move/resize", so I swap them with the next following partition one by one. Is it the right way to do it?

18
17

So I'm a baby dev, still in Uni and they don't allow internships in 4th year due to some issues with it so not even that exp wise.

I don't know enough, and I'm trying to learn but there's so much! My Uni degree doesn't cover security at all. Which is shit, bc I think I want to work in that? Mostly I'm just spooked and want to understand everything I can 'cause I love the internet and want to feel safer wandering about it.

I'm scared of clicking on links. Even ones here, like there was a post about a book list earlier and I was just there like "Cmoon.... someone please have posted the lissssst."

Would anyone be willing to share what they do for their own security? Especially if it's ridiculously over the top. Included reasonings and details would be adored!

Also, if anyone has any books or references that might be good for learning sec from a programmatic view rather than a IT view I'd really love that! Anything at all.

Regardless, hope anyone reading this has an absolutely wonderful day and best of luck with everything you're up to!

19
8

Can't locally download 41 GB loaded image which is provided to replicate GitHub action locally but don't want to commit and check every time too, is there any third option?

20
32
submitted 2 years ago* (last edited 2 years ago) by ALostInquirer@lemm.ee to c/no_stupid_questions@programming.dev

I think from what I've read that this is the case, but I've read some other info that's made it less clear to me.

On the second part of the question regarding container engines, I'm pretty sure that may also be correct, and it kinda makes me wonder a little about risks of engine lock-in, but that may be a little out of scope.

21
11

cross-posted from: https://programming.dev/post/6513133

Short explanation of the title: imagine you have a legacy mudball codebase in which most service methods are usually querying the database (through EF), modifying some data and then saving it in at the end of the method.

This code is hard to debug, impossible to write unit tests for and generally performs badly because developers often make unoptimized or redundant db hits in these methods.

What I've started doing is to often make all the data loads before the method call, put it in a generic cache class (it's mostly dictionaries internally), and then use that as a parameter or a member variable for the method - everything in the method then gets or saves the data to that cache, its not allowed to do db hits on its own anymore.

I can now also unit test this code as long as I manually fill the cache with test data beforehand. I just need to make sure that i actually preload everything in advance (which is not always possible) so I have it ready when I need it in the method.

Is this good practice? Is there a name for it, whether it's a pattern or an anti-pattern? I'm tempted to say that this is just a janky repository pattern but it seems different since it's more about how you time and cache data loads for that method individually, rather than overall implementation of data access across the app.

In either case, I'd like to learn either how to improve it, or how to replace it.

22
14

What are some alternatives to browsing instagram "outside" of the proper app?

I put nitter.net and invidious as examples, as they allow you to browse Twitter and Youtube "outside" the official site/app and without being tracked. Instagram hates me trying to look at anything from the computer.

23
8

I need an open-source AI front-end (use with openai api key) with following option:

  • Do web search
  • Chat with document as context
  • More Plugin

Please suggest me some open-source project that work.

24
7

I have 5 years experience as full time job.

However I never do freelancer job before.

How do I start on finding freelancer job ?

25
10

It is a common sentiment that managing dependencies is always a big issue in software development and the reason why so many apps come pre-bundled with all the requirements so it reliably works on every machine.

However, I don't actually understand why is that an issue and why people generally bash npm and the way it's done there. Isn't it the simplest and most practical solution to a problem - you have a file which defines which other libraries you need, which version, and then with one command you can install them and run the program?

Furthermore, those libraries and their specific versions can be stored elsewhere and shared across all apps on a system so you can easily reuse them instead of having to redownload for each program individually.

I must be missing something since if it were that easy, people would have solved it years ago and agreed on a standardized best way, so I'm wondering what is the actual issue and a cause of so many headaches.

view more: next ›

No Stupid Questions (Developer Edition)

1108 readers
1 users here now

This is a place where you can ask any programming / topic related to the instance questions you want!

For a more general version of this concept check out !nostupidquestions@lemmy.world

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

founded 2 years ago