skysight-inc/HackerNews huggingface dataset:
POSIX Make supports conditional constructs by way of recursive macro expansion. I've found it to be not much more clunky than GNU Make's conditional constructs. (Recently I've come to appreciate the simplicity and consistency of the BSD extensions, even though I don't use them. GNU Make syntax quickly becomes impenetrable.) And as you say, shell invocation from macros isn't yet supported by POSIX but _can_ be done portably. GNU Make supports $(shell COMMAND), everybody else supports $(COMMAND:sh), nobody supports both, and where not supported they expand to the empty string.[1] Here's a simplified example from my proof-of-concept library from https://github.com/wahern/autoguess/blob/config-guess/config...

BOOL,true = true
BOOL,1 = true
BOOL,false = false
BOOL,0 = false
BOOL, = false

OS.exec = uname -s | tr '[A-Z]' '[a-z]'
OS = $(shell $(OS.exec))$(OS.exec:sh)
OS.darwin.test,darwin = true
OS.is.darwin = $(BOOL,$(OS.darwin.test,$(OS)))

# Usage: $(SOFLAGS.shared) - for creating regular shared libraries
SOFLAGS.shared.if.darwin.true = -dynamiclib
SOFLAGS.shared.if.darwin.false = -shared
SOFLAGS.shared = $(SOFLAGS.shared.if.darwin.$(OS.is.darwin))

SOFLAGS = $(SOFLAGS.shared)

show:
@echo "SOFLAGS=$(SOFLAGS)"

I try to keep my stuff portable across AIX, FreeBSD, Linux/glibc, Linux/musl, macOS, NetBSD, OpenBSD, and Solaris. I used to just require GNU Make, with makefiles that looked like:

.POSIX:

all:
+gmake -f GNUmakefile all

.DEFAULT:
+gmake -f GNUmakefile $<

but now I'm moving my projects over to the more portable, dependency-less method. It makes things so much easier to be able to run `make test` without having to worry about first installing unnecessary dependencies, or often any dependencies whatsoever. When you're juggling a dozen VMs, trying to track the latest couple of releases of a platform, simplicity is key. Plus, more easily programmable environments encourage overly complex solutions which become maintenance burdens over months and years. With GNU Make I was always unable to resist the urge to turn every repetitious rule into a template, for example. Sticking to purely portable constructs means I'm forced to be smarter about how to approach something, including recognizing when something is best left un-automated.

[1] It's nice that POSIX will be formalizing the "!=" construct, but unfortunately it's not supported by Solaris make, and macOS will be forever stuck on GNU Make 3.81 which also lacks support.
> This is the same argument that was used to wrongfully deny service to gay couples.

It is the argument that is still lawfully used to deny service on the basis of sexual orientation in much of the country; only a minority of states have public accommodation laws under which sexual orientation is a protected class.

The balance between the state interests involvee in public accommodation laws and the free speech and free association rights they limit is a source of endless debate. The fact that the public in some part of the country has decided that one axis has circumstances which warrant such a limitation is not enough to make the case that everyone must accept that the limitation is universally justified for some other axis.

> I do not believe that some people should be treated more equally than others.

Which can be an argument for internet companies not having their free speech rights limited in order to mandate that they relay political views they disagree with as easily as it can be an argument for that imposition.
The stereo speaker company giving sight to self-driving cars
try catch try catch try catch try catch try catch try catch try catch try catch
Those are the immediate solutions. But tech companies can also influence the situation by allowing remote work (less employees having to relocate to the Bay, or commute to one office), or even choosing to be based in, say, San Jose as opposed to San Francisco proper.
It's cool that this batch is so international. I'm surprised to see companies from that many different regions. That said, I'm also really surprised, given how international this batch is, that there isn't a single Chinese company.
Advantest and National Instruments both produce great equipment in this area as well.
Everyone seems to mention Evernote and a few other solutions, but not many have mentioned Quip.
Maybe Windows 8? Because definitely not 7. I think it offered you to "search the internet" (aka bing), but it didn't do that by itself, you had to click that option.
The Daily Stormer has, for all its problems, shown how "just use another provider" is not a dependable solution.
Kudos.... I'm stealing that for HDD use :)
Time to step up my move from gmail, I guess. Who knows what opinion I might express that might inadvertently trigger such a reaction. I'm a member of the "let them talk - they'll hang themselves with their own noose" school of thought. Google can do what they want, of course. But so can I. I've already ditched yahoo mail for fastmail and was planning on moving from gmail eventually. Guess I'll step that up.
Your customers can tell what programming language you're using?
The reason why there's no one publicly taking that position is that an honest argument perhaps wouldn't exactly be favourable to the person making that argument.

"I'm a petty control freak who needs to constantly supervise his subordinates in order to feel valuable."

Well, good for you sir!

The only arguments against remote work I keep hearing are the quite hazy "Face time is better." and "Water cooler talk is valuable." ones. Nobody making those arguments seems to be willing to substantiate them, though:

Why exactly is face time better? If it is certainly it should be sufficient to just occasionally have people talk face to face, shouldn't it? Then why have everyone in the same office every time, all the time?

If creative, serendipitous talk only happens around the proverbial water cooler you might have a deeper problem with the communication flows in your organisation. Perhaps information silos are your real problem in that case.

I think that reluctance towards remote work often points to more fundamental issues within an organisation.
Yeah, a cursory search of my inbox says that Bing Rewards has paid me about $165 in Amazon cards since 2012, and I've got another $20 or so in credit waiting to be redeemed.

In a world of "good enough", getting the occasional payout is incentive enough to switch from Google, especially when Firefox makes it so easy to switch engines for a query if the first search doesn't work out.
It would be great if it shows

* How many companies with only a single founder?

* How many companies are founded by people who are not native english speaker? I mean, an entire non english speaker team, e.g., all of them were born in Russia or China and came to US in a "late" age (e.g., after 22), instead of Canada, UK etc.

It would be more interesting if we can see a YC-funded company that is founded by a single founder who is not a native English speaker and came to US after 22 and he/she is now over 35 :) This somehow makes the game harder
to play, but it would be challenging and fun and inspiring :)

The stereotype of a YC company is still multi-founder + at least one native english speaker + young. It will be certainly an outlier of outlier if there's ever a YC company that sets an inspiring example that single founder + non native english speaker + "old" can be accepted to YC and can succeed. Or we may need a YC-clone that is started in non-english-speaking countries or is started by a first-generation non-native-english-speaker immigrant in US.
Pulling ‘Puppet’ Strings on Discovery’s Dashboard Framework
I heard Doug Crockford talk about how he doesn't think async/await is that great an idea on a podcast a while ago.

His argument was that it's an unclean abstraction - it gives you access to 'features' of synchronous imperative syntax (lines in a function always execute in order, try-catch blocks, etc) but it remains conceptually and literally promises all the way down.

Therefore, all await 'calls' are really non-blocking at a global level, yet they appear blocking to the local lines of code inside the same async function. This is liable to cause confusion - particularly for beginners or occasional visitors to JS who don't fully grok or have the concept of promises top of mind - but really for everyone.

I've used async/await a fair amount in production code now (with babel) and while it does make some code a bit cleaner, honestly it is often to the detriment of understanding it when you come back to that code it in a few weeks. I've made plenty of stupid mistakes where the two 'faces' of the abstraction don't marry up, and it's frustrating.

More and more I'm inclined to just use promises, even when I have the choice of async/await - call a spade a spade and get on with your day. The article talks about promise chains getting complex and hard to read. Well, if this is the case, maybe it's your code or logic flows in general that need to be cleaned up, and changing the syntax to flatten the structures is actually just a sticky plaster over that.
This is very topical for me as I'm considering offers at a couple of companies this week and was trying to estimate Y for each, since they have pretty different benefits. One of them has catered breakfast and lunch.

It sounds like a great perk but in Canada* in-kind benefits, including meals, are considered part of your salary, and are subject to income tax.

I'm not sure how that plays out with daily catered meals; am I deemed to have received the benefit even if I eat out or bring leftovers? I could be paying taxes on food I haven't eaten. Probably not cheap food either.

I'd prefer being paid in cash, and having the option to buy meal vouchers. That's true of most benefits - cash is always more flexible.

There's also what it says about the culture: we offer free breakfast because we expect you to be at the office before your usual breakfast time. We offer free lunch because we don't expect you to have enough time to go out for lunch, or to pack a lunch the night before.

*For federal income tax. YMMV on provincial tax.

https://www.canada.ca/en/revenue-agency/services/forms-publi...
Whats the point of dying with $10m?

What I meant is, if you are doing well you can both have nice place to live AND save. You aren't not doing well if you have to pick one or the other. Many techies seem to misunderstand their actual relative wealth in the area. Below $250k/y is lower middle, 500K/y+ is middle and 1M/y+ is upper. But everyone acts like their 300k/y makes them pocket rich while they live in a hovel.
> Arrival is arguably science fantasy since it's central conceit isn't very sciencey

Read the original short story: the actual premise is actually very science-y, and completely "true sci-fi." Don't want to spoil it here though.

> though everything _except_ that is very hard sci fi.

Yeah, personally I think sci-fi (rather than sci-fantasy) is allowed to break a single physical law and still be considered sci-fi, as long as it's done consistently and the consequences properly explored.
> I'm sure MS runs Analytics for these and would've killed it off if "no one" wants it.

Microsoft users do not want it.

Microsoft customers want it.

In case it's not obvious, when Windows was given away for free, the users were no longer customers, and transitioned to become "product".
Interesting stats. I don't get this section though:

UNDERREPRESENTED FOUNDERS
S17 Female founders: 35 (12% of all S17 founders)
S17 Applicants who were female: 14%
S17 Companies with a female founder: 27 (21% of the batch)
S17 Applications with a female founder: 22%

S17 Black founders: 14 (4.76% of S17 founders)
S17 Companies with a Black/Af-Am founder: 8 (6.25% of the batch)

S17 Hispanic/Latinx founders: 13 (4.42% of S17 founders)
S17 Companies with a Hispanic/Latinx founder: 7 (5.47% of the batch)

For females the percentage that were accepted is pretty close to the percentage that applied (21% vs 22%). So it seems like it would represent the applicant set.

Couple questions come to mind:

* For the black and hispanic stats, what were the percentage of the total applicants?

* Does the acceptance rate align with the application rate?

* Are the "% Applications with a ..." based on those that arrived at the office for an interview or total number of submissions?

* Are the stats self reported and if so optional or mandatory, or does someone at YC look at people to bucketize them?
Sure, but this time AMD made Intel to show a real progress with 8 cores ULV CPU (yes to show, as I guess Intel had it ready-made, but was not going to present it for the time being). Before this year Intel didn't have to show the real progress as there was almost monopoly on the CPU market.
Hmm, that's curious. I think about that a lot. I am both "diverse" in that I am biracial and "diverse" in the sense that I come from a poor uneducated family.

Note: I use diverse in quotes not because I don't believe it is important but because what diversity means to people varies dramatically.
This is a paper from 1994, before the Internet etc we're popular.

But let's try:

1. Google to find what the relevant fields are - you get math. Search a forum about math -> discover math.stackexchange.com -> ask for help or even just terminology regarding "area under my graph/curve"? Once you get that , you could follow on it(say ask for a library of the most accurate integration method we know of today).

2. Google that, find relevant results and dig for terminology, and follow on it.

And sure , this isn't a bulletproof method, and you won't get 100% coverage. But it help find connections .
Although you don't seem to like the president, you have made a lot of the same points as he did in his campaign. Maybe he will fix these issues and make America great again.
Does anyone know which South Africa startup was in this batch?
Most of what jQuery does could be moved into standard browser APIs and then presumably implemented in native code. I feel that implementing it that way would certainly be significantly faster, because any performance loss from impossibility of trace-directed optimizations is outweighted by significant reduction of amount of crossings between native and JS code with completely different memory model. The fact that VM/native transition is expensive is exactly the reason why things like WebAssembly cannot directly manipulate DOM.

But this could not be implemented by writing C++ class that gets exported to JS code as $ when something that looks like jquery is loaded. In JS you can load jQuery and then monkey patch it, which will break when you use this kind of "transparent" optimization.
Typical employees that can cause a data breach
If you can build cars and have the technology to run them autonomously, you don't really need someone else's rideshare service, that's the easy part.
Like this woman? http://slippedisc.com/2017/08/i-gave-up-a-career-in-the-defe...

She sounds like this:

https://slippedisc.com/2017/08/last-night-the-aida-missed-he...
This looks quite nice. Quite often, I want to read the code that corresponds to the exact version of an official package that I am already running on my system. I hope other distributions do something similar. I always run into trouble configuring source repositories, especially on CentOS.
So to aggregate assertions in this thread, Bing powers:

* Bing.com web searches
* Yahoo.com search engine backend
* DuckDuckGo.com search engine source
* Windows Start Bar results
* Default search engine for IE/Edge
* Default search engine backend for Firefox
* Amazon Echo web searches
* Siri web searches
* Facebook search bar web searches
Apple does not, not even without the bookmark. A bit poor analogy but most probably do get what you meant :)
Completely agree with you. I grew up in the East Bay and to say much of the East Bay is extremely poor is rediculous. Sure Oakland and Richmond are struggling but there are numerous cities that are not (Walnut Creek, Orinda, Danville, Pleasanton, etc).
The specific hiring approach Damore objected to was "reducing the false negative rate" for women.

A false negative in hiring occurs when a qualified candidate is rejected (as opposed to a false positive, where an unqualified candidate is hired). So Damore's objection was not to "preferring less qualified women", it was to an attempt to raise the proportion of qualified women being hired.

So I'm curious why you chose to jump to "preferring less qualified women".
I think this is a beautiful role playing game indeed :) Thanks for sharing, I am inspired!
Thanks for the correction. I typed it on the go without checking first.
Actually that is the false narrative. Those states may have the most satisfied people, but they also have the highest overdose death rates: http://www.oregonlive.com/health/index.ssf/2011/11/oregons_h...

(Google "National drug overdose rates" for more info - CDC and academia have plenty of studies, but no pretty graphs)
That's not at all what I claimed. There is rampant sexual harassment, not just in tech but in many fields, but we should have been horrified indeed to learn that sexual harassment is so pervasive as to drive a large percentage of women out. What we see is that culture drives away a significant portion of women.
You used everything to denounce the story. Your comment itself proves that sexism exists even here not in a separate world.

Women engineers in Uber were not from that world and they had the same sexism. But, of course people will find some other way to denounce that too.
The description sounds cool but nowhere on metacpan or github does the author provide an example of what this module outputs.
I recently learned this is possible to turn off from the settings as something like "search Internet for results".
Probably the most annoying feature of windows 10, hit enter quickly enough and its always a bing search because it's too fast for local..
For those interested in spreading this on PH: https://www.producthunt.com/posts/marko-js
Why AI visionary Andrew Ng teaches humans to teach computers
* We ask for gender on our applications, but we haven't asked for race/ethnicity, which is why we don't have the answer to your first question.

* We see that it does for female founders.

* Total number of submissions

* Gender is reported in the applications. We asked founders in the batch to self-report for race/ethnicity.
If 1 happened, the police would know, since they surfaced the boat.
The code formatter described in the article is not deterministic either. The author admits the search space is far too large for him to brute-force it, so his formatter does the best it can, which might not get the optimal results:

"If the line splitter tries, like, 5,000 solutions and still hasn't found a winner yet, it just picks the best it found so far and bails."

This sounds like it would give no more guarantees of a deterministic result than AI methods would. They also try their best, only search a subset of the search space, and bail when user-defined criteria such as time, iteration, or space limits are reached.

Another approach could be to use both the author's hand-crafted algorithm and an AI method. There are at least two ways to go about that. The first would be to run the hand-crafted algorithm and pass its evaluation of the best solutions to seed an AI method (for example, as the seed populations in an evolutionary algorithm). The second would be to do the opposite, and run the AI method first, and seed the hand-crafted algorithm with the best solutions the AI method discovered.
We probably need polymaths more than people writing clickbait headlines for the BBC.
I have a feeling we by now have way too much "tell something about the mentality" things. People seek most minute and irrelevant details about somebody's life and blow them up into the whole narrative about how it reveals the darkest depths of somebody's psychology, all while ignoring the open history of behavior, speech, accomplishments and so on. The idea that all the observable behavior is just a facade and only this one or two particular details about something that was said or done once 20 years ago reveals somebody's "true character" is bewildering in its irrationality, and still seems to be widely popular.
University students might use it to nefarious ends too. I think the body of research that education is a net good is pretty conclusive at this point.
Nuxtent: Seamlessly use markdown files in your Nuxt.js sites
Not trying to be critical, but I suspect that the gist comes out as "I am SO smart". If you chose a third person account you might have avoided them. Not sure, but that's my guess.
You're kind of stacking turtles here to arrive at a conclusion. Let's assume that you're correct in that anti-women practices were in place in medicine and law, but were subsequently dismantled (which I don't agree with). Why weren't they dismantled in tech over the same period of time? You're basically arguing that sexism was everywhere, but somehow it's only still keeping women out of tech today.

Also, on your article references, you've shifted the discussion. We're talking about gender representation in professions, not income parity or senior-level representation, which have nuanced reasons for favoring one set of people over another (including bias). You need to answer the question of why women aren't even entering CS degree programs in the first place, while they enter med school and law school at close to parity with men.
It doesn't mean anything; Intel has a bunch of unrelated products that all have lake codenames.
1.) Not ever having to worry about not having enough money.

2.) Living knowing that you produced more than you consumed.

3.) Passing it on to your kids.

Anyway, from personal experience - living below your means doesn't mean deprivation. It means deciding what you actually want and not buying into all of the messages society sends you about what you should want. Usually you can get what you actually want for a small fraction of a tech-worker's salary, and then once you do that, why give the rest to somebody else?
Oh, I intend to advance an interpretation based on the actual words that Damore actually wrote and actually published. But since you're going to fight every step of the way to kick and scream and move goalposts and argue that "he didn't actually say that!" in response to basically anything, I have to start from first principles on you.

So: would you agree that the memo was intended by Damore to communicate some type of argument, reasoning from evidence, in support of some particular conclusion, and that he felt this was not merely idle speculation but something genuinely important in need of attention from many people?
It is ultimately a failure of language and runtime that programmer has to manually specify where he wants to make asynchronous vs. synchronous functions to get the optimal performance.

This blog posts elaborates on that better then I could do here, so I'm just going to link to it: http://journal.stuffwithstuff.com/2015/02/01/what-color-is-y...
Easy configuration as code tool for GitLab
"This does of course not only go for GPU's, but CPU's and their BSP's and secret management controllers as well, as the dozen or so secret binary blobs you need to get all the hardware to work at all."

My first thought was actually "what about data formats?" These days, most data formats are at least nominally open, but you still need to write code to work with those formats, and most of the existing code is still in C or C++ libraries. The IdealOS will fail instantly as soon as a user receives a DOCX or XLSX file and it displays the document wrong. It can't just launch LibreOffice and use that. Even LibreOffice can't always parse random MS Office documents correctly, and LO represents decades of coder-years.
What's new with Webassembly
For what it's worth, you're also wrong on all counts.
> No duckduckgo is bigger than you think.

You're right, a twelfth of the volume of Bing is insane, especially with these marks on the table (which are probably an optimistic view, but still).

Edit: changed 'inflated' to 'an optimistic view'.
You need webpack to actually use a Vue component (template + script + CSS).