@dudeami0@lemmy.dudeami.win avatar

dudeami0

@[email protected]

I like to code, garden and tinker

This profile is from a federated server and may be incomplete. Browse more on the original instance.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

I’ve never ran this program, but skimmed the documentation. You should be able to use the https://github.com/go-shiori/shiori/blob/master/docs/Configuration.md#data-directory (or a custom database table following those instructions) along with the https://github.com/go-shiori/shiori/blob/master/docs/Usage.md#using-web-interface for launching the web interface. A simple bash script that should work:


<span style="font-weight:bold;color:#a71d5d;">export </span><span style="color:#323232;">SHIORI_DIR</span><span style="font-weight:bold;color:#a71d5d;">=</span><span style="color:#183691;">/path/to/shiori-data-dir
</span><span style="color:#323232;">shiori serve -p 8081
</span>

To run multiple versions, I’d suggest setting up each instance as a service on your machine in case of reboots and/or crashes.

Now for serving them, you have two options. The first is just let the users connect to the port directly, but this is generally not done for outward facing services (not that you can’t). The second is to setup a reverse proxy and route the traffic through subdomains or subpaths. Nginx is my go-to solution for this. I’ve also heard good things about Caddy. You’ll most likely have to use subdomains for this, as lots of apps assume they are the root path without some tinkering.

Edit: Corrected incorrect cli arguments and a typo.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

SQL is the industry standard for a reason, it’s well known and it does the job quite well. The important part of any technology is to use it when it’s advantageous, not to use it for everything. SQL works great for looking up relational data, but isn’t a replacement for a filesystem. I’ll try to address each concern separately, and this is only my opinion and not some consensus:

Most programmers aren’t DB experts: Most programmers aren’t “experts”, period, so we need to work with this. IT is a wide and varied field that requires a vast depth of knowledge in specific domains to be an “expert” in just that domain. This is why teams break up responsibilities, the fact the community came in and fixed the issues doesn’t change the fact the program did work before. This is all normal in development, you get things working in an acceptable manner and when the requirements change (in the lemmy example, this would be scaling requirements) you fix those problems.

translation step from binary (program): If you are using SQL to store binary data, this might cause performance issues. SQL isn’t an all in one data store, it’s a database for running queries against relational data. I would say this is an architecture problem, as there are better methods for storing and distributing binary blobs of data. If you are talking about parsing strings, string parsing is probably one of the least demanding parts of a SQL query. Prepared statements can also be used to separate the query logic from the data and alleviate the SQL injection attack vector.

Yes, there are ORMs: And you’ll see a ton of developers despise ORMs. They is an additional layer of abstraction that can either help or hinder depending on the application. Sure, they make things real easy but they can also cause many of the problems you are mentioning, like performance bottlenecks. Query builders can also be used to create SQL queries in a manner similar to an ORM if writing plain string-based queries isn’t ideal.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

“From March 1, 2024, an order will come into force to block VPN services providing access to sites banned in Russia,” Sheikin was quoted as saying by state news agency RIA.

I assume this means it’s regarding outgoing communications, for censorship purposes most likely. I’d be surprised if they were blocking incoming VPN traffic, and I don’t think the Russian government has an issue with Yandex operating.

how to turn events on and off in Javascript (lemmy.ml)

Hello, so I am experiencing a problem in my javascript app where I cannot stop a user spamming a button. The app is used to draw three random numbers from a range. when a button is clicked, a number is drawn and a special animation plays, then the next number can be drawn. I am having trouble preventing the user from spamming...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

For your own sanity, please use a formatter for your IDE. This will also help when others (and you) read the code, as indentation is a convenience for understanding program flow. From what I see:

  • Your enable and disable functions are never called for this portion of code
  • You use a possibly undeclared enabled variable, if so it never passes scopes between the handleClick and animation methods
  • You do not use any callback or await for invoke or updateCurrentBox, causing all the code after either to immediately run. As a result, enabled is never false, since it just instantly flips back to true. I’m not sure what library invoke is from, but there should be a callback or the function returns a Promise which can be awaited.

Things like this turn people off from Linux

I run Mylar on my Xubuntu server to manage my comic collection. I found out recently that there’s a tool that can convert the embedded .jpgs to .webp to save space, but it only works on cbz files and not cbr (zipped vs rar for those who don’t know). I wanted to convert all of my cbr to cbz so that I could run the tool on all...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

