skysight-inc/HackerNews huggingface dataset:
Most companies promote based on the surface level “what you did” rather than “how you did it”. It’s not going to change. Be glad you don’t work for one of those companies that promote based on who you’re friends with.
> On the other hand imagine how much you would learn if you could spend all you gym and bike time learning computer science and other things...

Probably a lot less. Exercise is associated with better mental acuity and reduced risk of mental deterioration with age[1].

Edit: Oh, and if you instead trade sleep for learning you're shooting yourself in the foot as well[2].

[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3951958/

[2] http://healthysleep.med.harvard.edu/healthy/matters/benefits...
Worst part is this wouldn't have cost them a dime.

Is there a word that holds the same meaning as "irony", but with stronger implication?
To me the more important factor for whether “faking it” is adequate is what one’s motivation is. If it is merely as an act of fakery because other people expect something, then it’s a lot more like to be an act without merit. If it’s an integral part of striving towards being genuinely able to exhibit the behavior in question, then it’s a lot more likely to be received well.
Can anyone make a summary. I tried to skim quickly but I couldn't see any real reason. Thank you
It all comes down to Wall Street. As long as investors are OK with FB's shenanigans, they'll continue to find innovative ways to sell off their users.
Author here :)

I understand that it might suck to be buying a book to learn a language, so just in case you don't want to commit to that there are two chapters of the book which are free. You can find them listed in the link above or here: https://book.picheta.me/
Thanks for posting this! This article was a really good read that I think communicated the intent behind your original article much better.
You _can_ have the best of both worlds though. For example, styletron[1] lets you write a "button" via something like

const Button = styled('button', {/* styles here*/});

...and you get deduped atomic classes (plus proper source maps, so the debugging experience is actually pretty similar to vanilla CSS)

There are also more transparent ways to leverage existing functional css frameworks. For example, Mithril.js[2] lets you use CSS selectors in templates, so you can do things like:

const Button = 'button.some.atomic.classes';
m(Button) // equivalent to <Button /> in JSX

The problem with `class="button button-with-quirks"` has to do with specificity. Yes, you can edit the base class... but then you also need to go hunting for visual regressions anywhere you have a compound class because who knows what might be overwriting your edit and how. Also, your team needs to be extremely disciplined when dealing with 7 slightly different variations of left margin on a button (and usually they are not).

The two most important benefits of functional css that the post doesn't go into that are kinda important to the discussion are these:

- atomic styles can be deduped, making for smaller bundle sizes

- they make it nearly impossible to accrue specificity-related technical debt

Many of the downsides alluded in the article are solved by libraries like styletron.

[1] https://github.com/styletron/styletron/

[2] https://mithril.js.org
> If they have a proven track record of figuring things out experience is minimally valuable.

I can't understand this point of view at all.

When Google wanted to build the world's best JS JIT they didn't hire anyone who was generally able to figure things out - they hired the person with the most experience in building dynamic language JITs in the world. Experience is everything! Experience is knowing which rabbit holes to not go down, knowing who to speak to when you need help, what ideas haven't been tried yet, etc.
Thank you. Your article is one of the most thorough and thoughtful things I've read about this (often frustrating) corner of web development.
The thing the Greater Internet calls "fair use" doesn't actually exist. There is a legal concept that does exist and can be used, but it is much smaller than the Greater Internet supposes.
He died of heart failure. The "broken heart" line was poetic license from his caregiver.
Cascading is bad and creates more problems than it solves.
Join our IRC/Gitter or our forum, we're always happy to help: https://nim-lang.org/community.html.
I like it! "Facebook: We're a bull in a china shop."
I abhor this kind of advice. "Hey this code was very problematic ..." is incredibly grating and I would think a lot less of a supervisor that chose to give feedback with such a veil.

Not sure about "This code is crap", but claiming it is less constructive than your example is a very superficial reading. A supervisor who told me "Your code is crap" would seem a lot more inviting than one who put the condescending remark you offered. It's a lot more constructive because it reminds me (a) that my supervisor expects more and (b) my supervisor expects more from me (i.e. both I know what to do to fix it and my supervisor thinks this is a lapse and I'm competent).
> Some people might be worried that their chosen distribution will not build, test, and package OpenJDK correctly, but if you don’t trust your distribution to build packages, you shouldn’t be using it at all.

Can anyone say which distributions he is alluding to?
With corn and cereal, you actually want to weaken or kill the plants some days before you harvest, so they start to dry, especially if the weather has been wet. You get a drier harvest with less chance of spoilage in storage.
Virtue signaling can involve action. I disagree with the above definition.

