Hacker News new | past | comments | ask | show | jobs | submit | theli0nheart's comments login

I recently (i.e., yesterday) migrated my 15+ year old bash config to zsh. zsh has some great quality of life improvements compared to bash and is basically 1-1 compatible. I had to spend about an hour migrating my prompt, but other than that it was a smooth transition.

zsh is now the default shell in macOS, so I'd say it's a safe bet if that's what you work with.


I switched a few years ago and while there's a lot to like about (and power in) zsh, there's a lot i really dislike about it. For starters, it adds so much additional functionality and compatibility that the documentation (man pages are terrible). Also, the additional history & variable expansion capabilities are messy/ugly in shell syntax (imho). I think ultimately the problem is that, for shell scripting, bash has clearly won, but other shells show that there's room for an alternative specifically for a user's interactive interface...but zsh didn't get the memo so is trying to be all things to all people. One of these days, i'll probably swing over to fish...if I can get the energy to change my environment yet again.


"basically 1-1 compatible"

careful, there are footguns in those words. It may seem like it's 1-1, but it's not. There are subtle differences especially in escapes. Bash uses \ escapes. Zsh uses % escapes. Zsh has builtin wildcard expansion. There are other differences as well but you can use the emulate command to emulate bash so it actually is 1-1.

Also, once you've made the switch to zsh - checkout oh-my-zsh (https://ohmyz.sh/)


it's pretty funny that Zsh only came out one year after Bash... in 1990



Its not showing any proof of things happened of that nature.

We know now that a lot of the 1100+ that died in the oct7 attack were IDF. That the IDF shot at festival goes indiscriminately from attack helicopters. That the 40 babies story was a lie.

So how many civilliants died on oct7 at the hands of Hamas?

Also, how is hostage taking different is Hamas does it? Because a lot of the palestinian prisoners exchanged where (a) not subjected to trial, and (b) children. Hamas takes prisoners = hostages; Israel takes prisoners = security measures (of what ever euphemism you like).


Despite your response, I'm going to engage with you and assume positive intent.

Let's perhaps first back up; what would actually convince you that atrocities and crimes against humanity occurred on October 7th?


I know atrocities happened, at the hands of Hamas, on oct7. I've seen plenty proof. The IDF's response was a reason a lot more civs died on that day than otherwise would have been (I believe).

I want proof of the 40 babies story, or it simply did not happen. Israel govt released data showing only 1 infant died (possible "collateral" as well).

I have no trust in these blown up stories that seem to have no proof, and quickly blow over. Remember the "killing babies from incubators" lie that was told by the Kuweiti ambassador's daughter back when Iraq invaded Kuweit? It was proven to be a lie.

Your links do not show clear proof of your claims. So, politely, please back it up, or stop spreading lies.


I was in the audience and was a heavy Python user at the time.

As another commenter mentioned, this was during a round of several lightning talks. These talks generally can be about pretty much anything. I don't remember the others, but I definitely remembered this one.

At the time, dotCloud had oriented itself as a PaaS that also had first-class support for Python (Heroku was still very Ruby/Rails-focused), so it makes sense that they'd want to show off what they were building at a conference with Python developers.


Wow - really cool you had the chance to see this in person. I didn't know that about dotCloud's positioning...especially given the relative differentiation compared to Heroku in those days.

Also, I didn't know about the lightning talks, both of those together make a ton of sense - thanks for sharing your personal perspective on this big moment in history


I began a complete clone about a year ago, but paused work when I decided to start a startup :)

It was mainly just a technical exercise, but comments like yours make me think that people would actually use it.


Yeah but...those machines are huge and weigh a lot. Pound for pound, Apple gear is worth much more.


Don't they remotely lock stolen phones so they're largely useless?


The thief only needs to find a buyer who doesn't know this.


There's been a few writers where stolen phones have been tracked back to China where they are stripped into parts, with those parts then being sold on the grey market.

Most of the parts are not locked to the device, with a few exceptions.


> Pound for pound, Apple gear is worth much more.

Once upon a time I looked at my iPod and wondered how much space it would take if I spent an entire year's pay on iPods.

I worked it out and it was kind of depressing to realize that a year of my work would only buy about 1/3 ft^3 of iPods which would weigh under 50 pounds (9000 cm^3 and 23 kg).


If they have the capability to tunnel underground and remove hundreds of pounds of dirt then surely they have the capability to transport an 80lb machine


They didn't do that. They just carved out some drywall between stores. You could do it in a couple minutes with $100 worth of tools (or a sledgehammer, if you wanna go low-tech). Pic: https://twitter.com/coffeemikeatkin/status/16432639396425236...


Those two stores are right in the middle of a long, open pathway. It’s a decent distance to the parking lot. Dragging huge espresso machines would certainly get someone’s attention. There’s truck patrols and foot patrol regularly walk along that pathway.


Came here to write this. That Julius Caesar burned the library seems to be a common misconception.


> Legally yes, a woman has to cover her upper body while men do not.

In the U.S., female toplessness is illegal in only two states (Tennessee and Missouri). In the rest, legal status is either unclear or it's expressly legal.

So as a general statement, this is clearly untrue—it's not illegal everywhere.

Source: https://en.wikipedia.org/wiki/Topfreedom_in_the_United_State...


No, the bank is actually insolvent.

> On March 8, 2023, the Bank announced a loss of approximately $1.8 billion from a sale of investments (U.S. treasuries and mortgage-backed securities). On March 8, 2023, the Bank's holding company announced it was conducting a capital raise. Despite the bank being in sound financial condition prior to March 9, 2023, investors and depositors reacted by initiating withdrawals of $42 billion in deposits from the Bank on March 9, 2023, causing a run on the Bank. As of the close of business on March 9, the bank had a negative cash balance of approximately $958 million. Despite attempts from the Bank, with the assistance of regulators, to transfer collateral from various sources, the Bank did not meet its cash letter with the Federal Reserve. The precipitous deposit withdrawal has caused the Bank to be incapable of paying its obligations as they come due, and the bank is now insolvent.

Source: https://dfpi.ca.gov/wp-content/uploads/sites/337/2023/03/DFP...


> Early investors often have a ROFR (Right of first refusal) in their share agreement, in which case they will have the right to buy shares proportional to the amount of dilution they would otherwise suffer (so they can maintain their % stake in future funding rounds) but I've never heard of an employee having that right.

FWIW, what you described isn't right of first refusal. ROFR specifically refers to the right of an existing investor to buy shares when another investor wants to sell to a third party. E.g., let's say A has a right of first refusal, and B wants to sell at $20 / share to C. With ROFR, B must offer $20 / share offer to A first.

The right to buy shares proportional to existing ownership percentage is called a pro rata right. If a round of funding would dilute your 1%, you have the right to buy in at the pricing of that round to keep your percentage ownership constant.


> For electric cars, no-one needs 48A (11.5kw) charging (unless you bought a hummer EV and then you’re an idiot). The city can start denying permits for charging at more than 24-32A unless you have enough battery storage to cover it up.

You're wrong about this. We frequently take day trips that are about an hour each way from home, and without the L2 we would get dangerously low after another day of commuter driving. As a co-poster noted, standard chargers will take days to recharge. Ours does about 6 miles of charge / hour, whereas the L2 does about 30 miles of charge / hour.


Which is why the OP includes 32A=7.7kw charging, which is what Tesla's get. OP is only really against insane installations where you charge at 48A=11.5kw, that's the capacity of 1.5 Teslas, and is only really necessary when you're running a horribly inefficient Hummer EV (200 kwh battery getting 350 miles EPA range means it's operating about 600 wh/mile or 1.6 miles per kwh, twice the energy usage of a Model X).


One option is to have charging speed limits based on state-of-charge.

Maybe charging after your daily driving only charges at 3 kW, but charging after a road trip does the full 11.5 kW.

But yeah, I've certainly come home from a road trip with 10% battery, plugged into my 11 kW home charger, and had it say it would take 5 hours to recharge to my 70% limit. If I was only charging at 2 kW, an overnight charge wouldn't get me very far the next day.


But how often do you need to go far the next day? If you come home with 10% charge (30 miles), and then plug in for 10 hours and add another 40 miles, is that not enough for work and errands the next day?

I don't know about you, but I mostly do long trips on the weekend. As long as I have enough to get to work Monday morning and am full by the weekend, that's almost always good enough for me.


The average commute distance is 41 miles, 10 hours of slow charge is a net loss.


"Frequency" matters significantly here, while charging at home is an extreme convenience, you might expect to stop at a charging station if you fall out of bounds, like with a 250 mile trip 1 day and a 100 mile commute the next day (each without a charging stop connected with any bio breaks)

It's definitely something Tesla has solved for to achieve their cross nation road trip planning with 0 home charging.


What kind of vehicle & miles do you have where 24A charging isn't enough?


A 7.2kw level 2 charger using 32A is pretty standard, 24A would be slower than I'd want for daily use, and I own an older Leaf. Even at 32A, it's slow when you need to charge quick for any reason (top off for afternoon errands, etc).


I have a 320 mile range, so I never need to top off for afternoon errands.

Naively you'd think that cars with a larger battery would be more likely to need a level 2 charger since it takes so much longer to charge a large battery on L1 than it does a small battery. But in fact it's often the opposite -- a big battery means you only need enough charger to handle an average day rather than a peak day.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: