The long way through Software Craftsmanship

Self-Study in August 2024

Aug 1, 2024 - 8 minute read - Comments - self-study-aggregation2024august3803acagentaiair-conditioningairpodalan-kayalgorithmanalysisankianxietyapiappatomicbasicbitwisevibebookbootloaderbovembreakdownburnoutbusinesscaliforniakarlcareer-managementcensorshipcertificatecertificate-authoritychartcloudflarecoding-horrorcommitcompilercopilotcpythoncrcastlecryptographyd2langdata-independencedata-pipelinedatabasedatasettedave_universetfdavid-caindavidbarkerdebugdecompilerdetectivedevelopmentdiggandigicertdistributed-databasedogsheepdowntimedurable-appdxeditorencryptionexfiltrationexploitexpression-problemeye-hazardeye-protectionfindmyfork-bomberfreewheeling-appgamegarbage-collectiongdprgitgit-commitgogoalhackernewshandfuloflightheapheatpumpheinz-kabutzhigh-availabilityhostingida-proigiturimportedin-memoryinferenceingveinjuryinsightinstrumentationinterfaceinterpreterinterviewjavajava-enhancement-proposaljava-tipjaxejeff-atwoodjepjoelpjohn-s-mccainjustinskycakkarpathykartik-agaramlanguagelarsdu88laserlaymanleaklearninglichtenbergerlifestyle-businesslisplistllmlocallocklostlow-levelmakemakefilemarketmathmathematicsmaturity-levelmaturity-scalememorymemory-addressmemory-allocationmemory-usagemessagingmifaremillmodelmooredsmxstbrnasandiddyneovimnoncenovelnullabilityollamaomnibrainotooleppassionpath-finderpersistancepersonalpersonal-data-pipelinepersonal-projectpersonalizedphysical-designpinescriptplanningpluginpointerposthogprimeprime-numberprivacyprocessprogrammingprogramming-bookprojectproject-interfacepromptpythonquanta-rayquestraneboraptitude.comraywrcerecroadrecursivereflectionreliabilityremote-code-executionrepairreportresignationresponsibilityretentionreverse-engineeringrich-hickeyrisc-vrockrobotrockrop-chainrqliterspivakrustrust-compilersaassecure-bootsecurityselfhostingservershipshoggouthside-hustleslacksmalispaced-repetitionsqlitesrestackstoragestrcpystudysurprisetalkswahswitowskisyntaxtactile-feedbacktdrhqteachingtechnology-readiness-leveltime-managementtime-planningtimothy-listertiptom-demarcotooltoshtprow50tradingtranscribetranscriptiontransporttrluiusageuxvivimwalwatchweb-developmentxalxboxzdwzedzerojames

Breakthrough a step toward revealing hidden structure of prime numbers

https://news.ycombinator.com/item?id=41126944

Tags: hackernews, imported, igitur, mathematics, math, prime-number, prime

Id: 88d89b5c-5d23-4d59-84aa-1d612b111e6d Read: Thu, 01 Aug 2024 07:34:30 +0000

How I got my laser eye injury

https://news.ycombinator.com/item?id=41127706

Tags: hackernews, imported, omnibrain, laser, injury, quanta-ray, eye-protection, eye-hazard

Id: ab6cba10-aede-4ce1-9673-2481d4684c22 Read: Thu, 01 Aug 2024 10:25:34 +0000

JVM/Java: Null-Restricted and Nullable Types

the markers ?, !, (default) for nullability in Java

https://news.ycombinator.com/item?id=41136974

Tags: hackernews, imported, lichtenberger, java, programming, null, nullability, language, syntax, jep, java-enhancement-proposal

Id: 69af00e4-d269-40f0-ae5b-0e07e286cda6 Read: Fri, 02 Aug 2024 08:02:52 +0000

RustPython: A Python Interpreter Written in Rust

A new python interpreter, written in rust

https://news.ycombinator.com/item?id=41139595

Tags: hackernews, imported, bovem, rust, python, cpython, interpreter, project

Id: 0afc3e71-74f1-444f-96a0-72271b63a876 Read: Fri, 02 Aug 2024 15:23:18 +0000

Primitive Recursive Functions for a Working Programmer

https://news.ycombinator.com/item?id=41146278

Tags: hackernews, imported, ingve, recursive, layman, programming

Id: b804aed3-19dc-47a5-8a46-fcc151939f72 Read: Sat, 03 Aug 2024 12:32:01 +0000

How I Program in 2024

Kartik Agaram discusses some level of maturity for tooling; tools created for personal use

https://news.ycombinator.com/item?id=41157494

Tags: hackernews, imported, surprisetalk, kartik-agaram, freewheeling-app, technology-readiness-level, trl, nasa, durable-app, app, maturity-scale, maturity-level, tool, personal-project

Id: b4005246-23f8-4795-823e-05ae5da927f6 Read: Mon, 05 Aug 2024 01:28:39 +0000

A cryptographically secure bootloader for RISC-V in Rust

https://news.ycombinator.com/item?id=41161580

Tags: hackernews, imported, fork-bomber, risc-v, bootloader, secure-boot, rust, cryptography

Id: 302b2fa8-de81-4fe6-a97a-2a3627eab0e6 Read: Mon, 05 Aug 2024 14:18:13 +0000

Building rqlite 9.0: Cutting disk usage by half

https://news.ycombinator.com/item?id=41167060

Tags: hackernews, imported, otoolep, tool, rqlite, sqlite, go, wal, distributed-database

Id: 9467d17b-a3cd-42d5-ad00-02a752e443f1 Read: Tue, 06 Aug 2024 01:20:22 +0000

Jeremy Rowley resigns from DigiCert due to mass-revocation incident

https://news.ycombinator.com/item?id=41177161

Tags: hackernews, imported, californiakarl, resignation, certificate, certificate-authority, digicert, responsibility

Id: 7742ff35-7ef6-4f1a-96b9-0bf33a7e327b Read: Wed, 07 Aug 2024 00:54:57 +0000

Tony Hawk’s Pro Strcpy

A story about using strcpy to hack a hole into Xbox’s Tony Hawk

https://news.ycombinator.com/item?id=41183115

Tags: hackernews, imported, ndiddy, strcpy, xbox, strcpy, remote-code-execution, rce, ida-pro, debug, exploit, rop-chain, game

Id: 81aa40c2-8258-466d-9b1b-807568f02e6b Read: Wed, 07 Aug 2024 16:48:42 +0000

Imagining a personal data pipeline

A personal data pipeline: a tool to import all your data to.

Provides privacy, data independence to your data.

You can run queries on top, to extract insights from your data.

What is the point of said tool if you don’t know which data to extract?

This blog creates nice charts, programatically, using d2lang

https://news.ycombinator.com/item?id=41183795

Tags: hackernews, imported, surprisetalk, data-pipeline, privacy, tool, data-independence, insight, personal-data-pipeline, d2lang, chart

Id: d4d0984b-609d-4483-9b9c-225b57827b61 Read: Wed, 07 Aug 2024 18:06:44 +0000

Do quests, not goals

process over goals

https://news.ycombinator.com/item?id=41194431

Tags: hackernews, imported, zdw, process, goal, quest, planning, david-cain, raptitude.com

Id: 7354a834-5fef-453f-b1af-aef32cd05ee4 Read: Thu, 08 Aug 2024 18:02:12 +0000

OTranscribe: A free and open tool for transcribing audio interviews

https://news.ycombinator.com/item?id=41199567

Tags: hackernews, imported, zerojames, ai, transcription, tool, transcribe, interview

Id: efb54d86-d862-47c0-820c-bae342ebe94f Read: Fri, 09 Aug 2024 07:31:15 +0000

Building a highly-available web service without a database

A way of running processes with persistent in-memory storage (from one run to another).

A way of skipping the persistance to database, for a quick proof of concept

https://news.ycombinator.com/item?id=41206908

Tags: hackernews, imported, tdrhq, novel, persistance, database, in-memory, storage, high-availability

Id: 61fa43f4-966d-4eea-89c3-91534637084b Read: Sat, 10 Aug 2024 02:37:55 +0000

Writing a C Compiler: Build a Real Programming Language from Scratch

https://news.ycombinator.com/item?id=41227716

Tags: hackernews, imported, shoggouth, programming, language, compiler, book

Id: a5342b19-9829-46cc-a4b3-0edf058917d8 Read: Mon, 12 Aug 2024 18:26:49 +0000

0xCAFEBABE & 0xFEEDFACE (2003)

About the constants used for finding them quickly in memory dumps

Interesting that the rust-compiler does not allow some magic numbers like 0xCAFEBABE

https://news.ycombinator.com/item?id=41231141

Tags: hackernews, imported, diggan, censorship, compiler, rust-compiler, pointer, memory-address

Id: c23c15f4-69e0-488a-9c29-11b6653e1a9b Read: Tue, 13 Aug 2024 01:03:12 +0000

Using a list to manage executive function

https://news.ycombinator.com/item?id=41234038

Tags: hackernews, imported, swah, planning, list, time-management

Id: db685a03-7a08-4241-abff-71c464422185 Read: Tue, 13 Aug 2024 10:21:50 +0000

Rust Atomics and Locks (2023)

Announcing the book in rust

https://news.ycombinator.com/item?id=41239913

Tags: hackernews, imported, 0xedb, book, rust, low-level, programming, atomic, lock, language

Id: e9471f2f-d288-4b5f-8de4-163e8c4f6005 Read: Tue, 13 Aug 2024 21:12:32 +0000

Things I learned from teaching (2023)

https://news.ycombinator.com/item?id=41241825

Tags: hackernews, imported, mooreds, teaching, learning, reflection, rayw

Id: ef748972-954e-4d25-a6ec-7574901ad602 Read: Wed, 14 Aug 2024 01:56:35 +0000

Size of Java Objects

How to compute the size of a java object

Tags: programming, java, language, java-tip, tip, memory-allocation, memory-usage, memory, heap, stack, garbage-collection

Id: 510201fb-f642-443d-a476-a07e3365ab8f Read: Thu, 15 Aug 2024 08:32:08 +0000

Instrumentation Memory Counter

How to instrument the JVM to measure data usage

Tags: programming, java, instrumentation, agent, language, memory-allocation, memory-usage, heinz-kabutz, heap, stack, garbage-collection

Id: dd40f89f-284c-4b53-b8d1-289e36d3fa2d Read: Thu, 15 Aug 2024 08:33:08 +0000

Programmers Don’t Read Books – But You Should (2008)

Analysis of why programming books are not so good. Why it’s rumored that programmers don’t read books anymore.

A paper by DeMarco and Lister 1999 shows that most programmers don’t even read one book a year.

https://news.ycombinator.com/item?id=41259034

Tags: hackernews, imported, rspivak, book, jeff-atwood, coding-horror, programming, programming-book, basic, tom-demarco, timothy-lister

Id: c15b3ed7-3e8d-4039-abb2-3c0be3ddcad8 Read: Thu, 15 Aug 2024 18:33:04 +0000

MIFARE Classic: exposing the static encrypted nonce variant [pdf]

https://news.ycombinator.com/item?id=41269249

Tags: hackernews, imported, dave_universetf, mifare, cryptography, nonce, encryption, transport

Id: 3fd17e70-0868-4900-812b-799be3e3939b Read: Fri, 16 Aug 2024 18:53:57 +0000

Increasing Retention Without Increasing Study Time [pdf]

“Teach others what are you trying to teach yourself better”

https://news.ycombinator.com/item?id=41274602

Tags: hackernews, imported, justinskycak, study, retention, spaced-repetition, anki

Id: 7718bcb8-bab1-4fe1-bc9b-a0ec6df814d7 Read: Sat, 17 Aug 2024 13:53:11 +0000

Leaving Neovim for Zed

Steve Dylan explains his change from Neovim to Zed, both CLI editors

https://news.ycombinator.com/item?id=41284322

Tags: hackernews, imported, mxstbr, zed, neovim, vim, vi, editor, git, plugin, tool

Id: e3c8fffe-98f0-4ed0-9383-16461d1aa36c Read: Sun, 18 Aug 2024 18:37:10 +0000

Algorithms we develop software by

Using a day-planner algorithm for planning work. Getting 100k lines under the belt. Throw away work, rewrite it.

https://news.ycombinator.com/item?id=41284409

Tags: hackernews, imported, xal, planning, algorithm, path-finder, time-planning, career-management

Id: a9c93464-3c9f-4081-ab9a-f35bd83f013a Read: Sun, 18 Aug 2024 18:47:42 +0000

What If Data Is a Bad Idea?

A discussion about Alan Kay and Rich Hickey

https://news.ycombinator.com/item?id=41290189

Tags: hackernews, imported, surprisetalk, alan-kay, rich-hickey, lisp, expression-problem, gdpr, dogsheep, datasette

Id: 9e90fd59-4253-4ef5-8e30-112a22e539c1 Read: Mon, 19 Aug 2024 11:47:41 +0000

The U.S. Navy’s $100M checkbox (2019)

How a bad UX/UI caused a 100 M USD repair to one of the USS ships.

Goes in detail to physical design, tactile feedback, analysis.

https://news.ycombinator.com/item?id=41297563

Tags: hackernews, imported, davidbarker, physical-design, tactile-feedback, analysis, ux, ui, john-s-mccain, ship, repair

Id: dc741a79-273f-4d28-84fa-58728bbe0231 Read: Tue, 20 Aug 2024 07:09:36 +0000

The anatomy of a 2AM mental breakdown

Describes the experience of responding to a downtime on your own. Cause by PostHog

https://news.ycombinator.com/item?id=41300368

Tags: hackernews, imported, recroad, posthog, tool, downtime, sre, reliability, cloudflare, report, anxiety, breakdown

Id: 2019be3c-6d89-4855-97bd-2cc108d40030 Read: Tue, 20 Aug 2024 14:25:03 +0000

Host Your Own Copilot

How to host your own copilot

https://news.ycombinator.com/item?id=41301150

Tags: hackernews, imported, larsdu88, security, privacy, ai, llm, copilot, ollama, model

Id: 832a6399-e029-43a2-bf38-37a8399b2072 Read: Tue, 20 Aug 2024 15:52:49 +0000

Data Exfiltration from Slack AI via indirect prompt injection

Showing an attack against slack, via its AI

https://news.ycombinator.com/item?id=41302597

Tags: hackernews, imported, tprow50, security, slack, exfiltration, leak, llm, ai, prompt

Id: a727e2ce-3b47-46fa-bb29-cca968228234 Read: Tue, 20 Aug 2024 18:27:45 +0000

I’ve built my first successful side project, and I hate it

Describes in depth the small business he built around trading, pinescript, signals.

How he stopped loving it and finally caused him burnout

https://news.ycombinator.com/item?id=41308599

Tags: hackernews, imported, switowski, business, side-hustle, pinescript, burnout, market, trading, lifestyle-business

Id: bb250665-5974-4c78-8266-03549800eb59 Read: Wed, 21 Aug 2024 09:59:41 +0000

I’m tired of fixing customers' AI generated code

AI has lowered the bar for creating small scripts and tools. That makes the population that can use an API/SaaS/Interface larger, therefore creating more issues.

This user highlights that somebody that has read the documentation or can program won’t make those mistakes

https://news.ycombinator.com/item?id=41315138

Tags: hackernews, imported, bitwisevibe, ai, llm, api, interface, saas, usage, ux, ui, dx

Id: 74ec45c3-430b-43ed-bed9-5db943d402c6 Read: Wed, 21 Aug 2024 23:16:21 +0000

Designing my own watch (2020)

Somebody sells all his big name watches to create his own, personal watch.

https://news.ycombinator.com/item?id=41316598

Tags: hackernews, imported, handfuloflight, watch, personal, passion, mill, personalized

Id: 2097a8a8-b439-40f9-adde-98020dfb1c9e Read: Thu, 22 Aug 2024 03:41:41 +0000

Did you lose your AirPods?

How somebody plays detective and finds the owner of the airpods

https://news.ycombinator.com/item?id=41334207

Tags: hackernews, imported, rockrobotrock, detective, airpod, messaging, lost, findmy

Id: 5c2db410-f884-485d-a484-b374362419b7 Read: Fri, 23 Aug 2024 23:54:28 +0000

Makefiles for Web Work (2022)

A very well written article on how to manage projects with makefiles

https://news.ycombinator.com/item?id=41334387

Tags: hackernews, imported, crcastle, makefile, make, project-interface, project, web-development, development, programming

Id: 639feeab-1fe8-4808-a39d-4aadca3be947 Read: Sat, 24 Aug 2024 00:22:13 +0000

Server Setup Basics for Self Hosting

https://news.ycombinator.com/item?id=41353284

Tags: hackernews, imported, joelp, hosting, selfhosting, security, server

Id: 887a42c0-6b0c-49b2-b8e0-600741e2e07f Read: Mon, 26 Aug 2024 01:50:43 +0000

A little utility that auto-generates Git commit message based on the Git diff

Using a local LLM to generate git commits based on the contents

https://news.ycombinator.com/item?id=41355050

Tags: hackernews, imported, tosh, llm, ai, inference, local, ollama, git-commit, git, commit, karpathy

Id: 59ba381e-a893-4357-8cf9-9346bb396e2d Read: Mon, 26 Aug 2024 08:20:42 +0000

Air Con: $1697 for an on/off switch

A reverse engineering job on how to replace a tablet controlling a smart system for air conditioning

https://news.ycombinator.com/item?id=41386319

Tags: hackernews, imported, ranebo, reverse-engineering, smali, java, jaxe, decompiler, air-conditioning, ac, heatpump, programming

Id: ea32498b-a1a4-47de-8723-7e614f78bbe2 Read: Thu, 29 Aug 2024 01:28:01 +0000

Python 3 Boilerplate for Non-Productive environments (e.g., Kata, Study)

Jul 28, 2024 - 1 minute read - Comments - 2024boilerplategithubjulykatamakefilepythonrepositorystudy

I have created a Python 3 boilerplate for non-productive environments. It can be found here: https://github.com/alvarogarcia7/python-boilerplate

Main features

Its main features are:

  1. It can be run locally (local python) or in a docker container (official docker image)
  2. It has a Makefile with the most common commands to drive the project. Also, other makefiles in this folder
  3. Batteries included: mypy, pytest, pre-commit.
  4. Permissive license: MIT. The updated version is here
  5. Currently, it is using python 3.12

Usage

  1. Clone the repository under a new project name. Either with Downloading the ZIP file or with git clone.
  2. If present, remove the .git folder and create a new one.
  3. Start adding features
  4. Push to a new repository of your own.

Limitations

Limitations:

  1. It is not a template, but a starting point. You will need to change the name of the project, the name of the package, and the name of the module
  2. It is not a production-ready project. It is intended for katas, study, or similar non-productive environments.

See also

There are other boilerplate repositories here

Other

Note: The views expressed in this repository are my own and do not necessarily reflect the views of my employers (past, present, or future).

Self-Study in July 2024

Jul 1, 2024 - 9 minute read - Comments - self-study-aggregation2024july8organicbitsa16zaceraopenadragamazonarchitectural-patternarchitecture-decisional-recordargumentasicspassessmentattackaudioaudio-processingawsazeembab20000backtrackingbarcodebatterybelterbisectblogbloggingblue-fridaybookbounding-boxbrendan-greggbrian-kernighanbrilbugburntsushic-ffic-languagecancellationcareercareer-managementcertificatecertificate-authoritycharles_fchartchris_overseaschumpgptciclangclean-architectureclean-codeclicloudflarecoding-interviewcollisioncomparisoncompilerconcertconcurrencyconsultantcontinuous-integrationcontractual-termscookbookcppcrisiscrowdstrikecryptographydahliadark-patterndarpadata-accessdata-structuredatabasedatedcsdebugdebuggingdeep-cycle-systemsdeepcyclesystems.com.audeepfakedefectdelldemoderivedevicediffdiff-pdfdockerdomaindoom-emacsdrivere2e-testingebpfemacsembeddedemotend-to-end-testingenveulaexecutiveexercisefagnerbrackfanf2ferrarifestivalfilefilesystemfinancefirmfirmwareformal-verificationformelifefpgafsfunctional-coregamegccgdbgerald-jay-sussmangerald-sussmangigabytegitgit-bisectgnu-makegoranmoominhackernewshashhash-collisionhash-tablehasheddanhealeycodeshexagonal-architecturehgyjnbdethigh-frequency-tradinghiringhistoryholeimperative-shellimplementationimportedimprovementin-real-lifeingveinitiativeintelinteractiveinterviewirljandeboevriejuntao-qiukernelkothurotilanguageleaklearninglibrarylicenselocklock-free-data-structureloomlow-level-programminglwnmakemalwaremanagementmappingmartin-fowlermatlabmd5meetupmemorymemory-mappingmiki123211moneymongodbmoreatimutexnumpyobsidianolshanskyopenssloptimizationorg-agendaorg-modeorganizationoskar_dudyczpanicparallelparallellismparserpatternpaulgbpaymentpbwpdfperformancepersonal-knowledge-basepersonal-projectsphil-eatonphishingpkbpointpolysemypopcalcpopcntports-and-adapterspostgresqlpractice-of-programmingpredictabilityprinterprivate-keyprocessproductivityprogrammingprojectpropertyproperty-based-testingptracepwnpyo3pythonrandomrandomnessreactrealtimeregexregistryresearchreturn-policyrewriteripgreprobert-c-martinrscrtrusts3salarysecure-bootsecurityserialshared-secretsicpsigna11signaturesilver-surfersingle-page-applicationskeletonsoftwarespaspeckxspeedupsqlsqlitessfrrstacksteveklabnikstm32sudokusupermicroswizecsynergy20syscallsystem-callsystem-programmingtalktechniciantechniquetempertesttest-doubletestingtesting-reductiontesting-strategythunderbongticketticketmastertiddlywikitodsacerdotitooltractortranspilationtriple-dottroveudev4096udpuiurandomuxvariadicventure-capitalverifexvideovulnerabilitywayback-machinewh33zleworklogwritingyla92youtubezdwzettlrzotero

Managing projects with GNU Make, Third Edition

book about GNU Make, with recipes and going into detail about how to use it

Tags: book, make, gnu-make, project, skeleton, ci, continuous-integration

Id: 028b0e1f-a181-4469-8789-900ce6641d97 Read: Sun, 01 Jul 2024 17:22:52 +0000

Diff-pdf: tool to visually compare two PDFs

a tool to diff pdfs visually

https://news.ycombinator.com/item?id=40854319

Tags: hackernews, imported, olshansky, testing, test, diff-pdf, pdf, diff, git, e2e-testing, end-to-end-testing, tool

Id: 4fc53bae-d81c-45b4-9f6b-995ec5d4df6a Read: Tue, 02 Jul 2024 07:26:08 +0000

The Rust Programming Language: How to Write Tests

Guide on how to write tests

Tags: rust, learning, test, programming

Id: bb25df40-6668-40c7-b540-0218ee271a79 Read: Tue, 02 Jul 2024 16:14:47 +0000

Rust by example: variadics

Variadics in rust

Tags: rust, programming, variadic, argument, triple-dot

Id: f5b3afaf-86cb-401d-956c-e588879f4ce9 Read: Tue, 02 Jul 2024 16:16:36 +0000

Clap: Command Line Argument Parser for Rust

Command Line Argument Parser for Rust

Tags: rust, programming, argument, parser, derive, git, cookbook

Id: 31c985a0-fbe8-4819-aff7-2ce9fa844f50 Read: Tue, 02 Jul 2024 16:18:11 +0000

Programming is (should be) fun!

Gerald Jay Sussman about history of programming, since he started until now.

Tags: gerald-jay-sussman, gerald-sussman, sicp, youtube, talk, history, programming

Id: 19e3fd3b-dde4-4f2e-bcae-d1b97edd836d Read: Tue, 02 Jul 2024 16:21:38 +0000

Sans-IO: The secret to effective Rust for network services

https://news.ycombinator.com/item?id=40872020

Tags: hackernews, imported, wh33zle, imperative-shell, functional-core, testing, architectural-pattern, ports-and-adapters, hexagonal-architecture

Id: c027f63e-c4d0-46de-8532-867647d9a4c1 Read: Thu, 04 Jul 2024 03:05:36 +0000

The Software Crisis

https://news.ycombinator.com/item?id=40882583

Tags: hackernews, imported, todsacerdoti, software, crisis

Id: 7ea23180-fec2-4b15-8608-d2a3b3a0fa3d Read: Fri, 05 Jul 2024 13:38:11 +0000

Properly testing concurrent data structures

There’s a fascinating Rust library, loom, which can be used to thoroughly test lock-free data structures. I always wanted to learn how it works. I still do! But recently I accidentally implemented a small toy which, I think, contains some of the loom’s ideas, and it seems worthwhile to write about that

https://news.ycombinator.com/item?id=40890035

Tags: hackernews, imported, asicsp, lock-free-data-structure, data-structure, temper, tool, rust, loom, cpp, property-based-testing, concurrency, parallellism

Id: a35b8485-365c-4edf-a542-3dea4a77645e Read: Sat, 06 Jul 2024 12:29:18 +0000

A reawakening of systems programming meetups

https://news.ycombinator.com/item?id=40897506

Tags: hackernews, imported, paulgb, phil-eaton, meetup, system-programming

Id: d60d5051-52f5-486e-91f3-79d0e634e36d Read: Sun, 07 Jul 2024 13:20:37 +0000

Mongo but on Postgres and with strong consistency benefits

https://news.ycombinator.com/item?id=40897518

Tags: hackernews, imported, oskar_dudycz, database, mongodb, postgresql, sql, driver

Id: d3eb5013-3d97-426b-9a44-022830a52b40 Read: Sun, 07 Jul 2024 13:22:12 +0000

Reverse engineering Ticketmaster’s rotating barcodes

https://news.ycombinator.com/item?id=40906148

Tags: hackernews, imported, miki123211, ticketmaster, cryptography, barcode, ticket, concert, festival

Id: 2cd18b74-4bbb-4e0a-baec-6ffcf77959a1 Read: Mon, 08 Jul 2024 15:14:06 +0000

C++ patterns for low-latency applications including high-frequency trading

Fairly trivial base introduction to the subject.

https://news.ycombinator.com/item?id=40908273

Tags: hackernews, imported, chris_overseas, programming, high-frequency-trading, performance, cpp, language

Id: a221ad53-88cd-42d6-bda5-62dbe6f78920 Read: Mon, 08 Jul 2024 18:58:56 +0000

