Hacker Newsnew | past | comments | ask | show | jobs | submit | jordanbeiber's commentslogin

The argument is perhaps ”enshittification”, and that becoming reliant on a specific provider or even set of providers for ”important thing” will become problematic over time.


As go feels like a straight-jacket compared to many other popular languages, it’s probably very suitable for an LLM in general.

Thinking about it - was this not the idea of go from the start? Nothing fancy to keep non-rocket scientist away from foot-guns, and have everyone produce code that everyone else can understand.

Diving in to a go project you almost always know what to expect, which is a great thing for a business.


Same here, but Azure. About 90% saved, with a very similar stack.

It is a great big cloud play to make enterprises reliant on the competency in their weird service abstractions, which is slowly draining the quite simple ops story an enterprise usually needs.


Can you please elaborate how Azure is cheaper?


”Same here” meaning moving to Hetzner, but from Azure - could’ve made it less ambiguous!

Might throw together a post on it eventually:

https://news.ycombinator.com/context?id=43216847


I think the parent meant that they moved from Azure to Hetzner.


Cursor have a nice ”docs” feature for this, that have saved me from battles with constant version reversing actions from our dear LLM overlords.


We’ve gone full-on full-code.

Although we’re using temporal to schedule the workflows, we have a full-code typescript CI/CD setup.

We’ve been through them all starting with Jenkins ending with drone, until we realized that full-code makes it so much easier to maintain and share the work over the whole dev org.

No more yaml, code generating yaml, product quirk, groovy or DSLs!


Of all the paas providers Azure have the worst abstractions and services.

In general I think it’s sad that most buy in to consuming these ”weird” services and that there’s jobs to be had as cloud architects and specialists. It feeds bad design and loose threads as partners have to be kept relevant.

This is my take on the whole enterprise IT field though!

At my little shop of 30 so developers, we inherited an Azure mess, built abstractions for the services we need in a more ”industry standard” way in our dev tooling, and moved to Hetzner after a couple of years.

A developer here knows no different, basically - our tooling deals with our workflows and service abstractions, and these shouldn’t change just because new provider.

1/10-th of the monthly bill, and money partly spent on building the best DX one can imagine.

Great trade-off, IMO!

Only two cases come to mind for using big cloud:

- really small scale: mvp style

- massive global distribution with elasticity requirements.

Two outliers looking at the vast majority of companies out there.


Writing the code is NOT the problem with these enterprise project failures.

Usually decades of problem-solving have led to an absolute mess of blurry ownership and accountability.

This in turn leads to corner cutting and a road completely covered in Chesterton fences…

Tearing arbitrary fence down leads to consequences out of project scope, no one can answer questions, and no one can prioritize - this is a business problem, and no amount of fancy code (lo/hi/full/lo/left or right) will help.

If you run a bigger company and rely on IT and ERP flows, well, it’s a part of your core and you’d better treat it as such!


CRUD applications are not what most enterprises build though - they need interconnected flows of data & state-machines often supporting rather complex workflows and integration patterns.

Not realizing this is a mistake many enterprise IT shops make.

The boring crud-thingie that someone hacks together will sooner rather than later have to be integrated in a distributed system of state - this is where it gets hairy and most enterprises get stuck.


Just take the foot off the accelerator gradually.

The kia I drive still roll at a couple of km/h when accelerator is fully released and will not hit 0 unless you use a paddle by the steering wheel (or use the breaks).


But you rarely have to brake an EV though.

I’ve had two EV’s over the last 6 years, and I have to remember to occasionally hit the brakes to keep them from rusting.

One pedal driving is just money - saves power and is just much smoother over all than old school breaking. IMO.


I've never driven an EV. How do you approach stop signs and red lights other than braking? Is "engine braking" (regenerative braking?) strong enough to handle that big a fraction of slowing down in city traffic?


Based on my experience (electric motorbike), the regenerative breaks are super strong indeed. You can tweak their « force », but usually, the strongest level is the most comfortable - that you eventually keep all day long. It will cause you to full stop even on the steepest slopes.

Once you’re used to it, you dose your deceleration by focusing on how much you release the throttle.

And the only situations where you have to hit the breaks are the unexpected events - e.g., a car coming at the last moment and which you should give priority to.


An electric engine running in reverse is a battery charger, so yeah you run it in reverse and you slow down about as fast as you accelerate.

It doesn’t work completely like that obviously for reasons, but it does work like that for gentle accel/decel.


You just let off the accelerator. They have tuneable deceleration curves for the regenerative braking.

Think of it like playing a console game. When you hold the right trigger, your car goes faster. When you let off of it, it naturally slows down. Unless you opt in to harder difficulties, most racing games don’t make you brake much.

Driving an EV is just like that. You only really brake for an immediate stop.


I have a Prius hybrid. It has an indicator when the brake pads are used. It's easy to slow down and stop without using the brakes about 95% of the time


It depends. On new EVs (which formally designed as EV from scratch), motors and charger are usually powerful enough to exceed brakes.

On conversed, usual practice to limit torque of motor to be less than on ICE original, because of regulations (which exactly state, electric motor should not exceed ICE torque), and this mean, they are just not powerful enough for 100% regenerative braking.

From technical view, modern electric engine could easy exceed brakes.

I'm member of Ukrainian EV activists group, and we there mostly talk about conversions. Unfortunately, conversions are not so cool as new EVs, but to be honest I don't know details of other countries regulations, they could be less restrictive.


Some EVs also tie in the same detection devices used for adaptive cruise control to adjust regenerative braking. It can be configured to 'coast' in a manner similar to old-school automatic transmissions, but will apply regen braking when other vehicles are detected ahead. This lets me drive it sort of like a regular automatic when on the highway but get the added return of wattage when traffic gets heavier.

There's also one-pedal operation, akin to driving a golf cart. Where you feather the accelerator pedal to slow, and it will engage much more aggressive regen braking if you let off the accelerator pedal. Some folks like this. I do not. I still drive other ICE vehicles and find the transition between them too jarring for my liking.


In city traffic, I rarely have to break. It's basically running the motor backwards (putting a load on it) and dumping the energy back into the batteries. It's limited by how fast the batteries can accept a change, so it doesn't always work when it's very cold out. I'll have to brake when a light catches me by surprise, and I brake when backing down my steep driveway. (The car does stop before getting into the street, but it's going faster than I'm comfortable with when approaching the sidewalk.)

The regenerative breaking is applied as you let off the "gas" pedal. It's kind of like driving a stick, but slows you down faster.


It’s also limited by the size/power of the EV’s motors. A dual-motor, AWD EV can stop more aggressively using regen than single-motor variants.


From what I know, there are several settings of regenerative braking you can choose. The higher levels will bring the vehicle to a stop, while the lower ones won't. So it's user-configurable to a degree.


Recently had to learn how to force a Prius to use the brakes, as the rotors were rusting up & starting to pit!

I could not get my partner to brake hard enough to really engage the brakes. They just would not do it, would not brake hard enough to actually use the real brakes, no matter the prompting & even knowing how critical it was that we start to de-rust these rotors.

What I found out is: if you put the car in neutral, there won't be regenerative braking, & the car will use the actual brakes. That's the only way I could get my partner to use the actual brakes.


I would have expected cars that have both conventional and regenerative brakes to keep track of how often the conventional brakes are being used and to automatically increase the use of the conventional brakes if they aren't being used enough to keep them in good shape.

Are there any that work that way?


The polestar 2 does the simpler thing of biasing towards mechanical brakes for a little while at the start of every trip. (I suspect this has the advantage of detecting brake failure in more controlled circumstances as well, but that's not specifically documented.)


I'm sometimes convinced Tesla's cameras identifies the stop line and stops itself exactly there. All I do is release the throttle pedal and it coasts there where it needs to be.


The engine can slow down the vehicle at roughly the same rate it can accelerate it. And if you have an EV that has a 3 second 0-60...


Generally, yes. Usually there are settings for how much regen you want, but the term 1 pedal usually inies a regenerative brake strong enough to stop at stop signs or when exiting freeways.


"1 pedal" just refers to vehicles that perform a high degree of regen when the throttle is lifted. Other designs that require the user to press the brake pedal are not necessarily engaging the brake pads when you do so, many of them are also slowing the vehicle with regen when you press the brake pedal.

When you press the brakes on an EVs or hybrid, they typically use regenerative braking up to the limits of the motor and charging system, and only apply the brake pads after those technical limits are met. There are many "two pedal" vehicles that can come to a complete stop, or close to it, with regen.


It's a timing skill you rapidly develop. Switching models throws off your timing, so don't be surprised when you initially use the brakes more.


Crusing is much more efficient than one pedal driving. So it does not save power at all.


The control scheme has nothing to do with the efficiency of the car. Whether one pedal or two, it’s going to use the same power for the same acceleration/cruise/deceleration profile.

Unless you’re concerned about the energy usage in your ankle when maintaining pressure on the gas with your foot?


It has to do with that your feet or legs are not super accurate machines that can keep the pedal at 0 regen and 0 acceleration for long enough time.


Controlling the car’s speed is the driver’s primary job. One pedal or two you need to use your right foot to maintain the speed you want.

Coasting with no acceleration or deceleration except that provided by rolling resistance and the road gradient is so unlikely to be the exact acceleration you actually want - there’s no particular value in privileging ‘zero motor power’ as needing to be an easy state to achieve.


There is a decent sized gap between 0 acceleration and 0 regen equal to the amount of energy required for the vehicle to maintain speed against rolling resistance and air resistance. Anywhere inside that gap, you're not using regenerative braking at all, you're just decelerating from not supplying enough power to maintain speed.


That is not the type of cruising this is referring to. It is the wrong name, to be fair. It really is just letting the car roll.


"Just letting the car roll" results in deceleration, but at a rate chosen by physics rather than you. If deceleration is not what you want, you have to continuously apply power. If it is what you want, it's still almost never going to be at the rate you want, so you still either have to apply some power or apply some braking. In the former case, you're pressing down on the pedal enough that no regenerative braking is happening. In the latter case, regenerative braking is obviously more efficient than friction braking, because the latter has 100% losses to heat.


If you’re lifting off the throttle enough to activate regen braking, you would be applying the friction brakes in a car as well. Maintaining a steady speed is more efficient than varying speed, but if you have to vary speed then one pedal driving is superior in every way.

If your one pedal driving doesn’t save power, then I would suggest a driver mod.


You don’t have to use one pedal driving to use regenerative braking in most EVs. They use regenerative braking to effect control inputs on the brake pedal too.


Yes of course. These are very theoretical discussions anyways. In reality one pedal driving is quite awesome.


Are there any cars that "cruise" (by which I assume you mean maintain velocity without applying a pedal)? Non-EVs mostly sort of do so, they still slow down gradually. I'd be interested in trying a car that cruises indefinitely. Sort of an automatic, always on cruise control.


Well cursing in an EV is the equivalent of putting an ICE car in neutral. Modern ICE do that as well. To answer your question it still slows down due to wind resistance and friction.


If you put a modern ICE car in neutral while moving, you’ll use as much gas as you would while sitting in a parking lot idling. However if you just coast in gear with the engine braking slowing you down, a modern car will turn off the fuel to the engine, so zero gas is used.


Then you trade greater pumping losses (reducing kinetic energy of the car) in exchange for lesser potential energy (gasoline) usage. It's not a free lunch.


Yes, but driving a vehicle is not a steady state problem. When a driver lifts the throttle, the next action is typically an intentional demand for a loss of potential energy (i.e. the driver is moving their foot to the brake)


On mine it's a driver preference setting - there are a couple of settings like that which I set to "make the drive more ICE-like because I still drive ICE cars occasionally and don't want to be betrayed by developing EV-specific habits" (even though EV "style" driving features, like 1-pedal, are generally more comfortable/relaxing.)


Are you talking about basic cruise control that's been around since forever?

In the 90s I drove a Dodge Spirit from Florida to NY using cruise most of the way - the cruise adjustment was incredibly responsive.


IIRC 10% more effective to be precise. The UX is worth the cost.


I agree. It’s similar to the discussion of saving emergency by not using AC. No thanks.


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

Search: