This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Similar to kaggle | |
That being said, let's dive in. | |
DrivenData. | |
CROWDANALYTIX. | |
Signate. | |
Zindi. | |
Alibaba Cloud Tianchi. | |
Analytics Vidhya. | |
CodaLab. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:20.04 | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV ISPC_VERSION="1.9.2" | |
ENV EMBREE2_VERSION="2.17.4" | |
ENV EMBREE3_VERSION="3.2.0" | |
RUN apt update | |
RUN apt -yq upgrade | |
RUN apt -yq install wget cmake g++ clang git libtbb-dev libglfw3-dev libopenmpi-dev alien unzip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package enum_example | |
import ( | |
"bytes" | |
"encoding/json" | |
) | |
// TaskState represents the state of task, moving through Created, Running then Finished or Errorred | |
type TaskState int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"reflect" | |
"strings" | |
) | |
type Foo struct { | |
A int |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bin/spark-shell --packages com.databricks:spark-xml_2.11:0.5.0 | |
scala> import com.databricks.spark.xml._ | |
val df = spark.read.option("rowTag", "article").xml("/Users/anastasios/test/dblp.xml") | |
val df = spark.read.option("rowTag", "article").xml("/Users/anastasios/test/dblp/dblp.xml") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
name=$RANDOM | |
url='http://localhost:9093/api/v1/alerts' | |
echo "firing up alert $name" | |
# change url o | |
curl -XPOST $url -d "[{ | |
\"status\": \"firing\", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For the record (in case someone needs to do it again), these are the steps : | |
1. Make the change in build_boost.sh | |
2. Setup an account on quay.io <http://quay.io/> and link to your GitHub account | |
3. In quay.io <http://quay.io/>, Add a new repository using : | |
A. Link to GitHub repository push | |
B. Trigger build on changes to a specific branch (eg. myquay) of the repo (eq. pravindra/arrow) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
If you wish to turn off checking for a section of code, you can put a comment in the source | |
before and after the section, with the following syntax: | |
// scalastyle:off | |
... // stuff that breaks the styles | |
// scalastyle:on | |
You can also disable only one rule, by specifying its rule id, as specified in: |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
- Follow standard conventions.
- Keep it simple stupid. Simpler is always better. Reduce complexity as much as possible.
- Boy scout rule. Leave the campground cleaner than you found it.
- Always find root cause. Always look for the root cause of a problem.
NewerOlder