Reputation
1,586
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 10 12
Newest
 Yearling
Impact
~26k people reached

  • 0 posts edited
  • 189 helpful flags
  • 1,021 votes cast
Feb
9
comment How to find resource id's on a file sharing site
Look around on their site, find contact information, ask for documentation and rights to access the data in an automated fashion.
Feb
4
comment Efficient way in comparing two lists
@DavidPacker Are you suggesting to query for all records, do the filtering on the application side, and inserting the new ones? That's race-prone (in the case of multiple instances) and very costly as the number of elements in the database grows.
Feb
4
comment Efficient way in comparing two lists
Do you need to do any additional work in the application with the duplicates, or can you simply attempt to insert all entries and let the database reject the duplicates by virtue of unique constraints?
Feb
3
comment How does the base class non-virtual function get called when derived class object is assigned to base class?
I had hoped that this question was about slicing on assignment, but it seems that you've conflated pointers and objects.
Jan
31
comment How to guarantee web script execution sequence/order or not parallels queues
The universal truth of any distributed system is that wall time is not global and is not unique. If you want more guarantees with regard to ordering, you need to implement more coordinated ordering schemes.
Jan
18
comment Where is the class itself stored at runtime to be used as a reference
The OP may be used to prototype-based languages like JavaScript, where there is a master template that new objects are cloned from. Consider this in answers.
Jan
6
comment Is it true that calling _exit() instead of exit() won't prevent static destructors from being called?
@Frank Answers have no order, they're shuffled around to let good ones bubble up.
Nov
24
comment How can I handle errors in functions
Unless it's the name of a product, you should probably spell 'business' right.
Nov
5
comment Would it be possible to transfer an HTML file using a protocol different from HTTP?
Interestingly enough and very tangentially, if there is enough information in the client-initiated handshake to identify the kind of connection, you can have multiple services on a single port by having a program that disambiguates and forwards the connection to the right kind of protocol handler. ZNC uses this to have the WebAdmin UI and the IRC bouncer on the same user-defined port.
Nov
4
comment Readme.txt vs. README.txt
I've always thought that all-uppercase was a form of emphasis, much like how you have the sections of uppercase in legalese.
Oct
20
comment DirectX11: Where exactly does the buffer swapping happen in the 'Swap Chain'?
This question may be more on-topic on gamedev.stackexchange.com .
Oct
12
comment Are Windows 10 app services only useful in enterprise environments?
If not required to launch the app at all, it sounds like a great way to have optional added value from having multiple co-operating apps deployed on a system. Examples would be things like a game letting the user select from music the user owns could be enhanced by using app services from popular media streaming services if they have the app deployed, or using a limited interface to a social media app to do social integration in an interactive application.
Sep
6
comment Git repo with lots of medium-sized images?
@toniedzwiedz If you interpret the question as an X-Y problem, then suggesting solutions outside of the question box may make sense.
Aug
28
comment C++ serialization design review
@Snowman I did not notice that comment as I observed the problem in the actual code. The problem with "example code" is that neophytes will copy, paste, and mislearn from it. It should not be.
Aug
27
comment C++ serialization design review
For the love of sanity, don't using namespace std in interface code, and preferably don't do it in implementation code either. There's so many names in the standard namespace that may conflict with your names, either resulting in shadowing, accidental overloads or your code performing illegal specialization or otherwise causing ODR violations. Use type aliases or explicit qualification.
Aug
14
comment C# - design to parse and write csv and manipulating data
Isn't there a Code Review StackExchange site?
Aug
13
comment Linking kernel voids without CPU parse (Compute shaders)
@JamieNicholl-Shelley A function returning void has never in any language known to man been called void, much like how you don't refer to a function returning an int as an int. Kernel functions in compute are functions, or if you need to indicate the return type, a function returning void or colloquially, void function.
Aug
11
comment Counting lines of text and get color of a specific line in an image
A reason for a minimum group size may be diacritics adjacent to but not connected to the base glyph of the grapheme. Even in the US alphabet, you've got lowercase i.
Jul
20
comment Why does scala require parenthesis around the condition of an if statement
A notable example of asymmetric if is Python, with its affinity to lines, indentation and colons.
Jun
22
comment How should one document permission of contributors to change the licence of a project?
You may be able to incorporate elements of the story of the Dolphin emulator and their license change with a massive number of contributors: dolphin-emu.org/blog/2015/05/25/relicensing-dolphin