There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

Piatro , in gut pull

I’ve been programming for too long, my brain just autocorrected the typo so initially didn’t get the joke…

JATtho , in The easiest problem

name your function as malloc() and see to world burn and generate bugs at factorial rate.

trolololol ,

If you name it malloc it will be easy to notice. On the other hand if you call it free…

Maggoty , in Any Volunteers

Sure as long as you donate 100,000 USD a year to my bank account.

akash_rawal , in That Nim Flashbacks

Replacing “Programmers:” with “Program:” is more accurate.

spoilerTower of Hanoi is actually easy to write program for. Executing it on the other hand…

CanadaPlus ,

It’d be a trick if you didn’t already know the answer. Or at least, it would be for me. It’s also hard to actually visualise.

akash_rawal ,

I didn’t know the answer either, but usually you can compose solution from solutions of smaller problems.

solution(0): There are no disks. Nothing to do. solution(n): Let’s see if I can use solution(n-1) here. I’ll use solution(n-1) to move all but last disk A->B, just need to rename the pins. Then move the largest disk A->C. Then use solution(n-1) to move disks B->C by renaming the pins. There we go, we have a stack based solution running in exponential time.

It’s one of the easiest problem in algorithm design, but running the solution by hand would give you a PTSD.

CanadaPlus , (edited )

Good for you. I think I’d figure it out eventually, but it would certainly take me a while.

I’d probably be trying a number of approaches, including the recursive one. Renaming pegs is a critical piece that you’d have to realise you can do, and you can’t be sure you have a correct inductive solution unless you actually walk through the first few solutions from the base instance.

JoMiran , in I just love pain
@JoMiran@lemmy.ml avatar

We never make minor production changes on Fridays or right before holidays. It is always a bad move because if you get into trouble your odds of not being able to teach the necessary resources are greatly increased.

Major production changes are only done during a scheduled downtime which is planned well in advance to make sure everyone is available, including third party vendors.

sabreW4K3 ,
@sabreW4K3@lazysoci.al avatar

Shout-out to you because every Friday/Saturday when I check the Play Store, it seems like every app has an update.

PapstJL4U ,
@PapstJL4U@lemmy.world avatar

and on the other side is game dev, where it is kind of expected to get content before weekend…and the reason they are paid well, right? right? >_>

marcos , in Guess what my favourite language is:

Most sane language designers stop at embedding C.

C++ is really taking it up to 11.

Asudox , in It's time to mentally prepare yourselves for this
@Asudox@lemmy.world avatar

Please end timezones. We only need one universal one and that’s it.

chicken ,

it’s called milliseconds since epoch

magic_lobster_party ,

Relativity theory enters the chat

ipkpjersi , in He revealed the secrets !

The scary thing is some people actually believe this, and NIH syndrome is unfortunately all too real lol

danc4498 , in Developing a third party UI for a platform you use frequently feels like this sometimes

My wife wants a horn in the passenger seat so she can rage for me.

ptz OP ,
@ptz@dubvee.org avatar

😆

That’s actually not a bad idea.

the_post_of_tom_joad ,

If my wife got to honk at every driver she got mad at from the passenger seat i would lose a lot more fights

RampantParanoia2365 , in "prompt engineering"

I’m confused why you’d be unable to create copyright characters for your own personal use.

MadBigote ,

Is not that you can’t draw one, but CHATGPT can’t do it for you.

hatedbad ,

just a guess, but in order for an LLM to generate or draw anything it needs source material in the form of training data. For copyrighted characters this would mean OpenAI would be willingly feeding their LLM copyrighted images which would likely open them up to legal action.

DScratch ,

buh muh fare youse!

General_Effort , (edited )

You’re allowed to use copyrighted works for lots of reasons. EG satire parody, in which case you can legally publish it and make money.

The problem is that this precise situation is not legally clear. Are you using the service to make the image or is the service making the image on your request?

If the service is making the image and then sending it to you, then that may be a copyright violation.

If the user is making the image while using the service as a tool, it may still be a problem. Whether this turns into a copyright violation depends a lot on what the user/creator does with the image. If they misuse it, the service might be sued for contributory infringement.

Basically, they are playing it safe.

ArmokGoB ,

It seems pretty clear it’s a tool. The user provides all the parameters and then the AI outputs something based on that. No one at OpenAI is making any active decisions based on what the user requests. It’s my understanding that no one is going after Photoshop for copyright infringement. It would be like going after gun manufacturers for armed crime.

MarsAgainstVenus ,
@MarsAgainstVenus@fedimav.win avatar

It’s a tool to you. To someone less tech literate, I can see where they don’t see a difference between this and uploading a copyrighted logo to vistaprint or your custom credit card design.

AeonFelis ,

There is a world of difference between “seems pretty clear” and risking a copyright infringement lawsuit.

General_Effort ,

Who exactly creates the image is not the only issue and maybe I gave it too much prominence. Another factor is that the use of copyrighted training data is still being negotiated/litigated in the US. It will help if they tread lightly.

My opinion is that it has to be legal on first amendment grounds, or more generally freedom of expression. Fair use (a US thing) derives from the 1st amendment, though not exclusively. If AI services can’t be used for creating protected speech, like parody, then this severely limits what the average person can express.

What worries me is that the major lawsuits involve Big Tech companies. They have an interest in far-reaching IP laws; just not quite far-reaching enough to cut off their R&D.

AlexisFR ,
@AlexisFR@jlai.lu avatar

Because copyright laws are inevitable.

ikidd , in My wife was unimpressed by Vim
@ikidd@lemmy.world avatar

That’s because her bull uses Emacs.

Samsy , in Hate it when that happens

Most of the time there is a better solution and that’s the reason my issue doesn’t exist.

isVeryLoud ,

Same, it usually ends up being an X-Y problem and I have to take a step back.

soulfirethewolf , in kno.wled.ge

Aside from the fact that it’s owned by alphabet, what’s so bad about .xyz?

SpaceMan9000 ,

Insanely bad reputation, one hosting provider decided to sell .XYZ domains for 1 dollar per year.

This resulted in people with malicious intent buying up domains en masse to use it for malware delivery/phishing/whatever.

bisby ,

I didn’t realize that. I use a .xyz for a lot of my personal stuff and didn’t realize this. I wanted basically .website … i didnt want .com or .org or anything with tld that meant something, so xyz felt nice. Also, the domain I wanted with any popular tld was insanely expensive and i got my xyz for cheap when it was brand new (not for 1 dollar though).

Maybe I need to look into new domains, but I probably will just stick with it since its primarily for personal use anyway.

JohnEdwa ,

Alphabet uses it for abc.xyz because it’s funny, but the .xyz registrar is the British Team Internet/CentralNic.

Just like how they use youtu.be and goo.gl, but Alphabet doesn’t own Belgium or Greenland either. At least, not yet.

Rikj000 , in Probably the wrong meme format
@Rikj000@discuss.tchncs.de avatar

WASM = WebAssembly,
this has nothing to do with Java,
but with JS (JavaScript).

JS works with JIT (Just In Time) compilation, meaning every user that requests a web page, will request the JS and your browser will compile that JS on the fly as you request it.

WASM on the other hand is pre-compiled once, by the developer, when he/she is making the code. So when a user requests a WASM binary, they don’t have to wait for JIT compilation, since it was already pre-compiled by the developer.

They only have to wait for a tiny piece of JS,
which is still JIT compiled,
a tiny piece of JS to load in the WASM binary.

This saves the user from waiting on JIT compilation and thus speeds up requesting web pages.

WASM also increases security,
since binaries are harder to reverse engineer then plain text JS.

Due to those reasons,
I believe WASM will be the future for Web development.

No clue why people are hating on WASM,
but I guess they just don’t grasp all of the above yet.

onlinepersona OP ,

Wasm code (binary code, i.e. bytecode) is intended to be run on a portable virtual stack machine (VM)

WASM wikipedia

Java bytecode is the instruction set of the Java virtual machine (JVM), crucial for executing programs written in the Java language and other JVM-compatible languages

java bytecode

Need I say more?

hglman ,

Yes

onlinepersona OP ,

OK

Anti Commercial AI thingyCC BY-NC-SA 4.0

dohpaz42 ,
@dohpaz42@lemmy.world avatar

Please do say more because I don’t think the argument you’re trying to make is coming across clearly. Obviously your intelligence is at a level far higher than us low-iq plebs, and we need your brilliant mastery of these topics to be poetically spelled out for us. For we are not worthy otherwise.

onlinepersona OP ,

What are you not getting?

Anti Commercial AI thingyCC BY-NC-SA 4.0

dohpaz42 ,
@dohpaz42@lemmy.world avatar

In all seriousness, everything. You post two out-of-context quotes from two different websites, but put no actual effort into tying them together and explaining your position on either side, and expect us to read your mind and agree with you. It’s a bad faith comment that exudes arrogance.

Sekoia ,

Having read a significant portion of the base WASM spec, it’s really quite a beautiful format. It’s well designed, clear, and very agnostic.

I particularly like how sectioned it is, which allows different functions to be preloaded/parsed/whatever independently.

It’s not perfect by any means; I personally find it has too many instructions, and the block-based control flow is… strange. But it fills a great niche as a standard low-level isolated programming layer.

lil ,
@lil@lemy.lol avatar

I want webpages to be open source, not compiled. That’s why I dislike WASM

Rikj000 ,
@Rikj000@discuss.tchncs.de avatar

WASM projects can be open source,
just like Android apps can be.

However in both instances the compiled versions of it are not easily readable.

Also you can validate binaries against a shasum to ensure no tampering has happened with them.

madkarlsson ,

WASM is great and as it becomes more accessible it will likely take over more and more

OPs meme is just a sign of someone not understanding the softer parts around development. The meme also seems to forget that we tried java in the browser for two decades and it was just… Horrible from all perspectives, in all layers

DacoTaco , in Probably the wrong meme format
@DacoTaco@lemmy.world avatar

The problem with java is the language and how it works itself, and not the byte code idea.
I say that as a few things do that and .net, java and wasm are the first that jump to mind.
Hell, pure technically any programming language that is not asm does that :')

My problem is java itself, not its byte code. Wasm as advantage, imo, is that its not stuck to a single language like java is. .net blazor can build to wasm, but you could also use c++ to compile wasm applications :)

onlinepersona OP ,

I’m not sure why the WASM creator(s) didn’t take advantage of the existing java bytecode and JVM instead of reimplementing it. Might’ve sped up its adoption. Doesn’t matter to me though, as long as JS stops being the #1 in web development.

This meme isn’t to be taken seriously

Anti Commercial AI thingyCC BY-NC-SA 4.0

RonSijm ,
@RonSijm@programming.dev avatar

Why would they? WASM is Web-Assembly, so Assembly is a lower level language than Java.

You can use C# WASM through Blazor, and Java WASM though JWebAssembly. WASM as core is supposed to be language agnostic. So If you want a JVM in WASM you can build it on top of it

onlinepersona OP ,

Java makes bytecode which is run in a JVM, WASM is bytecode which runs in a VM.

Anti Commercial AI thingyCC BY-NC-SA 4.0

RonSijm ,
@RonSijm@programming.dev avatar

Java makes things run in a VM

Docker makes things run in a VM

Virtualbox makes things run in a VM

Why did we need any of those things, should have just put everything in Java instead right 🙃

onlinepersona OP ,

Now that’s meme-worthy!

Anti Commercial AI thingyCC BY-NC-SA 4.0

WhiskyTangoFoxtrot ,

All software should be made to run in SCUMMVM.

xigoi ,
@xigoi@lemmy.sdf.org avatar

Java bytecode is designed specifically for class-oriented languages like Java and works terribly with anything else.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines