teleren/devto huggingface dataset:
Highly effective Cornell Notes with Obsidian
Tags: obsidian, cornellnotes, note
Published: 2024-05-20 09:34:35

## Cornell Notes

I recently learned about Cornell Notes, which is a very effective way to take notes that focuses on memory retention and organization of data. It was developed by Cornell University.
You can read more about Cornell Notes here: [Cornell Note-taking System](https://lsc.cornell.edu/how-to-study/taking-notes/cornell-note-taking-system/)


### What is Cornell note?

The Cornell note layout with a cue column for prompts, a note-taking area for detailed information, and a summary section for condensing key points
 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t6mmfi97rmqflvgincnp.jpeg)



## How to take Cornell Notes in Obsidian 


Obsidian mainly focuses on the Zettelkasten method for note-taking, so it does not support the Cornell Note out of the box. But with Obsidian's highly extensible nature, it's easy to achieve the appeal of Cornell Notes with Obsidian using CSS snippets. 

To achieve this, we need to follow certain patterns. My favorite method is to use callouts for cues and the summary. Here is a sample markdown note and what it looks like in the end.

```markdown
>[!cue] This is cue

Notes go here
- Could be a 
- list
- of items

or a paragraph

>[!cue] This is another cue

Note about the cue, could be a list or  anything else

>[!summary] This is a summary
> This is the content of summary

```
#### How it display in obsidian 


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/q0rzan6466nbtk6f4zz2.png)



### Setup

First, you need to create snippets in your vault under this path `.obsidian/snippets/cornell-notes.css`

add the following CSS content there

```css
.markdown-preview-view .callout[data-callout="cue"] {
    float: right;
    padding: 8px;
    position: absolute;
    left: 4%;
    width: 20%;
    max-width: 300px;
    min-width: 150px;
    max-height: 200px;
    color: white;
}

.markdown-preview-view .callout[data-callout="cue"] .callout-icon {
    display: none;
}

.markdown-preview-view.is-readable-line-width .markdown-preview-sizer {
    max-width: 50%;
}

.markdown-preview-view .callout[data-callout="summary"] {
    margin-top: 100px;
}
```

The last step is to enable the snippets from the setting. Goto Obsidian Settings -> Appearance enabled the toggle of Cornell notes.


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/w8ru51tl9nxfc2bdjeku.png)

That's all. Enjoy... 

*** NOTE: Please feel free to suggest any improvement to the css
WordPress Interview Questions and Answers for Freshers
Tags: wordpress, wordpressinterview, programming, php
Published: 2024-05-20 09:40:30

Congratulations on taking the first step towards a career in web development! To help you ace your interview, we’ve compiled a list of the [top 25 WordPress interview questions and answers](https://www.onlineinterviewquestions.com/wordpress-interview-questions).

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1tr0o8wo5hi5ws46nwcv.png)

**Q1. What is WordPress?**
Ans: WordPress is a popular open-source content management system (CMS) used for creating websites and blogs. It’s written in PHP and uses a MySQL database.

**Q2. What are the key features of WordPress?**
Ans: WordPress offers a range of features including easy-to-use interface, customizable themes and plugins, built-in SEO tools, user management, media management, and more.

**Q3. What is the difference between WordPress.com and WordPress.org?**
Ans: WordPress.com is a hosted platform where you can create a website for free, but with limited customization options. WordPress.org is a self-hosted platform where you download the WordPress software and host it on your own server, giving you full control over your website.

**Q4. Explain the difference between posts and pages in WordPress.**
Ans: Posts are dynamic content entries displayed in reverse chronological order on your blog page. Pages are static content like About Us, Contact Us, etc., that are not part of the blog timeline.

**Q5. What is a theme in WordPress?**
Ans: A theme is a collection of templates and stylesheets used to define the appearance and display of a WordPress website. It allows you to customize the design and layout of your site without modifying the underlying code.

**Q6. How can you install a new theme in WordPress?**
Ans: You can install a new theme in WordPress by going to Appearance > Themes in the admin dashboard, clicking on the “Add New” button, and then either uploading a theme file or searching and installing a theme from the WordPress theme directory.

**Q7. What is a plugin in WordPress?**
Ans: A plugin is a piece of software that adds specific functionality to a WordPress website. There are thousands of free and premium plugins available for various purposes like SEO, contact forms, e-commerce, etc.

**Conclusion**

