skysight-inc/HackerNews huggingface dataset:
Yes, -Weverything + -Werror is often a silly combination. That isn't a GCC-specific problem, though. Clang with both flags will fail to compile quite a lot of code, too.

As the other reply points out, you can just use -Wno-effc++ on top of -Weverything. You could also avoid that particular problem by not using C++ ;-).
>This is my favorite sentence. He's hinting at functional programming!

The biggest (perhaps the only) way that C was actually ahead of its time was its support for "functional" programming: pass-by-value, higher-order functions,[1] macros[2] and even having functions at all.[3]

[1] 40 years before Java, and before any other mainstream non-Lisp.[1b]

[1b] Algol 68 supported function pointers first, but it was, famously, too ahead-of-its-time to implement. Pascal had limited support for function parameters but didn't support returning them or specifying their parameter types or arity.

[2] An advanced feature for the time.

[3] Fortran, Cobol, PL/I, etc still only supported procedures, which were themselves considered a somewhat advanced feature at the time.
I have only used the original Xilinx one but ARM is pretty mainstream, the newest ones even have Mali GPUs.

I would expect a Xeon+FPGA to be at a very different price point from the ARM+FPGA devices, it will be interesting to see whether Intel carry on selling ARM ones or also produce an Atom+FPGA equivalent.
Here's a plug for bash with vim on the command line. (Ubuntu but also wsl). In your login dir, in .inputrc, add:

set editing-mode vi
set keymap vi-command:w

This gives you vim on the command line, very handy.

Interactively,
set -o vi
will work.

This is a great way to 'live in vim.'
I found Singaporean nights quite nice and mild. I'm German and used to much colder temperatures, but the 25 degrees Celsius at night and a mild breeze where quite bearable for leisurely strolls and even working out.
I have considered such alternatives in the past and they did not work for me. For example, how can I conveniently type the string "jk" or "kj" with such a configuration?

The artificial delay I have to introduce between typing "j" and "k" to actually type "jk" is unacceptable. Although it is rare, I sometimes do have to type "jk" in special circumstances such as while typing LaTeX code.

Mapping Caps Lock to Escape is just a much cleaner solution that does not come with any surprises.
Beta Testing in Production Like a Pro
Getting the Most Out of Pre-K, 'The Most Important' Year in School
SpaceX channel
> Many of us on the team have come from ad-supported businesses and we really, really never want to do that again. I personally guarantee I will never be a "publisher" again.

So prove it. Provide a way that customers can try to give you money for solving their problems. Even if it is just a dummy static page with a form to contact your "sales" department, really show that you will be here for the longer term.
I'm just surprised there is such a large contingent of hundred millionaire preppers and/or people who think they are going to live forever and don't see how that could be interpreted as lacking empathy, when there are (as the previous poster pointed out), people dying of starvation.
How would you handle all the people with identical names? Even if you used DoB, there is a chance for a duplicate.
Same. I waited for weeks for the Pixel to be in stock last year. I finally bought an iPhone 7 Plus after being all android since the T-Mobile G1. I love it, and it shipped in like 24 hours! I was blown away that google couldn’t provide a phone to those that wanted it. (Note: I wanted to max out storage and I wanted the XL. There was stock on models with the least storage.)

I really hope they can keep these in stock.
I currently have a Nexus 6P. It was the flagship before the Pixel series. I use Bluetooth headphones daily on my commute using the Philly subway system (SEPTA). In center city and around suburban station I experience sound cutting in and out all the time on two different wireless bluetooth headphones. It seems to work just fine in my apartment when I don't need it but is never reliable when there's a ton of other signals around.

I can't stand the current state of the industry. New phones cost more but offer little in terms of value. They also look like trash. Who actually thought it was a good idea to make a flag ship phone have a two tone plastic case?

I'll be sticking to my aluminum cased 6P for a while. I'm also likely to get it again when this one finally dies. There's absolutely nothing that makes me want a Samsung or a Google branded Android phone right now.
Ask HN: Where can I find info about numbers of worldwide NLP market share?
I'm trying to find this information but I haven't succeed it yet. I only have found partial information with censored analytics.
Yeah, like ignoring those Chinese companies that spawn up quickly, dump 100,000 items on the marketplace, then disappear; and instead chase naive new sellers that didn't expect to climb algorithmic wall when they paid for "seller privileges"?
Looks great for $849. The camera is amazing with a 98 Dxo score. Also, the free unlimited Photo and Video storage is a great deal.

Only conern is the inventory, they make 100 pieces and do marketing for a million, I don't understand the logic, smh.
Not only is it wrong, but it's wildly misleading about why dependency inversion is desirable. This article is trash; it's basically a copy/paste of the Wikipedia entry on dependency inversion, rewritten awkwardly (not to mention the usage of Comic Sans).
Good for you. When I was working from home I never used an alarm either and woke up every day around 7:30 no matter when I went to bed.
App developers agreed to the 30%. Qualcomm agreed to FRAND pricing.

But that’s not what they’re charging Apple. They broke an agreement.

What Apple is doing doesn’t violate an agreement, whatever you think of it.
Danger of AI
The only reason to remove the headphone jack is to sell more dongles and wireless headphones. That's it.

Consumers are not asking for it for the aesthetics. It doesn't make the phone much thinner. It doesn't make the phone easier to manufacture.
Not only that, but the 40h/week ignores commutes. For some people that's an additional 15h/week.

Also hunger-gatherers lived right beside the people they knew. They just had to step outside to meet up with friends to socialize.
Whats New in Postgres 10: Monitoring Improvements
man. you're in the audio industry. most people are not. I'm talking the VAST majority of people. So they should cater to you? I think it is not unreasonable to expect the professional to have whatever equipment they need - there are aux adapters for USB C and lightning. They are small. They are inexpensive.
JazzScheme – Language and IDE Built on Gambit Scheme
All the most crucial wireless patents have already expired

The 2G patents (that Qualcomm owned 90% of) have expired.. but who uses that anymore?

Qualcomm also owns 13% of the patents used for LTE (which they agreed to license under FRAND terms).. it's those patents they are using to create a monopoly on LTE chips.

First they refuse to license their patents to other manufacturers who want to produce chips.. then they say to handset manufacturers, they won't sell you chips unless you agree to pay a royalty on every handset (even if it does not contain Qualcomm chips).

They own the same percentage of patents as Erickson, but they produce 4x the revenue from IP licensing (+ the revenue from chipset sales).

Edit: if you believe the 13% of LTE patents Qualcomm owns are worth $10... that would be $77 for all of the LTE standard essential patents at the same rate. So we are not far off from your $100 Apple-like price in your post.
$649/$849

it looks like a nice phone, but i have a hard time understanding how it's 5-7x better than my xiaomi.
Official List of Apple’s Approved Virtual Currencies
Smadav Pro 2017 Serial Key and Registration Name Free [Latest]
Qualcomm reports QCT (chips and software) separately from QTL (licensing). In 2015, their Form 10-K reported that licensing was around 30% of their income and the rest was chips and software (see page 8).

http://investor.qualcomm.com/secfiling.cfm?filingID=1234452-...
Redesigning Laravel.io
> Interesting fact: git doesn't check the validity of sha-1 hashes in your commit history.

You mean, you have to run git fsck after pulling, since git only checks that you got what you asked for?
It could be used for storing/fetching secrets and managing access for teams of real/application users.
The top of the phone’s bezel contains a camera, and the bottom doesn’t. Why do you want a larger chin with wasted space? The pixel 1’s chin always bothered me for that reason.
Qualcomm agreed to only charge 50¢ per item (FRAND licensing) but is complaining Apple isn’t paying 20%. They’re violating an agreement.

In the App Store Apple offered a deal and sticks to it. You may not need like it but they’re doing exactly what they agreed to.
I think your conclusion is premised on a false dichotomy: that either tech jobs are standardized or H1B visas are harmless. There are many ways both can be false at the same time.
Not sure what you mean by mocking data. Do you mean creating test data? If I can crank out tests by just tweaking test data, that's actually a good thing. That means that my test spec is as compact as possible.

Mocking the database system is what I was referring to. Any two database systems have enough difference in datatypes, precise transaction semantics, default behaviors, and language dialect that it just isn't worth the effort. Add your actual database to your test, and just deal with the consequences.
Agreed and my analogy is imperfect at best. However, assuming I am eating at a fine-dining establishment, why should tips be percentage calculated? Shouldn't the tip amount be the same regardless of whether I order the expensive items on the menu or the (relatively) cheaper ones? Which is basically what Apple's argument boils down to.

FWIW, I don't really have a dog in this race (except as an AAPL stockholder I want the stock to do well). If any judgement mandates that the license fee be charged on the cost of the chip and not the device, then I'd like to see that be extended to the App Store ToS as well.
I was just diagnosed with sleep apnea this week after it wreaked havoc on my personal and professional life for the last 6. I couldn't work, couldn't engage in anything. Now I'm pretty much terrified to go to sleep every night as I know I'm probably not going to get any rest and wake up zombified. I heard the surgery was a hit or miss. Would you recommend?
The Art of James Castle, Created with Spit, Scraps, and Soot
If you're thinking of electrolytic caps (the common barrel shaped ones), not all caps share that failure mode.
Google Pixel Buds
Because r7rs large is an effort that probably is bigger than common lisp. It is very much not a toy language.
Nice quote marks. Of course someone would wander in and parse this as a martyr complex. Thank you for illustrating my point so effectively.
Cloud Firestore with Dan McGrath and Alex Dufetel [audio]
How New Relic Does Security
Unintended code (like having both arms of an if-else-statement execute the same action, or a duplicate condition in a logical expression) is sometimes perfectly valid as far as the standard goes. A double condition for example may simply be a result of poor refactoring, and thus the program even works as intended – however, the compiler cannot know that. That's why the helpful warnings flag those statements – -Werror then makes the compiler abort the compilation altogether on any warnings which is clearly not standard-compliant in cases like the one I outlined.

The majority of the warning options showed in the article are intended to find unintended code (which can however perfectly defined if not intended behaviour as opposed to invalid, undefined behaviour). The very basic examples showed for those options also themselves do not contain anything that by itself would make the code not standard-compliant.
WHY? Why do people have to be such assholes? Jesus.
> Branches are Git objects

That's not how I understand refs, they don't even live in the .git/objects hierarchy.
I'm not against removing the Aux port on principal or anything, but I just don't understand why we're going toward removing seemingly core hardware.

Even on desktops/laptops 3.5mm audio is still used. Why do we need dongles to use core features?

Especially since we're removing an "out" port, now we're reliant on a single port to manage all in and out. I don't want to carry dongles to be able to use my phone normally.
> If you are X% less productive you will be able to charge X% less for your work, on average, so you would need to work longer hours for the same pay.

That's making the huge assumption that you're willing to constantly seek your maximum pay and that you get paid solely for your measurable productivity output, which is in my experience very rarely the case. More often than not you get paid based on capabilities and responsibilities, not significantly more or less on your output. It's certainly not a direct X% less productive = X% less pay relationship. I believe it's been shown that seeking new employers is the best way to maximize pay, but that means interviews are often the difference between you and more pay, yet no one can judge future productivity in an interview.

> you would shorten your life to a month at best

To my knowledge, sleep dep hasn't actually killed people directly like this, they simply start sleeping.
>If my 1st generation Pixel were to break today, I'd buy another 1st generation Pixel.

Yup, no way I'm buying new a car just to listen to music while driving.
> people used to work 100 hour weeks

Many people still work +100 hour weeks - just not all for their primary paying jobs. Raising children, side projects, home repair, etc..
Having used the adapters they often break very easily and look like a complete mess. I have been through several on my iPhone.
Have you seen https://github.com/google/git-appraise
Why can't we let the markets regulate themselves?

Or, if we're dictating what's a fair price.. can we at least force Intel, AMD and other relevant parties to license X86 patents?
After finding cheap Bluetooth headsets on Amazon last about as long as a pair of earbuds, and have no cord, I don't see a problem.

I'm very rough on physical devices, and will go through 4-6 pair of earbuds a year. Because these do not physically connect to the device, they take an order of magnitude less wear, and thus last longer.
I'm the same way. Back when I used to have summer breaks (highschool / college if I didn't have a part-time gig) my days would start 2 hours later every day. So I'd wake up at 8, then 10, then 12... until I was fully nocturnal. But then 4-5 days later I was back to waking up in the morning.
The guidelines are indeed a nice idea. Its a pity a tiny minority seems to care for or follow them. IMO Using them to selectively criticize is worse than not having them in the first place.
FRAND is a legal term in a contract.

You can’t just arbitrarily apply it to something that’s not under a contract (Apple’s device prices) and say that because you don’t like that due to a non-legal system definition of FRAND Qualcomm is off the hook.
Why is that observation important to the discussion at hand?
Even if there were a billion Rhinos, killing them for their horns should never be acceptable.
I'll outright say it-an endangered animal's life is more valuable then a randomly selected human's. You could kill 10 or 100 humans for each of an endangered species and make no (net) difference in the ability of the human race to survive.
I have been using Vim for 15 years now and I see no other editor (not even Emacs) that comes anywhere close to the ergonomics of Vim. I can edit code the fastest in Vim.

If you think Vim is not helping you being more productive, I suggest reading the excellent StackOverflow answer that explains how learning Vim is like learning a language (not just learning keyboard shortcuts): https://stackoverflow.com/a/1220118/1175080

The only things that I find lacking in Vim is good support for various software development environments, for example, Java development. Another thing that used to bother me is the awkward placement of the Escape key but I overcome that easily by remapping my Caps Lock to Escape (see https://github.com/susam/uncap#uncap for examples).
just a sales pitch for Fauna, nothing interesting to see there.
This is what I've done too, i.e use Dropbox for bare repos, and never had a problem.
I'm much more interested in why a body needs an amount of sleep, what processes it is conducting, and how you can affect those processes.

What happens in the 7th hour that didn't happen in the 6th? If it's a fourth REM cycle, why do we need 4? What does the fourth do that the third didn't? Why do REM cycles take that long? Can you make them take more or less time? Can you determine lack of sleep from a brain scan? Can you tell the difference between a 6th hour brain and a 7th hour brain? Does anything you eat or do during a day affect how long this process takes? What about hydration / nutrition?

I'm sure these are all answerable, but I'm not sure most people know the answers, and this article certainly doesn't get us any closer to understanding.
Why are they focusing on this when there is a huge usability problem on osx + high res displays
Why I'm on the Anti-Hustle, Will You Join Me?
I find more useful to make the program also warning free in clang instead of adding such options.
CEO? Why bother with the MBA? You can pull that kind of scratch (and more) down being a librarian in New York City, or an educator upstate, or a firefighter.

http://seethroughny.net/pensions/

Or if you fancy over half a million a year, just be a retired history professor.

EDIT: I'm an order of magnitude out. $250k/_month_ in TFA. I misread that.
2560 x 1440 27" about 20" away, font seems fine. shrug
Everything You Ever Wanted to Know About Secure HTML Forms
Trump administration to announce repeal of the Clean Power Plan
I am of the opinion that Twitter can't be monetized. If this were 30 years ago, twitter would be a technical standard/protocol like email (SMTP), not a private company, that anyone could implement and run a service off of.

Twitter (read: tweeting) is just another facet of human communication. You can't monetize it just like you can't monetize writing or speaking or emailing. If you try to, people navigate around it. Charge for tweets? Dead service, new one pops up that does the same thing. Can't get enough advertising dollars because the content is unpredictable. Can't get big advertising promotions because big money doesn't want to be seen next to racist tweets.

In short, twitter has a humanity problem.
Instead of buying a new car, you could just use the adaptor that comes with the phone.
i'm sure it becomes intuitive with lots of use, bit i find it awkward with having to move my finger off the home keys to move left. somehow for me, its even more confusing that way. where as my arrow keys are completely intuitive, one finger for the left and right keys and the middle finger handles up down. to me its not a big deal to remove my fingers from the home row if i already have to move from the home keys.
Can you please point out where in the referenced article there is a mention of QCOM changing the terms of the deal? I seem to have missed it. Thanks.
> So dividing people doesn't make sense.

Exceeeept when you're doing it arbitrarily to make a point?
There is no such thing as trust anymore at our level of information and 'evil' density. Yes 'evil density' meaning the amount of unemployed outsiders working from a different mission statement than their target. Trust is a relic of small communities and shared goals. As we break down barriers, go global, increase information density - we tempt fate by assuming all new members will function honestly. Or that established members will remain honest
What headphones do you have? I've found that your experience varies wildly depending on your headset. Can you try a different set of Bluetooth headphones and report back?
Google Clips is a new $249 wearable camera
That only works if the code you are testing does everything in auto-commit mode. Which is often a terrible idea. If your code uses transactions, then no, the framework cannot rely on rollback to do setup and teardown.
IE Domain Registry Shut Down Prostitution and Sex Trafficking Websites
Show HN: “Automicons” – Generate Profile Pics with Cellular Automata
The article mentions imports to the US, Cuba and Mexico as well.
Brilliant, deal with something you subjectively think is broken by making the user experience even worse.

I echo the thoughts of others here who simply never use landscape mode.
Well, for a device that is basically the primary device for the vast majority of people to conduct their lives, that are expected to have useful lives of about 2 years, i.e. ~750 days, $400-$500 more may absolutely be worth even a slight improvement, as long as you can afford it.
Text manipulation is easily my biggest complaint with the iPad. If Apple enabled mouse/cursor support, a good portion of the headache of using the iPad as a general purpose computer would evaporate.
Yes, that's the meaning of reporting annualized TWh. It takes capacity factors into account.
I'm trying really hard to understand the market for this device.
Every single Yahoo account was hacked – 3B in all
As an aside, does key base offer tools to encrypt data from code, lets say from Python/Go/Rust/etc, that is moron proof?

I say tools, because while a library would be cool, I'd understand if it was a binary/application to provide the functionality/user-experience that key base is aiming for.

I know this likely doesn't sound like something key base should be aiming for, but to me, programmers need encryption just as much as users. I'd like to write my libraries/programs with encryption, but I also want to be able to trust it and not fear some inherent vulnerability I'm adding.

To me, Keybase is aiming to solve/reduce these complexities for users, and I'm hoping they also aim to solve it for developers to.

Thanks for all the hard work folks @ Keybase, it's definitely appreciated!
Is anyone doing web development on the chromebooks? What is your setup like, do you have any limitations?
Why there are 12 notes to the musical octave
$999 for a chromebook?
That’s what he says he wants, now. He still says he wants to deconstruct the government. There’s no other way to describe destruction of a government from the inside. He also shows no sign of wanting to stop anywhere.
I don't think the data is all public.

3-letter government agencies in the United States have a considerable spend w/ companies like BBN and Booz Allen Hamilton.

I'm not aware at all of NLP tools that are useful "out of the box" without extensive training and customization; I don't think that's going to change ever, although the training and customization may get a lot easier.
Have you tried avoiding screens an hour or two before going to bed? Fill that time with reading or listening to podcasts.
I'm using a macbook pro and it seems fine. Is the text blurry on 4k/5k?
What do you do when you actually need to type the string "jk"? Type "j", then wait for sometime and then type "k"?
Principles in Practice (2009) [pdf]
The CEO of 'email killer' Symphony tells employees to 'buckle up'
Prior discussion: https://news.ycombinator.com/item?id=14681561
Most of the grit of blockchain work is in the flows and practices used to build apps / dapps around existing blockchains. There aren't any books that you can read or comprehensive Medium blogs that cover this content.

Core blockchain dev, i.e. at a protocol level requires serious chops, not the kind of thing you can just pick up in a few months.

I'd recommend brushing up on broad blockchain concepts and not just intensely studying a single chain / platform. If you want to get into the industry your best bet is to find a company willing to hire you and let you learn hands on.
No wireless charging?
Trying to feed the anxieties of urbanites, aren't they?