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

Wouldn't source maps be broken by changing characters around in the built code?


In source maps, the mapping is done between the transformed code (like minified or bundled JavaScript) and the original source code. As long as the transformations are consistent and predictable, source maps remain effective. When you replace a unique placeholder with an actual value, you're essentially making a very targeted change that shouldn't alter the overall structure or flow of the code. This means the source maps should still accurately reflect the relationship between the source code and the transformed code, except for the parts where the placeholders were replaced.


There is a small chance of that, but as long as the variable names are unique enough, and the values being changed aren't excessively long it is unlikely to cause any issues. Of course any time you manipulate built code like this it could break something (which we mentioned in the post as something to consider) but we have been using this method in our builds for a long time now without issue.


Do the downloaded movies have DRM attached that requires a network connection or limits their usage?


They have DRM attached and need to be played on a computer that has logged in to your iTunes account and been "blessed". But unless something has changed, as long as you keep that computer offline it will be able to play those videos in eternity.

You can un-bless all your other computers (as you can only have 5 computers blessed at once) but I guess if the other computers are offline they can keep playing old downloads.


> But unless something has changed, as long as you keep that computer offline it will be able to play those videos in eternity.

I don't know if it ever was that way. If it was, something has changed.

During the early months of the pandemic, we carried a Mac mini around that had a ton of downloaded content, and spent a lot of time in places with no internet service. It needed to "re-bless" itself every so often (I don't remember how often - maybe once a month or twice a month - it wasn't very often).

Our solution was to carry it with us when we were near enough to a tower. Using a phone hotspot with just a single bar of bad service, the process took 10-15 seconds.

So as far as tech/media companies go, Apple is almost certainly the least bad option, by a wide margin. But it's not perfect ;)


> I don't know if it ever was that way. If it was, something has changed

To be fair, it was a LONG time since stopped buying video from iTunes. Like 5 years at least. I subscribe to a bunch of the streaming services but instead of bothering to figure out exactly where something is streaming I just download it from the Pirate Bay where I know I can find everything right away.


> But unless something change

:)


4 words that explain why, if I ever wanted to collect movies, they would all be DRM-free torrents.

When the "legal" way to do it is self-evidently a scam perpetuated by corporations and governments working together against our interests, then they only honourable ways are either to watch illegal downloads or not watch movies at all.


Why eschew ripping physical media? You'll likely have a more uniform collection in terms of quality. Also depending where you are in the world, it's either legal or just as legal as torrenting media. In the latter case, it's not really enforced. It's also probably more honourable, if that's something you really care about.


> Why eschew ripping physical media?

None of my computers has a DVD drive! Though if I was interested in movies, probably one would.

> You'll likely have a more uniform collection in terms of quality.

Also 4K is useless to me as I have a 1080p monitor.

> It's also probably more honourable, if that's something you really care about.

Helping systems of control that are actively hostile towards me is not honourable, IMO.


You need a real computer to rip BDs. A netbook or a Raspberry Pi aren't going to cut it because of the CPU requirements. Said Pi will have no trouble running a torrent client though.


Found the spartan.


This project wraps existing software (e.g. nginx) to function. It's not as simple as providing a binary.


The annualised billing winds me up - I wanted to build an integration with GitLab recently and needed group level webhooks. ~$20 / month but I'd have to pay for a full year upfront that I'd then not use.


I wish it would save your slider levels, e.g. in the URL, so you can bookmark your favourites.


Ran into the same thing - shame it's hidden away under a tooltip on the pricing page.


What's HN's go-to solution for egress control? It seems to be a murky mix of expensive vendor products and hand-rolled Squid.

With supply chain attacks much more common, I'm starting to think that egress control is essential for all.


You could do a heat exchanger - no mixing of the water then but added complexity.


I assume that most ISPs push out updates automatically unless the hardware is user provided (and thus user supported)? I've been through several rounds of "we're sending you a new router" with UK ISPs where you're aggressively reminded to switch.


Has anyone had success with aftermarket battery packs for these vacuums? eBay is full of questionable quality options and my vacuum lasts all of 3 minutes.


I have obtained a couple of dead-battery Dyson vacuums in recent years. Aftermarket replacement batteries are available and so far, so good. The ones I installed offer somewhat increased capacity over the originals and performance is as good as I would expect. Of course aftermarket lithium ion battery packs are a crapshoot at best, so I stuck with ones that published at least plausible capacities and had a reasonable number of good/non-fake reviews. Given the price and lack of availability of OEM packs I'd say go for it.


I bought one for my girlfriend's Dyson (v6, I think) - which had terrible battery life from day one, and got worse over time. She was very dubious about it, but it worked a lot better than even when the Dyson was new. Still not great, but better than before.

Eventually I persuaded her that a Henry was the way forward. She bought it and now knows what I mean - I have one as a "garage/DIY" one and another as the house vacuum. There's a reason why professional cleaners in the UK use them!


Yes, I bought a brand called Vanttech [1] for my Dyson V6. Not only has it worked perfectly, but the new battery pack also lasts longer than the official Dyson one. Much cheaper, too, of course.

[1] https://www.vanttechbatteries.com/products/for-dyson-v6-upgr...


Yes, Dyson was out of stock, when the battery in my V8 died so I felt forced to buy an aftermarket just to use it. More amp hours than the OEM (or so they claim), and so far working great. The filters that came with it don't fit as well as the OEM ones though, they are falling off when I hold the vacuum wrong.


Yes. I bought an aftermarket v6 battery with increased maH over the original, but with no 3 stage blue led charge level indicator (just one led) but it definitely lasts longer.


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

Search: