skysight-inc/HackerNews huggingface dataset:
I think the unprofitability is purely due to inefficiency. A lot of "gig economy" companies have taken the startup model of "don't worry about profit yet, just grow as fast as possible to get investor
s attention" and pushed it beyond reason. GrubHub has ~2700 employees [0], do you really need that many people to run a food delivery app that doesn't even employ delivery people? And then you get totally avoidable stupidity like pizza arbitrage [1]. There is no reason that most people on this site couldn't build an equivalent app for their city, and in fact people are doing just that [2].

[0] https://craft.co/grubhub

[1] https://news.ycombinator.com/item?id=23216852

[2] https://coopcycle.org/en/
I've also found that the more technical you are, the more they expect free work.

Thank you. This is a helpful thought for me.

I'm in a small town and I have better technical skills than most people around me and I'm not even charging that much, but I can't seem to get taken seriously. This is something to contemplate.
I don't see how the implications will be huge.

This is L1d cache which is just 48kB for Ice Lake. We are also talking about context switches which are not happening very frequently. Applications that are generating load don't context switch all the time because they are busy doing work.

Then, when you context switch it is likely the context to which you are switching would like to use that cache for something. By the time we switch to your original thread it is very likely L1d has already been filled with something else.

I am pretty sure you would not notice anything except for very special, rare situations.
I had to get a laptop fixed and Apple shipped me a box. 10 days later (and this was a few weeks ago during height of Covid lockdown in US) I got it back. I recommend looking into something like that.
I have to say I love the way you phrased this. pumpjack my demon nectar. Glorious feast. had me rolling.
I haven't lived there. What has been your experience?
The Fall of Mobile Apps
ucontext is cursed with the behavior of setting and restoring signal masks with each context switch, involving a kernel syscall. If there was a ucontext-lite standard API that did not mess with signal masks you could cheaply switch green threads in userspace.
> everything felt very "human"- like it was designed for comfort and ease

When I was in Helsinki, I could tell the entire place had been designed to take care of people. When we first arrived, we tried to buy train tickets, and were then told that families with strollers ride for free!

I didn't see any homeless people, and the one sort of "off-balance" person was clearly still getting food and health care.

The entire place just seemed like a place where everyone cares about everyone else's well being.
I really like those points. At the end of the day, the local government charges money (taxes) to provide services (police, fire, etc), and yeah, many of those are like local businesses. Local people pay to receive local services.

I guess I'm just wondering if they have to pay for those local services through income tax and not some other tax (e.g., property, road, sales) that would be more local.

Just seems to me that income tax is local when someone is physically performing work at the place of labor (e.g., factory, store) and confuses me when it's done more virtually. I guess I technically work on my computer in a location, so then yes, where I physically type could be the location of income.

I don't know. I also think health insurance being state-based and employer-based, and just imagine the level of complications that HR will have to deal with.
Ask HN: Is it possible to do idempotent microbenchmarks?
Given a program with a fixed input and output. Is it possible to do a microbenchmark in an idempotent unit related to the work performed to compute the output?

In other words, If you run the same program multiple times with the same input, the benchmark should always result in the same value.

For instance, this node.js program. I want to run it multiple times and have the same benchmark value.

// Brute force: O(n^2) | O(1)
function twoSum(nums, target) {
for (let i = 0; i < nums.length - 1; i++) { // O(n^2)
for (let j = i + 1; j < nums.length; j++) { // O(n)
if (nums[i] + nums[j] === target) {
return [i, j];
}
}
}
return [];
}

console.log(twoSum(Array(1e7).fill(2), 4));
It's amazing how much cool stuff there is in old papers.

I forget the details, but I once came up with a technique and was quite proud.

A few months later I stumbled across a paper written in 1986, the year of my birth, that described everything I'd thought of and a few things I hadn't.

Someone had my idea before I was born, and thought through the implications better than I did. Doesn't get much more humbling than that...
L1D isn't _that_ bad I think. Most cache usage modeling I've seen assumes that L1 is completely stale across context switches anyway. The separate address spaces for user and kernel were probably a way worse hit on platforms that don't have ASIDs.

L2 would be absolute crazy town though.
https://imgur.com/a/0Iu0w9C
I have a permanently compromised immune system. I default to preferring takeout over delivery where possible. I occasionally get delivery where that's just not practical for some reason, but it's the exception.

There's a pandemic on. If people are interested in my opinion about best practices for playing defensively in a germy world, there it is. And if they aren't, (shrug).
There is enormous business pressure to ignore everything you just said.

If upper management wants the team to work on a project that the team feels is a waste of time the only fix is to tell management to find another project for the team. And that doesn't go over well with management very often.
Facebook absolutely would increase pay.

https://twitter.com/sebmck/status/1264057310021685248
> He is surrounded by incompetent and bootlicker advisors.

A more accurate description would be “he surrounds himself with incompetent and bootlicker advisors.”

At the presidential level he appointed all of those people
I wrote this because I was so annoyed by irrelevant low-quality search results for my queries on Google. For instance if I'm looking up for Python xyz topic, 99% of the times I am not interested in some 'low-quality' content (based on my personal preferences) from website example.com.

The plugin maintains a persistent and customizable list of URLs (keywords) that are used as a 'blacklist' for stripping results.
But some many online payment companies had already tried and failed at "traditional" growth. PayPal crossed the chasm by essentially bad faith gamesmanship. Nothing illegal, mind you; but I would consider it highly unethical. Not to mention difficult to stop if you're EBay.
Drinking coffee doesn't mean you have lack of sleep. I drink 4-10 cups a day and still easily sleep 9 hours
At GitLab our rates are not based on COL but a market rate https://about.gitlab.com/handbook/total-rewards/compensation...

So as people are able to earn more in remote locations our rates will go up with them.

I think most companies will end up paying local rates https://about.gitlab.com/blog/2019/02/28/why-we-pay-local-ra... so as more companies start hiring remotely the rates will go up gradually. I don't think think that there will be many Foolabs that pay one rate.
This doesn't make any sense... if my city needs to raise money to pay for a new police station, who should pay for it? With geographic taxes, you can tax the people who live there and are going to benefit from the new station.

If we had no location based taxes, how would you raise the money? Would each city get an allowance from the world government (which would have to be the one collecting taxes, or else it would be 'geographically based')
This comment fascinating because it sounds like something that would come from someone who is a weak snowflake but your linked profile indicates you are a fan of the president who goes out of his way to project strength in everything he does.
Amsterdam. I got to go there last year, and it was amazing. I'm tall, and there I feel normal (and get talked to in Dutch occasionally, although I don't speak a word!). I also love how matter of fact they are, I'm the same way! Although I would probably want to visit a number of places or cycle like a snowbird.
I drink coffee/espressos each day, probably too much. Just recently after not having my usual Americanos I had a massive headache before bed. Advil did nothing so I figured it must be a caffeine withdrawal headache. They're hell and there's no way I can sleep with one so I made a shot of espresso and downed it quickly. Within 30 mins my headache went from a jackhammer pounding my skull to a distant woodpecker, and after another 30 mins I was asleep and slept fine. The big confounding factor with caffeine studies might be tolerance.
I don't consume energy drinks under normal circumstances. I save it for that once every 6-12 months when it's 11 PM and something critical needs to be done by SOB. With it I can get 4 hours of zone quite reliably. Then at 3 AM I crash, hard.
As odd as it might sound, child care and private schools line up with housing prices in an area, so it can be ideal to think of them as the same category. Likewise utility bills can be inflated to.

