skysight-inc/HackerNews huggingface dataset:
His point is that when you're using gdb in your C code, the higher level language that called your C code (Erlang, Tcl, whatever) is opaque.

That is, if when looking at your C code, you realize "the only way this variable can have this value is if my higher level code has this other value..." you can't easily inspect the higher level code in your debugger.

Unless gdb is more powerful than I'm giving it credit for. Does it allow cross-language debugging from Tcl to C, and back to Tcl?
My own experience with that sort of thing was Lisp calling C through an FFI. In the end, it was too much of a pain and I found a Lisp-only way to do it (it helps that SBCL has POSIX system calls available).

Debugging was definitely an interesting one. The Lisp debugger was easily confused by problems in the C code (in fact, I cannot think of a time when it was not confused), and running the entire Lisp environment in gdb was just annoying. In the end, when I debugged, I just wound up strategically placing printf calls in the C code and tracing things manually.

Of course, this is not a problem of languages, but of tools. What this says is, "When a language includes an FFI, it must also include a good debugger for the FFI." Not necessarily easy, but not impossible by any means. With enough free time, I suspect that the more experienced programmers on HN could produce such tools for any high level language.
Thanks for the reply. The Heller case does seems pertinent, though I'm unable to find concrete information on JF funding the Heller case beyond the conservative blogosphere.

> now we have his actions as a President to judge

Again, so far these actions are nothing more than mainstream liberal boilerplate about background checks, "assault rifles", "cop-killer bullets", etc. While this could be the first salvo in an attempt to undo the 2nd Amendment entirely, it doesn't meet my burden of proof. It feels up there with Naomi Wolf's "You just wait, Cheney's gonna declare martial law any day now!" in 2007.
Sydney is 10 times larger than Portland. Having lived in lots of different cities, large and small, I think 300-500k is the sweet spot for me. Any larger and I feel like you start suffering from quality of life issues - pollution, traffic, overcrowding, traveling distances, crime etc.
Good advice, we're going to try and do the same.
Top 3 White House petition categories: Civil Rights, Gov Reform, Human Rights
I don't believe this is a new development.
Now this is how you do a "Mega launch". From the man who "can't do small".
The curse of the north bay is the lack of trains. BART runs to the east bay, but not the north.

The ferry is basically worthless if you don't actually live in San Rafael. It's a nice ride, but very slow, and not cheap.

Personally, I quite like the bus system: if you don't mind taking the bus, Golden Gate Transit is great. The commute from somewhere like Novato is still long (1hr) but you can use the time to sleep or listen to audio books. Be sure to check the schedules of the express routes you care about: they end kind of early (~6, 7pm) and the non-express routes that run longer take easily twice as long.

Driving is a different story. There are three things to consider: 1) leave early, like 5ish, especially if you're north of marin 2) if you work in the financial district, the time to drive from the edge of SF to parking is substantial and 3) you can park in the financial district itself, but this will cost you around $25/day.

I suppose there's a fourth thing to consider re: driving which is that your drive home is almost guaranteed to be painful if you have to go beyond San Rafael and are not car pooling.
Google to build £1bn UK headquarters at London's King's Cross
Gnome overlays the root window, so anything you write to it is not displayed. Thus, they broke existing functionality.

(http://galahad.armoredpenguin.com/rootwindow/)
The double-click menu is a bit non-intuitive, but I think the issue stems more from the perceptual "flakiness" in its detection.

Also, rather than showing a modal dialog once/doing it "under the paper", I'd track an incomplete save to camera action (incomplete swipe/swipe in progress) (btw, awesome abstraction with the full swipe!) and showing the 100->0->100% alpha transition hint "doubleclick the = area for sharing options".

Other than that little glitch this is an _awesome_ app with no extra bells and whistles. Totally keeping it for my napkin sketches!
So then there's no payment to you guys ever? Interesting.
I understand - what kind of licensing terms would you find acceptable?
I might be a little late to the party, but if you're in San Francisco or looking to move here, you should really attend a San Francisco Hacker News event. We throw movies, meetups, poker games, dinners, and soon to be hackathons.

Visit us at http://sfhackernews.com/

We'd love to meet you!
DHS Media Monitoring Analysts' Desktop Binder (REDACTED)
> I would strongly disagree that anywhere in the Middle East is a nice place to live (besides Israel)

Precisely! Israel has notoriously high taxes: if you're going to make an argument about how high taxes and socialism (literal socialism, as in state-owned companies) are a bad idea, this is one country where you can confidently do this. I (and many Israelis) would agree that Israel could probably benefit from lower taxes, more privatization, and less regulation. Ironically this is why, despite being Jewish and strongly "pro-Israeli", I oppose foreign aid to Israel: it helps prop up an inefficient system in Israel and serves as corporate welfare for US arms manufacturers (I think some of it has explicit provisions that it must be spent with, e.g., Colt or Lockheed-Martin as opposed to IMI or IAI).

Yet, go up to any Ayn Rand fanatic and ask them if they'd prefer to live in UAE/Qatar/Bahrain or in Israel. They'll say they'd prefer Israel as it's a socially liberal, democratic state, that recognized basic individual rights.

Democracy and individual rights require an entire infrastructure of impartial judiciary, tightly scrutinized police, a citizen's army that can defend the borders against immense odds. A socially liberal populace is the end-result of education. None of those things are free.

There are indeed countries that are pleasant on the surface (i.e., are not Somalia), and have very low tax rates without relying on natural resources. Almost always they either a) have high amount of "hidden" inequality (some states in the US, some countries in Asia and Eastern Europe) b) are police states (Singapore) c) are both (Middle East)

I would also say states in the "a" category (with most favorable outcome -- individual rights, inequality of opportunity and income, but equality before the law) also on average have higher tax rates than states in "b" and "c" categories.
Do you know what "Go back to /r/politics" means?
I would suggest to go get some exercise, getting active and listening to good music gets the negative energy out of your body. If you're lonely at home chat with the guys in irc #startups.
That's a good call IMHO. I find this intriguing but I wouldn't know where to start to get the art work and wouldn't want to throw down $1000 just to find out whether my idea appealed to the marketplace.
Well most such games go on to add in-app purchases. If you never did, we certainly wouldn't force you to. In that case there would indeed never be any payment to us.
Have you thought that maybe you pay so bad, that those are the kind of developers you get to be around, and therefore build judgement and assume they are introverts, or don't properly communicate?

Social HR huh? Yeah.
> If they are taking those charges to trial, and they were in this case, it means they are seeking those penalties.

I don't think this is true. I think they just want to make sure they can convict him if they can prove lesser charges but can't prove the main charge.
keep an eye on http://gosillk.com - all your travel wishes will soon come true.
Time Warner, net neutrality foes cry foul over Netflix Super HD demands
That's definitely interesting, but I was thinking more recruiting as an industry. That feels more like a recruiting hack, which may be where industry disruption starts.
Definitely the plan at some point. What kind of terms would you like to see offered?
An MMS API For The Next Generation of Mobile Apps
"The tooling and library ecosystem of C is absolutely second to none, and there's an enormous community out there that consists of some of the smartest programmers you will ever meet."

Conspicuously absent from this statement is, "the language features make you more productive," or, "smart programmers using this language are doing things people thought were impossible." The issue with C (and even more so with C++) is that the language features almost always work against you.
> ... I suspect it has something do with how "fungible" the code is when you're done. Will your design let you make small design changes with relatively small and localized code changes, or has your complicated template/inheritance-based design "locked up" your code into a particular pattern, where changing any of the design assumptions requires "unwinding" a highly intertwined structure?

I'd say that this is right on the money.

I think it is true that hardcore OOP (along with similarly complicated constructions) gives benefits to the designer who chooses a good and appropriate structure. But, due to the idea you mentioned, it severely penalizes even mildly poor designs, or designs that need to change.
I have colored outside the lines plenty of times... both good and bad. And when it got me in trouble (which is has), I took my punishment. The people doing the act and the people standing on the sidelines and those that benefit from the act can think the act is "effectively harmless" or that there was no intent to do "serious harm" all they want. But there is always someone on the other end of it. Aaron's actions (and the efforts to stop/prevent them) caused servers to go down & legit access to be cut off. That caused harm to others. Maybe that isn't the same definition of "harm" that you use but you don't get to dictate what others feel is harmful or not any more than I do.

Whether it is cultural or whatever, I don't think what he did was noble at all. And hardly a stunt. He started downloading for free all the documents that were otherwise behind a pay-for-access service that placed limits on what a person could get at. He used various methods to circumvent attempts to prevent him from doing it. He took measures to conceal his activity. Those seem to be the facts that no one disagrees about. This has little to do with defending the status quo.

But we can agree here. It is also my opinion that Aaron should not have been facing prison time. We have prisons overflowing with bad people that have caused far greater chaos and pain than Aaron. Aaron probably should have had a lengthy house arrest and a hefty fine. Maybe restricted use of computers, etc. And that very well might have been what he would have ended up with if he'd stuck it out.
Well they had to write their own sharding implementation which is something that 99% of startups wouldn't want to be doing. Combine that with a pretty terrible list of replication options and PostgreSQL is far from being ideal when it comes to scalability.
Agile development methodology poses risk to talent strategies
If AP classes don't give credit, I wonder if this will lead some students to graduate high school after three years.
I know that the AP system is under-fire, but this just screams money grab technique to me...
That's not at all what I'm saying. The fracking wasn't the source of the contamination (directly or indirectly).
Formula Engine Rewrite
sounds like a commercial and i find these sponsored studies suspicious but I didn't know about the site before and it looks interesting.
Chiming in, hello! The two or three I personally see most frequently don't seem to be aware of this thread yet.
I'm using C++ right now but tend to write very "thin" C++ that is mostly C-like. I just like the object syntax for grouping things together, I sometimes do use a little bit of templates/inheritance when it makes sense, and I like the STL core data structures. C has nothing like STL -- no good portable data structure library. (STL isn't that great, but it's passable and ports to everything.) Operator overloading is nice in places, like with data structures and for mathematical code, but should not be over-used. Exceptions can also be useful, though in my current code base I am not using them much.

Boost is somewhat tempting but it's just too convoluted in places. Haven't had a reason to use it yet. Qt is nice for GUIs.

The thing about C++ is that it's a language that lets you do almost anything, and it has no stylistic traditions. It's like Linux if it has absolutely no filesystem layout standard or LSB. Each C++ sub-community (Microsoft, Qt, Boost, etc.) has its own conventions that are in conflict with one another. The language imposes no internal sense of discipline and carries no de-facto coding standard. As a result, I find most C++ libraries to be annoying to use even in my own C++ code. I tend to use it as a top abstraction layer gluing together underlying C libraries and system calls, and to use most C++ libraries (except STL) reluctantly.

It's too bad... well-done C++ can be very clean, efficient, and safe from things that dog C such as memory leaks, buffer overflows, or rare core dump crashes due to things that could be caught and handled as last-resorts in a try{} catch ( ... ) {} construct.
Adobe time machine
I think about the icon in the context of something that could live on the homepage, rather than a device to sell the app or encourage downloads.
Not to be "that guy," but you mean "soaring." "Souring" is the exact opposite of what you're trying to say :-)
Accompanying headline: My Kid With AP Credits Will No Longer Be Applying to Dartmouth
Maybe the AP system has degraded over the years. When I was in school it helped immensely and I was able to enter college as a mid-year sophomore and graduate early. And the level of material and rigor in AP courses seemed roughly comparable to 100 and 200 level college courses. The cynic in me sees this as a money making move, as it means that more incoming students will have to pay more to graduate.

I'm really curious whether Dartmouth performed any studies on the matter or if this is just a spontaneous decision based on anecdotal evidence.

