I'm tooting from Emacs :laughing:
Emacs is still not great at async, so fetching new toots from the timeline is rough, but this is still neat!
Bless you Emacs and your `set-buffer-file-coding-system` function
Oh fuck now there's carriage returns in my bash scripts fml
Also: BAT files are the worst. Jesus.
Instead of finishing exception handling I figured out how to find `devenv.exe` and pipe its `/Build` output into Emacs ๐
It's slow to start up. A "handmade" build.bat would be faster, but I much prefer using GENie
I've done similar things before, but now I'm slowly parameterizing bits of it to be relatively easy to setup for future projects instead of cobbling a half-working form of it together each time.
Relevant:
http://lucumr.pocoo.org/2011/12/22/implicit-scoping-in-coffeescript/
I can't believe a lot of Atom was originally written in this language >_<
I've been waiting for Bob Nystrom to put out the next chapter of Crafting Interpreters, so I go check his twitter feed today and see this thread started by the creator of CoffeeScript:
https://twitter.com/jashkenas/status/870301410679717888
I cannot get behind this dude's mindset about language design.
Guess what this compiles to without warning in coffeescript:
```
x = 42
dbler = (y) ->
result = () ->
x = 2 * y # oops reused x
return x
return result
```
@LWFlouisa From Recurse Center's FAQ page:
"What kinds of people go to the Recurse Center?
Recursers come from an extraordinarily diverse range of backgrounds, from very experienced programmers to people who have only been programming for a few months."
So don't let that stop ya :)
Do you put any of your games, Terminal Shooter or others, up on a website or itch.io page?
@borko @hisham_hm I keep trying to politely hint that Unix people should look at Microsoft PowerShell to see a piping environment and system shell done *right*, but nobody seems to understand or care.
Hint: It involves being able to pipe *objects*.
Second hint: It involves objects whose fields can be added and removed at runtime.
Third hint: No, neither Perl nor Python come *anywhere close* to touching what you can do with such a facility.
@LWFlouisa That's a pretty awesome reason to learn ๐ I think people can really relate when you have little bits of realism grounding otherwise-fantastical stories
@LWFlouisa I don't think it's unreasonable to be nervous about that when joining a tech community. But there does exist groups of people who value being nice and helpful to self-learners.
A couple of my friends went through the Recurse Center program (https://www.recurse.com/) and they said it's a good place for people with widely varying skills who want to self-learn in an environment with supportive and respectful people. I hope this sort of thing takes off in other cities too.
@LWFlouisa That's so rude of them not to give you at least the gist of what public key cryptography is!
Also: I'm working on a big 3d game, and I think there's *one* bit of code that requires knowing any appreciable amount of calc. Between that and them being unwilling to share code org tips, sounds like a lot of fragile egos >_>
@LWFlouisa Yup!
That's a bummer to hear, I guess online programming communities don't have a good track record for being inclusive :( Was this recent?
Lead: "Your fix didn't work at all!"
Me: "Really? Hmmm. <checks github> Well, uh, you just blasted my changes to the file that made everything work when you merged and pushed."
Lol apparently java just copy-pastas finally blocks after every catch
Can't tell if I'm getting better at formulating IRC questions, or if people on freenode#proglangdesign are just particularly courteous ๐
@craigmaloney Terry Davis is the TempleOS guy, yup, but the person I quoted was somebody else.
Some yak shaving brought me to comp.lang.c where I saw someone who's like a wholesome version of Terry Davis. Has a grand religious quest to build computer systems soup to nuts in god's name, but also chastises people who are rude to newbies asking questions.
Here's part of one of his responses:
"You don't have to dip into the hate-laden waters of sidelong passive-
aggressive insults. There is another way to be. You'll find it's a much happier, and much nicer way than what you're used to. "
I read the Joe Duffy blog post on error handling in Midori, and they ultimately settled on semi-checked exceptions. It seemed to be not totally terrible, but still required static types.
I'm not against adding types to this thing later, but this is still new to me and dynamic typing seem easier to make work for babby's first language.
I'm making a piddly little dynamic language, and deduced that I just need to byte the bullet and implement exceptions.
Is there any other reasonable error handling mechanism if you have no static types?