HNHacker News
TopNewBestAskShowJobs

vegardx

1,574 karma · joined June 27, 2011

submissionscomments
vegardx··on Which Electric Cars Have Bidirectional Charging (V2L, V2G, V2H)
I don't really think consumers want or need this.

The battery chemistry used in most EV batteries are not really optimized for a lot of cycles, and they're somewhat expensive to replace, so you're much better off just buying batteries that are made for the purpose. You also have fairly limited inverter capacity in most EVs, as the inverter installed is scaled to run the cars AC and infotainment system, which doesn't really need that much.

You also have to deal with either having beefy automatic/manual transfer switch or separate isolated circuits to prevent back feeding the grid electricity in an outage or during maintenance.

There's a lot of people repurposing used Nissan Leaf-batteries for what you're describing.

vegardx··on My VM is lighter (and safer) than your container (2017)
I'm struggling a little bit to grasp all the concepts when we start talking about unikernels, wasm and so on. Hopefully that's just a sign of the maturity of it, and not a sign of my mental decline. But on paper (as I understand it) it looks /so cool/.
vegardx··on My VM is lighter (and safer) than your container (2017)
I don't really see how rootless containers change anything at all. You're still "just" one kernel privilege escalation away from breaking out. The level of isolation is much better in virtual machines, and the performance penalty is comparable these days.

The virtual machine images are a bit heavier, since you need a kernel and whatnot, but it's negligible at best. The memory footprint of virtual machines with memory deduplication and such means that you get very close to the footprint of containers. You have the cold start issue with microvms, but these days they generally start in less than a couple of hundred milliseconds, not that far off your typical container.

vegardx··on Thoughts on low latency trading if exchanges went full cloud
I think the lines between software and hardware-based are a little blurred these days with accelerator cards and whatnot. It's just a lot harder to come with the same level of guarantees when you're basically running a hypervisor on top of it.
vegardx··on Thoughts on low latency trading if exchanges went full cloud
In AWS you don't even do neighbour discovery through ARP. Or that's a lie, you do, you get a arp reply, but it's not from any of your devices on the network. And traffic is authenticated and authorized at both the source and destination, so you can't do fun things like manipulating arp tables. You get a lot of nice features when you have a fully software defined network, but it comes with a couple of caveats, like you mentioned here. I doubt we'll ever see "real multicast support" in the sense that network engineers are used to.
vegardx··on Saudi Aramco CEO says world should abandon 'fantasy' of phasing out oil
Compared to the amount of oil used for making fossil fuels plastic is almost a rounding error. So he's technically right, but not really if you look at th bigger picture.
vegardx··on AWS Makes Cloud Formation Stack Creation Up to 40% Faster
In what way?

I've always found that Terraform does it exceptionally well, mostly because of the dependency graph and how good providers map resources so that they don't end up in a dead lock.

vegardx··on Hetzner GEX44 with Nvidia GPU
Wild guess: They use significantly more electricity than the average customer that does just about anything else with their hardware. The GPU can easily run at hundreds of watts, and when you add in the required cooling you're probably at 1.5-2x that in total power usage.
vegardx··on How to find the AWS account ID of any S3 bucket
If you're lucky and it has a instance profile attached with appropriate role/policy attached you can use get caller identity to see what account it's running in: https://docs.aws.amazon.com/cli/latest/reference/sts/get-cal...
vegardx··on U.S. National Park Service API
> The for-profit company is happy, anyway. They get free data and you've priced the competition out of the market.

And they'll also be happy to disregard all your wishes for them to implement their own caching layer and if you have no way to block this kind of activity they absolutely will do it. As demonstrated in the example I gave you.

> If you want to create an open source one which is free and promises not to track the user, you can, but then you need the data. If you end up with millions of users, who has more resources to set up caching servers, some individual idealist with zero revenue or the United States Government?