Actually a really strong signal is an action that is a sacrifice, regardless of whether it has a real positive impact.
Representative if the bees are drinking straight from your sprayer, for multiple days in a row.
Most places and projects I've worked in the past 10 years or so have used GSuite or similar for inboxes, and Amazon SES or similar for programatically sending email. Those that didn't (shared-hosted websites on CPanel installations seemingly do still exist in 2018) had access to webmail in the hosting panel or as an installable application.
> become a doctor for the love of taking care of people that are sick and help them overcome a bad situation

That’s the fantasy. And, hey, when it pops up, awesome - it’s a very energizing moment. However, most medicine has absolutely nothing to do with that day to day. The day to day is subject to Pareto’s Law. A surgeon may occasionally get to “take care of the sick,” but 80% of the time they get to do a five minute chart review of an obvious gallbladder passed along from the ED, a cookie cutter GB removal, and an uneventful recovery that involves a daily stomach poke and the same handful of questions they ask every other post-op pt on the floor. Medicine is a technical profession.
Thanks so much! Want to get started with it before I decide to buy a book on it, but seems like a great language to program functionally in without all the hurdles :)
We'll track it down, thanks r1ch!
Only 2^7 button possibilities on a real controller, because you can't press up and down, or left and right, at the same time.
Engineers search for cause in cracked beam at SF transit hub
It depends on your background.

If you would like to go from the very beginning (no or minimal programming experience): https://narimiran.github.io/nim-basics/ (disclamer: I'm the author of that tutorial)

If you are more experienced, and you want to explore all the possibilities that Nim provides, check the language manual: https://nim-lang.org/docs/manual.html

If you need any help with getting started, join Nim channel on IRC/Gitter and ask the questions. The community is very friendly and helpful! (It is one of the main reasons I kept using Nim in my Nim beginnings)
He didn't clarify it in the article, but deletes are basically flagged by a "deleted" column, and updates are implemented as delete/insert. The overriding idea is that a row is never overwritten; storage is write-only. Containers are periodically merged into larger containers (an LSM tree), and deletes are purged at that time.
Why and where secure email gateways fail, Graphus excels
Logo was more than turtle graphics. It also provided list processing with slightly friendlier names: Logo BUTFIRST is Lisp's CDR. This makes possible a great deal of purely linguistic programming, e.g. "20 questions game", text based adventure, etc. (I was one of the implementors of Logo for Apple II.)
That is true but up to a point say I want production ready async PG driver FFI does not help me much
Show HN: Cluster Builder – Automated K8s, Swarm and DC/OS in VMware
Spellbound: https://m.imdb.com/title/tt0334405/?ref=m_nv_sr_3
Food, Inc. It may come across as propaganda for organic food, but I found the insight into industrial style farming and the major consolidation of food providers fascinating. Made me much more appreciative of places that try to buy locally and well-treated (relatively well) animals.
Under duress. Let's not pretend it's some organic evolution in his personality, he has been pressured into this new position.
I really don't care about old books from the 1800s.
Why Is Every Company Making a Digital Assistant?
This might indeed be true in your slice of the market, but in top firms in USA I think new grad compensation has never been higher. Top students with good summer internship experience can easily bag 150k in their first year, even more for those who manage to time competing offers.
"It doesn't matter whether a cat is black or white, as long as it catches mice."

If a group is:

