john-carmack-plan-archive
fp-ts
john-carmack-plan-archive | fp-ts | |
---|---|---|
16 | 97 | |
1,164 | 10,493 | |
- | - | |
0.0 | 7.0 | |
over 3 years ago | about 1 month ago | |
TypeScript | ||
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
john-carmack-plan-archive
-
Source code for Quake 2 rerelease
I had to laugh at this https://github.com/ESWAT/john-carmack-plan-archive/blob/mast...
-----------------------------------------
-
Which Icon of Sin design do you like the best?
Yes! Here is the .plan file where Carmack announces its development.
-
A Slack clone in 5 lines of bash
there are a bunch of features in slack beyond the core chat stuff, like:
1. being connected to multiple communities and switching between them instantly
this can be of course simply replaced by connecting to different servers in a tabbed terminal and use the terminal's built-in cmd-1/2/... shortcut, which happens to be the same as in slack.
2. meta data about others, like their timezone or how to pronounce their name is quite important for distributed team work
this can be approximated by a world readable file on the chat server in every user's home, like .plan or motd files (https://github.com/ESWAT/john-carmack-plan-archive)
3. automatic idleness detection
im actually not sure how reliable is this even in slack, but in general, it can be useful, but im not sure how to solve it elegantly, when the chat runs remotely...
maybe we should just spawn a loop at the background, which gathers idleness status from the OS and uploads it when it changes, into world readable files and the remote clients can just check those file whenever they want.
4. extra status indication with automatic expiry, eg when someone is away from the keyboard, coz they are having lunch
we do use this feature often and it's a really helpful regarding when can we expect a response from someone.
again, quite simple to model this as a plain text file and we can even use emojis, to have a very similar effect to setting " lunch" on slack. ppl would need to know what's the emoji selector shortcut though... like cmd-ctrl-space on macos.
5. text search across all channels/rooms
assuming the chat is being logged into files, then a recursive (rip)grep could work to some extent, but then from the search results one might want to get back to the context of the result too.
6. threads
this complicates implementation a lot more, but we found it an obvious improvement over the single threaded IRC model of communication
7. having threads open on the side, so ppl can track 2 streams of comms at once at least
it would require starting the chat app multiple times and do some window management to see them side-by-side
now obviously all this can be done a lot simpler, but those implementations typically always lack somehow. not sure why is that...
see https://cancel.fm/ripcord/ or http://www.altme.com/what.html
the REBOL 3 programming language even had a quite full featured, text-mode chat built in:
-
John Carmack on Functional Programming in C++ (2018)
I was impressed by his concise daily planfiles.
https://github.com/ESWAT/john-carmack-plan-archive/tree/mast...
-
Quake 1 ported to the Apple Watch
Quake and id Software were pioneering things we just take for granted now.
I remember playing QuakeWorld when it came out, on Linux, over a dial up modem. You had ping times of 200-300ms and it was playable. You have to remember at the time Doom and other games were LAN-only. John Carmack used to keep a .plan file with some really cool details behind Quake/QuakeWorld development. Check out Aug 02, 1996 for some detail behind the netcode[1]. You can read the future of gaming being invented right there.
[1] https://github.com/ESWAT/john-carmack-plan-archive/blob/mast...
- Collection of John Carmack’s .plan files
-
John Carmack interview: Doom, Quake, VR, AGI, Programming, Video Games, and Rockets
Perhaps relevant to link to an archive of his .plan files hosted on github: https://github.com/ESWAT/john-carmack-plan-archive/
- John Carmack .plan Archive
-
I'm trying to understand the progression of 3D game engines, specifically Doom - Quake - GoldSrc
Instead, you might be interested in looking through John Carmack's .plan archive.
-
The computers used to do 3D animation for Final Fantasy VII in 1996
https://github.com/ESWAT/john-carmack-plan-archive/blob/mast... is interesting. It transitions from todo list to a narrative format right after Quake launches :) In subsequent years you see Carmack opine on various high-perf platforms for gamers, and also for Quake level pre-processing (engine licensees had money to spend on productivity)
Chapter 64 onwards of https://www.jagregory.com/abrash-black-book/ is Mike Abrash's detailing of Quake's development.
(tl;dr - Quake was developed on NeXTSTEP + an MS-DOS port of GCC (DJGPP), Quake2 was on Visual Studio + Windows (this was the era of that Carmack giant-monitor photo), there was an in-between period of free updates to the original Quake, like WinQuake, QuakeWorld and glQuake).
fp-ts
-
From a Lorry Driver to Ruby on Rails Developer at 38
I think it’s great that functional programming is making its way into traditional imperative languages - even JavaScript (I recently came across https://gcanti.github.io/fp-ts/ as a pretty extreme example)
Elixir/Erlang has function-level pattern matching, which I really like. I’ve yet to see it anywhere else, though my understanding is it came from Prolog.
-
Type-Safe Printf() in TypeScript
While I certainly agree, I've found that this is often an indication of too-complex an architecture, and a fundamental re-think being necessary. I've had projects that depend on [fp-ts], which end up incredibly generic-heavy, but still make it entirely through a typecheck(not build- typescript's just worse at that than other tools like esbuild) in seconds-at-worse.
Obviously depends on your organization/project/application, but I do like these things as complexity-smells.
[fp-ts]: https://gcanti.github.io/fp-ts/
-
Introducing fp-utils a functional utility library for Deno / Node
Unlike more comprehensive functional libraries like fp-ts, each module can be imported and resolved separately. If you just need options, simply add the option module and you're good to go.
-
Blog post: graphs and monads with Typescript
While it's quite abstract, I believe it may be useful to those of you who is interested to learn more about functional programming [in Typescript] and also get more intuition on diverse programming ideas. I use fp-ts as a functional programming library there.
-
Functional Programming Library for Golang by IBM
The library for TypeScript that this is influenced by is here:
https://github.com/gcanti/fp-ts
Interesting how both languages with this library converge to a similar syntax, due to heavy use of functions.
-
Is Scala worth learning in 2023?
Learn something that pays the bill first - nowadays it's Golang/Rust react/typescript. Then you can try some pure fp libs like fp-ts and fp-core.rs, and look through existing scala cats docs. If you'll feel bad about it - that's totally fine and expectable, fp takes a paradigm shift and not that many dev able to shift their brains way of thought due to basic psychological rigidity) (inability to change habits and to modify concepts/attitudes once developed). And that's purely a staffing and management issue - folks hired randoms out of the blue, and called 'em a team.
-
Application Bootstrapping with fp-ts
fp-ts, a library that caters to functional programming in TypeScript, comes with some micro-abstractions that already solve a few of our needs.
-
What are some strategies for ensuring correctness and fewer errors in dynamically typed languages?
Also, don't underestimate how powerful TypeScript can be in capable hands (namely Giulio Canti's). Check out fp-ts, for instance.
-
Use Pure Functions to understand functional programming
You are able to type it using function overloads, an example can be found here - link, line 236.
-
Error Handling Patterns
looks like more ergonomic/focused version of fp-ts[1]
[1] https://gcanti.github.io/fp-ts/
What are some alternatives?
LibreSprite - Animated sprite editor & pixel art tool -- Fork of the last GPLv2 commit of Aseprite
effect - An ecosystem of tools to build robust applications in TypeScript.
Lobsters - Computing-focused community centered around link aggregation and discussion
ramda - :ram: Practical functional Javascript
jmap - JSON Meta Application Protocol Specification (JMAP)
proposal-pattern-matching - Pattern matching syntax for ECMAScript
bongo.cat - Hit the bongos like Bongo Cat!
purescript - A strongly-typed language that compiles to JavaScript
Mindustry - The automation tower defense RTS
io-ts - Runtime type system for IO decoding/encoding
stack-overflow-import - Import arbitrary code from Stack Overflow as Python modules.
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.