Making Python Less Random

https://news.ycombinator.com/item?id=40909094

Tags: hackernews, imported, healeycodes, python, random, urandom, randomness, ptrace, system-call, syscall, test-double

Id: 414651f1-b88d-4159-9aa7-78f724ec3973 Read: Mon, 08 Jul 2024 20:09:08 +0000

Real-time audio programming 101: time waits for nothing (2011)

a couple of basic facts: (1) You do not want your software’s audio to glitch, and (2) real-time waits for nothing.

https://news.ycombinator.com/item?id=40912271

Tags: hackernews, imported, ssfrr, audio, audio-processing, realtime, programming, mutex, lock, low-level-programming, rt

Id: b1610775-0a9c-4326-9b6b-a461c0ecad52 Read: Tue, 09 Jul 2024 03:24:22 +0000

Radius/UDP. How legacy protocols need to keep up with modern cryptography

https://news.ycombinator.com/item?id=40915112

Tags: hackernews, imported, emot, cryptography, device, udp, md5, collision, hash-collision, vulnerability, cloudflare

Id: 6532c138-49b0-4410-8bca-d6edfd2d6deb Read: Tue, 09 Jul 2024 12:05:43 +0000

Brian Kernighan on “The Practice of Programming” [video]

https://news.ycombinator.com/item?id=40927481

Tags: hackernews, imported, zdw, youtube, brian-kernighan, practice-of-programming, book

Id: 77b6a63f-fc73-467f-a785-9f9eac74b1f7 Read: Wed, 10 Jul 2024 14:45:19 +0000

Engineering principles for building financial systems

Engineering principles for building financial systems

https://news.ycombinator.com/item?id=40933110

Tags: hackernews, imported, kothuroti, finance, programming, domain, money

Id: d9f2a8e9-fcea-49c0-90e3-78a1189be491 Read: Thu, 11 Jul 2024 01:47:46 +0000

Using S3 as a Container Registry

https://news.ycombinator.com/item?id=40942732

Tags: hackernews, imported, jandeboevrie, docker, registry, amazon, aws, s3

Id: f1d2ad68-ab37-4829-be6d-1e19f357426d Read: Fri, 12 Jul 2024 04:26:23 +0000

Use a work journal

Using a worklog to keep track of work between sessions. Recover the context faster, keep track of what you searched / investigated / tried. And the outcomes. Helps with the documentation, reasoning, ADR.

https://news.ycombinator.com/item?id=40950584

Tags: hackernews, imported, charles_f, adr, worklog, technique, programming, debugging, architecture-decisional-record, writing

Id: 78a078ba-49a6-41af-82d3-1921a63d904a Read: Sat, 13 Jul 2024 00:05:23 +0000

Automated Test-Case Reduction

https://news.ycombinator.com/item?id=40971025

Tags: hackernews, imported, ingve, testing, testing-strategy, bril, testing-reduction

Id: f5d99a7a-9cce-4a21-be66-4db369226f75 Read: Mon, 15 Jul 2024 20:03:53 +0000

Panic at the Job Market

https://news.ycombinator.com/item?id=40986894

Tags: hackernews, imported, speckx, career-management, salary, payment, consultant, career, programming

Id: ed7bb802-b5f4-4e66-8027-17d50202bef1 Read: Wed, 17 Jul 2024 15:25:11 +0000

What are the ways compilers recognize complex patterns?

https://news.ycombinator.com/item?id=40987123

Tags: hackernews, imported, azeemba, compiler, pattern, popcnt, transpilation, gcc, clang

Id: 05f24da5-5783-4cd3-99cd-bf2d302556be Read: Wed, 17 Jul 2024 15:44:25 +0000

Hash-based bisect debugging in compilers and runtimes

An interesting article with techniques for debugging when using tests.

https://news.ycombinator.com/item?id=40995982

Tags: hackernews, imported, rsc, debugging, hash, git, git-bisect, bisect, technique

Id: 92982287-2c40-4b73-80d7-500b128571dd Read: Thu, 18 Jul 2024 14:36:58 +0000

TradingView’s Emotional Subscription Cancellation

https://news.ycombinator.com/item?id=41004113

Tags: hackernews, imported, popcalc, dark-pattern, cancellation, ux, ui

Id: 64f6b5a9-cc43-4bd0-82f6-5dea87498ead Read: Fri, 19 Jul 2024 09:30:20 +0000

How to pwn a billion dollar VC firm using inspect element

https://news.ycombinator.com/item?id=41016768

Tags: hackernews, imported, udev4096, pwn, property, env, a16z, hole, venture-capital, firm, security

Id: 6459b5bf-3129-499e-9c79-a3d88085b738 Read: Sat, 20 Jul 2024 14:33:18 +0000

Zettlr: One-Stop Publication Workbench

markdown-based Obsidian/Logseq zettelkasten with built-in support for

  1. interfacing with reference managers
  2. exporting/publishing with LaTeX/pandoc.

https://docs.zettlr.com/en/core/user-interface/

Supports:

  • inline markdown preview

  • VIM Keybinds (with some issues, as many implementations have)

  • mermaid and LaTeX math support built in

https://news.ycombinator.com/item?id=41023319

Tags: hackernews, imported, hgyjnbdet, zotero, research, tool, personal-knowledge-base, pkb, zettlr, obsidian, tiddlywiki

Id: 75bc0452-a720-4329-bc77-0d2e0c962b56 Read: Sun, 21 Jul 2024 07:53:25 +0000

Data Fetching for Single-Page Apps

An interesting article in Martin Fowler’s site about loading data in a Single Page Application (SPA).

By Juntao QIU.

https://news.ycombinator.com/item?id=41030073

Tags: hackernews, imported, fagnerbrack, juntao-qiu, martin-fowler, spa, single-page-application, react, serial, parallel, pattern

Id: 3b05ca32-cbf4-4ac8-950e-f2e0cee5aedf Read: Mon, 22 Jul 2024 01:31:15 +0000

Jiff: Datetime library for Rust

https://news.ycombinator.com/item?id=41031037

Tags: hackernews, imported, goranmoomin, rust, programming, library, date, burntsushi, ripgrep, regex, silver-surfer, ag

Id: c72c2944-fbec-4268-96b9-c35d51714c0d Read: Mon, 22 Jul 2024 04:57:46 +0000

No More Blue Fridays

https://news.ycombinator.com/item?id=41033579

Tags: hackernews, imported, moreati, brendan-gregg, security, kernel, driver, ebpf, panic, crowdstrike, formal-verification, blue-friday

Id: 52b24cd8-de0d-4a88-a352-4b146f66f76f Read: Mon, 22 Jul 2024 12:21:06 +0000

Re: Do people IRL know you have a blog?

No one else has anything invested in this. No one cares if you do it, or don’t do it. To the world this pursuit is just your cute little hobby.

There’s a constant tug of war between wanting to be professional and wanting to be cool online. Sometimes those things overlap and sometimes they don’t. And sometimes the folks who have the opportunities to make a weirdo website are doing so because they’re not financially dependent on their website selling a service or landing a new gig. Their economic livelihood isn’t at risk if someone is turned off by the strange fonts or experimental navigation on their website.

A discussion he had with his wife about having a blog prompts the question of what is the purpose of the personal blogs.

The author does not mind if they are useful to other people or not; it’s not a source of income.

Another comment: My blog is primarily a way for me to clarify my thoughts on a topic by writing about it. Once that is done, the amount of effort required to post those thoughts is small, so why not do it?.

https://news.ycombinator.com/item?id=41041537

Tags: hackernews, imported, 8organicbits, blogging, blog, personal-projects, irl, in-real-life

Id: 5a3192f7-e396-47b9-a022-683dce3618f0 Read: Tue, 23 Jul 2024 01:08:49 +0000

Software engineers are not (and should not be) technicians

creating a process that incentivices predictability is worse for the business, as we don’t introduce process improvements

https://news.ycombinator.com/item?id=41055481

Tags: hackernews, imported, dahlia, process, project, tool, technician, improvement, organization, management, predictability

Id: c40df639-3df8-40ce-a960-764e9ca23f95 Read: Wed, 24 Jul 2024 10:25:03 +0000

Generating sudokus for fun and no profit

https://news.ycombinator.com/item?id=41062072

Tags: hackernews, imported, todsacerdoti, sudoku, performance, optimization, game, interactive, demo, backtracking, chart

Id: 88c55cad-a9b2-4c78-a51b-9d9e1b487129 Read: Wed, 24 Jul 2024 21:02:09 +0000

Memory Mapping an FPGA from an STM32

https://news.ycombinator.com/item?id=41068995

Tags: hackernews, imported, hasheddan, fpga, mapping, memory, memory-mapping, stm32, device, embedded

Id: 1b9bcf0e-dd27-441a-bea2-ccbb1bc19b49 Read: Thu, 25 Jul 2024 14:21:36 +0000

Secure Boot is broken on 200 models from 5 big device makers

https://news.ycombinator.com/item?id=41071708

Tags: hackernews, imported, verifex, secure-boot, signature, firmware, acer aopen, dell, formelife, gigabyte, intel, supermicro, private-key, certificate, certificate-authority, leak

Id: d085ee7f-4ca2-47ef-83c9-a63f265c54a4 Read: Thu, 25 Jul 2024 18:21:47 +0000

How to build highly-debuggable C++ binaries

how to use python to create printers for gdb

https://news.ycombinator.com/item?id=41074703

Tags: hackernews, imported, synergy20, printer, gdb, debug, debugging, python, c-language

Id: d911bd80-555e-44be-a9ee-44611db59119 Read: Fri, 26 Jul 2024 00:00:52 +0000

Ask HN: Reasonable reasons to refuse coding assessments

Discussion about whether you should agree to doing coding interviews, on the blackboard, remote, coding assignments.

https://news.ycombinator.com/item?id=41075594

Tags: hackernews, imported, b20000, interview, hiring, coding-interview, assessment, exercise

Id: b5cbb0a7-1d41-4c71-ab21-5e013bbc4672 Read: Fri, 26 Jul 2024 03:41:09 +0000

A hash table by any other name

https://news.ycombinator.com/item?id=41076375

Tags: hackernews, imported, signa11, hash-table, implementation, lwn

Id: 9a13bdaa-2577-42d0-9a07-33fbb6d404b0 Read: Fri, 26 Jul 2024 06:53:50 +0000

Using Rust to corrode insane Python run-times (2021)

Using rust as the underlying library behind python modules. This is about points, bounding boxes; numpy, matlab

https://news.ycombinator.com/item?id=41076905

Tags: hackernews, imported, fanf2, rust, pyo3, python, c-ffi, point, bounding-box, numpy, matlab, speedup, performance, optimization

Id: 3cb3a865-8c21-41c0-905d-2042d4fed1c4 Read: Fri, 26 Jul 2024 08:42:04 +0000

DCS sues Small YouTuber for accurate product review [video]

Louis Rossmann discusses the change in the license, retroactively, for a manufacturer of batteries.

https://news.ycombinator.com/item?id=41079801

Tags: hackernews, imported, chumpgpt, battery, dcs, eula, license, contractual-terms, deep-cycle-systems, deepcyclesystems.com.au, return-policy, wayback-machine, trove, youtube, video

Id: 91380c0b-fb0e-4399-9be3-81ee06a9e4c5 Read: Fri, 26 Jul 2024 16:12:51 +0000

90% of performance is data access patterns

How accessing the data affects performance

https://news.ycombinator.com/item?id=41080537

Tags: hackernews, imported, ingve, data-access, performance, swizec

Id: 837e3974-5680-4b82-af04-dccce52fc200 Read: Fri, 26 Jul 2024 17:37:03 +0000

Beyond Clean Code

A discussion in detail of what is clean code; the new meaning it acquired with time and why reject it.

https://news.ycombinator.com/item?id=41081237

Tags: hackernews, imported, pbw, clean-code, clean-architecture, robert-c-martin, book, performance, polysemy

Id: 4fb9318a-ea18-4c58-af3e-681bbaa7a902 Read: Fri, 26 Jul 2024 18:55:16 +0000

SQLite: 35% Faster Than the Filesystem

Comparing the performance of the file system and of SQLite

https://news.ycombinator.com/item?id=41085376

Tags: hackernews, imported, yla92, sqlite, performance, comparison, filesystem, fs, file

Id: caadfd40-c907-4e60-8d50-e038fe69be4d Read: Sat, 27 Jul 2024 09:10:29 +0000

Boost Productivity With Emacs, Org Mode and Org Agenda

Introductory video to Emacs, Org Mode and Org Agenda

Tags: org-mode, org-agenda, emacs, doom-emacs, productivity, cli, tool

Id: a5d51415-4969-4917-a1ee-a5e8119b1677 Read: Sun, 28 Jul 2024 10:53:23 +0000

Ferrari exec foils deepfake attempt by asking a question only CEO could answer

A deepfake phishing attack has been foiled by using a shared secret in real life

https://news.ycombinator.com/item?id=41100551

Tags: hackernews, imported, thunderbong, shared-secret, cryptography, deepfake, phishing, attack, malware, ferrari, book, executive

Id: 3bf72306-9b03-4623-8783-bc30bc0ee5ca Read: Mon, 29 Jul 2024 14:05:24 +0000

OpenSSL bug exposed up to 255 bytes of client heap and existed since 2011

https://news.ycombinator.com/item?id=41108465

