[Serious] What's a good way to be productive with nothing but an internet and a computer?

2021.12.06 09:00 AskRedditButAI [Serious] What's a good way to be productive with nothing but an internet and a computer?

submitted by AskRedditButAI to AskRedditButAI [link] [comments]


2021.12.06 09:00 MarcinZiabek QuestPDF 2021.12 - a new version of the open-source, MIT-licensed, C# library for generating PDF documents with fluent API, now with improved layout debugging experience 🎉 Please help me make it popular 🚀

QuestPDF 2021.12 - a new version of the open-source, MIT-licensed, C# library for generating PDF documents with fluent API, now with improved layout debugging experience 🎉 Please help me make it popular 🚀 I am excited to share with you a new 2021.12 release of QuestPDF, an open-source library designed for generating PDF documents in .NET applications. But let me start at the beginning...
What is QuestPDF? There are already a couple of free or paid libraries in the .NET ecosystem that provide PDF generation features. The way how QuestPDF differs is simple: instead of relying on an HTML-to-PDF conversion, it implements its own layouting engine that renders the full content using the SkiaSharp library (a Skia port for .NET, used in Chrome, Android, MAUI, etc.).
I have written this layouting engine with full paging support in mind. The document content is aware of page size, can be moved to the next page (if there is not enough space) or even be split between pages (e.g. table rows) - there are many elements that support paging functionality which helps with implementing desired paging behaviour. Additionally, you have full access to a full suite of simple elements (e.g. border, background, image, text, padding, etc.) that are essential building blocks of complex layouts. This way, you have a set of easy to learn and understand tools that are highly composable and predictable which reduces the time of development.
This concept has proven to be really successful in many projects already. If you like it and want to support the project development, please give it a star in the GitHub repository and upvote ⬆️ this post.
The Getting Started tutorial shows how to create an example invoice
How does the code look like? Let's analyse this example code that generates the products table, visible on the image above.
Please notice that the entire PDF structure and content are implemented in c# code, without any visual designer. This significantly improves code reusability and maintenance. It also makes the entire Fluent API more discoverable as it is available via IntelliSense. The Fluent API also supports all standard C# features (as it is just a normal C# code), e.g. conditions, formatting and loops.
More details and a full explanation can be found in the Getting Started tutorial.
https://preview.redd.it/pu35nczzsw381.png?width=1096&format=png&auto=webp&s=37ad565681cae00ad882679b6b33aa08d9f7ca02
What is new in the 2021.12 release? This release of the QuestPDF library consists mostly of several improvements inspired by the community. I would like to thank all of you for your support and help.
  • Improved debugging experience for layout-related exceptions. To make the library predictable, it is (by design) very strict about layouting rules and throws an exception when a constraint cannot be met. In this release, each exception contains an element stack that provides all information needed to identify the issue. By default, this feature is enabled only when the debugger is attached.
  • Improved layouting algorithm performance by introducing an additional caching layer. This cache reduces the layouting time by half. By default, this feature is enabled only when the debugger is not attached (mostly release mode).
  • Reduced GA pressure put by the layouting algorithm. Previously, every element measurement operation was represented by an object and the paging support was done via class hierarchy. The new solution uses structs (which are value-types) and enums. This also makes the code more readable and easier to follow.
  • Added support for generating XPS files that are easier to print in the Windows environment. This was possible due to existing support in SkiaSharp. This change was proposed by sbrkich, thank you!
New debugging experience in action As mentioned, the QuestPDF library is very strict regarding layouting rules and throws an exception when a given constraint cannot be met. To better understand why this release is so important, let's analyse the code below. We define a nested container that requires more space than its parent can provide (150 points does not fit in 100 points). In such a simple example, it is easy to find. But in the real world scenario, with hundreds of lines of code, it is way more challenging.

https://preview.redd.it/9m02fmkisw381.png?width=574&format=png&auto=webp&s=29c1c3959aafa2d58732c9aefe4f226db85a56da
QuestPDF should be a friend and help the developer as much as possible... Now, when the layouting exception is thrown, the developer gets a detailed element trace. I like to think about this as a stack trace but for visual layouts. So, if stack trace shows you an execution path, the element trace presents the rendering state and which elements have been rendered when the exception was thrown.
The indentation level corresponds to a nested child and follows the hierarchy. Each element provides additional information (e.g. text, colour value, size) that can help with element finding. To simplify the process, 🔥 shows a path to a potentially problematic element. The 🌟 indicate special components, e.g. page headecontent/footer or any instance of the new DebugPointer element.

