Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

Activity for Alexei‭

Type On... Excerpt Status Date
Edit Post #286135 Question closed about 3 years ago
Edit Post #286125 Post edited:
improved the title + minor fixes
about 3 years ago
Edit Post #286041 Nominated for promotion about 3 years ago
Edit Post #286065 Post edited:
removed non-applicable tag
about 3 years ago
Edit Post #286069 Initial revision about 3 years ago
Answer A: How to get rid of HTML tags and convert entities in SQL Server?
One way is to create a scalar function that takes an NVARCHAR(MAX) input and performs the following operations: - replaces frequent tags with they plain text equivalent (e.g. `` with chars 13 + 10) - replaces spacial entities with their correspondent UTF character (e.g. `&copy;` with `©`) - comp...
(more)
about 3 years ago
Edit Post #286068 Initial revision about 3 years ago
Question How to get rid of HTML tags and convert entities in SQL Server?
I have to migrate a bunch of text from an old application into a new one. Some of these texts contain HTML tags and entities (HTML editor was used) and now they do not want to support this in the new application. How to get rid of the tags and transform the HTML entities?
(more)
about 3 years ago
Comment Post #286065 I am wondering if it works if you change the server-side "reload" to a [client-side one](https://developer.mozilla.org/en-US/docs/Web/API/Location/reload): `location.reload()`
(more)
about 3 years ago
Comment Post #286065 I have not programmed in PHP for ages, but looking [at the docs](https://www.php.net/manual/en/function.setcookie.php) it seems that "Once the cookies have been set, they can be accessed on _the next page load_ with the $_COOKIE array." Your code seems to immediately redirect and the cookies array mi...
(more)
about 3 years ago
Edit Post #285946 Nominated for promotion about 3 years ago
Edit Post #282226 Post edited:
added relevant tags
about 3 years ago
Comment Post #286047 I am not working with a Java IDE, but I am wondering if you have the option to place a breakpoint for `x.foo` and step over it (might also work with dragging current execution point to a subsequent instruction).
(more)
about 3 years ago
Edit Post #286047 Post edited:
added relevant tag
about 3 years ago
Edit Post #286045 Post edited:
removed useless reference to another user
about 3 years ago
Comment Post #286041 [This article](https://www.danielsieger.com/blog/2021/01/03/generating-platonic-solids.html) might be useful in getting a more generic way of building a dodecahedron.
(more)
about 3 years ago
Edit Post #286041 Post edited:
add/remove tags
about 3 years ago
Edit Post #286031 Post edited:
added relevant tag
about 3 years ago
Edit Post #286027 Post edited:
using existing tag
about 3 years ago
Edit Post #286029 Initial revision about 3 years ago
Answer A: How to create an object, call one of it's methods and pass it as an argument as a oneliner?
If you do not mind having so much code on a single line, the builder pattern might be useful here. Something along the lines: Note: the example is adapted based on an implementation I have done in a .NET and deviates from the canonical example shown in the reference. Define the builder ```ja...
(more)
about 3 years ago
Comment Post #286017 How about using [the builder pattern](https://howtodoinjava.com/design-patterns/creational/builder-pattern-in-java/). You create a builder class (`FooBuilder`) for Foo. I guess the test could like the following: `new FooBuilder().withX(42).build().getY()`. The advantage of this pattern is that ...
(more)
about 3 years ago
Edit Post #286008 Post edited:
added relevant tags
about 3 years ago
Edit Post #284194 Nominated for promotion about 3 years ago
Edit Post #285898 Nominated for promotion about 3 years ago
Edit Post #285973 Initial revision about 3 years ago
Answer A: Software recommendations category
> Shouldn't it be a category of Software Development too? Probably not Unless it is a very specific question as in the examples provided by Lundin which are clearly related to software development, I would not like general software recommendations on Software Development: - Power User Codid...
(more)
about 3 years ago
Edit Post #279543 Post edited:
about 3 years ago
Edit Post #277134 Post edited:
about 3 years ago
Edit Post #278262 Post edited:
about 3 years ago
Edit Post #277137 Post edited:
about 3 years ago
Edit Post #281624 Post edited:
about 3 years ago
Edit Post #278939 Post edited:
about 3 years ago
Edit Post #278625 Post edited:
about 3 years ago
Edit Post #277134 Post edited:
added order
about 3 years ago
Edit Post #277136 Post edited:
added order
about 3 years ago
Edit Post #277137 Post edited:
added order
about 3 years ago
Edit Post #284175 Nominated for promotion about 3 years ago
Edit Post #282565 Nominated for promotion about 3 years ago
Edit Post #284553 Nominated for promotion about 3 years ago
Edit Post #284596 Nominated for promotion about 3 years ago
Edit Post #284646 Nominated for promotion about 3 years ago
Edit Post #284708 Nominated for promotion about 3 years ago
Edit Post #278767 Nominated for promotion about 3 years ago
Edit Post #278767 Post edited:
added relevant tags
about 3 years ago
Edit Post #284910 Nominated for promotion about 3 years ago
Edit Post #285050 Nominated for promotion about 3 years ago
Edit Post #285104 Nominated for promotion about 3 years ago
Edit Post #285021 Nominated for promotion about 3 years ago
Edit Post #285225 Nominated for promotion about 3 years ago