Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jun 19 2021 12:31
    @texas2010 banned @therichaverma
  • Jun 19 2020 20:05
    @krisb1220 banned @Gastony
  • May 14 2020 22:39
    @bjorno43 banned @minitechtips_twitter
  • May 14 2020 22:38
    @bjorno43 banned @real-action
  • Feb 01 2020 00:26
    @bjorno43 banned @Ndoua
  • Jan 07 2020 03:10
    @bjorno43 banned @doctor-sam
  • Aug 17 2019 09:32
    User @bjorno43 unbanned @linkin-park
  • Aug 17 2019 01:43
    @bjorno43 banned @linkin-park
  • Jun 20 2019 21:20
    @bjorno43 banned @shenerd140
  • May 10 2019 09:13
    @bjorno43 banned @zhaokunhaoa
  • Apr 27 2019 19:47
    @mstellaluna banned @zhonghuacx
  • Apr 25 2019 17:12
    @mstellaluna banned @cmal
  • Jan 08 2019 22:00
    @mstellaluna banned @dertiuss323
  • Dec 15 2018 23:36
    @mstellaluna banned @18835579411
  • Dec 13 2018 23:57
    @mstellaluna banned @brandon6190
  • Oct 12 2018 05:50
    @bjorno43 banned @NACH74
  • Oct 05 2018 23:02
    @mstellaluna banned @JomoPipi
  • Sep 16 2018 12:21
    @bjorno43 banned @yash-kedia
  • Sep 16 2018 12:16
    @bjorno43 banned @vnikifirov
  • Sep 05 2018 08:13
    User @bjorno43 unbanned @androuino
Dan Stockham
@DanStockham
@kamatheuska NodeSchool is a good place to start but FCC has a pretty good course that immerses you enough that you can start building things efficiently
@tundeiness It is very possible that the api you're trying to reach doesn't allow for http or unsecured connections (hence, your localhost instance is unsecure)
Dan Stockham
@DanStockham
@tundeiness Either I would find way to put your local instances on port 443 which means self-signing a certificate or setup a secure backend server that acts as a façade to your api you're trying to consume.
Chris Cullen
@123xylem
Hi Guys.
Wondering how to take variable set by Ajax in functions.php and use it as an argument in my page.php onclick function
Tunde Oretade
@tundeiness

@tundeiness Either I would find way to put your local instances on port 443 which means self-signing a certificate or setup a secure backend server that acts as a façade to your api you're trying to consume.

true. Solved it.

Matthew
@ChaplainsBud
Hi all, has anyone handled an exception with a template language? I'm using Freemarker, and my goal is to handle a null exception if there is no image to be rendered. However, I don't know what I'd return if it is null -- should I create a statement, "No image provided?"
Nevermind, I didn't realize I should do nothing in response.
Ozenzamy-Spark
@Ozenzamy-Spark

Hi all , please i have a question about the Iterative implementation of Binary Search

This is the function i create in c:

int BinarySearch(int arr[], int l, int r, int x) { while(l <= r) { int mid = l + (r - l) / 2; printf("%d\n", mid); if(arr[mid] == x) return mid; if(arr[mid] > x) r = mid - 1; else l = mid + 1; } return -1; }

This is my main function :

int main() { int arr[] = {1,2,3,5,16,15,20}; int n = sizeof(arr) / sizeof(arr[0]); int x = 16; int result = BinarySearch(arr, 0, n-1, x); (result == -1) // WE CALL THIS ternary operator. ? printf("Element is not present in array") : printf("Element is present at index %d", result); return 0; }

The question is: when i search 16 the function return -1.
If you see the number 16 is on the list any help please ??

Stephen James
@sjames1958gm
Your algorithm depends on a sorted array and 15 is out of order
Ozenzamy-Spark
@Ozenzamy-Spark
Thanks for your replay
Matthew
@ChaplainsBud
Anyone refactor .jsp to .hbs here?
JackeL
@jackel27
UDP packets are confusing! How can I turn the raw data into readable / usable ?
Tapesh Patel
@tapesh02

Hi, I have a question,
How to add watchlist/wishlist item to MongoDB using nodejs and react js?

Please the link for details description:
https://stackoverflow.com/questions/71468023/how-to-add-watchlist-wishlist-item-to-mongodb-using-nodejs-and-react-js
Thanks a million for the help

Mantas MatΕ«zas
@mantasmatuzas
Hello, does anyone know methods/approaches on how to make the ability for customers to extend system functionality by its custom code? It's an ERP product with its default logic but we want to make the ability for customers to extend logic using their own code.
maoshuo chen
@maoshuochen
Hello, I have a problem when using the "codesandbox" to do the back end dev project. When I submit the url, I got the error from my server. Error: connect ECONNREFUSED 192.168.203.38:443
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1159:16)
Emitted 'error' event on ClientRequest instance at:
at TLSSocket.socketErrorListener (_http_client.js:475:9)
at TLSSocket.emit (events.js:400:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21) {
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '192.168.203.38',
port: 443
}
Vicky Gupta
@viki4545
CastError: Cast to ObjectId failed for value "create" (type string) at path "_id" for model "Blog"
at model.Query.exec (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\query.js:4641:21)
at model.Query.Query.then (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\query.js:4740:15)
at C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\app.js:134:10
at Layer.handle [as handle_request] (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\layer.js:95:5)
at next (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\route.js:137:13)
at Route.dispatch (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\route.js:112:3)
at Layer.handle [as handle_request] (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\layer.js:95:5)
at C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\index.js:281:22
at param (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\index.js:360:14)
at param (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\express\lib\router\index.js:371:14) {
messageFormat: undefined,
stringValue: '"create"',
kind: 'ObjectId',
value: 'create',
path: '_id',
reason: BSONTypeError: Argument passed in must be a string of 12 bytes or a string of 24 hex characters
at new BSONTypeError (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\bson\lib\error.js:41:28)
at new ObjectId (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\bson\lib\objectid.js:65:23)
at castObjectId (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\cast\objectid.js:24:12)
at ObjectId.cast (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\schema\objectid.js:247:12)
at ObjectId.SchemaType.applySetters (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\schematype.js:1180:12)
at ObjectId.SchemaType._castForQuery (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\schematype.js:1614:15)
at ObjectId.SchemaType.castForQuery (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\schematype.js:1604:15)
at ObjectId.SchemaType.castForQueryWrapper (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\schematype.js:1581:20)
at cast (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\cast.js:344:32)
at model.Query.Query.cast (C:\Users\admin\Downloads\WebDevelopment\Node-Crash-Course\node_modules\mongoose\lib\query.js:5076:12),
valueType: 'string'
}
please anyone explain this error
Thakur Vinay Rawat
@vineyrawat
Hello Guys!
I have got a question
How can I communicate between microservices?
Neil Haria
@neilharia7
Depends on the use case, if aysnc then via pub sub mechanism, if sync, then via RPC
botshubh
@botshubh
can anyone help me with my college project?
Amaad Mirza
@amaadmirza
yes
Matthew
@ChaplainsBud
May I have help with using MVVM with Java?
ryanshah23
@ryanshah23
Hello, does anyone know how i can get back up of my e-commerece website which related to medication of mens health https://kamagrastoreuk.com/, i really have bad experience of data loss for my previous website.
Gunvant Sarpate
@gunvantsr

Hi there!

I've built a simple boilerplate generator for Node.js, and Express projects.
Here is the GitHub link: https://github.com/gunvantsr/expressgen

Would love to hear any suggestions or feedback :)

Yashwardhan Pauranik
@yashwp

Hi Guys, we are facing some issue here- https://stackoverflow.com/questions/74189623/how-to-integrate-mustache-template-to-read-json-data-and-dynamically-display-it

That's a blocker for our release. Can you anyone help with this?

WEB Full Stack Engineer with blockchain Technology.
@tomford8389

Hi I am looking for jobs.

Main Skills:

πŸ’Ž Blockchain, Crypto, Solidity, Smart contract (ERC20, ERC721), NFT, web3.js, ether.js, Dapp, DAO, Defi, NFT, NFT marketplace, Opensea
πŸ’Ž React, React Hooks, React Context,
πŸ’Ž Vue 3, Vue 2, Vuex
πŸ’Ž Tailwind CSS, Material-UI, Bootstrap
πŸ’Ž GraphQL, Apollo
πŸ’Ž Node.js, Express.js, Hapi.js
πŸ’Ž PHP, Wordpress, Laravel, Shopify, Yii, Symfony, Mangeto
πŸ’Ž MongoDB, Mysql, PostgreSQL, DynamoDB, Google Apps
πŸ’Ž AWS, DigitalOcean, Heroku

WEB Full Stack Engineer with blockchain Technology.
@tomford8389

Hi I am looking for jobs.

Main Skills:

πŸ’Ž Blockchain, Crypto, Solidity, Smart contract (ERC20, ERC721), NFT, web3.js, ether.js, Dapp, DAO, Defi, NFT, NFT marketplace, Opensea
πŸ’Ž React, React Hooks, React Context,
πŸ’Ž Tailwind CSS, Material-UI, Bootstrap
πŸ’Ž GraphQL, Apollo
πŸ’Ž Node.js, Express.js, Hapi.js
πŸ’Ž PHP, Wordpress, Laravel, Shopify, Yii, Symfony, Mangeto
πŸ’Ž MongoDB, Mysql, PostgreSQL, DynamoDB, Google Apps
πŸ’Ž AWS, DigitalOcean, Heroku

Aminul Aprijal
@aprijal10
how much salary @tomford8389 ?