WordPress interview questions and mastering the answers, you’ll be well-equipped to impress your interviewers and land your dream job as a WordPress developer.
JavaScript Functions Dumbed down
Published: 2024-05-20 09:38:59

What the hell is a function?

Well, a function is a reusable code (which means you can call it to use at different places in your project). I know you're probably wondering what nonsense I'm talking about, but hold on I'll explain better.

We all have trash cans at our homes, correct? Now, what do we use those trash cans for? We obviously throw our waste in it (i.e biscuit wrappers, nylons, etc...). Do these trash cans have a fixed place that they can never be moved from? The trash cans can obviously be moved to different places, correct?

Now, when you move the trash can to a different place, does it change from a trash can to a box? The answer is obviously not. So what's the difference? The difference is the contents in the trash can, because you can move the trash can anywhere in the world, but it's still a trash can, and we can empty the contents each day so that we can use it again.

This is exactly what `functions` do in JavaScript. Take the following codes as an example:

Let's say you created a function to get someone's favourite colour

```js
function favouriteColour(colour) {
  const userFavouriteColour = colour;
  return console.log(`The user's favourite colour is ${userFavouriteColour}`)
}
```

Now, we can see in the function above gets the user's colour by passing it as a parameter [the value between the parenthesis `function(colour)`] and returns the text that tells you the user's favourite colour `return console.log()`. We finally call the function and pass a colour to it as an argument `favouriteColour("blue")`.

Let's take this function and try to call it (or use it) somewhere else. Take for example we have a second user and we have a second user and we want to get their favourite colour using the function we've created. The code below shows how this will work without changing the initial function itself.

```js
function secondUser() {
  favouriteColour("pink")
}
```

You'll notice in this new code, we the function we declared earlier, and only changed the argument from blue to `pink`. If you run the code, you'll notice that it shows the text, with this new user's favourite colour. 

What magic happened here? Well, if you recall the example of the trash can, you'll understand that just as we can move the trash can and it still remains a trash can and carries out the function of a trash can. This function works the same way, in the sense that we are using it somewhere else, the only difference is the content (colour). It stills carries out the role of printing out the user's favourite colour.

I hope this gives you a better understanding of functions and how they work. I know this one's a bit lengthy, but I wanted to go a bit deeper to explain the concept with real world and code examples. Till next time....


Byeeee!
Make Your Events Unforgettable with be Matrix LED Tile Rental Indianapolis.
Tags: audio, video, computer
Published: 2024-05-20 09:35:44

Our team goes beyond providing high-quality audio-visual equipment rentals. We offer comprehensive consultations, ensuring you get the best equipment suited to your specific needs. From equipment selection to seamless setup, onsite tech support, and logistics, we’re with you every step of the way.[]( https://bematrixledtilerentalindianapolis.com
)
Best Construction Company In Multan
Tags: bestconstructioncompany, architects, top10constructioncompany
Published: 2024-05-20 09:32:16

We are providing a variety of services all across the city having trusted platform with all necessary facilities. 
In our industry, there is a lot of service providers charging a heavy amount for these services and offer zero quality without efficiency. 
Due to these non-professional workers, it’s difficult to build a trust relationship with the client.
[Best Construction Company In Mutan](https://themsquare.com.pk/construction-company-in-multan/)
How to create a TODO with Tailwind CSS and JavaScript
Tags: webdev, tutorial, javascript, tailwindcss
Published: 2024-05-20 09:30:51

It's Monday! Let's recreate the TODO app from the previous tutorial using Alpine JS but with JavaScript instead.

[Read the article, See it live and get the code](https://lexingtonthemes.com/tutorials/how-to-create-a-todo-with-javascript-and-tailwind-css/)
EvaCodes - Web3 Development Company by Clutch
Published: 2024-05-20 09:29:30

[EvaCodes](https://evacodes.com/) is a full-stack blockchain development agency that provides blockchain development services and builds Web3 products.

[EvaCodes](https://evacodes.com/) is a blockchain development company that provides Web3 development services for startups and enterprises interested in creating new products and services using blockchain.
We provide a wide range of services. Among them are Cryptocurrency Development, Smart Contracts, Tokens and Tokenomics, dApps, DeFi and Fintech products, Digital Banking Products, NFT Marketplaces, and NFT Collections, Cryptocurrency Wallets and Exchanges, Metaverse development, EVM, L1/ L2, Play to Earn and other blockchain games, Real Estate Blockchain platforms, crypto trading bots and other products related to the blockchain industry.
Top Web Development Company in Canada | Affordable Web Development Services
Published: 2024-05-20 09:14:15

Sapphire Software Solutions is a **[Top Web Development Company in Canada](https://www.sapphiresolutions.net/top-web-development-company-in-canada)** with expertise in carrying extensive web solutions. We offer the knowledge and resources to help you launch your online presence, redesign your website, or build a sophisticated web application. Our Top Web Developers tend to create durable, scalable, and future-proof solutions.
Serverless Architecture VS Monolith Architecture
Published: 2024-05-20 09:06:20

### Monolith-Server Architecture

- **Server Setup**:
  - Utilize an EC2 instance (a virtual machine) from AWS.
  - Configure the instance based on initial requirements (e.g., 2GB RAM, 500GB Storage, 10MB Bandwidth).
  - Install necessary software (e.g., Linux, Node.js, Express.js) and deploy code.
  
- **Operation**:
  - The server runs 24/7, ensuring constant availability.
  - Charges are based on hourly usage (e.g., $0.02 per hour).
  - Total monthly cost is fixed based on continuous operation.

- **Scalability**:
  - Use AWS Auto Scaling Group (ASG) for handling increased traffic.
  - Automatically adjust resources (e.g., increase RAM to 6GB and Storage to 1000GB) as needed.

- **Management**:
  - Full control over server configuration, software installation, and deployment.
  - Responsible for all server management tasks.

### Serverless Architecture (AWS Lambda Functions)

- **Setup**:
  - No need to configure or manage servers.
  - Write code and upload it to AWS Lambda.
  - Choose the runtime environment (e.g., Node.js).
  - Set up an API Gateway to trigger the Lambda function via a URL.

- **Operation**:
  - Lambda functions do not run continuously; they execute in response to triggers (e.g., HTTP requests).
  - Charges are based on the number of invocations (e.g., $0.001 per invocation).
  - AWS handles scaling automatically to accommodate multiple concurrent requests.

- **Scalability**:
  - AWS Lambda automatically scales to handle traffic, creating instances of the function as needed.
  - Ensures that no user experiences wait times during high traffic periods.

- **Cost**:
  - First 1 million invocations per month are free.
  - Beyond that, charges apply (e.g., $0.20 per additional million requests).

- **Management**:
  - Minimal management required.
  - AWS manages underlying infrastructure, scaling, and maintenance.

### Summary

- **Monolith-Server Architecture**:
  - Requires an EC2 instance and manual server management.
  - Fixed monthly costs based on continuous operation.
  - Full control over server and environment configuration.
  - Auto Scaling can be set up to handle increased traffic.

- **Serverless Architecture (AWS Lambda)**:
  - No server management required; AWS handles infrastructure.
  - Pay per invocation, reducing costs for low-traffic scenarios.
  - Automatic scaling to handle varying traffic loads.
  - Simplified deployment and maintenance, ideal for dynamic and scalable applications.
How to Use ChatGPT on macOS: Installation and Access Solutions
Tags: ai, chatgpt, tutorial
Published: 2024-05-20 09:04:02

# **Introduction**

ChatGPT has officially launched its much-anticipated Mac app, bringing the power of advanced AI to the fingertips of macOS users. In this article, I’ll guide you through the essentials of downloading, and setting up ChatGPT on your Mac, including solutions for common setup challenges.

# **Requirements for ChatGPT on macOS**

1.	**Operating System Update**: Upgrade your Mac to the latest version of macOS. 

2.	**Download and install the DMG File**: download the [ChatGPT desktop application .dmg file](https://www.notion.so/How-to-Use-ChatGPT-on-macOS-Installation-and-Access-Solutions-ead64555880d44819c4876982233ddaa?pvs=21). and then open the .dmg file and drag the ChatGPT application to your Applications folder. 

3.	**ChatGPT Plus Subscription**: The desktop version of ChatGPT requires a ChatGPT Plus subscription. Ensure that you are a subscriber to ChatGPT Plus to access and use the desktop application. 

# **Solving the ‘You Do Not Have Access to the Desktop App Yet’ Issue**

when you open the desktop, you may encounter this error ‘ **Coming soon - You do not have access to the desktop app yet. You can still use ChatGPT at chatgpt.com’**


![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xmdpkj0opgq8ta1x5ovv.png)

## Solution:

After clicking to log into the ChatGPT desktop app, quickly press Command + Q to force quit before any error appears. Reopen the app and it should now work properly.

## Note:

If pressing Command + Q does not quit the app, there may be a keyboard shortcut conflict. Check your System Settings under Keyboard > Shortcuts to ensure Command + Q isn’t assigned to another action.

---
## 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 %}
Rails Designer v0.12.0 released. New utilities category 💖
Tags: rails, ruby, tailwindcss, webdev
Published: 2024-05-20 09:00:00

[Version 0.12.0 was just released](https://railsdesigner.com/changelog/#0-12-0) with a complete new category: **utilities**! These are useful little helpers for front-end code (including a customizable **confirmation dialog**). [Read about it in the docs](https://railsdesigner.com/docs/utilities/).


---

The three custom Confirmation Dialogs that are part of the new utilities category.

**Light Theme**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r7hor7gwhych7kyf3l2j.jpg)

**Light Glass Theme**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/unbj7x3jn7vg0p570er0.jpg)

**Dark Theme**

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xtn7ldln33yestcbikac.jpg)

---

So what else is new at Rails Designer? Quite a bit! 👏


### 📦 New

- [CardHeadings](https://railsdesigner.com/components/card-headings/) (using HeadingComponent)
- Added a [`base_controller`](http://railsdesigner.com/docs/initializer/#base_controller) configuration for the Library (defaults to ApplicationController)


### 💅 Additions

- Three new [NotificationComponent variants](https://railsdesigner.com/components/notifications/) (all tweaking the display time of the notification); a new `progress_bar_controller.js` is added too.


### 🧙‍♂️🎩🐇 Improvements

- Various minor textual improvements
- Refactored CommandMenu in two component files (CommandMenu + CommandMenu::Item); it got messy!
- Start keyboard navigation from mouse-focussed item in the CommandMenuComponent
- Renamed `PageHeadingComponent` to `HeadingComponent` to better match other use-cases
- Tweak to show spinner when running the `Run Generator` button 
- New **Info** panel to store any extra info on the component, instead of an inline comments (that you manually had to delete 😠)

### 🎷🐛 Bugfix

- Changed function name in `delayed_remove_controller`
- Renamed `legenda` to `legend` in the StatComponent (unsure what I was thinking here… 😴)
Glucoslim Pillen Rezensionen
Tags: glucoslim
Published: 2024-05-20 05:29:39


Vor allem sollten Kunden darüber nachdenken, sie vor dem Mittag- und Abendessen einzunehmen, um produktive Ergebnisse zu erzielen.

Es wird kein Unheil angerichtet, vorausgesetzt, man vernachlässigt es, es vor dem Mittagessen zu sich zu nehmen und es vor dem Frühstück zu sich zu nehmen, wenn alle Dinge gleich sind, aber wenn man den Richtungen folgt, stellt die betreffende Person sicher, dass sie mit ihren besonderen Ergebnissen zufrieden ist.

[Glucoslim](https://www.glucoslims.com/
) Bewertung
Der aktuelle Preis für einen Krug Glucoslim-Diätpillen beträgt ungefähr 77 US-Dollar. Diese Kosten sind für eine Menge von 60 Tabletten festgelegt.


Dies ist sicherlich kein wirtschaftlicher Artikel, da es auf dem Markt für Verbesserungen verschiedene kostengünstigere Optionen gibt. Wie dem auch sei, man muss ständig über die Kosten hinausschauen, um das allgemeine Wohlbefinden zu gewährleisten.

Im Allgemeinen ist Glucoslim eine diätetische Verbesserung, die versucht, mit dem Gewicht Schritt zu halten. Ein Ergebnis dieser Art ist schwer zu erzielen, wenn man bedenkt, dass die meisten Marken nur Artikel vermitteln, die im Grunde helfen, in Form zu kommen, während Slimfy garantiert, dass man, sobald man sein Gewicht verliert, zusätzliche Unterstützung erhält, um damit Schritt zu halten.

[https://www.glucoslims.com/
](https://www.glucoslims.com/
)[https://twitter.com/glucoslim_
](https://twitter.com/glucoslim_
)[https://www.pinterest.de/glucoslim_
](https://www.pinterest.de/glucoslim_
)[https://www.instagram.com/glucoslim_
](https://www.instagram.com/glucoslim_
)[https://www.facebook.com/glucoslimkaufen
](https://www.facebook.com/glucoslimkaufen
)[https://www.youtube.com/@Glucoslim](https://www.youtube.com/@Glucoslim)
180+ Screen Free Figma Chat App Design
Tags: figma, ui, uidesign, webdev
Published: 2024-05-20 08:51:23

Hello designers! Are you looking for a convenient and efficient way to create stunning chat app designs? Look no further than E-Chat, a remarkable UI kit meticulously crafted by Vuong Huu Thien. With over 180 meticulously designed screens and 60 components, E-Chat is a game-changer for designers seeking to streamline their workflow and elevate their design projects.
![figma Chat App Design](https://neattemplate.com/wp-content/uploads/2024/05/Chatting-App-UI-Kit-Design-E-Chat-Figma-Figma-1-1.png)

### Key Features of E-Chat
E-Chat offers a plethora of features to enhance your design journey:

- 180 meticulously crafted screens: Explore a wide array of chat app screens, meticulously designed to cater to various user scenarios and interactions.

- 60 versatile components: Empower your creativity with 60 components that can be seamlessly integrated into your designs, saving you valuable time and effort.

- Light and dark themes: Cater to diverse user preferences by choosing from the elegant light theme or the sleek dark theme, ensuring a visually appealing experience for all users.
With E-Chat, designing chat app interfaces has never been more convenient. Simply drag and drop the elements to bring your vision to life without the hassle of starting from scratch.

Author: Vuong Huu Thien
[Download](https://www.figma.com/community/file/1370509894547995600)
### See Also
✍[Free Figma iPhone 15 Mockup - Showcase Your Designs](https://neattemplate.com/figma-mockup/free-figma-iphone-15-mockup-showcase-your-designs)
✍[Incredible Free Mockups for Figma iPad, iPhone, Android, and Laptop](https://neattemplate.com/figma-mockup/incredible-free-mockups-for-figma-ipad-iphone-android-and-laptop)
✍[Free Figma Google Gemini UI Design Download](https://neattemplate.com/figma/free-figma-google-gemini-ui-design-download)
✍[Best Free Android UI Kit for Figma](https://neattemplate.com/figma-ui-kits/best-free-android-ui-kit-for-figma)
✍[Download Free Figma Mobile Game Quiz  UI](https://neattemplate.com/figma-mobile-app/download-free-figma-mobile-game-quiz-ui)
✍[iPhone 15 Pro 3D Mockups - Free Figma Download](https://neattemplate.com/figma/iphone-15-pro-3d-mockups-free-figma-download)
✍[5+ Free Figma Login Page with Image Template](https://neattemplate.com/figma-templates/5-free-figma-login-page-with-image-template/)
✍[Figma Free 30 Screens eCommerce UI Kit](https://neattemplate.com/figma-mobile-app/figma-free-30-screens-ecommerce-ui-kit)
✍[Figma Free Glassmorphism Presentation Template](https://neattemplate.com/figma-templates/figma-free-glassmorphism-presentation-template/)
✍[Figma Freebie Glassmorphism Icons Simplified](https://neattemplate.com/figma-icons/figma-freebie-glassmorphism-icons-simplified)
✍[24+ Free Figma x Lottie Animated Emoji Pack](https://neattemplate.com/figma-icons/24-free-figma-x-lottie-animated-emoji-pack/)
✍[Figma Free Glassmorphism Presentation Template](https://neattemplate.com/figma-templates/figma-free-glassmorphism-presentation-template/)
１２章６０
Published: 2024-05-20 08:47:01

このコードのコンパイルエラーは、キャストの型が合わないことによるエラーです。

具体的には、以下の行に問題があります:

```java
String s4 = (String) (s3 + s2);
```

Javaでは、`s3 + s2`は数値型の演算であり、その結果は`Long`型になります。数値型の結果を直接`String`型にキャストすることはできません。数値を文字列に変換する場合は、以下のようにする必要があります:

```java
String s4 = String.valueOf(s3 + s2);
```

この変更により、`s3 + s2`の結果を文字列に変換することができます。

修正後のコードは次のとおりです:

```java
public class Sample {
    public static void main(String[] args) {
        short s1 = 10;
        Integer s2 = 20;
        Long s3 = (long) s1 + s2;
        String s4 = String.valueOf(s3 + s2);
        System.out.println(s4);
    }
}
```

このコードは正常にコンパイルされ、実行時に`50`と出力されます。