skysight-inc/HackerNews huggingface dataset:
I'll share another perspective.

Execs view it as being able to make informed decisions about where to spend the company's time and money.

Let's say you have projects A and B you want to do, and you've estimated revenues from each at $11 MM and $4 MM. You really want to do A, since it would establish a business relationship with a new strategic partner, but estimates come back that A will take 16 weeks and B will take 4 weeks. You only have time to focus on one project at a time, so you choose B to try to capture a quick turnaround before moving onto A. Plus it would make an existing partner happy.

Execs know from experience that the engineering estimates usually suck. Sometimes they're really high and sometimes they're really low. Execs decide as long as B doesn't exceed 5 weeks, we're OK. They don't communicate this down the chain because if everyone knows 5 weeks is the "real" number they'll (grudgingly) accept, they are pretty sure someone somewhere in the chain will spend a week optimizing the test harness or refactoring the build process or something.

At week 3, engineering says they're gonna need 2 more weeks. Execs: Sure.

At week 4, engineering says they're gonna need 2 more weeks again. Execs are annoyed but now the work is mostly done, and everyone promises on their children's lives it will actually be done in 6 weeks, so they let it finish.

At week 5, we're still on track for week 6. Execs: Sure.

At week 6, we're gonna need another week. Execs: Whatever. At this point they've abandoned all faith in this engineering team. They re-task some other critical part of the business with beginning work on project A. Some part of the business suffers.

B actually takes 7 weeks when all is said and done. Execs wouldn't have bothered with it if they knew that up front. Everyone involved in B takes a reputation hit: the product manager, the project manager, the engineering manager, and the engineers themselves. The people who blame others get an even bigger reputation hit.

Now there's pressure from some sides of the exec table to make up time on project A and get the estimate below 16 weeks from a team that had nothing to do with B.

Happily for everyone but the first team, it turns out the other team is able to get project A out the door in just 12 weeks. Everyone on the first team takes another reputation hit.

You might say that the root problem was the estimate for B was too low. That is a problem, but the fact that the estimate for A was 25% is equally problematic. Had either estimate been more accurate, the company would have focuses on A first.

All of these execs are accountable to the CEO, who's accountable to the board. The CPO or CTO or whoever are not escaping unscathed from this, because at the next board meeting the CEO has to answer for why project A was delayed into Q2.
You're right. Most ORMs are rather bad.

I like query builders tho, so I don't have to fiddle around with SQL strings.
Their revenue stream is just rent. They're not acting as a VC taking equity in the startups that use their space.
Thanks to the 3 people who answered.

So, roughly, we can consider that the price of the rent is complete, no extra to add in general. Considering how high your rents are, that's lucky :-)

In France there is no VAT on rent; however there is a local tax, called 'living' tax, more or less based on the surface and theoretical value of the rented flat/house (but disconnected from the actual rent price). It is always paid to the tax office, no connection with the rent and the owner, so of course not included in rent prices.

The owner pays another local property tax, on the same bases too. (If you live in your own property, you naturally pay both).
"can be detected" beyond regular ol' OS/Browser/Traffic/Activity fingerprinting?
Show HN: Open Source website to learn anything with maps
Hey everyone.

Today we released a new update to our website where we completely redesigned the website from scratch and now anyone can come in and add resources and links of their own.

The goal of the website is to visually present the most efficient paths for learning any topic on Earth.

Would really love to hear your thoughts and feedback. It's also Open Source (https://github.com/learn-anything/learn-anything) so if you know a little React, we would love to get any help we can get. Thank you.

The website can be seen live here: https://learn-anything.xyz/
Is that meant as a response to the questions about how his parents are doing in retirement? Free meals as a child don't usually help with that.
Front End Job Interview Preparation Guide
Student loans to earn that 100K a year.

Housing to live near a job that pays 100K a year.
> My father raised a family of 6 making ~$30k/yr at his peak.

When your father was working and you were growing up, $30k was worth more (perhaps much more, depending on how old you are) than it is now. His job probably had benefits and protections modern jobs don't have. What used to work for people increasingly doesn't work, in large part because benefits are disappearing, government programs and subsidies are being cut, and what's considered a "fair wage" hasn't tracked at all with how much things actually cost, especially on the coast.
Umm hypocrite?
> Nobody seems to be interested in improving the situation

Plnty of us are interested. But people with enough money to pay for their own media, and their own politicans and party, they are really not interested.
The goal of this guide is to help you prepare and practice for your next Frontend job interview. I have curated this list of resources to keep it as impactful as possible. Feedback always welcome.
Faster Clojure reduce
3) willfully ignorant...
Sounds like two have crushing debt. The family that's "struggling" on $100k in KC (really?) wants for "educational opportunities for her high-school-aged son," whatever that means, which somehow translates to "working overtime ... to make enough money to live on" (emphasis added). The last account is absent any useful info, just some "Keeping up with the Joneses" comments. It's a puff piece so that relatively well off, comfortable families can commiserate in the shared "struggle."
We will see in 2019.
Clean code and clean architecture are great books. I find sql injection from kids fresh out of college all the time in php but to be honest I really can't tell the difference in that rails code. At work I've build a query helper function that takes a query string and a array of bindkeys/bindvalues and everyone must use this, easy logging, easy security etc...

In this articles defense something SHOULD have been done instead of all the books that came out of their years that start off teaching sql injection and then barely mention injection near the end. It is a bit silly we still hear of this problem and the ongoing amazon s3 open links. The solution is typically some start up but the original software should have fixed its own problem, why did we end up treating database queries as low level and as powerful as letting users toss in assembly code.
You're saying Mozilla is turning people into idealogues without joking? Besides the fact that people independently choose to be active, half the Mozilla fans in this thread aren't shoving Firefox down anyone's threat.

Firefox Quantum is a worthy competitor to Chrome. So is Safari on Mac. Not sure about Edge as I haven't used it.
> "People feel like they haven't been getting ahead for a long time," says Jim Tankersley, who covers taxes and the economy for The New York Times.

I won't say this can't be true, but by experience casts doubt on trusting what people "feel".

For example, lots of people feel they struggle to attain homeownership. But homeownership rates are within 1% of what they were in 1980. Meanwhile, median house sizes have increased 50% since then (or 100%!, relative to household size).

Lots of people feel they aren't being paid enough. But median household income has increased ~25% over the past 40 years (50%, relative to household size). (Looking at household, not individual, child care has transitioned from one stay-at-home parent to one working parent + contracted child care and only the latter adds to "household wages".)

Lots of people feel that education is too expensive, but total scholarship money has exploded. In my home state of Florida, a 970 (Math + Reading) SAT and 3.0 GPA gets you a 75% scholarship to any state school. That is well within reach for most university-bound students. Or achieve a 1270 SAT + 3.5 GPA + 75hrs community service for 100% scholarship.

Lots of people feel cost of living is rising. And yet, there are 10% more people living in urban areas since 1980, which tend to be far more expensive than rural ones.

Sometimes I think all some people ask is to own a home and a couple cars in a good neighborhood with good schools in a big city, travel abroad, and go to private or out-of-state school for a few months salary of a hobby job (and obviously without ROTC) after buying the new $700 smartphone every year and continue that lifestyle into government-sponsored retirement. You know...do what their parents did, but without any of the drawbacks.

---

In reality, I suspect these feelings are grounded much more with keeping up with the Jones' (+ Facebook), rather than the objective quality of living.
This is an awful article. How is it at the top of ycombinator. There is no breakdown of any costs or what their living standard ACTUALLY is. These people could very well (and likely do) have spending issues. Eat out too much, buy too many gadgets, replace their car far too often, etc. Thats the problem far too often. Boo Hoo
I also use feedly, but you can't comment there, right? And you do not see the source of the link, which is sometimes quite helpful
Last time I used a JS animation library, I used velocity.js

While the performance was good, the main reason I would not use it again, is because the browser dev-tools do not work with velocity.js.

Does anybody know if you can use e.g. the chrome dev-tools animation tab with this library?
What do people think about federal taxes (mostly) not being adjusted for cost of living? It serves as a disincentive for moving to the cities, but is that a good thing or a bad thing?
There was an article some time ago by someone from Chrome/google in which you could read that they optimized for benchmarks before but benchmarks are not real world usage so they stopped and started to optimize for real world usage. They did it because they optimized for some benchmarks while making real world average usage less efficient. Benchmarks do not show real browser performance.
As someone with a six-figure self-employment income, I can also say that cash flow is a very important part of the equation. If you take an appropriate discount for bad/unsteady cash flow (and few of us do), one is led to the conclusion that $100k+ in SE income can often afford one a ~$40k lifestyle at best, in terms of recurring expenses one can reasonably commit to and consistently afford.

That's something a lot of people on salary don't get. Back when I was on W-2 and had much lower compensation than I nominally have now, I had my ducks in a row, taxes paid, a positive savings rate, and good credit. That hasn't been the case since I went self-employed about ten years ago.

If someone were to divide my annual revenue (less expenses) by 12 and distribute it to me on the 1st of every month, a lot of problems would be solved. But because that's not how reality works, I take a bath in late fees, interest, overdraft fees, no access to credit due to bad rating, etc.

Some of those things are more avoidable than others depending on the choices one makes, but that's not the point. The point is that W-2 and SE income are not equivalent. Unless you've devised some compensation scheme that is substantially similar to salary as a contractor, you can't afford anywhere near a $100k lifestyle as a consultant earning $100k+. There are many days I'd happily trade places with folks who get a lower, but steady paycheck every two weeks for doing more or less one job.
Quick CLI to add environment variables easily in Fish Shell
I don't mean to sound unsympathetic, but it would be nice to hear what is eating into their income so much.

My thought pattern here is that if you can't manage on $100,000 a year then you'll have the same problem at $200,000 a year, so on and so forth.
The article even touches on how everyone is trying to keep up with the Joneses instead of living within their means.

Everyone is in a different financial position but instead of recognizing that and living a life you can afford, people get jealous of what their neighbours have or their friends are doing and pursue the same lifestyle regardless of if they can afford it or not.

I do not sympathize with someone struggling to make ends meet on $100K a year. That is a ton of money and if you have debt and bills you can’t handle then unless it’s just a result of horrible life circumstances, it’s most likely your own bad decisions.
Tone of this article is unfairly critical of DHS & FBI. When data and statistics underpin our decisions in everything - speech recognition to pricing and suggestions on Amazon, apparently the government's use of it to go after suspected terrorists is unfair.

The surveillance apparently shifted to a mosque after the San Bernardino shooting, not because the FBI hates mosques, but because data on individuals attending the mosque tagged them as suspects.
I'm one of those coastal elites. Early career, so ballpark around this salary. I have some student loan debt, but my portion of the rent is only $1,000 a month plus utilities (I split a place). I spend about $2,500 a month. And I sock away the rest (about $60k annually) into investments.

$100k still goes far in a high cost of living, coastal area. However, I drive a used car. I'm a renter, and probably will be for awhile. If I wanted to be a homeowner, a good portion of my retirement savings / investments would be going towards that.

If I decided to have kids, which would mean at least a place with additional bedrooms, plus additional health care coverage costs, etc., I could see it getting tight. I might have to compromise my retirement savings goals.

I don't have a lot, but I'm also a minimalist. And I realize that, income wise, probably 80% of society has it worse than me. I don't know how households earning around $50k would feel any semblance of having a future financially. Growing my savings/investments is the only way I feel like I'm getting ahead. Having any sort of typical American dream goal (house, kids, etc) would basically nullify my ability to get ahead, with the exception of building some home equity.
These devices were used a fair bit when I was in secondary school here in the UK during the mid-to-late '00s. They were primarily available for pupils with special needs, however they were also used by those who had injured their arms and found it difficult to write.

I hadn't realised they had since been discontinued, though I suspect the increasing affordability of laptops may have played a part.
Django ORM is also less error-prone than the Rails example shown:

User.objects.get(email=email_input)

Raw Python DB-API, on the other hand, can easily be misused, as I've see on several occasions.
Three out of the four "people" on this list are actually families, not individuals. So that $100k isn't going towards a single person- it's going to anywhere between three to five people. At least one of them mentioned having medical debt. That is a rather huge difference than what you describe for your life.

The other person is making $100k in a very high cost of living area. He's living as you do- frugal, paying down debt, and living within his means. He does raise a good point though- $100k does not feel like the fortune and there is still quite a bit of inequity.
How long ago was that? What kind of cost of living area? You really can't take a number and use it to judge someone without taking into account so many variables. 40k in Texas would be about 80 in Cali. Due to inflation and other things that eat away at purchasing power that's much harder to raise a family or even oneself up on. Gone are the days of one person working and supporting an entire family like most baby boomers seem to still think is possible.

Of course the billionaires like it this way. They are destroying the middle class, but they keep the fighting at the lower ranks.

It's not the 1% that are the problem, it's the .01%.
You’ll be downvoted for preaching frugality because many coastal-city HN software folk making six figure salaries are probably inimical to frugality: buying 3000 dollar bikes, luxury cars, eating at fancy restaurants, etc. in very anti-fragile way without saving with substantial cushion for rare adverse events.
27 minutes of meandering story leads to: Not today, but yes it is possible after investment in infrastructure and battery tech.
This is ridiculous. It's one thing to claim that 100k is "not enough" if you live in a high cost of living (which is still dubious, considering the median income in NYC is half of that.) If that's not enough for you in Kansas, the fact is that you're living far beyond your means.

I think it's telling that one family cited credit card debt like it's an act of nature instead of a conscious choice. And just because you qualify for a million dollar mortgage doesn't mean you should get one. Spend that big salary on a home near your workplace and sell the $40,000 SUV.

The sooner we wake up from the "dream" of being deep underwater in debt to fund an ecologically and economically unsustainable lifestyle, all the while just a paycheck or two away from complete ruin, the better off we'll be.
So to summarize you're basically saying to live within your means.
>How is this legally possible?

Freedom.

Absent abuse, in the US we allow a very large degree of freedom in ways people are allowed to raise their children, no matter how unconventional and ill advised.

You're legally allowed to mess your kids up in many ways, such as by not teaching them life skills, encouraging teen marriage and pregnancy, teaching them bad manners, withholding critical information from them, giving them misinformation, disallowing them to be around unapproved peers, having tons of kids, raising them to be hateful (Westboro Baptist Church, KKK,...) etc, etc, etc.

BTW, I actually know of a high school dropout single mom who homeschools her kids. Of course, since she's unemployed^H^H^H^H^H^H^H^H^H^H a stay at home mom so shes entirely dependant on her own mom for every single thing, there's no father in the picture. She's a 35 year old child. Her kids are going to be so screwed up and entirely ill prepared for adult life, but it's legal, her "homeschool" is registered with the state.

For better or worse in the US individual liberty is valued over almost everything else.
Abuse and stress: Study on Indian BPO workers pulls off mask
Food stamps and WIC are welfare. What exactly do you think welfare is?
We've been using this style a lot in Elixir via the `with` macro

def get_cute_cat(image_id) do
with {:ok, cropped} <- find_cat(image_id),
{:ok, with_tie} <- add_bowtie(cropped),
{:ok, with_sparkles} <- make_eyes_sparkle(with_tie)
do
with_sparkles
|> make_smaller()
|> add_rainbow()
end
end

