アプリ関連ニュース

PICO4を触ってみました

TikTokで有名なByteDance社の子会社のPICOが
昨年10月に発売したVRヘッドセットのPICO4を買ったので触ってみました。

Meta Quest2 と同じようにPCが要らない単体で使える
両目4K解像度とカラーパススルーが売りのヘッドセットです。

無線か有線どちらかでPCに接続することでPCVRヘッドセットとしても
使うことができます。

単体での使用時は、私が以前持っていたHTC Viveと
比べてとても画質が良く感じました。
次に無線でPCに接続して使用した場合は映像をストリーミングしていることが
分かるくらいには画質の低下は感じられましたが、
コントローラーの遅延は特に感じませんでした。

Meta Quest 2を持っていないので比較することはできませんが、
単体で利用するには良い選択肢だと感じました。

水曜担当:Tanaka



Simple command line chat feature of netcat

Today, I would like to share about using netcat to send messages. Let’s take a look.

Netcat is a command line utility tool for performing operations about TCP or UDP and also known as a powerful networking tool. It is mostly used for port scanning, transfering data and troubleshooting a server but in this blog, I will share just about messaging using netcat.

You can install netcat by the following command in debian based operating systems. You will find other installation methods for other operating systems by googling.

sudo apt-get install netcat

To create a messaging service with netcat, run the following command in the terminal to listen on a port of the server.

// Ross

nc -lvp 2000

Ross’s terminal

And on the other system, run the following command to connect the chat server.

// Rachel

nc {ip_of_Ross} 2000

Rachel’s terminal

Now Ross and Rachel can send message to each other.

Ross’s terminal

Rachel’s terminal

But the messaging style is so simple that can’t know obviously who sent the message. For that, you can add prepending name to the chat by using mawk.

// Ross

mawk -W interactive '$0="Ross: "$0' | nc -l -v -p 2000

// Rachel

mawk -W interactive '$0="Rachel: "$0' | nc {ip_of_Ross} 2000

Ross’s terminal

Rachel’s terminal

There we go. It is cool, isn’t it.

For details of ‘nc’ usage, run ‘man nc’ in terminal.

This is all for now. Hope you enjoy that.

By Asahi



Flutterでフローティングアクションボタンについての変更する方法

1: 形状を変更する

FloatingActionButton( 
     shape: BeveledRectangleBorder(
          borderRadius: BorderRadius.zero
     ),
)

2:サイズを変更する

幅と高さは自由に調整できます。

SizedBox( 
    height:100,
    width:100,
    child:FloatingActionButton( 
       child: Icon(Icons.add), 
       onPressed: (){
            print("Button is pressed.");
        },
     ),
),

3:位置を変更する

場所を変更するには、ScaffoldのfloatingActionButtonLocationプロパティを使用します。

Scaffold(
    floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat
)

全部を纏めて、プロジェクトビルド した時

結果

return Scaffold(
        floatingActionButtonLocation: FloatingActionButtonLocation.centerFloat,
        floatingActionButton: SizedBox(
          height: 100,
          width: 100,
          child: FloatingActionButton(
            child: Icon(Icons.add), 
            shape: BeveledRectangleBorder(borderRadius: BorderRadius.zero),
            onPressed: () {
              print("Button is pressed.");
            },
          ),
        ),
        backgroundColor: Colors.blue[100], 
        appBar: AppBar(
          title: Text("Floating Action Button"), 
          backgroundColor: Colors.redAccent, 
        ),
        body: Center(child: Text("Floating Action Button")));

金曜担当 – Ami



正規表現基礎(3)

今回はさまざまなプログラミング言語やツールで活用できる正規表現の記号を紹介します。
本記事は前回の「正規表現基礎(2)」の続きです。

続きを読む

Instagram will be rolling out for Quiet Mode function

Instagram announced it is expanding its choice of time management tools with the launch of a new feature called ‘Quiet Mode’. This feature helps users to have a break from the app by silencing incoming notifications, automatically replying to direct messages, and letting friends know they are not using the app by setting their status to ‘Quiet Mode’.

Quiet Mode Gradient
Credit: TechCrunch

Quiet Mode joins a handful of other screen time management tools Instagram now offers, including daily time spent widgets that let people track their app usage and send each other alerts, set “take a break” reminders break” after individual app sessions extend beyond a certain amount of time and various tools to pause, snooze, and unfollow pages, groups, and people to help further reduce engagement with content that is addictive.

The idea is not just a tool that encourages users to take a break. Instead, it focuses on the real-world impacts that accompany trying to step away from an app you use regularly, and where others expect you to be available.

According to Instagram, teens will be prompted to enable the feature when they spend a “certain” amount of time on Instagram at night, but quiet mode will be available to all users.

Quiet Mode will initially be available to users in the US, UK, Ireland, Canada, Australia, and New Zealand. Instagram says it hopes to expand to more countries soon.

Yuuma



アプリ関連ニュース

お問い合わせはこちら

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

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

お問い合わせフォーム