datastation
golang-samples
Our great sponsors
datastation | golang-samples | |
---|---|---|
25 | 3 | |
2,853 | 4,137 | |
0.3% | 0.9% | |
0.0 | 9.4 | |
5 months ago | 6 days ago | |
TypeScript | Go | |
GNU General Public License v3.0 or later | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
datastation
-
Code coverage for Go integration tests
There was a technique that existed already where you could use `go test -cover` and the `-o` flag to produce a binary from `go test` rather than actually running tests. So you could build a binary that had coverage enabled. Then when you ran
Here's an example: https://github.com/multiprocessio/datastation/blob/main/runn....
I can't remember where I found this technique but it's been around for a while.
This new option is the same thing but a way to `go build` with `-cover` instead of `go test -cover -o $out`? Do I have that right?
-
Engineers using dbt with VS Code - how are you previewing your results in lieu of the functionality provided by dbt cloud?
If my employer doesn't consider paying for dbt cloud, I will use u/eatonphil 's datastation, run the queries on a dev database then put them in dbt.
- Show HN: DataStation – App to easily query, script, and visualize data
-
Windmill.dev
I build a somewhat similar app, DataStation [0], that is in JavaScript and Go. It supports scripting in Python, Julia, R, JavaScript, Ruby, etc.
The server version of it exists and I run it myself but that process is not documented yet. (Most people use it as a desktop app today.)
-
Datasette Lite: a server-side Python web application running in a browser
My biggest issue with Pyodide is the long wait times. I haven't figured out a way around a ~5 second load time where the entire UI hangs every single time you load the page.
My app (similar to Simon's, a lite mode of a data IDE): https://app.datastation.multiprocess.io.
My code: https://github.com/multiprocessio/datastation/blob/main/shar....
-
Lies we tell ourselves to keep using Golang
I use Go heavily cross-platform developing DataStation [0] and dsq [1]. I am not an expert. And I don't have proof for it but on some rudimentary benchmarks the Linux-specific file idioms in the Go standard library definitely don't seem to translate well to even macOS let alone Windows. For example some good streaming techniques for reading large files on Linux that work really well there seemed to be pretty bad on macOS.
I think Amos has presented more proof than I can on the topic of just how Linux-influenced Go is. And I think it is fine for the majority of Go users because the majority users of Go are building server apps or Linux CLIs.
Amos has spent some time building cross-platform desktop systems with Go for itch.io and I think I'm seeing some of the same things they are in that scenario.
I think this is a reasonable article. If Amos gets flame-y at any point I think it's worth ignoring because there does seem to be something up with Go in cross-platform applications.
I like Go a lot and for most things I'd keep using it still. Just sharing some observations.
-
Feeling overwhelmed when trying to contribute to opensource projects
I keep a page of good first projects for two big projects I work on. The only expectation is that you know Go. I've had a couple of people who've never contributed to OSS come in and get some meaningful features merged.
-
Ask HN: Who wants to collaborate? (April 2022)
I've got some good first projects if you're interested in OSS data tools and have some Go experience.
Check out: https://github.com/multiprocessio/datastation/blob/main/GOOD...
-
Open source Go projects to contribute (beginners)
Some example projects: DataStation (desktop GUI for querying every kind of database, scripting and graphing the results) and dsq (a CLI companion for running SQL queries on many kinds of files), and go-json (a library for fast JSON encoding of arrays of large objects).
-
Ask HN: Anyone making a living building desktop applications?
I'm building a desktop-first (SaaS-eventual) data IDE for developers [0]. Making a living? Not yet.
It being desktop-first makes it as easy to try out in a corporate environment as Sublime. The data never leaves your machine. Desktop-first is a big deal in devtools for this reason.
golang-samples
-
How to discover personal data in cloud storage
You can find an example of the function code for analyzing the data store on Google Cloud’s Github.
-
Ask HN: Solo-preneurs, how do you DevOps to save time?
Choose a platform like App Engine. It's auto-scaling. Supports bigtable. And opentelemetry. Manageable from anywhere via Cloud Shell. You can run multiple instances and partition load between them. Even includes a free tier ;)
-
GCP Cloud Run: containers without Dockerfile
# Source: https://github.com/GoogleCloudPlatform/golang-samples/blob/master/run/helloworld/Dockerfile FROM golang:1.16-buster as builder # Create and change to the app directory. WORKDIR /app # Retrieve application dependencies. # This allows the container build to reuse cached dependencies. # Expecting to copy go.mod and if present go.sum. COPY go.* ./ RUN go mod download # Copy local code to the container image. COPY . ./ # Build the binary. RUN go build -mod=readonly -v -o server # Use the official Debian slim image for a lean production container. # https://hub.docker.com/_/debian # https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds FROM debian:buster-slim RUN set -x && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \ ca-certificates && \ rm -rf /var/lib/apt/lists/* # Copy the binary to the production image from the builder stage. COPY --from=builder /app/server /app/server # Run the web service on container startup. CMD ["/app/server"]
What are some alternatives?
homebrew-emacs-plus - Emacs Plus formulae for the Homebrew package manager
dbmate - :rocket: A lightweight, framework-agnostic database migration tool.
gecko-dev - Read-only Git mirror of the Mercurial gecko repositories at https://hg.mozilla.org. How to contribute: https://firefox-source-docs.mozilla.org/contributing/contribution_quickref.html
bank-of-anthos - Retail banking sample application showcasing Kubernetes and Google Cloud
vscode-jupyter - VS Code Jupyter extension
nixpkgs - Nix Packages collection & NixOS
datasette - An open source multi-tool for exploring and publishing data
DayZ-Expansion-LoadingScreen-Sample - DayZ Expansion LoadingScreen Sample.
oursh - Your comrade through the perilous world of UNIX.
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
datasette-lite - Datasette running in your browser using WebAssembly and Pyodide
reisen - A simple library to extract video and audio frames from media containers (based on libav).