- do you use feature flags? expand
- do you use git flow?
- have you decoupled deploy from release? https://www.honeycomb.io/blog/deploys-wrong-way-change-user-experience
- do you use sprints?
- do you have automated tests?
- do you do refactoring?
- do you use types (typescript)?
- how do you manage the project?
- do you have daily meetings? expand
- do you have written documentation?
TLDR: I understand the proposal of Bend, but when the efficiency reduction is so big that a RTX 4090 is only 7x faster on a near-optimal scenario than 2 cores of a M3 Max in a language like JavaScript, you should probably not take it.
On the otherhand, easy to use, but opt-in, parallel languages such as OCaml exists and they can compete, so you should likely take those. If you need even more performance, Rust could likely beat the RTX 4090 results on a mobile CPU.
Of course future optimizations should improve Bend results, but my goal here is to show that the current results are not as impressive as they may look, likely a JIT would make the RTX 4090 results 10x faster, but an RTX 4090 still uses at least 100 times more power than a single M3 core at any instant, additionally in principle GPUs are better for purely parallel tasks.
Also this example is a very parallelism friendly, this is both against Bend and in favour of it, most real code is not pure and not a purely binary alg
import { redirect, type LoaderFunctionArgs } from '@remix-run/node' | |
import { Form, useLoaderData } from '@remix-run/react' | |
import { sessionCookie } from '../session.server' | |
export async function loader({ request }: LoaderFunctionArgs) { | |
const cookieHeader = request.headers.get('Cookie') | |
const cookie = await sessionCookie.parse(cookieHeader) | |
if (!cookie) { | |
return redirect('/login') | |
} |
# 2023-11-27 MIT LICENSE | |
Here's the open source version of my ChatGPT game MonkeyIslandAmsterdam.com. | |
It's an unofficial image+text-based adventure game edition of Monkey Island in Amsterdam, my home town. | |
Please use it however you want. It'd be nice to see more ChatGPT-based games appear from this. If you get inspired by it, please link back to my X https://x.com/levelsio or this Gist so more people can do the same! | |
Send me your ChatGPT text adventure game on X, I'd love to try it! |
import { useEffect, useState } from 'react'; | |
const value = 100; | |
const PixDynamic = () => { | |
const [giftbackValue, setGiftbackValue] = useState(null); | |
const [giftbackHash, setGiftbackHash] = useState(null); | |
const [shopperId, setShopperId] = useState(null); | |
const [modal, setModal] = useState<boolean>(true); |
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? |
type TRUE = <A>(a: A) => <B>(b: B) => A; | |
type FALSE = <A>(a: A) => <B>(b: B) => B; | |
type OR = <A extends TRUE | FALSE>(a: A) => <B extends TRUE | FALSE>(b: B) => TRUE | FALSE; | |
// (λx.λy.x) | |
const TRUE: TRUE = a => b => a; | |
console.log(TRUE(1)(0)); | |
// (λx.λy.y) | |
const FALSE: FALSE = a => b => b; |