If any of the values on the rhs of a `<-` cannot be pattern matched, it returns up the returned value. This value can be pattern matched easily inside an `else` clause underneath the main block. The use of the `:ok,` vs `:error,` tuple convention allows multiple values to be destructured and passed around if needed (rather than an optional type).

If you find the code getting unwieldily, as runeks said you can break it down into simpler constructs.
>Is there anything that can be done to improve the situation?

Yes, but it's all the things that "coastal elites" don't want to hear. The first two topics of conversation would likely be about trade and immigration policy. But it's hard to talk about either without being shouted down as xenophobic or racist. It's worth noting that Obama ran on a platform to renegotiate NAFTA during his first primary.
That's what the article says, but there must be some trick to make that work. Trying to drive a filament just by threading it and running it through a rotating nut will mostly twist the filament or tear off the threads. Maybe an inside conical thread, like the negative of a wood screw...
Partially Applied Functions in Scala
Unfortunately same experience here. Firefox is just slower than Chrome for me on all devices and I also have some high CPU hiccups with FF.
The article would become useful with the addition of the budgets of each of the people/families. Without that it is hard to understand the individual problems, besides some generic platitudes. That is if one would want to find a way to succeed on 100k/yr and not just voice one's current issues.
Because people who value certificates take courses
It’s kind of inconceivable that a family in Kansas City making 100k a year can’t afford more than one car. The article is super light on details. Do they have a super expensive house? Student loan payments?
Show HN: Simple Univariate Linear Regression Notebook with Example
Recently, the news media seems to have developed a weird fetish for the petit bourgeoisie. The U.S. is highly atypical in how we treat the upper middle class.

In Germany, for example, a two-income couple making 84,000 Euro ($100,000) in Bavaria nets 57% of their income: https://www.icalculator.info/germany.html. In Maryland, a relatively high-tax state, they net 76% of their income. And that doesn't adjust for the additional upper middle class tax benefits like the mortgage interest deduction, which don't exist in Germany, which would take the net income over 80% on a typical house.

A couple earning 840,000 Euro ($1 million), in contrast, net 55% of their income, barely different from the previous example. In Maryland, they net 54%, less than in Germany! In contrast, actual corporate tax rates in Germany are about 15.5%, versus 18.5% in the U.S. (and Germany is quite high compared to say Canada, at 8.5% or France, at 11.2%).

I live on the east coast, but about an hour east of D.C. Around here, you can live very comfortably on $100,000/year. Certainly, more comfortably (at least, materially) than you typical middle class German family. The only reason the situation gets worse as you get closer to D.C. is expensive housing and worse schools, which are problems that are entirely inflicted by the middle class on itself (through anti-development and pro-segregation policies).
I think that this dichotomy can be summarized with the old logical identity:

A or B = not(A) implies B

Considered as a statement about types, 'A or B' is a variant type over two constructors A/B (this is equivalent to an optional type, where A=unit).

Also as a statement about types, 'not(A) implies B' is a function taking a continuation on A (the exception handler) and returning a B (if it decides not to raise an exception).

So (as we often find in CS) this is a very old idea, older than computers and programming languages. :D
Its a good point - I think the language being used in productivity discussion is painfully informal and wooly.

I think energy in this context is often used to mean "enthusiasm" or "motivation". Its the energy that can be applied in a desired direction - a combination of actual gas in the tank as well as a panoply of psychological factors.

> You can borrow your energy almost ad infinitum to the moment that
> you're going to experience burnout and heavy depression

Sama says something quite interesting here that indicates the psychological rather than the energy aspect of burn-out. He believes its impossible to burn-out if you are experiencing success. I think there is truth there, failure to progress and dis-satisfaction is a common feature in burnout cases. I suspect burnout is often a protection mechanism to get us to stop a behaviour rather than an actual state of energy depletion. Its a bit like the growing evidence for psychosomatic backpain occurring in response to psychological not physical factors.
Yes, that's why I said nearly zero.
You’re funny.