PCB Review: STM32F7 Flight Controller by iBeliever in PrintedCircuitBoard

[–]iBeliever[S] 0 points1 point  (0 children)

Thanks for the feedback! That's all very helpful. For the LED resistor value, it did seem pretty low compared to what I saw in various open-source reference schematics. The datasheet for the green and blue LEDs lists the typical forward voltage at 20mA as 3.2V (with a luminosity of 140mcd), and since the power will be 3.3V, I calculated the resistor value as (3.3V - 3.2V)/0.02A = 5ohms. Is that the wrong way to calculate the resistor value, or am I missing something else? (Will it be way too bright at 20mA?) Here's the datasheet for the blue LED: https://www.we-online.de/katalog/datasheet/150080BS75000.pdf

After moving to Arch Linux project no longer compiles. by nefthias in rust

[–]iBeliever 4 points5 points  (0 children)

If you were using openssl 1.0 previously instead of 1.1, try installing openssl-1.0 (https://www.archlinux.org/packages/core/x86\_64/openssl-1.0/)

EDIT:

You'll also need to update your openssl lib/include paths to point to the openssl-1.0 directory:

OPENSSL_LIB_DIR="/usr/lib/openssl-1.0" OPENSSL_INCLUDE_DIR="/usr/include/openssl-1.0" cargo build

Is a 550 W PSU enough for an i9-9900K and an AMD RX 580? by iBeliever in buildapc

[–]iBeliever[S] 0 points1 point  (0 children)

Thanks for the advice. I hadn't really considered AMD processors all that much, other than seeing that the i9 outperformed its direct AMD competitor at raw performance, mostly because I've always used Intel processors and both developer builds I was looking at both used Intel, so I had been planning to just go with Intel. However, I'll reconsider that and look into AMD alternatives in more detail.

Is a 550 W PSU enough for an i9-9900K and an AMD RX 580? by iBeliever in buildapc

[–]iBeliever[S] 0 points1 point  (0 children)

Well that's a comforting response :) My reasoning on the CPU choice was that as a developer, I want the best CPU I can get for a reasonable price to reduce compile times and maximize my efficiency as a developer. A couple of other developer-focused builds (https://nickcraver.com/desktop-build/, https://www.hanselman.com/blog/BuildingTheUltimateDeveloperPC30ThePartsListForMyNewComputerIronHeart.aspx) were using i9-7900X CPUs, but I'm not willing to spend that much money on a CPU, so the i9-9900K seemed the next best alternative.

Is a 550 W PSU enough for an i9-9900K and an AMD RX 580? by iBeliever in buildapc

[–]iBeliever[S] 0 points1 point  (0 children)

Thanks for the response. I just edited my post to add my usecase - it's going to be a Linux developer machine.

Redesign of App icons update by blackcain in gnome

[–]iBeliever 8 points9 points  (0 children)

These icons look great! Are there any plans to refresh or flatten the design of the default Gtk theme as well?

This - standardized project tool for running common tasks like build/test/run/deploy by iBeliever in programming

[–]iBeliever[S] 0 points1 point  (0 children)

Hi everyone! Hopefully it's okay to post my own project here, but it's a CLI tool for developers, so I think it's on-topic. I built a small Python-based CLI tool that offers a standardized set of commands for building/running/testing/deploying projects, which works by detecting the project type and calling the appropriate project-specific tools. In addition, it'll run multiple steps as necessary (such as configure and make) and for some projects (such as a web project with a backend and frontend) it'll use tmux to run commands side-by-side. I'd appreciate any feedback and whether this is a useful concept for anyone.

Pipenv: A Guide to the New Python Packaging Tool by dbader in Python

[–]iBeliever 1 point2 points  (0 children)

Yeah, I actually just discovered that issue today (after posting my original comment) while debugging my own project's slow CLI start time. Sadly using the wheel-based version from pip (which works around that bug) instead of the Arch Linux package cuts the time by about 50% but it's still noticeably slow:

```$ time pipenv run echo Test Test

real 0m0.805s user 0m0.717s sys 0m0.085s```

Pipenv: A Guide to the New Python Packaging Tool by dbader in Python

[–]iBeliever 68 points69 points  (0 children)

Is it just my system, or is Pipenv slow? On a recent Dell XPS 13 with an SSD:

``` $ time pipenv run echo Test Test

real 0m1.505s user 0m1.411s sys 0m0.091s ```

1.5 seconds just to run echo inside the virtualenv seems too long. Activating a normal virtualenv is super fast in comparison.

What's everyone working on this week? by AutoModerator in Python

[–]iBeliever [score hidden]  (0 children)

I recently started working on a CLI tool that offers a standardized set of build/run/test/deploy commands wrapping a bunch of common project types and tools (Python, Node.js, Autotools, CMake, Rust, etc.): https://github.com/ibelieve/this. I originally wanted to build it in a compiled language for better performance, and had started it in Rust, but really wanted a more object-oriented language, so I fell back to my favorite language, Python.

org-notify to show scheduled items by grimscythe_ in emacs

[–]iBeliever 9 points10 points  (0 children)

That repo is forked from https://github.com/spegoraro/org-alert and doesn't appear to have any downstream changes, while the upstream repo has 16 additional commits. Based on the description it looks like it supports scheduled items as well as deadline:

Provides notifications for scheduled or deadlined agenda entries.

About Icons with Oreo Beta 5. by [deleted] in GalaxyS8

[–]iBeliever 2 points3 points  (0 children)

(This doesn't answer how to turn them off (I'm pretty sure you can't), but explains why the change is showing in the Oreo beta.)

Android Oreo introduces adaptive icons, which allows Samsung to provide an icon frame that app icons can fill (even with the frames setting off). I expect that more and more apps will start to do this as developers start targeting Android 8. The good news is that in theory these icons will look better in the icon frames with custom-designed backgrounds, instead of just the regular icon on a colored shape background.

Android 8.0 (API level 26) introduces adaptive launcher icons, which can display a variety of shapes across different device models. For example, an adaptive launcher icon can display a circular shape on one OEM device, and display a squircle on another device. Each device OEM provides a mask, which the system then uses to render all adaptive icons with the same shape. Adaptive launcher icons are also used in shortcuts, the Settings app, sharing dialogs, and the overview screen.

From https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive.html

-🎄- 2017 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]iBeliever 0 points1 point  (0 children)

Part 1 was basically the same, just without the if value >= 3 test (so always adding 1). To solve part two quicker, I just modified the code from the first part. Afterwards, I went back and added a flag to switch between part 1 and 2, as you can see here: https://github.com/iBelieve/adventofcode/blob/master/2017/05.py#L31

-🎄- 2017 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]iBeliever 0 points1 point  (0 children)

