archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
retrieved_on
stringlengths
10
10
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
True
nixonrichard
null
People die all the time. If you want to be entertained by 1000 hp flying machines, you're assuming a certain amount of risk and you KNOW you're assuming this risk. "Oh, I want the expensive seats so I can be right next to the one ton chunks of aluminum that travel 400 mph!"
null
0
1316246494
False
0
c2kiie1
t3_kidbz
null
t1_c2kiie1
t1_c2kihdk
null
1427611224
-2
t5_2fwo
null
null
null
True
taogepacs
null
Doesn't look like you can back up your claims at all. There's not point in bringing you further discussion, since all you can do is troll. Enjoy yourself then :>
null
0
1316246506
False
0
c2kiif4
t3_kejfs
null
t1_c2kiif4
t1_c2kel1k
null
1427611224
2
t5_2fwo
null
null
null
True
omervk
null
It's in the works :)
null
0
1316246580
False
0
c2kiijy
t3_khtwb
null
t1_c2kiijy
t1_c2kemkg
null
1427611230
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316246620
False
0
c2kiimk
t3_khn6y
null
t1_c2kiimk
t1_c2kbitn
null
1427611225
2
t5_2fwo
null
null
null
True
gronkkk
null
IMO, yes. Django's ORM (which is especially sucky) has raw sql access, but it is documented as 'the ORM should be good enough for most of your work, but if you think really need it, you can use raw sql. But most of the time you shouldn't need it.'
null
0
1316246932
False
0
c2kij6y
t3_ki83r
null
t1_c2kij6y
t1_c2kii6n
null
1427611231
2
t5_2fwo
null
null
null
True
dang234what
null
Seriously. I would so rather apply at promising startups than the usual "trading company, must work well under pressure"
null
0
1316247033
False
0
c2kijdq
t3_khx0u
null
t1_c2kijdq
t1_c2kgo6x
null
1427611232
3
t5_2fwo
null
null
null
True
kaaskop42
null
Why?
null
0
1316247103
False
0
c2kijir
t3_kgqnz
null
t1_c2kijir
t1_c2kb038
null
1427611233
2
t5_2fwo
null
null
null
True
[deleted]
null
People in the planes may have known there was a risk - I'm pretty such the people in the stands ON THE GROUND didn't think they'd die. Seriously dude, what you said was in poor taste. In this situation, the last people to make fun of are the random people that just happened to be on the ground.
null
0
1316247408
False
0
c2kik2m
t3_kidbz
null
t1_c2kik2m
t1_c2kiie1
null
1427611236
3
t5_2fwo
null
null
null
True
bonzinip
null
The grace period is ~1 year. More than enough to look at a random __public__ piece of open source code, make it a patent, and sue the pants off the author.
null
0
1316247443
False
0
c2kik4q
t3_khvyw
null
t1_c2kik4q
t1_c2kifx9
null
1427611238
-1
t5_2fwo
null
null
null
True
romwell
null
There was once a Javanese fisherman, and one day when he was fishing he saw a mermaid and fell in love. So, naturally he tries to be with her, but it turns out that she was married and actually a merwife. Her husband challeneges the fisherman to a duel, which he accepts. But since he couldn't breathe underwater he drowned and died. Back in Java, the fisherman's son tries to reclaim his inheritance, but is refused. "Why?" he asks, and the response is: **"Java doesn't support duel inheritance."** -+-+-
null
0
1316247599
False
0
c2kikep
t3_khpzu
null
t1_c2kikep
t3_khpzu
null
1427611250
3
t5_2fwo
null
null
null
True
nixonrichard
null
You're telling me they don't have any sort of disclaimer on the ticket? 20 people had already died over the course of *this* air show. CLEARLY the assumption that it's safe is a bad one, and everyone should have been aware of that. Yeah, making jokes after people died is *never* in good taste, but you can't pretend like these deaths are some sort of super-special tragedy. People died while engaged in a historically very dangerous activity. Such is life.
null
0
1316247601
False
0
c2kikf1
t3_kidbz
null
t1_c2kikf1
t1_c2kik2m
null
1427611240
0
t5_2fwo
null
null
null
True
bonzinip
null
> Still bad for the little guy vs. corps, but not as bad as dismissing prior art altogether. Considering there is a _1 year_ period before filing where prior art is not considered, it is incredibly bad for anyone vs. corps. In fact, I think software patents were made tolerable only by the fact that they were a concern only in the US, and the US was first-to-invent.
null
0
1316247607
False
0
c2kikfd
t3_khvyw
null
t1_c2kikfd
t1_c2khcgq
null
1427611240
0
t5_2fwo
null
null
null
True
the_opinion
null
Not only *can* you use SQL with the average ORM layer, most of them *actively encourage this*. [RoR's ActiveRecord docs](http://ar.rubyonrails.org/) "Admit the Database: Lets you drop down to SQL for odd cases and performance Doesn‘t attempt to duplicate or replace data definitions" [The very first page of Hibernate's dox](http://docs.jboss.org/hibernate/core/3.6/quickstart/en-US/html/hibernate-gsg-preface.html) "Hibernate’s design goal is to relieve the developer from 95% of common data persistence-related programming tasks by eliminating the need for manual, hand-crafted data processing using SQL and JDBC. However, unlike many other persistence solutions, Hibernate does not hide the power of SQL from you and guarantees that your investment in relational technology and knowledge is as valid as always." A quick Google of "eliminate the need for SQL" shows mostly people quoting this article, or ORM dox saying "doesn't eliminate the need for SQL". The odd corner ORM lib that nobody actually uses crops up, but what does that tell you? If you want to be a hero and hand-whittle everything from scratch while beating your manly real programmer chest, go ahead. Stop blogging about it, you've got tedious boilerplate to write, and I don't.
null
0
1316247669
False
0
c2kikip
t3_ki83r
null
t1_c2kikip
t1_c2kifw9
null
1427611241
17
t5_2fwo
null
null
null
True
Otis_Inf
null
Oh please, can we stop re-posting this troll post? The author has no clue what O/R mapping is all about, yet tries to paint a picture that the author DOES know what he (she?) is talking about. O/R mapping isn't about storing objects in a database, it's about using a system which makes you transfer an entity instance (i.e. the data) from one instance of the projection of an abstract entity definition to another (table row <-> class instance) in such a way that the entity instance on both sides means the same thing so you can manipulate one through the other, in a paradigm different from the other (i.e. manipulate the entity instance in an OO environment and persist these changes into the environment where the real instance lives, the RDBMS (which is set oriented)). The irony is: if you think the author is right, and you use something else to read/write data from an RDBMS in an OO application, you still do more or less what an O/R mapper does too. Unless you use a non-RDBMS, in which there's no translation necessary and the two instances of the projection of an abstract entity definition on both sides is equal (i.e. the class). Btw, ORM is the acronym of Object Role Modeling (a post-NIAM design methodology for abstract entity models by prof. T.A. Halping cs.), something else entirely (although you could use Object Role Modeling for defining your models to use with an O/R mapper).
null
0
1316247680
False
0
c2kikjf
t3_ki83r
null
t1_c2kikjf
t3_ki83r
null
1427611241
32
t5_2fwo
null
null
null
True
the_opinion
null
Doesn't read as "eliminate the need" to me.
null
0
1316247786
False
0
c2kikqp
t3_ki83r
null
t1_c2kikqp
t1_c2kij6y
null
1427611253
15
t5_2fwo
null
null
null
True
[deleted]
null
Dude, someone could die walking down the street by a runaway vehicle. Just because they knew cars were driving by doesn't mean they are in anyway to blame by a mechanical failure in a vehicle. Thousands of people go to airshows all over the country every year. Ever hear of the Blue Angels? Those are a squadron of fighter jets that do all sorts of crazy maneuvers above crowds. And no one dies. And when accidents happen, they are super rare. So NO, a person walking on the ground at an airshow should not have cause for alarm. They weren't sitting at the end of the runway or directly in front of where planes needed to land. And as far as jokes, there IS a time you gotta wait. You can't do it right when something happens because you'll come across as an ass. And if it's something where a person dies, it's usually even longer. About the only exception I know of recently was when the creator of the Segway died after his Segway went over the edge of a dropoff. I mean, stuff like that is hard not to tilt your head and be like, "Really?" But stuff like this...this is really crappy. No different than a passenger jet crashing a killing people who didn't expect anything to happen.
null
0
1316247961
False
0
c2kil2a
t3_kidbz
null
t1_c2kil2a
t1_c2kikf1
null
1427611248
3
t5_2fwo
null
null
null
True
klti
null
I always thought that SIGSEGV was uncatchable - guess thats only SIGKILL.
null
0
1316248070
False
0
c2kil8r
t3_khip6
null
t1_c2kil8r
t1_c2kc9n4
null
1427611250
0
t5_2fwo
null
null
null
True
learc83
null
If the open source codes is public, then it counts as prior art and would invalidate the patent. It has nothing to do with the grace period, and nothing to do with the change to first to invent. The grace period only covers the person who published the prior art. So the inventor's own prior art wouldn't invalidate his patent as long as he files within a year. It doesn't by any interpretation mean that if you publish something, it's open season on your invention for anyone else to patent for an entire year.
null
0
1316248225
True
0
c2kilhq
t3_khvyw
null
t1_c2kilhq
t1_c2kik4q
null
1428193816
10
t5_2fwo
null
null
null
True
neftalydotcom
null
This being Intel, I would think so, especially considering that their FF plugin is open-source.
null
0
1316248323
False
0
c2kilnt
t3_ki1gj
null
t1_c2kilnt
t1_c2kekmh
null
1427611262
1
t5_2fwo
null
null
null
True
gronkkk
null
Yeah, when I entered my reply I already knew you would read it the literal way. It's about the *intention* of a framework, not about 'oh, but if you use this bolted-on kludge you can do what you want, so *technically* we are't making that claim. But in practice, we are, and in practice, people are spending way too much time on our stupid, handicapped ORM, thinking how they could write queries which look like reasonable sane SQL using our ORM-methods.'
null
0
1316248603
False
0
c2kim4k
t3_ki83r
null
t1_c2kim4k
t1_c2kikqp
null
1427611268
0
t5_2fwo
null
null
null
True
infinite
null
I have a feeling that the people using ORMs and hibernate are too busy doing actual work while blowhards are left to write blogs. I like how the author touts his/her 15 years of experience. To me that's pretty sad if you've worked 15 years and you're still retarded. Another reason why I don't write blogs. I'd upset too many people.
null
0
1316248713
False
0
c2kimbf
t3_ki83r
null
t1_c2kimbf
t1_c2kikip
null
1427611277
10
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
> Do any ORM libs make that claim? That's the point of ORMs. EDIT: ["Hibernate’s design goal is to relieve the developer from 95% of common data persistence-related programming tasks by eliminating the need for manual, hand-crafted data processing using SQL and JDBC."](http://www.reddit.com/r/programming/comments/ki83r/orm_is_an_antipattern/c2kikip)
null
0
1316249010
True
0
c2kimst
t3_ki83r
null
t1_c2kimst
t1_c2kii6n
null
1427611277
-3
t5_2fwo
null
null
null
True
blergh-
null
There's no convincing you. We'll see what the future brings us.
null
0
1316249730
False
0
c2kinye
t3_kg2sg
null
t1_c2kinye
t1_c2kid09
null
1427611286
2
t5_2fwo
null
null
null
True
heronote
null
Share Google Plus API Manual: http://www.heronote.com/files/Google-Plus.htm
null
0
1316249737
False
0
c2kinyp
t3_kgsnl
null
t1_c2kinyp
t3_kgsnl
null
1427611286
1
t5_2fwo
null
null
null
True
Neebat
null
Two things happened, from what I can tell. I'm going to speculate a bit, but here's what I know... 1. The tail of the plane was damaged in a way that would make it difficult to fly, but not cause a crash. In the hands of a pilot that good, it wasn't enough to cause a hard landing, but for safety reasons, he would pull out of the race. 2. The pilot responded, according to protocol, and flew upward, signalling mayday in the process. (Can't fly any other direction in those conditions.) 3. At that point, AFTER the initial breakdown, something else went wrong. The plane did something really, terribly wrong, and planted nose first into the most expensive seats at the event. Now, I've got a theory on what happened between #2 and #3. When you pull back hard on the stick of a plane going at 400mph, you experience G-forces. If you're in the top tier of pilots physically, that's not a problem. The pilot was 74 years old, and in AMAZING physical condition, for someone that age. He was in the second tier, with class 2 health certification, but from what I've read tonight, that doesn't mean his heart was ready for the G-forces that hit him when he pulled up that hard. The FAA will investigate. They have to, to find out if the same problem is going to show up in any other old war birds. That's their job, even though that one was rebuilt and redesigned for high-speed racing in ways that made it unique in the world. It won't really help. That plane burst into thousands of bits when it hit the ground, and the pilot inside did the same, so we'll probably never know what caused the accident. But I think maybe the pilot lost consciousness. Hell, he might have been dead before it hit. The first sign of a heart problem is lethal a whole lot of the time.
null
0
1316249910
False
0
c2kio7v
t3_kidbz
null
t1_c2kio7v
t1_c2ki6t8
null
1427611288
2
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
> The most obvious problem with ORM as an abstraction is that it does not adequately abstract away the implementation details. That's the point. ORM frameworks are leaky abstractions. You need to know not only SQL (HQL, JPQL, ...) but also the intricacies (configuration, caching, bugs) of the ORM framework.
null
0
1316250513
False
0
c2kiohg
t3_ki83r
null
t1_c2kiohg
t3_ki83r
null
1427611289
9
t5_2fwo
null
null
null
True
henk53
null
I see, thanks for the extra clarification. Yes, code generation is a very powerful (though somewhat black magic if abused) technique...
null
0
1316250531
False
0
c2kiohx
t3_khpzu
null
t1_c2kiohx
t1_c2ki880
null
1427611289
1
t5_2fwo
null
null
null
True
Daishiman
null
Django's ORM is easily extensible and works for 95% of all retarded "get object by id". Seriously, the extra() and raw SQL methods are very, very well documented and work great. Sure SQLAlchemy's ORM is better, but the sheer amount of SQL that you avoid writing is just too much of a productivity boost.
null
0
1316251203
False
0
c2kip8w
t3_ki83r
null
t1_c2kip8w
t1_c2kij6y
null
1427611303
2
t5_2fwo
null
null
null
True
Daishiman
null
Not really. I have never heard of an ORM that does. There's not a single tutorial that doesn't mention the fact that you may drop to raw SQL when needed. There's a reason why most ORM's methods to print the final SQL are easily accesible to the user.
null
0
1316251278
False
0
c2kipc4
t3_ki83r
null
t1_c2kipc4
t1_c2kimst
null
1427611301
6
t5_2fwo
null
null
null
True
[deleted]
null
That's insane. Going too fast can actually make your heart stop????
null
0
1316251396
False
0
c2kiphm
t3_kidbz
null
t1_c2kiphm
t1_c2kio7v
null
1428193814
2
t5_2fwo
null
null
null
True
[deleted]
null
> every big company is simply trying to be the first to get their foot in the door, regardless of how absurd the patent is. To file a patent takes approx $15K (varies). Companies don't patent stuff unless it can return more value.
null
0
1316251564
False
0
c2kippn
t3_khvyw
null
t1_c2kippn
t1_c2kg2z7
null
1427611305
0
t5_2fwo
null
null
null
True
Neebat
null
Lots and lots of things can make your heart stop, and before you're 74 years old, odds are something will. But it's not the speed that fucks you up. It's the sudden change in speed. Commercial airliners go 600mph all the time, and they don't do any kind of medical screenings to go onboard those. But when you take a plane from going horizontally at nearly 500mph and turn it to straight up at 200-300mph, you generally want to take some time doing it. Or, if you do it in under a second, it forces the pilot into the seat hard enough to drain the blood out of your brain and spring leaks elsewhere. (Or, depending on orientation, it might slam him into his seat belts very, very hard.)
null
0
1316251694
False
0
c2kipvt
t3_kidbz
null
t1_c2kipvt
t1_c2kiphm
null
1427611306
1
t5_2fwo
null
null
null
True
forcefsck
null
> Yeah, when I entered my reply I already knew you would read it the literal way. I wouldn't expect programmers to read it the non-literal way. /joke A woman asks her husband, a programmer, to go shopping: *-Dear, please, go to the nearby grocery store to buy some bread. Check if they have eggs, then buy 6.* Twenty minutes later the husband comes back bringing 6 loaves of bread. [source](http://www.reddit.com/r/funny/comments/blstf/programmer_jokes/)
null
0
1316251702
False
0
c2kipw7
t3_ki83r
null
t1_c2kipw7
t1_c2kim4k
null
1427611308
6
t5_2fwo
null
null
null
True
Carnagh
null
Fair point... I think they'd surely close that loophole but it is rather cunning on your part to observe that.
null
0
1316251892
False
0
c2kiq4r
t3_kgl4f
null
t1_c2kiq4r
t1_c2kdppa
null
1427611317
1
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316251902
False
0
c2kiq5c
t3_khvyw
null
t1_c2kiq5c
t1_c2kikfd
null
1427611317
1
t5_2fwo
null
null
null
True
[deleted]
null
Wow. I really had no idea. I mean, it makes sense when you think about it...but I never really thought about it before. I guess because I figured since the internal part of a plane was pressurized differently than the outside, no change would be felt inside (except for maybe some shaking, feeling you getting pressed back into your seat). So is there no way to get around this high speed effect on the human body? No sort of suit or harness or anything like that?
null
0
1316251919
False
0
c2kiq69
t3_kidbz
null
t1_c2kiq69
t1_c2kipvt
null
1427611317
2
t5_2fwo
null
null
null
True
Bamafan
null
Completely disagree with all the negative comments here. Assuming you are writing non-trivial applications, it is *highly* likely you've bumped into the corners cases that aren't handled very well by ORM "solutions". It's always tough to argue about these things online without knowing the background of the developers. If you're writing a fairly complex DB driven app (70+ tables, outter joins, bidirectional association of object collections, etc) with non-trivial object relationships (mapping Enumeration in Java, primary keys covering multiple objects, mapping over legacy DB, etc), you WILL run into situations that just aren't well covered by the ORM authors, if they're covered at all. One or two of these corner cases will blow through all the alleged time savings you gain by using an ORM. The seduction of ORM is this -- initially it DOES seem to work. You initial project development WILL be faster. The author mentions as much right at the very beginning. But also as the author mentions, the shortcomings prop up later...and the developer jumps through many, many hoops trying to get around them. So many hoops in fact, that on many (most?) projects, they'd have been better of NOT using the ORM. I suspect a lot of developers in love with ORM don't run into the corner cases I mentioned above (i.e. working on relatively simplistic db applications).
null
0
1316251923
False
0
c2kiq6k
t3_ki83r
null
t1_c2kiq6k
t3_ki83r
null
1427611317
15
t5_2fwo
null
null
null
True
Dested
null
Entity framework, and linq to sql to very well at this actually. This article is awful
null
0
1316252025
False
0
c2kiqbv
t3_ki83r
null
t1_c2kiqbv
t1_c2kii6n
null
1427611312
0
t5_2fwo
null
null
null
True
gronkkk
null
Oh, for 'get object by id /name/whatever' it works. But I frequently find myself needing stuff like 'I want the most recent record from a group of versions of names, based on a user given name' -- and then it gets ugly pretty quickly. And it's not so much the SQL, but the handling of SQL rows in python where you need to write large amounts of boring code -- make a query, fetch the rows, check for results not None, convert them to your own data structures, etc.
null
0
1316252088
False
0
c2kiqen
t3_ki83r
null
t1_c2kiqen
t1_c2kip8w
null
1427611313
5
t5_2fwo
null
null
null
True
lolomfgkthxbai
null
It felt like he assumed his readers have ADHD and need funny breaks to keep reading the article.
null
0
1316252172
False
0
c2kiqiv
t3_khip6
null
t1_c2kiqiv
t1_c2kfu8d
null
1427611315
8
t5_2fwo
null
null
null
True
matthieum
null
One question about the grace period, since you seem to understand it very well. Suppose I invent something and make it known. If Bob attempts to file it during the grace period *before* I do, it will get rejected (prior art). Will mine get accepted though ? I am still within the grace period, but someone just tried to patent it and got rejected. The question behind, obviously, is about the ability for big companies to "spy & file" to prevent others from getting patents.
null
0
1316252203
False
0
c2kiqjz
t3_khvyw
null
t1_c2kiqjz
t1_c2kilhq
null
1427611315
1
t5_2fwo
null
null
null
True
Bamafan
null
In my experience, this is NOT a straw man at all. In my experience, many, many developers begin using ORMs because they think it allows them to do data persistence without knowing anything about SQL. No ORM library I've used ever says that you need to be a SQL expert before even thinking about using it. The closest I can think of is iBatis (Java library)...but then that library doesn't try to hide SQL from you like most ORMs. So YOU may be more clueful and perhaps everyone you know is more clueful. I'm going to go ahead and call you lucky. I get many calls from businesses/recruiters trying to hire guys with knowledge of some ORM in order to unravel the clusterfuck implemented by some developer who *initially* thought they knew what they were doing, but quickly ended up deep down a rabbit hole.
null
0
1316252288
False
0
c2kiqnr
t3_ki83r
null
t1_c2kiqnr
t1_c2kii6n
null
1427611319
6
t5_2fwo
null
null
null
True
[deleted]
null
... or you could just use Scala, where it is a feature supported by the language and not shoe-horned on top of Java. *sigh*
null
0
1316252351
False
0
c2kiqql
t3_khpzu
null
t1_c2kiqql
t3_khpzu
null
1427611330
0
t5_2fwo
null
null
null
True
Neebat
null
Several things help: 1. Fighter pilots (who are most likely to do high-g turns) are mostly young. 2. They have special leggings that support the lower body and squeeze blood into the upper body where it can keep the brain working. (Unclear if a racing plane would use these when they were scraping out every last ounce of unnecessary weight.) 3. Pilots who are going to be doing high-g maneuvers are sometimes pretested for tolerance to g-forces. Even in healthy people, it varies from one to another. Better to pass out in a test harness than a cockpit. Over all, those aren't procedures you'd bother with on a plane that old, which originally wasn't capable of that kind of speed or acceleration. Changing the pressure in the cockpit doesn't change the affects of sudden acceleration. (Those pressurized leggings are a different story, because that's uneven pressure on one part of the body.) Besides, a pressurized cockpit adds a lot of weight, and there's no reason to do that when the race is going to stay low anyway. They'd sell a lot fewer tickets if they flew up where the air is thin. I should add, this is /r/programming, not exactly the place to find an expert. My brother-in-law flew a bomber, but that's the closest I've ever been to a plane that could pull a move like that pilot did.
null
0
1316252397
True
0
c2kiqsg
t3_kidbz
null
t1_c2kiqsg
t1_c2kiq69
null
1427611330
1
t5_2fwo
null
null
null
True
[deleted]
null
Then I would say the original patent runs out and any renewal only covers the drug+new dosing mechanism.
null
0
1316252599
False
0
c2kir1x
t3_khvyw
null
t1_c2kir1x
t1_c2khtpx
null
1427611325
2
t5_2fwo
null
null
null
True
[deleted]
null
If you look at his "[In defence of SQL](http://seldo.com/weblog/2010/07/12/in_defence_of_sql)" article, you'll find this: > MongoDB is awesome, and I'm probably going to be building a production system based on it quite soon. Hahahaha, fuck this guy and his opinions.
null
0
1316252616
False
0
c2kir2q
t3_ki83r
null
t1_c2kir2q
t3_ki83r
null
1427611325
3
t5_2fwo
null
null
null
True
learc83
null
If the other person's patent was rejected only b/c of your prior art, and you file within the grace period you should be fine. However, there is a big caveat here. If your invention isn't very well known, e.g., some obscure niche software, there is a big chance that the examiner wouldn't find your prior art during a prior art search. So, they would grant his patent. You could invalidate it if you could provide proof of prior art, but you'd have to spend money. By the way, I'm not an attorney. All my knowledge comes from research I've done trying to invalidate a patent that threatened my business, through proof of prior art.
null
0
1316252745
True
0
c2kir8c
t3_khvyw
null
t1_c2kir8c
t1_c2kiqjz
null
1427611328
2
t5_2fwo
null
null
null
True
Bamafan
null
This is EXACTLY the problem with ORMs and many other frameworks. Not only do you have learn the framework with all its various quirks/oddities, but you ALSO have to be an expert in the thing that was "abstracted" away. In most cases, you'd be better off simply learning the thing one level underneath the abstraction and throwing the framework out the door! Definition of projects I'm referring to for reference: 70+ table, db driven app, with unusual associations (bidirectional association of enumerations or compositive keys) and strange reporting requirements that aren't mappable to the application model. As I said above, if you've developed non-trivial projects like this, it's *highly* likely you've run into ORM corner cases that blew through any "time savings" the ORM would have provided. There are veeeeery few projects in this class where the ORM is providing any real medium- or long-term benefit (beyond initial development).
null
0
1316252829
True
0
c2kirco
t3_ki83r
null
t1_c2kirco
t1_c2kiohg
null
1427611328
5
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
> If you're writing a fairly complex DB driven app With ORMs you lose the ability to query the database, i.e. to get arbitrary views of your data, which is essential for any application (not just reporting). ORMs let you navigate through object graphs (getParent(), getListOfChildren()) which is entirely different from 'structured querying'. Just try to create reports with an ORM framework ...
null
0
1316253078
False
0
c2kirnj
t3_ki83r
null
t1_c2kirnj
t1_c2kiq6k
null
1427611330
-5
t5_2fwo
null
null
null
True
QuestionMarker
null
I'm using Mozilla Nightly, and can never find compatible versions of extensions I like to use.
null
0
1316253170
False
0
c2kirr4
t3_kghid
null
t1_c2kirr4
t1_c2k9j2k
null
1427611333
1
t5_2fwo
null
null
null
True
skulgnome
null
**tl;dr**: ORM is not the anti-pattern. Declaring that ORM must be used for all data access in this application is the anti-pattern. (Really, substitute "ORM" and "data access" in that with "length-prefix strings" or "GNU indent style" or whatever.) Lemme tell you, it's a heck of a lot more convenient to write a bit of business logic (ugh, I know) on top of something that extends an ORM class, than it is to write that same crap as functions over the current row in a result set. Beep, beep, modify this field, modify that, save, you're done (also, your program just made your employer's customer about fifty bucks, so efficiency isn't that big a deal). A containing transaction may commit or roll back but that's beyond that module's scope. See what I said there? This way, you've suddenly got database applications where significant chunks of application logic may deal with a relational, transactional database but don't have to give a rat's ass about it being either of those things. That said, there's parts in every database application where SQL is more convenient. I'd hate to grovel over an array of redundant objects instead of an ordinary `while(my ($id, $something, @the_rest) = $stmt->fetchrow_array)` loop, for instance.
null
0
1316253490
True
0
c2kis5d
t3_ki83r
null
t1_c2kis5d
t3_ki83r
null
1427611336
9
t5_2fwo
null
null
null
True
biggerthancheeses
null
Eliminating the need for SQL is not the point of ORMs (or at least the entire point), or else Hibernate would not let you make queries using SQL strings. The point of an ORM is to establish a conversion layer between data in the program and data in the DB. ORMs try to cut down on SQL, yes. But in case that level of convenience is not possible for your purposes, Hibernate lets you write SQL queries. I imagine other ORMs do this as well, but I haven't looked into them.
null
0
1316253721
True
0
c2kisff
t3_ki83r
null
t1_c2kisff
t1_c2kimst
null
1427611339
9
t5_2fwo
null
null
null
True
kosievdmerwe
null
Cool, thanks I'll check out the link.
null
0
1316253728
False
0
c2kisft
t3_khtwb
null
t1_c2kisft
t1_c2kg9wj
null
1427611340
1
t5_2fwo
null
null
null
True
the_opinion
null
I'm gonna assume you're trolling. If not, please replace this post with "Whoosh!"
null
0
1316253891
False
0
c2kismw
t3_ki83r
null
t1_c2kismw
t1_c2kimst
null
1427611342
0
t5_2fwo
null
null
null
True
the_opinion
null
What developers do != what the framework claims it does. Hibernate is pretty clear from the outset, that a good knowledge of the relational model, and SQL, is a massive benefit to using Hibernate. The dox even give examples of when raw SQL is preferable.
null
0
1316254086
False
0
c2kisvj
t3_ki83r
null
t1_c2kisvj
t1_c2kiqnr
null
1427611345
14
t5_2fwo
null
null
null
True
matthieum
null
Don't worry, living and working in France I don't really depend on this knowledge for a life-threatening issue so approximations are fine :) Thanks for the clarification.
null
0
1316254094
False
0
c2kisvz
t3_khvyw
null
t1_c2kisvz
t1_c2kir8c
null
1427611345
1
t5_2fwo
null
null
null
True
Fuco1337
null
I'm going to be a bit informal here. The difficulty of a problem is the difficulty of the fastest turing machine. If you ask if proving P=NP is NP problem, there has to be an NP turing machine that decide it WRT some input *length*. The proof is always constant length. *IF* we know P=NP is decidable, than we can be sure there exist a TM that just prints out the proof and say yes. If it is not decidable, there can't be such a TM, and each and every solution we try will not halt. This does not concern finding the proof.
null
0
1316254267
False
0
c2kit3w
t3_kgfhb
null
t1_c2kit3w
t1_c2k9t2h
null
1427611348
1
t5_2fwo
null
null
null
True
the_opinion
null
Of course I read it the literal way. Why wouldn't I? Don't turn me into the bad guy because you didn't express yourself clearly. The intention of an ORM is baked into the name. It maps between an object model and a relational one. Taking a result set and injecting the values into an object instance is tedious, repetitive code. You'd have to be an idiot not to at least try and automate it yourself. So why not take it one step further and let someone else do it?
null
0
1316254497
False
0
c2kitdt
t3_ki83r
null
t1_c2kitdt
t1_c2kim4k
null
1427611352
3
t5_2fwo
null
null
null
True
expertunderachiever
null
Well, when you book millions of dollars in software sales you can tell me what you name your accessible-to-customers objects.
null
0
1316254597
False
0
c2kitil
t3_j35ew
null
t1_c2kitil
t1_c2kgow8
null
1427611355
0
t5_2fwo
null
null
null
True
the_opinion
null
Reports are one of the classic cases that Hibernate *recommends* you use raw SQL for.
null
0
1316254604
False
0
c2kitiy
t3_ki83r
null
t1_c2kitiy
t1_c2kirco
null
1427611355
5
t5_2fwo
null
null
null
True
Fuco1337
null
Broken is a bit strong. What if the polyfactor is n^A(10,10) ? Nothing at all would change.
null
0
1316254651
False
0
c2kitl5
t3_kgfhb
null
t1_c2kitl5
t1_c2k2yk3
null
1427611355
1
t5_2fwo
null
null
null
True
the_opinion
null
Nothing stopping you building views, and mapping your objects to them instead of tables. Quite a common approach, in fact.
null
0
1316254675
False
0
c2kitm9
t3_ki83r
null
t1_c2kitm9
t1_c2kirnj
null
1427611355
9
t5_2fwo
null
null
null
True
Fuco1337
null
And how fast is it to pick a median? :O
null
0
1316254816
False
0
c2kitsl
t3_kgfhb
null
t1_c2kitsl
t1_c2k58wd
null
1427611359
2
t5_2fwo
null
null
null
True
the_opinion
null
But....but...it's web scale.....
null
0
1316254853
False
0
c2kitu8
t3_ki83r
null
t1_c2kitu8
t1_c2kir2q
null
1427611358
5
t5_2fwo
null
null
null
True
darth_choate
null
Why? Every other country uses a first-to-file law. Now the US does too.
null
0
1316255283
False
0
c2kiuci
t3_khvyw
null
t1_c2kiuci
t1_c2ki80z
null
1427611365
3
t5_2fwo
null
null
null
True
nCrazed
null
SilverLight, really? -_-
null
0
1316255343
False
0
c2kiuf2
t3_kii9z
null
t1_c2kiuf2
t3_kii9z
null
1427611366
-15
t5_2fwo
null
null
null
True
Gotebe
null
What a load of pretentious cack! ORM is an abstraction, and as every abstraction, it only goes so far in terms of performance, simplicity or capabilities. As such, one should use it as far as p/s/c satisfy. Author purposefully downplays all of p/s/c for the sake of argument. Second, author disregards one major empirical truth: in many-a-business, data outlives the application more often than the other way around, and access to data outside the application, through well-established and generic tools à la SQL, is important to many-a-business. It's cute to say "I claim that the abstraction of ORM breaks down not for 20% of projects, but close to 100% of them.", but the actual truth is "ORM breaks down in X% of needs of these 100%". (I am purposefully abstaining from being pretentious and offering the actual value for X ;-)).
null
0
1316256178
False
0
c2kivip
t3_ki83r
null
t1_c2kivip
t3_ki83r
null
1427611381
10
t5_2fwo
null
null
null
True
[deleted]
null
>It's full implementation of ECMA standard as patent pledge is granted to only full implementations and or its supersets. Neither mono nor the official .NET runtime limit themselves to ECMA. In fact I would say almost nobody writes an application in either runtime that only limits itself to ECMA. >That's understandable. It's understandable but you were claiming it's a massive selling point for it. >Again, you would have to rewrite UI for each OS, but core business logic could be shared. Your business logic would not be in the phone. >I just restated both reasons. They provide an indirect benefit to Microsoft by validating their platform. This is going nowhere let me try again. What percent of the MS DevDiv use mono on a regular basis. Can you answer that question?
null
0
1316256227
False
0
c2kivky
t3_kgl4f
null
t1_c2kivky
t1_c2kf531
null
1427611390
0
t5_2fwo
null
null
null
True
[deleted]
null
Do you have any numbers? What percent of the MS DevDiv team eschew Visual Studio and instead use Mono toolchain.
null
0
1316256283
False
0
c2kivn6
t3_kgl4f
null
t1_c2kivn6
t1_c2kcm7f
null
1427611383
0
t5_2fwo
null
null
null
True
UloPe
null
> I'm also going to try to be very brief, You failed.
null
0
1316256315
False
0
c2kivo7
t3_ki83r
null
t1_c2kivo7
t3_ki83r
null
1427611383
0
t5_2fwo
null
null
null
True
HerrMax
null
Doh! Your browser doesn't seem to support Silverlight or HTML5 video or we don't have an HTML5 video for this one. Why can't they tell me if there is even a HTML5 Version.
null
0
1316256372
False
0
c2kivqr
t3_kii9z
null
t1_c2kivqr
t3_kii9z
null
1427611386
-10
t5_2fwo
null
null
null
True
[deleted]
null
>I develop my software using visual studio, taking advantage of one of the best debuggers and IDEs in the biz, and deploy to open source software running on inexpensive linux servers. Be mad. BE VERY MAD. I would I be mad. That sounds like the most insane thing ever. Why wouldn't you just deploy to windows servers? Honestly anybody who developers in WIndows and deploys to linux ought to have their head examined.
null
0
1316256385
False
0
c2kivra
t3_kgl4f
null
t1_c2kivra
t1_c2kbvoh
null
1427611393
-1
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
Workaround for a leaky abstraction (BTW, I do that in my current job).
null
0
1316256406
False
0
c2kivse
t3_ki83r
null
t1_c2kivse
t1_c2kitm9
null
1427611393
2
t5_2fwo
null
null
null
True
[deleted]
null
[deleted]
null
0
1316256605
False
0
c2kiw1p
t3_khvyw
null
t1_c2kiw1p
t3_khvyw
null
1427611391
2
t5_2fwo
null
null
null
True
ErstwhileRockstar
null
BTW, the term 'ORM' is completely misleading. ORM frameworks map database records to language-specific records. No object-orientation whatsoever involved. RRM would be an appropriate name.
null
0
1316256666
False
0
c2kiw4n
t3_ki83r
null
t1_c2kiw4n
t3_ki83r
null
1427611399
-1
t5_2fwo
null
null
null
True
[deleted]
null
Yes, lame.
null
0
1316256941
False
0
c2kiwh0
t3_kii9z
null
t1_c2kiwh0
t1_c2kiuf2
null
1427611395
-6
t5_2fwo
null
null
null
True
titoonster
null
You don't have to install local help you know.
null
0
1316256965
False
0
c2kiwie
t3_kg44k
null
t1_c2kiwie
t1_c2k2p7f
null
1427611395
1
t5_2fwo
null
null
null
True
Gotebe
null
>> (or it requires you to say, breaking the abstraction). >I fail to see how asking for what you want 'breaks the abstraction.' That's exactly what you do in SQL - you either say give me everything or give a list of what you want. It's the exact same abstraction. Oh, that's a really good observation. In fact, it's better than that. So you annotate (or whatever) specific fields for eager loading, fine. You also get other fields if you need them. Sure, at a price, but hey, you don't need to change the code at all to get efficiency back, which is not something you get with either SQL or noSQL.
null
0
1316256968
False
0
c2kiwip
t3_ki83r
null
t1_c2kiwip
t1_c2khuhq
null
1427611395
6
t5_2fwo
null
null
null
True
[deleted]
null
* Silverlight: lame. * .Net: lame. * Microsoft: lame.
null
0
1316257121
False
0
c2kiwq0
t3_kii9z
null
t1_c2kiwq0
t3_kii9z
null
1427611398
-39
t5_2fwo
null
null
null
True
h2o2
null
That particular brainfart is specific to Guice and has nothing to do with "DI" in general.
null
0
1316257162
False
0
c2kiwro
t3_khpzu
null
t1_c2kiwro
t1_c2kerlh
null
1427611400
3
t5_2fwo
null
null
null
True
the_opinion
null
Not a leaky abstraction. You are looking at the wrong thing. ORM does not abstract a database.
null
0
1316257270
False
0
c2kiwwi
t3_ki83r
null
t1_c2kiwwi
t1_c2kivse
null
1427611400
11
t5_2fwo
null
null
null
True
IanCal
null
As others have said, it's not 100% branch coverage. Your code is the same as: public String pathExample(boolean condition){ String value = null; if(condition){ value = " " + condition + " "; return value.trim(); } else { return value.trim(); } }
null
0
1316257354
False
0
c2kix0c
t3_khhdj
null
t1_c2kix0c
t1_c2kcci1
null
1427611401
1
t5_2fwo
null
null
null
True
bonzinip
null
Happy to know I'm wrong (and I hope you're right ;)). However, (as said below) there is a huge chance that the examiner wouldn't find your prior art---and I add, it's huge even if the software isn't obscure/niche. So, wouldn't your competitor also have one year of time to fabricate evidence of independent invention, and be fine as long as he files first?
null
0
1316257830
False
0
c2kixlm
t3_khvyw
null
t1_c2kixlm
t1_c2kilhq
null
1427611407
1
t5_2fwo
null
null
null
True
[deleted]
null
Apart from that minor "You need Silverlight/proprietary stuff", the presentation is great. The idea behind it is brilliant, and if you don't want to work on .NET, Scala will support this too.
null
0
1316257910
False
0
c2kixp3
t3_kii9z
null
t1_c2kixp3
t3_kii9z
null
1427611409
0
t5_2fwo
null
null
null
True
bjarkeebert
null
Python is certainly becoming a very strong platform for numerical computing and statistics. I think it will get a lot of the market share of R and Matlab.
null
0
1316258004
False
0
c2kixt1
t3_khx5g
null
t1_c2kixt1
t3_khx5g
null
1427611410
5
t5_2fwo
null
null
null
True
Sc4Freak
null
HTML5 working fine for me. If it's not working for you for some reason, you can just select one of the three download links.
null
0
1316258040
False
0
c2kixuw
t3_kii9z
null
t1_c2kixuw
t1_c2kivqr
null
1427611411
15
t5_2fwo
null
null
null
True
day_cq
null
download the video and watch it with your video player. why do you even trying to watch a video in the web browser?
null
0
1316258074
False
0
c2kixx0
t3_kii9z
null
t1_c2kixx0
t1_c2kivqr
null
1427611413
1
t5_2fwo
null
null
null
True
Strilanc
null
Proving a problem has no structure you can exploit is not easy. No one has managed to do it yet (in the P vs NP sense). Computational complexity can be very non-intuitive. Consider the problem "can this planar graph be colored with N colors?": - N=2: Linear time because it's so restricted. - N=3: NP-Hard - N=4: Constant time (always possible due to 4 color theorem)
null
0
1316258295
False
0
c2kiy7l
t3_kgfhb
null
t1_c2kiy7l
t1_c2k2ihl
null
1427611415
3
t5_2fwo
null
null
null
True
donkey_lz
null
> I've heard it said with XML too. I've seen it *done* with XML. By an ex-boss. I still hate him.
null
0
1316258700
False
0
c2kiyq7
t3_ki52y
null
t1_c2kiyq7
t1_c2kftcb
null
1427611422
0
t5_2fwo
null
null
null
True
beeff
null
For some applications, the heavy focus on instruction-level parallelism of the Radeon GPUs give better results. In the field of cryptography Radeons can go up to 2-3x faster than an equivalent NVIDIA.
null
0
1316258801
False
0
c2kiyuo
t3_khryi
null
t1_c2kiyuo
t1_c2kdlvi
null
1427611424
6
t5_2fwo
null
null
null
True
xenu99
null
might be a good coder, but he is not a good story teller or writer. It was disjointed and left out the actual method he finally stumbled upon to track down the error. It's like reading the opening page of a murder mystery and the last page. He omitted the meat in the middle.
null
0
1316258930
False
0
c2kiz11
t3_khip6
null
t1_c2kiz11
t1_c2kigma
null
1427611426
3
t5_2fwo
null
null
null
True
beeff
null
I'm very interested in this, especially since the application I'm looking for using on the GPU has the same strided access pattern (or load and store permutation) as in the cooley tukey FFT algorithm. It seems too complex to use the texture fetch units for it, but the access pattern is completely static and determinable at compile-time.
null
0
1316258978
False
0
c2kiz3p
t3_khryi
null
t1_c2kiz3p
t1_c2kgmkn
null
1427611427
1
t5_2fwo
null
null
null
True
greenspans
null
cancer. post haskell things instead
null
0
1316259015
False
0
c2kiz5a
t3_kii9z
null
t1_c2kiz5a
t3_kii9z
null
1427611428
-42
t5_2fwo
null
null
null
True
mongreldog
null
How about downloading it first - no need for Silverlight. Then perhaps give an informed and reasoned opinion of the technology on show. Try to control any primitive pavlovian reactions.
null
0
1316259229
False
0
c2kizg2
t3_kii9z
null
t1_c2kizg2
t1_c2kiwq0
null
1427611431
3
t5_2fwo
null
null
null
True
donkey_lz
null
No, this is still an utter disaster. There is no provision that will stop the incompetent dumbasses from the Patent Office from granting patents on which the existence of prior art is common knowledge. The doubly linked list is an idiom learned by programmers at least since the early 1980s and there's a patent on it, indicating that the ones who granted this patent don't even know what it referred to. This is not working in the favor of small companies. It is still working in the favor of large companies who can simply use the large expenditure of a court trial to extort the small companies.
null
0
1316259282
False
0
c2kizis
t3_khvyw
null
t1_c2kizis
t3_khvyw
null
1427611433
5
t5_2fwo
null
null
null
True
kierank
null
There is also a very good tutorial by the lead x264 developer which would be a useful followup if you wanted to learn x86 SIMD. http://wiki.videolan.org/X264_asm_intro It does however work within x264's asm abstraction layer, which is a VERY powerful tool for writing x86 asm.
null
0
1316259369
False
0
c2kizn5
t3_khxzd
null
t1_c2kizn5
t3_khxzd
null
1427611434
2
t5_2fwo
null
null
null
True
TheJosh
null
>why do you even trying to watch a video in the web browser? youtube?
null
0
1316259931
False
0
c2kj0hz
t3_kii9z
null
t1_c2kj0hz
t1_c2kixx0
null
1427611445
3
t5_2fwo
null
null
null
True
skulgnome
null
That series is hells of rambly. He's done very little editing, and writes as though he'd learned by being barked at by a dog that's larger than he is.
null
0
1316259938
False
0
c2kj0ia
t3_khryi
null
t1_c2kj0ia
t1_c2kig9y
null
1427611445
1
t5_2fwo
null
null
null
True
audaxxx
null
You are so right and saved me from writing about the same post myself. Sqlalchemy is the bestest ORM I've ever used and I never hit a point where I needed to write raw SQL or breaking the abstraction in any way. It does what I need: Translating multiple rows from different tables into one object, session management, laziness everywhere, easy query language and it is fast, too. >This leads naturally to another problem of ORM: inefficiency. When you fetch an object, which of its properties (columns in the table) do you need? ORM can't know, so it gets all of them Nope. SQLalchemy and even Hibernate fetches properties in a lazy way if you don't force it. >If your data is objects, stop using a relational database. The programming world is currently awash with key-value stores that will allow you to hold elegant, self-contained data structures in huge quantities and access them at lightning speed. Oh noez, a hipster! >in my experience, the best way to represent relational data in object-oriented code is still through a model layer: encapsulation of your data representation into a single area of your code is fundamentally a good idea. And you can easily do that "even" with an ORM ಠ\_ಠ
null
0
1316260399
False
0
c2kj17b
t3_ki83r
null
t1_c2kj17b
t1_c2khuhq
null
1427611456
6
t5_2fwo
null
null
null
True
audaxxx
null
ORMs are not meant as a complete abstraction. They exist to implement redundant stuff like creating objects from specific rows, syncing your models with the database, session management, etc. They are usually not meant to let you ignore your database, they should just help you. Of course there are shitty ORMs that just suck at helping you.
null
0
1316260603
False
0
c2kj1ip
t3_ki83r
null
t1_c2kj1ip
t1_c2kirco
null
1427611458
12
t5_2fwo
null
null
null