アプリ関連ニュース

仮想通貨によってハードディスクも枯渇しだしました

先々週の週末あたりからPCパーツ販売店の
ストレージ向け大容量ハードディスクの在庫が急速に無くなってしまいました。

続きを読む

A new colorful iMac introduced by Apple

Recently, Apple released a new dramatic iMac redesign, making the design thinner with a variety of colorful designs and these are so eye-catching. Naturally, the latest version of the 24-inch all-in-one desktop is based on the company’s new proprietary M1 chips.

Image credit : Apple

The display has a 4.5K Retina display, along with a 1080p camera which is a pretty good move. I am always wondering when they will improve this and this finally has come. The company is also working on audio and video more seriously. True Tone is naturally on board for better color balance, and the sound has been enhanced with the six-speaker setup. The display features 11.3 million pixels, a P3 color gamut, and 500 nits of brightness. Like the latest iMac models, it features an anti-reflective coating to reduce screen glare.

According to the company, the new iMacs are significantly thinner and the total volume is cut in half. The rear is also flat rather than a curved design. They are also using a new chip that enables much faster performance than previous models, a huge performance boost. The company says it’s up to 85% faster than the latest model, along with a GPU that’s up to twice as fast and triples machine learning.

There are four USB-C ports, including two Thunderbolts, for faster speed and a new magnetic power adapter that also offers 1Gbps Ethernet. The system comes in seven colors. There are also some new accessories for the system, including a new colorful Magic Keyboard that supports built-in TouchID.

I am also hoping for larger 27inch version soon.

Yuuma



How AJAX Works Using the jQuery Library

The jQuery ajax() method provides core functionality of AJAX in jQuery. It sends asynchronous HTTP requests to the server.

The standard way of making an AJAX call using jQuery is rather simple – by using the $.ajax() function:

<script>
$.ajax(
  '/jquery/getdata',
  {
      success: function(data) {
        alert('AJAX call was successful!');
        alert('Data from the server' + data);
      },
      error: function() {
        alert('There was some error performing the AJAX call!');
      }
   }
);
</script>

As you already known, the $ sign is used to refer to a jQuery object.

In the above example, the first parameter is  string URL to which you want to submit or retrieve the data.

The second parameter is the JSON format. By default, ajax() method performs http GET request if option parameter does not include method option.

In most cases, we will need to specify the success and error callbacks. The success callback will be called after the successful completion of the Ajax call. On the other hand, the failure callback will be called if something goes wrong and there was an issue performing the AJAX call.

Using Promises for AJAX with jQuery         

$.ajax method supports JavaScript Promises as well. 

.done() as replacement for .success()

.fail() as replacement for .error()

.always() as replacement for .complete()

$.ajax({
       data: someData,
       dataType: 'json',
       url: '/path/to/script'
}).done(function(data) {
      // If successful
      console.log(data);
}).fail(function(jqXHR, textStatus, errorThrown) {
      // If fail
      console.log(textStatus + ': ' + errorThrown);
});

Chaining Works

Assign the $.ajax() method to a variable, for which we can chain promise callbacks to. In this example, the $.ajax() method returns a promise object natively, which we can use chaining too:

var ajaxCall = $.ajax({
   context: $(element),
   data: someData,
   dataType: 'json',
   url: '/path/to/script'
});

ajaxCall.done(function(data) {
    console.log(data);
});

Multiple AJAX calls

We can compound several AJAX calls with their status $.when().

var a1 = $.ajax({...}),
a2 = $.ajax({...});

$.when(a1, a2).done(function(r1, r2) {
  console.log(r1[0]);
  console.log(r2[0]);
});

Dependence chain of AJAX requests

We can also chain multiple AJAX request. For example, when the second AJAX call relies on returned data on the first call. 

var a1 = $.ajax({
             url: '/path/to/file',
             dataType: 'json'
         }),

    a2 = a1.then(function(data) {
    // .then() returns a new promise
           return $.ajax({
              url: '/path/to/another/file',
              dataType: 'json',
              data: data.sessionID
             });
         });

a2.done(function(data) {
    console.log(data);
});

By Ami



Unity Jsonファイルの読み込み

Unityでは「(アプリ名)/Assets/Resources」以下の階層に保存した設定ファイルをScriptから直接読み込むことが可能です。

今回は「(アプリ名)/Assets/Resources/json/jsonsample.json」に保存したjsonの設定ファイルを読み込む処理のサンプルをシェアしたいと思います。

続きを読む

Microsoft buys Nuance for nearly $20 billion deal

Microsoft said it agreed to buy Nuance Communications, a cloud and artificial intelligence (AI) software company, in a cash transaction valued at $ 19.7 billion, including debt on Monday.

So what is Nuance ?

“Nuance provides the artificial intelligence layer at the point of healthcare delivery and is a pioneer in the real-world application of enterprise artificial intelligence” Microsoft CEO Satya Nadella said in a statement. “Artificial intelligence is the highest priority in technology and healthcare is most urgent application.”

Nuance products include multiple clinical speech recognition as a service (SaaS) software offerings built on Microsoft Azure. The company’s solutions work with major healthcare systems and are currently used in 77% of US hospitals, noted in a statement of him.

Beyond healthcare, Nuance provides expertise in artificial intelligence and customer engagement solutions in interactive voice response, virtual assistants, and digital and biometric solutions.

Microsoft’s acquisition of Nuance builds on the existing partnership between the companies announced in 2019 to help transform healthcare delivery. Last year, the software giant introduced Microsoft Cloud for Healthcare to address the needs of the rapidly transforming and growing healthcare industry.

This combination might results solutions and expertise to deliver new cloud and artificial intelligence capabilities in healthcare and other industries, and represent the latest step in Microsoft’s industry-specific cloud strategy, the Redmond-based company noted.

Yuuma



アプリ関連ニュース

お問い合わせはこちら

お問い合わせ・ご相談はお電話、またはお問い合わせフォームよりお受け付けいたしております。

tel. 06-6454-8833(平日 10:00~17:00)

お問い合わせフォーム