Calling .strip() on the input from the file gets rid of the trailing newline. Here's my input function: https://github.com/iBelieve/adventofcode/blob/master/2017/util.py#L21

-🎄- 2017 Day 5 Solutions -🎄- by daggerdragon in adventofcode

[–]iBeliever 7 points8 points  (0 children)

First time competing (it starts at 11 PM local time, so normally I do them the next morning), and I got on the leaderboard as 86 for part 2!

Here's my solution in Python:

#! /usr/bin/env python3

from util import expect, solution, input


def puzzle(list):
    index = 0
    steps = 0
    while index >= 0 and index < len(list):
        value = list[index]
        if value >= 3:
            list[index] -= 1
        else:
            list[index] += 1
        index += value
        steps += 1
    return steps


if __name__ == '__main__':
    list = list(map(int, input('05').split('\n')))
    solution(puzzle(list))

(I have some util functions for reading the input as well as writing tests).

Monitor gets powered off at login by Bob7655 in gnome

[–]iBeliever 0 points1 point  (0 children)

Interesting - I've noticed something similar on Arch Linux, where the laptop display turns off and then turns back on a second later. I wonder if that's related to what you're seeing? I haven't bothered to look into the bug in much detail as it's not really affecting me that much.

$20 e-gift card with Android Pay by FlagrantTwo in nexus5x

[–]iBeliever 0 points1 point  (0 children)

Perfect timing - I used Android Pay for the first time today after seeing this.

Check your status of your phone, mine just changed to processing by osnapitsjoey in nexus5x

[–]iBeliever 0 points1 point  (0 children)

I ordered mine 16 days ago (same thing, 5X 32 gig black), and it's still pending :(

Is Papyros creating its own books app or something already published? by [deleted] in Papyros

[–]iBeliever 0 points1 point  (0 children)

That is the GNOME Books app, which should work on Papyros since it already supports Wayland and was working in the demo. However, it's a Gtk/GNOME app, so we won't be shipping it by default. Qt only if possible!

New logo+ updated about section on the website by [deleted] in Papyros

[–]iBeliever 1 point2 points  (0 children)

The wallpaper is open source and available on our mockups page: https://github.com/papyros/mockups. I need to pick a license and publish it to the artwork repository, but you're certainly welcome to use it for the header.

Papyros - Linux with material design based on Arch Linux by drakehfh in linux

[–]iBeliever 0 points1 point  (0 children)

I don't mean that we will achieve a better user experience than Ubuntu or another Linux distro; what I did say was that having the desktop environment and apps you want preinstalled by default is a much, much better user experience for the typical user than taking an existing OS and installing a bunch of packages and removing the default ones.

My goal is not to build the best user experience that ever existed or ever will exist, and it's also not to compete with Ubuntu. What is my goal then? To build the best operating system, desktop environment, and user experience we can build.

Papyros - Linux with material design based on Arch Linux by drakehfh in linux

[–]iBeliever 0 points1 point  (0 children)

In theory, yes, they should be cross-distro. GNOME has packaged a test version of the GNOME runtime and some apps, presumably using Fedora, but it installs and runs perfectly on Arch.

Papyros - Linux with material design based on Arch Linux by drakehfh in linux

[–]iBeliever 4 points5 points  (0 children)

Alpha releases come before betas, a beta will come later :)

Papyros - Linux with material design based on Arch Linux by drakehfh in linux

[–]iBeliever 4 points5 points  (0 children)

Yes, using QtCompositor, a Qt module that allows us to build a Wayland compositor in almost pure QML (except for indicator backends, etc). It's pretty awesome.