If you are expecting a more windows-like experience, I would suggest using Ubuntu or Kubuntu (or any other distro using Gnome/KDE), as these are much closer to a modern Windows GUI. With Ubuntu, I can use the default file manager (nautilus) and do Ctrl+F and filter files via *.ext, then select these files then cut and paste to a new folder (drag and drop does not seem to work from the search results). In Kubuntu, the search doesn’t recognize * as a wildcard in KDE’s file manager (dolphin) but does support drag/drop between windows.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Thermometers, like most measurement devices, are always accurate until you get two of them. Each device has a specific tolerance (or should, otherwise it’s probably a horrible tolerance), for a grill thermometer this will look like -/+5C/10F. Additionally, everything used to read a measurement needs to be calibrated regularly to ensure proper function, otherwise readings cannot be trusted. For a thermometer, the easily accessible way to calibrate are to use ice water (does it read 0C/32F) and boiling water (does it read 100C/212F). Using these constants will allow you to adjust your thermometer and get a (more) accurate reading.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Season 8 on more torrents is probably considered to be the new hulu reboot. This is due to the disparity in the home release seasons and the television TV seasons. So most likely if you have seasons 1-7, you have all the home release versions of the show, and therefore have the entire library.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Looking over the github issues I couldn’t find a feature request for this, so it seems like it’s not being considered at the moment. You could make a suggestion over there, I do think this feature would be useful but it’s up to the devs to implement it.

That being said, I wouldn’t count on this feature being implemented. This will only work on instances that obey the rules so some instances could remove this feature. When you look up your account on my instance (link here), it is up to my server to respect your option to hide your profile comments. This means the options have to be federated per-user, and adds a great deal of complexity to the system that can be easily thwarted by someone running an instance that chooses to not follow these rules.

If your goal is to stop people looking up historical activities, it might be best to use multiple accounts and switch to new accounts every so often to break up your history. You could also delete your content but this is again up to each instance to respect the deletion request. It’s not an optimal solutions but depending on your goals it is the available solution.

Edit: Also if your curious about the downvotes, it’s not the subject matter but your post violates Rule 3: Not regarding using or support for Lemmy.

Are transfer speeds tied to internet speed?

When i connect to my jellyfin server to stream/download video/audio the speeds are tied to my internet speed. If my internet speed drops so does the transfer rate from my server. However it seems tied to my internet download speed (which varies from 0.5 to 80 mb/s), not the upload speed(which is usually 2 mb/s), and if i...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Sounds like some QoS software is also limiting LAN traffic, seeing as it still works if the internet is disconnected. I would look if your router has “Adaptive QoS” or something similar enabled.

Meta Just Proved People Hate Chronological Feeds (www.wired.com)

Meta conducted an experiment where thousands of users were shown chronological feeds on Facebook and Instagram for three months. Users of the chronological feeds engaged less with the platforms and were more likely to use competitors like YouTube and TikTok. This suggests that users prefer algorithmically ranked feeds that show...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Best I could find is here, which is an article by Randall Munroe (the xkcd artist), and states:

davean (the xkcd sysadmin) wrote the patch

This blog post links to another wayback machine page (thank you archive.org!) here, which explains the sorting algorithm and states it’s original author:

Fortunately, the math for this was worked out in 1927 by Edwin B. Wilson.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Does the flash drive show when you run lsblk with the correct amount of space? dd will overwrite the partition table and works directly with the underlying physical blocks of the device. If the flash drive isn’t broken, you should be able to rebuild the partition table with parted (tutorial from linuxconfig.org on the matter)

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

In most setups I have seen, the nginx instance provided by Lemmy is used due to the routing needed between lemmy/lemmy-ui being handled in nginx. Your reverse proxy can then point to the nginx instance to expose lemmy.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Sounds like the cache got corrupted possibly? See if Ctrl+F5 clears up the issue, or try restarting your browser.

How many people here have actually used XMPP?

With all the current discussion about the threat that Instagram Threads has on the Fediverse and that article about how Google Embrace Extend Extinguished XMPP, I was left very confused, since that was the first time I’ve heard that Gchat supported XMPP or what XMPP actually is, and I’ve had my personal Gmail since beta (no,...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Google tried to add support for it in their product

Is like saying that google tried to add support for HTTP to their products. Google Talk was initially a XMPP chat server hosted at talk.google.com, source here.

Anyone that used Google Talk (me included) used XMPP, if they knew it or not.

Besides this, it’s only a story of how an eager corporation adopting a protocol and selling how they support that protocol, only to abandon it because corporate interests got in the way (as they always do). It doesn’t have to be malicious to be effective in fragmenting a community, because the immense power those corporations wield to steer users in a direction they want once they abandon the product exists.

That being said, if Google Talk wasn’t popular why did they try to axe the product based on XMPP and replace it with something proprietary (aka Hangouts)? If chat wasn’t popular among their users, this wouldn’t of been needed. This could of been for internal reasons, it could of been to fragment the user base knowing they had the most users and would force convergence, we really can’t be sure. The only thing we can be sure of is we shouldn’t trust corporations to have the best interest of their users, they only have the best interest of their shareholders in the end.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

As for the article, I think this is generally PR and corporate speak. Whatever their reasons were, they apparently didn’t shut down the initial XMPP servers until 2022 so it was a reliable technology. There “simplification” was bringing users into their ecosystem to more easily monetize their behaviour. This goes along with your last paragraph, at the end of the day the corporation is a for-profit organization. We can’t trust a for-profit organization to have the best of intentions, some manager is aiming to meet a metric that gets them their bonus. Is this what we really want dictating the services we use day to day?

Some good-faith questions of some seemingly apparent benefits of a potential Corporate Fediverse, and the detriments of defederating from a Corporate Fediverse. Could I get some answers?

Hey guys. I admittedly am mostly a layman to the Fediverse as a concept. So I am coming into this post with the knowledge that I don’t understand the technical intricacies of it....

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

These are just my opinions on the matter at hand.

TLDR; it’s not all about growing as massive as possible and letting everyone talk to everyone. It’s about communities being able to make choices for their user base and the freedom to choose who to federate with. It’s also about users having a choice of which instance they use to interact with the fediverse, and with whom. Having Meta involved limits these choices in not so obvious ways.

Doesn’t the fediverse have an inherent protection and/or immunity from corporate take-over?

Yes, but that does not mean it is invulnerable. Take the World Wide Web as an example, over the past couple of decades the decentralized web has become increasingly centralized. Projects such as Lemmy and Mastodon are a shot back at this trend, to try and break the web up as it was. Each instance gets to decide if letting large corporations federate with them is the best choice or not. It seems that a lot do not want this, and this is exactly the kind of protection from corporate take over that is inherent. The more large central servers are allowed to take a central role, the more power they will gain to snuff small communities and instances. They will do this by fragmenting users bases and communities over time, or any other dirty tricks they can come up with.

Also, having billions of dollars at your disposal is known to increase your influence overall. They can outspend anyone to sell most people on how Threads is interconnected and fediverse friendly, if you let them sell that lie they will win in time. They’ll do this, pull the rug and say how other independent instances aren’t corporating. They will shut off access to these communities in one way or another and begin the process of centralization. It has happened before, and will happen again.

Aren’t we protected?

If you choose to not use Threads, you are not giving your information directly to Meta. But, that does not mean you are safe. Meta is a corporation, and will try to pull whatever tricks they can to take over as the dominate player. They are going head to head with Twitter, what makes you think instances a fraction of Twitters size are safe?

Also, saying we are isolated by our individual instances is a bit humorous as they are federated. If one instance pushes most of the content is that really isolated? What about upvotes, engagement and any other activity that is pushed to other servers via the ActivityPub protocol? These will all be taken in by Meta, which means you are feeding them activity. Sure it’s safer, but they are still getting more data by engaging in the ActivityPub protocol than they get via scrapping pages. Also, they don’t have to play fair with the ActivityPub protocol, there are a lot of dirty tricks that could be used to hamper content on other instances than their own.

Is there anything currently stopping Meta from scraping the Fediverse for our content?

No, and the fediverse should not care. The goal of the fediverse at the moment is to stay independent and have a user base that is not reliant on a single entity and to stay away from the influence of corporate interests. If you operate in a public space, someones always going to be able to see it. It’s all about who owns that public space.

Won’t we grow & educate?

Who is we? Users that value their freedom will stay in the independent fediverse instances. Those who are looking for a twitter alternative will probably go to Threads. Those who don’t care will probably stay on Twitter. Any of these users might have multiple accounts on some or all of these services. Trying to group this together as “we” is a bit disingenuous.

As for growth, it’s not safe to assume that independent instances will grow because of the federation of users from Threads. Users that are on Threads are likely to stay on Threads, users that join instances are likely to stay there. Look to linux users to see why you aren’t going to convert many over the virtues of freedom and decentralization, you’ll just become another “fanboy”.

Aren’t we worried we’re forcing an ultimatum while the Fediverse is still in its infancy?

What is the ultimatum? This is a pretty loaded question, since some of the fediverse is already fractured. The fact you can spin up your own instance, invite whoever you want and keep the interests of your community out of the hands of corporations is the goal. Freedom to host your own community. Anything else is just having a capitalist mindset on growth, the line doesn’t always have to go up. Getting the most users isn’t the end game, it’s having a community that you belong to and feel a part of.

What’s the harm in pulling the ripcord if we try it, and it’s truly not a good fit?

Each instance chooses what is best for their community. Being a part of the mainstream content feed isn’t the goal of most of these decentralized communities.

“What about an influx of low-quality content?”

Why do instances need to let users block Meta when they know their users want Meta blocked? What’s stopping users from going to an instance that doesn’t block Meta if their instance disagrees with their opinion? It’s all about doing what instances communities want, or users can migrate if they feel their needs aren’t being met.

“What if Meta doesn’t moderate well?”

Meta will probably be able to moderate for their advertisers better than most instance operators will be able to. But again, it’s not about moderation and sanitizing content for advertiser revenue, it’s about having a space that is for the community by the community. It doesn’t need to be a single homogeneous community so ads can sell. Some of us want that outside of a corporations control, others don’t or don’t care, all are valid. Thankfully, everyone has a choice instead of being forced to do one or the other.

KDE freezes when going to sleep/suspending

For quite some time now, KDE has intermittently been unable to go to sleep. It will either go to a black screen with the cursor still showing, and the computer running, or it will show a half frozen sddm looking screen with the computer still running. The computer, in both cases, will be wholly unresponsive, and the only way to...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Using Nvidia with closed source drivers by chance? I had a similar issue and had to disable the services related to nvidia suspend/hibernate/resume:

<pre style="background-color:#ffffff;">
<span style="color:#323232;">systemctl disable nvidia-suspend nvidia-hibernate nvidia-resume
</span>

This is all I can think of, some hardware specs might help others with assisting you.

Shinra_K, to nostupidquestions
@Shinra_K@kbin.social avatar

Considering the new European legislation, which forces interoperability between social networks and some speculate that's why Threads uses ActivityPub, wouldn't that force the European Fediverse to interact with Meta?

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

From what I can read here:

The DMA’s threshold is very high: companies will only be hit by the rules if they have an annual turnover of €7.5 billion within the EU or a worldwide market valuation of €75 billion. Gatekeepers must also have at least 45 million monthly individual end-users and 100,000 business users.

So instances will not be required to federate because they will not be making the thresholds. This could explain why Meta is going to use the ActivityPub protocol though, and is an interesting perspective on the issue.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

It all depends on the size of your instance, but surprisingly little. The most expensive part of running an instance at the moment seems to be users interacting/posting. I’ve had my single user instance running for 22 days, here’s what I have found.

Hardware: I was running it on an HP Chromebox G1 i7-4600U just fine, I did move it to a HP DL360 G7 but this is overkill.

Network: I have 100Mbit/s down and 24Mbit/s up, I can’t even tell when lemmy is federating on my bandwidth charts. It seems to use very minimal network data. Hosting content or users will increase the data requirements, you’d have to get data from larger instances for a perspective there.

Disk: I’m using 4.7G for the postgres and 6.2G for the pictrs after having the instance online for 22 days. This will all depend on how active the communities you subscribe to are. My pictrs is only thumbnails sent during federation, and I have read these purge after some time but haven’t verified these claims.

TLDR; if you have some old hardware around stick a decent sized HDD or SSD in it and you’ll be able to host your own instance for personal use. If you have more users or host images on your instance, the requirements will go up so avoid this if network/disk space is scarce.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

I think whoever wrote this article mistook the fact the project itself is only fully supported on Linux, but possibly can run on Windows with use of the WSL (Windows Subsystem for Linux). These are system requirements for the host PC, not the in-game computer. Good luck running modern linux or windows on 96kb of ram.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Why not a Raspberry Pi? The supply chain issues are clearing up.

In the US it seems the supply chain issues are alive as ever. Most of the official resellers are sold out on anything but the Pico and Zero boards. Some do have 4B boards for sale if you buy their starter kit with them, increasing the price by $65 on canakit. The supply issues are definitely not resolved for home users no matter what the CEO wants to say.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

It seems up to me. Do you use cloudflare’s 1.1.1.1 DNS? If so archive.is blocks their DNS queries.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

This wouldn’t be a surprise to anyone seeing the conditions pollinator honey bees are kept in. Most are distrubuted in cardboard boxes to fields to be used for pollination. Once they pollinate the fields they aren’t really of concern to the farmers anymore. In my opinion, this is like saying half of cattle die every year, but populations remain stable. It’s kind of by design, and in some cases the goal.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Basically, data storage is cheap. Currently it can cost as low as $0.01/day for other instances to store the content that is being sent by the largest communities. Otherwise instances can clear out old data and let the larger instances be the archive hosts.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Meta is allowed to use the ActivityPub standard just as much as any other standard. This does not mean anyone who decides to use it must interact with others who use it. SMTP will block your mail if you aren’t from a larger server, have the right signatures and even then. Servers block HTTP over VPNs often, and there are even rules about referencing content via other servers on HTTP (CORS). Just because a standard is open doesn’t mean everything using that standard has to communicate with each other.

The beauty of this is that those running instances can’t restrict access of other instances to the fediverse. If Meta does start using ActivityPub, every current instance can block it. Other entities could want to run an instance that federates with Meta who has the resources to do so. Currently the biggest issue is the vast difference in scale between current instances and Meta. But if other entities got into the fediverse that federated with Meta this would still be a decentralized system, just with larger nodes between them. All of this still allows those who run small instances to block these larger instances that are more mainstream and keep it the way they want it.

Logitech Faces Stock Price Drop and Troll Reviews After Titan Sub Disaster (www.mensjournal.com)

"OceanGate CEO Stockton Rush piloted the Titan submersible using a Logitech F710 controller designed for PC gaming. After the tech giant was seemingly implicated in the ill-fated expedition, the reaction from the stock market was instantaneous. According to MarketWatch, Logitech's share price started out the week at $56.73 on...

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Click bait titles stitching together memes and selling it as reality at it again.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

The benefit of not having half the screen devoted to trying to get you to download the app is a huge bonus.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

The first quote is an great demonstration of using logical fallacies to sell a point, and I am glad the article breaks down the argument. Anyone using a loaded question such as:

Is the goal of the Fediverse to be anti-corporate/anti-commercial, or to be pro-openness?

Doesn’t fundamentally understand the fediverse. Almost every projects goal is supporting the decentralization of these technologies. To quote the website fediverse.to:

The fediverse is a collection of community-owned, ad-free, decentralised, and privacy-centric social networks.

Allowing a single entity with a larger and more dominate platform, more power in the legislatures of the world, and effectively infinite times more capital to come in destroys the decentralized nature. Meta also doesn’t stand for “community-owned”, “ad-free”, nor “privacy-centric”. Meta’s goal here is pretty obviously to centralize and control the networks as much as possible, and scrap the remaining data from other instances, using the ActivityPub protocol. Meta is a corporation who’s motives are to increase shareholder value. The fact these are community ran instances is like Walmart coming in to stomp out the local grocery.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Q1: Correct

Q2: Not at present, but it’s a highly requested feature. I would imagine it will be around soon^tm^ in one form or another.

dudeami0,
@dudeami0@lemmy.dudeami.win avatar

Neither seems to work for me, maybe federation is overloaded with the sudden influx? I’ll report back if it ends up working.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • uselessserver093
  • Food
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • KamenRider
  • TheResearchGuardian
  • KbinCafe
  • Socialism
  • oklahoma
  • SuperSentai
  • feritale
  • All magazines