InternetPirate

joined 2 years ago
[–] InternetPirate@lemmy.fmhy.ml 0 points 2 years ago* (last edited 2 years ago)
[–] InternetPirate@lemmy.fmhy.ml 2 points 2 years ago* (last edited 2 years ago) (1 children)

This sounds like science fiction. Even if the AGI were capable of creating plans for a fusion reactor, for example, you would still need to execute those plans. So, what's the point of everyone having access to the plans if the same electrical companies will likely be responsible for constructing the reactor?

[–] InternetPirate@lemmy.fmhy.ml 4 points 2 years ago* (last edited 2 years ago) (1 children)

I honestly think that with an interesting personality, most people would drastically reduce their Internet usage in favor of interacting with the AGI. It would be cool if you could set the percentage of humor and other traits, similar to the way it's done with TAR in the movie Interstellar.

[–] InternetPirate@lemmy.fmhy.ml -1 points 2 years ago* (last edited 2 years ago) (1 children)

I wouldn't be surprised if corporations just asked the AI to make as much money as possible at the expense of everything else. But people like living in capitalist countries anyways, while complaining about the lack of safety nets. Otherwise they would move to countries like China, North Korea or Cuba.

[–] InternetPirate@lemmy.fmhy.ml 3 points 2 years ago* (last edited 2 years ago) (3 children)

The kind that uses gas? I honestly wouldn't have thought someone would be interested in open-sourcing this. I would prefer if it designed an open-source Roomba or, while we're at it, a robot body so that it could perform more tasks. But you would still have to build it yourself.

[–] InternetPirate@lemmy.fmhy.ml 7 points 2 years ago

America becoming a third world country.

[–] InternetPirate@lemmy.fmhy.ml 2 points 2 years ago

A browser extension.

[–] InternetPirate@lemmy.fmhy.ml 2 points 2 years ago (2 children)

I always see german posts in english because of the the web translation extension. The only reason I know it's german is because of the language tag.

[–] InternetPirate@lemmy.fmhy.ml 5 points 2 years ago

You are right. I moved it to the ui.

[–] InternetPirate@lemmy.fmhy.ml 6 points 2 years ago

That was it thanks.

 

Both platforms offer unique features, but also come with limitations. While Lemmy offers diverse content, it lacks robust tag metadata for organizing and searching images. On the other hand, boorus excel at categorizing images with tags but lack the discussion and the diverse content from Lemmy. Why haven't we seen a platform that combines the best of both worlds? How do you envision it would be like?

 

Last month, I developed a script because lemmy.ml had become too slow. Unfortunately, I have the same problem again, but this time there are too many instances to evaluate, causing the script to take an excessively long time to complete. I'm seeking advice on how to enhance the script to simultaneously ping multiple instances. Are there any alternative scripts available that might provide a more efficient solution?

git clone https://github.com/LemmyNet/lemmy-stats-crawler
cd lemmy-stats-crawler
cargo run -- --json > stats.json
#!/usr/bin/env python3
import json
import time
import requests
import requests.exceptions

from typing import List, Dict

TIME_BETWEEN_REQUESTS = 5  # 10 * 60 = 10 minutes
TIME_TOTAL = 60  # 8 * 60 * 60 = 8 hours


def get_latency(domain):
    try:
        start = time.time()
        if not domain.startswith(("http://", "https://")):
            domain = "https://" + domain
        requests.get(domain, timeout=3)
        end = time.time()
        return end - start
    except requests.exceptions.Timeout:
        return float("inf")


def measure_latencies(domains, duration):
    latencies = {}
    start_time = time.time()
    end_time = start_time + duration
    while time.time() < end_time:
        latencies = measure_latencies_for_domains(domains, latencies)
        time.sleep(TIME_BETWEEN_REQUESTS)
    return latencies


def measure_latencies_for_domains(domains, latencies):
    for domain in domains:
        latency = get_latency(domain)
        latencies = add_latency_to_domain(domain, latency, latencies)
    return latencies