Tags: hackernews, imported, belter, openssl, bug, defect, stack, cryptography

Id: 0069cf0e-e50f-4313-8a61-65c6196e1349 Read: Tue, 30 Jul 2024 12:29:27 +0000

Translating All C to Rust (TRACTOR)

https://news.ycombinator.com/item?id=41110269

Tags: hackernews, imported, steveklabnik, programming, rust, c-language, tractor, darpa, project, initiative, rewrite

Id: a6cee030-24de-4832-92e1-25886bd7eb3d Read: Tue, 30 Jul 2024 15:42:06 +0000

Self-Study in June 2024

Jun 1, 2024 - 5 minute read - Comments - self-study-aggregation2024juneadvicealawamiazamazonanniversaryanti-patternaranchelkarchitecturearmausten-allredauthorauthoringavx2avx512backlogbenjamin-sandofskybirthdaybookmarkbootcampbrian-kernighanbwidlarcc-programming-languageclicode-golfcommunitycompany-culturecompilercomplexitycopy-paste-managercrenshawcryptographydeceptiondeconstructiondredmorbiuseaton-philefficiencyengagemententropyeventevent-driven-architectureexportfederationfsharpfunctional-modelingfunctional-programmingfunctional-shell-imperative-corefuzz-mapfuzzinggarbage-collectiongfairbanksglassglassblowergotogregor-hohpegroup-chatguiguilherme-puidagumroadhackernewshandoverhardwarehaskellikryanovimportedincomeindentitinstruction-setiocccisakeyboardkillbufferlambda-schoollanfeustlawsuitlcamtufleakleanpublibrarylinklistloopluumacosmarcusbuffettmatt_dmattrighettimeetupmeetup-organizationmemory-managementmessage-queuemetromtmkmynameistrezneonnothacking_one-time-useoptimizationorganizingorganizing-meetuppassive-incomepatternpaulhouleplinkplonkproduct-ownerprofessionprogrammingprogramming-languagepseudoluspublic-key-cryptographypublic-transportpublisherpublishingrajuraygraywreal-worldreflect-as-you-goreflect-as-you-workrenderriskrisk-managementrob-pikeroyaltiesrustsecretseniorshortcutside-effectsignaturespring-cleanupsqlsriram-krishnanstatic-arraysustained-effortswitchsynacktech-meetuptechnical-booktechnical-debtteleforcetodsacerdotitokentooltopictradeofftrickuiuniversityutilizationuxvariablevectorvectorizationvisual-mapvisual-testingvitalik-buterinwriting

Let’s Build a Compiler, by Jack Crenshaw

Crenshaw’s tutorial on building a compiler

https://news.ycombinator.com/item?id=36054416

Tags: hackernews, imported, synack, compiler, crenshaw, brian-kernighan, rob-pike, programming, programming-language

Id: 3b2e9382-1144-4cfe-bdaf-72b30e8c3712 Read: Sat, 1 Jun 2024 09:14:25 +0000

Scientific glassblower continues century-old campus tradition (2021)

the story of a glassblower dedicated to producing specialized hardware for a university

https://news.ycombinator.com/item?id=40549209

Tags: hackernews, imported, dredmorbius, glassblower, university, hardware, profession, glass

Id: e07b0ed2-185b-4cf7-bdbe-a134c555d797 Read: Sat, 01 Jun 2024 21:26:29 +0000

Eight years of organizing tech meetups (2023)

Discusses learnings after organizing tech meetups

https://news.ycombinator.com/item?id=40557969

Tags: hackernews, imported, luu, tech-meetup, meetup, organizing, organizing-meetup, meetup-organization, sustained-effort, community, engagement, eaton-phil

Id: 12b95b34-da42-442b-b2d1-cd0039cc75c0 Read: Sun, 02 Jun 2024 23:31:00 +0000

Half a century of SQL

https://news.ycombinator.com/item?id=40561440

Tags: hackernews, imported, pseudolus, sql, programming-language, anniversary, birthday

Id: f971c65c-8034-47c1-b2f5-24358c2de7b4 Read: Mon, 03 Jun 2024 11:04:06 +0000

Entropy, a CLI that scans files to find high entropy lines (might be secrets)

https://news.ycombinator.com/item?id=40578060

Tags: hackernews, imported, lanfeust, tool, entropy, leak, secret, token

Id: 9d13bb1f-d681-489d-9db9-e30c5a27ce58 Read: Tue, 04 Jun 2024 19:25:47 +0000

Instruction Sets Should Be Free: The Case for RISC-V [pdf] (2014)

https://news.ycombinator.com/item?id=40608373

Tags: hackernews, imported, mtmk, instruction-set, isa, neon, avx2, avx512, arm, hardware, vectorization, optimization

Id: ad947ed7-a1da-48b6-b614-141ebd56cb80 Read: Fri, 07 Jun 2024 13:06:43 +0000

Garbage collect your technical debt (2021)

https://news.ycombinator.com/item?id=40616966

Tags: hackernews, imported, gfairbanks, backlog, garbage-collection, spring-cleanup, technical-debt, product-owner

Id: 9bbeab61-f658-420f-8461-e9e85438476f Read: Sat, 08 Jun 2024 11:54:08 +0000

Anti-patterns in event-driven architecture

https://news.ycombinator.com/item?id=40619521

Tags: hackernews, imported, indentit, event-driven-architecture, event, anti-pattern, message-queue, topic

Id: 3da43d37-0023-4aeb-845d-07fd9d2c5fed Read: Sat, 08 Jun 2024 18:56:29 +0000

Betula – federated bookmarking software for the independent web

https://news.ycombinator.com/item?id=40622189

Tags: hackernews, imported, guilherme-puida, tool, bookmark, link, federation

Id: 400c95a9-40cd-476f-8854-7e5c04c779c5 Read: Sun, 09 Jun 2024 05:07:06 +0000

Show HN: A keyboard-centric clipboard history app for macOS

https://news.ycombinator.com/item?id=40648404

Tags: hackernews, imported, ikryanov, keyboard, shortcut, copy-paste-manager, killbuffer, macos, tool

Id: 67387934-11fc-4ea8-8ede-10c43392213c Read: Tue, 11 Jun 2024 16:40:12 +0000

Group chats rule the world

Some patterns of group chats to keep in mind. Mentions: Gardener, not carpenter; Cooling rods and nuclear reactors; The n-1 group; Dinner party alchemy; Gravitational pull of a few topics; Size and Pruning; Shared rituals

Tags: vitalik-buterin, sriram-krishnan, group-chat, pattern, hackernews

Id: 5e42cb33-8b5c-4f6a-973e-028b08c943a9 Read: Fri Jun 14 06:18:05 2024

Just Enough Software Architecture (2010)

