skysight-inc/HackerNews huggingface dataset:
>How is that different from a function (or set of functions) that abstract the technicalities of sending messages over SMTP?
>
>I am not sure why specific metaphor is so helpful here. I don't think it helps in understanding the function, on the contrary.

It isn't a different function, but "send_email" is better than "send_message" which is in turn better than a function just called "x" which is shorter. In each case a different metaphor is used. x is a shorter method but code that uses names like that everywhere is NOT cleaner. It's horrible.

>Not quite. The important thing to understand is that I am not optimizing for size of a single program, but large set of different programs.

Optimizing purely for size will end up increasing coupling to an insane degree. I've seen this done by people who get religious about DRY.

>Well, I understand "high coupling" differently than you, then. For me, it means things like doing different unrelated things in a single function (so the result is that it's harder to reuse it). It doesn't mean that you cannot call other functions.

If you're using one function to call another you have coupled them.

Coupling is not about what you can or cannot do it's about what is.

Coherence (or rather, a lack thereof) is about doing different things in the same function (or class, file, project, etc.).
I find SOLID to be less reliable than applying ages old principles of contract-oriented programming. S is matter of taste, you can define it to be "show the whole GUI" or "show a text label in given position".

Depending upon abstractions directly is much less reliable than depending upon contract (which is usually not explicit in the abstraction) and preferably also verifying it as both preconditions and postconditions.

The other letters are important, though software should be designed for easy modification instead of being closed to it. Otherwise you end up with abstraction forests and deprecated code.

Many interfaces is typically a smell, as the developer now has to juggle multiple balls in his head. There is good medium ground out there - making the interface maximize usefulness while not sacrificing too much of Liskov substitution capability is key.
How I Kicked My Smartphone Addiction, and Never Looked Back
How about Singapore?

Clean, cheap usually friendly drivers with lots of local insight and you're guaranteed not to be cheated.
What is this, the 90s? No one cares about RISC vs CISC or ARM vs. x86-64 (on a high-level ISA level) anymore. It's all in the implementation.
Have your kiddos listen, listen, listen. Audio recordings of natural conversations and engaging videos are important for context, grammar and tonality! It takes time to develop an ear for the structure and flow of a new language. Immersive exposure is the golden ticket.

For a more comprehensive view, look to Kató Lomb. She was a Hungarian polyglot, translator and simultaneous interpreter who taught herself more than 16 languages. You can see excepts from her book, "Polyglot: How I Learn Languages" and her 10 Commandments of Language Learning here: http://www.lingua.org.uk/lomb.alkire.html
I think I've made my point :-)
There is research going back to the 60ies that shows that any form of reduced caloric intake is beneficial. It can take any form. The outcome is always the same, fasting improves most aspects of health.

Religious groups don't generally make good research subjects due to the fact that it's hard to set up control groups and their population varies too much from the regular joe.
A Chronology of Star Wars Games
Maybe. Or maybe this is a human-centric view. Imagine that the classifier worked on sound. A low growl could be a cat, a tiger or a submarine engine. Then the probabilities might be flipped - if it's a land animal, it might be 40/60 that it's a tiger or a cat.

A visual classifier that identify "4 moving things" might indicate some kind of land animal, or slow motion video of a Dragonfly in flight.

Sample/"evidence"-based reasoning will always have these kind of odd inconsistencies - I'm not sure if mapping such output to a logic model is an improvement. It might be - to take output from a classifier like this, and plug it into an expert system like a Prolog/datalog database or something. Or it might just end up being just as limited as those systems already are.

But when one says "tiger implies terrestrial mammal (or animal)", one is really talking about ontologies -- perhaps training the classifier to come up with things like "90% sure four legs, 60% sure fur" and plugging that into a logic based system would yield good hybrid systems?

I do think one would then loose the "magic" effectiveness of these pure(ish) learning systems though? Perhaps someone more familiar with the domains might shed some light?
Citation needed for "drinking was prohibited in the culture".

Local varieties of alcohol are plentiful across the country, and not limited to just palm wine. There are more than enough references to alcohol in ancient literature, not all of them condemnatory in nature.

Much of the prohibition movement happened around the time of the struggle for Independence from British Rule. For example, search for "kallu kadai mariyal" (Tamil, literally, blockading a toddy shop).
I'm not sure if you were intending to, but please don't attempt to represent the tech industry as a whole. Not all of "us" share the same negative opinions on the outcome of the election.
Ask HN: Are dev interviews hard or am I just incompetent?
Went to a few interviews. 1 was with amazon... ok I was expecting the interview to be quite hard.

Then went to some small companies and had the same complexity of technical tests with amazon. One of them asked me to code on a board.

Should I just look to change my occupation completely? Am I incompetent or people are asking way too much nowadays?
/r/ShitAmericansSay...
I'm actually building http://tagly.azurewebsites.net

It's like HN with tags and custom functionality. I use it mostly as bookmarking service about AI and Machine learning.

Example of custom tag, here is the tag: CommentsByHackernews -- http://tagly.azurewebsites.net/Item/Details?id=7febe5f0-fe64...

Fyi: Currently, i have never send an email to the ones who subscribed. So if you're interested : https://goo.gl/forms/obYXBzhIE14kZcM73
Why on earth are we developing a Node.js-like API in C++?
Worse still, at the time of this episode (1963), there wasn't even a notion of a "Smoking Section". Smokers lit up anywhere on planes, anywhere in restaurants, anywhere in the office, on line at the bank, in any sort of waiting room, really anywhere in general. The very concept of a "Smoking Section" wasn't a thing until the 70's, and it was years before they were ubiquitous in the US.
(By learning I presume "talking" mainly) In my opinion, the best way is to learn by practicing it, if possible with native speakers. That will improve both fluency and pronunciation.
There are various online communities which might come handy. Language exchange option is generally free. Some links-
https://www.speaky.com/
https://coeffee.com/
https://howdoyou.do (English only)
https://www.italki.com/
There is also an awesome app I used sometime earlier, it's called "Memrise". Memrise is a very good app for increasing vocabulary. There are a ton of courses to learn from and some of them even provide pronunciations.
Bitcoin Traders Are Preparing for the SEC's ETF Decision
[Error] TypeError: undefined is not an object (evaluating 'win.RTCPeerConnection')
getIPs (webrtc.html:52)
Global Code (webrtc.html:112)
Accepting and Recovering Blocked Website Push Notifications
How to Launch a Product on Product Hunt Successfully
They're hard, quality assessment (on both sides of the table) is hard, there are many incompetent managers (as there are many incompetant techies), and it's a frequently-visited topic on HN.

https://hn.algolia.com/?query=interviews&sort=byPopularity&p...

https://hn.algolia.com/?query=recruiting&sort=byPopularity&p...

More generally, quality assessments of tacit knowledge are intrinsically hard.
Said language would make contracts easy to write and first class citizens.

It would help you formalize parts of the typically non-formal programming, allowing automated or semi-automated formal verification.

The language would allow you to bypass accidental hard restrictions imposed by type system - essentially duck typed but only if formal requirements are met on the types.

Hey, I've described Isabelle/HOL; another language that is pretty close but more typical looking is Pyret.
It seems that people are more willing to treat a computer they text with like its a confused person, and work through the troubles. When its a web form though, or an application, they're more likely to act as if the computer is malicious or as if it is mocking them for their ignorance.

Computers are closer to the first mental model than the last---they don't understand the full context of any situation, and when it comes to things like 'understanding' your typical app is programmed to a level less than the average 4 year old.
Here's a [serious] question for you - today by my estimation there are over 1,000 organizations (governments, data warehouses, cloud storage solutions) that use more computing power than it would take to simulate a brain in realtime. So why does ANYBODY think it will NEVER happen?

It is as though someone declared, "Powered heavier-than-air flight will never be possible." Uh, of course they will? It's totally obvious?

Like how can any reasonable or even poorly-informed, uninvolved person who is in a hurry, possibly not see how completely obvious this is? Help me understand this. Never is a long time.

-

EDIT: case in point, for some inexplicable reason this comment, a direct question to you stochastician, in the above form (I didn't edit except to add [serious] and the last sentence) was just downvoted twice. (I take it by people who consider everything I just said to be BS.) Just to be clear none of the above is sarcastic, etc. To me - and I suppose you - it's pretty clear what will eventually be happen, and "never" is a strong claim. I completely fail to see how anyone can claim "never" when we're ahead in terms of hardware, today.
Is “friendship” meaning same for all world?
This is a very creative and practical idea. Well, I haven't seen anyone (seriously, 0 people) scanning a QR code before so there is that...
Semantic versioning is nice but not fine grained enough, and does not help the programmer who is deriving the new version at all.
The Selfish Gene, Richard Dawkins;
Red Queen, Matt Ridley;
Sperm Wars, Robin Baker;

Read in that order, the books explain much of what is going on in our society and lives. This has enabled me to to analyse my own, and others, actions and motives.
Perhaps they bred the plants to have better low-pressure resistance?
Thanks.
On build failure the last step are not executed I think.
So I'll check cloud pub/sub.

BTW, are there any community or (public) support channel out there? You know a HN thread is not a permanent place.

I searched on SO, but no label of google cloud container builder yet.
http://stackoverflow.com/search?q=google+cloud+container+bui...
How AI/AGI works – my layman theory
Sort of, but not really. I used to browse reddit quite a lot, but fell out of touch due to the deterioration of general discussion of any topic.

I find HN to be a lot more developed in its discussions, opinions and userbase.
iPhone SE, iOS 10.2.1

Also, see my previous comment on a similar issue with Google Cloud Calculator:

https://news.ycombinator.com/item?id=13729466
Show HN: Growth Hackers with proven track record
Imagine, if you will, a scene like this. It is dusk. You are out running in the park, trying to get exercise before the last light fades. Suddenly you realize: A group of people have been closing on you, boxing you in from all sides.

You try to run. Your muscles burn, you heave for breath. They match your pace exactly, coming closer... and closer... and closer. You cast your gaze desperately from side to side. Isn't anyone around? You're scared. You're not a strong man, and these people all look like body-builders and criminals. No, now that they've come closer, you're not sure they look like men at all. Is that a tattoo, or is it... is it a tusk?

Then you stumble over a rock, fall, and scrape your hands. While you're rolling around and trying to get back to your feet, the men stop in a tight circle around you. They look down at you.

"What," you begin. Your voice is quavering.

"Take backups," the men say, as one. "Take backups, for you never know what may happen."

Then they disperse into mist.
You can find a more thoughtful post of mine further down the conversation, but I think there are less controls than you would suspect:

https://youtu.be/QcDrE5YvqTs

In fact, according to a different video also by Christina Hoff Sommers the 77 cents on the dollar pay gap oft cited is no more than a blanket calculation using Census data.[1] This is seemingly confirmed by the Washington Post.[2] In fact, the Washington Post seems to indicate that the 77 cent figure doesn't correct even for weekly/hourly wage metrics much less hours worked.

As a whole I think you might find the Christina Hoff Sommers videos interesting to watch. Although they are "classical liberal"/libertarian leaning right (considering the American Enterprise Institute is a conservative think-tank I am not too surprised by this).

But I also wanted to ask some things about your points:

> the fact that many environments treat interviews like hazing

> someone who works a reasonable sum of hours but then goes to have a child should be paid less

> someone who takes time off for a reasonable work-life balance or a family emergency should be paid less

These aren't really gender specific so I am struggling to see how they would contribute to a gender pay gap. Perhaps you could elaborate?

> The fact that women are often passed over for promotion because industries frown on maternity leave

> the fact that harassment leaves women with fewer mentorship opportunities

I would be interested to read any sources you have that could give me some insight into these dynamics. These are points I haven't read about before and I wasn't even aware they have been examined to any degree.

Personally I tend to be more Libertarian and am very pro-"choice".

I don't think being skeptical of the dubious statistics surrounding the gender pay gap makes someone misogynistic or anti-feminist...so I would encourage you to try and keep an open mind before labeling someone so just because they express reservations about the wage gap and the statistics behind it.

[1] https://youtu.be/1oqyrflOQFc

[2] https://www.washingtonpost.com/news/fact-checker/wp/2014/04/...
What I meant is that when md5 was designed, it was supposed to make this thing difficult.

However flaws in the design have made this easy.
> If anything can be grown on Martian soil

Not so fast. Actual Martian soil has perchlorate and a pH of 8.3 .
I think that potential employers always wanna stress you a little to see, what you really can and what is bravado.

Good companies might still press to hard (but not give you penalties for failing way-too-hard questions).

Also it can be a tactic to see, how you handle stressful and unknown situations (which might occur often depending of your specific line of work and industry).

I have made interviews (as the employers' helper) with live coding exercises on a computer, and even if they technically failed I recommended hiring them anyways as I was obvious that their skills where okay but their performance "issue" was stress-related..

That said, I know nothing of your skill level, so YMMV...

Btw. small companies have similar problems, often just on a much smaller scale (not that it necessarily makes them easier to handle, especially because they have much tighter ressource constraints (less money))
Why is the more important one - it is the requirement.

I'd rather see something like this:

Why: We need to calculate distances between widgets to pack them so that it looks nice to the end user, but is also fast - start must not take longer than about 1 second.
We are running on embedded hardware.

What: Use square root approximation for distance defined over the range of pixels available on screen.

How: Newton-raphson iteration, 2 rounds, fixed point.
couldn't they say they no longer use them and disconnect them when someone comes to check? (this is how people get around paying their TV licence in the uk)

What I also don't get is that they are taxing state schools, it's like taking one's wallet from the right pocket and putting it in the left pocket.
This comment with paragraphs:

http://pastebin.com/raw/EgaH3WSh
that article and title is the epytome of BS.
Emacs org-mode examples and cookbook
Around 2010 I became acquainted with a married couple in their mid to late 60s who were serial entrepreneurs together. They had built and grown a library management software company in the 1980-2000 era. When they sold that company off they could have retired but at some point they started a company that combined web scraping and semantic enhancement sold enhanced organized data to various companies to incorporate into their own corporate and customer databases.

They were two of the smartest people that I have met in my business ventures. What I loved is that they each recognized and honored their partner's strengths. Peter was very strong technically and Kate was the business strategist, sales, marketing and deal maker. And, to my eyes they seemed deeply in love and still enjoyed spending time together.

We almost found a way to do business together but they were at a different phase in life. They were getting ready to sell their second business and were psychologically getting ready to move money into more stable investments rather than another start-up.

As Peter and Kate demonstrated it can work wonderfully to mix business and personal relationships. However, most people find that the combination is just too stressful. I love my wife but have no sense that we could be a Peter and Kate.

My advice is that if you do work together you need to make sure that each partner brings something to the business that is vital, is in their competency zone and that they enjoy doing.
Surely nobody really gets away with that tactic? It won't fool the detector vans?
I want to audit the performance of my website, where do I start? (part 3)
Cor: Integrate Translation Technology in Your Processes
Car companies only invest money into racing teams because lots of people watch, and people will only watch if the races are close and competitive. Anything that makes racing A) more expensive and B) less competitive will lead to less teams participating and less money being invested into R&D.

Finally, if we look at what happend back in the days when there where a lot less rules on race cars, the one thing you'll notice is that a lot of drivers died due to teams continually pushing the envelope beyond what was reasonably safe. The same thing with doping. Look at some of the women coming out of the Soviet doping programs of the 70s and 80s. They did not, as rule, live long and healthy lives.
I think what we're all trying to say is, could you provide any evidence for the "beer as a safe alternative to water" theory? If we place the burden of proof on the skeptical "accuser", that could redeem almost any theory about history, including the more colorful ones involving aliens.
So far all you've said is that they asked you to code on a board and that they were "hard". Without knowing why you found them hard it's impossible to provide any meaningful input.
Tips for System Design Interview: How Not to Design Netflix in 45-minutes?
Bulletproof HTML Emails Buttons – A NEW LINE-HEIGHT BASED APPROACH
You can use sevral tools which provides loading speed of your site.
I am more in favor of getting back to as simple as we can in sports where people compete without motorized equipment. Standardize everything from shoes (no shoe running would be best) to everyone who needs equipment X pulls it randomly from the rack at the event start. you can even do this for clothing

competition to show who is the best should always be about the person and never about equipment.
The Installer Configuration
> Remember that the American agencies aren't the only intelligence agencies in the world.

But they (US+UK) are, agencies that have been allowed natural access to the infrastructure and resources required to implement surveillance on such a global scale. So much so that other intelligence agencies are making deals to get access via them. So, say, the Dutch AIVD, they don't have the majority of Internet data flowing through their territory (with nearly all large tech companies being US, clouds, browsers, software etc) so they can't directly abuse this access, because their scope is limited, unfortunately they can still trade for it because we have two nice big ports with transatlantic Internet cable connections (unless we already traded US access to those for something else, I don't know). So sure, they're being bad, but they're also limited, and they're not the root of the problem.

The US and the UK are in a very unique position for global Internet surveillance.
I Made a Facebook Profile and Radicalized My News Feed in Four Days
Facebook 360: The Social Network in Virtual Reality
7 outstanding female CTOs to follow in 2017
>Some of the most talented software engineers in the world work intelligence

I truly doubt this for a multitude of reasons, but pay alone suggests otherwise.
No, that's not incorrect. By thermodynamics it's impossible you are gaining weight by not consuming more calories than what you are spending, you don't absorb this energy out of thin air or radiation, you've eaten it, not used and your body has stored it.

It can be that our models for calculating TDEE, etc. are wrong and not accounting for a multitude of factors that might affect energy expenditure but still, it boils down to calories in -> calories out in the most simplistic level.
Researchers face engineering puzzle
There's actually some really solid advice in here – I never thought about Android as being "better" for reducing distractions, but the amount of control you can get over not having self-control seems useful. Apple, on the other hand, is busy trying to get you to open as many apps as you can every time by resisting adding change to the home screen, outside of those luring red (1) icons that show up constantly, often for no reason.

I might consider switching to a Pixel for this alone.
Author here, feel free to ask questions
Previous discussion of the paper: https://news.ycombinator.com/item?id=13675891 (6 comments)

...and of this very blog post: https://news.ycombinator.com/item?id=13674181 (also 6 comments)
Would not having ReCAPTCHA prevent this?
the paper itself https://arxiv.org/pdf/1701.08734.pdf
Link does not provide much information, here are more details:

https://www.theguardian.com/environment/2017/mar/06/solar-po...

> The Valuation Office Agency said last year that small non-domestic solar installations would no longer be exempt from rates and bigger solar systems already subjected to business rates would see a hike of 600-800%.

> Solar-equipped private schools will duck the changes because of their charitable status.

I think it is a sign that solar electricity has matured, does not need subsidies, and can stand on its own (and be taxed the same way as other industries).
Hyperloop begins feasibility study in Indonesia
Announcing NuGet 4.0 RTM
Tesla says its batteries could fix Australia's energy problems in 100 days
>It won't fool the detector vans?

Does anyone actually believe that? :-)