534 karma · joined Mar 2, 2014 (12y ago) · 299 submissions
comment 12y ago · link · parent
I know very few people who don't create something. Most people do so at their jobs, and those who don't usually have a hobby or two (sewing/knitting, hobby construction projects around the home, gourmet cooking, etc.)
Someone I think you're using the term to mean something else.
comment 12y ago · link · parent
Maybe, who knows? How many American authors would have been illiterate if we didn't cast a wide net?
More to the point, you don't have to contribute a great piece of literature in order to get some value (and give society some value) from basic reading and writing skills. Basically everyone does some reading in their everyday life which is crucial to their level of productivity (and personal enjoyment).
> I'd expect to see an increase in programming similar in size, scope, and usefulness to email, text, lists, and meeting notes. It would be personal, private, and not meant to last. Tents, not marble palaces.
Very much agreed. I don't mean to suggest that software engineers would be displaced in any meaningful proportion, just that we could increase the productivity of everyone by a little bit :-)
comment 12y ago · link · parent
1. Perhaps I'm being slightly too liberal with my use of the word rote. But by "rote programming", I mean the sort that requires no understanding of anything beyond CS1 concepts, the domain and your toolset. The programs are very simple and sometimes hacky, but get the job done (e.g. "Move all those files over there and then watermark them using this snippet I found on SO and then add them to the database so they show up on the website").
2. Even for many professional software engineers, often times most of the critical thinking is probably about the domain as opposed to the programming. Most people aren't (or shouldn't be) coming up with truly unique algorithms/approaches; rather, they are mapping new problems to tried-and-true techniques usually already implemented as libraries.
So it's possible to solve new problems (in the sense of your domain) with rote programming (of the sort described above), if all the critical thinking is about modeling the domain as opposed to the software.
Of course, every once in while, the "tried and true" technique is a piece of CS that only an educated engineer has heard about/knows how to correctly use. But my point was that there are lots of problems you can solve without getting to this level.
comment 12y ago · link · parent
Indeed, type systems for (actual) Javascript are often formulated in terms of dependent types.
comment 12y ago · link · parent
If this happens, then APIs and libraries that make development easy and intuitive for end-users could easily become as in-demand as well-designed websites and mobile apps are today.
comment 12y ago · link · parent
And if this is true, then the parent's idea might not be feasible. If it isn't true, then the parent might have a feasible idea. So... perhaps you could comment explaining why you're down-voting? I honestly don't understand.
(Also, the first sentence is just true... the venues I mentioned are nearly universally more informative than a comment board... srsly, not trolling.)
Original post:
If you want high-quality commentary all you need to do is get off the internet comment boards. These outlets exist. They are generally called journal articles, policy briefs, court opinions, etc.
> Rather than have new stories refine or even change arguments and their conclusions, most people on the internet just chase their tails in circles.
I think there's something deeper going on than a short memory span.
At some point (usually pretty quickly), you have to start either 1) making moral judgments, which is a whole branch of philosophy or 2) analyzing non-trivial factual claims.
To do this, you need people who are trained in science or well-read in philosophy/political science, depending on the topic. At that point, might as well just read journal articles in relevant fields.
The quality of argumentation on the internet might get a little better than it is today with good tools, but I don't think it can improve significantly. At some point you're asking for actual quality research (i.e. work), as opposed to armchair sophistry (i.e. fun).
> Even with those different value systems, it should be possible at some point to pick out the thought leaders across different spheres that transcend typical Republican, Democrat, Liberal, Conservative, Theist, Atheist labels with arguments that are acknowledged across the board as being internally consistent and factually based.
Maybe on some technical topics. But even academics and policy analysts often disagree along ideological lines.
> as being internally consistent and factually based.
These are both fairly low bars.
comment 12y ago · link · parent
* First and most importantly, if you want a true log of history this can and should be achieved using a different mechanism (not effected by history -c).
* There exist bad CLI's which require entering the password on the command line. See the conversation below -- it took six posts on HN before the correct solution (make sure certain env vars are set to the right values) came out. So, hardly common knowledge.
- In fact, you space trick doesn't always work. Can I fire you for negligence if someone finds your .history since everyone should obviously know everything about bash history?
* If you run "man history", the very first thing you see is the -c option. Therefore, if you want to clear a password from your history file, this is mostly likely how you'll do it. You're effectively attributing criminal intent to anyone who's not sufficiently unix savvy.
* If you're treating .history is a log file, then you're being pretty damn close to criminally negligent with your logging practices (equivalent of providing an editor for apache's access.log on your homepage).
* Bash history files are not backed up, except perhaps accidentally with the rest of ~.
* History files rotate out after X commands. There is no way of guaranteeing that temporally-defined backup policies snapshot ~ before X commands are run.
Bash history is a "log file" in the same sense as the stack used for Word's "undo" mechanism is a "log file".
comment 12y ago · link · parent
$> history
...
12345 some_command --username myusername --password mypassword
This comes up fairly often with poorly designed CLI's. Wiping your bash history after running the command isn't an unreasaonble hack.
Edit/Addendum: Although there are other (perhaps better) ways to achieve the same effect, the main point is that doing a "history -c" should be considered no more suspicious than e.g. closing a document to clear your "undo" history.
comment 12y ago · link · parent
1. A huge number of vulnerabilities affect C/C++ programs, almost all of which are memory based.
2. Memory-managed languages take care of this for you.
3. Therefore, C/C++ shouldn't be a default choice in domains where a managed language does just as well (a separate question).
Everything else is tangential.
But here are some reasons why your second paragraph is dangerously wrong (and why my claim was not as you characterize):
1. It only applies if we assume a uniform distribution of security effort across languages.
2. It only applies if we assume that c/c++ is being used for the same class of applications programs written in other languages, or that the applications have similar attack surfaces.
3. It only applies if we assume a uniform distribution of security effort over all code regardless of age.
and so on...
And also, 90% of code -- especially relatively recent code -- is not written in c/c++.
comment 12y ago · link · parent
Discounting bad PHP, a huge majority of bugs are in C/C++ code. And "past popularity" isn't a good explanation, because a lot of the software is fairly recent.
So, the following isn't an opinion. It's simply a matter of observable fact. If you write in C/C++, you are far more likely to introduce security vulnerabilities than in other languages; therefore, unless there's a pressing reason to use these languages, don't.
comment 12y ago · link · parent
comment 12y ago · link · parent
But that's pretty stupid, because you don't generalize beyond your examples.
What's your approach?
<em>edit: removed random conjecture</em>
comment 12y ago · link · parent
I was referring the conclusion that these events/organizations significantly harm men.
> So if they are successful, why wouldn't they lead to more women only IT companies?
Because the whole of 20th century labor history, which is replete with counter-examples. Women supporting other women in male-dominated professions, as a matter of observable fact, does not generally lead to discrimination against men in the work place.
comment 12y ago · link · parent
What makes Computer Science so different from all these other fields and professions?
comment 12y ago · link · parent
I agree that the merging strategy makes a lot sense, esp. for the reasons you give in the second paragraph. Hopefully the critical mass of girls interested in CS will exist soon.
comment 12y ago · link · parent
Admissions aren't discriminatory, but summer camps of this sort are typically dominated by males. Being the only "different" person in a largely homogeneous group can cause all sorts of difficulties at that age.
Sense of community and belonging are as important, if not more important, than instruction.
FWIW, male-dominated summer camps are a problem for males and females alike. Many middle school boys don't like having the sorts of lunch time conversations that groups of middle school guys invariably gravitate toward.
If you have a way to solve the massive over-representation of males in summer programming camps, please share! Until such solutions exist, camps such as this one are undeniably crucial.
comment 12y ago · link · parent
As someone with first-hand experience attending a computer summer camp, I think this is important.
I attended a computer summer camp as a kid. It was all male and had an very awful culture (e.g. lunch conversations were pretty pubescent and gaming was really important). The culture seriously turned me off, to the point that I stopped programming entirely and got into math for a while afterwards. Oh, and I'm male...
If a girl joined any random summer camp 12 years ago, she would be the only girl in the group. This may have changed since then, but I'm sure not by much.
Sense of belonging and community is important, and it's not unreasonable to suspect that a male-dominated summer camp would not provide a girl with that sense of community. Especially at that age.
A more ideal solution might be increasing the number of girls interested in computer science so that this simply is not a problem. Unfortunately, it's unrealistic to assume that will happen over night. In the mean time, camps such as this might decrease the social barriers to entry for girls interested in CS. That's a Good Thing.
comment 12y ago · link · parent
At any rate, thanks for provoking the discussion.
comment 12y ago · link · parent
If you need a tree, it's most likely that you want some custom operations on that tree (e.g. parsing text into the tree, pretty-printing the tree, traversing the tree in various ways, etc.)
At some point, the tree is just a data structure and what you're interested in are full-blown, non-trivial algorithms/programs for fairly domain-specific tasks. In these cases, a library (or even custom implementation) for a general purpose programming language is more useful than a tool (a la Excel or vim).
Viewed in this light, it's not unsurprising that we have many domain-specific tools for manipulating trees. Most of the proof assistants have a GUI based on Gentzen-style sequents.
LaTeX has styles for type setting proofs which look like the ASCII ones in the article.
Tools for generating parsers often have tree-based UI's.
And so on.
comment 12y ago · link · parent
The end of the article argues that racial profiling allows a majority of citizens to ignore problems with policing because abuses are highly concentrated on "other people". This makes police corruption "not my problem".
The problem isn't complacency with the abuses; the problem is that abuses are concentrated on minorities of the population so that the majority of voters/stakeholders don't have enough skin in the game to care.
comment 12y ago · link · parent
Other replies to this thread do a pretty good job at pointing out the applications of lambda calculus. I want to contribute this excerpt from one of the original papers on the topic:
"In this paper we present a set of postulates for the foundation of formal logic, in which we avoid use of the free, or real, variable... Our reason for avoiding use of the free variable is that we require that every combination of symbols belonging to our system, if it represents a proposition at all, shall represent a particular proposition, unambiguously, and without the addition of verbal explanations."
The motivation was a setting for doing "precise and unambiguous" mathematics. Mathematical results are used pervasively today, so the overall vision is obviously important.
Whereas The Calculus was developed in response to the difficulty of calculating physical quantities, such as those about celestial bodies, the lambda calculus had a more foundational motivation.
None-the-less, lambda calculus is tremendously useful for solving "real world" problems. Most of these problems arise where doing "precise mathematics" is important but tedious, difficult and/or time-consuming; or the related task of defining computations correctly.
comment 12y ago · link · parent
More importantly, since your new language is small, you can eyeball the implementation and be fairly confident that the implementation "matches" your formal definition (about which you might prove theorems such as type safety).
Contrast this with defining a new feature as an extension of C++, Haskell or Java. You'll invest a lot of time, and in the end might not even be very confident that your implementation matches your theory. So you might write a few hundred line program in your new programming language, get a wonky result, and not be sure if the formal definition is flawed or if the implementation is buggy.
The "implement almost for free" phrase takes on a different meaning if you decide to implement computer-checkable proofs about your language.
comment 12y ago · link · parent
There are some unbiased and quality sources of reporting, even on television. E.g. PBS's Newshour does a good job.
More importantly, there is a lot of useful material outside of television land. For instance, Foreign Affairs does a good job covering both sides of defense issues. HIR, Brown Journal of World Affairs, and similar publications are also high-quality.
I think the real problem is that we want our news to be entertaining (or at least not work-like), but truly understanding any given issue in the news requires consuming large quantities of evidence prepared and presented from various perspectives. And that's not always as fun as watching (or making fun of) Fox/CNN/NBC/etc. In fact, sometimes it's pretty boring.