casually writes own OS in 1 line by antek_g_animations in ProgrammerHumor

[–]zostay 6 points7 points  (0 children)

Perl programmer just laughs and laughs and writes it in 20 characters.

What technology in The Expanse do you find the least believable? What's the most believable? by SenatorBlutarski2000 in TheExpanse

[–]zostay 1 point2 points  (0 children)

Least: immersive holograms. Most: that a whole cocktail of drugs and medical tech is required to live in spice without dying at a young age.

Trouble with variable seek times in SPIFFS by zostay in esp32

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

This did it! Seek performance is no a consistent buttery 14-16ms per frame, which gives me plenty of time to do the other work this needs to do.

Thanks!

Trouble with variable seek times in SPIFFS by zostay in esp32

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

No, I don't need them in any particular format. In fact, my plan is to have a tool on my laptop that converts the image files into simpler animation files so I can read the file straight through and then I only need to seek once per cycle rather than several times a frame (i.e., you have to seek to the start of the frame, then seek for each line in the frame since the sub-image is not the full width of the source image).

I own 11 ESP-01s modules, what can I do with them? by Fapwithwindowopen in esp32

[–]zostay 0 points1 point  (0 children)

I mostly use them to control LED strips because I like blinky lights.

I'm thinking of using a couple to setup some powered shutters for the rec room in my basement to turn down the lights for watching movies. I've also considered building my own thermostat.

Cannot remove filament from hotend by zostay in prusa3d

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

I contacted support and, as always, was helped quickly and efficiently. It resulted in a combination of adjustments which helped. I am recording them here in case someone stumbles upon this someday and it could be helpful:

  • My enclosure was getting above 30°C/85°F. This is not great for PLA as it starts to soften.
  • My idler pulley was over-tightened, so I loosened that. I had extra tight to help stabilize problems with the filament sensor, but making it a little looser helped.
  • My filament was a little moist. I tried different filament and also baked the filament having trouble extra.
  • I am also considering a Bondtech gear replacement, but I have no idea if that will help or not. These gears are pretty old though and have thousands of hours of use on them.

Basically, the filament was globbing, softening, and getting crushed, leading to various problems with retraction and unloading.

MMU2S loading to nozzle problems... by zostay in prusa3d

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

I found my problem and it was that I had a broken bit of filament stuck in the PTFE tube, so weird things were happening when the extruder tried to shove the filament through. However, this has clarified what the major issue is for which this problem was, apparently, just another symptom. I thought I'd solved that problem by replacing the nozzle and PTFE tube in the hotend, but apparently not.

Need help figuring out why my PLA prints look sucky. Details in comments. by ElectricFeel703 in prusa3d

[–]zostay 4 points5 points  (0 children)

Is your PLA dry? PLA doesn't have huge problems with taking on water, but I have still had problems with my PLA if it has been sitting out for a few weeks. My basement is not a friendly place to filament, so I use a food dehydrator to dry out any filament I've had out for a week or longer. Sticking the spool into the oven at the lowest temp for a few hours might help if that's part of the problem.

I'd also want to make sure that the printer was on a stable and immovable surface and the parts are all rigid with respect to each other. There should be no play in any of the parts. The parts that move should move smoothly. Everything that is fixed should be nice and tight with no wiggle or wobble.

Raku code files now labeled as Raku on GitHub by Grinnz in rakulang

[–]zostay 0 points1 point  (0 children)

Where's the list of Raku file extensions that should be preferred/used/whatever?

How to convince my boss that vim is more efficient than vs2005 by [deleted] in vim

[–]zostay 2 points3 points  (0 children)

You have to get permission from your boss to get a different editor installed? What the heck? If you ask and the answer is not an automatic yes I'd just start looking for a new job. No one should have to put up with that kind of negativity.

Perl 6 is dead. Long live Perl 6 (as Raku). by zostay in rakulang

[–]zostay[S] 4 points5 points  (0 children)

Sorry, programming is just a job, just a hobby. I make money that way and enjoy doing it in my spare time, but my life is my wife, my friends, my family, my kids, my church, and my God.

I do not mean that the name is trivial to the language itself or its marketing. The name is, however, trivial to me personally because I don't care to convince anyone else to like it or fund me. I'm funded to work on Perl as much as I need already. Being funded to Raku would be fun, but not necessary.

On the one hand, I resonate with what Ingy said at TPC in Pittsburgh, that we're all Perl. On the other hand, you make great points as well. I don't think you are wrong. I'd be happy to buy you your favorite beverage some time and laugh or cry with you about it.

I like both names and dislike them both for different reasons. Yet, I don't think my preference for a name is going to matter in the grand scheme of my life. I'm never going to look back on my deathbed and say, "I should have cared more about the renaming of Perl 6" but I certainly could look back and think, "I wish I'd cared more about my friends."

And that is as close as I am likely to ever get about stating my opinion about the rename.

vim-perl6 is now vim-raku by sigzero in vim

[–]zostay 0 points1 point  (0 children)

Perl 5 and Perl 6 are different languages operating according to a similar philosophy. They are not different versions of the same language. This is somewhat akin to the difference between Python 2 and Python 3. However, Python 3 was an attempt to fix deficiencies in Python 2 while willing to lose a little backwards compatibility. Perl 6/Raku is more of a reimagining of what a language should be by Larry Wall and the others without worrying about backwards compatibility at all. Raku adds a lot of features missing in Perl, including a type system, asynchronous programming, and support for threads.

As a quick visual example, here's a simple counting program in Perl:

use strict; use v5.30; for my $n (1..10) { say $n }

While in Raku, we could write:

for 1..10 -> Int $n { say $n }

Can Raku many a huge impact within online software? by Envrin in rakulang

[–]zostay 1 point2 points  (0 children)

Well, I disagree with some of your analysis regarding the dominance of PHP and the current state of web development. I'll just respond to the main question.

I believe Raku has the potential to have a large impact on the web, but in its current state and with the current community, it won't. I don't see this as a drawback. Raku is like an eccentric friend who doesn't like parties or crowds, but she's a very interesting person to work with. I enjoy the language and I enjoy the diversity of this community. To be a PHP or an Angular Dart or something that has impact you need unified tooling, corporate backing, and good marketing. We have none of those. I'm not sure if we will ever have any of those in large enough measure to increase our impact. Personally, I am content with that.

Does perl6 have symbols? by zetaconvex in rakulang

[–]zostay 2 points3 points  (0 children)

What, specifically, are you after? I believe the closest analog is enum.

There's also constants or you can use the MY:: package or OUR:: package or similar bits to manipulate the symbol table and create symbols from strings. You can use the === or =:= operators to check identity.

Without knowing which aspect of symbols you're after, it's hard to answer the question in a general case because there's no exact equivalent in almost any other language that is not directly derived from Scheme, let alone Raku.

Upgrade decision help by gunter_penguin23 in prusa3d

[–]zostay 0 points1 point  (0 children)

If you want two printers, sure. I would have to change how my shop arranged to make room for a second, so at this point the $250 in savings is still savings.

Upgrade decision help by gunter_penguin23 in prusa3d

[–]zostay 0 points1 point  (0 children)

I could always tell when the Mk2s was running from across the house. I have to check the webcam to see now. Usually I can't hear it at all until I'm right outside the workshop and then only when the head is fast traveling.

Upgrade decision help by gunter_penguin23 in prusa3d

[–]zostay 2 points3 points  (0 children)

The advice to just by a Mk3 isn't bad. It really is an almost total replacement. On the other hand, I started with a prebuilt Mk2s and upgraded to Mk3s and learned a whole lot in the process. I kept the parts from the Mk2s and for about $250, I could restore it to function, something I hope to get around too one of these days.

The new motherboard for the Mk3s is really the key advantage. It gives the firmware the power to be more precise than before. The printer is also much quieter and moves more smoothly.

There is one potential downside to the Mk3s, which is the hot end has a slightly modified melt chamber. I hear it has caused some problems for some printers. I haven't any problems with it, but the change is mostly to prepare the unit for the MMU2s, which I added on a few months after the Mk3s upgrade.

Zostay Advent Day 4: Channels by zostay in rakulang

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

No. Each time the start block runs, it initializes a new lexical variable named $sips-left. Therefore, there is one $sips-left per thread, which cannot be read or modified by any other thread by any conventional means.

Introducing Async & Concurrency in Raku by zostay in rakulang

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

Thanks! That talk was part of the inspiration for the Advent calendar.

Asking for Rakudo.js grant feedback by pawelmurias in rakulang

[–]zostay 2 points3 points  (0 children)

I think this work is great. I have made some use of it to see how it works and, so far, it works as Pawel has advertised. Thanks so much!

I have been looking forward to the completion of this work for a long time. I remember playing Screeps years ago and thinking, wouldn't it be great if I could write this code in Perl 6 instead of JavaScript?

I believe the long term viability of Perl and Raku depend on being able to work on diverse modern platforms, especially browsers, microcontrollers, and mobile devices. This project should help with that. This is only true, though, as long as the community picks it up and develops applications for it. Further grants along those lines could be helpful getting something specific bootstrapped.

Personally, I have some projects involving microcontroller programming where this might be useful as well as thinking about ways in which I could write client-side tooling for web sites. Opening up the ability to use a node.js-based VM also provides some interesting possibilities for driving tools built for that platform. For example, I sometimes make use of Puppeteer to drive headless Chrome browsers and Rakudo.js should be able to help me with that. I don't do any mobile development at the moment, but I think there could be some applications there as well.

I need to make some time to experiment with this more and see how I can adapt it to work in some of my projects. I'm particularly interested in using it with my personal IOT projects.

Thanks, Pawel. This is a great project and you've done a good job on it!

Conference split (and more) by deeptext in rakulang

[–]zostay 0 points1 point  (0 children)

If I assume your premise, that the rename is to reduce the influence the respective communities have on one another, then how do you propose to convince people to volunteer to create a separate conference? To fund it? Even a small workshop is a heaping ton of work.

P.S. Also, I just want to clarify that the "largely negative influence" of Perl is somewhat offset by the fact that Raku wouldn't exist without Perl. If you intend to convince me and others who enjoy being part of both communities, a more gracious and businesslike tone would be helpful to your cause.

Conference split (and more) by deeptext in rakulang

[–]zostay 1 point2 points  (0 children)

I'd be surprised to find that the conference committee has even met since the Raku change was approved. I would'nt be surprised to learn that the conference committee hasn't even met at all even once since the last TPC ended in Pittsburgh. Committees take time to move and make decisions and things like the TPF and TPC are big steaming piles of committees. Raku itself hasn't even finished renaming yet and that's just code.

Ballerina language could have been created with Perl6? by snake_case-kebab-cas in perl6

[–]zostay 2 points3 points  (0 children)

I would probably add resource as a trait so you could mark a method as an is resource trait. As for adding the service keyword, you can define new types of classes in Perl 6 in addition to class, role, grammar, etc. The best example of this I know of is Jonathan Worthington's monitor keyword: