![](https://programming.dev/pictrs/image/9de36669-449a-4be0-8e8f-8409552a6c64.png)
![](https://programming.dev/pictrs/image/170721ad-9010-470f-a4a4-ead95f51f13b.png)
Cowboy Programming:
PO: Hey we want to go to Mars
- 3 weeks of silence -
Developer: Hey I’m there, where are you?
Cowboy Programming:
PO: Hey we want to go to Mars
- 3 weeks of silence -
Developer: Hey I’m there, where are you?
Yea, I wasn’t saying it’s always bad in every scenario - but we used to have this kinda deployment in a professional company. It’s pretty bad if this is still how you’re doing it like this in an enterprise scenarios.
But for a personal project, it’s alrightish. But yea, there are easier setups. For example configuring an automated deployed from Github/Gitlab. You can check out other peoples’ deployment config, since all that stuff is part of the repos, in the .github
folder. So probably all you have to do is find a project that’s similar to yours, like “static file upload for an sftp” - and copypaste the script to your own repo.
(for example: a script that publishes a website to github pages)
I suppose in the days of ‘Cloud Hosting’ a lot of people (hopefully) don’t just randomly upload new files (manually) on a server anymore.
Even if you still just use normal servers that behave like this, a better practice would be to have a build server that creates builds, like whenever you check code into the Main branch, it’ll create a deploy for the server, and you deploy it from there - instead of compiling locally, opening filezilla and doing an upload.
If you’re using ‘Cloud Hosting’ - for example AWS - If you use VMs or bare metal - you’d maybe create Elastic Beanstalk images and upload a new Application or Machine Image as a new version, and deploy that in a more managed way. Or if you’re using Docker, you just upload a new Docker image into a Docker registry and deploy those.
I would assume this just relies on the Discord API being read by the bot - and not on having a local discord installed…
Just wait until she learns child processes get aborted
Yea, what @hydroptic@sopuli.xyz posted is actually Java
What even is the point of creating standards if you design backdoors to them
If you’re building in a backdoor anyways, why would the backdoor require 5 lines of weird reflection to get the type, type info, fieldinfo with the correct binding flags, and then invoking the method?
I think it’s kinda neat compared to C#, just being able to say “Ignore private/protected/internal keywords”
Is it Java? It looked like Microsoft Java C# to me…
public static void Main(string[] args)
{
var meme = new Meme();
var joke = GetTheJoke(meme);
}
public static Joke GetTheJoke(Meme theMeme)
{
var memeType = typeof(Meme);
var jokeField = memeType.GetField("Joke", BindingFlags.NonPublic | BindingFlags.Instance);
return (Joke)jokeField.GetValue(theMeme);
}
there is no good silver bullet solution
Yea, to add, you (OP) should probably mention what you intend to do with it. You mention modeling and generating interfaces for Python and Typescript, but you can do that with loads of things. Like you want to create an API client/server, you could look at OpenAPI specs for example.
If you’re looking at inter-process communication or embedded systems, or (named) pipe kinda communication you probably want a way more compressed messaging format like protobuf
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 🙃
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
Rebasing is for noobs.
git reset head~42
git push -f
Just wondering, what’s the purpose of the logo / where is it shown? If the logo is just the favicon - you could create a very elaborate logo, but it doesn’t really show up in a 25x25 image
I’ve been developing an AI tool, and I’ve generated a lot of images for testing purposes that are pretty much in the same sentiment as this picture:
I don’t really want to spam this post with lots of pictures, so here’s a collection of attempts: https://imgur.com/a/F6Kc26O
I think they’re either Dalle-3 or SDXL based, but with a lot of customizations trying to fine-tune it
Not using
CultureInfo.InvariantCulture
for basically everything
I don’t think so. I just made a screenshot of one random convo he’s having about this, but there’s loads more in a similar fashion.
And all of his other posts besides this one seem legit on the surface.
So it would be pretty weird if he randomly has a very bad take, and then just claims “Lol this was a troll post, gotcha!”… That’s pretty much the 4chan defense when you get called out - “Haha guys, I’m actually not r-worded, I’m just trolling!”
I don’t think it’s satire, this guy is actively defending this on Linkedin: https://i.imgur.com/SlJPG85.png
What we have is machine learning, just an algorithm that takes input and gives you output. It can’t act on its own.
Isn’t that basically what “real learning” is as well? Basically you’re born as a baby, and you take input, and eventually you can replicate it, and eventually you can “talk” for example?
But in the training data something was off, suddenly your AI is racist and gives every black person a lesser amount.
Same here, how is that different from “real learning”? You’re born into a racist family, in a racist village where everyone is racist. What is the end-result; you’re probably somewhat racist due to racist input - until you might unlearn that, if you’re exposed to other data that proves your racist ideas were wrong
If a human brain is basically a big learning computer, why wouldn’t AI eventually reach singularity and emulate a brain and beyond? All the examples you mentioned of what it can’t do, is just stuff it can’t do yet
I like how they’ve done it, but from an “instance owner” perspective I can kinda see how it could become annoying to support 5 different FE UIs…
I’ve tested https://phtn.app - and over there it seems when you login it sends the login request straight to https://programming.dev/api/v3/user/login
- (which is good)
While mlmym sends the login attempt to it’s own backend to proxy it - which is bad, since anyone could alter the code and log the login requests on their server and capture your auth data.
I’ve been looking into mlmym, but it’s programmed in GO, which I’m not familiar with, so that’s not great (for me) - though I’ve seen you can compile GO into WASM - so my idea is to do that so it can be hosted stateless (like in s3 or even just github pages) without any backend. If then the auth can be fixed, it could practically be used from any location and the instances wouldn’t have to host their own version of mlmym
I don’t know, I’ve asked in an issue of their repo: https://github.com/rystaf/mlmym/issues/77 - they might clarify why they removed it.
Apparently some of the links in the gist file are mirrors: https://o.opnxng.com/ and https://lemmy.bolha.one
The downside of these local mirrors is probably that the auth credentials are POSTed to those sites - apparently due to limitations or Lemmy. But so it would be better instances hosted their own versions
git reset head~9 git add -A git commit -am 'Rebased lol' git push -f