Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment De river, she is deep (Score 2) 608

"Complex" is not for laymen. There is only so much that you can do with any "appliance". Beyond that, you actually have to know what you are doing. This "problem" has nothing to do with programming.

This. Thinking about the web apps I've written, most of them required fairly deep knowledge in the area of the app -- auroras, photography, specialized group management, history, genealogy, measuring instruments, Chinese, retail procedure -- all areas an interested party could potentially bring to the table.

But the tools to instantiate, manipulate and present those ideas? Those simply don't exist in "amateur" form -- I had to create them. And in doing so, I used knowledge starting with HTML and CGI and CSS, but which extended well into Python, (replaced Perl), C, SQL, a fair bit about the underlying structure of the host OS(s), knowledge of how to structure an application in the first place, and to wrap it all together, a fairly deep knowledge of what's efficient and what isn't.

Now I will admit that I am particularly resistant to Other People's Code, partially because I am unwilling to be subject to other people's bug fix schedules (or lack thereof), and permissions (or lack thereof) and functinonal choices (or lack thereof); and partially because the more stuff I write, the more handy tools of my own I have to bring to bear on the next problem that depend on no one but myself and the host language(s) -- which frankly is quite enough dependency for me anyway. Plus it's been writing all this stuff that's made me a decent programmer in the first place. So even if there *were* a library out there to generate general purpose readout dials, I wouldn't have used it; the result would have been the same. All my own code. Not the least bit reluctant to reinvent the wheel.

Still, the idea of making all that stuff both available and trivially usable (and that's what we're talking about here, because a non-programmer will have to hit this at a trivial level) seems to me to have been tried multiple times in multiple venues, and to have failed every time. Personally, I think it's because as programmers, we underestimate the complexity because we've internalized so much; we can't see the actual level of difficulty very well, because it starts out relative to our own skills. This has resulted in quite a few attempts to "make it easy", and none of them have hit any serious stride. The best any of these can boast is a small following making very limited applications, if you really want to stretch what "application" means.

I don't think the idea is ready to fly. The only context I can visualize this actually working is where you have some *very* smart software that can take an abstract description and write code *for* you. That software would have to be (a) very damned smart and (b) conversant with an enormous range of general human knowledge. Right now, as far as I know, that's the precise description of a competent applications programmer. And nothing else.

Comment Re:Normal? (Score 1) 608

Ideas don't arrive in convenient order. Interruptions occur. The world is not a smooth surface, it's full of bumps, pits and detours. Sometimes (as here) there are even reasons to top post. Such as, so someone will actually see it. So get over it. Notably, the AC comment you're objecting to contributed more to the conversation than yours (or mine) does. There's a lesson there.

Comment Re:another language shoved down your throat (Score 1) 415

For example, when adding some new code I will often put it at the beginning of the line (ie with no indent) so I can see it more clearly whilst coding (usually this is for temporary tracing lines), and only indent it before commit.

I do that in C++ all the time, especially when it's something I don't intend to keep. This is definitely something that you can't do in Python, but that doesn't keep me from liking it.

Comment Re:another language shoved down your throat (Score 1) 415

With Python, on the other hand, I'm actually more likely to have an error in the indenting, because there's no easy way to see how many blocks I'm terminating when I outdent by an arbitrary amount.

I've never really had that problem, but then I always break up code into reasonable sized functions so the nesting doesn't get too deep. Perhaps that's what you need to change.

Comment About that.... (Score 3, Informative) 223

Every American should incorporate themselves. It's the only way to guarantee you have rights. If you are a closely held corporation, your religious rights cannot be infringed, your property cannot be confiscated, you can commit heinous crimes and only face a fine (no jail time for CEOs); and furthermore, NSA "spying" can be sued over as industrial espionage or as copyright violations under intellectual property rights laws.

Basically you have way more rights as a corporation. If you're an individual or "citizen", you're screwed.

I'm going to go out on a limb and guess you're someone who hates the recent hobby lobby decision; nonetheless, the opinion delivered by Alito directly addresses this 'corporations are treated like people and it's wrong!!!' outrage perpetuated by the left.

"As we will show, Congress provided protection for people like the Hahns and Greens by employing a familiar legal fiction: It included corporations within RFRA’s definition of “persons.” But it is important to keep in mind that the purpose of this fiction is to provide protection for human beings. A corporation is simply a form of organization used by human beings to achieve desired ends. An established body of law specifies the rights and obligations of the people (including shareholders, officers, and employees) who are associated with a corporation in one way or another. When rights, whether constitutional or statutory, are extended to corporations, the purpose is to protect the rights of these people. For example, extending Fourth Amendment protection to corporations protects the privacy interests of employees and others associated with the company. Protecting corporations from government seizure of their property without just compensation protects all those who have a stake in the corporations’ financial well-being. And protecting the free-exercise rights of corporations like Hobby Lobby, Conestoga, and Mardel protects the religious liberty of the humans who own and control those companies.

In holding that Conestoga, as a “secular, for-profit corporation,” lacks RFRA protection, the Third Circuit wrote as follows: “General business corporations do not, separate and apart from the actions or belief systems of their individual owners or employees, exercise religion. They do not pray, worship, observe sacraments or take other religiously-motivated actions separate and apart from the intention and direction of their individual actors.” 724 F. 3d, at 385 (emphasis added).

All of this is true—but quite beside the point. Corporations, “separate and apart from” the human beings who own, run, and are employed by them, cannot do anything at all."

Comment Re: another language shoved down your throat (Score 1) 415

I used Pascal for almost all of my CS courses (but this was in the mid 80s). I got my first job as a C programmer with no formal C experience, but that wasn't a problem, and I never had any problems adapting to new languages during my career as needed. I like some languages more than others, but I can get the job done in anything needed with a short learning curve. I've done mostly C++, which I enjoy, and picked up Python on my own a couple years ago, which I love. I wouldn't call myself a Python expert by any stretch, but I could become one in short order if the need arose. It's all about the programming: Thinking logically, breaking tasks down in discrete steps that do the right thing, knowing what can go wrong. The language is just syntax. It might make some things easier and some things harder, but they're all doable.

Comment Misused? Murder is intrinsic in communism. (Score 1, Insightful) 530

Unfortunately, communism has earned a fatally bad reputation after being misused by so many dictators during the 20th century.

The murder part of communism is a necessary component to deal with people who don't want to play along. That's why it happens all the time. If you don't want to play by the rules of a society that has anything resembling a market economy, the outcome is well known: Your standard of living slides down to the lowest your fellow citizens will tolerate seeing.

If you don't want to play by the rules of a society with a Marxist economy, well, abject poverty is always an option there, too. A rather common one. But if you want to work for yourself, and keep a significant portion of the fruits of your labor? Well, sorry, that's where the murder comes in. Against the fundamental rules of the society, you see.

If you disagree, kindly tell me what you do with people in your ideal communist society who want to put in above-average effort, and reap the extra rewards. Besides murdering them. The communist societies that exist within larger market economies can eject slackers, and the motivated can simply leave. The societies that are entirely communist need other options. Exiling the motivated will simply rapidly impoverish those that remain.

Comment Why is the flight deck on top? (Score 1) 468

If we are going to discuss the windows on an airplane, and the placement of the flight deck, then let's consider other alternatives to a windowless flight deck.

One thing that has crossed my mind before is why the pilot is on the top of the plane. Above the plane is just air, below is where the runway is always going to be. Why not place the flight deck low on the plane so the windows face down? That way when the plane is doing a nose up glide into the run way the pilot has a perfect view of the ground coming up to meet the plane.

Why have the flight deck on the front of the plane? If they pilot needs to look up then put them at the top. I mean the TOP, as in have the pilot seated on top of the tail in an all around glass bubble.

I believe there are a lot of things we could try to improve the pilots' field of view before we resort to cameras and displays. Large aircraft always have two people capable of flying the plane, do they have to sit side by side? Perhaps one could be seated near the top of the plane so the sky is in view, then the other below to optimize the view for landing. A big enough plane with a long enough route will have redundant crews, give them redundant flight decks. Put one up front and another in the back. I believe that if aircraft get big enough having two flight decks may become nearly a necessity.

Having an airplane without windows seems like an idea that may come to pass but I also think that we've got a lot of other ideas that we will and should try first.

Comment Some day... (Score 2) 702

Some day when I have enough time and money I plan on taking an airplane trip with no luggage. I'd show up at the check in counter with nothing but the clothes on my back. Why? Just so I could see what they'd do.

Think about how odd that would look. No cell phone, no key ring, not even a tooth brush. I wouldn't wear anything out of the ordinary, no "Potential Terrorist" t-shirt. I'd just wear what I normally do, running shoes, slacks, polo shirt. I normally keep a knife on my belt but I'd leave that at home, maybe even leave the belt too.

As much as people will claim otherwise you are not required to have identifying documents to board a plane when traveling domestically. International travel you do but not within the USA. I'm thinking I might leave my ID at home too.

What would this prove? I'm not sure but it would be an interesting experiment. I am just curious how the TSA would respond to someone that acts so far out of the ordinary but also fits no norm of a threatening person.

If anyone should ask me about my plans I'd probably just say I'm going shopping. I need some new clothes so I didn't see the need to pack any. I'm thinking that to make it additionally frustrating for them I'd leave not only my ID at home but any credit cards or anything else that might have my name on it besides my boarding pass. I would not lie about who I am and would not refuse to give my name or any other detail. I'm just a guy that wants to go on a shopping trip and I like to pay in cash.

I think that they would not let me on the plane.

One problem with my experiment is that I'd like to document the experiment but I'd have nothing to record with. I'd have to go by memory, or write everything down. No doubt that if I did do this that someone would say, "Photos or it didn't happen!"

The thing is that if the TSA keeps up with their security theater, and the airlines charge for every piece of luggage a person brings, then what I propose as an experiment may become the preferred way to vacation. It would remove a lot of hassle that way.

Comment Re:Actually makes good sense (Score 1) 702

I've seen plenty of electronic devices that are difficult to identify even if they are powered up. I've seen a number of portable medical devices that have little in the means of a display, usually just a LCD readout, or inputs, just a button. A cordless mouse is just a box with a couple buttons and a light, same for my Bluetooth GPS receiver. Many of my portable electronic devices have been worn to where there aren't any readable labels any more. I know what they do, which is good enough for me, but if I gave them to someone else they might have no idea what it is. This is especially true for someone that does not have a college education, such as the typical TSA agent.

What about something that looks like it might have a battery in it but does not? I have a USB Wi-Fi adapter with a non-standard cable. It could easily be mistaken for a lot of different things, like a walky-talky. It's got an antenna, a couple lights, and some bumps on it that look like they could be buttons. So the TSA agent demands I turn on my "radio". I cannot comply because it's not what the agent believes it to be.

What happens then? I say it's a USB Wi-Fi adapter. The TSA tells me it's not, it's a radio. Will I be forced to give up my device because the TSA agent is an idiot? What if I do power it up by plugging it into a laptop? I have a box with light that turns on. Must be OK now because no terrorist would think of putting explosives in a box where an LED is wired to the power lines on a USB socket.

I think that no one has yet taken down a plane over the USA since 9/11 because no one has tried. Why would they want to? They got what they wanted. We've given them the police state they want to impose on us.

Slashdot Top Deals

UNIX is hot. It's more than hot. It's steaming. It's quicksilver lightning with a laserbeam kicker. -- Michael Jay Tucker

Working...