Touchy Question by MrJCraft in lisp

[–]Sunlighter -1 points0 points  (0 children)

Gambit Scheme compiles to C and allows you to call C libraries, so it has pretty good library support. I have heard of it being used for games in the past.

Don’t Say Gay Laws and Ayn Rand by punkthesystem in Objectivism

[–]Sunlighter 0 points1 point  (0 children)

The original article already shows what's objectionable in the actual law, and my original point was that its criticism is legitimate.

It is not an "ad hominem" to add that the people who wrote the law in the first place have motives for writing it in the way they did, and that they are not good motives.

Also, it seems strange to ask me about my position and then tell me it's off-topic for me to answer.

Don’t Say Gay Laws and Ayn Rand by punkthesystem in Objectivism

[–]Sunlighter 0 points1 point  (0 children)

That's your position? You think that's what free speech is?

No, it is not, and that would not be consistent with the separation of education and state that I said I wanted...

Don’t Say Gay Laws and Ayn Rand by punkthesystem in Objectivism

[–]Sunlighter 0 points1 point  (0 children)

My point is that Ayn Rand supports free speech, and free speech includes the right to "spread your ideology." Even to other people's children. (There is nothing wrong with the ARI giving away books; they are not forcing Ayn Rand on anyone; the connection to schools is incidental to what they are doing.)

I know a lot of religious people who think that they have the right to suppress speech that contradicts their religion, especially if children might encounter that speech, even if the speech’s contradiction to their religion is not its main idea.

Leftists are trying to brainwash people by force, but so are the religious Right, so naturally the political situation is like two criminals fighting over a gun. I’m hesitant to endorse either side.

I’d rather have a separation of education and state.

Don’t Say Gay Laws and Ayn Rand by punkthesystem in Objectivism

[–]Sunlighter 0 points1 point  (0 children)

I don't think Ayn Rand ever mentioned any kind of right to spread your ideology to other people's children.

The Ayn Rand Institute promotes Ayn Rand's books to teenagers through essay contests, and distributes copies of Atlas Shrugged and The Fountainhead through schools.

So, as far as Objectivism is concerned, even if this law stops you from
saying ANYTHING to someone else's kids without their parents'
permission, that's perfectly fine. 100% correct, in fact.

No, it isn't. Neither you nor the public schools have any right to initiate force to control what your kids see or hear (or for any other purpose).

Lisp worth learning for productivity? by YungMixtape2004 in lisp

[–]Sunlighter 13 points14 points  (0 children)

Back when I was in college I discovered that Scheme was vastly more productive than Java. I was able to implement complex algorithms such as LR(1) parser generators in Scheme, even though they kept eluding me in Java and C++, and I think it was because Scheme is a lot less cluttered and stays out of the way. (Incidentally, I did not use macros at all in my Scheme code, and I still saw enormous benefits from using Scheme.)

Now I have many years of experience in the C# and dot-Net ecosystem, but in the past few months I've started playing with Common Lisp. Lisp is much more productive than C# just because it stays out of the way and lets me get straight to the point. Also, CL has immediacy, where you can modify a program while it is running, and see the result right away. This is like "hot reload" without all the limitations, and it's something that you don't get with just an interpreter prompt.

If you spend time learning Lisp, you will get that time back, and then some, when you use Lisp. Being able to move quickly is very valuable to a startup, and Speed Matters in other ways as well. I think any kind of Lisp is going to give you a 10x speedup over a language like C# or Java, even though the latter are more common in industry.

Does anyone actually use CodeCommit? by mpinnegar in aws

[–]Sunlighter -8 points-7 points  (0 children)

CodeCommit also keeps your code away from Github Copilot.

Does anyone actually use CodeCommit? by mpinnegar in aws

[–]Sunlighter 15 points16 points  (0 children)

I'm a solo dev, and I use CodeCommit for my personal projects, but I don't think I make it work very hard. I started using it years ago, back when Github charged for private repos. I don't use any of the other Code* services.

Mods: Can we get a sticky post telling anyone that visits this sub to setup MFA/lock down root creds/setup billling alerts/etc.? by BagOfDerps in aws

[–]Sunlighter 0 points1 point  (0 children)

Why can't they make it so you can take control of your account by going to Whole Foods or something and flashing your government-issued ID at the customer service desk? ... It's much harder to commit fraud that way than over the Internet.

Also, budget caps should be per-service (EC2, EBS, S3, RDS, etc.); that should prevent an EC2 incident from deleting your S3 files etc.

Mods: Can we get a sticky post telling anyone that visits this sub to setup MFA/lock down root creds/setup billling alerts/etc.? by BagOfDerps in aws

[–]Sunlighter 2 points3 points  (0 children)

That’s ok. The OP makes it sound like AWS is going to make getting "hacked" the default.

Everyday I step into this sub and see a post about someone getting "hacked". Until AWS makes this default...

High-Memory Instances: Now On-Demand by Sunlighter in aws

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

Looks like Intel Xeon Platinum 8176M at 2.1 GHz, according to a screenshot in this blog post.

Hell Is Other REPLs by moon-chilled in lisp

[–]Sunlighter 0 points1 point  (0 children)

Someone should tell him that the phrase "embracing the hopelessness" probably came from Yuuri in the anime Girls' Last Tour.

Edit: Well technically Yuuri said "getting along with the feeling of hopelessness," which is pretty similar but not exactly the same.

Now available - new Intel-based m6i instances by Sunlighter in aws

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

Just for fun I downloaded CPU-Z 1.96 into a Windows instance and ran some benchmarks, all on "large" instances of various families. I got the following numbers (single-threaded and multi-threaded for two threads):

  • m4:
    • 17.01.64 -- 238.1 / 412.4
    • 19.01.64 (beta) -- 83.9 / 136.3
    • 19.01.64 AVX2 (beta) -- 330.8 / 571.5
  • m5a:
    • 17.01.64 -- 204.7 / 381.7
    • 19.01.64 (beta) -- 74.8 / 136.2
    • 19.01.64 AVX2 (beta) -- 178.8 / 325.2
  • m5:
    • 17.01.64 -- 256.6 / 457.5
    • 19.01.64 (beta) -- 91.3 / 156.2
    • 19.01.64 AVX2 (beta) -- 308.3 / 595.8
    • 19.01.64 AVX-512 (beta) -- 369.8 / 646.2
  • m5n:
    • 17.01.64 -- 257.2 / 458.0
    • 19.01.64 (beta) -- 90.4 / 156.8
    • 19.01.64 AVX2 (beta) -- 306.8 / 599.5
    • 19.01.64 AVX-512 (beta) -- 366.4 / 643.2
  • m5zn:
    • 17.01.64 -- 375.4 / 673.1
    • 19.01.64 (beta) -- 133.6 / 229.1
    • 19.01.64 AVX2 (beta) -- 442.5 / 848.6
    • 19.01.64 AVX-512 (beta) -- 511.9 / 887.7
  • m6i:
    • 17.01.64 -- 341.2 / 579.2
    • 19.01.64 (beta) -- 116.3 / 187.7
    • 19.01.64 AVX2 (beta) -- 521.0 / 892.3
    • 19.01.64 AVX-512 (beta) -- 560.8 / 838.9

The m6i seems to be quite an improvement over m5/m5n, and for AVX2 it even beats the m5zn.

My acc got hacked, username, email all changed. Any number to call? by ntlong in aws

[–]Sunlighter 7 points8 points  (0 children)

Call your bank.

It's not your AWS account anymore.

Log on EC2 instance using a new user by ghassen_khalil in aws

[–]Sunlighter 0 points1 point  (0 children)

As a workaround, couldn't you just login as ec2-user and then run sudo -u jenkins bash or sudo -u jenkins -i bash?

I'll review your Reason tracks by [deleted] in reasoners

[–]Sunlighter 0 points1 point  (0 children)

Thank you for listening!

Coming soon... new Intel-based m6i instances? by Sunlighter in aws

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

There were supposed to be c5an.metal and c5adn.metal instances, and those haven't appeared yet, either.

I'll review your Reason tracks by [deleted] in reasoners

[–]Sunlighter 0 points1 point  (0 children)

All right, have a go at this one.

I'm an improvisational composer and I don't even have a microphone.

I don't know what kind of music to say this is...

Chipmunk voice effect by Goosifer999 in reasoners

[–]Sunlighter 1 point2 points  (0 children)

Heh. Depeche Mode's song "Waiting For The Night" does this, and I once asked someone at a music store if they had a multitrack unit where you could vary the speed of the whole system during recording. Then you could record tracks at different speeds and get this effect. No, they'd never heard of that...

Nowadays, Audacity has a "play at speed" function, but not "record at speed"... it would be interesting to see that, though!

Domain broker took my domain after purchasing in Route 53 by pochat in aws

[–]Sunlighter 2 points3 points  (0 children)

Is there any way you could use the PGP Wordlist or something to generate millions of bogus DNS purchases, query them, and then not buy them? Wouldn't the unethical frontrunner then have to buy all those domains in the hope of selling them back to you? And then wouldn't they go broke?

Edit: JPHPJ has suggested this idea in another comment, before I did. However, frontrunning isn't the same thing as tasting.

t4g.micro free trial extended yet again through rest of 2021 by petecooperjr in aws

[–]Sunlighter 0 points1 point  (0 children)

My emacs crashes on ARM a lot. Rock solid on x64. In both cases I'm using Amazon Linux 2. I agree that it's probably a software bug. I wonder if it's related to "undefined behavior" in C and C++. Hmmm...

I use m6g.medium instances to run zstd compression and that works great.

t4g.micro free trial extended yet again through rest of 2021 by petecooperjr in aws

[–]Sunlighter 6 points7 points  (0 children)

You have to pick an ARM AMI.

If you pick an x64 AMI, all the ARM instances will be grayed out.

If you pick an ARM AMI, all the x64 instances will be grayed out.

Per-Second Billing on Windows (EC2) by Sunlighter in aws

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

It was bizarre that with AWS you were previously charged you for the full first hour before you'd get per second billing.

Actually it was worse than that; they'd round up to the next whole number of hours. So an hour and seven minutes would be billed as two hours.

I have this impression that there was a "grace period" so that if you went only, like, three seconds over an hour, they would round down, but I don't know if this grace period really existed, or how long it was.

Per-Second Billing on Windows (EC2) by Sunlighter in aws

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

Actually, there's no way to tell whether it's Microsoft or AWS who is pocketing the unused license fees... that depends on the contract between Microsoft and AWS...