โŒ

Normal view

There are new articles available, click to refresh the page.
Today โ€” 1 May 2024Main stream

A wide range of top online courses for you!

Websites where you can find a variety of online courses have been appearing for a relatively long time. Nevertheless, in recent years, their demand and popularity have begun to grow rapidly, because large schools have appeared that release their own online courses. The quality, efficiency, and duration of such online courses can really impress. Expensive online courses, such as those for accountants, can last more than a year. Nevertheless, the customer receives the necessary knowledge as a result. Naturally, universities began to quickly lose their own popularity, many are already well aware that it is much easier to go to online courses than to spend years on a completely useless education at a university.

Our project also allows its users to download various online courses, while paying for a subscription first. A couple of hundred more sites with online courses will be able to offer the same today. Nevertheless, what exactly is the reason why our service has become so popular? In short, we are actually the best! And if you are interested in all the details, we will tell you about everything right now!

You can create a website right now using modern constructors and place there ten thousand different courses that have long been leaked on the Internet. Nevertheless, will the portal be in demand and popular? Of course not! To make a really high-quality project, you first need to install your own server. After that, you can make a fast and convenient website, and this can only be done with some knowledge. And after that, where will you start looking for courses? We have spent hundreds of millions of rubles (of course, within 5 years) ordering TOP courses and posting them on our project. Now, if you are interested in course folding site, our service is ready to help in such a matter!

We quickly managed to get ahead of the competition, because we provide our own participants with really TOP online courses from famous schools. At the moment, you will find more than 10,000 different online courses in our catalog! At the same time, we emphasize that tomorrow we can publish more than 30 thousand online courses, thanks to which we can expand the range. However, we will not do this, because we value our own visitors. And why do you need an old course? That is why we post only the best ones, and if the online course is ineffective, we throw them out of our own service.

Some resources that offer to download online courses set a high subscription price. Well, we made it cheap in general. Visit our project and see for yourself!

Xcover 4s can't load android system

i have an xcover 4s g398FNX that is not booting
when i try to boot it takes me to recovery and print:
can't load android system. your data my be corrupted.
reason is enablefilecrypto_failed. supported API: 3
i flashed the files of this stock firmware: SAMFW.COM_SM-G398FN_TIM_G398FNXXSJCWF1_fac using heimdall, but i'm getting the same problem.
if i try: factory reset from the stock recovery: it print: erasing and reboot quickly and then takes me again to the recovery.
i hope that you can help...

Read more

DDD Identifier, autoincrement ID and UUID

I'm developing web application project in Typescript while learning and applying DDD (domain driven design) at the same time.

In our database we use autoincrement ID's for the primary keys. But this approach is something means that no ID will be ready until an entity is persisted.

In DDD every entity that is created should have its identifier from start, so what happens when an entity is created before it is saved to the database? (for example it is created in the frontend). Then, no ID will be available.

In DDD as well its said that every value that is not a entity should be a Value Object, hence the identifier should be a value object as well.

With those premises, I thought of a UniqueEntityID value object that will do the following:

  • The UniqueEntityID hold 2 attributes, uuid and autoincrementId.
  • When the ID is created, if no value is passed to the contructor, it will use a randomly generated uuid, but if a value is give, it will be the autoincrement of the database.
  • To get the real value of the ID, there's a value getter, that will provide the autoincrementId if it exists or the uuid if not.

This way, whenever the entity is retrieved from the repository it will come with the autoincrementId as the value, but to the newly created entities, it will use the UUID. At the moment of saving an entity, if the ID is not persisted it is removed from its attributes, so the new entity is created in the database.

Please tell me if this approach is correct, or if it is an anti pattern, or if I'm missing something.

This is the code used for the UniqueEntityID.

class UniqueEntityID {
  private readonly uuid: string
  private readonly autoincrementId: number

  /**
   * Creates an identifier using UUID implementation,
   * used when the entity is not yet persisted.
   */
  constructor()
  /**
   * Creates an identifier using the autoincrement ID
   * from the database.
   * @param id - The ID given from a database autoincrement.
   */
  constructor(id: number)
  constructor(id?: number) {
    if (typeof id === 'undefined') {
      this.uuid = v4()
    } else {
      this.autoincrementId = id
    }
  }

  /**
   * Check if the ID is an autoincremented ID generated by
   * the database
   */
  get isPersisted() {
    return typeof this.autoincrementId !== 'undefined'
  }

  /**
   * The value of the ID.
   */
  get value() {
    return this.autoincrementId ?? this.uuid
  }
}

Best regards, Jorge

ASM instrument failed if the class has @EqualsAndHashCode annotation

