Croquette

joined 1 year ago
[–] [email protected] 1 points 2 weeks ago (1 children)

What part of posix is redox trying to get away from?

[–] [email protected] 1 points 2 weeks ago

Depends what you want in an OS. The increasingly invasive ads and loss of control in Windows is overwhelmingly a good enough reason for me. But it is not the case for everyone.

Linux has its quirks, and it's a different approach to an OS in general, so it can be intimidating if you only want an office machine.

[–] [email protected] 2 points 1 month ago

There is a recent-ish game that uses this exact premise

Outriders

 

Hello,

I am looking for recommendations for a service provider of immutable backup that has options for a homelab user.

My research has led me to services with expensive options, or no pricing at all unless you ask for a quote.

Thank you

[–] [email protected] 6 points 1 month ago (3 children)

I woke up early this morning, so I'm a bit irritated as a baseline, but how the fuck is that even a close race?

It's a rhetorical question, but damn is it mind blowing how dumb people can be.

The US is fucked up and is influencing us here, and I am fucking pissed.

[–] [email protected] 2 points 1 month ago

Yes. Otherwise there wouldn't be any point in keeping it open.

Restaurants have notoriously thin margins, so to stay in business 15 years, something shady is happening most likely.

[–] [email protected] 39 points 1 month ago (7 children)

If a restaurant looks shady and stays in business, it's either a front or the food is delicious.

[–] [email protected] 1 points 1 month ago

You take a common name and add "lin" or any variation of that sound at the end.

The only example I have at the top of my head is Jessica-Lyn because I knew one person with that name in the past, but you get the gist.

[–] [email protected] 1 points 1 month ago

Yeah but they didn't have a line for that in their excel sheet, so how are they supposed to find that money?

Bean counters hate nothing more than imprecise cost saving. Are they gonna save 100k in the next year? 200k? We can't have that imprecision now can we?

[–] [email protected] -4 points 1 month ago (1 children)

I am being pedantic here, but if the laser travel at the same speed as c in a given medium, then it is going at the speed of light.

[–] [email protected] 1 points 1 month ago

Yeah because fuck you and every single pleb.

[–] [email protected] 2 points 2 months ago

A lot of web browsers use chromium, which is the chrome engine. So anything that they want to add from the new manifest will eventually be added the engine. Firefox had a different engine, so they were not affected by the new manifest. However, they will sell our data from now on, so the Firefox engine is also not a choice anymore.

So that leaves not a lot of options.

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

I cannot share the code unfortunately as this is for a start-up and there is already some identifiable info in the code. The repo is private.

However, Cesanta provides a lot of examples in their repo Mongoose Library. Cesanta uses a dual license, GPL for anyone to use, or Closed Source if you pay for it. They support a lot of mcu families.

They also released a Wizard to create a simple interface through their web app. Check them out.

Edit: I forgot about the initial point. Thanks for the info. I am used to my tools, but webdev is a lot more open-ended, so I got lost pretty hard. I had a lot of libraries in my project, so I'm gonna try to recreate the basic element with Vite.js and Tailwind.css only to limit the number of libraries I depend on, as to limit the error potential.

 

Hello,

I am currently trying to implement a webserver on an embedded STM32F439 using the Mongoose library and Preact (3kB React equivalent made especially for embedded solutions).

My speciality is in embedded development and my web dev experience is next to nil, so I have a hard time finding a solution for my problem.

Right now, I tried to use Preact + Vite.js, but it seems to be causing issues when packing my webpage into my embedded system.

The workflow I am using right now is as follows:

  1. Create a webpage with Preact/TailwindCSS in jsx and build the page with npm run build. If I run npm run dev or start a http server with python3, the webpage loads properly.

  2. For Mongoose Library, since I don't have a file system, I use their packing utility which takes the webpage files and convert them into a C array that can then be unpacked by the Mongoose Library at runtime.

  3. Start the embedded server, get an IP and the server is online. At that point, I can customize my paths to show whatever I want and fetch embedded resources. The issue happens here. As I add more elements to my webpage, eventually, it stops working. It produces a range of issues (403 forbidden, illegal characters for example).

Preact+Vite.js is definitely creating some issue here with the embedded dev environnement, so I would like to explore more "barebone" options where I have more control over what is bundled and how it is bundled. It really feels like Preact+Vite.js is obfuscated a lot when bundling all the files together, and I would like to have more control over that part so that I can learn a little bit about the workflow of the bundling.

So my question is as follow : what other dev environnement do you recommend knowing that the webpage is packed in a C array and then runs on an embedded system with no file system?

Thanks

 

Hello,

I installed Ubuntu a few months ago on my work laptop and I've been running and loving it since.

However, I am used to VsCode, so this is what I am using in Ubuntu as well.

So I am curious, what kind of coding so you do? And what is your workflow.

I am an embedded firware developper and mainly use C. I am cross compiling my code in VsCode for a FPGA from Xilinx (dual core arm + PL)

Never dove into make files and cmake more than what I needed in the past, but I had an opportunity to learn CMake and build a project from it.

So my workflow is :

  1. Code in VsCode
  2. Build in CMake
  3. Transfer the app through scp on the target with a custom script (target is running petalinux, which is yocto + Xilinx recipes)
  4. Use gdb server to debug the code.

It's a pretty simple workflow, but I'd like to know what you guys are running so that I can maybe upgrade my workflow.

view more: next ›