Computers are useless, they can only give you answers

Joined August 2012
1,358 Photos and videos
Pinned Tweet
I'm making an array-oriented language. Here's a short sample that searches for prime numbers: github.com/JeffIrwin/syntran…
1
1
4
2,039
trying so hard not to look at the hot lady in the grocery store that i'm now in an aisle i've never been in before holding a product i can't identify
18
for the last ten years i've been enduring an in-house binary package manager at work. all it does is download files, unzip them, and generate some cmake lists. sounds simple right? 30 python spaghetti files. painful to use. slow as hell. and it needs pip just to bootstrap itself
1
36
but it's 6 minutes faster in ci/cd. zero security vulnerabilities from random pip dependencies. and i never have to fix it again because python shipped a "minor" update that broke everything
1
17
ten years of suffering replaced by one lunch break and a mass of bash. mass of bash still mass, but mass of bash is faster mass
11
www.jeffirwin.xyz retweeted
Notepad , the popular text editor used by programmers, was hacked by the Chinese government…
54
215
1,413
164,825
www.jeffirwin.xyz retweeted
This is bad. Putty level bad. notepad-plus-plus.org/news/h…
257
1,532
11,532
3,130,577
guys, be very careful with granting permissions to claude outside of a sandbox! it just implemented a 1000 line module system in my programming language and then added new functionality using the module framework without breaking compatibility. i didn't ask for this!
370
knocking off strudel dot cc in fortran
30
advent of code day 10 part 2 in syntran 3 minute run time, no math libraries
2
65
#include("ut.syn");let g=read_char_mat("i.txt");let m=size(g,0);let n=size(g,1);let i=[0'i64;m,n];for y in[1:n]for x in[0:m]{let z=y-1;if"S"==g[x,z]i[x,z]=1;if i[x,z]>0and"^"!=g[x,z]i[x,y]=i[x,z];for w in[x-1,x 1]if w>=0and w<m if"^"==g[w,y]i[x,y] =i[w,z];}println(sum(i[:,n-1]));
advent of code day 7 part 2 in syntran
1
137
advent of code day 7 part 2 in syntran
1
1
181
"readable" version
1
21
of course "include utils" is a bit of a golf cheat, but that's basically my stdlib and i haven't modified it
21
if you're looking through a text file and trying to find numbers with at least 3 or 4 digits, it's a good opportunity for regex! #regex #programming #coding
1
27
is this thing on
35
hey kid, wanna try a fucked up new programming language? you can run syntran in your browser on desktop or mobile. no need to install anything. i cooked up a few examples here: jeffirwin.xyz/syntran-explor…
1
1
70
leet hacking has never been easier
38