Concept | Definition |
---|---|
Autonomy | How well will this company give me autonomy to do my job? |
Freedom | How much freedom will I have to balance work and personal life? |
Responsibilities | What level of responsibilities will I have, and how extensive will they be? |
Culture | How well does this company's culture align with my values, and how open is the company to allowing me to contribute to the culture I believe in? |
Tech Stack | How closely does the tech stack used by this company align with my preferences, and to what extent is the company willing to allow me to use the stack I prefer? |
Personal Growth | How big is the potential of this company to help me keep growing? |
# This setting ensures we always install the Linux binaries when running `yarn install`. This is needed for running | |
# swc natively in Docker from a Mac host. | |
supportedArchitectures: | |
cpu: | |
- current | |
- x64 | |
- arm64 | |
libc: | |
- current | |
- glibc |
The problem: Electron's recommended app packager is Electron Forge. My app uses electron-store to persist small amounts of data used in the main process. It works fine in development mode but for some reason when I package the app with Electron-forge it will thrown an error and crash the app.
Interim solution: My solution was to build my own super simple storage module using the same file and method names used by electron store. It is not as robust as electron-store but it was sufficient for my needs so I thought I would pass this on to anyone else running into this issue. This is not an npm package, rather you can just copy the code below to make your own local module. If you are already using electron-store you do not have to modify any of your code except for adding the relative path to your module in the require statement.
Create a file named electron
`docker-compose` | |
server: | |
container_name: hubhub-server | |
# image: '${DOCKER_USER}/hubhubserver:latest' | |
extra_hosts: | |
- host.docker.internal:host-gateway | |
restart: always | |
build: | |
context: . |
A list of links containing cool references, resources and things related to books about Computer Science and related.
- Haskell Programming for First Principles
- Types and Programming Languages #math/type-theory
- Essentials of Compilation #computer-science/compilers
- How to design computer programs
- Structure and Interpretation of Computer Programs
- Introduction to Theory of Computation, Michael Sipser #computer-science/theory-of-computation
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8" /> | |
<link rel="icon" href="/favicon.ico" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
<meta | |
http-equiv="Content-Security-Policy" | |
content="default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; connect-src 'self' ws: wss:; media-src 'self' data: blob:;" | |
/> |
// dependencies | |
const util = require('util'); | |
const sharp = require('sharp'); | |
const AWS = require('aws-sdk'); | |
// get reference to S3 client | |
const s3 = new AWS.S3(); | |
exports.handler = async (event, context, callback) => { |
# Change these variables as necessary. | |
MAIN_PACKAGE_PATH := ./cmd/example | |
BINARY_NAME := example | |
# ==================================================================================== # | |
# HELPERS | |
# ==================================================================================== # | |
## help: print this help message | |
.PHONY: help |