Vigorously agree. I have no idea why I have such a hard time using iTunes, but I do consistently, even doing really simple and obvious things. It horrifies me.
To be fair, it's a pretty complex program that does very sophisticated things behind the scenes. I used to hate it, and I still mostly do. But I notice that the only people that really hate it are powerusers. There are hundreds of millions of people out there that find it delightful and enabling. It probably says something good about your UX if you're only bothering powerusers.
I think there's a pretty compelling argument that iTunes has become a monolithic abomination trying to do a thousand things. Split it up into more programs that each do something simple and well.
I'm not sure splitting it up is the solution. But I 100% agree, it's become a bloated piece of crap. I've thought this for a long time now. Anyone have any alternatives, that aren't something like MythTV? I just want a lightweight multimedia app for my Mac (VLC doesn't have a great "library" feature, so that's a nogo for me... but something like VLC). VLC is my favorite app ever.
VLC doesn't have a great "library" feature, so that's a nogo for me
I really wish VLC had this kind of thing. I know there's an add-ons type architecture, but I've never seen anything for it to handle libraries, sadly. Does anyone know of anything like this, or anyone working on this? I'd be quite happy to donate funds to encourage its development.
As a side note, for folks looking for a lightweight Windows alternative, foobar2000 has been wonderful for me. Low memory usage, extremely customizable UI but sensible defaults, extensible, and automatically adds files with no hassle or slowdown.
I've been using Plex for Mac, and it's quite good. Not sure if it counts as 'lightweight', but it's fantastic. I load TV shows or movies into it (non-iTunes though).
I have it set up on my Mac Mini (connected via HDMI), and I can remote control it with the Apple Remote, but there's also an iPhone/iPad app that can both remote control (up, down, select, back), remote browse (tap on a movie or TV episode to watch it on the TV), and stream (tap on a movie to watch it on your iPhone/iPad).
It also has the nice feature of being able to automatically find any other Plex instances on the local network and automatically stream from them as if the media were local. That way, you can connect Plex to your media centre in the basement, but watch the data anywhere in the house (e.g. on a smaller TV in the bedroom or an iMac in the office).
It's really a great ecosystem, and if their partnership with LG[1] pans out, it might get that much better.
Not to mention that it is coded in Carbon which I'm sure doesn't help performance. If apple isn't working on a new version then they are very shortsighted.
> But I notice that the only people that really hate it are powerusers.
This is an excellent point. If I write network clients in elisp just for yuks, I'm probably not Apple's target user for iTunes. Emacs' UI has broken my brain (and hurt my fingers.)
Powerusers don't want a UI. They think they want a scripting language. Most of them really want a butler, though.
Just make everything directories and let the power users do what they want. Just don't do that in the mainstream app. Keep stuff like that in the power user's special app.
I was surprised by my almost-panicky reaction to seeing:
Identifiers Can Have Blanks
open_window_with_attributes(...)
becomes:
open window with attributes (...)
I think I actually felt that wrongness in my stomach. Like a more intense version of seeing our corporate network shared drive's files with spaces and parens in them.
I had a similar reaction, and I'm not sure that it's a "damn kids, get off my lawn" reaction. Specifying an unambiguous grammar may be difficult - which implies parsing may become a problem.
An implementation exists, so the author has something working, but I'm wondering how robust the parsing is. I haven't seen many code examples (only short fragments on the page), so I don't know what potential issues, if any, there are. But, this is the sort of thing that could significantly complicate adding new language features that requires additional syntax.
edit: I'm perusing the source for the compiler, which is of course written in Zinc. This code from the main driver of the compiler perhaps gives a better feel for how it may look in practice:
while i < argc
def arg = argv[i]
if is equal (arg, "-debug")
debug = true
elsif is equal (arg, "-v")
version = true
elsif is equal (arg, "-u")
unicode = true
elsif is equal (arg, "-o") && i < argc-1
out filename = new string (bundle, argv[++i])
to OS name (out filename)
elsif is equal (arg, "-I") && i < argc-1
append (include path, new string (bundle, argv[++i]))
else
filename = new string (bundle, arg)
end
++i
end
From an aesthetic point of view, it doesn't look that bad. In this example, I think "is equal", "out filename", "to OS name" and "include path" are all identifiers. But I'm still wondering what kind of parsing and lexing issues that may arise.
I already have hard time parsing this code. The main problem I see, is that to read the code I have to know every single keywords in the language.
For example I was wondering if "new" is a keyword. If it is, then "new string ()" might be something interesting, otherwise it's just a function call.
Similarly this raises a question of whether I can write the following code:
if end of line (str)
This might or might not be permitted because "end" is a keyword. If it is permitted, then the result looks pretty damn ambiguous to me. If it's not then I have to name my identifier differently, like so:
I thought of the recognizing a keyword issue, but then I dismissed it: syntax highlighting make it a non-issue. The ambiguity with using keywords in identifiers is valid, though.
Your complaint is that you can't parse the code with 100% certainty without some basic knowledge of the language? That hardly seems like a complaint at all. The same is true of any language that isn't explicitly identical to one you already know.
No, his complaint is that you can't parse the code without knowing all the keywords in the language.
He wrote every single keyword == all the keywords.
That's not basic knowledge of a language.
Maybe I'm odd, but when I start on a new language I don't learn all the syntax first, I usually I start mucking around with variable declaration, iterators, simple stuff like that just to get a feel of it. I'm guessing it's not that odd as most tutorials also follow that approach.
I don't see how what you said disagrees with what I said aside from a minor semantic quibble. You can't parse any other language with certainty without knowing all the keywords either. For example, in Ruby, you might see the identifier "continue" by itself. Is this a method call, variable access or keyword? What about "private"? No way to know if you don't know all the keywords. This is precisely cognate with nene's objection that you can't tell whether "new" is a keyword in Zinc if you don't know the language's keywords.
You can form a rough guess of what the various tokens are in a snippet of Ruby code without knowing all the keywords, and you can do the same with Zinc code. Any additional difficulty is most likely because you're less familiar with Zinc, not because it has the nearly universal property of needing to know the full grammar to correctly parse arbitrary programs.
And I agree, playing around with a language is a great way to learn. But if you play around without reading about the things you're doing first, you should expect not to always know what you're doing. That's a huge part of the learning process.
While i didn't panic, i find myself having quite a negative reaction to a language in which "Identifiers can have blanks" is listed under main features.
EDIT : Also, i see quite the opportunity from wrong parsing, not on the machine side, but on the human side. blanks already have a function in other programming languages : They are here to separate symbols. By giving them this double meaning, you actually bring context in the parsing of any piece of code, which i think could be a pretty painful exercise.
Other version : Don't design a language version because it makes code easier to type, if it doesn't also make it easier to read
(I know the author thinks it easier to read, but i'm not yet convinced about that)
I don't see why parsing would be a problem; identifiers (and their pieces) always start with letters (so no "var 1"), alphanumerical, and cannot be a reserved word.
Meaning, parse word by word until you hit a key word or a significant character (,:". etc). You can't have "varb function(arg)" or its equivalent in any language I know, because it doesn't make sense - there's no operation on the varb, it's just "there". Similarly, "x y z = q r t" is unambiguous, because there's no stop to parsing either "x y z" or "q r t".
I think I'd like it. Hitting shift all the time, or reaching for "_" is a PITA and significantly slows my typing. It's especially annoying when you realize that identifiers with blanks could be leveraged into most languages with almost zero change to the parser, as long as it requires an end-of-statement terminator or ends on newlines.
Meaning, parse word by word until you hit a key word or a significant character (,:". etc).
If keywords are allowable in identifiers (such as "end of file"), then your algorithm is not sophisticated enough. When you encounter a token that is the same token as a keyword, you need to use context to determine if it is actually a keyword or part of an identifier.
This may be a serious problem if the grammar has "<identifier> <keyword>" in it. That is, "X keyword" could be the identifier "X keyword" or it could be the identifier "X" followed by "keyword." There's a reason that most programming languages require that identifiers are a single token.
> When you encounter a token that is the same token as a keyword, you need to use context to determine if it is actually a keyword or part of an identifier.
You're presuming here that a space delimits tokens. In this language, that may not be the case. The lexer may create a single token from "a b c".
Big "if" (why shouldn't it disallow them?), and completely resolved by modifying your naming scheme in those situations: EndOfFile is unambiguous, as is end_of_file, ifSuccess, etc.
It's unusual as most programming languages allow keywords to appear in identifiers (for example, new_thing is a legal C++ identifier). Further, if I understand the language correctly, the literal "end_of_file" becomes the same identifier as "end of file". And the stated purpose of allowing white space in identifiers is to avoid camel case and underscores.
I don't think that's the case. I think the example was just to show how you can write with spaces instead of underscores. I could be wrong though, I haven't tried the language.
The documentation doesn't state one way or the other, but it does include underscores as part of identifiers, and doesn't mention any stripping. Only that spaces are ignored entirely.
That strikes me as giving lie to the "Ruby-like syntax" claim; ask a Ruby programmer what that line means and you will not get the correct answer for Zinc.
Actually the connection with Ruby is tenuous anyhow; Ruby and assembler just don't go together. An assembler should produce a very clear one-to-one correspondence of instruction to machine language opcode, pretty much by definition. A high-level language can turn a simple statement into arbitrarily-complicated run-time code, pretty much by definition. Neither of these are criticisms by any means, it's just what they are. There isn't much syntax cross-talk to be had there.
I said "run-time code", not bytecodes. I'm talking about what actually executes. I've seen "bytecodes" that qualify as high-level languages by this standard, like CPython bytecode. Is that even so surprising? Single bytecodes for OO languages can translate to a lot of work to resolve.
And, what about Forth? It's a fairly low-level language by this standard. It has convenient ways to link together a lot of little functions, but one word does not dispatch on types and expand operator overloading and do the other things that can result in one line of C++ producing half a kilobyte of code, to say nothing of the functions that half-a-kilobyte may be invoking. Nor do I see why you think that's related to the syntax point.
I really have no idea what points you or your upmodders think you've won.
Actually, bytecodes for langs like Smalltalk can get you down to controlling all of your runtime state down to the level of bits. (Squeak actually runs bit-identical on something like 50 environments!)
As for precisely what runtime instructions are executed, most of the time, we can consider this to be an implementation detail. In the case of superscalar processors, you can't necessarily tell me what order your assembly language instructions are executed.
And, what about Forth? It's a fairly low-level language by this standard.
It bridges the gap between high-level and low level. It's a clear piece of evidence that there isn't such a huge gulf as you claim.
but one word does not dispatch on types and expand operator overloading and do the other things that can result in one line of C++ producing half a kilobyte of code
There are high level languages that don't do this either. Actually, I know of a specialized declarative Smalltalk that has gotten the entire image down to 45k. A Smalltalk VM is basically little more than a 256 branch switch statement, plus message dispatch, plus GC.
The gulf isn't nearly as large as you imagine. Rather, there are a number of "high level" languages that are actually pretty minimal.
You've really missed my point. I pretty much defined high level and low level by how they expanded out from simple instructions. You can't cite examples to prove this is wrong, by definition you've classified your definitions wrong. That this is not a universal definition doesn't bother me one little bit, because there is not universal definition of any non-trivial software engineering term.
If you want to redefine a commonly used term your doing something wrong. What you need to do is define a new term. Replace "High Level Languages" with "Abstract Languages" and nobody would have a problem with what you said. It might not mean anything, but at least it's clear. However, when you, redefine an existing term and you can be wrong and people will call you on it.
Although I agree that it isn't really possible to have a "Ruby-like" syntax for a low level language since a lot of the syntax depends on Ruby being dynamic, it still seems like valid ambition, as long as you know that limitation.
I would love to have a form of C / C++ with iterators and blocks and without all the curly braces and assorted cruft like 5 different ascii symbols being used in 20 different contexts (actually, Ruby does that too, when will language designers start using a few additional symbols to improve cognitive load?).
"I did this because I hate uppercase characters in the middle of identifiers and I'm too lazy to type shift to get the '_'. In addition, I find it more readable."
Haha! I'm on Dvorak too and didn't understand at all why JohnnyCache thought hitting "-" was so much harder than Space! I guess I've been completely converted for too long.
As much as your criticisms may be valid, I think he has given sufficient justification:
"I did this because I hate uppercase characters in the middle of identifiers and I'm too lazy to type shift to get the '_'. In addition, I find it more readable."
This kind of "Because I said so" reasoning is valid in pretty much any hobbyist-type situation as far as I'm concerned. If you don't like it, fork it.
I used to work at OT when Glazer was there, and I attended a workshop once where he gave a talk. Very impressive guy -- I remember thinking "I want to work for the company that guy's working for!"
I say "sequel" ("s-q-l" hardly rolls off the tongue) but often in my group we call it "skewl", because in addition to shaving off half the syllables of "sequel", it sounds fittingly sorta gross.
What model (silver or black screen frame/keys)? I have older one (silver), and the thing is like a lighthouse in a dark bedroom. However, they supposedly fixed it in the newer models.
I dont think so. The ambient light sensor is next to the iSight camera. I'd wager the indicator light is most oft on when the lid is closed and the sensor unexposed to ambient light. It's just dimmer.
> Misery and pain is part and parcel of being alive and that's the way it should be.
Is it not possible that there is happiness, but also misery and pain? I've felt both.
Is happiness "achieved"? Or "encountered"? "momentarily brushed-up against"? "allowed"?
In any case I think an approach like TTL's is worth trying: nowhere do they say "that eternal bliss is possible". It seems they're just trying to help people make things better for themselves.
I've always found this an interesting topic, and once in a while it's interesting to discuss it with someone who believes in a god.
Sometimes I wonder how much we choose what we believe, especially when it gets down to this bottom-of-the-soul (or "soul"), meaning-of-life stuff. When someone is incredulous at the fact that I don't believe in any sort of god, I 've said: "Let's try this: for the next sixty seconds, I'll start believing in God, and for the same sixty seconds, you have to stop believing in God. Are you in?"
Naturally, it's not really possible for either person to do this, but sometimes it promotes interesting discussion about the nature of faith — why can't we do this, etc, etc?
Of course, a lot of times it just pisses people off too.
Although it is a bit goddy for my tastes, I've always liked the Ritual Calling of the Engineer and the Iron Ring that goes with it, which is unusual because I'm certainly not one for ceremony. But I appreciate the serious tone and quiet underlining of the importance of the discipline.
I'm not an engineer, but one of my top software dev industry pet peeves: "Software Engineers" who aren't actually engineers. It drives me nuts.
Pet peeve for me too, specially at Silicon Valley startups, where a political science grad student who codes some Ruby on Rails on the side, joins the company as a "Senior Software Engineer".
I couldn't agree more, that's why I like that in Canada you have to be a PEng to get to out right call your self an engineer on your resume or business card.
Me personally I am an EIT (Engineer in Training) which means I have a degree but not enough work experience (you need 4 years under a PEng) to be a full fledged Engineer.
The problem is in canada that an engineering degree is ALL that's required to be an engineer but is also the ONLY thing that's required.
I work with a team building satellites, we have physics PhDs. But we aren't engineers, so we aren't recognised professionals = we have to be in the union, we can't be mangers - while the lowest 'engineer in training' with a pass grade in an engineering degree is an exempt employee that can be promoted to a 'professional' post.
That's incorrect on both fields. First, in addition to the degree you need to pass the professional engineering examinations administered by your provincial association. Second, at least in Ontario you can indeed get licensed as a professional engineer without having an engineering degree if your background and skills are deemed sufficient. Since licenses are portable between provinces, I would imagine this is the case in other provinces as well.
"If you do not have an undergraduate degree in engineering from a program accredited by the CEAB, your academic background will be assessed by PEO to determine whether it is equivalent to the established standards. PEO will assign technical exams to give you an opportunity to confirm (Confirmatory Examination Program) that your academic preparation is equivalent or to remedy any identified deficiencies (Specific Examination Program).
If you have been assigned a Confirmatory Examination Program and have more than five years of engineering experience, PEO may grant you an interview with its Experience Requirements Committee (ERC) to determine if your experience provides any basis to warrant exam relief."
Regardless of what the official reasons stated for the creation of such government enforced monopolies on professional titles are, the true motivations are always the same: protectionism. Requiring someone to have an official certification and then limiting the number of such certifications, either explicitly or implicitly by requiring extensive education and experience, reduces the number of certified individuals, resulting in higher wages.
Actually, this was created to protect the public safety. To ensure that no one was holding them self out to be an engineer without evidence that they had the credentials to back it up.
The government didn't create this distinction, Canadian Engineers did. After a bridge in Quebec city fell down killing many workers in a completely avoidable accident, a group of Engineers met and determined that there should be an organization to encourage both good work, and the passing on of information to the next generation of engineers.
"The Engineering Institute of Canada agreed there should be a ceremony or a standard of ethics that should be developed for graduating engineers. They requested the assistance of Rudyard Kipling for the development of a suitable ceremony or ritual"
The goal here was never to make more money, in fact lots of engineers don't make massive piles of money. The goal of this tradition was to impart a system of ethics and obligation on graduating engineers to remind them of their duty to the public to do good work.
I'd be prepared to call for the AMA not to have a monopoly on their certification and licensing. As it is, we bypass them anyway by importing a bunch of doctors who went to med schools in the Caribbean. Why not run more U.S. med schools instead? At the very least, increase the number of med-school slots in line with population growth; there are now fewer med-school slots per capita than there were in 1980, because the AMA refused to allow any new med schools to open between 1982 and 2001, and has put strict limits on enrollments at existing schools. Throughout the 80s and 90s they justified this with dire predictions of a "glut" of doctors, which of course turned out to be incorrect.
Sounds fair, but that concerns the amount of people licensed, not the requirement to be licensed in the first place.
If you create an AMA2 while maintaining present licensing standards, you're simply moving the ultimate responsibility for guarding the standards from AMA and AMA2 to an entity above them.
Ensuring a baseline ability of doctors doesn't ensure a baseline level of care. It can actually decrease the number of doctors and make it harder for poor people to get care. If you required all car mechanics to go to school for a decade and intern for four years, you'd get some great mechanics. Unfortunately, you'd end up with higher repair costs and more broken cars.
So yes, I'd certainly like to decrease the influence of the medical guild. While the average doctor would be less qualified, the average outcome would most likely be better.
After seeing the quality (or lack) thereof of people who have nonetheless graduated from medical school, I see no point in having any kind of license.
Of course, people who practice medicine should not be allowed to claim that they have a degree from such or such university unless they do (just as food labeled organic has to be organic), but that would be fraud, and we don't need a separate requirement for that.
I believe it is a mistake to assume that engineering certifications ensure that engineers are experienced professionals. I think it is far more normal for engineers to do a few years of actual engineering out of school before they are scooped up into management.
My father makes good money fixing the mistakes of professional engineers. And most of the mistakes he encounters are simply the result of poor experience.
In Québec, to call yourself an Engineer and join the OIQ (Ordre des Ingénieurs du Québec), post-graduation, you need to work for 3 years as an EIT, then pass a 3 part exam about the profession.
I think this is great advice. I've been in some dark corners myself, and the parent comment resonated with me, especially:
* It seems like you're the only one dealing with this, but you're really not. My friend describes us as ducks -- all calm above the surface, padding madly underneath, but only you know about that. Everyone you know is dealing with something, and wondering why they're the only ones. They're not, and you're not.
* Exercise really does go a long way. After a long bike ride I get what really is best described as a "peaceful, easy feeling" (oh man I hate the effing Eagles) but it's true -- after a hard ride or workout you realize how much better you feel, and how stressed out you normally are in comparison.
* It sounds ridiculous, but's really easy to forget to have fun. Don't forget to do the stuff you love. When you do, you'll feel "more like yourself" again.
Anyway, the main thing to take away is that (as you've seen from these comments) lots of people are in the same boat, and there are things you can do to help yourself.