Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lentil
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
lentil
6y ago
No, it's not an alias, they are distinct types. You can't use the types interchangeably (unless you cast them). Your playground example didn't try to pass a UserID to a function accepting a PostID, but if you do that, you&#x
32.
▲
by
lentil
6y ago
Visual Studio Code has a "peek" operation that does something like this. It is indeed quite handy. https://code.visualstudio.com/docs/editor/editingevolved#_pe...
33.
▲
by
lentil
7y ago
> The dev experience you get with Netlify and Zeit will almost certainly never be possible with AWS. For static hosting, AWS Amplify is already a very similar experience to Netlify. Each is slightly better than the other in some ways, b
34.
▲
by
lentil
7y ago
If you're in the UK you can report it to the ICO (Information Commissioner's Office): https://ico.org.uk/make-a-complaint/ . They have a form specifically for reporting concerns with websites' use of cook
35.
▲
by
lentil
7y ago
That's interesting, thanks. I haven't really used Cloudflare Workers for much myself so it's interesting to hear folks' comparisons.
36.
▲
by
lentil
7y ago
> I also remember comparing AWS Lambda at Edge vs Cloudflare Workers ... costs were something like 10x apart. According to the AWS pricing example[1] 10 million requests per month on Lambda@Edge costs $9.13. The same thing on Cloudflare
37.
▲
by
lentil
7y ago
Great idea. Thanks for setting that up!
38.
▲
by
lentil
7y ago
It wasn't discontinued. It was amended to take into account aspects of GDPR, but the rules are very much still in effect. It's covered by PECR. There's a good overview of the rules here: https://ico.org.uk/f
39.
▲
by
lentil
7y ago
Which is the Go implementation that you recommend? There seems to be a few.
40.
▲
by
lentil
7y ago
But the cookie is not "Personal data which have undergone pseudonymisation", is it? Assuming we're talking about the case where no PII is being sent along with the tracking data (which I believe is the point of masking the I
41.
▲
by
lentil
7y ago
> You need consent for placing that cookie under the GDPR Do you have a reference for this? It not how I understand GDPR, and I am not clear which part of it would apply here when personally identifying information is not being tracked.
42.
▲
AWS CloudFormation can now import existing resources
(aws.amazon.com)
4 points
by
lentil
7y ago
|
0 comments
43.
▲
by
lentil
7y ago
I'm trying to understand what's broken here. The example is a 90° rotated (portrait) image, and the exif shows a 90° rotation. It's correct, isn't it?
44.
▲
by
lentil
7y ago
> I'd personally love it if AWS implemented a digital ocean-like "basic" interface which, realistically, covers 90% of startups' needs. Simple is good. Have you looked at Amazon Lightsail? It might be closer to what
45.
▲
by
lentil
7y ago
To be fair, the AWS documentation nearly always covers both.
46.
▲
by
lentil
7y ago
> the 2nd function was taking up over 50% of the concurrent execution limit and new events coming into the front-end would get throttled and in this case thrown out. It sounds like you already found a great solution for your particular c
47.
▲
by
lentil
7y ago
True, they make it look required there, but you can use one of the direct download links instead (eg linked from https://docs.docker.com/docker-for-mac/release-notes/ ) or use Homebrew to install it. The problem is
48.
▲
by
lentil
7y ago
It doesn’t require one to use it. I use it daily on MacOS and I don’t have an account.
49.
▲
by
lentil
8y ago
No, you don’t need to do any of that. ECS can inject secrets into environment variables in much the same way as Kubernetes. This behaviour is already built-in, there’s no need to build your own solution for it. https://docs.aws.a
50.
▲
by
lentil
8y ago
ECS already has all the things you mentioned here. Some, like daemon set deployments, are built in. Others, like secrets management, are provided as integrations with other AWS services. But they are all there.
51.
▲
by
lentil
8y ago
That’s not quite true. They do have different limits than regular Lambda functions, but you can certainly make requests to arbitrary hosts. The documentation puts it like this: > Functions triggered by origin request and response events
52.
▲
by
lentil
8y ago
Regarding point 3, you can run Lambda on edge nodes too — Lambda@Edge, which uses CloudFront. Although as you say, whether that ends up reducing latency in particle depends very much on your use case.
53.
▲
by
lentil
9y ago
That's true for the default behaviour. Ctrl-C also won't call autocommands (like InsertLeave). But - you can always map <C-c> to <ESC>, so that it'll work exactly the same.
54.
▲
by
lentil
9y ago
Agreed. I would also recommend this conference talk on the subject by Nickolas Means, it was very well done: https://m.youtube.com/watch?list=PLBzScQzZ83I81fnpqX2AkYD5c5...
55.
▲
by
lentil
10y ago
This might be more of a complete app than you need, but https://transfer.sh is open source and it looks fairly compact. Could be some interesting examples in there?
56.
▲
by
lentil
10y ago
> From a strict security standpoint though, a malicious native app has remote code execution on your box. It's game over. You're just one local privilege escalation away from complete compromise. At some point you have to trust
57.
▲
by
lentil
10y ago
Are you sure they aren't intended for data processing? I've never heard that claim before, and the Go documentation seems to have a lot of examples of using channels in that way. ( https://blog.golang.org/pipeline
58.
▲
by
lentil
10y ago
The situation has been improved quite a bit with kubeadm. Getting a basic cluster set up is a lot easier with that. https://kubernetes.io/docs/getting-started-guides/kubeadm/
59.
▲
by
lentil
10y ago
> and there is no supported way to reclaim that space That's one of the things addressed in the latest stable release. It now reclaims space on startup.
60.
▲
by
lentil
10y ago
> If we moved, all existing customers "stored" payment information would, by necessity, go away. Not necessarily. You should be able transfer the stored card data to another provider. Many (although not all) payment processor
More ›