skysight-inc/HackerNews huggingface dataset:
I think a clever DNS server could help with this kind of problem. Quite efficiently, I believe.
your correct. And this is why the example is not good. Your saying someone might not expect the "side effect" of width changing when height changes. But this is a semantic setup. People do know how a Square is supposed to behave. One of the characteristics of a "first class object" is that there is common agreement on behavior. If we don't have this shared agreement, lots of things about OO design fall apart.
I'm not quite sure what you're saying, but it's worth mentioning that the levels generated by the engine are rather simple. For example, there are never any gaps so wide that they can't be jumped across easily, so no fancy bouncing needed.
Actually, my anecdotal sample is mostly people who attend church.

Not all churches are alike, but "religious conservative" would be an accurate descriptor for many of my friends.
SearchGeek Home - JOHN12891290and12911292KATHY
Look, these are worthy causes you refer to, nobody disputes that. but you're basically presenting a a kind of zero-sum fallacy - there is only so much labor power available, disease and poverty are humanity's most pressing problems, therefore all other activity should halt while those are tackled.

This is a naive viewpoint. I am not going to argue that Facebook is somehow better than a cure for malaria, but the problem facebook solves - 'how can I efficiently keep in touch with the many different people I know?' - is important enough for individuals to find it very useful, and the network effects, plus what we learn about large-scale social networks, may well turn out to have broader implications. For example, a recent CDC study drew the conclusion that the most effective way to handle the current swine flu problem might be to target vaccinations towards young (< 40) adults who are the most likely to spread the disease, as opposed to those who are generally stereotyped to be the most vulnerable. In fact, the CDC have been employing social media in order to disseminate information about the flu, which has proved more economical then the usual strategy of news conferences and advertising. This was hardly part of Mark Zuckerberg's Facebook strategy, but it turns out his product is becoming useful for such tasks.

Youtube seems even more flippant than facebook, devoted as it is to sharing video for entertainment purposes. On the other hand, if I wish to learn about malaria or some other serious problem, YouTube offers a way to access video about subject almost immediately. Putting such stuff on TV reaches a wider audience than any given YouTube video, but by necessity a passive audience and only at a given moment in time, rather than when someone is motivated and active enough to seek out that information. Again, not the goal of YouTube, but such a useful fringe benefit that we now take online video availability as as essential factor in future internet growth...and indeed, MIT are using YT as part of their strategy for OCW. One person's luxury can easily turn out to be someone else's utility.

Frankly, I think HN is quite good about propagating news of innovative non-computer hacks as well. Dean Kamen's water purification system was recently the subject of extensive discussion, and the criteria for what constitutes hacking is already pretty loose - tech-related, cheap and innovative generally qualify.
If you believe OOP is "making physical objects' memory maps", instead of "related data put together" then yes there are some problems on some conditions. But this is caused by unrelated physical mapping need. If you can let go about this belief and think a bit lower level, OOP is a good enough methodology for thinking "like" objects. But it's not perfect. I don't know if this mapping need is good for software engineering.
Conjure seems to be in early dev stage. It'd be a good idea for it to be packaged with bleeding edge of the clojure rt instead of 1.0.

None the less, it looks very promising.
For those of you using TextMate, consider my Pygments bundle: http://github.com/acangiano/pygments-textmate-bundle
yeah I was really disappointed with Penn and Tellers' presentation - guess I wasn't suspecting a sub par Iphone app ..

- surprised apple let them emulate the SMS / box bubbles and everything while spoofing a fake text.
I had an instructor once who started a lecture with this example, and then argued that rectangle should be a subclass of square.
Interesting. I had a meeting where XFS got high praises from a very knowledgeable person. The catch is that in this solution, files are added and appended and very seldom deleted.
Absolutely. We make up narratives, then fit facts and stories into those narratives.

For an excellent example, read Good To Great then read The Innovator's Dilemma. Both books look at the rivalry between Nucor and Bethlehem Steel. The difference is that Good to Great tries to fit that example into a theory of great CEOs, while The Innovator's Dilemma tries to fit it into the narrative of disruptive innovation. So in Good to Great it is hard to see why Bethlehem Steel was full of idiots, while The Innovator's Dilemma makes it painfully clear why the bad decisions that Bethlehem Steel made were inevitable given their customer base and market pressures.

Same story. Same facts. Different narratives. Radically different impressions of the competence of the people involved.
rails is a pretty mature framework these days, and it's got tons of plugins that are actually easy to use. It's a pretty steep road to get something up to those standards. When I need something that has everything already neatly solved and ready for cranking out stuff fast -- I always chose rails.

I'm currently trying to learn clojure and enjoying it immensely. It's a lot like ruby (powerful and fun) but with easier syntax and it's way faster. Looking forward to read through the conjure source.

One thing that bugs me with most of the clojure web frameworks that I have looked at is that they a. use ant instead of maven and b. don't provide a canned method to generate a war file. I don't like the advice "just leave a screen with slime and emacs running on your server". It runs on the JVM for crying out loud -- a little more enterprise is appropriate :)
Who are all these people who want to take reading comprehension tests but are not doing so at present?

What would it say about you if you took the New York Times reading test rather than the Wall Street Journal reading test? Why would you want to add the baggage of a newspaper's ideological leanings to an impartial reading test?
Both! Also things.
OO is an incredibly powerful tool but is unnecessary for so many tasks. The contrived examples of many books show beautifully, as does this example, simple inheritance hierarchies that get at the gist of it but are not really an appropriate use of the technology. Everything does not need to be modeled as an object, oftentimes with only one or two methods, no internal state, etc. Some of the newer multi-paradigm languages (F# and Scala come to mind at first glance) seem poised to rescue us from improper use of OOP when you are stuck in an OO environment with a non-OO pattern or problem to solve. You get the OO stuff when you need it, with a more flexible syntax, without being strapped into a design straightjacket.
Ext4 - is badly configured Ext3 (data=writeback mode) with extents support. By default, in recent kernels, Ext3 is configured in same way as Ext4 (data=writeback). In RedHat/Fedora/CentOS/etc., Ext4 is configured properly (data=ordered): "Don't worry about the new default journaling mode for ext3 planned for 2.6.30 (data=writeback, which is much faster than the old default, data=ordered, but has enormous security and data integrity problems). No distro would ship this as the default. The only way it could happen at Red Hat is over the dead bodies of the security team, who, let me tell you, keep an eagle eye on file system data leaks like this."

Ext4 is not alone - other file systems (Ext3, XFS, maybe others) are patched to support new file rewrite semantic too.

PS.
I saw lot of zero-padded files on XFS until switched to Ext3 with data=ordered.
>It's only "perfectly expected" if you know about the implementation details of Square, which may not even have existed until after a lot of Rectangle code was already in place.

I don't quite agree. You don't need to know implementation details of Square (e.g. does SetHeight set the height and call SetWidth, or does it just call SetSide? Or does it, as well as SetWidth, set some new property called side?), you just need to know how a Square differs from a Rectangle (width == height).

Because Squares are a subset of Rectangles, any Rectangle code should also work with Squares. Even without Square, prevents you instantiating a Rectangle and always calling SetWidth(x) and SetHeight(x) one after the other.
re: anyone knowledgable/about supermegaspoof
But citing your own blog article, the current management of society is doing a terrible job.

What is your suggested approach, throwing darts at Post-It notes?
Indeed, but using that metric might lead you to conclude that pg and other luminaries are just bit players :)
By definition, if it's not working and you keep doing it, then what you're doing is not scientific management.

Management by people claiming to manage scientifically, and management by scientists (not just of society, but anything) both certainly do have checkered histories, though, yes.

The real barrier to science-based government is really the choice of objectives (i.e. what to optimize - GDP is OK but there has to be something better).

Thankfully, the scientific method has proven itself quite adept at leaping into a domain where the important questions aren't even known. So maybe there's hope yet.
That speech fed into an interesting discussion on the merits of debuggers at http://www.perlmonks.org/?node_id=48495. Note that "merlyn" in that discussion is Randal Schwartz, who is well-known in both Perl and Smalltalk circles.
λ-calculus in JavaScript
This one uses the build tool called "lancet", which is created throughout Stuart Halloway's Programming Clojure.
"just leave a screen with slime and emacs running on your server"

Another way to do it is just load the swank jar on your server (the server side of slime). In your server startup, include a call to (start-swank). Then you can connect via slime whenever you want using M-x slime-connect, and you don't need emacs + screen to stay running.

I've only learned the JVM as part of learning clojure. What advantages would a .war provide?
Under 60 is correct, but that includes the baby boomers. We just need the "greatest generation" (as they're called) to die.
http://www.huffingtonpost.com/2009/06/15/marijuana-legalizat...
If you have enough elements to desire short circuit evaluation you can, as `masklinn` mentioned, use a list comprehension. Specifically a generator list comprehension.

http://www.python.org/dev/peps/pep-0289/

big_list = make_big_list()
if any( not prime( a ) for a in big_list ) :
do_thing()

When you surround the list comprehension syntax with parenthesis instead of square brackets, either as a lone argument to a function or independently, you create a generator that will iterate once over the given data.

This allows for functions accepting sequences to short circuit without completing the function mapping.
Out of interest, what's the advantage to being "more enterprise" in this case? Having a webserver with a working REPL seems like a rather useful thing to have.
Power of the Pentatonic Scale [video]
Make sure to check out Uncle Bob's comment (it's first after the post.)
“>> << Ndx Usr Pri JfC LJ Phr Dic Rel Voc !: wd Help ”

... suggests this is not something I want to spend a lot of time on. Is anything supposed to be this arcane and unintuitive?
Accounting rule changes may allow Apple to offer free iPod touch SW updates
What is the point of building a business?
this was submitted a month ago. except, with the "www" in the url. interesting how it doesn't pick that up as a duplicate.

http://news.ycombinator.com/item?id=734380
Our usage is pretty specific, it took us a while to narrow this down to XFS mainly because it was hard to believe how slow it was.

Deletion can be much slower than file creation if the files are small.

If you google for 'xfs delete speed' you'll get plenty of bits of information, the best fix was the 'nobarrier' option.

Deleting files at random is especially bad.
Yes, that is very useful, in a way that's not normally possible with java.

But it is very nice to just give a .war file to techops. They know what to do with it, and how to keep such an application running and reboot it should it be needed. It's nice to not have to write custom init.d scripts.
I don't think so. The load problem he discussed was because lots and lots of Ubuntu machines choose to poll for updates at a particular time of day. This put pressure on all mirrors at once. Redistributing load from between mirrors wouldn't help with that.
Compojure is built on top of Ring, but can wrap a Ring "handler" function in a Java servlet.

This functionality has been merged into Ring 0.1, so you may now be able to wrap a Conjure application into a Java servlet as well.
Correction: The 16.4% figure above is for the best Nanosolar solar cells, not for all of them. The company states that: "In terms of our current baseline production process, our best production rolls now achieve higher than 11% median efficiency measured as equivalent to panel efficiency, with very tight cross- and down-web uniformity." That's still very good, but far from 16.4%. Sorry for the confusion.
"And if that was true, the message for my country, Colombia, is hang in there? The amount of violence that is fulled by the illegal drugs is awful. Every day something horrifying is discovered."

Why do the pro-drug people call people that have legitimate reasons why drugs should be outlawed "uneducated"? Blaming the violence on the law is equivalent to blaming a rape victim for looking the wrong way. It's the same reasoning many Islamic laws have for punishing women.

This article just isn't talking about making pot legal, it talks about some of the harder stuff legal as well. Take a look at some of the slums of the United States where you can find drugs on any corner. Heroine addicts will do anything to get their next fix. This may include stealing, robbing, and violence. When this happens, guess who will be to blame? yep, the government and other companies for allowing it to happen.

Hell, cigarette companies are STILL being successfully sued in US courts when it has been well known it causes cancer for > 50 years.

also, do you actually think the illegal drug trade will stop if everything was legal? The dealers will STILL be in business becase they will not want to be taxed (and sell illegally to get around it). Many drug dealers now sell legal drugs.

Violence will not be stopped, it will only be shifted to other illegal activities.
10 cool Web apps developed in two days
Video subtitlers use this notation: (!) to denote sarcasm. Could we not popularize that?
http://github.com/danlarkin/madison is another interesting project. I believe the intent is to port Django to Clojure.
http://antoniocangiano.com/2009/09/13/benchmarking-tornado-v...

2000 concurrent requests
Luckily, emacs has a set of htmlize-* functions as well.
> I haven't tested a Vista machine, I've never seen anyone run one.

I'm a designer and programmer and was stuck on Vista for a little over 3 months after starting my current job. Photoshop required at minimum two reboots a day. Absolute hell.
I think the title was satirical. His point is that CEOs are not actually so stupid, we just look at the ones who fail and point out all the stupid things they did, while the successful ones may have done an equal number of stupid things, but we didn't pay attention.
The code that you showed is automatically generated from the XIB file, the user never has to type it.

When you discuss the @property compiler directive, you did not show the generated code, instead you opted to show the shortcut.

With MonoTouch there is no need for any shortcuts; The entire backing store to any outlets are compiler generated.
Have you open-sourced that? I'd like to use that.
My copies of XP and Vista were fairly peppy booters when first installed, but adding in assorted services (databases, Web server, VNC) slowed things down, plus I had to install antivirus software, which makes things even slower.

Of more concern to me is shutdown time, as in "eternity", and when I have to just hold the button button to force a machine off. Each time there is a real risk of corrupted drives (I'm recovering data right now from a drive corrupted because something hung Vista and I had to power off the box).

Each time it refuses to cleanly shutdown there is nothing displayed to tell me why.

Is there even an option to have windows show what it's doing when it shuts down instead of the often untruthful 'Windows is shutting down' message?
Haha, unfortunately for me that age was 23... I'm 24 now and still dealing with knees that I almost destroyed via my love for martial arts...

I totally agree that stem cells may not be needed but it would be amazing if scientists got to explore all of the possibilities, rather than just the ones people weren't afraid of for a number of un-informed reasons...
We are looking at fixing this.

There will be a free eval that will not require you to buy until you are ready to test/deploy on the device.
Yes, it's true that "it is perfectly expected that calling setHeight() on a Square will also change its width," which is why Square has its own class. However, if Square is subclassed from Rectangle, some Squares will be called in a context where setHeight is intended to be called on a Rectangle.

Consider if you have a collection of rectangles, and you called SetWidth on all of them (say you selected a column of rectangles and wanted to narrow them), you would not expect that two out of nine of your collection also changed its height.

If you have cached computations that depend on the rectangles' height (e.g. totalHeight of the column), your cached computations are now wrong and you are none the wiser.

Sure at this point we both know that there is a Square subclass of Rectangle that does different things, and we know I threw in a couple Squares into my array of Rectangles, but the key point is this:

The programmer who created the array of Rectangles might not know about Squares.

The Square class could have been written much later than her code, and suddenly you have violated the assumptions she was relying on, and guess who is going to be blamed for breaking the app?
Storing your ideas is very different from hoarding them. You can't give your ideas way if you never retain them longer than they fleet in your mind.

Storing, remembering them, and evaluating ideas is a real concern for me.
Selling Your Story: PR for Startups with Peter Shankman
Super detailed project site: http://www.sergebrunier.com/gallerie/pleinciel/index-eng.htm...

Ze software, she is french:
http://www.autopano.net/en/ and clever: http://www.autopano.net/en/photo-stitching-solutions/feature... and ze enterprise, he is profitable: http://www.autopano.net/en/contact-kolor/about-us-kolor.html

Merci beaucoup.
He might be now. Check out Lowercase.

http://www.crunchbase.com/financial-organization/lowercase-c...
Oh, well, that sounds great then. Thanks for the reply. One thing though: you mention in your post to the ML, "removing things with low test coverage, poor docs or things which
simply are not the best option". I just hope, along with that, you have the other side of the coin: liberally bring in new things which have good test coverage, good docs, and which are a pretty darn good option. :)
What Does the SAT Test?
If you use setFoo() and getFoo() then you are not using OOP at all.

Encapsulation is simple thing - just write setters and getters for all your internal data and you done. ;-)

PS.

«If the classes are immutable, there is no problem with this state of affairs. Circles satisfy all invariants of ellipses; and an (immutable) circle can be used in any context where an immutable ellipse is expected.»
Good article, I remember seeing these guys awhile back with their first couple apps. They definitely have it down, useful tools with user friendly designs.
I count a belief in "the singularity" as to some degree religious. Composed of equal parts millennialist eschatological zeal, denial of the lack of compelling evidence for the emergence of the requisite strong AI, and even its own Heaven (see "Rapture of the Nerds"), Singularitarianism is usually where your religiously inclined hacker ends up.
Javascript XEyes
Yup. That's what I was referring to. It's new, but he's been investing for a while now.
The "Encore Effect"
Advantages:

Easy to get a server running: just install tomcat or jetty on your production machine, sftp the war file and it automatically deploys.

Init.d scripts are tricky to write and get right, by using a tested script from a distro things tend to work out of the box.

Monitoring -- easy to hook in some monitoring script that can reboot tomcat or jetty should the server stop responding.

Techops generally know how to deploy a .war file -- I would not feel comfortable telling someone to learn lisp just to deploy a webapp.

pretty interesting with swank -- need to look into that.
Don Dodge is a MSFT man
The AI adapts to the current situation, making any position of the turtles perfect...
Making Passion part of your life is a choice, one that needs to be made on a daily basis, where the focus is on the journey, not the end or the beginning. Passionate people have the ability to do what others do not even think to do because they are operating from a place of drive and enthusiasm for life!
Sigh.

Those who do not read Quine are doomed to reproduce his results, as I remind people every time Uncle Bob or someone else of the cabal starts going off on this problem:

http://www.reddit.com/r/programming/comments/7zy40/writing_u...
I liked manywaffles.com so much I purchased it! You are a jibber-jabber naming guru.

Thanks!
My point still remains.
America can't be the world's tech leader without immigration reform.
TC50: The Internet Is Killing Itself Softly With Remnant Ads
Interview with Philip Zimbardo
We've gotten consistently sub-100ms latencies from EC2 instances, relatively predictably.
Great work, guys. There's a huge opportunity for cross-vendor cloud infrastructure and I think you're in a great position to own the market.
Habbo: Crée ton avatar, décore ton appart, chatte et fais-toi plein d'amis.
As I said:

Not saying it's infallible, and you should always back up your data (Amazon can't prevent things like natural disasters - this is the point of backing up in general - you can't predict), but if you're going to act like you gave good examples, at least give good examples.

If that's what you call categorically denying that it can happen....

Again, please find a case in the last 2 years even.

I think we both agree you should back up your data, and as an IT policy it's obviously incorrect to ever think you're 100% safe, and if you use S3 you should still be redundant if you want to get closer to that 99.9% limit. But you'll never be 100% - that's life.

The only reason I defend S3 so heavily is that compared to the other options you'd be using instead of (or better: in concurrence with) S3, it's probably among the safest, data loss wise.
What about the rhombus?!
By the way, what would happen if all karma was reset?