Other costs are not much higher if at all. If you go to a bar in the financial district, that's usually a business expense so it's justifiably expensive. It's this way in all cities or towns with a large enough center though, so pricing come out somewhat equal. It's when you compare city center prices with outskirts of city prices where the difference starts to matter more.
You just... go back to it. The model will look a lot like what most companies had pre-pandemic: there'll be videoconference links for all the important meetings so that remote employees can kinda attend, and less important meetings will just take place among only the people who are around.
Yeah, it'd be interesting to see what the last graph (Figure B4) looks like if you start with mostly evil molecules rather than a racemic mixture. Maybe the bias still flips it to all live molecules after some time, but maybe it takes so long that by then somebody's gotten good at replicating the evil molecules and they end up winning.
3. ..not exactly, but it's open, so you could use it if you are able to use it :-)

https://github.com/rockchip-linux/rk_tee_user/blob/develop-n...

https://github.com/OP-TEE

https://www.op-tee.org/

https://optee.readthedocs.io/en/latest/
So were the deadlines and incentives. Global thermonuclear war, anyone?
Nothing wrong with being left leaning. But he is a demagogue. A narcissist surrounded by yes men.
How the 'Plandemic' conspiracy theory took hold
If you think 'homeless people' are one of the bad things, then I think you're part of the problem, and would politely ask you to help come up with a solution.
I’ve had the same experience. Ubuntu 18.04 and up on a Dell Inspiron. 2hrs Max. Always warm, fans on all the time.

Installed TLP and now I get 5hrs or more depending on workload. Usually more.

Seriously, just have a check of what the system is and install TLP if it’s a laptop. It’s 2020.
I've been "remote" for the last 20 years or more. I've done the mobile thing in a van with my wife several times, longest stint was 9 months (including 6 months in the van in Europe). I've lived in London, Cambridge, Heidelberg, Philadelphia, Seattle, Berlin and spent extended stays in Rehovot and Kyiv. Last year, my wife and I sold our home in Philadelphia and set off in the van to check out a list of places were were considering around the US:

* Ithaca, NY
* Chatanooga, TN
* Bend, OR
* Willamette Valley, OR
* San Luis Obispo, CA
* Bellingham, WA
* Santa Fe, NM

Due to circumstances somewhat beyond our control, our first visit was to Sante Fe in February of 2019.

We've now lived in a small village 25 miles south of S.Fe for a year! The village itself is ridiculously packed with famous artists and writers (the guy that designed the Kindle, too, at least some of the time). It's beautiful, incredibly dry, endless sunshine, amazingly friendly people. It's also "Disneyland for the 65+ crowd", gets invaded by Miller Moths in May (ugh, this year was so bad), there are wasps and other pests constantly bugging the house, and there are not many roads for cycling. Lots of poverty in NM, and poor education.

Before the virus hit, our village was incredibly social ... now this aspect of life here has taken a backseat, and I'm not quite sure how it comes back.

Developing software and living here in general is pretty wonderful, but it's hard to know what the future holds. My wife misses water, and maybe (amazingly) even humidity. If I could afford somewhere in southern CA, I'd probably have picked that, but it's just absurd.
I love SF as well! I've traveled around the world and lived in multiple US cities that many people consider nice/cool/fun, but SF is still my favorite city. I was in Golden Gate Park today as well and it never gets old - so beautiful, and perfect weather. The streets in my neighborhood are clean, the neighbors are all intelligent, fascinating older people, young families, and just generally really cool people. Granted I never go to the Tenderloin, SoMa, or the Financial District -- if that's your primary view of the city then I understand the distaste, but overall SF is a fantastic city if you can afford it.
> Yes, this has been done ad nauseam. Do you know why no one uses it?

Yes.

> Reasoning about cooperative threads in C is impossible.

Well, sorta. The problem with these approaches is mostly that C runtimes expect you to use the native operating system thread construct, not your own handrolled thing. If you were writing a libc for your own operating system you could use something vaguely like these libraries.

Another obvious problem is the lack of utilization of multiple CPU cores. And once you try and mix the two (M:N threading), the system becomes difficult to understand (and often has worse performance than just 1:1 threading).

I wouldn't say it's because reasoning about them is impossible, but that in practice, they are extremely difficult to use.

> Reasoning about async C code is impossible.

No, that part isn't true.
This doesn't answer your specific question, but I use a mix of decaf and full according to time of day.

So through the day it goes: full (morning), low caff (mix) (afternoon), decaf (evening).

No need for it to be either/or.

fwiw
What's different here is presumably the scale the policy is being applied at, which creates the likelihood that significant groups of employees will be able to demonstrate disparate impact. For it to be a problem, there need to be enough remote employees in "favored" and "disfavored" {location,compensation} buckets to make a case. Gitlab is presumably not there yet.
Conservatives aren’t the ones decrying the evils of capitalism.
A strategy I've been thinking of for my startup (10-20 WAU currently ) is going through old HN discussions that are relevant to my product, finding people who I think would be interested in it based on their comments, and emailing them with a quote from their comment and an explanation of why I think they specifically would be interested. (and then ask them to try it out & give feedback).

I thought of this since I was reading a discussion last night that made me think "this is a perfect use case for what I'm building!", and I've had the same thought with a few other discussions in the past.

I'd be interested to hear if anyone else has tried something like this.
This is the relevant point from that article:

> In a disparate-impact claim, a plaintiff may establish liability, without proof of intentional discrimination, if an identified business practice has a disproportionate effect on certain groups of individuals and if the practice is not grounded in sound business considerations.

> The Court emphasized the plaintiff’s burden to establish a “robust” causal connection between the challenged practice and the alleged disparities. Further, a defendant’s justification is “not contrary to the disparate-impact requirement, unless … artificial, arbitrary, and unnecessary.”

Paying more for people physical located in Palo Alto can be justified by a “sound business consideration.” The company isn’t discriminating based on location, per se. It is simply bidding in a labor market. It just so happens that those bids need to be higher to recruit workers for a physical office in San Francisco than elsewhere.

With remote work, that “sound business consideration” disappears. You no longer care whether the person is physical located in San Francisco. So why should the company pay more for such workers? Justifying the policy as “necessary” and “not artificial” becomes more complicated than with in-person work.
I think much more highly of a two- or three-word .com than a one-word .{co,ai,io,...} These are clever but I wouldn't call them good.
Not sure how GP is sarcasm. People use the Wikipedia rules all the time to suppress newcomers and keep them, get them sanctioned, and keep them from becoming better editors.

The idea of Wikipedia is to allow anyone to write articles. But in practice a newcomer has to have a lot of grit to keep content on the site because of the social structures that effectively make certain topics off-limits to newcomers. I like Wikipedia a lot but I have better things to do with my life than go to ArbCom when someone is effectively claiming ownership of a page.
Thanks for the context. Unfortunate that this silent failure is present in 20.04 with no fix so far.
Yes the president is betting everything into oil, burning huge piles of cash on useless projects, scaring foreign investment, and stopping all investment into renewables. Among other countless stupid decisions.

With the combination of COVID and the current political situation, Mexico is going to plunge into the worst recession it has seen in modern history. I wouldn't be surprised if Mexico becomes the next Venezuela in a couple of years.
Nobody's making that assumption. It's a hypothesis.

All evidence we have is consistent with a "world being present before living beings inhabited it".

Therefore the hypothesis is not disproved, which is all science ultimately says about facts.
I'm going to stay right here in San Francisco, I was born in this city and I've gotten lucky enough to be able to afford to live here, so I'm in for the long haul.
What do you mean by "not happening very frequently?" The default timeslice is something on the order of 100ms, isn't it? And that's if the process doesn't yield. Clearing L1d every 100ms (at worst) seems pretty frequent to me.
Curious as well, dragonwriter clearly has deep understanding of US law.
I really like having different states and cities be able to make different decisions about the tax/service balance... some states and cities can have higher taxes and provide more services, while others can have low taxes with few services. People are then free to decide which type of system they prefer to live in.

I would hate to have to have only one single balance decided for everyone in the world.
It's Facebook. You already know they use hundreds of sources of information to track and categorise people. Zuckerberg and CNBC just mentioned two.

That said, I expect you can fool Facebook for a while with high probability. You might need to commit fraud and/or tax evasion to do so, so that raises the bar.
Why is it a surprise? The moment the employee is willing to hire remotely the employer is competing against people willing to make half or less, since they don’t care to live where you decide to live. Hilarious right? Same happens when minimum wage goes up. Imagine it goes up to a livable $40/hr. Now these high school kids are competing with people with college degrees for the same job.
Yeah everyone loves those things too, they just don't want to deal with the cost and quality of life from the homeless/drug problem. I walked up to beautiful Corona Heights today and saw all of the amazing views, but then I walked home past the ever-increasing numbers of tents popping up on the street to my overpriced apartment in the mission where I currently have to listen to one mentally disabled homeless person scream profanities at everyone around her. Sure you could move to a different neighborhood, but those problems are difficult to ignore.
Other than traveling? I would probably setup west of Fargo, ND. I like ND, so it fits. Far enough west to get the faster internet, but close enough that's its a short drive into town. Taxes are ok, Fargo has good health care options. If I'm working remotely then the worst winter days don't really matter, and I've started thinking about these barn or Quonset hut homes. I do like the really modern interior with a fool the people driving by exterior. With solar, wind, and probably a heat pump, you can really cut down the utility costs. Obviously, backup power is a must. Plus, its much cheaper to build than most other places.
I've been to a tech 'code and bitch' ('stitch and bitch'). The premise was really obvious because everyone knew not to bring a laptop.
The CA examples don't raise issues because CA doesn't have local income taxes. NYC does, so your NY examples don't work... Unless you are okay with paying NYC income taxes while not living it working in NYC.
Because companies cannot force people to live in cheap COL places so they can pay them less? If the best person for the job lives in SF then the best person for the job lives in SF.

Where is this assumption that equalizing pay across regions is a race to the top, and not to the bottom, coming from anyways?
So the employer punishes people that cannot afford to live close to the office? And on top of that, if they need to travel to conduct business, their pay is decreased? If I understand this right, it seems like a horrible idea, and I would not want to work at a place like that at all. If the company needs to hire talent that lives far away, why should they be punished?
I'm not an expert by any means, but I believe that at this point there is some evidence that online communities actually do exactly the opposite.

https://journals.sagepub.com/doi/full/10.1177/01925121176921...

https://techcrunch.com/2017/09/11/study-finds-reddits-contro...
The warm, sunny states with affordable housing and zero taxes will see an influx of educated, rich workers. States will need to cut taxes to keep up,”

Or maybe, just maybe, the zero tax states will need to raise taxes to support all the infrastructure costs that come with a growing population? High tax states aren’t high tax just because...
I've done this once, pretty high response rates compared to regular cold emails. Especially the ones who seem passionate/opinionated in their comment.
The latest on the web: Remix.run, Snowpack, RomeJS, and web-vitals
Less hard than you think.

I really just need a closet in SF with my own gear and off to the races.

It's a shame slavery doesn't exist any longer. I'd sell myself to a company owned by a shell company I control in a state where slavery is illegal and siphon all my income that way.
I've lived a long time in the SF Bay Area, and it would be my first choice given the ability to live anywhere. Very close second choice would be Seattle area.
> a large portion of the SWE crowd is willing to distribute their labor /for free/ in the form of FLOSS

FLOSS can scratch a personal itch, like gaming or other hobbies, while also providing something for the resume. (Assuming it's not embarrassingly bad.) Still, I'm reluctant to release my personal work that way. Now I do encourage my employers to do it for non-core functionality because it will make my future life easier, no matter where I work.
That's a good point, it might be more productive to focus on U2F type solutions since they protect against this attack and others, where this is only a bandaid with a convenience cost.
Because employers are required to pay payroll and income taxes based on where the employees are performing their work functions.

The fraud is on the employee but the tax issues fall on the employer.