teleren/devto huggingface dataset:
iPhone vs one plus
Tags: iphone, oneplus
Published: 2024-01-23 13:18:44

The [iPhone and OnePlus](https://sites.google.com/view/iphone-vs-one-plus/home) are two popular brands of cell phones. Both have their unique features and advantages. Here are some points to consider when comparing the two:

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3rsv1tcjn5g0ola1kqul.JPG)
Operating System: [iPhones](https://sites.google.com/view/iphone-vs-one-plus/home) run on iOS, while OnePlus phones run on Android. The choice between the two depends on your personal preference and familiarity with the operating system.

Design and Build Quality: iPhones are known for their sleek and premium designs, often made with glass and metal materials. OnePlus phones also have a premium build quality but may offer more variety in terms of design options.

Performance: Both iPhone and OnePlus phones offer excellent performance. iPhones are known for their optimized hardware and software integration, which often results in smooth and responsive performance. OnePlus phones usually come with high-end processors and ample RAM, providing a fast and fluid user experience.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dqdry0wbowjz4yhuuchc.jpg)
Camera: iPhones have consistently delivered impressive camera performance, with features like Night Mode, Deep Fusion, and Portrait Mode. OnePlus phones have improved their camera quality over the years but may not be on par with the latest iPhone models.

Software Updates: iPhones generally receive regular software updates directly from Apple for several years, ensuring that users have access to the latest features and security patches. OnePlus phones also receive software updates but may not have the same level of long-term support as iPhones.

Price: iPhones tend to be more expensive compared to OnePlus phones. OnePlus devices offer flagship-level specifications at a relatively lower price point, making them an attractive option for budget-conscious consumers.

Ultimately, the choice between an iPhone and a OnePlus phone depends on your individual preferences, budget, and specific needs. It's a good idea to compare the features, specifications, and user reviews of different models from both brands before making a decision.
 

[**## **Get a free one plus****](https://sites.google.com/view/iphone-vs-one-plus/home)
.Net BinarySearch is fast, but can we make it faster?
Published: 2024-01-23 13:04:39

_The short answer is yes, up to 25%_

We all know that in the .Net Framework, the BinarySearch is fast to search in List<>, but can we make it even faster?

## The Question
We have a List<int> with 1.000.000 numbers.
We create a function to see if a number exists in the collection

```
public bool ExistBinarySearch()
{
    return _numbers.BinarySearch(numberToSearch) >= 0;
}
```

**The Faster Binary Search is**
```
public bool ExistFasterBinarySearch()
{
    int low = 0;
    int high = _numbers.Count - 1;

    while (low <= high)
    {
        int mid = (low + high) / 2;
        if (_numbers[mid] == numberToSearch)
            return true;
        else if (_numbers[mid] < numberToSearch)
            low = mid + 1;
        else
            high = mid - 1;
    }
    return false;
}
```

## The Results
The FasterBinarySearch wins.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/mkyd08rakil4vgji1uxm.png)
Om Sai Physiotherapy & Fitness Center - In vadodara
Tags: physio, physiotherapist, physical
Published: 2024-01-23 13:03:11

At[ Om Sai Physiotherapy & Fitness Center](https://www.facebook.com/people/Om-Sai-Physiotherapy-And-Fitness-Center/), our physiotherapists are dedicated professionals with advanced skills, providing exceptioprovide With extensive training and experience, they ensure top-notch rehabilitation and therapy services. Our team specializes in diverse areas, committed to enhancing overall health and well-being through tailored care and effective treatment approaches. As the leading rehabilitation center and physiotherapy clinic in Vadodara, we boast a team of proficient physiotherapists and fitness trainers, placing a specific emphasis on shoulder therapy since 2006.

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wwqqxr8z38ojkwq7awbq.jpg)
The Power of Thinking About “The Thing After the Thing”
Tags: tips, culture, devops, mindset
Published: 2024-01-23 11:02:26

---
title: The Power of Thinking About “The Thing After the Thing”
published: true
date: 2024-01-23 13:00:00 UTC
tags: tips,culture,devops,mindset
canonical_url: https://seankilleen.com/2023/09/the-power-of-thinking-about-the-thing-after-the-thing/
---

I’ve long been a fan of [The Phoenix Project](https://www.amazon.com/Phoenix-Project-DevOps-Helping-Business/dp/0988262509), and grateful for the ways its introduced so many to DevOps culture and practices. One of my favorite personal “ah-ha” moments came from part of its described Third Way of DevOps:

> Improving daily work is more important than doing daily work.

It’s essentially the same principle as compound interest. Any improvement to our approach or process means all future work benefits from that improvement.

I believe in this principle deeply, but at times it’s been difficult to find language to really bring it home for others, and to describe how I myself put it to work in practice.

I recently found a phrase I’ve started using that seems to resonate, and accurately reflects a lot of the success I’ve been able to attain so far over my career. It comes down to this:

## Always be thinking about “the thing after the thing”.

For every piece of work or process we touch, there is often a future state that benefits in a compounding way if we take the time, while doing that work, to imagine and improve that future state.

## How Does This Show Up For Me?

[Read the rest at SeanKilleen.com!](https://seankilleen.com/2023/09/the-power-of-thinking-about-the-thing-after-the-thing/)
DE2 migration
Tags: vpn, openvpn, softether, germany
Published: 2024-01-23 12:50:11

DE2 (Germany) has changed datacenter in Frankfurt am Main. The default OpenVPN and SoftEther configs of DE2 (domain name based) were not changed, the configs based on IP were changed. 

Update it please.

**OpenVPN**
https://dash.deepwebvpn.net/en/download?goto=openvpn/single/SingleRSA_DE2.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/single/SingleECC_DE2.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/double/DoubleRSA_DE2_NL1.ovpn
https://dash.deepwebvpn.net/en/download?goto=openvpn/double/DoubleECC_DE2_NL1.ovpn

**SoftEther**
https://dash.deepwebvpn.net/en/download?goto=softether/single/SingleSSL_DE2.vpn
https://dash.deepwebvpn.net/en/download?goto=softether/double/DoubleSSL_DE2_NL1.vpn

Source: https://en.blog.deepwebvpn.net/2023/12/17/de2
Introducing RunsOn: 10x cheaper GitHub Action runners
Tags: aws, githubactions, cicd, github
Published: 2024-01-23 12:37:39

Let's face it, sometimes you need faster execution of your GitHub Action workflows.

I've worked for a few companies where the full test suite runtime was greater than 20min, and this is not good for developer feedback.

The usual fix here is to deploy faster self-hosted runners, but then this means you must ensure that those runners stay online, regularly patched, and sufficiently used to justify their cost.

Wouldn't it be nice if you could spawn self-hosted runners on demand, with a large choice of CPU/RAM configurations, and for cheap? This is what [RunsOn](https://runs-on.com) provides, with up to 10x cheaper runners, and the widest choice of runner types on the market.

RunsOn can be installed in your own AWS account, which means there is no middleman between your workflows and your runner. It also supports both x64 and arm64 architecture, and is a one-line change from your current workflow files.

```diff
- runs-on: ubuntu-latest
+ runs-on: runs-on,runner=16cpu-linux,image=ubuntu22-full-x64
```

Whenever a new workflow starts, a runner is automatically provisioned, and will be terminated as soon as the workflow ends. You only pay the per-minute cost of the runner, and you can easily track your costs in your AWS Cost Explorer page.

Some quick pricing comparison:

| runner | cpu | $/min (spot) | $/min (github) | GitHub vs RunsOn |
| --- | --- | --- | --- | --- |
| `1cpu-linux` | 1 | 0.0008 |   |
| `2cpu-linux` | 2 | 0.0011 | 0.008 | 7x more expensive |
| `4cpu-linux` | 4 | 0.0022 | 0.016 | 7x more expensive |
| `8cpu-linux` | 8 | 0.0035 | 0.032 | 9x more expensive |
| `16cpu-linux` | 16 | 0.0068 | 0.064 | 9x more expensive |
| `32cpu-linux` | 32 | 0.0132 | 0.128 | 10x more expensive |
| `48cpu-linux` | 48 | 0.0170 | |
| `64cpu-linux` | 64 | 0.0196 | |

The cost is fully open, can be installed in one click thanks to a cloudformation template, and a license only costs $250 once. Find out more at https://runs-on.com
POROs, in-memory Models and AR models, a continuum
Tags: ruby, rails, models
Published: 2024-01-23 12:29:33

---
title: POROs, in-memory Models and AR models, a continuum
published: true
description: Musings on the available conceptualization tools in Rails
tags: ruby,rails,models
# cover_image: https://direct_url_to_image.jpg
# Use a ratio of 100:42 for best results.
# published_at: 2024-01-23 11:38 +0000
---

AR models are great, abstract interaction with the DB away, get stuff done. But what if you want to practice clean coding and separate IO for different actors in your app? One way could be to set a virtual attribute and perform validations, pre/post-processing based on that. Lots of IFs and macaroni ensues. Trailblazer toyed with the idea of a "form object", a middle layer between user input and DB persistence. It's a good idea, and you can probably roll your own simple form objects.

![Structure of form models](https://i.ibb.co/9Yb9QyX/models.jpg "Model structure")

The two in-memory models, we could call them "form models" can be regular POROs, but perhaps it's more powerful to use Rails' model functionality, especially attribute API and validations:

```rb
class FormModel
  include ActiveModel::AttributeMethods
  attribute :attribute_name

  include ActiveModel::Validations
  validates :attribute_name, presence: true
```

Naturally, you will need to implement the conversion functionality (the arrows in the image above) to transform valid form models into the persistable model. `.save!`, `.to_some_model`, and `.attributes_for_some_model` are possibilities.
Note that form models would not use STI at all, and can have attributes completely different than the model used to finally persist. Usually some subset will overlap tho.

Unfortunately, there's some difficulty with naming, namespacing and file placement. Ideally, we'd want to indicate that the two form models interact with the underlying AR model. For example, if we have `Article` as the AR model, what names and namespace(s) would we use for the form models? Perhaps the easiest would be to use `Article::Actor1Form` and `Article::Actor2Form`. This puts the cart before the horse a bit, but at least we have communicated the conceptual link.

Let me know what you think. Have you had an opportunity to use in-memory models, or even plain POROs when modelling your domain? What results did you have?
Crafting Your First Etsy Listing: A Step-by-Step Guide
Tags: etsylisting, etsyguide, estymarketplace
Published: 2024-01-23 12:21:07

**Introduction**
Start with the excitement and potential of [launching your first product on Etsy](https://www.saasant.com/blog/essential-guide-to-etsy-seller-login-and-account-setup/).

**Understanding Etsy's Marketplace**
Briefly describe Etsy's platform, focusing on its niche for handmade, vintage, and unique items.

**Product Preparation**

1. Choose a product that represents your brand well.
2. Ensure it adheres to Etsy’s selling criteria.

**Photography That Captures Attention**

1. Highlight the importance of high-quality, clear photographs.
2. Offer tips on lighting, angles, and showcasing product details.

**Writing a Compelling Title and Description**

1. Advice on creating an engaging and descriptive title.
2. Importance of a detailed description including dimensions, materials, and special features.

**Pricing Strategy**

1. Discuss how to price your item considering costs, time, and market standards.
2. Mention the importance of competitive yet fair pricing.

**Setting Up Shipping Policies**

1. Tips on establishing clear shipping terms and timelines.
2. Discuss packaging options that ensure safety and reflect your brand.

**Effective Use of Tags and SEO**

1. - Explain how to use tags for better search visibility.
2. - Briefly touch on Etsy-specific SEO practices.

**Finalizing Your Listing**

1. Remind to review all details meticulously.
2. Suggest viewing the listing as a buyer for final adjustments.

**Conclusion**
Encourage openness to feedback and continuous improvement.
Conclude with the potential rewards of a well-crafted Etsy listing.

This article provides a comprehensive guide to creating a first Etsy listing, intended to assist new Etsy sellers in starting their journey effectively.
How to Troubleshoot QuickBooks Error code 1625?
Tags: quickbookserror1625, quickbookserrorcode1625
Published: 2024-01-23 12:15:07

Are you facing [QuickBooks Error Code 1625](https://www.axpertaccounting.com/quickbooks-error-1625/) and feeling a bit stuck? No worries, we've got your back! This error may pop up with a message saying, "This installation is forbidden by system policy," especially when you're installing or updating TurboTax. It can be a bit annoying, but we're here to guide you through the steps to fix it.

When does the error show up?
You might encounter this error during the installation of your operating system, when starting up or shutting down Windows, or when other programs are running in the background.

Why does this error happen?

A few reasons could be:

• You're not logged in as an admin.
• The download of the Windows Installer program is corrupted.
• The Windows registry, where the program is installed, is corrupted.
• Other programs have deleted Windows Installer files.

How to fix QuickBooks Error Code 1625:

1. Check and update outdated device drivers:
Sometimes using outdated drivers can cause this error. Update your drivers to avoid the issue.

2. Configure your Windows settings:

• For Windows Vista, 7, 8, or 10:
• Press Windows + R, type gpedit.msc, and hit OK.
• Navigate to Local System Policy > System Configuration > Admin Templates > Windows Components > Windows Installer.
• Double click on "Prohibit non-admins" and choose Disabled.
• For Windows XP, follow a similar process.

3. Run regedit:

• Type "command" in the search bar, press Ctrl + Shift + Enter.
• Click Yes on the permission dialog box.
• Type "regedit," hit Enter.
• Export a backup file named "Windows Installer Backup" and save it.

4. Configure software restriction policy:

• Go to Control Panel > Admin Tools > Local Security Settings > Software Restriction Policies.
• Right-click on the Software Restriction Policies node and select New Software Restriction Policy.
• Double click on Enforcement, choose "All users except local admins," and click OK. Reboot your system.

5. Change UAC settings:

•	Head to Start, type MSCONFIG, press Enter.
•	If prompted by UAC, click Continue.
•	Go to Tools, highlight "Change UAC setting," and click Launch.
•	Choose "Never notify" and reboot if asked to.

Final thoughts:

By following these steps, you should be able to resolve [QuickBooks Error Code 1625](https://sites.google.com/view/axpertaccoun/blog/quickbooks-error-code-1625). If the issue persists, don't hesitate to reach out to our QuickBooks Support professionals at 1-888-351-0999.
ITI Technical College
Published: 2024-01-23 12:09:44

At ITI Technical College, it’s our belief that the old proverb “Give a man a fish, he eats for a day; teach him to fish, he eats for a lifetime” has much significance, and its absence in today’s principles has left us with a poorly trained society.


[PTech Classes Near Me](https://iticollege.edu/)


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/dooqykmbucxmd4k8nxu4.jpg)
All the metatags you might need for SEO in one React component.
Tags: webdev, react, javascript, npm
Published: 2024-01-23 12:07:26

Here's a React component that puts almost all the necessary meta tags you'd need for SEO in one place. 

## Why?

I can NOT entirely say that there's a motivation behind building this, to be honest. I was just tired of having to copy the same meta tags that I've been using for my blog whenever I share an article on the internet &mdash; mostly on social platforms.

## What are the "perks" of using it?

Well... for one, you won't have to copy meta tags from one component to the other.

And if you're that person that goes: **"I can just build this myself"**. Well, you're in luck. Because you don't have to do that.

`<Metadata />` accepts a `children` prop, so you can still add other HTML tags that go into the `<head>` element.

```jsx
<Metadata>
  <link href="style.css" />
</Metadata>
```

## Usage

You can use the component by installing it from the NPM registry.

```bash
yarn add metadatah
```

Import the component into any of your pages, or wherever it is needed like so:

```jsx
import { MetaData } from "metadatah";

export default function pageComponent() {
  return (
    <>
      <MetaData
        pageTitle="Homepage"
        url="your-website.com"
        description="description of the page"
        previewImage="path-to-image or a remote link to where it is located."
      />
      // rest of the page content falls below
    </>
  );
}
```

`pageTitle`, `url`, `previewImage` and `description` are required props.

`contentType` helps you describe the type of content you share. Is it a blog post, pictures, videos, or whatever you want really. By default, the value is "website", since it is assumed that you're using this component on the web.

There's a list that covers all the available values [here](https://ogp.me/#types)

## Optional props

- `contentType`: accepts either "article" or "website" as values
- `contentLanguage`: can be used to change the language of your content. Defaults to "en_US" if none is specified.
- `children`: include additional meta tags if you like.


## Drawbacks. 

The component doesn't work quite well in Next.js projects. There's an [issue](https://github.com/kaf-lamed-beyt/metadata/issues/4) open to track this. If you want to contribute, feel free to do so.
Creating Divider Lines in Python
Tags: programming, python, beginners, tutorial
Published: 2024-01-23 12:00:00

## Basic Divider Line

The simplest way to create a divider line in Python is to use the format method with the `^` option to center align a character within a specified width. Let's see an example:

```python
print("{:=^50s}".format("Split Line"))
```

The output will look like this:

```
====================Split Line====================
```

## Customizing Divider Lines

You can easily customize the appearance of the divider line by changing the fill character and adjusting the width.
```python
print("{:-^50s}".format("Split Line"))
print("{:*^50s}".format("Split Line"))
print("{:'^50s}".format("Split Line"))
```

The output for these examples will be:

```
--------------------Split Line--------------------
********************Split Line********************
''''''''''''''''''''Split Line''''''''''''''''''''
```

---

## Explore more

{% embed https://dev.to/luca1iu %}


Thank you for taking the time to explore data-related insights with me. I appreciate your engagement.

{% cta https://www.linkedin.com/in/lucaliu-data %} 🚀 Connect with me on LinkedIn {% endcta %}

{% cta https://twitter.com/Luca_DataTeam %} 🎃 Connect with me on X {% endcta %}


{% cta https://www.instagram.com/luca1iu?igsh=MmJneDFpdjNtYWU1&utm_source=qr %} 🌍 Connect with me on Instagram {% endcta %}
Wooden Montessori Puzzles
Published: 2024-01-23 11:48:58

At Kidodido, our **[Wooden Montessori Puzzles](https://kidodido.com/)** redefine early education. Crafted with precision and care, these puzzles engage young minds in cognitive exploration. Each piece is made from sustainably sourced wood and embodies our commitment to eco-friendly play. Dive into a world of shape recognition, problem-solving, and fine motor skills development with our captivating range, designed to spark curiosity and ignite a love for learning.
All About Radiolink Crossflight Flight controller
Published: 2024-01-23 11:40:35

In the fast-evolving world of drone technology, flight controllers are crucial in shaping the overall performance and capabilities of unmanned aerial vehicles (UAVs). One of the leading players in this space is the Radiolink CrossFlight Flight Controller, a robust and feature-packed device that aims to enhance the flying experience for enthusiasts and professionals. Join us as we delve into the key features and benefits that make the Radiolink CrossFlight Flight Controller an attractive option for UAV users.

## Key Features:
- The Radiolink crossflight Flight Controller employs a state-of-the-art flight control algorithm, providing exceptional stability and responsiveness, and offers precise control over your UAV for a seamless flying experience.

- This flight controller supports a wide range of UAV platforms and various flight modes, including stabilized flight, altitude hold, GPS positioning, and waypoint navigation.

- Integrated Sensors: Equipped with advanced sensors such as gyros, accelerometers, and magnetometers, the flight controller ensures accurate data feedback for precise flight control. These sensors work together to maintain stability and optimize flight performance.

- OSD Display Integration: The Radiolink crossflight Flight Controller seamlessly integrates with an OSD (On-Screen Display) system, providing real-time flight information, including battery voltage, altitude, speed, and more. The OSD display enhances situational awareness during flight.

- Simple Configuration: The flight controller is user-friendly and easy to configure, thanks to its intuitive software interface. It supports firmware updates, allowing you to stay up-to-date with the latest features and improvements.

- Fail-Safe Protection: With its advanced fail-safe features, the Radiolink crossflight Flight Controller ensures a safe flying experience. It includes features like low battery return, signal loss protection, and emergency landing capabilities, enhancing the overall reliability of your drone.

- Telemetry Support: The flight controller supports telemetry systems, enabling real-time communication between the UAV and ground control station. This feature provides valuable information about your drone's performance, battery status, and flight parameters.
 
Get this flight controller from [Here](https://www.flyrobo.in/radiolink-crossflight-flight-controller?search=Radiolink+crossflight&description=true)