def add_latency_to_domain(domain, latency, latencies):
    if domain not in latencies:
        latencies[domain] = []
    latencies[domain].append(latency)
    return latencies


def average_latencies(latencies):
    averages = []
    for domain, latency_list in latencies.items():
        avg_latency = sum(latency_list) / len(latency_list)
        averages.append((domain, avg_latency))
    return averages


def sort_latencies(averages):
    return sorted(averages, key=lambda x: x[1])


def get_latency_report(domains, duration):
    latencies = measure_latencies(domains, duration)
    averages = average_latencies(latencies)
    return sort_latencies(averages)


def get_instances(data: Dict) -> List[Dict]:
    instances = []
    for instance_details in data["instance_details"]:
        instances.append(instance_details)
    return instances


def get_domains(instances: List[Dict]) -> List[str]:
    return [instance["domain"] for instance in instances]


def load_json_data(filepath: str) -> Dict:
    with open(filepath) as json_data:
        return json.load(json_data)


def main():
    data = load_json_data('stats.json')
    instances = get_instances(data)
    domains = get_domains(instances)
    report = get_latency_report(domains, TIME_TOTAL)
    for domain, avg_latency in report:
        print(f"{domain}: {avg_latency:.2f} seconds")


if __name__ == "__main__":
    main()
 

The primary incentive that comes to mind is improved availability. Often, instances can become slow, so I use another. By hosting a local instance I could always have a smooth experience.

Scores are federated, resulting in a consistent global feed across instances and a lack of uniqueness for each instance. I wish hosting an instance provided a more customized experience like this. It would be a great incentive.

 

cross-posted from: https://lemmy.fmhy.ml/post/616834

cross-posted from: https://lemmy.fmhy.ml/post/616828

The Orange Pi 5B is a versatile single-board computer that offers impressive performance at an affordable price. With its Rockchip RK3588S 8-core 64-bit processor, it delivers a powerful computing experience, making it an excellent alternative to the Raspberry Pi 4^2^.

Key Features and Specifications

  • Rockchip RK3588S 8-core 64-bit processor (quad-core A76 + quad-core A55)
  • Main frequency up to 2.4GHz
  • 4GB/8GB/16GB/32GB LPDDR4/4x memory options
  • Support for 8K video codec
  • Wi-Fi 6 and Bluetooth 5.0 with BLE support
  • 32GB/64GB/128GB/256GB eMMC storage options
  • USB 2.0/3.0, HDMI 2.1, Gigabit LAN port, TF card slot, and Type-C power supply

The Orange Pi 5B provides a wide range of interfaces, including HDMI output, GPIO interface, M.2 PCIe2.0, Type-C, Gigabit LAN port, 2x USB 2.0, and 1x USB 3.0^4^. It supports various operating systems, such as Orange Pi OS, Android 12, Debian 11, and Ubuntu 22.04^1^.

Performance and Benchmarks

In the Geekbench 5 benchmark, the Orange Pi 5B scored 1016 for single-core and 2869 for multi-core, significantly outperforming the Orange Pi 4. Its power consumption is higher than other single-board computers, consuming 3.3 watts at idle and 7.3 watts at full load[^8^].

Conclusion

In conclusion, the Orange Pi 5B is a powerful and affordable single-board computer that offers a wide range of features and impressive performance. With its versatile interfaces and support for various operating systems, it is an excellent choice for a variety of applications, from edge computing and artificial intelligence to smart home solutions and more^4^.

Citations:

 

cross-posted from: https://lemmy.fmhy.ml/post/616828

The Orange Pi 5B is a versatile single-board computer that offers impressive performance at an affordable price. With its Rockchip RK3588S 8-core 64-bit processor, it delivers a powerful computing experience, making it an excellent alternative to the Raspberry Pi 4^2^.

Key Features and Specifications

  • Rockchip RK3588S 8-core 64-bit processor (quad-core A76 + quad-core A55)
  • Main frequency up to 2.4GHz
  • 4GB/8GB/16GB/32GB LPDDR4/4x memory options
  • Support for 8K video codec
  • Wi-Fi 6 and Bluetooth 5.0 with BLE support
  • 32GB/64GB/128GB/256GB eMMC storage options
  • USB 2.0/3.0, HDMI 2.1, Gigabit LAN port, TF card slot, and Type-C power supply

The Orange Pi 5B provides a wide range of interfaces, including HDMI output, GPIO interface, M.2 PCIe2.0, Type-C, Gigabit LAN port, 2x USB 2.0, and 1x USB 3.0^4^. It supports various operating systems, such as Orange Pi OS, Android 12, Debian 11, and Ubuntu 22.04^1^.

Performance and Benchmarks

In the Geekbench 5 benchmark, the Orange Pi 5B scored 1016 for single-core and 2869 for multi-core, significantly outperforming the Orange Pi 4. Its power consumption is higher than other single-board computers, consuming 3.3 watts at idle and 7.3 watts at full load[^8^].

Conclusion

In conclusion, the Orange Pi 5B is a powerful and affordable single-board computer that offers a wide range of features and impressive performance. With its versatile interfaces and support for various operating systems, it is an excellent choice for a variety of applications, from edge computing and artificial intelligence to smart home solutions and more^4^.

Citations:

 

The Orange Pi 5B is a versatile single-board computer that offers impressive performance at an affordable price. With its Rockchip RK3588S 8-core 64-bit processor, it delivers a powerful computing experience, making it an excellent alternative to the Raspberry Pi 4^2^.

Key Features and Specifications

  • Rockchip RK3588S 8-core 64-bit processor (quad-core A76 + quad-core A55)
  • Main frequency up to 2.4GHz
  • 4GB/8GB/16GB/32GB LPDDR4/4x memory options
  • Support for 8K video codec
  • Wi-Fi 6 and Bluetooth 5.0 with BLE support
  • 32GB/64GB/128GB/256GB eMMC storage options
  • USB 2.0/3.0, HDMI 2.1, Gigabit LAN port, TF card slot, and Type-C power supply

The Orange Pi 5B provides a wide range of interfaces, including HDMI output, GPIO interface, M.2 PCIe2.0, Type-C, Gigabit LAN port, 2x USB 2.0, and 1x USB 3.0^4^. It supports various operating systems, such as Orange Pi OS, Android 12, Debian 11, and Ubuntu 22.04^1^.

Performance and Benchmarks

In the Geekbench 5 benchmark, the Orange Pi 5B scored 1016 for single-core and 2869 for multi-core, significantly outperforming the Orange Pi 4. Its power consumption is higher than other single-board computers, consuming 3.3 watts at idle and 7.3 watts at full load[^8^].

Conclusion

In conclusion, the Orange Pi 5B is a powerful and affordable single-board computer that offers a wide range of features and impressive performance. With its versatile interfaces and support for various operating systems, it is an excellent choice for a variety of applications, from edge computing and artificial intelligence to smart home solutions and more^4^.

Citations:

 

So we can clearly see the most popular distros and the reasons why people use them, please follow this format:

  • Write the name of the Linux distro as a first-level comment.
  • Reply to that comment with each reason you like the distro as a separate answer.

For example:

  • Distro (first-level comment)
    • Reason (one answer)
    • Other reason (a different answer)

Please avoid duplicating options. This will help us better understand the most popular distros and the reasons why people use them.

-15
... (lemmy.fmhy.ml)
submitted 2 years ago* (last edited 2 years ago) by InternetPirate@lemmy.fmhy.ml to c/linux@lemmy.ml
 

.

 

Hey everyone! I noticed that the discussions around the recently released self-hosted alternative to Steam and Origin, have been focused on its controversial name. Let's shift the conversation and talk about the features you would like to see or wouldn't care about in this software.

view more: ‹ prev next ›