アプリ関連ニュース

個人用ファイルサーバー機の作成(トラブルに遭遇)

前回搭載したハードディスクを使用して
mdadmのソフトウェアRAIDを組む予定でした。
RAID10アレイは問題無く組めたのですが、
アレイの再構築処理完了後、再起動をかけると
起動時に以下の画像のメッセージが表示されるようになりました。

前回搭載したHDDのS.M.A.R.T値でエラーが見つかったようです。
実際S.M.A.R.T値がどうなっているのか、
Windowsを起動して、Crystal disc info を使用して確認してみました。
健康状態が異常と表示されており、
シークエラーレートの現在値が20台、最悪値が1となっていました。
(画像のHDDの他にも4台のHDDが同じような症状で異常と表示)

ディスクに異常があるようですが、
1時間ほどアイドル状態で放置しておくと
以下の画像のように徐々に現在値が改善されているように見えます。

このまま復活するのではないかと思い更に放置すると、

現在値が100まで回復、健康状態も正常となりました。

根本的な原因はまだ見つけられていませんが、
Raidアレイ再構築時の長時間の書き込み処理で
磁気ヘッドの移動になんらかの異常がでているのではないでしょうか。

冷却ファン等の振動が原因なのであれば、8台中5台に異常が出て、
3台は正常というのも不可解です。

ちなみに前回落下させた4台のHDDの内、
エラーが出ているのは1台、他の4台は落下させていないHDDです。

このままだと、ファイルサーバーとして使用するのは不安ですので、
早めに原因を見つけたいです。

水曜担当:Tanaka



Snap social map

You might heard about the snapchat , one of the popular social media platforms owned by snap Inc. Well, you also might want to know about the snap map. Snap wants users to get a more personal view of the world around them.

Image Credit: TechCrunch

While products like Google Maps and Apple Maps have relied on data partners to improve the quality of their contextual insights, Snap hopes to provide users with a more practical approach to mix and match third-party links with their Snap which allows users to create a view of their geographic environment tailored to their interests.

Snap Map has aimed to be a fundamentally social product, designed for people and friends rather than cars and directions. Theoretically, the layers will allow your users some customization when deciding which POIs (point of interest) they want their map to be structured.

Users will be able to rate shows at nearby concert venues and can purchase tickets within the Snapchat app. With The Infatuation, users can scan the map for editorialized recommendations for nearby restaurants with lists and reviews from the site. More of these partnerships are on the way, although it doesn’t appear that Snap is planning to open the floodgates to developers anytime soon.

Snap Inc says that Snap Map has some 250 million monthly active users.

Yuuma



TypeScript

TypeScript stands in an unusual relationship to JavaScript. TypeScript offers all of JavaScript’s features, and an additional layer on top of these: TypeScript’s type system.

TypeScript is a modern age JavaScript development language.

There are a lot of benefits of adding static typing to JavaScript. You’ll not see that undefined pop up in your applications anymore. Refactoring code will not be a nightmare anymore. And many more. A study shows that 15% of JavaScript bugs can be detected by TypeScript.

Types — The difference between JS and TS

Programming languages fall into two categories: statically typed or dynamically typed.

Function getWidth(width){
 return num + 3
}

Here, the type of variable width is not known. If I call this with, getWidth(“I love TS”) it will print I love TS3. This is known as type coercion. If it can, Javascript will see that it is trying to add a string and a number together, and it will convert the number to its string equivalent and concatenate them.

With TypeScript, I could do the following:

function getWidth(width: number) {
    return num + 3
}

We just added the type of variable width as a number. If I call add(“I love TS”) now, it’ll throw a compilation error — Argument of type string is not assignable to parameter of type number .

Catching the error instantly allows me to save time and check why my input is not the type I think it is, rather than having to trace my steps back much later in the process without being sure where the error is occurring.

Benefits of Static Typing

  • TypeScript is that it offers the ability to add static types to your JavaScript code.
  • Static typing allows you to catch errors earlier in the debugging process.
  • Adding strict types makes code more readable. A code that speaks for itself can offset the lack of direct communication between team members.

By Ami



[Laravel] テキストエリアの入力内容を改行付きで表示する

今回はLaravelのテンプレートエンジンBladeでテキストエリアでの入力内容を改行付きで表示する方法をシェアしたいと思います。

続きを読む

Leaks about Google Pixel 6 and 6 Pro

Google Pixel 6 and Google Pixel 6 Pro leaked with some designs. Both devices appear to have a single-hole punched display and a bold industrial design on the back. Both devices appear to have a camera on their back that is a kind of bridge from one side to the other.

For your information, The leaks aren’t straight-up leaked from Google or anything like that, but were created by a third party based on real-life images of the phones.

Image Credit : FRONT PAGE TECH

The Google Pixel 6 Pro appears in this leak in two color combinations. Instead of a white background rear section, this larger Pixel 6 Pro appears with a very light orange background section. The Google Pixel 6 Pro also appears in a color scheme with an off-white bottom and champagne accents.

The Pixel 6 looks smaller and has only two cameras on the back, we wouldn’t be surprised if one of them was a normal wide sensor while the other was an ultra-wide. The Pixel 6 Pro, on the other hand, appears larger and adds a third sensor, hopefully a telephoto lens, though from the looks of these renders it won’t be a periscope type, so can’t expect more than 3x optical magnification.

Hopefully Google will also update the sensors it uses, which are getting kind of old now.

If you are curious about watching a video, here is the link created by FRONT PAGE TECH youtube channel.

Yuuma.



アプリ関連ニュース

お問い合わせはこちら

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

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

お問い合わせフォーム