skysight-inc/HackerNews huggingface dataset:
Well it is designed on NetBSD where this doesn't work.

eg see http://www.slideshare.net/phdays/chw00t-breaking-unices-chro... slide 27
i completely agree with you. I know how much teachers are overworked for every public activity. elections to census etc..this initiative going to help huge for tatas/birlas/ambanis. India still need critical infrastructure, education, health, helping majority (60-70%) of the people to bring out of poverty by providing them to succeed in agriculture. why not india become the hub for food rather than killing the seed by giving away rights to foreign companies like monsanto! So unfortunate!
I'll probably get modded down or labelled a Microsoft shill, but since you have done VBA, I'd suggest having a look at MS Access. Here is my recommendation to someone else who was looking at what to learn:
https://news.ycombinator.com/item?id=9910744

C# using Visual Studio is a great next step as the IDE is first class. Microsoft give it away now free.
People would need more space on the escalator to walk so this would reduce the overall escalator capacity. There would also be some people who couldn't or wouldn't walk, which would always break the double lane walking and revert the system to how it is currently.

Agreed that they do present an opportunity to get a little exercise though, which would be missed in the "everyone stand" world.
Well, to be fair, I have never really seen a Walmart express let alone shopped at one, but that is part of my point. Near my uncle-in-law's place (greater London area), there are no less than three competing high street grocery stores each with good selection and good prices.
Yeah true (and the point actually) I was responding to OP who was talking net worth and got confused I just bunched all those people in comic into negative net worth :D
I was shocked to learn (on the news this morning) that 2 WalMart stores in the Bay Area are closing (Oakland and San Jose (Monterey Highway)). I don't know there were ANY until a week or two ago when I did a Google Maps search.

My hatred of them goes back to my youth and early online activism from when WalMart was pushing out local mom and pop record stores in small towns and replacing them with their shitty censored versions of music. (WalMart insisted that labels manufacture and sell censored copies just so they could push their twisted morals on America).

