skysight-inc/HackerNews huggingface dataset:
I grew up in the Bay Area. Spent several years at a FAANG company. About 2/3 of the time, I lived with my parents. The remainder was with housemates. In my early 30s, I decided that I couldn't continue living with parents, while there wasn't any place in the BA that I cared to pay money to live in.

Now I live in NYC, same salary, but finally have my own place that's not shared with others. I live in a 30th floor studio apartment in Manhattan, take the subway to work, and pay less rent than my friends in the Bay Area who live in 1-bed apartments.
Would love to see these without the frame interpolation (which totally chokes on all the particulate matter).
Anyone with experience migrating a http service from nginx to Caddy or Træfik?

Did it work out well or did you end up having to revert back to nginx? If so, what was missing?

https://traefik.io/
https://caddyserver.com/
So a lot of these comments seem to be criticisms of potential vulnerabilities (which is par for hacker news really). I'm curious if there are better alternatives out there that aren't vulnerable to the same issues, like a single point of failure or attack?
I struggled with it for such a long time. About 6 months ago I realised I was dumping time, energy and sanity into someone else's platform. I made the decision to stop posting, then stop reading about other people's wonderful lives, then deleted my previous posts, and it's been positive overall. Cutting out negative people from my life made more of a difference overall, but the dopamine hit from swipes, likes and other such facile BS has gone. Sure, I have less interaction with people, but the quality has gone up.
Without a good public transportation (either through trains/busses or having the buildings close enough to jobs to walk bike [and counting on enough people to do that]) you're just jamming more people into an already congested system.
So the proposal is super confusing to me (but I hadn't seen match before). At first I thought it had something to do with regex.

Essentially it's a switch variant that is (a) confusingly named 'match' (bad) (b) returns a value (good?) (c) and is actually a kind of function (wha?), since it (d) supports recursion, but (e) doesn't require break (good), (f) looks like a bag of inline functions but isn't (bad).

How about provide a replacement for switch, with a name that isn't confusing that doesn't require break but otherwise has switch semantics, isn't recursive (we have a mechanism for that) and has the matching behavior suggested? Assuming we stick with 'match' it would look like:

foo = match(x) {
case {y: 1} : /* result if x.y === 1 */;
...
}

Seems far less confusing.
Ah, nice! I lived in Arlington and my commute to Cambridge was literally 2X faster on a bike than any other possible method. It's crazy to ZOOM down the bike lane at 15 mph while the cars are idling at 0mph waiting for the very slow traffic cycles to progress.
I've actually been using a fully hosted dev environment for about a year and a half now for my side projects and it works really well. I started by using Cloud9, then after I had some difficulties with the switch to AWS Cloud9, I spun up a $5/mo Digital Ocean droplet with my entire dev system on it. I use vim and tmux to replicate the classic IDE feel of paned windows. I keep a very minimal tmux config and vimrc so it's super-compatible across machines.

DO does cheap backups for me so in case I hose something I can quickly restore, my code is on GitHub so it can be pulled back down, and I can get to it from basically any machine I own with nothing installed locally. Just the ability to SSH is all I need. I've connected from a Chromebook and an iPad/iPhone variously to do small bug fixes and quick push to production while I was away. I can get away with a cheaper/older dev machine because my local specs don't matter. If my tests are going to run long... who cares? It's not running on my machine, so I can close the lid and walk away if I need to, and it will keep running.
Average FANG salary is $200k with roughly another $200k in equity each year spread out over 4 years. So that's roughly $400k per year in total comp. Conservatively 40% of that is going to taxes, so take home is closer to $240,000.

While $240,000 is a nice salary it's not even close to what you'd need to afford a house in SV. And that's just housing. All in all it feels like a bad deal.
How could redirecting traffic of a Bitcoin mining pool make an attacker money? The transaction to which the block rewards goes is part of the block hash and thus still under full control of the miner that has the matching private key.
I learned by working at a contract manufacturer who also does engineering design of small device electronics (as an embedded engineer). I also have a copy of The Art of Electronics but I can't say that I've looked at it much.
>No it's not. A very large percentage of medical care is planned, not urgent.

And for those procedures, a hybrid system should suffice. All Americans, should, at minimum, be able to get urgent, surprise medical issues addressed in a way that doesn't completely destroy them financially.

Of course, nothing is black and white. Issues that could have been treated in a planned way become urgent if they're left to fester. Obamacare started shifting the incentives to make preventative measures more palatable, and healthcare cost growth has come down as a result. ACA is a /conservative/ set of policies. Even still, it elicits extreme reactions from loud people on the fringes.
Sure, but how would they get to work if there were no buses? A fraction of them would drive, no? Buses are a net positive.
Channels are lifted from CSP, but PAR is obviously missing.
> They can't reliably be dictatorial like Apple can.

Why not?

If they never shipped an RCS client and made Allo part of the required Android install for Play Services compliance, who is going to stop them?

They choose not to be dictatorial.
It didn't make it out of its first committee.
But it’s hardly a market-based system with the third party payers. Consumers aren’t making informed decisions about what they buy, have little ability to comparison shop, and state-level regulations intentionally limit the number of providers in a market. With those attributes, the poor outcome of the “market” system is entirely predictable. We need to go in one direction or the other, but having the worst elements of centrally managed care and the worst elements of a market solution makes for rotten outcomes.
LOL, 90 minute 'super commutes'. Come to Los Angeles and try 2-3 hour super duper commute.
I'm wondering if you find it ironic that you feel attacked in a thread you started with an attack on me?
The Inhumanity of Politics
I doubt there will be enough users who feel the same way to make this a reason why theaters remain. The same argument has been made about sound quality, and overwhelmingly now the sound quality in streaming services has improved, but is no where near perfect.

4k streaming will be more of a norm, and that will likely be enough for most users.
Once there are unlimited remote jobs, the theory is they can live next door to the restaurant and construction site again. At least over the long term. In the meantime - that is playing out in smaller towns where remote employees are living.
Finding a way to just give needy people money, and then have them participate in the same system as everyone else, seems much simpler than trying to build 2 systems in 1. Granted there are plenty of problems in getting for-profit medicine to work for people with average income, but assuming you could wave a magic wand and solve those problems...
Right, I should have said "do not just ask here". If professional help is not available in your country, I am sorry, although I do not believe it's that bad in the UK. But as with any medical advice, one shouldn't just take it from the Internet.
NYC DOT – Bikes in Buildings
Careful... If I was making a lot of money via an algorithm; I'd want to keep it secret. Otherwise, once other people knew about my algorithm, they'd try to game the system.
Besides rent, are other things really 25% higher in the Bay Area? Taxes are a bit higher, but cars, computers are about the same, groceries can even be cheaper. A plane ticket to Tokyo is probably even cheaper than most places.
That's a bad comparison. Clubs like those, especially at a public college actually ARE protected by the 1st amendment. You can choose not to join, but cannot prevent them from meeting. The only thing the school can do is limit the non-student guests a club brings, and even that power is typically limited to in cases of security concerns, which can often be remedied if the club helps foot the costs for increased security (see: UW Milo visit where counter protestor was shot)

Twitter and Reddit and the like are public platforms that belong to a private entity. So it's private property and the people who own it can curate or be selective if they choose.

All that said, I'm no fan of "no-platforming", but it's not as prominent as you might think, at least on the public college level. I went to a college where random fire and brimstone preachers would stand in front of the library, bang on buckets and call women "whores" as they passed by. Nobody invited them, they just wanted an audience. And though I hated those guys, I understand their right to do that (with a permit) and to say whatever. Likewise, it was my right to laugh in his face, call him an asshole. Because he was being a jerk.
Looks like someone is on the side of censorship. Your argument boils down to the idea that you shouldn't be subjected to such a comment. Sounds like you're one of them ;p
Absolutely, agree. The code examples should be vanilla code, which could then be expanded to the preferences of any library/framework.
Even with a massive drop in rents, rents would still more than cover development costs. The limiting factor isn't the cost to construct high density housing units - it's the difficulty of getting permission to build high density housing units.
Exercise. You won't find a more potent combination of good chemicals and confidence boosters. It can be a form of focused meditation. Plus it will get you out of your room, help you get better sleep, make you want to eat better... the list goes on. Exercise is the foundation of physical and mental health.
As an aside: this is one of the running themes in "Little Golden America", a book that chronicles a coast-to-coast American road trip underdtaken by two Soviet humorists in the 30's. The title in Russian is "Single-Story America", in reference to the flatness and uniformity of the country between the few major cities. Really fascinating account, and much of it still rings true to this day.

(My review, if anyone is interested: https://www.goodreads.com/review/show/2114423486)
Might feel a bit counterintuitive, but allowing dense cores, at least all the people desiring urban, walkable, lifestyle would get to live near the core. And thus these people would not compete for the suburban homes so the suburban homes might stay a bit cheaper.

The denser the core, the more there is room for suburbia nearer the core, too.
I have a similar setup, but I also live 2 time zones from my employer. to make things easier, I work 6am-3pm. I often go run errands after work before traffic start getting bad, but sometimes, I end up caught in 'rush hour' traffic and I just feel sorry for all of them. (and I live in a small town of 150k people)
If people were actually leaving, then these problems would be getting better... not worse.

If you can live somewhere that public transit (by rail) is feasible, then its quite tolerable. Of course this is the US, where that's less common than it should be.
>I respectfully argue that until you can make Diesel as clean as H2 fuel cell, the push to eliminate diesel burning engines will go on.

What market are these competing in?
I think this captures the mismatch better than you intended.

My routine healthcare is not a big-ticket purchase and should not be the kind of thing I need to negotiate over. The total package between hospitals and insurers is, but my transaction is not.
I agree with the idea of a certification program. Even a full-on curriculum. At the end, you walk away with something approved by the industry in general as something of value. Something that indicates "This person knows how to, bare minimum, fizzbuzz" or regex fizzbuzz with your choice of wording.

I'm trying to get opinions from developers (myself being one) on what kinds of things that kind of program would have to include. I'd love to hear some ideas if you have any.
Therefore once someone has an office, it's practically impossible to get them to not have one any more, even if circumstances have significantly changed.

What sort of change are you imagining which means someone should stop having an office?
Instead lets do nothing? That is the tiresome argument.
The problem with working at the large company is that every manager will see open calendar as an invitation to put in some meetings.

For this reason I am booking in my calendar actual working time. Since I am based in Europe and work with people in both US and Asia, I do this smack in the middle of the day so that I can have meetings with APAC in the morning and with US at the end of my working day.

I frequently have managers asking me why my calendar is booked so much to which I respond, "why YOUR calendar is booked so much". This of course has to follow with suitable explanation which is more or less based on this essay which I read many years ago.
I make ~175k/year cash, and I'm able to put away about 60k/year in savings. If you add in the equity I'm receiving (currently illiquid, but company is one of the mega-corns), I'm able to save an additional 60-100k/year on top of savings from salary.

I live a decent life, 2 annual international trips, own a car, lease a ski house with friends in the winter, if you make over 120k, life in the bay area is quite nice.
Hmmm... we do that in our lab for "official" stuff, but I hadn't thought of doing it for literally all my personal notes. Seems time-consuming.

But you're right, there's an idea I can go write up right now.
Chrome, at least, is walking away from HPKP: https://groups.google.com/a/chromium.org/forum/#!msg/blink-d...
This Is Why You Shouldn't Interrupt a Programmer (2013)
It's probably more of a "know your audience" decision. Anyone who's used an ML-derived language will understand the motivation for pattern matching. But a large percentage of JS developers don't really have much background in non-mainstream languages or programming language theory, so they chose an example that's likely to resonate more with that group.
I don't recommend algorithmic trading. Interactive Brokers shows that less than half of their forex traders are profitable and it's very consistent: https://www.interactivebrokers.com/en/index.php?f=3731

If you end up doing it then do it with a very small amount of money and scale up SLOWLY. I don't think you will have fun in cryptocurrency markets either. They are ridiculously volatile and your bot will probably be doing nothing for a while as it waits for the price to come back.
If you break it through application of force, then replace it with electric, Diesel actually does pretty well.

Kidding aside: this is a vacuous press release regurgitated by a tabloid, and doesn’t deserve attention.
> Is it possible that we're missing something in this? And that there might be more to this than companies being unwilling to try remote workers?

If open-plan offices are any hint, it's that actual knowledge worker productivity (let alone well-being) is pretty low on the list of things managers look for.

> I know my own experiences with working remotely and having remote colleagues have upon occasion been other than an unalloyed positive.

Sure but the same can be said of office work.
How much people would pay for a Facebook subscription (Study of 18k users)
The benefits of remote work go disproportionately to workers, while the detriments seem to fall toward managers. Since it's managers deciding whether to hire remote or on-site, it's not that surprising that they act in their own interest and hire on-site, even if it's more expensive.
Voyage open sources its approach to autonomous vehicle safety
How do you think this would play out? My intuition is that the not-for-profits wouldn't even be close to sustainable (even with cost cutting). Are you anticipating a huge influx of funding for them or do you think they could cut costs that drastically?
Facebook Announces API Shutdowns and Changes to Protect User Data
What about a decentralized p2p github? Or ZeroNet type of github?

https://github.com/cjb/GitTorrent
You know that quip about C++ being an octopus made by nailing extra legs onto a dog?

Is the same phenomenon somehow tasteful when it comes to ECMAScript {({..., sy: nt => ax, ...}({,})} ?
This was why I never got that much value out of being in Silicon Valley beyond my day job. So much of the hot new startup activity was in SF. I lived and worked in the South Bay. While I'd have liked to attend some tech talks in SF, it was not practical for me to leave work early to get there on time, and then figure out how to get back.
The New Particle E-Series Now Available – Hackster’s Blog
There is an error in the html of the abstract.

The number of atoms in both oscillators is about 10^12 atoms, not 10 atoms and article reference [12].

>Here we report such an experimental demonstration, with the moving bodies being two massive micromechanical oscillators, each composed of about 10^12 atoms
par is "select" effectively. While that isn't 100% the case, it is true.
Really, the article should be titled “Intel CPU suffer performance hit with HPET bug”
Surely they've worked out (with far more information than we have) what they think is the optimum price on the supply-demand curve to maximize profits.
I actually used archive.org recently to get money back from a company. I had purchased my spouse a heart-monitoring watch band for her Apple Watch. (The Kardia one that can create an EKG.) At the time I purchased it, there was no wording on their website claiming that you needed a paid account to use the functionality. It was all written as being optional. So after 30 days went by and her device would no longer work for its main purpose, I wrote to the company. Turns out they've updated their web site, so I went to archive.org, made screenshots of what it looked like on the day of my purchase and told them, "you can either give me a full refund or I can do a chargeback." We got an immediate refund and sent the watchband back.
Building more housing decreases traffic as people move to shorten their commutes. Building offices without housing is what increases traffic, which is what most cities in the bay are currently doing.
Mention what? What facts may one omit that justify this ongoing atrocity? Perhaps you're just ignorant about it. In which case it only goes to show that it's an interesting, relevant fact people should be aware of.

Yes, I imagine my comment might excite strong feelings more so than others - because such an atrocity does. For good reasons.

The discussion has clearly settled on the moral aspects of YC doing business in China. Which seems okay with you - as long as you don't call out the actual atrocities.
>. I have also been seeing a general rise of articles mentioning how many people are leaving, how insane the commutes are becoming, and general unpleasantness of living there if you aren't in the top 10%.

But if you are in the top 10%, life is amazing here. It's an absolute paradise. Every single time I'm sitting in traffic hating my life, I try to do a pro/con on getting the hell out of here. Every single time I just can't justify it. The weather, the scenery, the ocean, the food, the people, the tech. There is literally nowhere else in the US even remotely on par. LA is pretty close, but the bay is much more "livable" IMO.

People may be leaving in droves, but it's only because they have to, not really because they want to.
Another example is Chris Sacca, who burned through $16 million - $12 million in paper gains, and $4 million in borrowed money. From [1]:

Starting with around $10-$20,000 in what were college loans, Sacca realized that brokers weren’t accounting for margin usage on a real-time basis. The result was that even though firms were only allowing 50% margin, as long as a customer closed a trade before the trade settled, T+3, and showed proper equity in the account, positions larger than 50% margin usage could be opened.

Picking winners of stocks that by Sacca’s account had risen 40x, and betting with positions well above his margin requirements, his account grew to $12 million in 18 months. But, as we all know, the record levels of the Nasdaq and the dot com bubble of that time eventually burst....When it did burst, and even though the damage was from holding just two stocks, Sacca found himself in the hole with a $4 million negative balance.

[1] https://www.financemagnates.com/forex/brokers/chris-saccathe...
Now factor in the fact that you spend 15 hours a week driving - not working, jogging, cooking, singing, or making friends. Factor in the gas and maintenance for your car and the medical costs to you for your sedentary time and to society for your exhaust.
Maybe it would make more sense for each state to come up with a plan for healthcare as each one would have different needs.
Interesting... I'll be in Bejing these dates, I may stop in!
Well sure, just like you could give them the wrong private key.

I always find these arguments against coercion attacks unconvincing. "Well, they can force you to give them information A, but for some reason not force you to give them information B." No, they'll put you in jail and force you to give them all the information needed to send check-ins, period.
Understanding yourself is something I've been advocating for a while. I've developed a platform where the goal was to ask yourself deep questions https://www.deepthoughtapp.com/

It has helped me have a more holistic view of myself through a wide range of question and topics, and especially from the answers my friends have shared.
Average rent in NYC - $3,375

Average rent in SF - $3,558

I don't know your situation but NYC is basically in the same boat (just with a better rail system).
I've recently watched Tim Ferris's pod-cast with Dr. Gabor Mate who is well known for his work with people who suffer from ADHD (including himself), Depression and various types of addiction: https://www.youtube.com/watch?v=H9B5mYfBPlY. It's rather a long interview (2h 23') that touches on many topics (Depression, ADHD, Ayahuasca), but IMO well worth time invested. Very insightful as to the ways one might take when it comes to improving his/her own wellbeing.

I had a rather milder form of depression few years ago (with symptoms such as low-self esteem, loss of motivation to work, eat, exercise and pretty much all standard symptoms except suicidal thoughts). One thing that helped a lot to break negative thought patters and to start pro-actively coping with my own issues was attending few Ayahuasca sessions. I'd recommend it only if you find really experienced, trustworthy, practitioner such as Dr. Gabor Mate and if you are healthy enough (health heart, you cannot use antidepressants and other, prescribed or not, psychoactive drugs and you should do specific diet few week prior to it). Some claim that it's worth 10 years of psychoanalysis. I don't not know how much truth is in that claim, but in my case it really gave me immediate relief, sense of a fresh start and valuable insights about why I'm the way I'm. Of course, a real work starts after it when it takes time and effort to integrate these insights into your everyday life (but I felt motivated to do so).