stylewarning Profile Banner
'(Robert Smith) Profile
'(Robert Smith)

@stylewarning

Followers
5K
Following
16K
Media
1K
Statuses
14K

Currently flipping bits and rotating qubits. Advocate of open-source math software. You'll often catch me Lisping (or playing piano).

Los Angeles, CA
Joined August 2010
Don't wanna be here? Send us removal request.
@stylewarning
'(Robert Smith)
2 years
> be NASA programmer.> excited to write Lisp.> code lookin like hieroglyphs.> boss walks by.> "wtf is that, alien code?".> no, just Lisp boss.> boss laughs, Lisp now forbidden.> mfw no cosmic parens.> mission to Mars now in JavaScript.> planet doomed.> feelsbadman.jpg.
16
27
345
@stylewarning
'(Robert Smith)
1 day
a direct 1:1 port of this to haskell would clock in at 40 billion lines of code, some say it can't even be done with current technology.
@LukasHozda
Lukáš Hozda
1 day
This is the tiny program that picked the giveaway winner yesterday :)
Tweet media one
1
3
42
@stylewarning
'(Robert Smith)
1 day
I still have my Model 100 in the hard plastic briefcase. The foam has disintegrated and my tapes no longer read. 😔.
0
0
5
@stylewarning
'(Robert Smith)
1 day
I wrote an arbitrary precision integer arithmetic library for this to compute pi. I wrote the multiplication routine when my dad was driving us to Taco Bell for lunch one summer. The bigints were stored as strings and I used STRING$, CHR$, STR$, and MID$ to manipulate them.
@gordoslair
gordoslegacylair
2 days
For people on the go. Radio Shack TRS-80 Model 100 Portable Computer (1983). For a tiny computer this thing has a great keyboard and is loaded with ports. Even has a built in modem. #TRS80 #RadioShack #Tandy
Tweet media one
2
3
31
@stylewarning
'(Robert Smith)
1 day
If your programming language website doesn't have a page like this, it's ngmi.
Tweet media one
1
0
24
@stylewarning
'(Robert Smith)
4 days
(i should have added a word to the tune of "eventually").
0
0
2
@stylewarning
'(Robert Smith)
4 days
PSA: O(100) was never intended to be synonymous with ≈100 (and in rigorous math, they aren't synonymous).
2
0
11
@stylewarning
'(Robert Smith)
4 days
PSA: O(1) does not mean. - approximately 1.- a constant function/a function whose value is independent of its input.- an efficient function. O(1) just says the absolute value of a function is never greater than _some_ constant. A good example to remember: sin(x) is in O(1).
13
4
71
@stylewarning
'(Robert Smith)
6 days
More info:
1
0
2
@stylewarning
'(Robert Smith)
6 days
Coalton now has a `derive` mechanism to automatically derive type class instances for your own data types. If you're adventurous enough you can even write your own derivers. More info 👇. (h/t @garlic0ne)
Tweet media one
2
5
24
@stylewarning
'(Robert Smith)
8 days
i just got tickets to 2 bach keyboard recitals 2 days in a row in 2 different states. not sure this was a good idea.
2
0
9
@stylewarning
'(Robert Smith)
10 days
RT @JustDeezGuy: @run_guns @stylewarning Haskell and Common Lisp are byzantine lambda calculus wrappers, with the latter ram-rodding its wa….
0
1
0
@stylewarning
'(Robert Smith)
11 days
Yale Haskell is kind of funny. They implement Haskell in a pseudo-Scheme, and the pseudo-Scheme is implemented as Common Lisp macros.
6
6
68
@stylewarning
'(Robert Smith)
16 days
(it's impossible because it's such a good language).
0
0
9
@stylewarning
'(Robert Smith)
17 days
Haskell people: Why is Foldable on * -> * preferable over, say, Foldable on a container (*) and eltType (*) (with a functional dependency)? Does this just mean non-parametric containers in practice don't get to be used for folding?.
1
0
7
@stylewarning
'(Robert Smith)
18 days
I think there should be a computer language benchmark game, but adjudicated by people who have exceptionally good taste in what constitutes a reasonable entry. A separate category of "pull all the stops" would be fine.
2
0
11
@stylewarning
'(Robert Smith)
18 days
Wrote a short "glossary" on Coalton's naming conventions.
Tweet media one
2
2
29
@stylewarning
'(Robert Smith)
19 days
Long overdue, but we finally merged a PR someone submitted allowing constraints on type class methods in Coalton. It only took 6 months for us to get to. bless the hearts of open-source contributors' patience.
Tweet media one
0
0
25
@stylewarning
'(Robert Smith)
19 days
Exceptions and resumptions have landed in Coalton. After catching an exception that has bubbled up the stack, you can resume execution at demarcated points back down the stack.
Tweet media one
Tweet media two
2
2
26
@stylewarning
'(Robert Smith)
20 days
(Bourbaki doesn't count.).
0
0
5