skysight-inc/HackerNews huggingface dataset:
The essence of logic programming[0] is in enabling a particular kind of exchange. On the one hand, there's a knowlege base -- a specification of what is known in the form of facts/rules/relations. On the other, there's a quest to satisfy some goal. In particular, the query may filter the knowledge base for a particular representation of facts. The query is nothing but a problem statement. In the middle, there's an engine that deduces the answers to queries, however the implementation is hidden from the user. In the ideal world, the user does not concern herself about how the search could be performed at all. The engine would magically produce the answer. (For efficiency's sake, this is not always the case in practice.) GraphQL is built in this spirit. There's an opportunity for a more detailed blog post here. I'll see to it when I get a chance.

[0] https://en.wikipedia.org/wiki/Logic_programming
Tones are almost the easiest part. The Chinese characters are much more difficult thing to tackle, which a lot of foreign learners skip, but in that way you'll never be able to read anything written in Chinese. The article you referenced mentioned you need to remember 2000-3000 kanji (Which is the Japanese pronunciation for Chinese character), well you need to remember a lot more for Chinese.

You need to deal with almost everything the article claims to make learning English hard, when you learn Chinese. And it's often a lot more harder.

When it comes to grammar, English has much more well defined grammar than Chinese does though it might seem too flexible compared to many other European languages.

In addition, if you actually live in China, you most likely needs to deal with local dialects, which could sound like a entirely different language. That's why there are Mandarin and Catonese. There are a lot more inside China.
Longer comment on "flipping": https://news.ycombinator.com/item?id=13835150.

> Also, I guess I don't understand where they actually make money.

Sorry for not being more clear on that. When we make an offer on a home, we present a headline price ("we think your home is worth $X"), and an upfront fee for our service (6-12% depending on our estimation of the risk, where traditional real estate fees are 6%).

We try to make the fee as transparent to our sellers as possible, so they can make a fully informed decision.
How is that so?
It's funny how the left is all about living wages except when illegal aliens are involved. Evidently, near-slavery is acceptable for these people. If we didn't have them, wages would rise, and Americans would in fact perform these jobs.

It's notable also that some of the worst-affected Americans happen to be black, and that wealthy liberals aren't hiring black housekeepers. It's as if there might be some fear of certain Americans, so we find foreigners to hire instead.
Wow. "Unlimited" for $60/yr. Do you think they'd be ok with me uploading my entire 12tb library? I wasn't able to find any limits in the fine print.
Contrary to popular belief, it is in fact possible to grow a startup without VC money. Perhaps not all types, but certainly a bigger subset than people tend to admit.
> (am probably wrong, and both are borrowing from elsewhere).

You're right there. Tuple unpacking has existed in even stronger form (pattern matching) in most functional or functional-ish languages for ages. Python's had unpacking since God knows when. F#, which is sort of related to ML and feeds features to C# somewhat regularly, does this sort of thing as first-class syntax.

It's sort of a trend for people who learn JS first (or only) to look at features that it's had stapled to it and then point out how much other languages are taking from it.
I'm wondering why the C# team is so keen on pattern matching - I feel like multiple dispatch would suit the language more and accomplish much the same thing. But C# is a weird beast in some ways - a pure OO language that keeps introducing features to make writing getters and setters more and more convenient.

Maybe I just need to move on with the times. I still see a lot of value in OO, but it's clear it's not at all in vogue. I am glad that functional ideas - particularly immutable data, and anonymous functions - have come into the mainstream. But I don't feel the need to throw the baby out with the bath water.
The problem with this article isnt that the NYT fails to take responisbility for their poor reporting, it's the implication that "there's nothing to see here folks, wikileaks is just paper tiger" as depicted in the accompanying image. The tweet doesnt matter, the illegal domestic spying operations do.
Judging from my experience, the next one will be to place you at the company you already are.
Brain is ten times more active than previously measured
41 triple pendulums with very slightly different initial conditions
"docker stats" give you same information, although I have to admit this one has better ui.
> The cultural and religious vacuum left behind is filled by Islam, Buddhism, and the Chinese dynasties