P.S. Also, in my experience and observation taking 100 and 200 level classes in college is a pretty significant ripoff outside of perhaps the top 20 universities in the nation. Almost all of the time such courses tend to be taught by assistants and are heavily textbook based. For the vast majority of people pursuing a college education getting an AA at a community college and then transferring to a local state college is a far, far better option financially.
I just bought your book, really hope you can release epub version too. Thanks
That is one hell of a résumé.
I guess we're a small group, though I wouldn't take this thread as an accurate count.
Having lived in and around both, I would say NYC and Boston are fairly similar. Boston's whole psyche is based around staunchly insisting on not being inferior to New York.
Sure, that might explain the PA cases (I trust the oil and gas industries self-interested "explanation" for the phenomenon even less than I trust a muckraking documentary maker's, and a plausible — to me — alternative explanation is offered in the Wikipedia link).

What about the ones in CO and WY?
So true. When I realized SF actually wanted these people living on the streets (despite empty talk to the contrary), I gave up petitioning the city to clean up my neighborhood and moved to a different neighborhood. No longer do I have to play hopscotch every morning along my commute. Or fear for the safety of my wife.
All things that have been considered, but useful feedback. I welcome talking any time @mcfrl
Giving the government the theoretical power to exact a tremendous punishment (30 years in jail + $1m fines) is terrible even if the full extent of that punishment is rarely or even never inflicted. Many others have pointed out that it can be used to get defendants to accept a plea bargain to reduce risk even when they don't believe themselves guilty, and increase the effect of systematic disenfranchisement of a class of minorities when used with selective enforcement.
More or less, fascism is the supremacy of the nation/state & creation of a civil religion around it. It merges the idea of the nation, the government, and links proper behavior to operating accord with the principles set forth by the leaders. At least that's what I got out of Mussolini's writings on the matter.

It's the people in service of the State, as opposed as the State being the People(communism).
'Make Me Asian' App Removed From Google Play Store
That's not that new for servers - home NAS boxes don't need much computing power, routers & printers are often HTTP servers to allow configuration, and there are those plug computers that presumably get used as servers.
The AP gradations are useless. If I remember right the calculus exam has about 120 possible points and you only need about a 56 to score a 5.
(ie - you have to be ready to put down a deposit as soon as you find a place you like; there is no real opportunity to look at other places and come back).

You mean that's not normal?
AP credits have never been a particularly great ROI. My wife went the different route of signing up for classes at the local community college. You get a lot more out of them (in the rush to keep up with the joneses, high school administrators are calling everything "AP" these days), and also colleges are quite willing to accept those credits for lower-level classes.
I think the point of a framework like django is that the defaults are best practices.

It's good to understand why it does the things it does, but without a certain amount of trust in the framework, you can lose a lot of it's advantages.
That has nothing to do with the actual size of Boston. That's a political artifact more than anything else, as neighborhoods around Boston didn't want to get annexed around the turn of the century. Boston's continuous urban population, which includes Cambridge, Brookline, etc. is over 4 million.

Having lived in Atlanta, Boston is a much bigger city despite Atlanta having a population of 4 million within it's proper city limits. That's why you never use city population over metro area or continuous urban population statistics to determine actual city size.
Well -- Tcl happens to be difficult to debug w/ tools because it's so dynamic -- but that said, let me tell you what I run into, and how I resolve.

I compile C (original C, or bindings to libraries) and enable all warnings, use Tcl C APIs to do C memory management (allows electric-fence like behaviour where I've got optional guards on allocated mem), and I'm pretty familiar w/ the Tcl C API. When something is horribly wrong, I'll get a core dump and the full stack trace will indicate the path from Tcl, on up into my bindings, and further into the library in question. From there, typically with a small amount of inspection and testing it's easy to isolate the problem area and fix. This way I've solve application (Tcl script) code, my library bindings, and errors in 3rd party (open source) libs -- I've got no doubt that there's room for improvement in my process -- either by tools or techniques. That said, I feel productive and happy with what I've got going on now. When I want performance in Tcl, I punt and push it to C. When I want dynamic control or nice interfaces, I punt and drive it with Tcl.
I read this as total yearly tax increase being greater than one month's mortgage payment. "A payment" is usually one month of your mortgage (maybe plus taxes & insurance depending on your situation), isn't it?

Anyway, that seems believable for Austin, TX.
Seems a little short-sighted to only feature 2 USB ports. If you have one of these set up with a keyboard and mouse and you wish to use a flash or external drive, you'll have to temporarily sacrifice an input device or use a hub. Surely they could have squeezed in one or two more without too much of a cost increase.
If high-performance PostgreSQL is critical to your job, here are some resources:

http://wiki.postgresql.org/wiki/Slow_Query_Questions

Query analysis tool http://explain.depesz.com

The mailing list http://www.postgresql.org/list/pgsql-performance/

Greg Smith's book http://www.amazon.com/PostgreSQL-High-Performance-Gregory-Sm...

#postgresql on freenode.net
I'm not entirely sure that's the case. The DNC voterfile is compiled primarily from public record requests, and is as complete this cycle as it was in any other.

Narwhal and other OFA DBs may have supplemental information -- as do the "blue" vendors -- but that's separate from the voterfile, and I'm not sure its life-cycle is certain at this point.
The information is not inaccessible, just annoying for some to access.

Making it actually possible to see the deck you officially posted online is neither facilitation or minor.

Thankfully, it is "actually possible" to see the deck.
Hey all,

I wanted to get some input on your thoughts on data scraping. Our mobile app, DateMapps is dependent on the content input of the users. Specifically, the app allows users to view date itineraries and filter by their dating preferences to select one that will be of most help to them on their next date. However, unlike web-based sites that are dependent on user-generated content, it is difficult to get enough content to populate the app without it being available on the app store. We've encouraged users to create date itineraries through using test flight, but the process unlike the app store where one can simply download and begin to use the app, is often cumbersome and sometimes a deterrent. With that in mind, I'm deciding between releasing the app to the app store with minimal content (slightly over 1,000 date itineraries) and allow for organic growth from there, or scrape data from sites like Yelp. My issue with releasing to the app store is having users not be satisfied with the minimal content out there and thereby view that at being unhelpful (understandably so). Going back to the scraping option, though I could just use Yelp's API, it's important that the content is relevant to date spots and activities. Additionally, the profiles related to content are also necessary. Aside from that, I don't want to sacrifice the quality of the content by going with the scraping route. I'd love to hear your thoughts, especially if you've been in a similar situation.
I upvoted this. Now I feel bad. Is this HN-appropriate?

Sincerely,

A Noob.
It does use the 'do fancy things with HMAC signed tokens' to handle password reset though, which (as a general scheme) has been criticised vs the 'store random dumb token, details in the DB' method, for being difficult to do right and open to subtle flaws.

Obviously I'm not aware of any Django-specific issues with it (or I'd have reported them already), but it's a design decision I've wondered about.
Thanks for the heads up! Looks like we weren't detecting the Opera browsers correctly. In any case, I fixed it already.

Shout out to browserstack.com for letting us test quickly. (By the way this was fun: http://cl.ly/image/1t0u2r471g18)
And get a jump start working on their Bachelor's degrees which now take six years.

Seems like the high schools need to add some more rigorous classes for seniors.
Smart idea. Good job. Race war ftw!