Tag: go

56 votes
22 answers
2.4K views
How can I list all collections in the MongoDB shell?

In the MongoDB shell, how do I list all collections for the current database that I'm using?

avatar
Jeff
0 1 0 9
asked 07 September, 2021
67 votes
20 answers
2.6K views
How do I drop a MongoDB database from the command line?

What's the easiest way to do this from my bash prompt?

avatar
Boyd
0 1 0 9
asked 07 September, 2021
57 votes
16 answers
371 views
"Large data" workflows using pandas

I have tried to puzzle out an answer to this question for many months while learning pandas. I use SAS for my

avatar
Robyn
0 1 0 9
asked 07 September, 2021
49 votes
30 answers
1.3K views
How to query MongoDB with "like"

I want to query something with SQL's like query: SELECT * FROM users WHERE name LIKE '%m%' Ho

avatar
Shanita
0 1 0 9
asked 07 September, 2021
60 votes
10 answers
2K views
CORS: Cannot use wildcard in Access-Control-Allow-Origin when credentials flag is true

I have a setup involving Frontend server (Node.js, domain: localhost:3000) <---> Backend (Django, Ajax,

avatar
Brianne
0 1 0 9
asked 07 September, 2021
57 votes
9 answers
1.1K views
Getting "net::ERR_BLOCKED_BY_CLIENT" error on some AJAX calls

Recently I've realised that, some adblocker extensions (such as adBlocker plus) block some Ajax calls. I

avatar
Wei
0 1 0 9
asked 07 September, 2021
51 votes
15 answers
1.4K views
How to manually send HTTP POST requests from Firefox or Chrome browser

I want to test some URLs in a web application I'm working on. For that I would like to manually create HT

avatar
Tana
0 1 0 9
asked 07 September, 2021
61 votes
30 answers
781 views
Disable same origin policy in Chrome

Is there any way to disable the Same-origin policy on Google's Chrome browser?

avatar
Thurman
0 1 0 9
asked 07 September, 2021
59 votes
3 answers
1.6K views
How does the HyperLogLog algorithm work?

I've been learning about different algorithms in my spare time recently, and one that I came across which

avatar
Serina
0 1 0 9
asked 07 September, 2021
54 votes
7 answers
1.9K views
Skip List vs. Binary Search Tree

I recently came across the data structure known as a skip list. It seems to have very similar behavior to a bi

avatar
Jeff
0 1 0 9
asked 07 September, 2021
57 votes
3 answers
3.1K views
What are the underlying data structures used for Redis?

I'm trying to answer two questions in a definitive list: What are the underlying data structures used fo

avatar
Charis
0 1 0 9
asked 07 September, 2021
66 votes
10 answers
1.8K views
What is the difference between tree depth and height?

This is a simple question from algorithms theory. The difference between them is that in one case you count nu

avatar
Alba
0 1 0 9
asked 07 September, 2021
54 votes
21 answers
2.7K views
How to implement a queue using two stacks?

Suppose we have two stacks and no other temporary variable. Is to possible to "construct" a queue data struct

avatar
Yolando
0 1 0 9
asked 07 September, 2021
56 votes
26 answers
1.7K views
How to detect a loop in a linked list?

Say you have a linked list structure in Java. It's made up of Nodes: class Node { Node next; //

avatar
Shantay
0 1 0 9
asked 07 September, 2021
59 votes
7 answers
2.1K views
Ukkonen&apos;s suffix tree algorithm in plain English

I feel a bit thick at this point. I've spent days trying to fully wrap my head around suffix tree constru

avatar
Wilber
0 1 0 9
asked 07 September, 2021
54 votes
22 answers
1.2K views
How do CSS triangles work?

There're plenty of different CSS shapes over at CSS Tricks - Shapes of CSS and I'm particularly puzz

avatar
Freida
0 1 0 9
asked 07 September, 2021
56 votes
30 answers
1.3K views
Hide scroll bar, but while still being able to scroll

I want to be able to scroll through the whole page, but without the scrollbar being shown. In Google Chrome i

avatar
Arline
0 1 0 9
asked 07 September, 2021
48 votes
30 answers
2K views
How do I check if an array includes a value in JavaScript?

What is the most concise and efficient way to find out if a JavaScript array contains a value? This is the onl

avatar
Omar
0 1 0 9
asked 07 September, 2021
65 votes
5 answers
1.7K views
Chrome - Disable cache for localhost only?

I'm using localhost for development; and I'm directly including jquery from CDN. It seems that pres

avatar
Percy
0 1 0 9
asked 07 September, 2021
56 votes
4 answers
446 views
Golang production web application configuration

For those of you running Go backends in production: What is your stack / configuration for running a Go web a

avatar
Hildegard
0 1 0 9
asked 07 September, 2021