From an 11th gen I get about 6 to 7 with light usage, two to three with any development. It's largely a thin client at this point. Battery health is at 92%.
I tried upgrading to the ryzen and when it was good it was really good. I was able to keep a user mode libvirt vm running for dev work and mid brightness under 5W power draw. That used slirp networking, adding a bridge or default nat nic takes up about 2w to 3w of it's own power.
But like most windows laptops the suspend mucked things up. Not even power draw while asleep, but when awaking from sleep the power minimum was 10w with it more often at 20w with similar usage. I tried several wifi cards, nvme drives, port configurations etc. Also tried Fedora, Ubuntu and Nixos.
On Linux this carries over to the discussion of tlp vs power profile daemon, and soon tund. I saw much better performance and regularity with tlp, but that seems like it's not the path forward.
The steam deck shows that suspend can be fixed and done well with decent battery life under linux.
Updated parent comment with links.
The back 2 are USB 4 while the front are usb 3.2 is one thing.
Last I read, the USB a cards don't fully enter suspend in the os. I have an 11th gen and I pop out my USB a to save battery when I don't need it. The hdmi also used to have that problem but that's since been fixed.
I recently did a deep dive on gc issues at work, and compared eden the default collector and z.
Our app was collecting pretty heavily, and an average collection time of about 50ms. With Z, and Linux huge pages it was collecting sub millisecond. This was at the cost of a bit more cpu, as z uses more threads for collection.
Using gatling for performance testing, we saw a small increase in requests per second. But the benefit was a smoother response time, with less spikes to high p9X measures.
Using flight recorder with this is a great way to get details of how the gc is performing.
Addendum: As noted below zgc uses more memory, I only found it viable on 16GB heaps or above. With it really improving performance around 32GB.
I medically can't drive, and my other half doesn't want to drive. I see this as well, a number of my circle also want walkable/transit areas. In the states it's NYC, Philly, Boston, Chicago, San Fran, Seattle and a bit more. I feel like I need to leave just to get a sane metro area.
I'm in NYC now, but keep circling back to Philly. We're renting for ~3200 now a one bedroom 650sqft in NYC, both work from home. To get the ideal separation we want, not have our joint offices in the living room, we would need to go to between $5,500 and $6,500. While in Philly we could get a trinity, small town house three floors plus basement, about 900sqft, in downtown for ~2200.
I wouldn't buy in Philly, I just don't trust the city planning at this point. They're trying, but it's an uphill battle. The tax situation as a self-employed was much more complex in Philly. Safety is not something to just shy away. I lived in Old City, two years back, and there were still shootings near my apartment. It's a problem in a lot of cities as we gut social spending and relief programs. Philly did open a safe injection site, and is making head way.
I really like Philly, close to NYC Megabus was 15$ a seat, and about 3 hours. Amtrak is even quicker. Great music and food scene, Reading is great for food / produce.
The biggest issue I've found is the job market. Locally, a lot shifted out to office parks, requiring regional rail, and walking along multi-lane roads. If you're working remote, I got cost of living adjusted like crazy. The quotes I got were 80% pay cut over my NYC rate. While local jobs, were only a 10% cut. The local tech scene is a bit behind, more legacy.
Comcast has a great VC program as well for startups. The city also has tax programs to help get startups in the area.
The weakest link in this setup is your current internet. I've found while traveling, internet is generally pretty bad under, 10Mbs. Making this a rather difficult task. American view.
At home, my "laptop" is a dumb terminal that docks to my desk monitors. But computes to servers in the closet.
At my families who have (150:down/10:up)Mbs it was no different from being at home. I connected over wire guard. I even took my zoom/client calls in vms over rdp. Passing my webcam from my local laptop -> wire guard -> server. I also used parsed to stream gaming from home.
Conversely, I was at an Airbnb recently with (5/0.512)Mbs DSL. It was a real chore. For the internet black hole, I've opted to go for a SFFpc instead. That can fit into checked baggage or carry on. Even if I can't setup a monitor and keyboard at the airbnb hotel. Having both off in lodging wifi is suitable enough.
Outside of html docs, it's purpose is similar to swagger
* Auto generate mock / containers for testing
* Generate server interfaces
* Generate models that go across the wire
* Remove boiler plate to spin up an async client, sqs, kafka etc.
That being said most of the generators are from the node sides and left a bit to be desired. I also see it falling into the same issue as open api. Most places I've been dynamically generate the open api spec.
I had written a JVM async/open api gradle plugin. That generated all the above. The nice thing was that if your server didn't implement the agreed upon spec it would fail to compile. Allowing for asynchronous development, back end/mobile/front end agree on the spec and can work on the feature at the same time.
This can also be expanded into k6/gatling. Hit this endpoint, guarantee this sla and ensure everything functions as expected. By having the contract first, you can automate a majority of the down stream tasks.
I think it has a use for contract first development, and is good in conjunction with something like avro. But it serves best in a contract first flow. Where in you define a spec, if it compiles you match the spec. Most servers don't take in a spec and define routes off operation names.
Why not dynamic async api generation? A lot of the generators reflect at run time, slowing down startup, and don't provide the most human readable definitions. Also lagging behind the latest implementation, and miss potential new features.
Been using Kotlin for ten'ish years. I feel the same, although I'm not part of the Java camp, coming more functional i.e. Scala.
I was working on a number of open source libraries for a more functional reactive Kotlin, but have largely stopped.
They really painted them selves into a corner by doubling down on Spring, Micronaut etc. There is little benefit to those and Kotlin. From the back-end side, it's Java light, and Java has largely caught up.
If they kept to Ktor, Quarkus, vertx that could compete a bit with the Node/lighter crowd. Or people who limit class usage and focus on a more functional style. But that leads into that target audience...
Is not as apt to use Jetbrains projects, ancedotal observation. When I started Jetbrains was heavily used for python, ruby, etc. I converted several teams to Kotlin pre 1.0. But now with VS Code being the primary IDE/Editor, it's a much harder pitch.
The multi platform stuff feels half baked out side of UI. Having done several run time agnostic services, I hit so many road bumps. Jetpack compose is really cool though.
Where to go? This is an honest question. I just got done a project where we tried to go to Rust, and reverted due to wider difficulty with the borrower system across teams.
On another contract I spent several days tracking down node module resolution issues, and incompatibilities between peer dependencies. The script portion of package.json feels lacking compared to gradle and dependent task trees. NRWL/nx and Microsoft/Rush help a bit here.
I still feel Kotlin is a really good language, with graal if treated as Node with a better build system. But I rarely see that, mostly it's akin to J2EE or mobile.
Side question, is there a better remote desktop/spice client than Microsoft Remote Desktop via the app store? I've found it's performance lagging compared to MS RDP client, or Remmina on Linux?
But how many places do you feel challenged at? I've been unchallenged in my work for the majority of my career. The only time I remember mental challenge was in my first year. Now the challenge is unrealistic deadlines, or oh we've been outsourced again.
Finding a job that is challenging and mentally stimulating is very difficult. I know a number of people who echo this sentiment.
I tried upgrading to the ryzen and when it was good it was really good. I was able to keep a user mode libvirt vm running for dev work and mid brightness under 5W power draw. That used slirp networking, adding a bridge or default nat nic takes up about 2w to 3w of it's own power.
But like most windows laptops the suspend mucked things up. Not even power draw while asleep, but when awaking from sleep the power minimum was 10w with it more often at 20w with similar usage. I tried several wifi cards, nvme drives, port configurations etc. Also tried Fedora, Ubuntu and Nixos.
On Linux this carries over to the discussion of tlp vs power profile daemon, and soon tund. I saw much better performance and regularity with tlp, but that seems like it's not the path forward.
The steam deck shows that suspend can be fixed and done well with decent battery life under linux.