- authoritarian
- wields the power of judgement without due process
and rejects the principle of innocent until proven guilty
- uses coercion to attain political goals (worse if it's violence)

...then I submit to you that, "It doesn't matter whether a cat is black or white, as long as it catches mice."

In this, I am not calling out China. Rather, I am calling out what certain groups have become in the United States.
Which is an excellent book. In dire cirmustances - how and why can you go on. I really recommend it to everyone. In the book Victor Frankl - as a trained doctor and therapist - documents and - this should be interesting to HN crowd - analyzes his own experience as a nazi concentration camp survivor. The 'lit a cigarette' example in the article is probably borrowed from the book.
HexaVault – a better password manager than LastPass and others
There's no such thing as "best music in the world" ... It's very subjective and while I'm sure the beats are deep, using superlatives don't really do the music justice.
"Every community has a different culture so if you cannot adopt what everyone is following, maybe this industry is not right for you."

When I was growing up, being a nerd or a geek or, in fact, any kind of intellectual was regarded as a bad thing. I found some outright harassment, a considerable amount of belittling, and a whole lot of lack of interest. (The 57th time you are asked if you play football or basketball, you say "no", and someone immediately looses all interest, you may be forgiven for wondering if it's you.) Thinking about it, I don't remember ever seeing the inside of the restrooms in my jr. high or high school.

I learned to keep myself to myself. I learned to avoid talking about my interests to anyone; they didn't understand and didn't care to, and I'm not a good communicator. I never had any serious abuse, but I learned to pity those who couldn't put a mask on when necessary.

Fortunately, I picked the right time and have had a career making roughly twice the median household income. (And I've made some poor choices there; I could have done much better.) (There weren't many darkies where I grew up, but I sometimes wonder how many of the wetbacks who went to even worse schools than I did can say something similar.)

Now, the situation is reversed. Not playing video games will get you looked at funny. Being a geek or nerd is a good thing. It's certainly the easiest way to make money. But one thing I've also learned is that every social group puts barriers up to keep out people who are not different in the right way.

So here I sit, a professional programmer and a tolerably good one, and I find the defense, not of the right to be a jackass, but of the act of being a jackass troubling. I don't necessarily think the added layers of a code of conduct are a good thing. On the other hand, your last paragraph is spectacularly unappealing. If you can't not be a jackass in public, maybe this industry isn't for you.
It upsets me that the "normal" way to keep in touch with people now seems to be to use some kind of big-brother-esque system.

I try and evangelize Signal over WhatsApp and most of my friends won't budge. I deleted my Facebook four years ago, and as a result I have lost contact with a lot of friends.
Boys More Likely to Be Victims of Teen Dating Violence Than Girls, Study Shows
What exactly does empathy have to do with CS?
Adding one more "learning resource".. they are basically my notes.. you can see them get advanced as I learn Nim more (they are still getting constantly updated.. I last verified that all the snippets in there work on Nim 0.19.0).

And the notes:

https://scripter.co/notes/nim/
/r/wallstreetbets is a bunch of intelligent investors pretending to be ignorant, and a bunch of ignorant investors pretending to be knowledgeable.

I made a tidy profit off of someone's SPY options play they offered up as a post yesterday in /r/wsb, and they showed their work (proper due diligence on the why). It's not all fun and laughs in there.
Part of the problem is that there isn't really a cohesive community on something like Twitter. It's just a mass of people. For a group to be able to deal with bad actors, there needs to be something resembling a group boundary which can be policed and defended. Twitter lets anybody waltz into any conversation they want.
They are definitely a group worth talking to as they can speak first-hand to the difficulties they had getting/staying in the field despite having a strong desire to be there/here. Understanding at least some of what they felt they were up against should make clear the most obvious obstacles that need to be cleared.
So, Google is not doing this too?

How many of us use 2FA on our Google accounts?
It will be a part of the solution even if it won't solve the problem on its own.

If enough people decide to turn their backs on FB (or any other company doing things like this), there will be a market for better solutions.

It needs time.
Study links restricting screen time for kids to higher mental performance
Griffpatch on Scratch
How does shutting down Stage 9 help their short-term profits, either?
> sperm counts in the western world have been declining precipitously since 1990. I'd bet that glyphosate has something to do with this

Free porn on internet looks like a simpler explanation. Or maybe we could speculate that everybody touching plastic keyboards for many hours a day can't be healthy.

Poor countries in Africa and Asia doing extensive and not-so-regulated agriculture should have an even bigger decrease in sperm count if pesticides are the only reason. It pours Glyphosate there. Probably is a combination of many factors.
> Usually, in a large codebase, I end up just adding a class instead of tweaking one and figuring out if I broke anything anywhere.

It's very easy to just make another CSS class everywhere, but that defeats the point of CSS and you might as well just use inline styles.

Clean well maintained CSS makes a huge difference. The problem is your CSS needs to map to semantic meaning of what's going on, and you need to maintain the effort to keep it clean.

> How many times do I have to change all the buttons on my app?

How about how often do you need to change all your 'submit' buttons? The HTML element type is again vastly less important than what each element means.
Sometimes you have to be nudged towards the right direction. But change comes from inside. You’re being rather insulting to Linus if you assume he’s just a pawn being moved from the outside here instead of moving on his own accord.
> We do not allow third-party banner ads on WhatsApp. We have no intention to introduce them, but if we ever do, we will update this policy.

I wonder how do they come up with this kind of language? Do they write a short text that gets filtered several times by multiple teams of lawyers and comes down to this? I cannot honestly imagine a sane human being writing such intricate bullshit, even on purpose.
Also http://basscss.com/ which convinced me of the genius of using this functional/utility approach to CSS.

The website themes just seemed so much simpler and minimalist, but also more consistent across the whole site. Significantly reducing the amount of time I need to create my own CSS classes.
On the other hand, I visited several of the major ESA facilities across Europe, and then Kennedy Space Center, and it was a stark difference how much more commercialized KSC is. It’s a proper theme park. I don’t think any other space agency has anything so touristy.
recently interviewed at Facebook (didn't pass the in-person) and one thing I was looking for was a job that WASN'T based on ads. I didn't want to come across negative so I was circumspect in my asking ("Tell me about the positions at Facebook that I as an outsider don't know about - I know ads, messaging, and events"). I wasn't really excited by the answers I got - ads seemed worked into everything they brought up, but the answers weren't super-nefarious either. This was the Seattle office, which apparently has a strong ads-basis. Because they hire people and then (allegedly) let them pick from available team openings (after a "bootcamp" to do onboarding), I simultaneously felt like I'd have a chance to avoid the worst but also couldn't be sure of what I was committing to.
I didn't pass the interview and the few weeks since have tried very hard to make me not regret that by raising issues like this one, despite my natural tendency to give FB the benefit of the doubt and to recognize the difficulty of moderating speech sanely.

I've never had such uncertainty about what a job would involve before - the "you find your match" sounded good initially, but in retrospect I'm wondering if I dodged a bullet - so hard to know.
The Python Performance Tips [1] basically says this, along with many other helpful hints when trying to squeeze performance. They all boil down to: In a tight loop, don't do anything that triggers a lookup or function call.

[1] https://wiki.python.org/moin/PythonSpeed/PerformanceTips#Dat...
Your website's cert has expired nearly a week ago. Competency is clearly overrated in the land of empathetic bosses.

Edit:

So I address for this being a dig. It is an observation. Those who are empathetic eventually spend all of their time talking about feels rather than addressing issues. Time is a finite resource. Sooner or later ( typically sooner rather than later ) one needs to decide what he or she is going to value more : competency or empathy.

Also, I apologize if me noticing a bad cert was hurtful.
> - How many times do I have to change all the buttons on my app?

When making a styling change like this, it's typical to change it app-wide.

> - Does changing one class work to change all buttons in practice? Don't I end up having the color overloaded 3 times, cascading over and leaking in 5 others spots?

I can change the border-radius on all of my buttons, and they will all change, and still have their color-specific classes.

> - Are most of my edits in CSS tweaking existing rules, or piling up more CSS? Usually, in a large codebase, I end up just adding a class instead of tweaking one and figuring out if I broke anything anywhere.

This is unfortunately quite common in practice - because maintenance is hard and practices are bad. But it is definitely possible to have robust, reusable css.

> - If I use a component-based approach, like Angular or React, do I really have to change classes everywhere with functional css, or just in the button component?

Phew! A component just for a button. What a twist! I don't think most people are making components for each html element. In fact, I'd say this is pretty redundant and overengineering things in a bad way. Guess what - html has these nifty components called buttons too, and you can also style them. Wouldn't any minor change to your button component require then passing in props (just like classes)? <Button propName={"danger"}><button></button></Button> doesn't really seem better than <button class="btn--danger"></button> to me.

> - Is styling "functional"? Can I always change the styling of a class without changing its semantics - like if I put the primary button the same as the secondary, did the naming help?

Not really sure what you're getting at here.
Are you sure the "private profile data" wasn't aggregated before it was sold? Either way, selling private data is not something Facebook is actually known to do much (outside of misunderstandings by confused activists/journalists). If you contact me (info in profile) I'm very curious to understand more.
https://signalvnoise.com/posts/1941-press-release-37signals-...
Nice, thanks for the info!
How do you tell the difference in an interview or a medical consultation? We aren't talking about products.
The Seattle Times did a nice job here of presenting viewpoints from women Computer Scientists at different points in their careers.
I agree fully, its not enterprise grade. Triplebyte is a 30 person office.
Announcing Chopsticks.Cash API for BitcoinCash Application Developers
It would be great if you could convince large tech companies to use work sample tests, but I just don't see that happening. So in that sense maybe work sample tests can be a differentiator attracting candidates that don't want to spend a few weeks doing Leetcode prep every time they look for a new job.

On the other hand work sample tests also have drawbacks. I don't know if they're actually that much better than regular interviewing methods; I think they just contribute an orthogonal signal instead of a stronger one. I don't feel I can cheerlead them as much as you do in your first paragraph.

I think in an ideal world companies would allow candidates the option of choosing either their work sample or their resume-blind, standardized interview gauntlet. People with a lot of interviewing anxiety could self-elect a work sample option. But if you impose a work sample on every candidate I think you'll reduce your pool of available hires.

I was offered a work sample test recently and was told to spend about a week on it. I started working on it a little bit the first day and really enjoyed the exercise. But I was also interviewing with at least five other companies at the same time; I simply didn't have the time between work and traveling for onsites to really commit to the work sample.