skysight-inc/HackerNews huggingface dataset:
I think it's a requirement of PCIe for devices to support DMA to memory with 64-bit physical addresses.[1] In any case, the hardware clearly supports it in the case - the bug was that a 32-bit I/O vector was being passed off to the hardware claiming to be a 64-bit one, and subsequently interpreted as such.

The situation was certainly bad with classic PCI - I have an nForce5-based motherboard whose PCI bus silently truncates 64-bit DMA buffer addresses to 32 bits. The onboard ethernet chip does in principle support 64-bit DMA, so I was getting all sorts of weird behaviour after upgrading my RAM from 2 to 6 GiB. The southbridge chip in question is now blacklisted for 64-bit DMA in the Linux kernel.

The 32-bit DMA cutoff isn't the only such constraint on buffer physical addresses of course; historically, ISA devices could only DMA to 20-bit addresses IIRC (or was it 24 bits?). I wrote an OS X driver for the virtio paravirtual ethernet adapter a while back[2] and its I/O buffers must be 4K page-aligned (low 12 bits 0), and its high bits are specified by a 32-bit number. This means you can only use buffers with physical addresses which fit in 44 bits. That's 16TiB, which are probably still a way off but could conceivably be reached not too far in the future. Current x86_64 CPUs certainly support 48 bit physical addresses in principle.

[1] That doesn't mean hardware bugs don't exist, but at least it's part of the basic spec now, as opposed to being tagged on later as for PCI.

[2] http://github.com/pmj/virtio-net-osx
Sublime Text Workflow That Beats Coda and Espresso
ISPs voluntarily rolling out the backdoor-SOPA program "Graduated Response"
Really? What do you want?

We want women to shut up and stop telling us that there's a problem with how we behave, because it's rude to tell people there's something innately wrong with their behavior. Also it takes so much time and effort on our parts to try and behave like better people that it hardly seems like we should bother.

The problem, for many people, is not that the issue is being handled indelicately. It's that the issue is being brought up at all. Aren't there already systems that are supposed to handle discrimination, in private, so that we don't have to witness it being discussed firsthand? Why are people so self-centered that they have to make every innocent joke about politics or gender or society? I just thought it was funny that Dave said something that sounds like sex talk, and wanted all of you to know! And don't you know that men are discriminated against just as much as women?

As you can see I've got perfectly rational explanations for why I'm so irritated by women calling out sexist behaviors. I want them to stop calling things sexist so that I can stop worrying about their feelings.
I think you can use SQLAlchemy in the context of Django to assist creating custom & complex SQL queries. You don't necessarily have to use SQLAlchemy and replace Django's ORM.
DjangoStack 1.4
The whole 20th century was total mess for Europe and the East. That there were no global wars after 2000 doesn't mean 21st century will be less horrible, given the amount of warfare present.
And it's unavoidable to mention that really sucessful people are mostly suspects of being unethical, because of historical issues (and the most public and rich people usually are, like most politicians)

The sad thing is, this doesn't seem to be changing at all anytime soon, despite people brainwashed by the government saying that this is the best time ever for the country.

My philosophy to stay sane is avoid reading most of the common trend topics and most of the news, and just work hard hoping to have some financial security for the future (which is not an easy thing to achieve here)
Halfway through the article, I couldn't help thinking - "If she can't convince her co-workers to turn off a bot she finds offensive, the place is caustic".

This isn't really solving anything. The only difference between this and a well-deserved "fuck you" to the co-workers is it's done in a polite and clever way. It's a smart move, because it makes her look good and anyone who complains look like a sore loser (reversing the situation).

It's annoying that the situation exists, but at least she's handling it well.
FWIW a PAN card is a photo id document that has a tax payer identification number. You can use it to open bank accounts too.

Cash deposits into a bank above a certain amount need a PAN number.

It is widely used as an id document in India (where a passport or voter id document was once used).

I didn't know people without Indian citizenship could get PAN cards.

PS. One way of handling Indian bureaucracy is by hiring a middleman (say a tax consultant) who handles the necessary formalities, including bribes and leg work.

India is what India is.
If you are going to do something, do it Big
But we're in a 'brave new world' now where you don't buy things anymore (i.e. own them), you just purchase a license to use it! ;-)
Disagree, Django Rest Framework and TastyPie make REST APIs effortless: write Django models, register them with the REST plugin, hook the plugin to your main URL structure. They're a really good example of how Django enables reuse.

Implementation-wise they both hook into the model framework and the form framework, although you can swap out those parts if your data lives elsewhere.
Basically you're saying "Lighten up".

There is a problem of gender representation in tech. We need to do something about it.
Uhm I guess it's about common sense and not being an engineer all the time!!

