[-] Pencilnoob@lemmy.world 1 points 3 days ago

F# is such a fantastic language.

I'd not hesitate a second to use it (and Fable) for my own startup. I'm very comfortable with Ruby, Clojure, Haskell, Perl, PHP, Python, Java, Typescript, and C#. Yet I would pick F# over all of those in a heartbeat.

F# has great type safety (but not forced into monad transformer chaos like Haskell). You need about 1/3rd less code than C# and Java, and the compiler will find more bugs than in those languages.

[-] Pencilnoob@lemmy.world 3 points 6 days ago

We didn't use Pringles, I think it was these big peaches cans

[-] Pencilnoob@lemmy.world 4 points 6 days ago

I once made one of these with a bigger can and mounted it on an old 10' satellite dish. Managed to get Wi-Fi across several thousand yards without issue

51

I wanted a dedicated keyboard to control my home assistant for lights and stuff. Inside the junk drawer I had enough extra switches and a spare RP Pico, so I printed this enclosure.

This time I kept it super simple, just soldered right to the switches, no lights, 3x4.

Now it's up on my desk, and I've got a few unused keys for expansion!

[-] Pencilnoob@lemmy.world 57 points 3 months ago

Let's be real, Witcher 3 is just a Gwent launcher.

Also I've definitely played more Pazaak than KOTOR.

[-] Pencilnoob@lemmy.world 56 points 3 months ago* (last edited 3 months ago)

In practical terms, it's most commonly a code pattern where any function that interacts with something outside your code (database, filesystem, external API) is "given permission" so all the external interactions are accounted for. You have to pass around something like a permission to allow a function to interact with anything external. Kind of like dependency injection on steroids.

This allows the compiler to enhance the code in ways it otherwise couldn't. It also prevents many kinds of bugs. However, it's quite a bit of extra hassle, so it's frustrating if you're not used to it. The way you pass around the "permission" is unusual, so it gives a lot of people a headache at first.

This is also used for internal permissions like grabbing the first element of an array. You only get permission if the array has at least one thing inside. If it's empty, you can't get permission. As such there's a lot of code around checking for permission. Languages like Haskell or Unison have a lot of tricks that make it much easier than you'd think, but you still have to account for it. That's where you see all the weird functions in Haskell like fmap and >>=. It's helpers to make it easier to pass around those "permissions".

What's the point you ask? There's all kinds of powerful performance optimizations when you know a certain block of code never touches the outside world. You can split execution between different CPU cores, etc. This is still in it's infancy, but new languages like Unison are breaking incredible ground here. As this is developed further it will be much easier to build software that uses up multiple cores or even multiple machines in distributed swarms without having to build microservice hell. It'll all just be one program, but it runs across as many machines as needed. Monads are just one of the first features that needed to exist to allow these later features.

There's a whole math background to it, but I'm much more a "get things done" engineer than a "show me the original math that inspired this language feature" engineer, so I think if it more practically. Same way I explain functions as a way to group a bunch of related actions, and not as an implementation of a lambda calculus. I think people who start talking about burritos and endofunctors are just hazing.

[-] Pencilnoob@lemmy.world 52 points 4 months ago

Just remember crossover is hardly ever used now. Straight is almost always what you need for typical use.

3

It's roughly 6 weeks till the final frost here in 7b.

I have a spot of grass and ivy that I want to turn into an annual veg garden. I'm waiting on soil nutrient results.

My current plan is to silage tarp all the grass and ivy for 3-4 weeks. Then cover with any needed amendments, 2 inches of compost, 4 inches of wood chips, then tarp again for the remaining 2-3 weeks. When the final frost passes, transplant out my annuals.

After the growing season I'll cover crop with peas, clover, vetch, oats. Repeat next year.

Does this make sense? Am I missing anything?

80
102
185
220
submitted 7 months ago* (last edited 7 months ago) by Pencilnoob@lemmy.world to c/adhd@lemmy.dbzer0.com

A man is drinking from a ridiculously large glass. The man is me, the glass is "some wacky new hobby".

Bonus points if you recognize the title reference.

580
256
Data rule (lemmy.world)
[-] Pencilnoob@lemmy.world 87 points 8 months ago

The relief of not needing to mask anymore hits hard

208
Free gifts rule! (lemmy.world)
777

"It doesn’t make sense for chocolate bars to be divided into equal-sized chunks when there is so much inequality in the chocolate industry! The unequally-sized chunks of our 6.35 oz bars are a palatable way of reminding Choco Fans and Serious Friends that the profits in the chocolate industry are unequally divided.

And in case you haven’t noticed, the bottom of our bars depicts the West African coastline. The chunks just above it represent the Gulf of Guinea. From left to right, you have Côte d'Ivoire, Ghana, Togo and Benin (terribly politically incorrect, we know, but we had to combine them to create enough space for a hazelnut), Nigeria and part of Cameroon."

From https://us.tonyschocolonely.com/pages/faqs

110
539
[-] Pencilnoob@lemmy.world 91 points 10 months ago* (last edited 10 months ago)

This article feels like it was written by an old man yelling at clouds. "... Back in my day we smoked mid and we liked it" shakes fist and then uses it as a reason to go back to prohibition. Why can't we just make it legal and let the free market figure it out.

Turns out more THC for the buck means people can make a few months supply of edibles out of a few grams. Cost effective!

[-] Pencilnoob@lemmy.world 109 points 1 year ago* (last edited 1 year ago)

Chainsaw and a skylight. A big one too, like one of these

And yeah, yeah, I've heard they are a pain to maintain and break easily. I don't care, I'll fix it every week if that means I get a balcony and fresh air every day.

[-] Pencilnoob@lemmy.world 51 points 2 years ago

A classic that kind of means the same thing is "me thinks he doth protest too much" from Shakespeare to indicate someone who brings up a topic they are guilty of.

[-] Pencilnoob@lemmy.world 80 points 2 years ago

"and then we told them, everyone getting to vote isn't a fair election"

"And then we told them, we only hate trans people, not gays and blacks"

"And then we told them, deregulation frees billionaires to take care of the planet more efficiently"

"And then we told them, school shootings are caused by not enough guns in schools"

view more: next ›

Pencilnoob

joined 2 years ago