Normal view
- Is there any explanation or discussion regarding the change in the Bard class from its AD&D1ed orignal implementation? โ rpg.stackexchange.comIf I recall correctly, the Bard in AD&D1ed was a true dual (triple) class character who had to progress as a pure fighter, then a pure thief, and then finally could begin to progress as a bard. In ...
- How do computers prevent computational errors? โ electronics.stackexchange.comSay one transistor fails and causes the entire computation to be wrong, how does a computer check to see if it is correct? My only guess is that it does it multiple times across different units. I ...
How do computers prevent computational errors? โ electronics.stackexchange.com
- Aliens with an extra-set of ears- any possible benefits? โ worldbuilding.stackexchange.comWhile doing some concept drawings of an alien species for a project of mine I somehow wound up drawing a head with two sets of ears, one pair on the top of the head and the other lower with one on ...
Aliens with an extra-set of ears- any possible benefits? โ worldbuilding.stackexchange.com
- Why arenโt there Seaplane AWACS? โ aviation.stackexchange.comWhy are there no seaplane AWACS? AWACS aircraft are excellent force multipliers, with their detection and networking capabilities. Due to basic geometry, they can allow a naval force to โseeโ beyond ...
Why arenโt there Seaplane AWACS? โ aviation.stackexchange.com
- An Introduction to ASP.NET Core MVC through an Example (Part 5)In Part 4, we added basic support for the shopping cart, and now we'll enhance and refine that functionality.
An Introduction to ASP.NET Core MVC through an Example (Part 5)
- How can I find where a short has occurred inside of a PCB? โ electronics.stackexchange.comI have designed a board in KiCad that I then had manufactured by JLCPCB. It has a ground plane and a 5V plane, which are shorted together. This does not appear in the schematic or PCB files. How can I ...
How can I find where a short has occurred inside of a PCB? โ electronics.stackexchange.com
- How to Personalize Your Blog Like These 10 Top BloggersThe post How to Personalize Your Blog Like These 10 Top Bloggers appeared first on ProBlogger. Lots of bloggers seem to do everything right, yet they donโt see much success. They write well-structured posts, they pay attention to SEO, they know the ins and outs of their blogging software โฆ but somethingโs lacking. That missing โsomethingโ can often be personality. Itโs the difference between a blog that readers come across and instantly forget โฆ and a blog that makes a connection and an impact.
How to Personalize Your Blog Like These 10 Top Bloggers
The post How to Personalize Your Blog Like These 10 Top Bloggers appeared first on ProBlogger.
Lots of bloggers seem to do everything right, yet they donโt see much success.
They write well-structured posts, they pay attention to SEO, they know the ins and outs of their blogging software โฆ but somethingโs lacking.
That missing โsomethingโ can often be personality. Itโs the difference between a blog that readers come across and instantly forget โฆ and a blog that makes a connection and an impact.
Does your blog need a bit of extra personalisation? Hereโs how ten top bloggers make their blogs stand out:
#1: Include Great Photos, like Caz and Craig from YTravel
Blog: YTravel
Some blogging topics pretty much demand great photos. Travel is one of those (and others include food, craft and fashion blogging).
Caz and Craig post gorgeous, smiley photos of their family. Some of these are simple candid snapshots, like in 17 Tips for Flying With Kids to Keep You Calm and Happy, and others are a little more posed, like the photos in Getting Settled in the USA + Where to Next.
Lessons learned:
- Photos of you, living the lifestyle you blog about, help your reader to feel connected to you: they know what you look like.
- If youโre looking for help taking better photos, check out my other blog Digital Photography School. You can find our beginner-friendly tips here.
#2: Add Some Flair, like Pat Flynn from Smart Passive Income
Blog: Pat Flynn
As soon as you visit Patโs blog, you see huge text of his name and photos of him with what heโs about โ โfather, husband, serial entrepreneurโ โ as well as his quirky humour: โprotector of baby yodaโ.
Lessons learned:
- Donโt be afraid to go big! That might mean a huge photo of yourself, a bold statement, or an About page thatโs filled with images.
- Talk about who you are beyond blogging: Pat lists his favourite book, movie and game, and writes about his family on his About page.
#3: Develop a Strong, Identifiable Tone, like Shannon Kelly White [language warning]
Blog: Shannon Kelly White
Salty language tends to polarise readers: some love it and find it a big part of a blogโs appeal; others will be put off and wonโt return. Shannon swears โ frequently and enthusiastically โ on her blog (even in her tagline and navigation menu):
Lessons learned:
- Tone is memorable. It can make otherwise fairly dull posts a much more interesting read, like Foods Your Toddler Might F*cking Choke On.
- Even if your tone alienates some readers, itโll win the hearts of others. As one of the comments on Shannonโs About page puts it โI love someone who swears as much as me and sounds just as cool.โ
#4: Get Custom Illustrations, like Ramsey from Blog Tyrant
Blog: Blog Tyrant
As soon as you visit Blog Tyrant, youโll see the red-shirted blogging super-hero avatar: this illustration features in the banner image on the home page, and in the feature images for several of his posts:
Itโs also on the front cover of his free report.
Lessons learned:
- Custom illustrations can create a sense of consistency across your blog. Blog Tyrantโs not the only blogger who uses them in this way: Social Media Examiner have their little jungle explorer in their header and at the start of each post.
- If youโre not comfortable including personal photos, a cartoon version of you can be a great alternative.
#5: Focus on your โAbout Pageโ, like Elsie and Emma from A Beautiful Mess
Blog: A Beautiful Mess
New readers may land on any post on your blog โฆ and you can bet if they like it theyโll be checking out who the blogger is behind the post, by clicking on your โAboutโ page next.
It can help to give them a quick glimpse into who you are and what youโre all about. Sisters Elsie and Emma do this stylishly with a bright, bold photo and short but cacthy introduction.
Lessons learned:
- An โAbout meโ widget in your sidebar is a great place to create an instant connection with your reader. Include a link to your full About page too.
- Happy, smiley photos of you are always a great draw. Some bloggers include these in the header, but the sidebar is a great alternative.
#6: Be Consistent With Your Branding Across Platforms, like Chris Ducker
Blog: Chris Ducker
Chris Ducker uses the same (smiling) headshots on each of his blog post images, his About page, Twitter, Facebook and LinkedIn, creating a consistent brand across multiple platforms:
Lessons learned:
- If youโve gone to the time and expense of getting professional headshots done, use them โ not just in your banner image, but on social media too.
- You may want to have variations on your headshot, from the same shoot (compare Chrisโs front page image with his About page headshot, for instance).
#7: Use Color to Boost Your Brand, like Jadah Sellner
Blog: Jadah Sellner
When you visit Jadahโs site, your eyes are instantly drawn to her beautiful color scheme:
The colours of her clothes tie in with the color theme of the site: it feels like everything fits together seamlessly. (The whole combination feels like a warm, earthy makeup palette)
Lessons learned:
- Color matters! Perhaps bright colours arenโt quite right for your blog, but you can still create a similar banner image that takes colours from a photo of you and uses them for text and other elements.
- Use color consistently across your site: check out Jadahโs contact page for some examples.
#8: Use a Brand Statement in Your Content, like James Schramko from SuperFastBusiness
Blog: SuperFastBusiness
The first thing you see on James Schramkoโs site is a brand statement calling out his business coaching services and who theyโre for. Instantly, itโs clear what heโs all about and โ crucially โwhat kind of audience/customer heโs making content for.
Lessons learned:
- Donโt be afraid to be direct and let people know exactly what youโre about and who youโre blogging for.
- Make sure, though, your focus isnโt just on yourself and your own story but on how you can have an impact on readersโ lives.
#9: Have a Tagline and โCall to Actionโ that Cuts Straight to the Chase, like Kelly Exeter
Blog: Kelly Exeter
If you can tell your ideal readers, in just a few words, that your blog is exactly the right place for them:
(Your name) is a (what you do) who helps (your ideal reader)โฆ (do what you offer).
And if you have something to offer, get your readers to take action straight awayโฆย Thereโs no use putting them through some complicated email subscription auto-responder series, just get them to click a button and โFIND OUT HEREโ what you can do for them.
Like Kelly:
Lessons learned:
- Think about your tagline as who you serve (โsmart peopleโ) and what your blog will help those people do (โamplify their ideasโ).
- Add a compelling call to action that gives your audience immediate access to what they came to your blog for in the first place
#10: Personalise Your Reader by Defining Them (or Helping them Define Themselves)
Blog: Puttylike
Emily has a TedTalk that identifies her personality type as a โMultipotentialiteโ and she creates an audience of people who identify with her definition.
The genius move by Emily is that on her home page she uses a quiz as a lead-magnet (โAre You a Multipotentialite?โ) to convert random visitors to her site into repeat readers.
ย
Lessons learned:
- Define your audience. Help your audience define themselves. Use a quiz or questionnaire.
- Develop a lead magnet that converts web traffic into an audience for your blog and put that front and centre.
How are you currently showing your personality on your blog? Did anything resonate with you as you looked at the above examples โฆ and what will you try next?
The post How to Personalize Your Blog Like These 10 Top Bloggers appeared first on ProBlogger.
- DDD Identifier, autoincrement ID and UUIDI'm developing web application project in Typescript while learning and applying DDD (domain driven design) at the same time. In our database we use autoincrement ID's for the primary keys. But this approach is something means that no ID will be ready until an entity is persisted. In DDD every entity that is created should have its identifier from start, so what happens when an entity is created before it is saved to the database? (for example it is created in the frontend). Then, no ID will be
DDD Identifier, autoincrement ID and UUID
I'm developing web application project in Typescript while learning and applying DDD (domain driven design) at the same time.
In our database we use autoincrement ID's for the primary keys. But this approach is something means that no ID will be ready until an entity is persisted.
In DDD every entity that is created should have its identifier from start, so what happens when an entity is created before it is saved to the database? (for example it is created in the frontend). Then, no ID will be available.
In DDD as well its said that every value that is not a entity should be a Value Object, hence the identifier should be a value object as well.
With those premises, I thought of a UniqueEntityID value object that will do the following:
- The UniqueEntityID hold 2 attributes, uuid and autoincrementId.
- When the ID is created, if no value is passed to the contructor, it will use a randomly generated uuid, but if a value is give, it will be the autoincrement of the database.
- To get the real value of the ID, there's a value getter, that will provide the autoincrementId if it exists or the uuid if not.
This way, whenever the entity is retrieved from the repository it will come with the autoincrementId as the value, but to the newly created entities, it will use the UUID. At the moment of saving an entity, if the ID is not persisted it is removed from its attributes, so the new entity is created in the database.
Please tell me if this approach is correct, or if it is an anti pattern, or if I'm missing something.
This is the code used for the UniqueEntityID.
class UniqueEntityID {
private readonly uuid: string
private readonly autoincrementId: number
/**
* Creates an identifier using UUID implementation,
* used when the entity is not yet persisted.
*/
constructor()
/**
* Creates an identifier using the autoincrement ID
* from the database.
* @param id - The ID given from a database autoincrement.
*/
constructor(id: number)
constructor(id?: number) {
if (typeof id === 'undefined') {
this.uuid = v4()
} else {
this.autoincrementId = id
}
}
/**
* Check if the ID is an autoincremented ID generated by
* the database
*/
get isPersisted() {
return typeof this.autoincrementId !== 'undefined'
}
/**
* The value of the ID.
*/
get value() {
return this.autoincrementId ?? this.uuid
}
}
Best regards, Jorge
- Merge many large tables in PostgreSQLI have 150 tables with the same columns representing areas in a country. The size of each table is millions of rows and tens of GB in size. I want to combine all the tables into one with the aim of improving and increasing the accuracy of the spatial operations that I perform. What is the most efficient way in terms of speed and storage to combine these tables in PostgreSQL? For example I have Table 1: fid column-1 column-n geom ----------------------------------------- 1 001
Merge many large tables in PostgreSQL
I have 150 tables with the same columns representing areas in a country. The size of each table is millions of rows and tens of GB in size.
I want to combine all the tables into one with the aim of improving and increasing the accuracy of the spatial operations that I perform. What is the most efficient way in terms of speed and storage to combine these tables in PostgreSQL?
For example I have Table 1:
fid column-1 column-n geom
-----------------------------------------
1 001 ... geometry-001
2 002 ... geometry-002
Table 2:
fid column-1 column-n geom
-----------------------------------------
1 003 ... geometry-003
2 004 ... geometry-004
Expected merged table:
fid column-1 column-n geom
-----------------------------------------
1 001 ... geometry-001
2 002 ... geometry-002
3 003 ... geometry-003
4 004 ... geometry-004
The way I am thinking is to insert tables 2,3,4,5,..,150 into table 1, then delete tables 2,3,4,5,...150
However, this will take a long time and take up quite a lot of storage, so is there a better way?
- Are there any languages where conditions are not first-class expressions? โ langdev.stackexchange.comNovices writing in mainstream languages often don't realise that conditions like x < y are expressions which can occur anywhere an expression is syntactically expected; they may think that such ...
Are there any languages where conditions are not first-class expressions? โ langdev.stackexchange.com
- Working with frames in a video using OpenCV and Tkinter.This article is a demonstration of some of the capabilities of the OpenCV library of Python.
Working with frames in a video using OpenCV and Tkinter.
- Working with frames in a video using OpenCV and Tkinter.This article is a demonstration of some of the capabilities of the OpenCV library of Python.
Working with frames in a video using OpenCV and Tkinter.
- How would a predator adapt to prey on sapient species? โ worldbuilding.stackexchange.comIn this case, I am referring to my orc-equivalent species who are closely related to the true elves, adapting to the intelligence of the elves with camouflage and mimicry, as well as tusks that are ...
How would a predator adapt to prey on sapient species? โ worldbuilding.stackexchange.com
- Smart Android Template for Data PerformanceSmart Android Template for Data Performance with International Signals Code as a Sample
Smart Android Template for Data Performance
- Interrupt HandlingI want to create a priority based interrupt handler for real time events in windows . Its my OS project. What software am I supposed to use? Help me start with my project. I want to know the software to use for my project and the code guidance.
Interrupt Handling
I want to create a priority based interrupt handler for real time events in windows . Its my OS project. What software am I supposed to use? Help me start with my project.
I want to know the software to use for my project and the code guidance.
- RTC Super capacitor is discharging very fast โ electronics.stackexchange.comI am using PCA85073A RTC in my design.In some boards we are facing an issue that the supercapacitor is getting discharged very fast(5V to 1.1V in half an hour). This happens when we turn off 5V_uC. ...
RTC Super capacitor is discharging very fast โ electronics.stackexchange.com
- I have begun to write a science fiction story, is this description of a super soldier a viable, and grounded, creation? โ worldbuilding.stackexchange.comBelow is a excerpt of a set of notes that I have compiled that is the basis for a science fiction story that I am writing. I have spent a fair amount of time trying to come up with a ...
I have begun to write a science fiction story, is this description of a super soldier a viable, and grounded, creation? โ worldbuilding.stackexchange.com
- Is it good practice to place decoupling capacitors near connector pins? โ electronics.stackexchange.comIve seen some notes online about placing decoupling capacitors near I/O connector pins, as well as some saying Power lines of connector pins. Despite this, I feel that I havent often seen caps next to ...
Is it good practice to place decoupling capacitors near connector pins? โ electronics.stackexchange.com
- Is there a way to take away an action in D&D 5e? โ rpg.stackexchange.comI'm trying to make a monster in D&D 5e and I can't find anything on taking away actions. I want to have a monster that can take away a player's action, but I can't find anything on it. I know I ...