skysight-inc/HackerNews huggingface dataset:
There's still a bunch of minor differences/annoyances with the MS toolchain that require me to go in and make a bunch of small changes everywhere to my project, which compiles fine on clang/g++ (and I wouldn't say I'm doing anything _crazy_ like the aforementioned "Expression SFINAE").

Right now, my project's rather small 100 kLOC codebase compiles (with very minimal #ifdef hackery) on Android, iOS, Mac, and Linux; but Windows is still very much a WIP, even some of my third-party libraries don't compile on VC. I'm actually considering trying the MINGW toolchain at this point, and I'd be curious to hear anyone's thoughts?

I'm sure part of it is that the compiler itself probably developed with the tight feedback loop from developing and maintaining large codebases in house at Microsoft (like Windows and Office). It's pretty hard when part of the internal pressure to support large codebases like that conflicts with the need to conform to outside third-party standards. I've heard great things about the compiler people at Microsoft, and I'm sure they have a technically strong team, but they are most likely caught in the middle of this organizational deadlock.

I'm sure it doesn't help that I'm not mentioning any specifics, I'm going to be revisiting the Windows desktop port of my mobile app soon (which I gave up and haven't touched for a couple months), and everything will be fresh in my mind again. I do vaguely remember something about having to explicitly add more #include statements to pull in header files that were already getting pulled in by my other compilers.
It will be interesting to see what they produce. The market for external lens is quite varied now on previous iphones. A lot of the processing they are introducing on the new phone will be tuned for the characteristics of the two lenses. I wonder how external lens will work on the camera (if at all)?
A nice gesture, but will the company also give the day off for local elections? Where I live, we just had an election on August 30th for a few very local offices. Local elections have more of an affect on our lives than national elections.
Agree that makes more sense.
This is all my research group uses for development, reverse engineering, and personal use. They really make some great machines, but I haven't tried the newest, super expensive models.

I imagine it is even better than the ones that we currently use, which are over four years old and still do everything we need them to do in stride.

Caveat: Almost none of us run these machines with Ubuntu. Debian or Mint are common, but so is Arch.
Having lived just outside of Yosemite for 5 years prior to moving to Portland a year and a half ago... it's incredible to me, how packed the 'local' hikes and wilderness destinations are, around Portland. Yosemite was only a joke in Yosemite Valley - anywhere else outside of the Valley and you're going to be pretty secluded... I've yet to go on a hike in the Gorge that wasn't surprisingly packed, even mid-week on rainy days. It's startling.
About charisma, I found this book really useful: http://foxcabane.com/book/
Overflow is often something kept in mind in careful C programming. It's something you don't have to worry about nearly as much in Python (promotes to bignum) or Javascript (double precision float).

That 32 to 64 bit transition? Windows couldn't change the size of "long" because it would break too much windows software that assumed long was 4 bytes. Thus "long long".

The Linux ecosystem fared a bit better because of the greater variety of Unix systems and cross-platform C that ran on them. It was a time of fragmentation and incompatibility, but also a time of posix and attempting to define minimal standards in a portable and flexible way. Windows of course didn't have to care about any of that.

I actually fixed some old-ish classic open source networking software for 64-bit mips, around 2010. You see, it worked OK on x86_64, which is little endian, because in that case the low-order 4 bytes (an ipv4 address) end up in the same place relative to the start address, whether it's a 4-byte or 8-byte type. But for big-endian 64-bit mips, that doesn't work out, the low-order 4 bytes are on the unlucky end of the 8-byte type.

There's also the awkwardly named "ntohl()" and "htonl()" standard library functions that were named in the distant past when it was assumed a long would always be 4 bytes. As soon as that wasn't true they changed to work with uint32_t, as they always should have.

Sure, I'll use a plain int whenever I'm returning a status or error code, and whenever iterating over some trivial range. I'll use a "char[]" or similar for a string of ascii. But for many things, like "count of bytes transferred", or "seconds until timeout", or any meaningful quantity value or anything stored in a struct (meaningful and non-transient), I'll pick the appropriate bit-size, to make the code clear. It's good style because you have to know the limits of the type whenever you do anything non-trivial with it.

These days, there's always a value here or there where 4 billion will sometimes not be enough: bytes, microseconds. I need 64 bits. I could write "long long", but why not write what I really mean: "uint64_t" aka give me 64 bits.

(also, "unsigned" is longer to write and read :)
Ten Fold Finance, Legit or Scam Investmet Application
Being confident: How I could have gotten into the IFA for free
When you say temporal, do you mean temporary?
A star can't have have plutonium in its spectra. A single star doesn't have spectra, only a spectrum.

If you were talking about multiple stars, then yes, they would have spectra (the plural of spectrum).

To be clear, I don't mean this as a criticism of the submitter. :-) In fact, I appreciate that the title was changed from the original Wikipedia title to bring out the interesting part. Just wanted to note a little detail of spelling/grammar that is easily confused.

Plus, plutonium is only one of the interesting things about Przybylski's Star. It is a really weird star!
Most of my troubles with word have to do with most of the properties of the items on the document being invisible. You are dealing with invisible page breaks, invisible margins, invisible objects, etc.

What would be really powerfull is a dual markup/WYSIWYG UI, like WPF in visual studio. Editing xml attributes on a markup is way more efficient than trying to guess on what you clicked and then going to menus and nested sub menus. But typing raw xml is not fun, you want to be able to type in the document directly. And you don't want to expose the markup to unsophisticated users. The markup should be way more defensive than a text editor. It should not allow you to place a node where that type of node is illegal. It should make autocomplete adds the mandatory features when typing a new node (like the closing tag, the mandatory attributes, etc). Otherwise we will spend our time dealing with corrupted documents.

Same for powerpoint, which in my opinion has pretty much converged with word. Most decks created are not on screen presentation but rather rich visual text documents, just text document with a page orientation that fits modern screens.
Hasn't Google been pushing for Physical Web, and baking support for it into Android? It was a big thing at last year's Chrome Dev Summit.
How to sell complex product?
I think 2007 was the first version to support two million rows.
Geez. He didn't really take it quite as far as your rebuttal, where you proceeded to beat on the strawman you created. He said nothing about state programs intervening and all of that. He's being downvoted quite unfairly for his apparent political stance, but he did have a point.

While it would never work the way he suggested, it should more often. Instead, we privatize profits and socialize losses. I think a lot of people are or should be very sick of that trend by now. That was his point.
To go off on a tangent, I think we, as a nation, need to spread out again. So much of our nation's small towns were built on farm, ranch, oil, mining, etc. labor. And, as those industries got automated out of existence as a source of employment, all of the small towns that were supported by them shrunk/died. Small town America is a disaster these days (and I think why our politics have gotten so ugly; people want someone to blame). They're a meth-addled shell of their former selves.

The most popular cities in the US don't have room for all the people that want to live in them (for a variety of reasons, NIMBYism being a big one). If everyone who could work remotely moved out to smaller towns, we'd revitalize small town America and those folks could buy houses (which is not possible for a lot of people in a place like San Francisco, Portland, Seattle, Austin, etc.).

But, you're right. I do find the crowded parks surrounding major cities to be a turn-off. There is a point at which I wish there were some more quiet and solitude. Which is why I spend so much time so far away from major cities.
Beware the "One who approaches Greatness on his belly so that he may not be commanded to turn and be kicked."
The crafty, sinister new world of cyber espionage
I completely agree with you when it comes to function return types.

For data structure fields, especially structs used many, many times like in very large arrays, I'd say it's sometimes worth using fixed size types to get better control over memory use. Using a 64-bit int for a field a 16-bit integer can handle will use up 4x as much memory. And if you've got a ten or a hundred million structs of that type, then it really adds up.

For example size_t is 64-bit on my x86_64 system. But modern x86_64 systems can only use 48-bit address spaces, so a 64-bit sized object can't even be addressed! Even worse is my cpu and motherboard have a 32gb maximum of RAM (for an effective 35-bit physical addressing limitation). And size_t is supposed to be able to store the size of any object in memory, but on this platform it stores things that won't fit in memory. So most of these 64-bits are wasted on modern systems. For files you can use off_t if you're on POSIX, but the C standard doesn't say anything about requiring size_t to be able to store any filesize in a filesystem.

Just using size_t is not enough to make your code work correctly on 64-bit size quantities either. For example, you make your strlen implementation return size_t, and you use size_t everywhere you do anything with a string. But can your application really handle strings that are bigger than the system RAM , or the hardware address space? Are your algorithms even efficient enough to handle the 4,294,967,295 byte maximum string size for a 32-bit system?

The effort to get your program to work efficiently on >32-bit quanities is often much harder than just using size_t instead of int.

So to me, when I see 64-bit size_ts being used everywhere in code that won't actually be able to handle working with >32-bit quantities, it just feels a little useless. Of course this is really more a complaint about how big size_t is on the x86_64 platform than it is a complaint about the idea of size_t in general. If only we had 48-bit size_ts (24-bit would be handy too!)
Oh wow. What a hassle.

Was wondering if Tesla perhaps can have a friendly state help out. Say Nevada for example exempts cars from a sales tax if it leaves the state within a week (they get revenue from say the plan being there so they "sponsor that industry...).

Perhaps some insurance company which operates in both states can partner with Tesla (not sure on legalities) of this and also a few online banks which would specialize in financing Teslas.

At least on the surface seems like there are a few opportunities there for other players to jump in and help...
Me, every time I do an install. I've got a ton of DVDs left around. I've had USB devices designated as OS install devices, but those always end up repurposed or given away in the months/years between OS installs...but I don't have much other use for the DVDs anymore, so they're always available.
Seems to be a very rudimentary work in progress.
The 1-star reviews are more than a mite worrying.

https://www.amazon.com/Writing-Well-Classic-Guide-Nonfiction...

I tend to rely more on 1-star reviews than 5-star ones. I find them to be more reliable guides.

May I suggest that you write well in spite of the advice given here rather than because of it. :)
These kind of advice articles about personal productivity never really take into consideration that you might be sharing your living space with someone else.
Sure, I'll make my bed at 5.45 every morning, first thing of the day, just let me wake up my girlfriend super early too, just because I'm a productivity freak. Sorry hon', Tim Ferris told me to do that!
see also 22nd Century C - https://news.ycombinator.com/item?id=12471681
> but claiming they run their entire core business on NoSQL is patently wrong.

Those companies are very large and thus they use many different technologies.

> Yes, they use other datastores

I guess that's what he meant by nosql. Overall he is saying nosql are for very specific, very large scale needs.
Mausr – detect hand written Unicode characters
[video] Jidenna on “The Juice”Enjoy
I suspect we are confident that Pu is there because there are spectra indicating its presence, as opposed to a single spectrum.
Yes and no. Temporal as it relates to time.

Time that me, you and everyone that will ever know of us could possibly hope to escape? Nope.

Deep time? Yes. Temporary? Depends.
I once worked with this insane genius who reverse-engineered DOC and PST by bit-banging the files in Visual Basic. Once I mentioned the compound document format and he was puzzled for a second and then shrugged "I guess that's what that was". He clearly hadn't read any of what little documentation existed. He was the complete self-taught lone hacker type, his code had zero organization and was only understandable to him, but when it came down to it, it mostly worked and was a huge competitive advantage, for a while. I was hired to ship the web frontend, the backend document pipeline was solely his baby. Eventually MS shipped a patch to Office 2003 so that save as HTML mostly worked as expected and there was no longer an advantage in parsing the binary files.
New features in Krita 3.0.1
Show HN: A utility to find and fix wildcard imports in Python 2.7 automatically
> That was the NavLab, an autonomous vehicle with a crew of 5.

And a "Nobody on board" yellow diamond sign in the window. Pfui.
As an overseas (or even domestic) tourist, you might be quite time constrained, and then, naturally, you'll go for the most famous ones within the vicinity.

This "long tail" phenomenon is at work elsewhere, as well: I've been to the Angkor Wat complex in Cambodia recently for the third time and took some time to explore more remote ruins (Koh Ker, Beng Mealea, etc.), and while the main sites (Angkor Wat, Ta Phrom) are visited by busloads of tourists, you can easily be the only person for a while at the more remote ones.
The worst CEOs in corporate history
> Interestingly, Morocco was the first country to publicly recognize the United States as an official state with the ratification of the Moroccan-American Treaty of Friendship in 1786. Signed by Thomas Jefferson and John Adams, it recognized Moroccan ports as open to U.S. ships and is the longest-standing unbroken treaty relationship in U.S. history.

Within a decade of recognising the US, Morocco was pirating their ships again, and the US had to pay huge sums to the Barbary corsairs for safe passage - leading to the creation of the US Navy and the First and Second Barbary Wars in 1801 and 1815. Maybe the treaty was never torn up and discarded, but it was broken pretty quickly.
I really love the Isotope Table. I seem to remember having a chemistry teacher that mentioned something about the table being wonky or secretive. Total hearsay.

I like the periodic table because I could verify it. Isotopes? Not so much...
That's fantastic! I feel like that should be the law everywhere. It's kind of accepted in the US that unless posted "no trespassing", you can wander about in rural areas, without trouble, as long as you don't get too close to houses and such. But, the law definitely sides with property owners if they put up a sign saying keep out.

But, to put things into perspective, the BLM and the Forest Service have more land under management than nearly all of the Nordic countries combined (BLM and Forest Service have nearly 3 million sq km under management). And, the much of that land can be roamed, at will; some of it can even be camped on for long periods of time at little or no cost. So, there's no shortage of land in the US for roaming, though it's concentrated most heavily in the southwest. Northeastern states have been too densely populated for too long to have had a chance to get some protected wilderness.
>In China caring for old parents is an important responsibility of children, but I do not know how that is formulated in law.

http://www.huffingtonpost.com/entry/china-parents-children-v...
Well, you may have me there. Now I am totally confused about whether it should be spectrum or spectra.

I suppose that means it's time for me to call it a night!
I think the google comparison is fair, but I feel like Wolfram (and let's be clear, this piece is basically a giant ad) is like an order of magnitude ahead in the search engine aspects, if the sub-field is not-web-page datasets.
"Goodwill", my ass.

Remember "Confessions of a Car Salesman"?

https://news.ycombinator.com/item?id=8824544

https://news.ycombinator.com/item?id=3779735

(Article is gone, but word doc here:
http://comp.uark.edu/~lmeade/Communication/persuasion_files/... )

Some update for 2009:
http://www.naltblackchurch.com/finance/pdf/ConfessionsOfACar...
Anything written by Stephen Wolfram is mostly about Stephen Wolfram.
I've seen a lot of projections like this, showing areas that will someday be underwater when sea levels rise. But am I missing something? Why wouldn't people just build barriers to keep the water out?

That may be prohibitively expensive for some places, but for Manhattan, I have to imagine the cost would be small compared to the alternative.
Yup. Congratulations kid. You broke fall-through, perhaps the biggest advantage of a switch over else-ifs.
Eat less food, fatty!

[Simples!]
Best Papers vs. Top Cited Papers in Computer Science (since 1996) – AMiner
Yet I’m able to make a Nazi salut online, but not show my breasts?

Your "freedom of speech" is still only allowing what your culture wants.

The internet is something where all cultures collide, so giving any one culture control is just stupid.
The quote says the treaty recognizes Moroccan ports as open to US ships. Have Moroccan ports ever been closed to US ships? Piracy isn't the same issue.

edits / further thoughts, having read the treaty ( http://avalon.law.yale.edu/18th_century/bar1786t.asp ):

It violates the treaty for any captured American ship, person, or property not to be restored to America upon docking in a Moroccan port, whether that ship was captured by Morocco or by a "Moor" (in the treaty, Moor seems to contrast with Christian) hailing from any other state.

It specifically does not violate the treaty for the United States or Morocco to wage war against each other, though if one is at war with a third party, the other is prohibited from "accepting a commission" from that third party. It does violate the treaty for prisoners of war to be enslaved rather than ransomed.

It's a little odd to refer to the treaty as having lasted for 220 years, since by its own article 25 it expired in 1836.
I am an American living in Russia. $100 bills are the only American currency I ever see here.

Unlike in the USA, where $100 bills are very rare and sometimes a hassle to actually use because some shops won't accept them or treat them suspiciously.
Epicurus talked about this couple millenia ago.
Curious how this is socialism and why it's the 'white man' doing this; there's more than one race in our army and government is there not?
We get every election day off in Germany.
PS: The US National Park system is awesome.

Also, I love how some places are left rugged and undeveloped, while others have an excellent infrastructure in place to allow people to see the highlights even from the car. At first, I thought it was pathetic: you drive through, get off at the parking lot, take a picture, and drive to the next parking lot, ad nauseam.

That's not seeing nature, I thought.

But then, if you're older and somewhat infirm, or, say, wheelchair bound - the accessibility of many parks still allows you to experience the sights.
If you're looking for a minimal debian image, debootstrap is probably the best way to get one - certainly its result is likely to be more minimal than a live CD.
If you're targeting Excel and generate CSV, then use UTF-8 with signature and include the sep= line at the start. Joel mentioned it as an alternative to creating Excel files, i.e., creating a file specifically for Excel to read. If that's the goal you don't need to care for other CSV readers and simply make things nice in Excel.

SAP probably cannot do that.
That's plain-old hedonism you are describing.

Real happiness is from enlightened hedonism. Take into account the physical tire and emptiness of masturbating 24/7.
The official python debugger is called pdb, so this is following convention. Moreover, bdb and gdb have coexisted since the 80s without causing much confusion. I think we'll survive.
A code gadget finder based on capstone/keystone/pyelftools
> Jacob responded with a declaration that “our urban planning is irrelevant” and decried “shortsightedness of decision-making.” As an example, he cited the Hudson Yards development, just one of many waterfront megaprojects that the city has continued to enthusiastically promote, even after Sandy. He thinks that the government should instead rework its policies to relocate assets away from the water.

I think Jacob commits the opposite error, failing to discount the future. If Manhattan real estate is worth "hundreds of billions of dollars" as an asset, then it's worth tens of billions of dollars a year as a value-stream. If we're talking something like Hurricane Sandy causing $33 billion in property damage in New York, that's maybe one year of the property market's value. That's a quite small "weather tax" in the grand scheme of things, and if we're talking a multi-century trend, well, it might come time to contemplate taking down the skyscraper after a few hundred years, assuming the world hasn't perished in a global thermonuclear war where Manhattan was the first target and assuming that the city still prospers.

And remember that Manhattan is an island literally named "many hills". The Financial District is low-lying but only because it's artificial land. Midtown would be pretty solidly unaffected for a good little while.
I love trackpoints :)
It is! Just imported a 3 million line csv with zero problems.
Maybe we could send only castrated men, and women who have either had a hysterectomy or are post-menopausal.

I mean, we do the same things to dogs because they're a menace otherwise.
The task at hand could just be to answer a quick one-off question about the data. Not worth bothering the developers for that.
A lot of it is religious. It is considered a great sin in popular religions.

Well partially, but there is also that in ancient times it was considered that you would be depriving the emperor/king/state of his rightful property (or hers obv).

Infact in North Korea today if you commit suicide your family will be sent to a slave labour camp for that same reason.
In Sweden elections are simply placed on weekends...
The Typography of Stranger Things
Microsoft largely documented the file format here:

https://msdn.microsoft.com/en-us/library/office/cc313153(v=o...
Additional coverage here: http://www.sciencealert.com/scientists-have-discovered-new-s...
What advanced things can Office do that LibreOffice can't?
What a great post! Very clear and practically helpful. Thanks for posting.