https://preview.redd.it/y8yehg2rsw381.png?width=681&format=png&auto=webp&s=288425ec97cebddd0e2ad6f026e44131a2ea3411
How you can help
  • Give the official QuestPDF repository a star ⭐ so more people will know about it. Most developers evaluate project maturity based on the star count so let's help them make the right decision!
  • Give this post an upvote 👍,
  • Observe 🤩 the library to know about each new release,
  • Try out the sample project to see how easy it is to create an invoice 📊,
  • Share your thoughts 💬 with me and your colleagues,
  • Simply use the library in your projects 👨‍💻 and suggest new features,
  • Contribute your own ideas 🆕 and be our hero.
Useful links GitHub repository - here you can find the source code as well as be a port of the community. Please give it a star ⭐
Nuget webpage - the webpage where the library is listed on the Nuget platform.
Getting started tutorial - a short and easy to follow tutorial showing how to design an invoice document under 200 lines of code.
API Reference - a detailed description of the behaviour of all available components and how to use them with the C# Fluent API.
Release notes and roadmap - everything that is planned for future library iterations, description of new features and information about potential breaking changes.
Patterns and practices - everything that may help you design great reports and reusable code that is easy to maintain.
submitted by MarcinZiabek to csharp [link] [comments]


2021.12.06 09:00 savage_pickle I just want to stop hurting

I just want to stop fucking hurting. I want it to end. I haven't been able to fucking sleep my anxiety is so bad. I can't handle another bad thing happening to me. I don't know what i did to deserve all this. I just want to graduate. I want to be able to go to school without being scared I'm going to get jumped. I don't know what I fucking did. I'm trying so hard to stay out of people's way but it seems like everything I do pisses someone off... I just want to be happy. I want all of this to stop. I haven't slept in 3. fucking. Days. I can't fucking go to sleep.. I'm so tired... Make it fucking stop
submitted by savage_pickle to mentalhealth [link] [comments]


2021.12.06 09:00 Jolygolf_bot На приеме у Шевцова (текст записи в комментариях)

На приеме у Шевцова (текст записи в комментариях) submitted by Jolygolf_bot to Jolygolf [link] [comments]


2021.12.06 09:00 c0viDOMME COVID-19 testing in Schoolcraft County throughout December (national guard)

COVID-19 testing in Schoolcraft County throughout December (national guard) submitted by c0viDOMME to yooper [link] [comments]


2021.12.06 09:00 PrOxyMoron21 Over it

“He would not stay for me, and who can wonder? He would not stay for me to stand and gaze. I shook his hand, and tore my heart in sunder, And went with half my life about my ways.”
The world had gold once and now it’s gone. I am beginning to suspect that there aren’t really many left at all who even know what that rarified quality of being looked like.. Couldn’t recognize it if they saw it, couldn’t begin to even want to aim to attain it. Not in their nature anymore. Nothing left but fools gold and dreams of oblivion.
Live fast and die hard. You’ll always be golden in someone’s oft remembered dream.. a last memory polished over and over, desperate to not let the details fade. But I’m fading. Cast like a shadow under the Hiroshima sun of your passing.
submitted by PrOxyMoron21 to UnsentLetters [link] [comments]


2021.12.06 09:00 disgustandhorror Swear on Dolly!!

Swear on Dolly!! submitted by disgustandhorror to DerryGirls [link] [comments]


2021.12.06 09:00 vmaurya7 Enlightenment is not an experience.

The first glimpse of realization seems like the end, and really, it is. You know everything there is to know, which is nothing, and you know it instantaneously. Zen and non-dual teachings are really good at sparking the realization, at which point you are fully enlightened for, like, a few minutes, before it becomes a memory. Shortly thereafter, ego identification picks up right where it left off, and now claims enlightenment. I know this, not just because I’ve seen it and have heard about it through teachers like Adyashanti, but because I’ve done it.
It feels like the ultimate accomplishment. You feel like you’re glowing, constantly floating, with shiny eyes, boundless compassion, and infinite wisdom. It’s everything an ego could possibly want. There is no talking someone out of this phase. I knew what I knew, and no one could tell me otherwise. In my own mind, I could now behave as I pleased, since I was enlightened. I was beyond the boundaries of conventional behavior, like all those crazy saints I’d heard about. Do you see how dangerous this can be?
Listening to this now, it sounds like I had become an insufferable narcissist, which is exactly what I was prior to any “enlightenment,” and perhaps even more so after my formative experience. My clever little brain deflected any arguments against my realization as simply coming from those who couldn’t possibly understand. I was immune to criticism.
I know what the Zen and non-dual folks are going to say at this point, “simply return to the direct perception of no-self” or something along those lines. The problem is, the memory of the experience feels like the actual experience as far your ego is concerned. You won’t know you’re doing it until life hits you with some more suffering, and you’re forced to see it again. Ram Das called this “fierce grace,” an apt term. Fierce grace will snap you right back into lucidity, and you’ll be faced with the reality that all you’ve been doing is avoiding your unresolved human stuff, something that you’ll have to face after you get that initial taste.
Hopeful aspirants LOVE to point out exceptions to this rule, like Ramana Maharishi, assuming that will the the case for them, too. Remember how Ramana was sitting in a cave for several years after his experience. What do you think he was doing? That’s right, going through this same period I’m talking about, except in a more saintly and dignified manner, before making the critical decision that he should spend the rest of his life in a diaper.
To those who will say, “you are already enlightened” because you’ve heard it said elsewhere — how’s that working for you? That’s what I thought. In nearly every case, there is a prolonged process of integration and embodiment of the experience that can take years, rife with traps and delusions. And yes, non dual folks, the realization was always there, there is no ego, there is no one to fix, etc, etc. That’s all true, but in my experience and the experience of countless others, you kinda have to go through this rough patch where you’ll find yourself trying to make sense of it. It seems like an inevitable step you have to go through, and it’s easy to get lost. You’ll need a burning spiritual fire to see yourself through, and it’ll seem like there’s never an end to all the stuff you’ll have to face.
Then one day, it’s just over, and you’re just here, and you know that’s always been the case, and you’ll wonder what the hell all that fuss was about, and whether it was even necessary.
submitted by vmaurya7 to awakened [link] [comments]


2021.12.06 09:00 rtbot2 Apple challenging Russian requirement to let developers inform customers about payment options outside App Store

Apple challenging Russian requirement to let developers inform customers about payment options outside App Store submitted by rtbot2 to realtech [link] [comments]


2021.12.06 09:00 bemirlino- Or a Wheel of Fortune is also a good option

Or a Wheel of Fortune is also a good option submitted by bemirlino- to formuladank [link] [comments]


2021.12.06 09:00 LPT_Abuser Hey, fatty, if someone asks you a question that can be easily googled, please consider the fact that this person might just want to talk with you, dumbie.

https://www.reddit.com/LifeProTips/comments/ra1jma/lpt_if_someone_asks_you_a_question_that_can_be/
submitted by LPT_Abuser to AbusiveLPT [link] [comments]


2021.12.06 09:00 Peaelguy Nodoka Tenma

submitted by Peaelguy to WrestleWithTheJoshis [link] [comments]


2021.12.06 09:00 ekain-io Ekain Trailer - Welcome to the world of #NFTBOOKS

Ekain Trailer - Welcome to the world of #NFTBOOKS submitted by ekain-io to CryptocurrencyICO [link] [comments]


2021.12.06 09:00 DrKoNfLiCtTOAO How are the Mac firmwares still so shockingly bad after all these years?

It's weird how keychron markets their KB's for mac but any software from keychron for mac is shockingly bad and needs 3rd party tools to even run. People have been complaining about this for many years but apparently it's too difficult to hire someone semi competent to write a mac firmware that works.
They promised a universal software suite for RGB and firmware handling as well years ago but that never happened either. They keep releasing 20 keyboards a year but can barely throw together a working mac firmware. Am I the only one annoyed at this?
submitted by DrKoNfLiCtTOAO to Keychron [link] [comments]


2021.12.06 09:00 StopExodusCry I want to make sure I know what they mean (in the highlighted text). Did OY praise the Scarlet Letter because it didn’t describe the actual sex and society punished her by humiliation and shame for committing adultery? Or did they not approve of this book?

submitted by StopExodusCry to ENGLISH [link] [comments]


