tpetricek
tpetricek on Hacker News
The videos are now up again.
For anyone interested in the slides & videos, those are now accessible again! Sorry for the technical issues (it was not the HN effect, but a migration to a new disk...).
Yes, this is fully open - I'm posting all the materials and videos as the course goes (but the server is down at the moment - should be back up soon).
Seems like someone needs to restart some server somewhere. I'll investigate. Videos should be back up soon :)
The article uses TfL signage from Kings Cross as an example of clear and crisp direction. This is a bit funny, because Kings Cross signate (specifically) sometimes directs you to take a longer path (hoping to avoid overcrowding in peak times). In some cases, you're better off going in the very opposite direction.
Thanks for a nice comment!
I was looking through the comments to see if someone mentioned Jean Bartik already! Just to add to this comment, she also wrote an autobiographical book, which is worth reading:
https://www.amazon.co.uk/Pioneer-Programmer-Jennings-Compute...It is clearly a very personal and biased account, but I think there are good reasons to believe many of the things she is saying, even when they go against the commonly accepted history "written by the winners".
I think a useful reference here is the idea of "wicked problems", which is a kind of problem where the structure of the problem makes it hard to solve - because you cannot even know what a solution is until you make your problem statement more precise (but by that point, you have already determined a solution). This is not the case for all "large" problems, but it's definitely a case for organizing a liberal democracy:
https://en.wikipedia.org/wiki/Wicked_problem
Author here - there are better emulators (I used this one myself for testing things out:
https://www.retrodevops.com/c64.html).
You are absolutely right that my POKE is not like the real one - because for that, you actually need to emulate quite accurately the C64 memory. So, anything related to POKE is not accurate - and this misses the experience you get as a hacker discovering tricks you can do.
However, my point was more about the interaction that combines text editor and REPL into one - and I think for that, it works well enough.
This is very odd! I handle the input myself (so that it can look like C64 console), but this is done via pretty simple "window.onkeypress" and "window.onkeydown" - so if it receives random inputs, it's either odd events or some glitch elsewhere (I'm using Firefox myself, but on Windows). I'm not sure how to debug this - but if you have any insights, let me know!
Thanks for pointing this out. I'll get it fixed :-).
Author here - thanks for the nice words about the article!
It's not just that alchemy was not "scientifically disproven" in Newton's time. There was no such thing as "scientific" and "pseudo-scientific". Reading about Newton's thinking about alchemy is a fascinating look at a way of thinking that we can hardly imagine today. I also thought that it is a nice reminder of the (certain but unimaginable) limitations of our present thinking. There is a fascinating (but pretty academic) book about Newton's Alchemy:
https://www.amazon.co.uk/Foundations-Newtons-Alchemy-Cambrid...
I'm a lecturer (assistant professor) in computer science at University of Kent in the UK. I did my undergraduate degree and Masters at Charles University in Czechia and later a PhD in Cambridge. Most of my work has been on programming languages.
How did I choose? Mostly by accident and I definitely did not plan this much in advance. I enjoyed web programming during my undergrad. I got interested in how to make web programming easier (and if you could write both client-side and server-side code in the same language - in the pre-Node.js and pre-transpiler days :-)) and I stared working on a project to translate .NET code to JavaScript. Through a few random lucky accidents, I ended up working with F# and met Don Syme from Microsoft Research. This got me the idea that I could actually do PhD! Through working with Don, I got interested in functional programming and PL research more generally and then applied for PhD with some ideas about reactive programming.
I have no idea how to choose a field or plan a career (I only have one data point!) In my case, it was a mix of doing things I found interesting (without thinking about why this might be useful) and meeting a fantastic mentor at the right moment.
In any case, good luck, no matter what field you end up choosing!
Another person to talk to would be Brooks Paige, who recently joined UCL:
https://tbrx.github.io/ This is totally not my area of research (I'm a PL person), but I know Brooks from the Alan Turing Institute and I think he'd be a great advisor for this kind of work.
I'm this case, there is virtual-dom dependency, one more file with some code to simplify the creation of UI and whatever Fable (F# to JS) provides. So it's not 100 lines, but there is a lot less dependencies than you'd expect.
I don't have much experience with Elm or Purescript, but one nice thing about F# with Fable is that it's a pretty flexible language that let's you do things in many ways and integrates well with libraries that use different styles.
For example, the Excel blog post is using virtual-dom directly (without higher level libraries like React) and getting that to work was a few lines of simple code with one mutable variable, but that's all you need to get a nice declarative Elm-style architecture.
Haha, thanks for linking to this thread! This was definitely an idea that I've been thinking about for some time and this thread is a part of it. As pointed out in a comment elsewhere in the discussion, I think most of these do not quite do the same thing I'm interested in...
Author here. I'm aware of work in this area (though certainly not all of it) and I had the pleasure of attending last two PPIGs!
The idea I outlined in the blog post is absolutely inspired by all of this, but I think there is one fundamental difference (which perhaps is not as clearly explained as it should have been).
People in the HCI world study interactions that happen in programming and use that as a source of ideas for how to design languages. However, what I'm proposing is to make those "interactions" a part of the language definition. (HCI is a great source of ideas for understanding what those interactions are, but you can then study the resulting things in many ways, including formal methods - which is what I find interesting).
As far as I know, the related work that actually does what I'm describing is two things already mentioned in the blog post (Subtext, Inferential Programming) and one idea someone mentioned on Twitter is Programming by Example, which I think is close too.
tldr; I'm not talking about studying programming via the perspective of human computer interaction, but about making those first-class language constructs.
Yes, that's what I meant, thanks :-). The idea is that you can just write `unbox<MyType>(jsonParse("{whatever:42}"))`.
Fable pretty much replaced FunScript - all the activity around F# to JavaScript translation moved from FunScript to Fable nowadays!
Sssh. Speaking as one of the two people who know F#, I'd be very sad if others learned about it. It's my secret weapon that lets me solve problems that would otherwise take me weeks in a matter of days.
The fact that the best parts of C# are its few functional bits might be a good hint that if you had a language that was designed around those good bits, it would be so much better ;-).
I don't expect to convince anyone in a HN discussion, because that's not how arguments about programming languages work, but have a look at testimonials (http://fsharp.org/testimonials). You'll see that many people who started using F#, are very happy with it because it lets them solve problems faster with fewer bugs and they enjoy it more.