skysight-inc/HackerNews huggingface dataset:
To make this a bit more abstract:

Bob is a big wheel over at SomeCompany. Bob is outside work drinking with some friends, say Eve, and runs into Alice. Alice joins them and while she doesn't currently work for SomeCompany she indicates to Bob she would like to join. Bob, like most people, hangs out with a lot of people with similar interests/skill-sets/abilities. As the night wanes, Bob flirts with Alice. Alice declines Bob's advances. SomeCompany ends up not hiring Alice.

So where are we on the morality meter here?
First, it is clearly inappropriate to flirt with people you may want to hire. Obviously. But the empathetic side of the argument is that just because you're a big wheel at the cracker factory that shouldn't mean you can never go 'off the clock' and do things humans tend to do like try to get laid. Work and life have become so blended for so many people it's unrealistic to expect this not to happen. We created this culture of 'living to work' and this is a consequence. We should expect these sorts of messy situations to occur and build sane rules/expectations around them. But go ahead and throw stones/downvote/ act outraged. That'll solve the problem.
Even if it isn't genuine (and it appears genuine to me) then it's a step forward for a Silicon Valley head to recognise their actions are wrong.
THIS. What a wonderful study.

Given a problem statement, the questions that emerge should objectively be largely based on the problem itself: the industry, competition, business models and risks. Regardless of whether it is being presented by a man, woman, monkey, or dog.

The only way the questions could change is if you already knew about the person, and if the objective of the questions was to test only weaknesses in the whole system including the people driving it, assuming the strengths.

This would then imply that on average the men should being tested on what the men are weaker at! And correspondingly for women.

I do not see this in the result set.
Don't get up. I'd gladly show myself out.
I can't speak for OP, but let me ask you this. Suppose your sister is in the back of a police vehicle, on her way to jail. Would you rather the cop who is driving that vehicle be told

A) It's okay to flirt with suspects/criminals if they are into you

B) It's never okay to flirt with suspects/criminals and you will lose your job if you do

?
There's more to it than just available capital though.

A still-shrinking working-age population will have to look after a still-expanding retired population.

IIRC (no reference), Japanese pensioners on aggregate have lots of savings. However, they will surely be competing with one another for services rendered by the shrinking labor pool, so one would expect the costs of those services to rise, negating the effect of having lots of savings.

I live in Japan now and, unsurprisingly, the retirement home business appears to be booming, especially in and around Tokyo. But even if there are lots of retirement homes, they will have to be staffed. By robots perhaps?
> The problem with your argument is that you're looking backwards at what the government has done to predict what it will do.

I am not predicting what the government will do. I am predicting what the Constitutional Court will do.
On the contrary, just like the repeated wisdom of controlling expenses and investing in diversified index funds, the merits of sticking with a steady job will always be espoused here. It's hacker news, not delusional koolaid news.

I take GPs comment to be a sincere hope that things work out for them.
The "workplace umbrella", as you put it, follows him wherever he interacts with coworkers due to his position of power over them

Did I miss something here? My understanding from what McClure wrote is that he was interacting with someone who wasn't a co-worker.
Modestly with an entry level job with kids, no credit, and no place to live? I'm not sure who is more realistic.
To classical something as a "bullshit apology" is to cast a value judgement!
They're in Canada, so yes, you are correct - there is a fairly decent net of social programs that will cover them even if they go broke and get really sick or have to pay for their kids' education.

Not the case in every country.
The version I responded to lead with "Asking out coworkers is a huge no-no," which is pretty clearly gatekeeping.
NASA is about 0.5% of federal spending.

The total education spend is 3%.

So you could double spending on education and nasa and still pocket savings...

By cutting the US military by 25%.

Just an example.
It costs a judge absolutely nothing, as it's the judge's job. What does it "cost" when a judge jails a murderer or fines someone with unpaid parking tickets?

The scarier thing to consider is what does it cost not to hold this person in contempt of court? Much of society is built on the justice system being able to do its job and much of that ability is built on court orders being respected. What happens when some rich person sets a precedent of disobeying court orders without consequence?
> "If they refused, the offer would go out to their rivals. "

Ok, so what? Both you and you rival have something to sell. If I don't buy it from you, I buy it from your rival. Let's face it, the Europeans created a greater demand for a product that the natives were already providing: Slaves. (no disrespect intended by the word product, just an analogy).

> *"ignoring your own source saying that it isn't clear chattel slavery was practiced in the area"

The moment the natives the sold those slaves, even if they weren't chattel slaves before (which I agree with you, was not clear), they started practicing chattel slavery. That's just the definition of it.

In a nutshell, Europeans didn't turn that people into chattel slaves, they where turned into that by the other natives that enslaved them.

> "Yet you ignored the parts that didn't, like the ten percent of the population part."

Yes, the 10% that only occurred for a short time compared to the rest of the all Europe and because you keep accounting for people passing by than only spent there some weeks (i.e. the slaves waiting to be sold).
I've seen projects for extending train lines and bus routes literally coming to complete halt because residents were defensive and paranoid about the demographics of people that would be potentially visiting their area. There's a general consensus in much of America, even among the working class, that walking and using public transportation is a sign of personal failure.
What are you talking about? You can do all of those things, just don't hit on them!
There are no native white swans in Australia. They are all black.
Testing APIs or CLIs using gherkin
I don't think dating coworkers is wrong. I think making somebody uncomfortable with clumsy/forceful/persistent advances can be bad though.

But let's say you like somebody at work, so you talk to them, and you both enjoy the conversation. Then you eat lunch together at work a few times. Then you invite them to get drinks after work as a group. Then you continue to hang out when the rest of the group has gone home. Then you ask if this person would be interested in getting drinks in the future. If anybody has a problem with that I don't see why.

So again key differences:
- Power imbalance
- Advances on the first time you meet somebody (no evidence of reciprocity)
- Advances during the job
- How aggressive the advance is (a compliment? touching? inviting to a date? lewd comment?)
It would actually be closer to the idea of a heaven in some cultures.
Exactly that for an enterprise web app that attached all the physical paperwork of an order to the digital record.

Original dev just shoved all 30,000 in the webroot as multipage tiffs, average size 25Mb-30Mb.

End users couldn't easily view attached scans (multipage tiff isn't that prevalent), converting to pdf with jpeg compression took the first set from 76.8Gb to 6Gb with far less traffic on the network and much easier handling (PDF is far better supported).
It is to admit that I could have said "glad to see he is in therapy and hope he finds his true motivations" but I forgot he mentioned it because it is besides the point. The objective of my comment was to throttle down the "creep shaming" going on in this forum and several others.

Many people sometimes act creepily without even being aware of it. A little empathy as to how the other person feels and what their goals are can help one treat them with the respect they deserve. Hopefully the author can discover when his various desires are appropriate to express in context of the circumstances at hand.
gambling addicts have similar stories
But do bootcamps train people to program well?

The metrics they measure against are money and job based. Which gives me the impression that we either don't know how to determine if people know how to program, or that no one really cares. We need some kind of standardized test or similar. I know of the Advanced Placement CS exam[1], but we need something more practical and not focused on a particular language.

[1] https://apcentral.collegeboard.org/courses/ap-computer-scien...
This.

If I'm a rich man and I ask a poor woman out, her answer actually might have a much bigger impact on her economic well-being than if I were an employer interviewing her for a job.

Does that make it wrong for rich men to ask poor women out?
It took a long time to grok continuations. There's an easy way to explain what they are:

Imagine running a program in a VM. You know how you can take a snapshot and then restore to it later? That snapshot is equivalent to a continuation.

Another way of phrasing it is, it's your program frozen in time. You can snapshot your program and restore to that point later.

To put it technically, step through each call stack frame, serialize all the local variables, and you have yourself a continuation. To invoke it, call those functions in order and set the local variables to those values, then set the program counter to wherever it was. (You don't literally do this, but maybe that makes it easier to understand what's going on with it.)

The confusion: What about a database connection? Or a network connection of any kind? An open file handle? Etc. The answer is that those things can't be saved in a continuation.

The way that this works in Scheme is that there's a special primitive called "dynamic wind". It takes three callback functions: "before", "during", and "after". It invokes those callback functions in order. If execution leaves "during" for any reason whatsoever, then "after" is invoked.

Here's the kicker: If execution goes back into "during", then "before" is invoked. I.e. if you save a continuation inside "during," then "before" is the place that you'd put the code to re-initiate a database connection or re-open a file handle. Or fail.

And of course, no discussion of continuations would be complete without the argument for why call/cc is generally an anti-pattern: http://okmij.org/ftp/continuations/against-callcc.html