2021.12.06 09:00 auto_tuningRS Инсталиране на Модул комфорт мигачи CF-1 на Сузуки Гранд Витара

Инсталиране на Модул комфорт мигачи CF-1 на Сузуки Гранд Витара submitted by auto_tuningRS to SuzukiVitara [link] [comments]


2021.12.06 09:00 Beautiful_Law_7374 Tüm dünyaya ne dinletmek isterdiniz?

submitted by Beautiful_Law_7374 to KGBTR [link] [comments]


2021.12.06 09:00 Gersza Why would you spend too much money for anything? Wish promo codes 2021, wish.com promo codes 2021, Wish 80%

Why would you spend too much money for anything? Wish promo codes 2021, wish.com promo codes 2021, Wish 80% submitted by Gersza to WishPromoCodeShare [link] [comments]


2021.12.06 09:00 RobinDBank_ One fish, two fish, brick red fish, pacific blue fish

One fish, two fish, brick red fish, pacific blue fish submitted by RobinDBank_ to BlackPeopleTwitter [link] [comments]


2021.12.06 09:00 SearchEngineJournal HTTPS As A Google Ranking Factor: What You Need to Know

submitted by SearchEngineJournal to SEJ [link] [comments]


2021.12.06 09:00 Macaranzana España entre los países con menos espíritu navideño de Europa

España entre los países con menos espíritu navideño de Europa submitted by Macaranzana to mapasconcanarias [link] [comments]


2021.12.06 09:00 leftypipettey Found this on my violin. Doesn't look like a bow bug or booklice. It's less than 0.5mm and looks like a tiny grey speck when looked at with just a naked eye. Sorry if it's not the best photo, I'm usually looking at cells.😅

submitted by leftypipettey to whatsthisbug [link] [comments]


2021.12.06 09:00 Sure_Combination_725 Can’t really tell if my bupropion is helping my depression.

Lemme just start by saying that I am a big believer in this medication. I had very bad anxiety disorder and also adhd and it helped with with both. I noticed a change in my anxiety a lot because it would prevent me from having bad panic attacks often. I still sometimes get to the point where I have a tiny one but breathing technique’s help me a lot as well. Besides it helping my anxiety I take it for depression but I honestly have no clue if it really works like it’s supposed to. I’ve been taking it for a year and obviously don’t expect it to have the same effects as it did at the start but I see people talking about how it gives them an energy boost while also making them happy. I’ll have times where I get a random burst of dopamine for no reason and it makes me think if I’m supposed to feel that more with a medication like this. I have a terrible sleep schedule and I don’t eat very good foods so that could contribute to my feelings. Also my perception on happiness is very swayed because I got so accustomed to the immediate dopamine rush from smoking weed so much. I guess what I wanna know is, am I supposed to be feeling an energy boost every day when I take this?because if so I don’t and if I do get one and it’s for a short period at a random time.
submitted by Sure_Combination_725 to bupropion [link] [comments]


2021.12.06 09:00 Satoshi-Buterin Doge vs Shib

Hey guys i have been investing scince 2 years now and i am always confused between several coins so i want to know your opinion.So I will be conducting these battle kind of things between coins
5-7 months ago people were so hyped about doge(I myself bought doge)and then there was this coin called shiba inu AKA the doge killer.At this point i am soo confused btw these two.
So today’s battle is between these two(comment and support your favourite coin)
I will try to be conducting these every day/week
This way people can also know your opinion your opinion know which coin they should invest in
submitted by Satoshi-Buterin to CryptoCurrency [link] [comments]


2021.12.06 09:00 NBA_MOD [SERIOUS NEXT DAY THREAD] Post-Game Discussion (December 05, 2021)

Here is a place to have in depth, x's and o's, discussions on yesterday's games. Post-game discussions are linked in the table, keep your memes and reactions there.
Please keep your discussion of a particular game in the respective comment thread. All direct replies to this post will be removed.

Away Home Score GT PGT
Utah Jazz Cleveland Cavaliers 109 - 108 Link Link
Charlotte Hornets Atlanta Hawks 130 - 127 Link Link
Washington Wizards Toronto Raptors 90 - 102 Link Link
New Orleans Pelicans Houston Rockets 108 - 118 Link Link
submitted by NBA_MOD to nba [link] [comments]


http://istra-honka.ru