Sounds like the author assumes Christianity started in Europe and spread to the Middle East. It actually happened the other way around.
100offer can help you hire top developers for free, check us out
I had that firmware update. The one that was supposed to fix it "for good". Mine wasn't fixed, at all. ¯\_(ツ)_/¯

Definitely no arguments on the Mac stuff though... (as I type from my shiny new Dell XPS)
New interviewer, believing that I would be interested in reapplying to triplebyte, did give me feedback on what concrete actions I should take in order to do so. Specifically, he said I should focus on studying red-black trees (OK, fair enough, I guess) and hash tables. I thought I had pretty good coverage, purely within the interview, of hash tables. Is that wrong?

Your hash table knowledge is perfectly fine. So is your red-black tree knowledge. Roughly zero percent of programmers implement those during the course of their job, so knowing their characteristics is more than enough.
You have to be joking? My point is that ignorance is dangerous.
There are many companies that you cannot enter without going through a recruiters or an employee referring you.
I'm noticing a lot of very positive stories bout Snapchat (WIRED --- Snap’s IPO Made Its Employees Millionaires—Why Not DJ Khaled?, CNBNC --- Here are all the ways Facebook has copied Snapchat). What's going on here? Is Snapchat using PR firms to prop up the stock after the analysts downgraded the stock earlier this week?
I've never used GCP. Does anyone know at what granularity the Always Free service limits apply? Is it per Google account, per credit card, per billing name & address, something else?

Obviously they shouldn't be in the business of handing out unlimited f1-micros (etc), but I'm curious how you'd go about having more than one small project.
Ask HN: Should women fight differently?
About me:
I'm a software developer in SV. I have been in the s/w industry for a few years now and have been subject to unequal pay, racism/political incorrectness, ignorance, imposter syndrome, etc (fortunately, no harassment) at different stages of my career.

My question:
Should women stand up and fight for themselves differently?

That is do more of #1 than #2:

#1 Support other women. Spread awareness where it will be effectual - like among friends, at work, in your community, where the reach can actually be tangible if not widespread. Work harder, speak up to fight these existing issues for themselves and then others. Share motivational or real examples (e.g.: Uber post by Susan) on social media which people can learn from.

#2 Show solidarity on social media through hate/anger posts, share or retweet these anger posts(this spreads awareness about the problem but never a solution) or protest on the streets for women's march.
The world’s smallest storage medium
Biased Benchmarks: honesty is hard
Yes this has been a problem for several people I know. There is an arduous apology form process one can go through but most people just give up because it is so embarrassing. I've had more complications at the US-Canada border crossing than at any other crossing I've ever taken.
I wondered the same thing. If they launched another location for YC, I would hope they wouldn't just do it because it's in the same timezone, because dang would Toronto be way better.
I'm probably in the minority, but I'm not really a fan of these new changes. Some are OK, but a lot of them seem likely to be abused more than used appropriately.

p.GetCoordinates(out int x, out int y);

vs

var coordinates = p.GetCoordinates();

out parameters should be deprecated, not enhanced.

Patterns are OK, but switch statement with patterns...why? I'd much rather do something like this:

class ShapeHandler()
{
public void Handle(Circle c)
{
...
}
public void Handle(Rectangle s)
{
...
}
}

The argument for Tuples:

> Custom-built transport type for every method: A lot of code overhead for a type whose purpose is just to temporarily group a few values.

I disagree. Before you know it, that 'temporary group' becomes a first class citizen and deserves its own type. If it's code overhead, I'd rather the IDE/tooling help me with it than it be built into the language.

Overall these changes make the language more expressive which is good. I just fear they will be abused more often than not.
Yes, it does have custom components. It gets slow with complex examples like a CPU, but not so much to become useless.
You'll get better quality lead with a filled profile.
Getting Started with UITableView: Populating Data
It's not so much the multiple return as it is losing track of what and where state is being changed. The most common one I see is "populateList(ref myList)", from the callers side you have no idea if a new list is being created or just appended to, you don't know if the list has to be initialized or not, etc. Returning a new list and having the caller specify the assignment is much better.

