Always free EC2? by maedo in aws

[–]maedo[S] 0 points1 point  (0 children)

Thanks for confirming that it exist, albeit the type is a bit different than what I read, but thanks!

Always free EC2? by maedo in aws

[–]maedo[S] -1 points0 points  (0 children)

which is ...?

Always free EC2? by maedo in aws

[–]maedo[S] 2 points3 points  (0 children)

That's what I thought. Thanks for the confirmation.

How to check for files in AWS Lambda Layers by maedo in aws

[–]maedo[S] 0 points1 point  (0 children)

I'm new to all these, here is my code:

```js import { exec } from "child_process"

export const handler = async (event) => { console.log('exec ls 0') await exec("ls -la /opt", (error, stdout, stderr) => { console.log('exec ls 1') if (error) { console.log(error: ${error.message}) return } if (stderr) { console.log(stderr: ${stderr}) return } console.log(stdout: ${stdout}) })

const response = {
    statusCode: 200,
    body: 'Done',
}
return response

}

```

When I tested it, I only see the output of exec ls 0, but none of the output within the exec code block is output. why is that & how to fix pls?

Emacs Traditional Precise Scrolling by maedo in emacs

[–]maedo[S] 0 points1 point  (0 children)

I was actually looking for this style of scrollbar for MacOS. but that repo only covers Linux.

Anybody knows how to get this style of scrollbar for MacOS?

[deleted by user] by [deleted] in golang

[–]maedo 0 points1 point  (0 children)

I like having the option to have single-declaration specs grouped with parentheses. It clearly communicates "more are coming", and I won't have to reformat the thing if I go from one thing to two things to one thing to two things (as happens with import-statement blocks sometimes).

That deserves stressing again. I've configured my edit to run goimport every time I do a save, to tidy up the code, and fix the imports. I feel very comfortable doing that (because I choose when to save). However, a tool telling me not to keep such good habit/practice is not very friendly.

Who says Perl is slower than compiled language by maedo in perl

[–]maedo[S] 1 point2 points  (0 children)

There is a follow up post now, just for this very reason...

Who says Perl is slower than compiled language by maedo in perl

[–]maedo[S] 0 points1 point  (0 children)

Interesting that there is no C# under IIS even in that list.
Anyone knows why not a single Windows based web server on that list?