skysight-inc/HackerNews huggingface dataset:
> They don’t help with congestion

Definitely not the point of these. In larger cities, bus transit is for reducing congestion without massive infrastructure investment. In smaller cities, bus transit is purely for helping people who can't/don't drive get to where they need to be.

The problem is, there is not enough ridership in smaller cities for a bus to be frequent or cover a wide area. This solves that problem, but it only works since congestion isn't a problem.

As soon as there enough people to worry about congestion, bus transit is better.
> That's fine, just stay on the default settings then.

This isn't going to end well.
Code golfing!
leaving aside the fact that the speed limit is an upper bound on speed not mandatory… on my bike i’m more regularly held up by cars (often a single occupant) than i am by cyclists when driving my car. but overwhelmingly its cars holding up other cars.
Nobody checks your serotonin levels prior to prescribing an SSRI. The drugs do help some people but the reality is that nobody really understands how it all works.
Secret service director to step down and join maker of Snapchat
Ask HN: What is the feasibility of completely automating a pharmacy?
Given the reversal of Roe V Wade, we've seen a great deal of doctor-ordered drugs refused to be vended by pharmacists due to "religious reasons". A variety of these drugs treat symptoms like lupus, Crohn's, and others. They do share a side-effect, in that they can cause a spontaneous abortion.

Combined with that, are places like CVS that put out an order to all pharmacists to withhold these drugs. https://newrepublic.com/article/167087/roe-cvs-methotrexate-abortion-pills

So I'm asking this: what is the feasibility of automating a pharmacy, to make faster, cheaper, and less biased service for what your doctor orders? Have any YC companies approached this?

(Please note: this is a feasibility of automating pharmacies. I do not wish this to be yet another tired pro/anti abortion thread. We have enough of those online. And those never provide answers - only more angry people.)
You forgot the best part: the same people who think the former are responsible for the latter.
An old tire buyback program would be better for road safety.
So the solution is prescribing something that has a lot of unpleasant side-effects for a lot of people? Medication that if you don't take will have SEVERE withdrawal symptoms?
Nokia smartphone success was so underwhelming commercially (tech-wise they were a decade ahead) that most consider the smartphone era to only have begun with the iPhone (that came almost a decade later).

mp3, which is just an audio code format, became a commercial hit mainly through US hard- and software (referring to the iPod and iTunes).
It's funny how every Go project seems to statically compile in the same libraries. If just one of them has a serious vuln, we're talking nearly every Go project in the world having to be patched and recompiled, or upgraded with potentially breaking changes. And as we know from Log4j, that can be incredibly difficult. Just finding all the affected Go apps will be a nightmare, and patching will not be as simple as "replacing a jar in a zip file".
To write regex with relative ease does require mastering some basic fundamentals of Regex.

For example to have a regex that can remove // from inline comment of an INI-format text file.

(((\x27[ \!\"\#\$\%\&\(\)\*\+\-\.\/0-9\:\;\<\=\>\?@A-Z\[\\\]\^\_\`a-z\|\~]*\x27\s*)|(\"[ \!\#\$\%\&\x27\(\)\*\+\-\.\/0-9\:\;\<\=\>\?@A-Z\[\\\]\^\_\`a-z\|\~]*\"\s*)|(\/([ \!\$\%\&\(\)\*\+\-\.0-9\:\<\=\>\?@A-Z\[\]\^\_\`a-z\|\~]+[ \!\$\%\&\(\)\*\+\-\.0-9\:\<\=\>\?@A-Z\[\]\^\_\`a-z\|\~]*)|([ \!\$\%\&\(\)\*\+\-\.0-9\:\<\=\>\?@A-Z\[\]\^\_\`a-z\|\~]*))*)*)([;#]+)*.*$

That regex works very well and it’s breakdown can be better explained using various online Regex testers

Off-topically, I’ve got another next-level problem, and that is how to convert Regex for use within a bash shell script.

It’s nasty.

However, I have listed several online Regex testers so you can better understand the result of (my) Regex creation, one regex character at a time.

https://www.debuggex.com/

https://extendsclass.com/regex/4d49f33

https://www.freeformatter.com/regex-tester.html

https://regexr.com/6gv39

More online testers that I couldn’t get to work with are detailed in https://github.com/egberts/bash-ini-file/issues/1
OP’s method accomplishes one of two things: 1) total failure 2) enough cash to hire a team that does it right.
Not if players like epic games don’t support Apple Pay (with east cancellation). Don’t support the app stores rules and are only found in 3rd party apo stores..etc.

It’ll turn the iPhone into an android. Which sucks as I left android because I enjoyed the walled garden.
Remember bonzai buddy?
We're talking about Lisp in Python here. Python itself famously[1,2] refuses to have TCO.

1: http://neopythonic.blogspot.com/2009/04/tail-recursion-elimi...
2: http://neopythonic.blogspot.com/2009/04/final-words-on-tail-...
Happiness is the distance between reality and expectations. In a healthy society, you raise your expectations over time. In the US, blue collar workers are not seeing gains and in many cases are losing ground. That’s why people don’t want to work.
Given all the "Bees are highly intelligent" buzz lately, I have to wonder if this isn't some kind of IP theft.
>don't get any real time off

I think this cause is highly underrepresented. Many countries get at least a month of paid vacation a year don't they? In the US, it's a slog, year in and year out for most people. Even white collar workers who get 3-4 weeks off are often manipulated into not taking it.

I'd be a lot less burned out every year if I got to take an actual month off.
One of the outcomes of “Project Independence” was that oil fired plants were converted to coal.

Heavy oil is mostly imported, that initiative was focused on using domestic sources of energy. Coal always has outsized influence due to the US Senate.
>I should hope they can 'kinda easily' rent that.

Ask the Germans, where you basically have to wait for someone to die, so that an apartment comes on the market for renting.

Maybe it's better in France.
okay so move into an LBGTQ housing and let us know how it goes.
I think this is my problem. I play chess full games only once in awhile, but I play chess puzzles every day on chess.com, so I keep scrutinizing for a "correct" move.
> A Tesla model 3 is the same weight as a BMW 340

Sure, but its also 500-1200lbs heavier than a Civic depending on the trims of each which has very similar utility to an M3 and is much closer in TCO to a model 3 than a 340 or an X3 is.

We shouldn't be having our cake and eating it too by saying "electric cars are more expensive but the TCO so much lower than ICE that its worth it" and then make comparisons to ICE vehicles at the MSRP of the EV.
Under this model you should also account for the amount of damage done by the vehicle. Which scales with the fourth power of axle load, i.e. ~100% of the road damage is caused by large commercial vehicles, to the point that collecting it from passenger vehicles isn't even worth the collection infrastructure. It certainly isn't worth the privacy cost.
Regular expressions aren't difficult.

People think regular expressions are difficult because they're taught either not at all, or very badly. If you learn them deliberately, moving through the unfolding complexity of patterns, they're actually both beautiful and intuitive.

I think most programmers first come to regular expressions when they encounter a problem that can't be efficiently solved in any other way. The sort of problem that can only be solved by regex is also the sort of problem which is solved by complex regex. This means that the first introduction is to be thrown right in at the very, very deepest end. Regex becomes a confusing and arcane thing, and the programmer resolves to rarely use them.

However, it doesn't have to be like that. If you teach regex before they're 100% required - when they're used to solve problems that are biddable and have multiple possible solutions - you can start to get a feel for the syntax. That makes regex feel accessible, and soon you can start to work with even the complex ones.
I guess you've gotta ask yourself... cui Bono?
That's fine, just stay on the default settings then.

I agree in principle, but I worry that we end up in the situation where if you need to use a particular app, you can only get it from a third-party store that you don't trust. (Something gross like Facebook starting an app store.)

Or course, this is mostly a result of Apple being greedy. If they had acted like a good steward of the platform rather than trying to extract a lot of money from developers, we probably wouldn't be here.
Then wouldn't a VPS be good enough?
This article should be called "being on a sucky team sucks".

It sounds like OP just has experience with one bad on call. I've also been there. I even heard of teams with +100 high severity issues per week. But it doesn't need to be.

My current team has the best on call I've ever experienced. It's a mix of a lucky product and some discipline. It isn't rocket science really.

If a team is drowning in ops here are two easy techniques I've seen work well.

1. Whoever is on call, their job isn't only to answer pages, but also to improve the system. This solves the dichotomy of feature work vs ops fix. The ops fix is your job for that week.

2. Have team wide (even org wide!) fix-it days, where everyone works exclusively in operational issues.

Again, we didn't invent this. Look at Google's SRE books on reducing toil. You can adjust the ratios of feature vs ops work as needed.

And if you are in leadership, please acknowledge, celebrate and reward operational work. People tend to work in what they perceive as being valued.
For me it was The Jackson 5's ABC that would play as soon as I plugged my phone into my car. That opening "A buh-buh buh buh" is ingrained in my memory forever.
Learn about a few advanced features of JavaScript to make your own component framework.
> Why is banning them worth celebrating?

Hoplophobia: https://en.wiktionary.org/wiki/hoplophobia

Which is to say: it’s not worth celebrating, but someone afflicted with hoplophobia might think that it is.
You might want to hold on thanking the EU : are you aware of the accompanying proposal the Digital Services Act [0]?

[0]https://news.ycombinator.com/item?id=31132417
Yeah, I'm honestly shocked at how welcomed the concept of "the government is telling developers that they must make their product less secure and streamlined" is here... This will not bring the interoperability utopia many believe, unless you mean 8 different app updaters bogging down your phone because now there's "competition" and the DrainMyBattery Store only charges 15% fees so it's the only place you can get CoolApp.
What’s the carbon footprint of $100 bend subscription?

It would be neat if carbon footprint could be translated to some more humanized unit. Like trees or global warming degrees or idk.

Also, it seems like some products at companies would be more carbon friendly. Would be nice if you could categorize the spending within a bank line item. Naive example… I bought a $10 reusable cup from my local coffee shop so that every time I shop there I am not using a styrofoam cup so let me tweak how that impacts my carbon footprint. That way I can still get coffee and feel good about doing so in a conscientious way. I’m sure there are similar big company examples, too ¯\_(ツ)_/¯
Yes, that's the point. The Air is targeted at the people who don't need to do those things and would rather the laptop be smaller and lighter.

A MacBook Air with better thermal management is an entry level MacBook Pro.
This looks useful, I just ordered one.
The region wasn't down though. Only one zone was down?

From earlier in the incident history:

> Cloud SQL:

> Impact/Diagnosis: Non-HA instances backed by europe-west2-a are hard-down in europe-west2-a. HA instances that were in europe-west2-a when the incident started, are down with stuck failovers.
They said they implemented the query engine in tokio, a popular async runtime in Rust, but quiche is blocking AFAIK. I wonder how they integrated the two.
JavaScript AST manipulation with Babel: the first steps
Put a dependency check in your builds. Raise build errors when something is bad. Have it build on a regular basis (could be every month)... and then fix things.

https://owasp.org/www-project-dependency-check/

And some examples - https://jeremylong.github.io/DependencyCheck/dependency-chec...
That’s right. However these estimates are now being regularly exceeded. Going forward, it would probably be wiser to do what the mining industry does here in Australia - still design to a reasonable extreme temp, but also specify that the equipment must run at a much higher temperature at a derated capacity. Here that’s 50C ambient.
despite working on a financial product where a production fire could actually cost normal people money (worst case scenario) I don't mind being on call at all.

Why? Because I never get called. Because we wrote tests. Because we were effing careful. Because we have safeguards in place. Because IT has put hardware redundancies in place and because we have circuit breakers.

Being on call only sucks if you're being made responsible for crappy software that breaks regularly.

That's a problem if you aren't empowered to make it better. If your team isn't encouraged to care. Better... find a place that does care. Find a place where people hate the idea of being awoken at 4 AM and do everything in their power to make sure it can't happen to anyone.

The last time i got called it was because AWS went down, and we couldn't do crap about that.
there's a (so-so) movie - https://www.imdb.com/title/tt0338467/

when the show Billions did a poker game they used a famous Stu Ungar hand
https://somuchpoker.com/calling-with-ten-high-stu-ungar-vs-m...

(but OMG that game was so cringey for so many reasons, you don't get to call time and go talk to your therapist in the middle of a hand)
The airpods do one thing much better than anything else I've tried: work with an iPhone.

I went through a few other pairs of bluetooth "true wireless" ear buds and every single one of them would exhibit the normal bluetooth problems. Sometimes one wouldn't connect. Sometimes both wouldn't connect. Sometimes trying to resolve this I'd "forget" them and then not be able to pair them again necessitating pulling out the manual and figuring out how to do a hard reset on some ear buds. And then ending up with only one paired. Etc, etc.

I pretty much exclusively use in-ear headphones to listen to something to fall asleep to, so this is generally happening as I've already wound down and gotten into bed and... now it's tech support time!

I paired the airpods to my phone the first time and have never had them fail to connect immediately since.
thats a strangely abstract way of looking at it. i think of it as a way to capture some of the externalities of car use, the environmental, social and public health damage.
In Australia and I imagine the UK, infrastructure is paid for by the municipalities from their own budgets, a portion of which is granted to them from the federal government. Larger projects are usually taken on by the state. These budgets come out of general tax revenue, which is paid by everyone via GST and income tax. So cyclists absolutely pay, and in many many cases, they're paying to build infrastructure they don't even use. The unfair burden usually goes toward the cyclist, who's historically been shortchanged on infrastructure for cycling.

Registration goes toward running the registration apparatus, not into infrastructure. That's another misconception. The other contribution is from fuel sales taxes/excises, and that goes into general tax revenue as well, so is not explicitly set aside for road projects. Negating the potential income from fuel sales taxes, is all the fossil fuel subsidies, what once was 15bil income, after subsidies of 12bil, is now just 3billion in income from fuel taxes. So the money comes in from the consumer, and goes straight out to the fossil fuel industry through industry fuel tax credits. Absolutely bullshit, but it also means there's not much left of that fuel tax income to pay for infrastructure.

https://www.aph.gov.au/About_Parliament/Parliamentary_Depart....

Ultimately a cyclist will pay the same amount of tax, minus the fuel taxes, and get just a scrap of that tax spent back on cycling.
These guys have been doing it for a while now: https://vboxx.eu/mac-hosting
“ * User any browser and browser engine and choose to make it default”

This is huge and I cannot believe it has taken this long. Apple forcing everyone to use their own browser engine with all other ios “browsers” essentially just being skins for Safari was ridiculous.
OTOH, I've got a bunch of MacBooks from 2012, 2014 and 2015 that are still running fine. Just bought a "scratch & dent" 2018 iPad for < $200 and it's just fine.

If that's "planned obsolescence", I'm just happy to be downstream of it ;-)
You say the summary is in the link, but the first few things you mention are not in the summary, or called out at all in the article. I don’t think this is the “open up your App Store mechanism” regulation, as I believe there are two in flight right now
I respectfully disagree. I did exactly this for a number of years. A colleague (and is now friend since we've both left said company) made it clear he would not work overtime without compensation (and never did), but his day-to-day work was excellent. He knew he had a skill they required, and was good at it (and our skill sets were the same).

Our careers both grew at about the same pace for four years. He became known as the go-to guy for green-field projects, while I was the guy you could put onto over-budget tight-deadline projects to rescue them. I worked a lot of weekends for my troubles, and I always envied how he ended up on the "fun" projects. I learnt a lot from him. As a professional, some self respect is required, or you will be abused.
> Public transit that is not subway on rails suck big time.

Bus Rapid Transit called. It promised 95% of the raw speed and 4x the service frequency at 25% of the cost.
> Hybrids happened in locomotives and ships way before cars.

For locomotives: diesel locomotives were diesel-electric from the start, because conventional clutches were unable to cope with the requirements of getting a train to start. Diesel-hydraulic locomotives were a German post-war specialty, sadly the Wikipedia article doesn't say why [1].

[1] https://de.wikipedia.org/wiki/Diesellokomotive
this EXACT thing happens on my toyota but it's even more annoying because i'll be using my phone and we stop for gas and then when we turn the car back on U2 starts playing from my wife's phone
This is the case now, but it wasn't always.

In Texas, we used to have residential plans where you payed wholesale rates for electricity (e.g. Griddy). I used to be on one of these plans and would constantly fantasize about being able to accumulate HVAC capacity at night when you would sometimes be paid to consume electricity.
I like the Einstein approach to explaining this: imagine you have a cat, and the cat has a monoid in the category of endofunctors. Now a monad is exactly the same thing except there's no cat.
>Nonetheless, every company seems to have become obsessed with it.

You don't have to know much to have an opinion about it, therefore everybody does, and it's the most important thing in the world to them.

"Normalizing the database? Wha? I'm not technical, guys, I'm more customer focused. We really need that sidebar to scroll with the page, let's work on that."
https://en.m.wikipedia.org/wiki/List_of_countries_by_suicide...

Not really.
But why the hell is it autoplaying in the first place? Does apple really hate their customers/users so much that they can't make this an option?

That's completely insane. The more I learn about apple, the more I see extremely hostile UI decisions for literally no reason
> Without that data it's not productive to debate

It sure is convenient that it's "not productive" to debate one of the biggest and most obvious downsides to what you're advocating for.

Don't get me wrong, I loathe the people who have a 4Runner for a household with one kid but their stupidity might just be collateral damage of an otherwise decent overall system.
It is staggering how quickly the discourse in tech circles went from "What are we going to do with all of these humans when automation renders their jobs obsolete!??" to "Oh gee wiz! There is a shortage of lifeguards!"
They work fantastically, from what I have seen firsthand many many times.

There is a very good reason for it's use in up to 20% of the population in some groups in the US.

Just because we haven't pinpointed why doesn't matter a bit.
Unreal Engine mostly uses GC for game world objects. Only C++ classes that inherit from a special base class and opt-in are subject to GC. If they used GC for everything the performance would be much worse.
Here is a lisp implementation (mal) with TCO, written in Python:

- https://github.com/kanaka/mal/blob/master/impls/python/step5...

- Theory: https://github.com/kanaka/mal/blob/master/process/guide.md#s...
the top 100 players in the world is a small list, and at this level you don't need to worry about anyone below that (until they get higher) as you are enough better than them that you can beat them. Thus for tournaments you don't have worry as you have already studied everyone you need to worry about before the tournament. Odds are you know ahead of time who is in the tournament and so you have a couple weeks to study all possible opponents.

Remember for the best players in the world chess is their full time job. They spend 12 hours a day on the game. They are earning enough from tournaments to support life.
This year's candidates was pretty combative, I don't think they have a problem to solve more with that.
Every single company I joined that promised a stress-free environment has outright lied to me to the point that I will find it suspicions if HR mentions how happy and balanced the work is. It is a huge deal for me but HR will never be honest about it to me because if they did they wouldn't hire much and would be replaced by someone who says "Working here is a fun challenge where you will be tested for your vast knowledge, quick understanding of complicated subjects, reason about its working and explain it to superiors, quality and fast deliveries of working products, and will certainly grow like no where else!"

This reminds me of the author of "Man's Search for Meaning" who wrote a international master piece while on a concentration camp. Yes, growth is there to be had, but that is an experience I would rather avoid, thank you.
Yeah, it's really fucked up.

I just think that, given the status quo, the best approach to reducing all forms of gun violence is to just generally make life better for everyone, and that the resources spent on trying to wrench guns from the hands of the citizenry are much better spent on just about anything else.
It's probably not possible legally. I think state and federal laws and regulations require that a properly trained and licensed pharmacist be involved in some way in the handling of every prescription. From a legal perspective it would be like trying to fully automate a doctor's office.
Not that it matters for a fun project but there are much faster ways to check if something is an int/float instead of exceptions.
Oh please spare me this crap. This isn't true at all.

I knew this was bs before switching to iphone but I was optimistic.

Apple AirPlay is just pure trash, so I have to use chromecast. My Apple watch keeps bugging out and notifying me few minutes late and requires restart of both devices. The device keeps connecting to open networks while my remembered home network is available. The camera lens has issues with glare in the sun.

I got it because I plan on keeping the devices for 4-5 years, but the "it just works" is the worst kind of pro argument and has 0 information.