Yet "On Lisp" presents several interesting ways to use them, and they are extremely powerful. One particular use is that you can implement cut, fail, and mark for non-deterministic backtracking. If you've used emacs lisp and you've ever written an edebug specification for how to debug a macro (https://www.gnu.org/software/emacs/manual/html_node/elisp/Sp...), some of the more complex features require backtracking: https://github.com/emacs-mirror/emacs/blob/0648edf3e05e224ee...

That's an area where continuations really shine, because the implementation can be just a few dozen lines compared to hundreds.

(elisp doesn't actually use continuations -- this is just an example of the territory they're useful in.)
All emotions must be eliminated from public interaction. All social processes must be bureaucratically authorized. Don't forget to take your Prozium and sign your consent forms.
I'm helping my husband run a mini bootcamp. We focus on collaboration from the first day so they don't develop any bad habits and appreciate the value of feedback from code reviews. We do a lot of whiteboarding to make sure students have a solution well thought out before writing code. Our motto is "Think twice, code once."
Another is - don't let your dogs near a kangaroo around a body of water. The kangaroo hops into the water, the dog follows and the kangaroo holds it under and drowns it.
Not being enough doesn't make the public apology a wrong thing.

It is part of the solution.

It's also a very loud social signal.
What do you mean? Are you implying that you make sure you're never alone with women in order to avoid sexually harassing them?
Did those sites not have customer service reps you could contact to change your email address
I read it as "You don't need a grid framework on top of the CSS grid"

Though its annoying to parse that title
... so why not both?
Sure nobody denies hiring happens for unfair reasons all the time. That does not mean its not an ideal to hope for. I would expect more from authoritative figures who have already found success in our industry and looking to assist the next generation.

Is it so much to ask that a venture capitalist who is looking for the best and brightest to propel our industry to hire you know... the best and brightest? She should not have to look herself in the mirror and ask "Did I get this because I am qualified, intelligent, and worked hard or because he wants to hit on me?"

Let me phrase it differently. If he had asked her "Would you accept an employment position with us because I find you very attractive?" Do you think she would accept?

Maybe she would but that is besides my point. A little empathy for how she feels demonstrates that she was applying for a job she felt qualified for intellectually and not physically.
2nd Place Solution to 2017 DSB – Daniel Hammack and Julian de Wit
Source code: https://github.com/dhammack/DSB2017
Those corner cases can be solved by simulation. Off to the sims, to implement kangaroos, deer and people in wheelchairs chasing ducks with a broomstick - just to be thorough.
Do you find this explanation better or worse than the one that uses shift/reset and expressions with holes in them?
This is very down in the weeds, but let me provide an example.

>I'm going to place you under arrest, but if you give me your number, I might forget about it.

The power dynamic there favors the officer over you. If you don't yield to him/er, you could face prison. That demonstrates the issue with power dynamic leading to sexual harassment is that one with more power over the other coerces them into yielding sexual favors that they otherwise would not consent to.
Check other comments, they aren't the quality PDFs previously available from the O'Reilly site, but crappy conversions from epub.
There are literally billions of people in the world. Being professional just means that you exclude coworkers and people you do business with from romantic relationships. Pick anyone else from the billions of people - just not the ones you do business with.
Ask HN: Should we get rid of YC-company job postings?
What do you think? I feel HN shouldn't have this favouritism anymore. It's owned by the community now (or at least I feel it is)
They are extremely unpredictable in their change in direction and they will often get panicked by the sound of the car and jump in front rather than away from the car like most other animals.

Unpredictable motion is ideal for evading upright preditors with spears, but no so good for collision avoidance with fast moving metal objects.
This would make a nice template text.
The EU punishes Google – for no real crime
[Tech Talk] a practical Scala introduction
Hi, some days ago I gave a presentation about Scala, I focused on basic things of the language as well as some advantages and disadvantages, the idea is to present a general overview (practical) of what you can do and what you could see in Scala projects.

I would really like to get honest feedback of the presentation. like the topics covered, how I covered them, anything in general would be useful. The video is long (1 hour) then if you don't want to invest too much time, I would appreciate if you listen to at least one topic.

The topics covered are (very briefly):

- Unified Types

- Strings

- Type Inference

- Higher Order Functions

- Currying

- Case Classes

- Algebraic Data Types

- Pattern Matching

- Error Handling

- Option

- Weak Types

- Strong Types

Here is the link: https://youtu.be/tIwr9AhCQYs

Thanks!
It's worth noting that the argument against call/cc is specifically against undelimited continuations. Delimited continuations, such as those created by the `shift` and `reset` control operators, do not suffer from the problems of call/cc.
Wright Brothers thought they could fly.
I think everyone learns differently, and personally I'm a fan of the shotgun method: just explain it ten different ways till one of them clicks.
The problem with dating a coworker is that when they break up with you, you have to see them everyday.
I wasnt advocating western companies compromise their values. I was saying if they withdraw, other companies will fill the void... so any pain that the people experience will be temporary and the western company will be forgotten. Just like Google was forgotten in China. Companies disappear for many reasons all the time. People dont go out and protest to change the laws.. they move on and find alternatives.

That's not a call to abandon values. It's just an acknowledgement of reality and market forces. Just because someone else will do it, doesnt mean that you have to.
This is a complex feeling you've shared, and one I understand. Some persons I've communicated with are angry at Microsoft's choices. The anguish they feel is acute.

It is important to note that Microsoft has been around for a long time. They employ a lot of people and many of those people have great desires to be honest, caring, and good craftsmen. It is to those people I speak, not to the soulless logo or image of a company. A company can not hear us, only the people within can.

So, Microsoft is not a person, although it has a temperament, a behavior, and a way it carries itself. When it does well, I think its important to recognize that. When it does poorly, as it most certainly has, we must be honest with ourselves, and see the mirror image of the many things we done wrong too. At those times, we could destroy the energy of the brand, or encourage it to do better.
A very good explanation.

See these two in order:

// source: https://en.wikipedia.org/wiki/Call-with-current-continuation

Criticism:
Oleg Kiselyov, author of a delimited continuation implementation for OCaml and designer of an API for delimited stack manipulation for the implementation of control operators, advocates the use of delimited continuations instead of the full-stack continuations that call/cc manipulates: "Offering call/cc as a core control feature in terms of which all other control facilities should be implemented turns out a bad idea. Performance, memory and resource leaks, ease of implementation, ease of use, ease of reasoning all argue against call/cc"[3]

Delimited Continuation:
https://en.wikipedia.org/wiki/Delimited_continuation
Vinod Khosla is clearly a despicable example of a mega-wealthy individual, but is not the problem here the existence of the ultra-rich? Anyone allowed by society to accrue that much wealth will be above the law almost by definition. If we value the rule of law, why do we think it good to produce billionaires?
If only we knew the details ...
You can do anything with any programming language, framework or design pattern.
Genuinely surprised no one has simply removed the gate or otherwise rendered it useless.
Ok. Gosh I got that one pretty wrong, didn't I.
If passing on my genes might mean I am a creep, I'll take the risk. The risk/reward ratio just really isn't in favor of being the nice guy.
Giving Foreign Aid Helps America’s Economy
Freedom has a high price.
Controversial issue. You can make a strong case that Google unfairly used its shopping feature in order to mislead customers. In the end, Google Shopping is just one gigantic targeted advertisement.
There are all kinds of troll factories, so from Russia too, sure. No problem with that. I just think WaPo and NYTimes are also troll factories. And there are many others. Especially with the word 'troll' being used in increasingly broad senses and increasingly more often.
> Such fines would not collect nearly as much revenue as a tax

Who said anyone cared about turning sociopaths into a revenue stream? (Although to my eye, it beats some of the others the state has...) The goal is to stop the sociopathic behavior.

Frankly, I am more of a mind with those advocating the bolt-cutter option. Make it an every-Saturday, media-friendly community event - a trip to the beach. Make it fun - bring clowns. Private security won't go too far with that many cameras around, and a few people willing to risk a jail visit would go a long way.
That is more a life and operational issue, not a legal/abuse/harassment issue, to be fair.
> But does it make sense for displaying articles, navigation and ads?

No it doesn't. We (as a marketing tech company) deal with major publishers all the time and come across all kinds of ridiculous and complicated tech used to show a basic article when a simple static website would be easier and faster at this point.

It's a lack of good talent, resume-led motivations for choosing technology and overall poor vision in execution by CTOs and management.
If you hit a kangaroo (I have only ever had a side on collision where the kangaroo jumped into the side of my car and bounced off) you need to get out and check if it has a live joey (baby kangaroo) in its pouch. You are not allowed to keep the joeys, but there are organisations that will take them in and raise them enforce release back into the wild.
This is great, starred! I like how you went beyond the usual "render page to png/pdf with CDP" stuff and made evaluate/exists/set screen size methods - one can see it's made for real use.

This could become a cool replacement for PhantomJS that people would actually use! I answer questions about PhantomJS on SO now and then - there are lots of questions on how to login to a site and download something while in a session, so - here's another idea for real world use: download to local fs method.

Other features people use often:

* waiting for (an element/set amount of time),
* event for when a page has (re)loaded, to check if login/submit was successful
* aborting select network requests - useful for scraping/testing

So, good luck on this project!
You might have had a point in your first comment, now you're just defending a guy who won't even defend himself, for some reason.
Women in cave feeding the babies. Men venture far and hunt with spear.

Welcome to the stone age all over again :)
Dear lord. 250 comments in 3 hours about GOSSIP.

Are you people even adults? Did someone hurt your fee-fees by hitting on you? how about acting like an ADULT?

Looking at his pictures now I can see why this happened. He should try going to the gym and whitening his teeth.
Yes I understand that, but the power dynamic completely shifts when the powerful party shows interest. You might get yourself out of handcuffs by giving your or even a fake number if the powerful party is interested.
It's good to see influential people like Gates posting on topics like this
> The act would disallow any scientific papers whose data cannot be "reproduced," which basically includes all studies of toxic cleanup and contamination. We can't reproduce those events, and, therefore, any data about them would be disallowed by the HONEST Act. Essentially, the EPA would no longer be able to use any scientific studies that explore environmental disasters.

Is the Republican government Dr. Evil in an Austin Powers' movie plot? Their only priority is to move money from the USA citizens - probably all the world - to the hands of a few individuals with total disregard for the environment, or the lives of human beings.