skysight-inc/HackerNews huggingface dataset:
I am very grateful that you're honest and open. I'd give you a respectful bow in person on that basis alone.

That being said, I believe the media companies should start accepting the inevitable fact that people don't care about their financial struggles or hardships in finding ways to monetize content. As long as the said content is visibly free (even if it comes with strings attached as invisible tracking) then the people will continue to believe it's free and the more technical users like myself will go the extra mile to actively impede your tracking. You can't escape from that.

I would actually pay for good journalism. But as a possible consumer of the theoretical good journalism, I can't trust anyone. Every month there are news about very shady ads or nasty ransomware snuck through ad networks. How can I trust anyone who is after making money in the industry?

Both the ad and publisher industry have repeteadly shown their profits are their most important priority, not the readers safety. This is never gonna change, they must make money.

I can understand their motives but I have zero sympathy for them due to the methods they employ.

If they are smart business people, they have to sit and actively think of new and non-intrusive ways to monetize content, like right now. The current publishing and monetization models golden days are long behind them, all of the companies are fighting over scraps (obviously I can't prove this but I believe it's a legit theory, judging by the desperate methods) and the bean-counters should stop trying to beat this game and rather look for a new game.
If I define this in c++ lingo words barely change.

You take a c++ parent class with two virtual methods. These methods are "return" and "bind". In order to implement a monad instance you must derive from this parents class and implement the virtual methods.
I posted that because I think it's the best you're going to get.

Monads can be two things: (1) a concept in category theory, (2) a rough implementation of that concept in a programming language.

If you want to learn about monads from the category theory perspective, great! This is really hard though, I wouldn't recommend it for most people (and haven't really even succeeded myself).

If you want to learn about a specific programming language's implementation of monads, you will naturally have to know how that language works. This road is far easier than category theory, but still requires knowing (for Haskell) what a typeclass is, what a higher-kinded type is, etc.

It sounds like you want an explanation without prereqs from either category theory or Haskell. If you google for monad tutorials you will find dozens of quick explanations, but I personally don't think this is a good way to actually understand them.
Hmmmmm, I wonder if people in their 20s are equally discriminated against but our society as a whole just have less sympathy for them.
Hmm. Good point; AFAIK Dillo doesn't use threading.

I'm honestly not sure what was causing it, but I know that it only happened when the system was swapping a lot. So something that expected something else to be done or take a short amount of time didn't.

For all I know it could be the way FLTK is using Xlib (I don't think it uses XCB yet).
Just relax a little bit, the OP post is essentially notes from someone learning the language, not a "greybeard"
As an EE, never beyond systems layouts, but it was to guide a discussion...not a test
To understand monads one must first understand monads.

I'm not even saying that a bit sarcastically. I've read countless "tutorials" and even tried messing around with Haskell in an attempt to grok monads. According to the link shared by GP comment, my understanding is still completely wrong.

There is a reason there is a joke about it.

"A monad is just a monoid in the category of endofunctors, what's the probleⅿ?" - James Iry, taken from [0]

[0] http://james-iry.blogspot.com/2009/05/brief-incomplete-and-m...
Hit Esc (or Cancel) button to stop JavaScript execution. Works well since Netscape 3.x
As a scala developer the thing which got me on my way was the explanation "something which has a flatMap method". That's not entirely true but it gets you in the right ballpark.
> No one wants to hire my mom
> There's not a university that wouldn't hire her

Something doesn't sound right.
I visited the article he mentioned had had no issues. Ads and videos and everything from third-party sites were blocked and all I had was the text of the article. I think the author has got to tune his ad blocking tech.

Edit: uBlock Origin blocked 20 third-party domains. Totally typical of web sites these days.
Teaching has blackboarding. You pass only if you can write completely unintelligible complicated formulas in the tiny margins of something unrelated.
Well, you really should know the amount of Haskell it assumes you know (typeclasses, maybe infix functions, arity etc) before learning about Haskell monads. Otherwise you're learning multiple concepts at once - why not learn about those other concepts in other contexts first? The Stephen Diel article even lists the prerequisites explicitly.

My favourite monad explanation is Tikhon Jelvis's at https://www.quora.com/What-are-monads-in-functional-programm..., but reading through it, it does assume some prerequisite knowledge about Haskell.
A monad is any data structure which implements bind. Bind is a higher-order function with two parameters - one is the data structure to be transformed, the other is a function which maps over elements in the data structure. However, unlike a normal map, each result of "bind" sits in its own version of the original data structure, which then have to be combined back into a single data structure. The way in which the data structures are combined is what makes each monad different.

For example, List is a monad. Suppose we had a List of Ints, such as [5,3,4]. If we were to run bind over this list, we would need a function that takes an Int and returns a List of something. We could use "show", the function which converts Ints to Strings (a String is technically a List of Char. Since this is a List, we're good). If we call bind using [5,3,4] and show, we get ["5","3","4"] which are then combined to "534".

We can check with the interpreter (>>= is bind):

Prelude> [5,3,4] >>= show

"534"
Damn, this looks super sleek! http://imgur.com/a/0JF7B
Hahahaha. I never actually thought through the practical problems with that one.
It's presenting your audience with misinformation, false hope, and scams. It's incredibly scummy. Those type of ads prey on people's desperation and gullibility, and there are actually people who will fall for them and waste time and money in the process.
So true it hurts. All of your comment.

That's why I am thinking actively about starting my own small business lately. Or simply refuse to do web development at all and go into data science / A.I. / pattern extraction areas.

It seems like either of those would be excruciatingly hard to transition to (work inertia can be a blessing and a curse) but I want to do either -- or both -- because web development is in my eyes in its worst decline ever. I don't buy the optimistic BS from inexperienced JS devs or the promises of new tech. People still have to use user agent sniffing for their website to work best. Just lol.
Lmfao dude, these days, if you want most people to take you seriously, you need to criticize AND suggest alternatives.

Anything else is just complaining.

I don't need to know the minutia of a specific field before I can criticize and suggest alternatives.

An accountant does not need to know node before offering comments on site usability, feel, performance. Nobody is hiring them to execute a redesign. They're asking them for an idea on how to improve.
In my first job we had a PM who was completely fried. Always on edge, super stressed, not quite right. It was explained to me that up until not long before that she had been an air traffic controller and this is what the job did to people.

I have no idea to this day if that was a n=1 anecdata or if that's true, but it left a lasting impression in my head.
This is totally correct.

back in 2001 when the tech bubble busted, and no one was hiring, I didn't have much work experience, so I worked for a company for Free, 10-15 hours a week for 9 months, just for the work experience. I didn't consider it exploitation, because I there were no other options out there at the time. However, i did get out of there as soon as an opportunity presented itself.

If you can find a better $$ rate, you should take it right away.

See, if you can get an entry level position at snap chat, I hear they pay like 9000$ a month for interns!!!
I'm not a survivalist, but it seems that at some point you just have to start preparing for the inevitable. So buy land and water rights inland??
You would be surprised. With a few months of investment attending local meetups, you can meet a lot of people. If you take the extra step and, say, volunteer for speaking engagements, you can establish yourself as an authority in your area of expertise fairly quickly. You won't become a DHH overnight, but you'll still be miles ahead of those who still play the resume game.
You build a network by making friends where you are right now. In a few years they will leave your company / be out of college.

With luck, one of them will be in a company or organization you want to apply to.
The market is easily enough to support a mid sized news website, several actually. But it's a saturated market with lots of competition. The amount of reporters willing to write for less if they get to display a feminist slant is multiples more than the amount necessary to satiate the audience who might want to read them
Because Amazon wants to have the best price overall for each product, and the way to do it is to have many sellers competing on price alone for each product.

Then commingling is just a logistics trick, it makes inventory more liquid and so lowers costs and shortens delivery time.

Amazon likes to think of itself as the arbiter of a fair marketplace between sellers. It's not that they don't care, it's that they are proud of doing things the way they are.
Ad-Supported Digital Media Is a Threat to Democracy
Simple /= easy. Complex /= hard.

Monads are very simple. They just aren't easy because most people don't have the base of terminology. When you grok them you'll laugh because you'll realize how simple and powerful and obvious they seem in hindsight.

This is the reason so many people write monad tutorials after they learn them. It's actually really weird. Does anyone else have some examples of things they learned which seemed really difficult but turned out to be really simple in hindsight?
Huge warning on their homepage now, http://artofelectronics.net/ I saved $20 and got a totally poop copy.

Amazon even shows that I purchased this version, https://www.amazon.com/Art-Electronics-Paul-Horowitz/dp/0521... for this price, but mine was sloppy copy.
We've got Dodgson here!
Well sure, but AFAIK eBay doesn't do fulfillment so there's no possible issue of commingling, etc.
Lawyers and doctors don't​ do LSAT and GMAT questions on the job. It's not a problem specific to tech. An interview is a performance test. It's popular to say an interview should be like a day at work, but when we performance test our code, we don't throw an average load at it and say it's ready.
There is a job called Content Screener and these are the people that basically view all the content before it gets to the Internet.
Read this: http://learnyouahaskell.com/chapters

Just don't skip chapters and read from the beginning to the end.
Amazon seems to be untouchable. They didn't even get in any trouble for selling illegal and prescription drugs but Bodybuilding.com did.

http://abcnews.go.com/Health/amazon-prescription-drug-proble...

http://www.slate.com/articles/health_and_science/medical_exa...

https://www.fda.gov/iceci/criminalinvestigations/ucm305494.h...
Someone posts a comment explicitly stating it's an observation from personal experience. Why on earth would that commenter have a study on hand?
I run my own domain and mail server, no problems emailing major providers, including gmail.
Economic rationals provide an explanation. They does not imply the behavior is moral or ethical absent some theory that equates economic rationality with moral/ethical propriety.
I think it goes even deeper than that. I think for many people poor white men are one the category of people who it's still acceptable to hate.

https://slatestarcodex.com/2014/09/30/i-can-tolerate-anythin...
That's all you need to make the compiler happy, but it's not a monad without satisfying the laws too
RBT: Ending Carpal Tunnel
I don't see how this refutes my claim that, in my opinion, there isn't a smartphone that has reasonable mileage on a single charge.

Battery capacity increases alone are meaningless when the hardware connected to it drains it just the same.
Which companies are still actively hiring for summer interns?
Looking for a summer internship in software development or data analytics. Not getting any calls for the internship, applied in so many companies.
In my experience, it can be useful to include a request for (straightforward) additional information to be included with an application. I use a fizzbuzz style question that can be described in a couple sentences and solved by a competent programming in under 5 minutes. Anyone who doesn't include at least an attempt at an answer can be auto-screened. That usually cuts out the majority of applicants, since most are just shotgunning every available job.
EE occasionally has simple circuit stuff on a whiteboard.
100% agree. The most likely understandable metaphor for non bird owners is that parrots are like people trapped in another body. They need nearly constant mental stimulation and are very often unknowingly mistreated by being ignored.
I think there's a general consensus that mastering the specific material you would encounter in an undergraduate CS program proves you have the more general cognitive skills necessary to succeed in any entry-level programming job.

We just don't trust the university to say that you've done the projects and sat the exams and demonstrated competence (what it's doing when it issues a degree), so each company unwraps that abstraction and runs its own projects and exams on the same material. But it is fundamentally based on college curricula.

Trusting universities is likely out of the question. Eventually, I expect the industry will create something like the Bar Exam so each candidate can pass a trusted test once upon graduation (or even without going to college), rather than creating the burden for each company to do all that grading.
You're talking about an increase of 54 mAh. I can't see that saving the day.
I dunno, methane isn't very energy dense. It's hard for me to imagine the fire spreading unless the methane was already in very dangerous concentrations. But I don't know! Seems worth investigating.

Also, what would be the risk of something like that perturbing larger bubbles and causing an eruption, like a popping balloon?
I work as a snowboard instructor. Training. Certifications. Interviews. The job itself. It's White and Board all the way down.
I tried spacemacs and some other distributions/vimrc config files. The problem is if you do not know the reason for each line in vimrc and each key mapping/plugin in your vim environment, you wont be able to appreciate the beauty of vim no matter which distro you use. A distro is sort of similar to MS office, where a typical user will need less than 10% of the features, and remaining 90% stuff just adds to the bloat.
Agree with the sibling comment -- you can achieve a good portfolio allocation with 3-4 ETFs. What Wealthfront and Betterment do is pick these funds for you, then charge you 0.25% year over year for the privilege of maintaining them. It's not the best deal for the investor because the work is not particularly hard -- "managing" your investments as a Boglehead would ideally involve logging into Vanguard once a year to rebalance.

(In fairness, they do some other stuff which is more value-added like TLH, which is more work to do yourself, but again, it's hard to justify the 0.25%.)

"If You Can" by William Berstein is a good, short ebook on this subject.
Closer to 24.

http://www.securityfocus.com/blogs/906
The computer doesn't care what color fingers are hitting the keyboard. Diversity of thought is the goal in the workplace (unless you've got some other diversity metric you need to hit for regulatory reasons). If you've got a group that's very homogeneous except for skin color and gender you're not gonna get much diversity of thought.
Which of course defeats the purpose in using a complicated but customizable program like Vim in the first place.
You know, I don't have much use for modern day third-wave feminism, but I kinda would like to read more hard Sci-Fi written by women. I've noticed that Sci-Fi written by men tends to envision societies where there's lots of casual sex in ways that I suspect women would not appreciate. I wonder what kind of societies women dream up and what the male-female relationships are like in them. At least, when they're not stuck on making some ham-fisted point on current-day gender relations.
https://books.google.co.in/books/about/Weapons_of_Math_Destr...
How to explain to a layperson why a developer should not be interrupted? (2011)
It's also unfair to criticize things as broken if no reasonable alternative exists. Should people get hate mail or get called "lazy" for failing to solve all of the world's problems?
Describe monads to Lisp, Scheme, APL person.

You can do that with the y-combinator but why not monads?
When you find yourself agreeing with everyone in the room it's time to leave.

What were these thicker heavier longer life phones of which you speak? I don't recall there being any of those to have rejected.

Maybe you mean ye olde feature phones or their predecessors. I don't think that's a fair comparison.
This breaks the HN guidelines by calling names. Would you please not do that?
What cases I should use this?
I mean, look like it used for simple/beginning project, when ORM can do quite handy
From the outside, Amazon projects an image of utter-efficiency and professionalism, but the reality is different.

I've been a seller for about 6 months (in Europe) and their systems are quite bad.

When you call support, most of the time the person on the phone, while very polite and "competent sounding", gives you advice that does the opposite of what they say it will do. When you point it to them they say "hmm, let me check" or "I'll get back to you" and then you talk to an "expert" who many times isn't sure either of what to do.

The problem is not that support is incompetent; the problem is nobody's sure how the system actually works, because it's too complex with too many layers added on top of one another.

I really think the system was built for a much smaller operation with fewer sellers, and it is now stretching beyond capacity. They have a huge team of people maintaining it but that only goes so far.
You must live in some imaginary world where bacteria and viruses respond to your will and refuse to infect you.

And of course, if you happen to be asthmatic, it's all psychological, and you get to decide, eg, whether that cigarette smoke will trigger an attack or not.
> They just aren't easy because most people don't have the base of terminology

That's like saying a giant, complex library with a nice, tight API is 'simple'. It's not, the complexity is just hidden.

Same thing with monads. Once you understand some of the machinery of category theory, or really grok functional programming, then yes, monads are 'simple', but all the complexity lies in getting there.
Samsung tried to hire me a couple times, but their side always went missing out of the blue.

One day I saw them complaining in a major magazine about not finding anyone, and I not only reapplied but wrote an almost angry email detailing past attempts.

They did their best this time, I talked to their team almost daily for almost 2 weeks setting all up... and then they complained I didn't had experience in that particular job title.

I explained that noone local had that experience, they were the first company in the country with that particular position open...

Then the HR guy apologized so much I felt sorry for him, and he explained it was company policy that the job required experience, and another policy required locals only...

So policy for the win?
> My early OOP/C++ books are finally more intuitive than something.

Ouch! But seriously, this page is just a someone's jotted out notes. Haskell Programming from First Principles and What I Wish I Knew When Learning Haskell (http://dev.stephendiehl.com/hask/) are the actual pinnacle of Haskell explanations. They have plenty of great examples.
Auto plays an ad at full volume. -- closed.
Phenomenal comment! Thanks for taking the time to write it out.
the latter phenomenon occurs at least three or four times over in good (rigorous, proof-based) math classes.

I've had this happen for

- everything from linear algebra (at least 20 things)
- all kinds of stuff from mathematical optimization
- inequalities, which are really difficult until something "clicks" and then when to apply them becomes obvious, cauchy-schwartz and jensen's in particular
- induction (this was a long time ago / early in my math career)
- diagram chases
- the entire typeclass stack from FP (functor applicative monad, then all the monad interfaces)
- huge chunks of axiomatic probability and measure theory (what do sigma algebras really mean, what is a good definition for integration, what is continuity of measure, dinkin's pi-lambda theorem)
- and so it goes on

I am still waiting on some of the following things to click so that I may abuse them productively as well:

- LLL
- yaos min-max theorem
- lots of results from logic

I surmise this happens for monads and freaks developers out because it's one of the few pieces of serious math (i.e. no handwaving, given as a rigorous construction, etc) most people come across, so the phenomenon catches people off-guard.

If you like this thing, do more math!
> each result of "bind" sits in its own version of the original data structure, which then have to be combined back into a single data structure

That doesn't make sense to me. Let's say I have the list [5,3,4], to me that means each application returns a three element list [f(5),x,x], [x,f(3),x], and [x,x,f(4)] then the bind function takes these lists and turns them into [f(5),f(3),f(4)].

What makes this function a monad?
Very off topic, but it's still coming out. The was a season released late last year.
I can just see it now... natural gas companies decide to frack the arctic, accidentally triggering hundreds of irreversible methane releases.

Edit: okay I looked this up and of course it's already a thing.

http://science.howstuffworks.com/environmental/green-tech/en...
The Basement (2012)
Yes, and they seem to want frat boys.
There's a couple of issues, I think:

- you can get a degree from a lot of universities without learning what you should

- schooling is no substitute for work experience

- software hiring is still generally broken
As an engineering major, you won't have time for anything outside of school.