Just yesterday I fixed a threading bug caused by some semantics around passing by reference and locking.
I've been panned on here before for saying this, but I really feel everyone should leave email alone. As a spec its already so immensely complicated and embedded that any features you add will only be picked up by a tiny percentage of providers.
> For the rest of us mortals, it's nice to have someone reach out and offer to put us in touch with someone looking to hire us.

And I have at least once taken the job, too. Once is enough that it's worthwhile to let them call me.

That said, if you try to repeatedly pester me, I'm going to try my best to lose you, whether you're a recruiter or not. You want to let me know you have something that I might be interested in? Fine. I'll listen. I'll tell you if I'm interested. If not, don't ask me about that one again. If I say I'm not willing to look around right now, don't ask me again for six months.

That is, I'll be civil and have empathy until I quit getting civility and empathy back.
10-20% for the usual recruiters. 30-35% for the good ones.
There's inherently wrong with wanting to sell quickly. If grandma died, leaving me her house 3,000 miles away from where I live, the last thing I'd want to be saddled with is trying to sell it. I know nothing about selling (or owning) a house, the real estate market in that area, etc. A fair enough price ASAP is what I'd be looking for.
MAC address randomization fails to protect iPhones, Android from tracking
Show HN: Coder_decorator – An encoding/decoding library for Ruby
shit, if there were an actual company with real use for Merovingian numismatics, i would work there in a heartbeat
Like many things, I'm sure you can make a case for exceptions or whitelists --although granted they likely monitor and or shunt traffic to less trusted vlans or something?
Switching OS is not an easy task. I'd say go for an MBP only if you have a lot of passion to play with OS X.

If you don't like the Apple OS, you have the option to use an MBP as a native Windows laptop.

IMHO in the last few years HP, Lenovo and especially Dell have caught up and overtaken Apple laptops. I'd recommend you buy a Dell with high resolution screen (from Full HD to 4k), upgradable components - RAM, PCIe disk, WiFi module, LTE module, and extended battery. For the price of MBP you'll get more memory, more disk and the option to upgrade down the line.

The Bash/Ubuntu/Windows Subsystem for Linux has pretty good Unix CLI on Win 10.

In the end both Win and Mac suck, go for Linux or BSD :)
Sunshine hours has more to do with the fact that the sun sets here at 4:00pm in the winter. More often than not it's sunny or cloudy with sunny breaks.
> going for it can get the rules thrown in your face while everyone accuses you of being an asshole who is trying to break the rules while,

I don't doubt discrimination exists, and if this has been your personal experience, I'm sorry.

It just seems foreign to me that someone would actually do this for a private role.

If you don't match the skill set the algorithm will filter you out before anyone even knows you exist. If you get by it clearly the reviewer saw something they liked anyway.

What recruiter is going to berate someone and call them an asshole for applying to a job they aren't qualified for? And if that was the case, I'd view it as a dodged bullet.
It is called, peace through strength. When you have strong military, others do not try to pull punches on you. And when you intervene for others, they also listen to you. That is how US has been, always.
You can use it to justify anything, besides maybe preventing exit.

Don't like the risk of being murdered by cops for being black? Move! Don't like laws against homosexuality? Move!
Unicode is a conflation of two ideas, one good and the other impossible.

The good idea is to have a standard mapping from numbers to little pictures (glyphs, symbols, kanji, ideograms, cuneiform pokings in dried clay, scratches on a rock, whatever.) This is really all ASCII was.

The impossible idea is to encode human languages into bits. This can't be done and will only continue to cause heartache in those who try.

ASCII had English letters but wasn't an encoding for English, although you can and everyone did and does use it for that.
> But my experience in the UK was that there were a few powerful and well-connected independent recruiters who had most of the good candidates and interesting companies on their books

Care to share names?
> Wht do you think of the Try pattern

I'd call it a valuable exception to the rule.
SSH supports forwarding UNIX sockets...
> I've recently been porting all of our shell scripts to have color text output and Unicode status indicators

I kinda have a similar intent of revamping user UI and user interaction of my personal scripts so I would appreciate some insights. Do you have any specific tips, helper functions or code snippets you can point me to? Do you just copy, paste and modify code snippets around when needed or have a clearly defined and reusable functions for printing, listing, displaying, prompting things etc.?
If you have a problem user on slack, you ban them from the team. If the team has gotten so large that it's impossible to moderate in that way, you shouldn't be using slack, imo.
Thanks! It stood out to me because Swift uses 0-based, and I suppose I either forgot or never used it in my brief exposure to Haskell & ML.
I'm somewhat disconcerted.

There was an article on HN yesterday [1] in which one of the replies to the top comment about AG Bell's attempts at flight said: "The difference is that Bell didn't understand aerodynamics and didn't seem to do a thing about it."

That reminded me about an article I'd read some time back that suggested that even modern aviation experts don't correctly understand lift.

Today, that article is on the front page of HN.

[1]1 https://news.ycombinator.com/item?id=13817912
Welcome to the list (if you opened the link w/o VPN/Tor) :)
Maybe it depends on the place you're going; I can't find anywhere nearly comparable in price for a month stay to AirBnB options with local hotels at a location I'm going to soon. Even pretty bad hotels are at least 2.5x the price of a lower end non-shared AirBnB rental
98F (37C) is approx. body temperature, so of course, it wouldn't harm a human body.
> The switch stuff? Without edhaustiveness checking and with inheritance, it's a waste of time.

While this isn't possible in the general case, it might be possible to write a rule in FxCop (or other static analysis tool) to do this kind of checking for e.g. private or internal base types, or to at least check for all the derived types of the current assembly (or solution assemblies.) It also looks slightly less ugly than else if chains, which seems to be a driving factor behind a lot of C#'s newer syntactic sugar.
I agree. Defrauding investors isn't a "woops" sort of mistake.

They deliberately lied about what they had and sought to exploit the misconceptions their company perpetrated for personal gain.

If people who do this aren't sent to jail, isn't the system encouraging more people to try stuff like this?
> I'd gladly trade my computer and phone for a world without private property.

Really? Don't expect very many of us to agree with you...

> There is no money to loan to anyone without private property. I don't think this matters in a state of nature.

Most of us don't want to live in a state of nature, either. I think, if you actually had to do so, even you might decide you don't like it.
I just made the switch from macOS back to Windows. (after being a Mac user for ~14 years.)

If you're a power user, stick with Windows. My general feeling is that Apple prioritizes thin and light over what is important to most power users.

If you don't care, broaden your horizons.

The argument about dev'ing from UNIX environment is almost moot with Windows Subsystem for Linux now. It's not fully-baked, but 99% of the pain I thought would be there from doing a UNIX -> Windows workflow switch, it's just not there.
pg's explanation: http://paulgraham.com/submarine.html
Thanks for the comment -- and it's very accurate in terms of where we'd like to go.

On a tangential note: empowering untrained individuals is important, but we often do the opposite too. Many of our internal tools are designed to make trained professionals/experts as efficient as possible.

For more speculation on Opendoor's business and where we might take it, I think Stratechery has a good writeup. https://stratechery.com/2016/opendoor-a-startup-worth-emulat...
You personally may not enjoy skipping the technical phone screens but that doesn't make it suboptimal for most people. If that were true, we'd see no demand for applying through Triplebyte versus applying to companies directly. Empirically, that doesn't seem to be the case, most candidates prefer to not repeat phone screens across multiple companies when job searching.
You're implying that what is loudest (social media) is what is being done most.
Fun. I hope they are successful. One of the things that my daughter pointed out about 3D movies is that because they are 3D your brain thinks it should be able to shift the focus but it can't and that 'fight' gets in the way of enjoying the content. My understanding is that light field optics don't have this issue.
I was hooked to Snapchat when I saw the live story of hikers from mountain Everest, it was incredible following their journey. It was live, it was intimate and it was from their point of view, I loved every moment of that story.
Now I follow my friends' s stories, send each other silly messages and so on.
Basically if two species occupy the same ecological niche in the same physical location, one will ultimately win out, because it will be slightly more fit. This creates a pressure to either quickly branch into a new and different species, or remain the same. This also taps into the species problem, because the whole concept of a "species" is an artificial human construct, for which nature has no respect.

https://en.wikipedia.org/wiki/Competitive_exclusion_principl...

https://en.wikipedia.org/wiki/Species_problem
Yeah, "Show HN" is definitely one possibility. But personally didn't have much luck there, so looking for alternatives.
2017 and still no clean way to create a Docker volume backed by AWS EBS volumes
I'm aware of joeduffy/blocker, rancher/convoy and Docker's own 'proof-of-concept'.

blocker requires Upstart,
convoy is not even integrated with RancherOS,
docker's POC is... a proof-of-concept.

I've tried all three, they all require tinkering to some extent.

Come on Docker, can't you provide us with one clean way to do this?

I'm sick and tired of experimenting with software, all I want is freaking volume and get back to solving my business problem.
There is a CSS draft, I think, but the Unicode 'patch' for this is already real and it works 100% reliably in Safari and with varying and limited success in other browsers, which hopefully will climb aboard the clue train eventually. Just append code point FE0F (Emoji) or FE0E (Symbol) to the ambiguous character.

The story is deeper than just 'font' being the deciding factor, though.

The key thing to know is that a lot of emoji, especially many of the 'first' ones, were actually just existing (black & white) symbols that were mapped to new, color pictograms on emoji-supporting devices. This might sound like a nice backwards-compatible path, but it was, is, and will always be a disaster!

The Unicode Corsortium stupidly, naïvely, regrettably dictated that such characters should render as emoji "in the mobile context" but as symbols elsewhere. A half a moment's thought shows the folly of this incredibly dumb proposal. Say I text you an emoji. Great. Mobile context. And then you copy my text and paste it into an email your phone to your mother. Should the email look dramatically different depending on whether she checks her email on her phone or on a desktop? Madness. On what planet does it make sense for a writing system incorporate the viewing device into its decoding algorithm?

The ambiguity is resolved differently, even character-to-character in the same browser on the same device, as my tiny three-character test suite reveals.

Upsettingly to me, this means that a lot of documents written before emoji existed, or even written today on a non-emoji device such as a Windows 7 box, HAVE BEEN RETROACTIVELY AND PERMANENTLY BROKEN by the Unicode Consortium. Because, let's not kid ourselves: The meaning and tone of a document absolutely changes when one symbol is replaced with a conceptually similar but decidedly different cartoony pictogram.

Source: try it for yourself on https://alanhogan.github.io/system-font-stack-experiments/em... or run that page through e.g. browserstack.com/screenshots.
Do you believe Ponzi schemes exist at all? What, in your mind, distinguishes SS from Madoff, or Madoff from auto insurance?
How do you keep up with the stacks? It's hard enough keeping up with .net changes and that ecosystem is much smaller than java.
I've read people saying they have at least 3 times that.
Oh, I thought people didn't really send direct Snapchats much anymore. But still, I could see using the app for this purpose. But I think over time, people will mostly just move over to Instagram.
Consensus isn't a reasonable goal or even desirable when you're discussing things which are more complex than, say, cut and dried technical facts. I can achieve consensus among mathematicians by providing a proof. I can achieve consensus among scientists by performing repeated experiments. I can achieve consensus among philosophers by, well, killing all the other philosophers. But if I don't do that, I can learn a lot and better develop my own positions and thoughts by having discussions with them even if I'll never force them to agree with me.

You don't have to particularly care for 'soft' discussion and reasoning, but that's not a problem with it, it's a personal preference of yours which is extremely uncommon among the general population, however over represented it is on HN. Every discussion about anything nontechnical has this 'soft' property.
Apache Struts Jakarta Multipart Parser Remote Code Execution Vulnerability