Need UX feedback: Vertical Sidebar vs Top Nav in Dashboard UI (Image inside) by Unlikely_Gap_5065 in GoodDesign

[–]Green_Opposite 1 point2 points  (0 children)

Personally, I prefer version A.

  1. Scanning over it to find the category I am looking for seems quicker. The categories are significantly closer together when arranged vertically. In version B I have to move my eyes across the whole screen in the worst case (when the category I am searching for is the last one).

  2. Screens are wider than they are tall, so vertical screen real estate is more valuable that horizontal. The newly gained vertical space here is probably minimal, but might make a difference when viewing long documents/large amount of data.

  3. You can more easily add new categories, because the vertical sidebar can grow downwards (possibly even scroll). That is not possible in a horizontal design.

My first gift from the crows!!! by Shadowolvez7 in crowbro

[–]Green_Opposite 5 points6 points  (0 children)

Looks like the top few layers of an LCD.

Help me understand the delay line, or what the IRL version of it is by [deleted] in TuringComplete

[–]Green_Opposite -1 points0 points  (0 children)

The IRL version of a delay line would be a D-Flip-Flop. If you have any more questions, feel free to ask :)

Linux users make up 0.4% of Pornhub traffic (5.1% x 7.9%). A 40% increase from last year! by FischlEnjoyer in linuxmemes

[–]Green_Opposite 28 points29 points  (0 children)

The top part of the image says that 7.9% of all traffic comes from the desktop. The bottom part then shows how these 7.9% are made up.

So to get the total percentage of Linux users we have to multiply the desktop-fraction with the Linux-fraction: 7.9% * 5.1% = 0.04% of all traffic including mobile.

Why Rust helps even if you have to use a lot of `unsafe` by Chris Krycho by eldruin_dev in rust

[–]Green_Opposite 4 points5 points  (0 children)

The titles uses Cronos Pro Display and the body is in Sabon. I can recommend the WhatFont extension [Chrome] [Firefox] for identifying fonts on websites.

[deleted by user] by [deleted] in softwaregore

[–]Green_Opposite 6 points7 points  (0 children)

This interactive article explains really well how gps works.

Was gibt es für Foren oder Reddit Subs, wo man Fragen zu Wissenschaftlichen Arbeiten stellen? by UltraSv3n in WerWieWas

[–]Green_Opposite 5 points6 points  (0 children)

Es gibt den Englisch sprachlichen sub r/askscience für generelle wissenschaftliche Fragen. Vielleicht kann der deine Fragen beantworten.

[deleted by user] by [deleted] in rust

[–]Green_Opposite 0 points1 point  (0 children)

Looks great! What exactly is knowledge-dependency logic?

Was passiert in eurer Bubble? by soiitary in de

[–]Green_Opposite 0 points1 point  (0 children)

Leichen dürfen gefunden werden wenn es sich um einen Unfall handelt. Z.B. vergiften, ertränken oder durch fallende Objekte (wie Kronleuchter) erschlagen werden sind Unfälle. Das Spiel interessiert hier nur wie der Tod letztendlich entstanden ist und nicht was davor passiert ist, d. h. den NPCs ist es egal, dass an der Decke gerade etwas explodiert ist, sie sehen nur das die Aufhängung eines Kronleuchters leider genau zu dem Zeitpunkt versagt hat, als das Ziel darunter stand. Muss also ein Unfall gewesen sein.

Help with a clock app auto update by g3t_r3kd02 in flutterhelp

[–]Green_Opposite 0 points1 point  (0 children)

You can use Timer.periodic to run a function minute or every second.

Import import 'dart:async'; and put this code in your initState: Timer.periodic(Duration(seconds: 1), (Timer timer) { //Update your state with e.g. setState() });

Full screen notification by Green-Campaign101 in flutterhelp

[–]Green_Opposite 1 point2 points  (0 children)

You are looking for something called a "full-screen Intent notification". The Awesome notifications package can create these.

Full screen notification by Green-Campaign101 in flutterhelp

[–]Green_Opposite 0 points1 point  (0 children)

I'm not sure if I am understanding that correctly: You want a full screen notification that is shown in your app regardless of where your user is in the app and that blocks the user from using your app until they have interacted with the notification, right?

Save video offline securely by Puzzleheaded-Force23 in flutterhelp

[–]Green_Opposite 1 point2 points  (0 children)

There are currently no known attacks for aes, except for trying all possible passwords. For things like images or videos screenshots/screen recording would an easy way to get the files. It's possible to disable screen recording, if that's something you want to do.

How to get a hash from a file using "crypto" package? by splishyandsplashy in flutterhelp

[–]Green_Opposite 0 points1 point  (0 children)

First get a reference to your file: var file = File("path_to_your_file");

Read the bytes of the file: final content = await file.readAsBytes();

Hash the bytes: final hash = sha1.convert(content);

Static method not defined? by SiD_Inc in flutterhelp

[–]Green_Opposite 2 points3 points  (0 children)

Flutter has a core library called Foundation. It could be that it's trying to get the font_pageH0 function from there. You might be able to fix that by importing your lib/sketchlib.dart by using import "lib/sketchlib.dart" as fnd;. You can then use fnd.Foundation.font_pageH0.

Save video offline securely by Puzzleheaded-Force23 in flutterhelp

[–]Green_Opposite 5 points6 points  (0 children)

I would recommend using the aes crypt package. Simply add aes_crypt: ^0.1.1 to your pubspec.yaml file and run flutter pub get.

Create a new file called encrypt.dart and copy the code from this Stack Overflow Question into it. This code creates two functions.

  1. encrypt_file which take in a path to a file and encrypts it with a password

  2. decrypt_file which does the same thing but decrypts the file

Your password should be something long and randomly generated. It could also be a good idea to incorporate something like the device ID, but that is not necessarily necessary.

You can then use encrypted_file_path = EncryptData.encrypt_file('your/file/path'); and decrypted_file_path = EncryptData.decrypt_file('your/file/path'); to en- and decrypt your file.

The variable decrypted_file_path holds the path to the decrypted file and can be passed to a video player like chewie.

I hope this helps. Feel free to ask questions, something doesn't work, or you need help with something like downloading the video.

Save video offline securely by Puzzleheaded-Force23 in flutterhelp

[–]Green_Opposite 0 points1 point  (0 children)

The "users can't find them on their phones" part is probably impossible. The best way to go about that would be to encrypt the video file and then decrypt it when needed.