Me - as a taxpayer - isn't really keen on paying for everyone to build their application on top of it. If you create an open source application you can always tell the users how to obtain such a token.

> This shouldn't even be a question. The government has to operate infrastructure that can handle millions of users for many other reasons. This should be something they're experienced in, and something like this should just fit into a slot in existing infrastructure. This is what it's for. If all you want is to provide the data for various scummy middlemen to wrap in ads and spyware then why is it an API at all instead of a static data dump / live feed with the latest changes?

Again - why should I as a taxpayer have to pay for that? For me, the taxpayer, the service is just as available and usable, even if I have to request a token to use the service. How do you propose you'd limit how a service can be consumed without some kind of token? We've already established that your other solutions doens't work. The alternative is likely just to not provide the service at all, which seems like a net loss for everyone involved, both for for-profit business, taxpayers and open source developers.

vegardx··on Boeing withdraws bid for safety exemption for Boeing 737 MAX 7
I don't really see that happening unless they make the C919 much more efficient. There's probably a market for Comac where Boeing and Airbus aren't allowed to sell due to sanctions or whatnot, but that's a separate issue.
vegardx··on U.S. National Park Service API
> API keys were invented as a tracking device

And that's exactly how they're used as well. They need a method to track the usage of these services because there is often a cost involved with providing them. You also need a way to block or rate limit usage that is not IP bound.

As an example, when Yr[0] opened up their APIs for free world-wide weather forecast it quickly spiralled out of control. I don't recall the specifics of it, but in short a major phone manufacturer started using their APIs on their phones and it took down the service because of the increased load. They could have solved it by just adding more hardware, things like this is highly cacheable, but when you're dealing with tax payers money you generally don't want to subsidise for-profit companies. So you implement a token and tell them to implement their own caching layer on top of it, and everyone is happy.

I don't see how you'd solve something like that with anything other than a token. The methods you've mentioned in other posts simply don't work when a couple of hundred million phones ping your API every time they unlock their phone and it refreshes the weather widget. It also create no incentive for the developers to do things right, like not checking for updates every time the user does something, even though the initial request also came with a TTL and cache-control header that clearly states when this would be updated again.

[0] https://developer.yr.no

vegardx··on EV drivers discover fundamental flaw in battery tech as -30F temps hit the US
Plug-in hybrids makes very little sense, compared to pure hybrids or battery-electric vehicles. You end up with a complex drive train and a lot of added weight. To me it makes more sense to just use a hybrid if range is an issue. You need quite a large battery to drive 100 miles, and in your example you end up with an engine that is only used 10% of the time, but costs quite a significant portion of the overall cost of the car. You also have the added maintenance costs, which are higher for plug-in hybrids due to much more complex drive train.

The reality is that for most people this is a non-issue. The biggest issues in temperatures that low is that your combustion engine won't start because your 12V battery has failed. All solvable, by just using a block heater. Which incidentally is the same way you can mitigate a lot of the range losses due to cold battery in EVs.

vegardx··on High-speed 10Gbps full-mesh network based on USB4 for just $47.98
Just a fair warning about these cards, the support is flakey at best. You should research if it works with your motherboard and CPU before going down that route. I did a lot of research on this because I wanted to connect my Gaming-PC to an Apple Studio Display over optical Thunderbolt, but quickly decided against it.

Luckily there are good alternatives. I landed on a solution using a Belkin[0] DisplayPort and USB to Thunderbolt-cable. I just get USB2.0 speeds, but it's enough for my needs. I'm also able to extend it using an active DisplayPort 1.4 extender, for a total of 10 meters cable.

[0] https://www.belkin.com/support-article/?articleNum=316883

vegardx··on Hertz to sell 20k EVs in shift back to gas-powered cars
In Europe the V3 superchargers are 1000VDC, it's a big label of them that says so. Could it be that they're different in other regions?
vegardx··on Hertz to sell 20k EVs in shift back to gas-powered cars
This is only true for somewhat old and obsolete Tesla superchargers, like V1 and V2. Since the introduction of Supercharger V3 they're all 400-1000V, so any car, with any internal voltage can charge at their rated speeds.
vegardx··on Tesla Model Y: My 6 months impressions
I might be wrong, but I think this is where a lot of the misconception stems from. In Norway it also shows the (usually) correct visualization, but it never use it. People have done a lot of testing and it seemingly always use map data. But this might be different in different regions. From my understanding this is where a lot of the "phantom breaking" on highways comes from. The map data shows a temporary slower speed sign due to previous construction.
vegardx··on Tesla Model Y: My 6 months impressions
I don't think Tesla reads signs at all. As far as I understand they're using map data, which is often out of date. It's one of those features that is so bad that they really should give you an option to just disable it. But I guess that would be an admission of poor implementation.

It's one of those things that the entire industry seems to have solved 10-15 years ago that Tesla just can't get right. That and automatic or even functioning windscreen wipers.

vegardx··on Tesla Model Y: My 6 months impressions
Like with all cars I think you should try it before you buy it. That's the only way to get an idea of how things work is reality. In both models you can actually see the speed while you're looking at the road, it's just in a different place than you're used to.

That said, I agree with you from a pure marketing perspective. The idea that you need the heads-up display is a recurring one. In online forums new owners are often looking for solutions, only to come back after a couple of weeks to say that they didn't feel the need anymore. It would be interesting to know how many people just write it off without even trying it out.

My anecdotal experience: My parents went from a Volvo XC60 to a Tesla Model Y. Both were a little skeptical about the lack of heads-up display. They stopped looking for aftermarket solutions after a week.

vegardx··on Tesla Model Y: My 6 months impressions
I think most owners of either model disagrees with that. Sure - it would be handy, but it's not a feature that I'm desperately missing. I would go so far to say that I'm not missing it at all.
vegardx··on Fewer people are buying electric cars in the US
You get very little benefit with a plugin hybrid compared to just a hybrid or battery-electric vehicle. You have a very complex drive train, double the amount of motors, fuel tank, batteries, you get the idea. What you end up with is usually a very inefficient vehicle in all scenarios.
vegardx··on Andre Braugher: Brooklyn Nine-Nine's Captain Raymond Holt Dies Aged 61
This makes me feel sad. I'm sad!

Brooklyn Nine-Nine will never be the same without him. He carried the role as Captain Raymond Holt so well.

vegardx··on GM says it's dropping Apple CarPlay and Android Auto because they're unsafe
You're also a paying customer of one of those services that you're sharing data with. It doesn't automatically mean that they'll be any better, and Tesla has had quite a few privacy-related fuckups, but one is in the business of selling your data, the other isn't. Take it for what it's worth. Lately they've been pushing quite a lot of privacy related things, but it may just be virtue signalling on their part. One feature I really like is the ability to share a destination from Google Maps on my phone to the car and it will instantly route there.

For some strange reason the Spotify app in Tesla doens't have the option to download playlists, it will only buffer ahead and cache things. I've had it happen that it stopped playing because it lost connectivity and I tried to shuffle ahead quite a few times. I think all Teslas come with at least 60GB of internal user accessible storage, you can also expand that by just plugging in a USB-drive in the glovebox. The Tidal app in Tesla does offer offline playlists, and much higher bitrate. I think Tesla is doing their audio engineers a disservice by the atrocious bitrate that they provide through the Spotify and Apple Music app. And Tidal is borderline unusable if you want innovative and ground breaking features like Shuffle, but apparently that is coming this "holiday update".

You don't need to have a "Premium Subscription" to use Spotify or any other streaming service in a Tesla, you just set up a hotspot on your phone and it will automatically connect to it. I've also seen some people connect a mobile hotspot to the glovebox USB-port. Some of them even come with additional storage and things like internal battery so it'll stay connected even when the car powers down the infotainment system. If you have an iPhone it's a little more convoluted, but it's easily sorted out with just using a Shortcut to enable hotspot that fires automatically when it connects to your car.

Tesla does a lot of things very well, and some things just don't make any sense at all. Like when they removed the "repeat playlist" option in Spotify for a year or so. It made impossible to use shuffle, as you'd usually reach the end of the playlist within a couple of shuffles, and it would just change to radio or something. It still supported the option, I could toggle it on in the Spotify app on my phone, they just removed the UI element. Luckily it came back not that long ago.

vegardx··on GM says it's dropping Apple CarPlay and Android Auto because they're unsafe
You can always get a key fob, you just have to buy it separately.

I'll never go back to a car without being able to use my phone as a (reliable) key and store the credit card sized backup key in my wallet. Because it's just that - a backup key. In over two years I've used the key a total of zero times. And one thing I've noticed is that key fobs seems to become bigger and bigger, every year. Just look at the new Volvo key fob. It's the same size as AirPods charging case.

vegardx··on The Norway Model: How the Scandinavian country became a literary powerhouse
Ha! The closest I've been to meeting Magnus Carlsen is that one time we both happened to be standing next to each other at the urinals. He adheres to normal urinal etiquette, if that's anything to go by.
vegardx··on The Norway Model: How the Scandinavian country became a literary powerhouse
You don't have to apply for a work or residence permit, which means that you can stay in the country indefinitely. If you're from the EEA you have to exit Norway every 3 months, unless you qualify for a work and residence permit, basically, you have to have a job.
vegardx··on The Norway Model: How the Scandinavian country became a literary powerhouse
It fits so well with the Norwegian stereotyping of Danish people, which is likely the reason why so many believe in it. It's also worth noting that Denmark also have quite a large oil industry.

Another myth seems to be that Norway was a very poor nation before the discovery of oil. According to Jan Eivind Myhre[0], professor emeritus in history at the University of Oslo, this isn't true. Norway has been one of the wealthiest countries in Europe for hundreds of years. We had, and to some degree still have, a huge merchant fleet. We've always been big in shipping insurance, probably a by-product of the merchant fleet. The fishing industry has always been a huge part of the economy, same with raw materials.

It's an interesting read, but perhaps a bit more debatable than the myth about a drunk danish minister.

[0] https://www.sciencenorway.no/economy-history/crushing-the-my...

vegardx··on Report Phone Spam – Shut down robocallers and text spammers
We had a quite interesting case around text spam in Norway recently. A foreign student was arrested by the Norwegian Police Security Service (PST) for allegedly spying and doing signal intelligence. What he was actually doing was driving around Oslo with an IMSI catcher, which he used to send SMS messages that tried to scam the recipient to devices that was intercepted.

He had his dorm raided by the security services, was put in custody with no visitation or communication for quite some time. According to his lawyer it was quite a traumatic experience, which I can believe. The guy was likely just recruited by some foreign scammers to deliver the messages for them.

In that case the carriers network wasn't even involved. Not sure how you'd stop something like that from happening.

vegardx··on Amazon EC2 Enhances Defense in Depth with Default IMDSv2
I don't understand why you'd want to use VMs for something like this when containers exist and you have tools like ECS and Kubernetes. You can serve the same amount of web applications on the same amount of vCPUs and memory footprint, give or take a little bit. As a bonus, if you used AWS ECS, you also get to use things like IMDS (per container/task), Fargate, high availability and autoscaling tools.
vegardx··on Best Night Vision vs. Darkest Room [video]
I remember having to pee during an exercise while we were under strict light discipline. We were equipped with NVGs, and like Derek experienced, your field of view and depth of vision is very limited. This isn't such a big problem unless you want to drive a car, or like me, use the toilet. I started peeing a good meter in front of the toilet, making a huge mess. The lieutenant was not very impressed.
← PreviousPage 2 of 22Next →