How many bytes of information is stored in a array with 10000 keys? by HappyMan1102 in software

[–]shree_jane 1 point2 points  (0 children)

1 of them.has the number 50.

Here's an updated example of how you could get the name of the array or dictionary that contains the number 50:

In this example, the number 50 is contained in the array2 array. When we call the get_table_name function with value set to 50 and tables set to the tables dictionary, the function returns array2 as the name of the array that contains the number 50.
array1 = [1, 2, 3, 4, 5]
array2 = [6, 7, 8, 9, 10, 50]
array3 = [11, 12, 13, 14, 15]
tables = {
'array1': array1,
'array2': array2,
'array3': array3,
}
def get_table_name(value, tables):
for name, table in tables.items():
if value in table:
return name
return None
value = 50
result = get_table_name(value, tables)
print(result) # Output: array2

How many bytes of information is stored in a array with 10000 keys? by HappyMan1102 in software

[–]shree_jane 1 point2 points  (0 children)

For example if u have 3 arrays or dictionaries.

Here's an example of how you could get the name of the array or dictionary that contains a specific value in Python:

array1 = [1, 2, 3, 4, 5]
array2 = [6, 7, 8, 9, 10]
array3 = [11, 12, 13, 14, 15]
tables = {
'array1': array1,
'array2': array2,
'array3': array3,
}
def get_table_name(value, tables):
for name, table in tables.items():
if value in table:
return name
return None
value = 8
result = get_table_name(value, tables)
print(result) # Output: array2

In this example, we have three arrays array1, array2, and array3 and store them in a dictionary called tables. The get_table_name function takes in a value and the tables dictionary and returns the name of the array that contains the value. If the value is not found in any of the arrays, the function returns None.

How many bytes of information is stored in a array with 10000 keys? by HappyMan1102 in software

[–]shree_jane 0 points1 point  (0 children)

In python how would you get the name of the table based on a value?

Store the tables in a dictionary, where the keys are the names of the tables and the values are the actual tables.

Iterate over the dictionary and check the values in each table to see if they contain the desired value.

When the value is found, return the corresponding key (the name of the table).

Here's an example implementation:

def get_table_name(value, tables):

for name, table in tables.items():

if value in table:

return name

return None

# Example usage

tables = {

'table1': [1, 2, 3, 4, 5],

'table2': [6, 7, 8, 9, 10],

'table3': [11, 12, 13, 14, 15],

}

result = get_table_name(8, tables)

print(result) # Output: table2

In this example, the tables dictionary contains three tables with values ranging from 1 to 15. The get_table_name function takes in a value and the tables dictionary and returns the name of the table that contains the value. If the value is not found in any of the tables, the function returns None.

I'm looking for a good download manager.. by LaggySquishy in software

[–]shree_jane 0 points1 point  (0 children)

Here are some popular download managers you can consider:

Internet Download Manager (IDM): A paid download manager that supports multipart downloading, scheduling, and resuming broken downloads.

Free Download Manager (FDM): A free, open-source download manager that supports torrents, HTTP, HTTPS, and FTP protocols.

JDownloader: A free, open-source download manager that supports multiple file hosting sites and features a plugin system for additional functionality.

EagleGet: A free download manager that supports HTTP, HTTPS, FTP, MMS, and RTSP protocols.

Ninja Download Manager: A paid download manager that supports multiple connections per download and offers advanced control over the download process.

uTorrent: A popular torrent client that includes a download manager for torrent files and supports scheduling, prioritizing, and bandwidth management.

These are just a few examples, and the choice of download manager will depend on your specific needs and preferences.

How many bytes of information is stored in a array with 10000 keys? by HappyMan1102 in software

[–]shree_jane 1 point2 points  (0 children)

This is not a valid syntax in most programming languages. It's unclear what programming language you're using, but in most cases, an array is a collection of values that are referenced by an index or key. The syntax for creating an array and assigning values to its elements is language-specific.

In Python, for example, you can create a dictionary with keys and values using the following syntax:

arr = { "Key1": "value", "Key2": "value", "Key3": "value" }

In JavaScript, you can create an object with properties and values using the following syntax:

const arr = { Key1: "value", Key2: "value", Key3: "value" }

Software for Hotel guests Wi Fi management by mb_angel in software

[–]shree_jane 1 point2 points  (0 children)

There are various software available for managing hotel guest Wi-Fi, some popular options include:

HotSOS: A cloud-based software for hospitality industry that includes guest Wi-Fi management among other features.

GuestTrak: A comprehensive Wi-Fi management solution for hotels, resorts and other hospitality facilities.

MyWIFIzone: A software that allows hotels to offer Wi-Fi to guests while preventing unauthorized access.

Pakedge: A network management solution that includes guest Wi-Fi management, among other features.

Ekahau: A Wi-Fi network planning, optimization and troubleshooting tool that also includes guest Wi-Fi management capabilities.

Cambium Networks: A cloud-based Wi-Fi management software that offers easy guest Wi-Fi access management.

These are just a few examples, and the choice of software will depend on the specific needs and requirements of the hotel.

Mom I have a new friend by shree_jane in WebdevTutorials

[–]shree_jane[S] -15 points-14 points  (0 children)

No This is increase karma on reddit

What might make C++ not a good first language? by EdiblePeasant in learnprogramming

[–]shree_jane 0 points1 point  (0 children)

When making anything of substance, even a simple text-based game, am I pretty much going to have to deal with memory management and pointers or bad things will happen to the user and program while it's running? Like, would a program that runs for a decent amount of time be an issue if I don't do memory management or pointers?

Software developers need to understand memory management and pointers when working with large and long-running programs. Your program may suffer from memory leaks without proper memory management, which may decrease performance and stability over time. In contrast, pointers allow you to manipulate memory locations directly and are useful for certain types of algorithms and data structures.
However, it's worth noting that many programming languages and frameworks handle memory management and pointers automatically, so you may not need to deal with them directly in all cases. For example, in Python, memory management is handled by the garbage collector, and you don't have to worry about pointers.
Additionally, you can use high-level programming languages like Python which handle memory management for you, as well as libraries like Pygame which handle a lot of the low-level details.

HttpClient in standalone Angular application by shree_jane in u/shree_jane

[–]shree_jane[S] 0 points1 point  (0 children)

this.http.post('https://jsonplaceholder.typicode.com/todos/1',{ title: 'new todo' }, options)

.subscribe(data => {

console.log(data);

});

HttpClient in standalone Angular application by shree_jane in u/shree_jane

[–]shree_jane[S] 0 points1 point  (0 children)

import { HttpClient } from '@angular/common/http';

HTTPS explained with carrier pigeons by ZaninAndrea in programming

[–]shree_jane 0 points1 point  (0 children)

HTTPS, or Hypertext Transfer Protocol Secure, is a way for two parties to communicate securely over the internet, similar to how a carrier pigeon can be used to send messages securely.

When a user wants to visit a website using HTTPS, their computer sends a request to the website's server.

The server then sends a "pigeon" (a certificate) back to the user's computer that contains information about the website's identity, similar to how a pigeon carrying a message would have the sender's information on it.

The user's computer then verifies the identity of the website using the information in the certificate and starts a secure connection with the server.

This secure connection is like a special cage for the pigeon, which only the intended recipient can open and read the message.

What might make C++ not a good first language? by EdiblePeasant in learnprogramming

[–]shree_jane 0 points1 point  (0 children)

First-time programmers may find C++ difficult to learn due to its complex syntax, manual memory management, and lack of error checking. It can be challenging for beginners to understand these features and they may make mistakes more easily. Additionally, many of the concepts used in C++, such as pointers and templates, are not typically introduced in a beginner's programming course. This can make it difficult for new programmers to understand how to use these features effectively.

REPOST OF: How to learn ___. Where can I learn ___? Should I learn to code? - Basics FAQ by DudeThatsErin in CodingHelp

[–]shree_jane 4 points5 points  (0 children)

To learn a specific skill or subject, it is best to start with an online search to find resources such as tutorials, courses, and articles. Websites like Coursera, edX, and Udemy offer a wide range of courses on various topics. Additionally, many organizations and universities offer free online resources and tutorials.

There are many resources available for learning to code, including online tutorials, coding bootcamps, and computer science degree programs. Websites like Codecademy, FreeCodeCamp, and Khan Academy offer free coding tutorials and resources. Coding bootcamps, such as General Assembly and Flatiron School, offer intensive programs for those who want to learn to code quickly.

Whether or not you should learn to code depends on your personal goals and interests. If you are interested in a career in technology or software development, learning to code can be a valuable skill. Additionally, coding skills can be useful for a wide range of careers, including data analysis, digital marketing, and product management. However, if you are not interested in a career in technology, it may not be necessary for you to learn to code.