If someone would call a pizza place in reality saying they wanted 11 equal pieces, they would have answered that at most they could have the pizza cut in some slices! :D HA!
The other of the Book was in the Econtalk podcast (talking about the book). I highly recomend it.

http://www.econtalk.org/archives/2012/03/acemoglu_on_why.htm...
Whoops, I'm sorry. I read your:

> THAT is most likely the cause of the frustration of her co-workers

and thought you said:

> THAT is most likely the cause of her frustration of her co-workers

I'm sorry for calling you out on something you didn't actually say. Although I feel that if one annoying bot is okay with her coworkers, a second, more sophisticated bot shouldn't raise too many hackles – especially if it only ever follows the first.
> RE to me is not, and has never been, a bad noun/verb though I often see others frowning upon it.

Perhaps because it was associated with breaking proprietary software and people still retain this image.

At the moment, the department where I work is officially called "Reverse Engineering Department" and I see nothing wrong or illegal in the work I do.
Chance of making a profit after making angel investments
Huh, it had never occurred to me that some women would be offended by that joke. In my mind, it was sometimes somewhat amusing because it turns the statement your friend just made into one about a penis.

I was going to say that now I'll be on the lookout for statement about clams, things that are wet, and so on, in order to bust out a TWHS, but it seems to me that it could be construed as just as offensive to women, because again it reinforces the idea, apparently, that men just think of women as sexual objects. Lose-lose.

Personally, I don't think either TWSS/TWHS is "sexist", but they're certainly not appropriate for a work environment.
I haven't looked into why TeX distributions (looking at you TeX Live) are so big these days, because it mostly doesn't matter. I suspect that I could take almost everything I write today and typeset it on your Amiga without too many problems.
> jokes about what women say in bed are acceptable

If they're actually funny (most of the "That's what she said" jokes are not), why not?

I can also totally imagine the following situation:

Coworker: Did I come too early?
Another coworker: That's what he said!

Come to think of it, men are also under a lot of pressure in bed, so such jokes are just as in/appropriate as jokes about women in bed.
Pyramid.

http://en.wikipedia.org/wiki/Pyramid_%28web_framework%29

* faster.

* better quality (100% statement coverage via unit tests)

* supports latest python.

* great documentation (including free up to date book). There's also a separate pyramid cookbook.

* simplicity. If you just see a pyramid app, you can dive right in fairly easily without learning lots of alien stuff.

* sensible defaults, and you can choose to swap out parts easily if you want (templates, ORM, etc).

* works well with other python software, doesn't bundle everything in, with NIH syndrome.

* great tools. like the web console that drops straight into a debugger when an exception happens on the page you're looking at.

The framework that starts with D is a legacy framework (doesn't even support python3 yet).
Wealthy? Doesn't the US have massive debt?
sure hope they patched that too!

The patch appears to discard the DMA flags coming from user space, and instead applies the ones that are correct given the kernel's knowledge of the buffer.

But yes, this is ultimately a kernel bug - specifically one of the driver's userspace API.
These days I do most of my LaTeXing as an export from org-mode in emacs. Org-mode allows me to use convenient markup notation, and uses sensible defaults when exporting to LaTeX.

It keeps me happy, especially when exporting slides to Beamer, LaTeX based presentation tool.
Build it in Django. Django was born at a local newspaper, and was specifically designed for the kind of projects that online newspapers tend to have (relatively straight forward publishing model, super-tight deadlines, extensible to handle all kinds of crazy unexpected requirements in the future).

A small photo sharing app that deals with occasional intense traffic spikes sits bang in the middle of Django's sweet spot (I'd suggest investigating the Django cache_page decorator, or maybe looking at integrating with Varnish).
I get that expired link nonsense even if I immediately start reading the comments. It works only if I skip reading most of the comments.
Nokia will begin selling its Windows phones in China
Exactly. It was amazing how quickly, at my last place, standups devolved from

...recounting verbally what one did the previous day...

...to marking one's progress on a whiteboard...

...to having to write down on an index card beforehand and turning it in to the IT director after the scrum meeting (in addition to the above).

With the boss (and sometimes, the CEO) in attendance, there was no chance of an honest verbal exchange about roadblocks etc.

Good metrics for measuring coding progress are so elusive, I can't imagine management NOT trying to mess with pure agile principles if tight deadlines and delivery dates are at stake.
I think inventing typesetting languages that compile to TeX might partially solve the problem and make the whole typesetting experience more pleasant, since TeX is already a capable typesetting system, and has a rich ecosystem, and TeX engines are already capable of producing high-quality documents, but the hard part is writing TeX documents.
So what haml is to HTML, or say CoffeScript to javascript, a new language could be to TeX.

so inventing new, easier to use typesetting languages that use TeX as an underlying system might be a good solution..
Yes, ads (etc.) that portray people as bad based on their gender are wrong. However men are still in an advantageous position.

widespread anti-male laws

They are small in number compared to the widespread anti-female laws and customs.
The title is inaccurate - according to the article if you have the #1 position you increase your clicks by 50%. The 96% increase is for positions 5 and below.
'suffers' probably isn't the right word.

Flask is designed under the assumption that you will most likely use third party frameworks for stuff like database abstraction and input validation.

It's kinda neat in that regard, and if you prefer to work that way then more power to you.

But I believe Web2py gets the balance between 'batteries included' and 'find your own damn batteries' right.
I have a hard time imagining anyone here seriously saying, "Whether or not it's racism related is irrelevant."

But I agree that men generally don't mind Bob with his hourly cracks about women (and maybe gays). That's why men swear up and down that they've never seen sexism in their workplaces. Because we simply can't see it. (And our society is sexist, so sexism is kind of like air.) Hard to imagine that silly ol' Bob is doing anything so impressive as "reinforcing patriarchy."
I like cherrypy too! :) It's like my secret python weapon.
"...And we have found that aside from water and organic material.."

Surely finding organic material is an incredibly big deal, yet it's mentioned in passing. I feel as though I'm missing something fundamental here.
Considered charging less for the full product (say $10), and simply having multiple versions available as you post major new releases?

That way, users always have a way to downgrade to previous versions as needed, you probably get more customers due to the entry price, and everyone just understands that the latest version is available for $10 more.

That seems to be the whole app store model: lower prices, more sales -- no "upgrades" in the classic sense. And, with a low enough entry price, I think users would be accepting.

If they don't buy the latest, as a developer you're no worse off than you are today (where they get the latest for free).
True, agile is a collection of "very small nuggets of common sense wisdom". But one thing that often gets missed is that common sense is often very hard to implement properly; this is where a good agile trainer will help.

I can think of dozens of changes I should make to my every day life based on common sense (don't get stressed, spend more time with firends and familly, save for the future etc). Why don't I do them? Because it's difficult to align these "simlple" truths with the overall complexity of my environment and competing pressures. There's always complexity in the system, agile just simplifies one part and moves complexity into other areas e.g. having a highly trained and skilled team.
Historically this is a proven strategy exercised by all empires and there is nothing new to it: expand and enrich your citizens in good times and milk them in tough times; rinse and repeat.
Youth as an Advantage (in B2B)
i like web.py also. not sure it is has tons of feature like the others but it is pretty simple to develop for and just works.
IOS Web App Icons & Startup Images
I don't think it's a sad thing. For most websites and apps, Django is perfectly great and has things like patterns so if you want to genericify some of your code and use it on another site, you can just modularise it in an app. Flask has extensions and blueprints, but I find it far less friendly.
I use both and personally if I'd have to generalize I would say Django for simpler stuff and Flask for complex stuff.

Flask is great if you're going to do a complex app. All the interface will be custom designed (so the Django admin is of no use). You have a database heavy app, SQLAlchemy is more flexible than Django ORM and allows greater SQL expression, Unit of Work etc. Jinja2 is more flexible then Django templates (and faster). Flatland is more flexible than Django forms (supports nested forms for example).

That being said, Django is also great for some large apps and just for example it's great for news sites where new types of content is added each day and the admin interface saves a ton of time. For simple apps it's also brilliant because everything that's in Django works well together and you don't need the extra features of the aforementioned libraries.

So to sum up, both great frameworks and I use both every day :)
> I am not saying that being patient is a the right way to fix the bureaucracy, but being patient looks to me like the right way to navigate your way around.

Or just avoid situations involving bureaucracies instead of bending over for them.
Flash Will Now Require Developers To Pay 9% OF Their Sales
Shotwell Reaches 0.12.0, Finally Gets Support For GTK3
Agree with this 100%. Transparency and communication are key when you have more than one or two people on a team.
> We want women to shut up and stop telling us that there's a problem with how we behave...

> As you can see I've got perfectly rational explanations for why I'm so irritated by women calling out sexist behaviors.

> I want them to stop calling things sexist so that I can stop worrying about their feelings.

> I just thought it was funny that Dave said something that sounds like sex talk, and wanted all of you to know! And don't you know that men are discriminated against just as much as women?

I honestly can't tell if you are being serious or just being very convincing at acting like an immature brat. Considering you're on HN, I'll make the assumption that you are in fact more mature than this, and suggest you update your comment to make it a tad more clear that you are in fact just mocking people that actually think this way.

That being said, it's sad that I could actually see someone really believing this.
Wireless Highways to charge electric Cars
As an alternative viewpoint

* It's complicated

* It doesn't really do much for you (have to spend lots of effort/time/learning plumbing in all the 3rd party libs)

* Lacks sensible defaults for many things

* Documentation is rather lacking. Oh, there's tons of it, but it's rather maze-like and hard to use if you don't actually understand the system. High-level overview/cookbook type stuff is severely lacking.
Bigger is Better : Peter the Elephant Plays with Samsung Note
And if that complaint results in the rule "no bots on IRC," she wins.

She has co-workers who are ignoring how their thoughtless behaviour is impacting her, even after she's told them. She'd be entirely justified taking it to HR, but instead she's social engineering a more subtle solution. Nice work!
> If they're actually funny (most of the "That's what she said" jokes are not), why not?

It depends on the audience. I think that sexist jokes are in as poor taste in a workplace as racist jokes would be. I'd also be against black jokes or Mexican jokes or Jewish jokes or jokes about Catholic pedophilia. Even if the extent of the joke was something like "I'm not going to the pub with you all, I'm such a Jew", I'd feel uncomfortable; if somebody wrote a bot that was designed to repeatedly make those jokes, I'd be upset.

As Jessamyn says:

> Now, I admit to having made this joke myself, at times. Once in a while, I even find it funny. What I don’t find funny is a bot we have in our general IRC channel at work, that has some basic AI devoted to determining when to interject TWSS into the conversation.

And the joke is not that women say funny things while in bed. The joke is, "Oh, that thing you just said reminded me of fucking a woman." It's funny in high school when everybody's a virgin, and I've found that as my college friends have gotten themselves laid, it's ceased to become very amusing. The same way I haven't heard a black or Mexican joke in a few years that managed to rise above its racism to become even remotely amusing.

Jokes about people having sex can be funny; "that's what she said" will always be a joke the brunt of which is the faceless fuck-object woman. Maybe that's fine in moderation, especially if "that's what he said" jokes are mixed in, but I think we all agree that if somebody's feeling upset by the jokes, it's not a huge loss to our comedic palettes to have to find another source of humor, right? We're all capable of rising beyond that?
We make jokes about black guys having long dicks...

Which is, in a way, a joke about white guys (precisely because you never say a joke about white guys having long dicks).
Pirate Parties International Conference Takes Place Next Month
Next month, the 2012 Pirate Parties International conference gets underway in Prague, Czech Republic.
Bash-style clear in Python
In Soviet Union people had no property rights but there were millions enthusiastically working for the future. Now there are property rights and everybody fights for them. Also, investment bankers economics is killing the West too.
I really hope that companies like SpaceX reduce the cost of space travel to the point where we can send out more probes to check things like this. It's early days for private space travel, but I think the next 10-15 years are going to be very exciting.
Crowdfunding bill backed by US House of Representatives
I was worried about people thinking I meant what I said when I wrote it. Then I decided that maybe the fact that people could theoretically take it seriously was a good reason to keep it how it was.
Those micro-frameworks are designed to make a hello-world app very short and to the point. There's one (aspen.io) that uses the ^L character as a section separator to achieve maximum concision: setup, request handling, optional template. No space is wasted on function blocks or explicit registration calls.
Identity Gone Wild Cloud Edition
Can you give an example? In almost all states, if the wife gets pregnant by another man, the man is still on the hook for child support for the next 18+ years... even if she divorces him and marries her lover.

I can't think of an equivalent anti-female law with such devastating long-term impact on the woman.

I know this message might be off tangent for the HN board. But if we're discussing anti-female sexist culture and try to erase every incident of women being treated unfairly even in the slightest way, I think it should be allowed to point out that in today's culture, men are also often treated extremely unfairly... and you don't see scores of women jumping to their defense (like the men did in the "Lighten up" thread).
The government has significant debt. It owes quite a chunk of that money to the people of the U.S. (no really) and there is plenty of wealth split up among the citizens (I suppose much of the private debt is also owed to other U.S. entities).

Even setting those factors aside, the debt represents ~1 year of economic output for the U.S., the infrastructure and goods sitting around in the country represent much more than that.
I'm slightly surprised that VoiceServices API is still private on iOS. It must not be too far from the current state of the art, because automated appointment reminders now sound like the Mac TTS.
`The golden rule is: rebase your own stuff all day long, as much as you want. Don't rebase once you've published.`

This is a great rule of thumb, which I have had to repeatedly drill into my team-mates. The crux of the problem, I've come to realise, is that people can't differentiate between a "local" commit and a "published" commit.

Git tutorials need to focus a bit more on the nature of git than on simply showing the basic operations.
Inbound Marketing & Content Strategy More Insights From the Philly SEO Community
"Organic" in this context just means carbon chemistry.

http://en.wikipedia.org/wiki/Organic_chemistry
I don't have the reference to hand, but it's worth noting that when women use only 20% of conversation time, they are perceived by a group to be dominating the discussion.

The same thing is in effect here, basically. A bot with a very limited purpose is being seen as causing significantly greater disruption.