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

Yes, real developers know the quirks of ie6 Vs Firefox 3


Back in my day you needed a PhD in CSS to center a div vertically. We used to pore over the freshest W3C drafts with excitement. You don't see that anymore since jQuery.


Ha! Reminds me of this sketch https://youtu.be/NAkAMDeo_NM?


I was making good buck being ie6 expert, wish the tech didn't progress that quickly ))


About 15 years ago I implemented "cache namespacing" for memcached, where you build a final cache key for a stored item (e.g. "profile_page") by doing an initial multiget cache query for all the "namespace" version values (e.g "user_123", "team_456" might be needed for "profile_page"), which you combine together as a prefix for the final cache key.

You can then invalidate any final cache key that uses one of the namespaces by incrementing the namespace key.

I haven't come across this technique mentioned elsewhere since, but it's very useful.

See the namespaces section in the now 404ing memcached FAQ https://web.archive.org/web/20090227062915/http://code.googl...

I guess nosql, edge caching and materialised views make it less applicable than it used to be (when inelastically scaling single/replicated SQL instances were the only game in town and taking load off them was vital).

Or is this technique now a first class feature of various cache client SDKs?


Edge caching often has to support purge-by-tag which ends up working similarly.


It'd be very interesting to know Hashi's internal strategy around this.

- Maybe do nothing, and as long as OpenTofu doesn't attempt to extend Terraform they are in not that different a position than pre-MPL.

- Add so many features OpenTofu can't keep up?

- Add some sneaky code to latest versions of hashi providers which makes them not work with unofficial terraform binaries?


- You can imagine a situation where Tofu keeps TF DSL compatibility but add useful new features to the runtime (better plan summary, multiple stack deployment, chained deployments, etc). That’s going to put Hashicorp under pressure to move quicker..

- … but Hashicorp publicly pleaded poverty over their development resource on TF as the reason they wouldn’t accept community PRs. You can’t just grow a team tenfold overnight. They’ve been quite deliberate about the design of the Terraform language and runtime over the years, taking their time to add new features. It’s going to be interesting !

- The provider situation looks fairly safe to me. Those licenses didn’t change and you can always redirect to github releases for the really popular binaries ?


> multiple stack deployment, chained deployments

Intriguing ideas. Would you mind elaborating or - even better - open issues [0] explaining the concepts to gauge the community interest?

[0] https://github.com/opentofu/opentofu/issues


You can exfiltrate secrets that aren't in the state, but are in accessible resources during a plan using an http data source with the secret encoded into the url


I wonder if a non commercial Terraform Cloud "offering" like https://github.com/leg100/otf is "competing" with Hashicorp...


There was a thread on Reddit about this and the author got a response from Armon saying it was not.

https://www.reddit.com/r/Terraform/comments/15p2p32/impact_o...


In the long run, I wonder if all video will be signed via blockchain-or-other-trusted-3rd-party. You'd need everything from the camera to the the editing software to support it though.


Until reality has a signing mechanism it’s not really going to fix anything.

Otherwise you can just feed whatever video you have in mind into the first stage of that chain you’ve created and say you were there when it happened.


Unless somebody builds a kind of 'pseudo-random-generator' chain where the internal state is huge, changes substantially each tick and is very expensive to compute, so that it becomes infeasible to store or recompute (a large number of) previous states for anyone but the most powerful players.

You could then use that internal state as a private key to sign what you want and only keep the corresponding public key and a signed date+time to proof the veracity. The public keys themselves would need to form a blockchain in the traditional sense, so you can verify their integrity without the previous internal states.

If you wanted to go all-in with the verification, you'd probably also want to show something containing the date+time in the video, together with some complicated physical effects that are hard to fake.

Well, just thinking out loud here, but it seems like it might work :D


I vaguely recall reading somewhere several years ago about some cameras which signed the photos they produced, so one could prove they came directly from the camera and weren't edited. IIRC, it was in an article about these signatures being broken, though I don't recall the details (perhaps it was by dumping the signing key from the camera firmware?).


Early digital cameras could be fingerprinted by looking at dead pixels (there are over a hundred million ways to have three dead pixels in a one megapixel camera, so if these are uniformly distributed, that, in the early days, when few cameras existed, have almost guaranteed uniqueness). It wouldn’t surprise me if that still is possible by looking at minor variations in light sensitivity across pixels (that might require having access to lots of photos by a single camera, though)


Why would the blockchain help here? Basically you need public private key pairs where the private key exists only in silicon and the public key is associated with a serial number. Normally the serial number is trivially associated with the customer who ultimately purchases the hardware especially if the camera is part of a phone with an active plan.

It seems like this trivially works better with a centralized database especially since you don't necessarily want to make all of this data public. The general public needs to know that this is a true and accurate photo that hasn't been edited taken on such and such a date. The authorities with a warrant might well need to know that it was taken by a device owned by bob.


That's still just a shortcut to a faulty thought-process.

We can't inherently trust content on the basis of its medium.


I would really like a client-side js library that lets you sync localstorage to consumer cloud storage (onedrive/gdrive etc)


The thing people like about Facebook is looking at other peoples photos, safe in the knowledge that they don't know you are looking at their photos.


It would be a lot harder in the Culture to get someone to be your human footstool.


It’s a big galaxy. The number of people into that sort of thing in the Culture is probably larger than the number of humans currently on Earth.


I use it because my mum, who has Parkinsons, can work her Facebook Portal.


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

Search: