[-] starman@programming.dev 8 points 2 years ago* (last edited 2 years ago)

C# has native compilation capability, thanks to Native AOT

https://learn.microsoft.com/en-us/dotnet/core/deploying/native-aot/

[-] starman@programming.dev 7 points 2 years ago* (last edited 2 years ago)

BTW, can someone recommend me nice alternative for fast and free static website hosting?

I tried GitHub Pages, but I couldn't get it working with subdomains.

[-] starman@programming.dev 8 points 2 years ago

Nice list!

I would add RiMusic (ViMusic fork, since ViMusic haven't been updated in a long time) and maybe InnerTune

[-] starman@programming.dev 7 points 2 years ago

There is speculation that Lord Farquaad's appearance was inspired by Michael Eisner, the then–CEO of The Walt Disney Company, because of producer Jeffrey Katzenberg's animosity toward his former employer.

From Wikipedia

[-] starman@programming.dev 8 points 2 years ago

Languages like F# or (God forbid) VB.NET

[-] starman@programming.dev 7 points 2 years ago

Just like Facebook or Instagram

[-] starman@programming.dev 8 points 3 years ago* (last edited 3 years ago)

Yes, with RTGs. They are used on mars rovers, for example.

[-] starman@programming.dev 8 points 3 years ago* (last edited 3 years ago)

to my deepest regret, also JavaScript

I can relate. And thanks for this high-effort comment.

[-] starman@programming.dev 8 points 3 years ago

Same reasons as reddit. Pure stupidity.

[-] starman@programming.dev 7 points 3 years ago

If it's open source you can share it on !opensource@lemmy.ml

28
13
8
1
submitted 3 years ago* (last edited 3 years ago) by starman@programming.dev to c/uiux@programming.dev

(not mine)

5

Hello, I have a problem with CORS and I think this is right community to get help.

When I use this code:

import { LemmyHttp } from 'lemmy-js-client';
const client = new LemmyHttp('https://lemmy.ml');
const { posts } = await client.getPosts({
    limit: 10,
    page: 1
});

to get posts from lemmy.ml (using lemmy-js-client), I get:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://lemmy.ml/api/v3/post/list?limit=10&page=1. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 400.

I have tried to add header like this:

const client = new LemmyHttp('https://lemmy.ml', {
    headers: {
        'Access-Control-Allow-Origin': '*'
    }
});

but result is the same.

Can someone help me with this?

17

I’m really excited to share it. Before diving into development and investing more time into this project, I would love to hear your thoughts and get some initial feedback on the app’s look.

If this concept receives enough positive interest, I plan to invest further by acquiring a domain and making it available for public use. It will be open source as well.

Thanks in advance!

1

I'm really excited to share it. Before diving into development and investing more time into this project, I would love to hear your thoughts and get some initial feedback on the app's look.

If this concept receives enough positive interest, I plan to invest further by acquiring a domain and making it available for public use. It will be open source as well.

Thanks in advance!

11
Rider 2023.2 EAP 7 is out (blog.jetbrains.com)
1
19
1
10
submitted 3 years ago* (last edited 3 years ago) by starman@programming.dev to c/csharp@programming.dev

Link to GitHub issue: https://github.com/dotnet/csharplang/issues/7009

Link to video explaing it: https://youtu.be/91xir2oUQPg

view more: ‹ prev next ›

starman

0 post score
0 comment score
joined 3 years ago
MODERATOR OF