project management risks: “Lead developer hit by bus” software engineering risks: “The server may not scale to 1000 users” You should distinguish them because engineering techniques rarely solve management risks, and vice versa.

https://news.ycombinator.com/item?id=40691929

Tags: hackernews, imported, teleforce, architecture, risk, risk-management, handover, company-culture, complexity, tradeoff

Id: 63422b05-404c-4eae-89e3-ab50463c1a30 Read: Sat, 15 Jun 2024 19:02:38 +0000

Static arrays are the best vectors

an article explaining how to mantain a vector on top of a static array in C. The trick is to allocate a big static buffer and only consume whatever is needed.

Tags: hackernews, imported, bwidlar, c, static-array, vector, memory-management, mynameistrez

Id: b8982368-5df9-415d-aa3a-9813443a278b Read: Sun, 16 Jun 2024 10:22:49 +0000

I learned Haskell in just 15 years

https://news.ycombinator.com/item?id=40702146

Tags: hackernews, imported, aranchelk, functional-programming, haskell, functional-shell-imperative-core, fsharp, programming, real-world, side-effect, functional-modeling

Id: aad90830-b24b-4c93-aefd-a3b3a2f32b55 Read: Mon, 17 Jun 2024 03:44:20 +0000

What happens to latency if service time is cut in half (2022)

https://news.ycombinator.com/item?id=40714544

Tags: hackernews, imported, luu, utilization, efficiency

Id: 3b06f5c4-3890-45b3-9152-4f241bec4be7 Read: Tue, 18 Jun 2024 06:10:40 +0000

Fast Crimes at Lambda School

an investigation on the deals that happened at Lambda School

https://news.ycombinator.com/item?id=40729501

Tags: hackernews, imported, plinkplonk, programming, bootcamp, lambda-school, benjamin-sandofsky, austen-allred, lawsuit, deception

Id: 0e3bb4f5-5dba-4911-9a08-3f46159ee262 Read: Wed, 19 Jun 2024 15:57:28 +0000

Fuzz Map

Fuzz Map is a fuzzer for GUIs that automatically identifies states using code coverage and builds a visual map. Ideally, the map is useful even to people who’d prefer not to read code.

https://news.ycombinator.com/item?id=40742014

Tags: hackernews, imported, paulhoule, tool, visual-testing, gui, fuzzing, fuzz-map, visual-map, ux, ui

Id: 7dbee8e7-7279-4e58-bb4a-2042875b41a1 Read: Thu, 20 Jun 2024 18:59:34 +0000

Show HN: Envelope – A modern environment variable cli tool

cli tool to manage env variables of a project

https://news.ycombinator.com/item?id=40758703

Tags: hackernews, imported, mattrighetti, tool, cli, export, variable, rust

Id: bed763bf-2b40-4c93-8dfb-3cf44719f73a Read: Sat, 22 Jun 2024 12:39:57 +0000

The tiny chip that powers Montreal subway tickets

one-time usage cryptography chips for the metro in Montreal, Canada

https://news.ycombinator.com/item?id=40769001

Tags: hackernews, imported, todsacerdoti, cryptography, metro, public-transport, signature, one-time-use, public-key-cryptography

Id: 028b0e1d-a181-4469-8789-900ce6641d97 Read: Sun, 23 Jun 2024 17:22:52 +0000

Homegrown Rendering with Rust (2021)

https://news.ycombinator.com/item?id=40774563

Tags: hackernews, imported, alawamiaz, render, tool, rust, library

Id: b1d269cb-f967-4b30-a282-79c90c41009c Read: Mon, 24 Jun 2024 11:05:18 +0000

Misconceptions about loops in C

Investigation about the loop in C

https://news.ycombinator.com/item?id=40813077

Tags: hackernews, imported, matt_d, programming, c-programming-language, c, loop, goto, trick, deconstruction

Id: 68a46e7e-8140-475b-87e3-0cde1fdaee15 Read: Thu, 27 Jun 2024 17:46:21 +0000

A bunch of programming advice I’d give to myself 15 years ago

learnings from a senior developer to a more younger self:

  • If you (or your team) are shooting yourselves in the foot constantly, fix the gun
  • Assess the trade-off you’re making between quality and pace, make sure it’s appropriate for your context
  • Spending time sharpening the axe is almost always worth it
  • If you can’t easily explain why something is difficult, then it’s incidental complexity, which is probably worth addressing
  • Try to solve bugs one layer deeper
  • Don’t underestimate the value of digging into history to investigate some bugs
  • Bad code gives you feedback, perfect code doesn’t. Err on the side of writing bad code
  • Make debugging easier
  • When working on a team, you should usually ask the question
  • Shipping cadence matters a lot. Think hard about what will get you shipping quickly and often
  • You are not your job

Tags: hackernews, imported, marcusbuffett, advice, list, programming, senior, reflect-as-you-go, rayg, rayw, reflect-as-you-work

Id: 4e671827-8080-404a-90f0-e6e215823535 Read: Sat, 29 Jun 2024 11:38:01 +0000

The economics of writing technical books

about writing technical books

Tags: hackernews, imported, raju, technical-book, publishing, writing, author, authoring, gregor-hohpe, income, royalties, passive-income, gumroad, leanpub, amazon, publisher

Id: 2cba60b9-f190-4941-93c7-fdd805075601 Read: Sat, 29 Jun 2024 13:26:46 +0000

Weekend projects: getting silly with C

How to use the goto, switch statements to modify the structure of a C program

Tags: hackernews, imported, nothacking_, c-programming-language, c, switch, goto, code-golf, ioccc, lcamtuf

Id: aa970bde-192c-485e-8a41-2022f69609ee Read: Sun, 30 Jun 2024 05:07:53 +0000

Self-Study in May 2024

May 1, 2024 - 1 minute read - Comments - self-study-aggregation2024mayauthenticationauthentication-tokenbloggingcorporatedan-luufaanggooglehacker-newshackernewsimportedjson-web-tokenjwtmontyandersonpublic-relationshipsrefresh-tokensession-managementsession-token

Should I use JWTs for authentication tokens?

Do not use JWT (json Web Tokens) for authentication unless you are a Google/FAANG scale company

https://news.ycombinator.com/item?id=40491694

Tags: imported, hacker-news, json-web-token, jwt, faang, google, authentication, authentication-token, refresh-token, session-token, session-management

Id: 38e9c55c-1cea-11ef-b78f-0242ac110003 Read: Mon May 27 15:31:24 2024

How some good corporate engineering blogs are written (2020)

https://news.ycombinator.com/item?id=40524531

Tags: hackernews, imported, montyanderson, dan-luu, blogging, corporate, public-relationships

Id: 8e5d7072-4f4b-4500-837c-89a713b9ff2e Read: Thu, 30 May 2024 14:56:40 +0000