Explain Codes LogoExplain Codes Logo

Best Articles — Page 41

Input / button elements not shrinking in a flex container

html
responsive-design
flexbox
css

In Postgresql, force unique on combination of two columns

sql
migrations
error-handling
constraints

Inline style to act as :hover in CSS

css
responsive-design
best-practices
css-animations

In JPA 2, using a CriteriaQuery, how to count results

java
jpa
criteriaquery
counting

In JavaScript, why is "0" equal to false, but when tested by 'if' it is not false by itself?

javascript
type-coercion
equality-checks
truthiness

In JavaScript, how to conditionally add a member to an object?

javascript
conditional-properties
object-creation
javascript-syntax

In Java 8, how do I transform a Map to another Map using a lambda?

java
defensive-coding
stream-api
map-transformation

Initializing a list to a known number of elements in Python

python
list-initialization
memory-optimization
preinitialization

Initialise a list to a specific length in Python

python
list-comprehension
mutable-objects
list-initialization

In IntelliJ IDEA how do I replace text with a new line?

java
regex
intellij-idea
text-replacement

Infinite Recursion with Jackson JSON and Hibernate JPA issue

java
json-engineering
hibernate
serialization

Indentationerror: unindent does not match any outer indentation level, although the indentation looks correct

python
indentation
linting-tools
code-readability

Including jars in classpath on commandline (javac or apt)

java
classpath
javac
command-line

Including all the jars in a directory within the Java classpath

java
classpath
wildcards
java-8

Import multiple CSV files into pandas and concatenate into one DataFrame

python
pandas
dataframe
vectorized-operations

Importerror: No module named 'django.core.urlresolvers'

python
django-2.0
importerror
refactoring

Importerror: No module named Crypto.Cipher

python
importerror
pip-install
virtual-environment

Import a file from a subdirectory?

python
importing-modules
package-structure
python-best-practices

Immutable array in Java

java
immutable-arrays
java-9
data-integrity

Illegalargumentexception or NullPointerException for a null parameter?

java
exception-handling
best-practices
api-design