I found my methodVisitor which use visitCode() and onMethodEnter() methods to add some code in original class file sometimes failed. It's strange that if the class file has the @EqualsAndHashCode annotation, the instrument will fail. Other lombok annotations like @Getter @Setter has no impact.

I have tried to remove the annotation and instead generate equals and hashCode manually, and it goes well. So the root cause is the @EqualsAndHashCode annotation. I want to know how to solve it. I need to add codes in the class file with the @EqualsAndHashCode annotation.

How to Create an AI Chatbot with Google GEMINI using Node.js?

I am currently working on a project where I need to create an AI chatbot using Googleโ€™s GEMINI. I have chosen Node.js as my development environment.

While I have some experience with Node.js, this is my first time working with Google GEMINI and I am not sure where to start. I have looked through the GEMINI documentation but I am still unclear about how to integrate it with Node.js to create a chatbot.

Could anyone provide a step-by-step guide or point me to some resources that could help me get started with creating a chatbot using Google GEMINI and Node.js? Any code snippets, tutorials, or advice would be greatly appreciated.

HighChart (area) change series color dynamically inTypeScript

How to change HighChart (area3D) series color in react TypeScript? series data will be chage with setData() but i get this error " TS2304: Cannot find name 'SeriesOptionsType'. " while trying to change series color using chart.series[i].update(SeriesOptionsType,true).

    componentDidUpdate(prevProps: Readonly<ComponentProps<AreaChartProps>>, prevState: Readonly<any>, snapshot?: any) {
        if (this.chartRef.current){
            const chart = this.chartRef.current.chart as Chart;
            for ( let i:number =0 ; i < chart.series.length ; i++){
                chart.series[i].setData(this.props.props.series[i].data,true,true,true);

                chart.series[i].color = this.props.props.series[i].color
                chart.series[i].update(SeriesOptionsType,true)
            }
        }else {
            console.log( "error chart reference not available")
        }
    }

and also get this error "TS2339: Property 'color' does not exist on type 'SeriesOptionsType'. ย ย Property 'color' does not exist on type 'SeriesTiledwebmapOptions'." when using below code

chart.series[0].options.color = "#008800";
chart.series[0].update(chart.series[0].options);

I searched all the net, but i didn't find anything about changing the color using typescript. Also i'm new to scripting languages

Cloud Server from scratch

I'm trying to build a Cloud server in Ubuntu on my own but every tutorial said that a storage platform is required, like NextCloud, ownCloud, ... However, This link said that I can setup a simple network file share like NFS.
I'm just trying to test the following encryption modules: img and also my modified SSL protocol.
Is it actually possible to build a Private cloud server without using third-party storage platforms? If not, can I even test the modules using Nginx or Apache?

Fetch API Returns Empty Array in Next.js Despite Working API Endpoint

I'm using fetch() to retrieve data from my backend API in a Next.js project, but an empty array [] is always returned instead of the expected data. I've verified that the API is working correctly by testing it in a browser or using a tool like Postman. However, when I try to fetch the data in my Next.js component using the following code:

const BookList = async () => {
  const response = await fetch("http://localhost:3001/api/books");
  if (!response.ok) {
    throw new Error("Failed to fetch data");
  }
  const books = await response.json();
  console.log(books);

axios() is working perfectly but i want to use fetch() as it is recommended to use it in Next.js. What could be causing this issue, and how can I fix it to retrieve the correct data in my Next.js component?

How to install mongodb inside lampp folder in linux ubuntu 22?

So I am trying to install mongodb inside lampp folder because my project is using path /opt/lampp/etc/php.ini for php.ini instead of /etc/php/8.2/cli/php.ini problem is that Class MongoDB\Driver\Manager not found error occurring so when I used php artisan serve the problem is solved I want to run my project without artisan and when i run without artisan it starts using cli /opt/lampp/etc/php.ini instead of /etc/php/8.2/cli/php.ini that is why this error is happening

So I am trying to install mongodb inside lampp folder because my project is using path /opt/lampp/etc/php.ini for php.ini instead of /etc/php/8.2/cli

I have tried sudo pecl install mongodb which installed mongodb inside /etc/php/8.2/cli instead of /opt/lampp/ folder also tried many adding php_mongodb.dll file inside /opt/lampp/include/php/ext but it is not working

also tried to run some commands but they did not work please help

Small 5" - 7" android driver's display

I'm getting a Volvo EX30 soon and the car doesn't have a driver's display.

Long story short : I'm looking for something as small as possible that runs itself Android 10+ and has a bluetooth or wifi connection for the obd dongle. I want it to boot into the Torque Pro app and just display the gauges setup there.
โŒ
โŒ