Needless to say, nothing they have done in the past twenty years has made them any more deserving of my dollars. I've never bought anything there and never will. Fortunately we live in an area of the country where it's easier to avoid them than it is to shop there, even if you wanted to.
I was in a knot of people like this. We spontaneously organized a software engineering quality team out of ourselves. We bribed one of the IT people for the admin password to a desktop PC they failed to deprovision after firing a guy (a case of an admin's favorite beer is worth at least 10x the retail price in terms of bribing power). We setup a rogue server on it for source control and ticket tracking. By the time anyone figured out why we were generating high quality documentation and fulfilling our few assignments in record time, we had a full-blown lifecycle management process of our own. By the time anyone figured out what they should do about it, we had our own ERP system that integrated with and automated most of the excruciatingly repetitive tasks their Salesforce-based system made us do. We were so hyperproductive over everyone else on the company's own business tasks that they couldn't ignore it anymore and they adopted our systems and practices.

And then they fucked it up by adding a bunch of top-down, manufacturing oriented process, but by that point I was able to find another position and Gee the Eff Oh. At least my skills didn't stagnate, and I didn't have a sword hanging over my head on one of my personal projects.
Creating an svn repo was fast, yet you could not use it without a dedicated server, DNS configuration, security configuration, firewall configuration, etc. etc. If this was your only job, sure, a few hours' work. For the rest of us, begging a sysadmin or spending days learning the details.

Whereas with git it's literally "git init ." or clicking on Github.com and we're ready to roll.

I do appreciate the fact checking, and you're welcome to send me more comments. Errors of fact don't survive the editorial process, one hopes. Opinions, that's a different story.
These are some cool SQL tricks! I like it.

The big caveat with the standard deviation technique is that it assumes a normal distribution. Many datasets are not actually distributed normally (power-law, Poisson, beta, etc, etc) and so the technique won't work. It's a much harder problem to 'generically' detect outliers without knowledge of the underlying distribution.

I don't have any idea how to do it (though a former colleague came up with nice idea of building a histogram and searching for values that occurred after some number of empty bins, implying an outlier). Is there an accepted state-of-the-art for general-purpose outlier detection? Or is that such a broad question as to be meaningless?
No kidding! For instance, the memcpy function is reentrant: but only as long as two contexts don't call it at the same time, and pass pointers to the same memory. It is not unconditionally reentrant. Some functions are; those that don't take pointers to anything as arguments. I covered that in my comment.

An absolutely reentrant function could use memcpy internally (for instance to copy one object stack on its stack to another), so in other words, memcpy doesn't have bad properties that prevent it from being integrated into fully reentrant situation.

An insert function that doesn't handle two threads inserting into the same tree isn't reentrant when called that way. It execution cannot be suspended and re-entered, except with different objects.

The posix _r doesn't mean "absolutely reentrant"; it just means "this function doesn't do stupid things under the hood with globals that would prevent it from being used in reentrant code".
Authoritarian != fascist
You're saying directly, C-level style and compatibility at a language-level in early C++ couldn't negatively impact its safety or maintainability vs Modula-2/3, etc? I highly doubt that given most crashes early on were C++ being done in a C-like style, using C runtimes, or calling C OS functions. The C++ style modernists here advocate greatly reduces problems outside compile times.

So, I'm a C++ opponent but it's still obvious C dragged it down a lot. Stroustrup's writings on its origins and why he made specific tradeoffs shows it's a fact. There were often more ideal stuff, from high-level perspective, that wouldn't fit with C, would break legacy, or would take a performance hit C developers would reject. None was allowed as C developer adoption was main goal.

We failed to convince them to use lots of other low-level languages, too. C developers are picky. So, their foundation of quicksand remains a the bottom.
Voynich Manuscript: word vectors and t-SNE visualization of some patterns
Debugging for beginners
16-year-old starts a company to safely dispose used tires
It does seem odd to me (in the US). Renting here is not without risk and slum lords and rising rents, but there is a minimum expectation of consumer protection, much in the same way there is with most transactions.

Either way, if you care to live anywhere near a city, housing prices are astronomical. We make a decent living, my wife and I, but still don't have what it takes to buy a two bedroom apartment in one of the cheaper cities in the country. We've been house poor before, and I'd rather not be again.

I mean I get it - fixed mortgage means in 10-15 years my mortgage may be less than rent of something similar, but that's a long time to be house poor.
It is at heart a guide to using CZMQ, the high level C binding for ZeroMQ. More broadly, how to write scalable C applications like Zyre and Malamute. The fact ZeroMQ is written in C++ is invisible and irrelevant, except that it's easy to wrap in C.
Man, thank you for Kannel. It's amazing.
Well, that's not remotely relevant.
Although there are plenty of other factors, this is basically the answer. Every time a friend has bought a house (and none of them have done it without being loaned the deposit by their parents), they have reported that the mortgage payments are a few hundred pounds cheaper than the equivalent rent. This will continue to be true as long as interest rates stay near zero.
Yes, indeed. I've updated the book title on Gitbooks to make this clear. I'm writing and publishing the book piece by piece, to get feedback early on in the process.
Penthouse Magazine Interviewed David Bowie in 1983
He had just been shot by a bowcaster and was severely wounded. He was hitting his wound to get himself pumped up with rage.
How a karma-seeking Redditor uncovered one of the world’s rarest atlases
I have a heart shaped face, a slight hawk nose, green eyes, golden hair, freckles on my cheeks, I have light skin, my forehead is an average length, my eyebrows are medium sized, and my teeth are straight
I did a contract project that consisted of porting a C app to asm.js/emscripten. Various C bugs gave results that had to be repeated precisely in javascript. Several other contractors attempted to replicate the behavior using JS rewrites and failed. One said it was impossible (grin).
It didn't help that the rating agencies rated these securities as AAA (investment grade quality).

This is in a nutshell what happened.
http://www.slideshare.net/roguemonk/the-subprime-crisis-prim...
You also got rent-for-life arrangements at not unreasonable cost
When I was growing up in the US, suburbs were "the thing". I have read (sorry, can't remember where - the Atlantic?) they are becoming less that, due to social changes and increasing population density in the cities. So the projection is that the suburbs in the future will become almost slums as the poor migrate - the housing slump in Florida is one data point.
Responsible adults manage debt. In my opinion it's a sign of immaturity to exclude funding sources available to you to accomplish goals. If the goal is starting a business, borrowing money to do so helps you get to market. If you have employees working for you and you cannot make payroll because profits were poor as you start, borrowing money to make payroll keeps you afloat.

On a personal level, buying a house might be more than you care to take on. But with a mortgage, you can certainly predict what your payments will be for the next 10, 15, or 30 years.

And it can be renegotiated when interest rates drop.

Understanding this is what makes people responsible adults. What makes them irresponsible is buying things on a whim on credit and carrying large credit card balances. That is indeed a great way to ensure a stressful life.
HNTRS TV (Prey on Your Success)
Any coincidence that we have Canadian, Mark Carney as head of the Bank of England?
As an American, this is hilarious to read, given how high British mortgage rates are compared to those in the US, and how home ownership is so often considered to be "the American dream". Also, the brits I know (who do not live in London) aren't so cutthroat about money. Again, I think they'd accuse Americans of being that way.

But this may be true of Londoners.
Show HN: Redux Bindings for PureScript
IANAL, but there is nothing illegal about an investor with a felony record, and there is nothing illegal about having an employee or board member that has a felony conviction. Now with that said, in the case of moral turpitude charges (i.e. fraud, theft, etc..) there could be some push back from investors or the board if the individual is going to have a say in operations or a seat on the board. There could also be pushback if the charge was business related (i.e. they stole from a previous employer, were involved in a investment scheme).

In this case though from what you say, a drug charge, no convictions since, with that much time since conviction, I personally wouldn't even worry about it. If you know the individual well, are willing to go to bat for that individual, and it is a problem for someone else, that is their problem and probably not worth your time fighting over to convince them otherwise. At the friends/family stage though, this level of concern is even further reduced in my opinion.
Previous link was http://spacex.com/webcast/

No guarantees though
My favourite demo, blows me away even now...

https://www.youtube.com/watch?v=0Jdi3I3Ep6k
Why do you insist? Please argue with the POSIX people writing these manpages (and correct Wikipedia) if you think that they are all wrong and your nomenclature is the right one.

What you talk about are pure functions.
>> Somewhere on the continuum of abacus, slide rule. What's the computational era's equivalent? An HP-11, HP-12 series calculator?

I have my Dad's wooden abacus, which must be at least as old as I am (mid forties). It's obviously not Antiques Roadshow old, but as a child, I remember him using it for his bookkeeping instead of a calculator. He taught me how to use one, and as a kid, I got pretty quick at using it for simple arithmetic.

Of course, once tape calculators (and calculators in general) got cheaper, he stopped using it altogether. If I had kids, it's definitely something I would pass on.
You have a future obligation to fulfill and are contractually bound to it for a set period of time.
This makes it sounds classist -- almost as if the renting class don't deserve protections. I would have assumed renters in the US would be treated worse.
Nobody is saying it is crime (I also mentioned unloyal behavior in my original post), but, in cases where there is evidence of infidelity why would that be a bad thing to decrypt the information if it helps in the case?

And why are getting angry? do you feel unfortable that my concerts my be legit?
Extraordinary minds: The link between savantism and autism
It's also interesting to note that, contrary to the tone in the original article, those countries near the top of the list are hardly paragons of capitalism.
I can understand what you're saying. If you've programmed with Visual Basic and assembly you're already familiar with most of the concepts. I would suggest looking at the website learnxinyminutes.com. It will give you an overview of current languages.
As you haven't been programming for along time I would suggest picking up a language that is easy to setup.
I would recommend perl, after a short introduction you can download and install every module you like from cpan.org with a single command and start solving puzzles.

Coming from Visual Basic and assembly I think you will struggle with object orientation and functional programming at first.

My advice get a Linux machine or vm, install cpanm.
Have a look at perl at learnxinyminutes and start coding.
You could write a script with WWW::Mechanize that scrapes news from HN.
BTW I am currently fascinated by win32 assembly programming and reverse engineering. Your old-school knowledge is still valuable. Continue reading HN and coding fun projects. You'll catch up in no time.
Not necessarily, since their GC semantics might differ from JavaScript. For example, if they have finalizers, then compiling into JS isn't an option.

Other semantic differences might also make this hard or impossible. Compare pyjamas to pypy.js, for example - the former compiles to JS, but has known differences from proper Python semantics (long bignums), while the latter is a straight port of a Python VM, so the semantics are identical.
I'm not saying it is a crime, I'm asking if decryption would help to clear the case then why is a bad thing?
IKEAmerica: Should the US really be more like Sweden?
Nice work in progress, Peter. Look forward to seeing more of it given your prior work. I light how you preempt many C-related counterpoints with model-driven development that generates C. Done excellently by iMatix and many others. I'm especially interested in how you'll apply that to distributed C.
The metrics I causally track are private companies that I would want to work for, or products people in my social circle are using. BuzzFeed, Venmo, ClassPass, Casper, Warby Parker, Etsy, DataDog, BirchBox, Kickstarter, and Oscar are all established startups headquartered in NYC which fit that bill. If you wanted to work for a big company, the only two I can think of that don't have a presence in NYC are Netflix and Apple. Risk tolerance may be slightly higher in SF, but NYC has 10x the population and it is becoming cheaper to start a startup every day. I've also seen more than a handful of world class developers move from SF to NYC in the past year.
It would be like renting clothes. Yes, you could stop renting them at any time, but... you don't really have an alternative.
> You have no idea how hard Asm.js is to "read".

That was not my experience when I ported a large C app over to asm/emscripten. The mapping from C was very transparent. I had no problem using the dev inspector to debug the code.
I don't see there being a particular expectation that you'll move to the suburbs (within the rather large confines of that term), although it's quite common for families with children to want more space and better public school systems. However, yes, I do think there's an expectation that people above a certain income level will eventually want to buy some sort of place for reasons of financial diversification and, as you say, stability. There comes a point in most people's lives where the ability to easily pull up roots and move on short notice isn't a particular win but knowing that you can't be forced out on relatively short notice--or face significantly rising rents--is.
WalMart was pushing out local mom and pop record stores in small towns and replacing them with their shitty censored versions of music.

How would Walmart put these stores out of business? Or do you mean consumers did by shopping at Walmart instead?
A couple of questions then: what's the long term result of a perpetual "I haven't done {thing X} because of {justification Y or Z}"?

And related to that, do you encounter the "no one on the agile team is empowered to remove this blocker" (because it's too many departments away and that team has no stakeholder/ownership close enough to the agile team)? If so, how does that play?
6th Grade Visits Ancient Rome, Thanks to Google Expedition – 360video.directory
This is excellent Lynn, I'm already following your repo and I love the order in which you board the topics.
Foxtons.... I wish someone had told me never to deal with Foxtons. I thought I had a decent relationship with the landlord, but they manipulated her so badly and Foxtons blatantly lied about various things when I left the property. I had to threaten to sue to get my deposit back.
Sure, the suburbs was probably a bad general example (though a majority one). However most minorities that I know still have a house or condo in their plans.

Wherever the location the desire is real
In Python:

q = 10000000000
n = 11111111111111111111
factors = [3, 3, 11, 41, 101, 271, 3541, 9091, 27961]

q10 = q/10

bits = len(factors)
#print b
#print 11*41*101*271*3541*9091*27961
for i in range(2**bits):
r = 1
s = 1
for j in range(bits):
if i&(1<<j):
r *= factors[j]
else:
s *= factors[j]
# To solve:
# q+2a+2b-1 = r
# q+2a-2b+1 = s
# q+2a = (r+s)/2
# 2b-1 = (r-s)/2
#
# => a = ((r+s)/2 - q) / 2
# => b = (1+(r-s)/2) / 2
#
# r and s are odd, so we do not have to worry much about fractions
two_a = (r+s)/2 - q
if two_a % 1 == 0:
a = two_a / 2
two_b = (r-s)/2 + 1
if two_b %1 == 0:
b = two_b / 2
if (q10 <= a < q) and (q10 <= b < q):
print a, b, b*b-a*a

On my system:

time (./ExcellentNumbers.py | sort -u)
real	0m0.031s
user	0m0.016s
sys	0m0.011s

Beats the 1m40 seconds the optimisation got in C, but this is cheating, as it hard-codes the factorisation. Doing that the proper way should not add minutes, though.

If you want to tackle factoring large repunits, do make use of the fact that a repunit containing pq digits can be trivially factored as either a p-digit reunite and a 1000…0001000…0001… one or a q-digit repunit. For example, we have:

111111111111 = 11 x 10101010101
= 111 x 1001001001
= 1111 x 100010001
= 111111 x 1000001

With those factors in hand, find a few others by taking GCDs of other factors, or by ‘randomly’ dividing numbers. For example, 1111 does not share a factor with 111, so 100010001 must be divisible by 111.

Edit: tried the 42-digit one. It has:

q = 1000000000000000000000
n = 111111111111111111111111111111111111111111
factors [3,7,7,11,13,37,43,127,239,1933,2689,4649,459691,909091,10838689]

Times on my system to find 335 solutions:

real	0m0.219s
user	0m0.185s
sys	0m0.022s

I think that is a bit faster than what you had.

And you may want to loosen the range of values for b, replacing

(q10 <= b < q)

by

(0 <= b < q)
Show HN: One window shared by multiple NSDocument instances
This.

I rented for nearly ten years, latterly/mostly in East London, moving house on average every 12 months. Had my fair share of shitty landlords.

Me & my girlfriend had circumstance/luck to thank; in 2012 (just before prices started climbing skywards again) we managed to save/borrow/scrape enough money together to get a deposit on a nearly derelict Victorian terrace and have been slowly doing it up since then. It's still not finished but it's mine and I love it. That it's increased in value is nice, but kind of abstract in that it's only money I will see if I ever decide to move, which I have no plans to. It's also totally secondary to it being _my_ home. I shut the door and the outside world ceases to exist.
I think the idea of many small problems each of which is challenging but not unreasonable to solve as the route to improving skill is important.
If you cared to follow my posts you would see that I would rather be discussing about Modula-3 and Ada than C or C++.

Yes the blame is 100% on C compatibility.

There is an interview that I can gladly search for you, where Bjarne says he was dismayed the lack of knowledge about other languages and he had to do his thesis in C,swering never to use it again. So when he joined AT&T, he started right away to create his improved C version, which had to be copy-paste compatible with it.

Had C++ had proper modules, it wouldn't work with C linkers.

Those implicit conversions were added to make C++ data types fit into the way C developers were used to write their code.

I can assure you than I worked on a C project in 2000 that took around one hour per platform to compile.

As for enjoying C++, I rather programm in memory safe languages and since Oberon I am big fan of GC enabled systems programming languages.

But C++ was my escape from C, when Turbo Pascal started fading away. Compared with Turbo Pascal, C always seemed a meh language, only thing going for it was better portability as the Pascal dialects.

So, even with its inherited C defects, C++ does provide the tools for the security conscious developers, if one does decide to use them.

Of course, ideally, both should be replaced, but it will take ages until it becomes a reality.
Uhh. I'd think, Crypto.Random is supposed to be secure:
"""Return the specified number of cryptographically-strong random bytes."""

Pretty sad if it is not the case! Interestingly enough, RNG in pycryptodome which I was using for zerodb is urandom.
https://github.com/Legrandin/pycryptodome/blob/master/lib/Cr...

Would be interesting to see similar gotchas about that library (though everybody uses PyCrypto, that makes me feel a little paranoid!)
Programming Fonts Tester
You lie just to make things slightly easier for yourself, and you think this is OK?
No, we live in Sedona and drive to the Cottonwood store.