4,892 karma · joined Jul 7, 2014 (12y ago) · 1,429 submissions
comment 6y ago · link · parent
More controversially, I'd say that any labor relationship is necessarily exploitative, and doing any work beyond the minimum means that you are giving more than you're getting and thus being abused. But that's not advice for having a prosperous career. :)
comment 6y ago · link · parent
I imagine it might be different in secondary school education, but at the university level, I find that no one really cares what I do, as long as the students don't complain. I always redesign the curriculum to suit my tastes and interests, and I've never gotten any pushback from admin.
Basically, the department assigns me classes to teach, and after that I'm on my own. Once a semester a senior faculty member observes my lecture, mostly to make sure that I haven't shown up drunk. The only politics I'm exposed to is on the hiring committee.
comment 6y ago · link · parent
If you need a visa and work permit, it really complicates matters: I highly recommend acquiring European citizenship if at all possible. (I did, which had the side-effect of immersing me in genealogy as a hobby.)
comment 6y ago · link · parent
comment 6y ago · link · parent
I see the problem that our tooling is diverse and assembled from parts. You can pick a compiler from column A, a version control from column B, and GUI framework from column C, a message queue from column D, etc. And somehow, it's is possible to make them all work together. We love having that flexibility and choice.
But we pay a price in the added complexity of making all the pieces play together. A sibling comment mentions Turbo Pascal, as a contrast to today's programming environment. Yeah, Turbo Pascal was great, but it was also an all-in-one kit: you couldn't even use your own linker, you had to use the built-in TP linker. In a sense, it was a walled-garden Apple-style development environment. But it worked, it was easy, and it was fast.
The closest we have to that today is Visual Studio. I'd argue that the (mostly) all-in-one nature of Visual Studio and C# relieves a lot of the headaches of the more traditional open source toolset, at the expensive of less flexibility.
This is not an argument in favor or against the Microsoft world, just an observation.
comment 6y ago · link · parent
The salary may not be great, if you have experience and good student evaluations, you are in a strong negotiating position.
Some caveats: getting a university teaching job is a lot easier than getting a university research/teaching job. Previous teaching experience is a big plus, as is previous industry experience. PhD is nice, but not required (I don't have one).
comment 6y ago · link · parent
I tried to convince myself that these advantages made it worthwhile to sit alone in a dark room for >10 hours a day, but in the end I couldn't. I was spending more time wrestling with package managers, version conflicts, obtuse configuration files, pointless deadlines, egotistical colleagues, and almost zero time solving interesting problems on products that I care about. You might argue that I should have just found a better job, and I did, several times, but I found that no matter how much enthusiasm I had for a job at the beginning, eventually it got bogged down in software engineering detritus. I didn't much care for my colleagues: no offense to those present, but I just don't really like tech people, despite the fact that I obviously am one of them.
Through a series of coincidences, I found myself with an opportunity to teach programming at the university level. It was a lot of fun: I can talk about problems that interest with me with people who want to hear it. I operate with very little supervision. I still get to learn new technology, but fortunately I can ignore the rough edges and focus on the benefits. Meetings are minimal. The salary is adequate for my lifestyle. Best of all, I get to interact with real, live human beings. (Although at the moment, of course, we're doing everything via Zoom.) Fundamentally, the problems I'm solving are not technology problems, but human problems. At this stage in my life, this is more interesting.
I never imagined I'd end up a teacher, partly because I was a terrible student. Over the years, I had gone back and forth between industry and academia but now I think I'm in academia to stay: there's nothing I miss about slinging bits for a living.
Ironically, I'm helping my students enter a career that I left, but I let them make their own life decisions.
comment 7y ago · link · parent
Another comment proposed an apropos analogy:
English is like position-based parameter-passing.
sentence.love("Petr", "Jana")
Czech is like keyword-based parameter passing. sentence.love(object="Jana", subject="Petr")comment 7y ago · link · parent
inorderTraversal(t(V, L, R), Z) :- inorderTraversal(L, Z).
inorderTraversal(t(V, L, R), V).
inorderTraversal(t(V, L, R), Z) :- inorderTraversal(R, Z).
Also, the meaning of ordering of goals with a rule may be significant: ?- not(member(X,[a,b,c])), X=f.
false.
?- X=f, not(member(X,[a,b,c])).
X = f.
Although Prolog aspires to represent logic, it is still really just a logic-flavored programming language.comment 7y ago · link · parent
Lots of languages are like this. Czech, Slovak, Hungarian, Polish, etc. And those are just the ones that I know.
Janu miluje Petr. -- PETR loves Jana.
Petr miluje Janu. -- Petr loves JANA.
Petr Janu miluje. -- Petr LOVES Jana.
etc etc
The only people who say that Latin is uniquely flexible are those people with no experience in other languages. If expressive inflection and flexible word-order are your thing, you have lots of languages with millions of living speakers that fulfill that requirement.Latin is not magical. It's just another language. I'm happy that the author enjoys it (language, any language, makes a great hobby!), but I wish we could skip the hyperbole around Latin's alleged virtues just because the Romans happened to use it.
comment 7y ago · link · parent
python -c 'from turtlestuff import *; snowflakes(); turtle.mainloop()'
or python -c 'from turtlestuff import *; snowflakes(3); turtle.mainloop()'
or python -c 'from turtlestuff import *; orb(); turtle.mainloop()'comment 7y ago · link · parent
python -i turtlestuff.py
Then you'll get an interactive Python prompt and you can call the functions directoy, e.g. spirals()
Hope this helps you!comment 7y ago · link · parent
import turtle
import math
turtle.tracer(0,0) # remove this line to watch the drawing
def spirals():
# repeat 1800 [fd 10 rt repcount + .1]
for repcount in range(1800):
turtle.fd(10)
turtle.rt(repcount+.1)
turtle.update()
def snowflakes(variant=6):
# repeat 8 [rt 45 repeat 6 [repeat 90 [fd 2 rt 2] rt 90]]
for _ in range(8):
turtle.right(45)
for _ in range(variant):
for _ in range(90):
turtle.forward(2)
turtle.right(2)
turtle.right(90)
turtle.update()
def orb():
# for [i 0 420] [seth :i repeat :i [fd 2 rt 1] pu home pd]
for i in range(0,420):
turtle.seth(i)
for _ in range(i):
turtle.forward(2)
turtle.right(1)
turtle.penup()
turtle.home()
turtle.pendown()
turtle.update()comment 11y ago · link · parent
In a city like New York, where traditional taxi services are deeply entrenched, Uber must provide service that is at least as good as the status quo. The guarantees that the state enforces to protect consumers in registered taxi services serve as baseline, and Uber knows this. If that baseline did not exist, that is, if Uber were competing only against unregulated commercial services, there would be a race to the bottom, and suddenly New York would start looking a lot like Bangalore.
In this way, regulation improves things even to those who use services that are not regulated.
comment 12y ago · link · parent
The issue is that the current web technology stack was never meant for building applications. HTML was designed for static documents. JavaScript's early development was mainly for making terrible mouseover-effects on links. XMLHttpRequest is a historical accident. So, yeah, it all works together, somehow, but it wasn't designed to be used as it is today, and it shows. And it's the developers who carry the burden of integrating these hacks. I, like the author of this article, wonder if it wouldn't be nice to design a system to provide the advantages of the web (distributed client-server applications with highly-customizable, visually attractive front-ends delivered on-demand) with a slightly more human development process. If we can't replace the web outright, maybe we can build better tools ontop of it.
I agree that current web technology is a horrible pile of kludges. Let's try to build something better. Some attempts are already being made. Please check out the amazing Ur/Web language [1] that lets you write front-end code, back-end code (compiled to native), and database code in a single, type-safe language that statically guards against errors that are rife in dynamically-typed web scripting languages. It abstracts the database, without wrapping your data in an annoying object layer; it lets you write front-end and back-end code in one language that communicate transparently. It is far from a finished product but it is an amazing glimpse and what could be with intelligent develop tools. There are some great examples on-line that show how easy it could be. Easy for a developer, of course, not for a layperson.