search
  • Sign In
  • Sign Up
Password reset successful

Follow the proiects vou are interested in andi aet the latestnews about them taster

P粉966979765

P粉966979765

Follow
student

Follow 0
fans 0
integral 0
Saving and loading multiple objects in pickle file?

I have a class that serves players in a game, creates them and other things. I need to save these player objects in a file to use it later. I've tried the pickle module but I don'

2026-01-07 17:22:32Ask
Python
Populate one dropdown based on selection in another

I need to change the contents of dropdown B based on the selection in dropdown A using javascript. There are no db queries involved--I know beforehand what the contents of B should

2026-01-03 21:44:04Ask
JavaScript
What is the reason behind "non-static method cannot be referenced from a static context"? [duplicate]

The very common beginner mistake is when you try to use a class property "statically" without making an instance of that class. It leaves you with the mention

2026-01-02 19:22:31Ask
Java
How to create the most compact mapping n → isprime(n) up to a limit N?

Naturally, for bool isprime(number) there would be a data structure I could query. I define the best algorithm, to be the algorithm that produces a data structure with lowest memory

2025-12-03 11:22:10Ask
Python
Laravel Eloquent's where method only returns an array of the first record in the database

I have code like this: $subOffers=SubOffer::get()->where('offers_id',1); When I return $subOffers I get an array like this. [{"id":1,"offers_id":"1","price":"123.0","start_date&quo

2024-01-03 10:53:43Ask
PHP
Merge associative arrays with shared column values

I want to merge two arrays based on common column values. Here are my 2 arrays: $array1=[["total_process_per_category"=>"6","category_id"=>"1"],["total_process_per_category"=>"2","ca

2023-11-09 08:47:41Ask
PHP
Task properties in Vue.js changed unexpectedly in to-do list app

I have a store that contains state, changes, getters, etc. The status contains the following list of tasks. conststate={tasks:[{title:"Get up",completed:false},{title:"Project 2",completed:false},]}Todo.vue<template><Taskv-for="(task,key) tasks":i

2023-08-26 12:04:57Ask
Vue.js
React JSX inner loop

I'm trying to do something like the following in ReactJSX (where ObjectRow is a separate component): &lt;tbody&gt;for(vari=0;i&lt;numrows;i++){&lt;ObjectRow/&gt;}&lt;/tbody&gt;i Realize and understand why this is not valid JSX, as JSX maps to function calls. However, since coming from the template world and being new to JSX

2023-08-23 14:08:12Ask
React