teleren/devto huggingface dataset:
부산출장마사지
Published: 2023-07-13 08:22:42

저희의 부산 출장 마사지 서비스는 분명 타 업체들에 비해서 저렴한 가격대로 형성이 되어져 있습니다. 하지만 그에 비해서 실력은 압도적이라고 할 수 있는 부산출장안마이죠. 물론 저희도 가격이 상당히 있는 코스도 존재하고 있기는 하지만 이는 고객분들에게 더욱이 좋은 서비를 제공해 드리고자 하는 저희들의 노력을 담겨 있는 코스라고 이야기를 드릴 수 있습니다.[부산출장마사지](https://www.heeritanma.com/) 만약 여러분들이 처음 코스를 고르기 어렵거나 힘든 부분들이 있다면 언제든지 저희 부산 출장 전문 마사지 쪽으로 연락을 주세요. 빠르게 상담을 도와드리겠습니다. 만약 여러분들이 시중에 있는 다른 서비를 보시면 아시겠지만 저희들의 가격대에서 뭔가 과도하게 가격이 차이가 나는 곳이 있다면 그곳은 분명 좋지 못한 업체라고 생각을 하실 수 있습니다. 그러니 무조건적으로 상담을 통해서 어떤곳을 고를지 결정을 해주시길 바랍니다.
[[](https://www.heeritanma.com/)](https://www.heeritanma.com/)
"No Meetup API? No Problem" by Philip Germeyer at PyLadies Dublin March 2023 (1/2)
Tags: pyladies, meetup
Published: 2023-07-13 07:57:21

## Meetup Details
* https://www.meetup.com/pyladiesdublin/events/291759914

### Announcements and slides
{% embed https://github.com/pyladiesdublin/mar-talks-2023 %}

---
Note: This video is talk 1 of 2. The 2nd talk will be uploaded separately.

## TALK 1: No Meetup API? No Problem.
(20 mins) Presenting automations and new features for the Meetup app without having to use the official (costly) API. The talk will focus on the specific use case of organising events for a local, in-person tabletop gaming community (confirming attendance, booking tables, asking for anonymous feedback, communication via Discord, no-show management etc.)

### About Philip Germeyer
Cloud Solution Architect | Meetup Organiser | Lazy, Impatient, Hubristic Pythonista | Systems Thinker | Fulltime Nubicuculian | Continual Process Improvement Advocate | I/O Psychology Aficionado | Automator of Boring Stuff

{% embed https://www.meetup.com/indie-rpgs-dublin/ %}
Get the Printing Solutions
Tags: printer, photocopiar
Published: 2023-07-13 07:41:33

[Mars Printech Pvt](https://marsprintech.com/printer-on-rent-in-delhi/). Ltd. is a leading provider of printing solutions, offering a diverse range of options that meet your printing needs. Printers are an essential component of any business, and renting from Mars Printech Pvt. Ltd. ensures you have access to the latest models without the upfront costs of purchasing equipment. Say goodbye to the headaches of printer ownership, like maintenance and repair costs, storage, and disposal fees. Let Mars Printech Pvt. Ltd. take care of it all for you.
Remaking project
Published: 2023-07-13 07:41:26

Remaking one of my old project => The Mothership, may be I should change the whole level system and release it under a new name.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7m475c6ewsdtyehk2kyo.png)

I should find the way to add some lightning in space x.x

#tonicatfelidae #themothership #nekoniiistudio #unity #unitydev
C++, Conditional (ternary) operator
Tags: conditional, ternary, operator
Published: 2023-07-13 07:41:13

When the conditions and expressions are simple and concise, the conditional operator is extremely useful. It can reduce multiple lines of if-else conditions to a single line, making the code more compact and readable.
some examples:

```cpp
void conditional_operator_example(int a, int b, string str1, string str2) {    
    //Ensure i >= 0    
    int i = (a - 2 > 0) ? a - 2 : 0;
    cout << "i : " << i << endl;
    
    //Grade base on mark
    int mark = b;
    string result = (mark >= 5) ? "Pass" : "Fail";
    cout << "Result : " << result << endl;
        
    // Get the longer string
    string& long_str = str1.length() > str2.length() ? str1 : str2;
    cout << " longer str : " << long_str << endl;

    //Check if the two numbers have the same sign (both positive or both negative)    
    bool is_sameSign = ((a >= 0) == (b >= 0)) ? true : false;
    cout << "Same Sign : " <<boolalpha<< is_sameSign << endl;
}
```
Enhance your ChatGPT experience with this user script
Tags: chatgpt
Published: 2023-07-13 07:40:58

As a ChatGPT user, do you often ask a lot of questions in a conversation? However, it is a troublesome thing to finding previous questions and corresponding answers in a long page. If so, then ChatGPT Question Navigator can solve this pain point.

## What is ChatGPT Question Navigator

It provides a convenient question sidebar directory for the ChatGPT official website. It automatically collects the questions asked by users on the current conversation page and displays them on the sidebar, enabling quick navigation to the location of historical questions.

## Demo

> 👉 [An online ChatGPT share page demo](https://chat.openai.com/share/7653a873-494f-4d71-82a1-04dd6defcb0f)

![demo](https://raw.githubusercontent.com/JianJroh/chatgpt-question-navigator/main/assets/demo.gif)

## Usage

[Install by Greasy Fork](https://greasyfork.org/zh-CN/scripts/467387-chatgpt-question-navigation-sidebar)

## GitHub
https://github.com/JianJroh/chatgpt-question-navigator
Corner radial ham burger Menu
Tags: codepen, css, webdev
Published: 2023-07-13 07:27:27

**
## My First Codepen
**
<p>This CodePen showcases a stylish and user-friendly radial hamburger menu that is implemented using a combination of Bootstrap, JavaScript, HTML, and CSS. The menu is positioned on the right side of the screen, providing a modern and intuitive navigation experience for users.</p>

{% codepen https://codepen.io/Fawad4real/pen/MWzKOYe %}
Slow network is detected. fallback font will be used while loading
Published: 2023-07-13 07:20:41

The ‘slow network is detected. the fallback font will be used while loading` error occurs because of slow network and due to this reasons chrome would display in a fallback font using @font-face CSS rule. In this article, we will discuss the ways to get around this issue.

## What is “slow network is detected. the fallback font will be used while loading”?
It’s just a Chrome issue; it’s not a “**problem**” but a Chrome-specific notification/warning.

For illustration, if you load web fonts like Arial because loading web fonts takes time to download and render, the text is displayed in a fallback font for the time being.  During this wait time, the text would be displayed in Arial which may cause inconsistency if some pixel-based positioning was used. Chrome issues a warning in such a case. Hence we can see the slow network is the cause related to using the **@font-face CSS rule**.

Displaying it throughout the console in multiple rows is kind of annoying and can be considered a bug, ChromeDevTools Team is already aware of this. However, the bug appears to be fixed now, and you should no longer experience it after updating your browser. If this is not the case, there are several workarounds available.


## How to resolve “slow network is detected. the fallback font will be used while loading”?

### Solution 1:
Make the chrome flag set to Unknown:

`chrome://flags/#force-effective-connection-type`

### Solution 2: 
Update google chrome to the latest version, this was already known to ChromeDevTools Team and this seems to be fixed now.

 

### Solution 3: 
The other way to get around this annoying message is to implement the following settings to hide the message in Chrome tools:

`Console settings -> User messages only`

 

### Solution 4: 
To eliminate the issue from the console, simply add font-display to all CSS font-face definitions.
									
`@font-face {   font-family: ExampleFont;   src: url(/path/to/fonts/examplefont.woff) format('woff'), url(/path/to/fonts/examplefont.eot) format('eot');   font weight: 400;   font-style: normal;   font-display: block; }`										




 

## Conclusion:
Please keep in mind that this issue has been now fixed by **ChromeDevTools Team** and the best remedy is to update your **Chrome browser**.  In this article, we also discussed other workaround to get around this problem.

Hope this helps!!
Key take aways from the article of functions
Tags: methods, functions, takeaways, apacheage
Published: 2023-07-13 07:18:48

Previously we had discussed [numeric](https://dev.to/talhahahae/numeric-functions-in-apache-age-34ga) and [logarithmic](https://dev.to/talhahahae/logarithmic-functions-1nbl) function in age. 
In this blog we will discuss some of the conditions of the numeric and logarithmic functions. 

## Numeric Functions:
- In absolute function i.e. abs():
-- The abs(null) will always return null.
-- If the expression inside the absolute function is negative, -(expression) the returned value would be the negation of the expression. 

- In ceiling function i.e. ceil():
-- The ceil(null) will always return null.

- In floor function i.e. floor():
-- The floor(null) will always return null.

- In round function i.e. round():
-- The round(null) will always return null.

- In sign function i.e. sign():
-- The sign(null) will always returns null.

## Logarithmic functions:
- In exponential function i.e. exp():
-- The function exp(null) will always return null.

- In base e logarithmic function log():
-- The function log(null) will always return null.
-- The function log(0) will also return null.

- In base 10 logarithmic function log10():
-- The function log10(null) will always return null.
-- The function log10(0) will also return null.


## References:
You can view more on GitHub and documentation of Apache age by following these links:

1. https://age.apache.org/age-manual/master/intro/overview.html
2. https://github.com/apache/age
3. https://dev.to/talhahahae/numeric-functions-in-apache-age-34ga
4. https://dev.to/talhahahae/logarithmic-functions-1nbl
Lazy Model in Daxus
Tags: react, webdev, typescript, showdev
Published: 2023-07-13 07:14:36

In [Daxus](https://github.com/jason89521/daxus), developers have the flexibility to manage state updates themselves, allowing for customized state structures such as pagination for a single source of truth. However, not all data requires a custom data structure. For most data, we simply need to record the fetched data without worrying about how it is synced to the model's state.

To simplify the code required for such scenarios, Daxus introduces a new feature called "Lazy Model". Let's explore how to use this feature.

## Creating a Lazy Model

```typescript
const lazyModel = createLazyModel();

const getUser = lazyModel.defineNormalAccessor<string, User>({
  fetchData: async (userId) => {
    return getUserApi(userId);
  },
});

function useUser(userId: string) {
  return useLazyAccessor(getUser(userId));
}
```

When using `createLazyModel`, there's no need to provide an initial state, and you don't have to create an adapter since you don't need to manage how the fetched data is synced to the model's state.

It is recommended to use the `useLazyAccessor` hook with accessors defined using the lazy model. This hook allows easy access to the cached data without the need for a `getSnapshot` function. However, if desired, you can still provide a `getSnapshot` function to select specific data:

```ts
function useUserName(userId: string) {
  return useLazyAccessor(getUser(userId), (user) => user?.name);
}
```

## Mutating Data

The lazy model also provides a `mutate` method, but it functions slightly differently from the original model. Developers need to provide an accessor to access the corresponding cached data:

```ts
lazyModel.mutate(getUser(userId), (prevUser) => {
  return { ...prevUser, name: 'new user name' };
});
```

Note that when using the lazy model, it is important to return a new data object instead of directly mutating the cached data.

## Retrieving State

To retrieve the cached state, you can use the `getState` method with the corresponding accessor:

```ts
lazyModel.getState(getUser(userId)); // Returns User | undefined
```

## Limitations

When using the lazy model, there is a trade-off in terms of control over the model's state. The data is bound to the accessor, and its definition is derived from the return value of the `fetchData` function.

It is recommended to use only one lazy model in your app and avoid using accessors generated by a normal model with the `mutate` or `getState` methods. These methods have different internal behaviors and may not function as expected when used with accessors from other models.
How to Use IPFS with Ethereum
Tags: ethereum, ipfs, blockchain, cryptocurrency
Published: 2023-07-13 07:11:08

IPFS (InterPlanetary File System)
It is a decentralized Storage Solution. The powerful decentralized technology, when combined with a blockchain platform like Ethereum, offers an enhanced storage solution for blockchain applications.

Find out the steps to store/retrieve data from IPFS and add the IPFS key to Ethereum smart contract in [this blog](https://blockchain.oodles.io/dev-blog/How-to-Use-IPFS-with-Ethereum/).

A [blockchain development company](https://blockchain.oodles.io/) plays a crucial role in understanding client requirements and designing the architecture for integrating IPFS with Ethereum.

If you have a project in mind and want to get started with it, you may also [Hire blockchain developers](https://blockchain.oodles.io/blockchain-app-development-services/).



#Blockchaindevelopmentcompany #Blockchaindevelopmentservices #Blockchainapplicationdevelopment #blockchainappdevelopment #Blockchainappdevelopmentservices #blockchainappdevelopmentcompany #Blockchainapplicationdevelopmentcompany
Using React.useRef() for Mutable Values
Tags: react, javascript, webdev
Published: 2023-07-13 07:06:15

Hey there! Today, we're going to dive deep into one of React's hooks, `useRef`, and learn how we can use it to work with mutable values. Buckle up, it's going to be a fun ride!

## `useRef`? What's that?

Well, `useRef` is a hook provided by React that lets you create a 'ref' (reference) to a DOM element or any other value. You can think of it as a way to "remember" something between renders of your component.

## Here's how you make a ref:

```
const awesomeRef = React.useRef(initialValue);
```

The initialValue bit is optional. If you pass it, the ref will be set to that value initially.

## So, what's this about mutable values?

Here's the cool thing: useRef is more than just a way to access DOM elements. You can use it to keep track of a mutable value. What's a mutable value, you ask? It's a value that can change.

The .current property of a useRef is mutable and doesn't cause a re-render when it changes.

## Here's a quick example:

```
function CoolComponent() {
  const renderCount = React.useRef(0);

  React.useEffect(() => {
    renderCount.current = renderCount.current + 1;
  });

  return (
    <div>
      <p>I've rendered {renderCount.current} times.</p>
    </div>
  );
}
```

In this component, renderCount is a mutable value that sticks around between re-renders. Every time the component renders, useEffect increments renderCount.current by 1. But this doesn't cause a re-render because it's a useRef, not a useState.
When should I use useRef?

## You'll find useRef handy when you need to:

-     Get your hands on a DOM element and do stuff with it directly.
-     Keep a value around between re-renders without causing extra renders.

For example, you might use useRef to remember the previous value of a prop or state:

```
function CoolComponent({ value }) {
  const previousValue = React.useRef();

  React.useEffect(() => {
    previousValue.current = value;
  }, [value]);

  return (
    <div>
      <p>Current value: {value}</p>
      <p>Previous value: {previousValue.current}</p>
    </div>
  );
}
```

In this component, previousValue remembers the previous value of the value prop. Even though we update previousValue.current in useEffect, it doesn't cause a re-render because previousValue is a ref, not a state.

## Wrapping Up

So that's the scoop on useRef and mutable values! It's a nifty way to keep values around between re-renders without causing extra renders, making your components more efficient.

But remember, while useRef is super handy for storing mutable values, it isn't always the right tool for the job. If a change in value should cause a re-render, reach for useState or useReducer instead. Keep coding and exploring!
Coding Problem Interview Series: How to Find the First Non-Repeated Character in a String?
Tags: codenewbie, beginners, discuss, career
Published: 2023-07-13 07:00:00

📣 Calling experienced devs and recent interviewees! Join the "Coding Problem Interview Series" to help code newbies tackle interview questions assessing problem-solving skills, algorithmic knowledge, and implementation of sorting, string manipulation, and data structure algorithms.

Share your expertise and insights! Pleas share multiple perspectives and tips for standout answers!


Today's question is:

> Could you describe how you would find and print the first non-repeated character in a string?



Follow the [CodeNewbie Org](https://dev.to/codenewbieteam) and [#codenewbie](https://dev.to/t/codenewbie) for more discussions and online camaraderie!

*{% embed* https://dev.to/codenewbieteam *%}*
Monolingual Maestro or Polyglot Prodigy: Which Programming Path Resonates with You?
Tags: discuss
Published: 2023-07-13 07:00:00

Would you prefer to possess unparalleled mastery in a single programming language or a diverse repertoire across multiple languages? Which path ignites your coding spirit? What are the potential advantages and challenges of each approach? And how do you think your chosen path would shape your coding journey? 

Follow the DEVteam for more discussions and online camaraderie!

{% embed [https://dev.to/devteam](https://dev.to/devteam) %}
Vue.Js Developer
Published: 2023-07-13 06:55:45

**Role: Vue. js Developer**
Job Openings: 1

**Location:** Moulsari Avenue -85,Sector-24,DLF Phase-3 Gurgaon

**Job Purpose:**
You would need to collaborate with the backend team to write ,test, and execute code that merges with live streams and API endpoints.


**Education :**
Bachelor's Degree or several years of experience in related fields.


**Functional Skills:**
• A bachelor's or master's degree in computer science, information technology, or engineering 

. Vue.js and object-oriented programming experience

. Knowledge of the JavaScript programming language, including its syntax and functionalities

• In-depth understanding of the Vue.js framework and its fundamental principles

• Understanding of the Vue.js ecosystem

• Working knowledge of HTML5 and CSS3

. Understanding of server-side rendering

• The ability to build an efficient, secure, clean, and scalable JavaScript code.

. Experience with automated JavaScript testing

. Knowledge of contemporary development technologies such as Git

. Excellent teamwork and communication abilities

• Previous experience using and building RESTful APIs


Key Responsibilities:
. Create user-facing apps using Vue.js

• Create modular and reusable libraries and components Improve your application's performance .

. Incorporate automated testing into development and maintenance procedures 

. Stay up to date on the  newest developments in the JavaScript and Vue.js worlds

. Monitor Vue.js and any project dependencies for security upgrades and issues

. Suggest any enhancements or changes that are required to stay up with modern security and    development best practises.

Apply Here: https://www.indiapropertydekho.com/career

Company: [India Property Dekho](https://www.indiapropertydekho.com/)
Documentation task manager with React.js and Django REST API
Published: 2023-07-13 06:38:01

##   task manager with React.js and Django REST API 
Certainly! Here's a summary of the previous operations to create a task manager app with React.js and connect it with a Django REST API to perform CRUD operations:

1. Set Up the Django Backend:
   - Install Django using `pip install django`.
   - Create a new Django project using `django-admin startproject taskmanager`.
   - Create a Django app for your task manager using `python manage.py startapp tasks`.
   - Define your Django models for the task manager in `tasks/models.py`.
   - Set up API endpoints in `tasks/views.py` using Django REST Framework.
   - Create a `serializers.py` file in the `tasks` directory to define the serializer for your Task model.
   - Configure the URLs for your API endpoints in `tasks/urls.py` and include them in the project's `urls.py` file.

2. Build the React Frontend:
   - Set up a new React.js project using `npx create-react-app task-manager-app`.
   - Create React components for the task manager app in the `src/components` directory: `TaskList.js`, `TaskForm.js`, and `TaskItem.js`.
   - Update the components with the necessary code for fetching tasks, creating tasks, and displaying task lists.
   - Implement the necessary HTTP requests using `fetch` or libraries like Axios to interact with the Django API endpoints.
   - Style and customize the components as desired.
   - Render the components in the `App.js` file and manage the state as needed.
   - Run the React development server using `npm start`.

3. Fetch Task Data from the API:
   - In the `TaskList` component, use `useEffect` and `useState` hooks to fetch tasks from the API and store them in the component state.
   - Handle loading states and error cases appropriately while fetching tasks.
   - Display the fetched task data in the component's render method.

4. Implement CRUD Operations:
   - Update the `TaskList` component to handle task deletion by sending a DELETE request to the API endpoint and refreshing the task list.
   - Update the `TaskForm` component to handle task creation by sending a POST request to the API endpoint and notifying the parent component about the newly created task.
   - Update the `App` component to manage the tasks state and propagate changes to child components.

Remember to replace `'http://your-api-url/tasks/'` with the actual URL of your Django API endpoint for tasks.

This documentation provides a high-level overview of the steps involved in creating a task manager app with React.js and Django. You can refer to the individual sections for more detailed information and code examples.