u/leixiaotie - 35 Archived Voat Posts in v/programming
u/leixiaotie
  • home
  • search

u/leixiaotie

4 posts · 31 comments · 35 total

Active in: v/programming (35)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Comment on: You Don't Have to Be Good at Math to Learn to Code

Exactly my reaction. Try to do sorting, aggregate / set functions and performance tune up database operations, you will meet with a wall named math.

1 04 Sep 2015 15:03 u/leixiaotie in v/programming
Comment on: Here are the top 10 programming languages used on GitHub

C# at 8? Not bad!

1 20 Aug 2015 08:33 u/leixiaotie in v/programming
Intel just open sourced Stephen Hawkings speech system and its a .NET 4.5 [X-Post from /v/technology]
20 2 comments 18 Aug 2015 10:56 u/leixiaotie (..) in v/programming
Comment on: the big list of programming and computing subverses

I'm the one who must say so. Thank you! :)

1 13 Aug 2015 09:09 u/leixiaotie in v/programming
Comment on: the big list of programming and computing subverses

I've just created /v/askdev. Here you can ask anything related to IT world, even networking, career or robotics software. Currently it have about 12 subscribers there.

0 13 Aug 2015 07:20 u/leixiaotie in v/programming
Comment on: How do you designed your currency exchange rate table?

Easy, it's not like this question is being responded anyway.

0 05 Aug 2015 16:41 u/leixiaotie in v/programming
Comment on: How do you designed your currency exchange rate table?

What's the different here with [HELP] flair and /v/LearnProgramming? I won't mind to x-post there

0 05 Aug 2015 02:58 u/leixiaotie in v/programming
How do you designed your currency exchange rate table?
1 4 comments 04 Aug 2015 11:19 u/leixiaotie (self.programming) in v/programming
Comment on: Why the Open Code of Conduct Isnt for Me

Oh crap. Seems like a small issue but big in programming world. In the simplest situation, someone need to think three times to say that some other's code is wrong, in any manner, because it can offend them? Err...

0 30 Jul 2015 03:20 u/leixiaotie in v/programming
Comment on: What I've Learned Making a Game Engine, Part I [x-post /v/EngineDev]

Looks like I misunderstand your writing. Do you write the article to discuss about the internal design of your game engine or API that will be exposed outside? I read it as the former and looks like you are referring to the latter one.

If the case is to develop API which will be used, then implicit flexibility (the condition is unknown to the user) is indeed, more harmful than good. Explicit flexibility (different parameter type for example) is arguable though. Having API with close to one operation and close to none configuration is better than the opposite (exceptions still apply though).

For the internal process, flexibility to certain degree is indeed required, otherwise it'll lead to major refactoring here and there. And no, DI with constructor injection is different than reflection-based flexibility. But it's another discussion about DI.

Moreover, documentation-driven-development will be more useful for API development.

0 29 Jul 2015 04:08 u/leixiaotie in v/programming
Can we have stickied post linked to useful materials?
1 2 comments 28 Jul 2015 09:59 u/leixiaotie (self.programming) in v/programming
Comment on: What I've Learned Making a Game Engine, Part I [x-post /v/EngineDev]

Good post, but my golden rule is: extremely applying some guidance never bring any good. YAGNI is one. If you develop something without at least researching and developing some of useful-simple features then you will be faced with refactor-intensive code or WET (write everything twice) code out there.

That said, if you have enough manpower and resource to develop the engine, you can always develop with documentation-driven-development first then followed by test-driven-development. To be honest, I am always regret myself for developing a framework without documentation-driven-development due to lack of manpower.

If you don't have manpower and resource, focus to develop some simpler useful utilities features first. Example if you use stong-typed language as Java or C#, non-throwing data conversion tools will be useful (from string especially). For weak-typed language as javascript, data-type detection tools or explicit data-type conversion tools will be useful. Priority on tools that: 1. do primarily close to one job only (non-complex), 2. have close to none configuration, 3. certainly will be used.

And you get it wrong on flexibility. Flexibility can be achieved by many things, clean or ugly. Reflection flexibility is imho ugly, unless you know what you are doing with it (dynamic code compiler is one thing that can be helped with reflection). Reflection also slow for large data operation (AutoMapper suffer from this). Dependency injection is cleaner, but still the implementation is debatable whether it is clean or not.

After all, only experience can determine whether you can develop a good flexible usable features or resort to refactor-intensive code. However overall, good post.

1 28 Jul 2015 09:52 u/leixiaotie in v/programming
Comment on: Codecha - True Programmers' CAPTCHA

Imagine that stackoverflow using this as captcha for posting question. Mind-blown.

1 26 Jul 2015 17:30 u/leixiaotie in v/programming
Comment on: Codecha - True Programmers' CAPTCHA

true...

0 26 Jul 2015 17:29 u/leixiaotie in v/programming
Comment on: Hey I'm trying to start learning programming but i am having a hell of a time starting. Is there a correct pathway to starting the adventure that is programming?

The other NSA already read this thread though. Maybe they will think: "we are popular that some newbie want to join us"?

1 26 Jul 2015 17:28 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

Thanks. I've do some research and distributing the .net runtime is indeed bad practice and can cause license violation. The rest is fine.

0 26 Jul 2015 17:17 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

Nice advice. Looks like I try to use this path though.

1 26 Jul 2015 17:14 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

At first this seems like a bad, ignorant answer. But the sad truth is it is true :)

1 26 Jul 2015 17:13 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

Woah the answers here are awesome and many. Tomorrow I'll try to respond each one and summarize them!

0 24 Jul 2015 19:01 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

I am aware with .Net core and it's open source. But it's not yet completed (correct me please) and in progress. Currently I'm not sure that the version of .Net I'm currently using is open-sourced already or need to wait for .Net core to complete. Additionally, I am using Roslyn in this project, and Roslyn is also part of open-sourcing .Net. But still, it's in pre-release right now.

For me, knowing that .Net is now starting to open source is different with understanding that .Net is free to use for open-source project. But looks like I'll try to look for it whether it's really free to use for open-source project.

0 24 Jul 2015 07:00 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

IMO it's as easy as put them under ODesk/Upwork if the capital is easy part here. I can't say that there is any incentive that I can give. However, given the fact that the final product itself can be beneficial to the programmers itself, is it enough incentive?

0 24 Jul 2015 06:33 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

Honestly, yes. I am under impression that C# cannot be open-sourced. At least I can't ensure that distributing the binary files don't violate any license.

Roughly searching, I find a good thread in SO about open source C# project. here. At least I am not alone in considering license issue.

By the way, is there any documented article that stated the licensing activity with C#/.net?

1 24 Jul 2015 06:29 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

Good point. I have a working viable product already in C# and as I stated before, I don't want license problems so I decided not to continue it. Looks like I need to re-develop it in another open-source language as well before continuing.

0 24 Jul 2015 05:31 u/leixiaotie in v/programming
Comment on: Where to look for open source project developer?

Thanks for feedback!

Haven't tried any new languages after expertise with C#. Looks like in next several months I want to begin learning new one. I have choices between Lisp, Python, Haskell, Ruby. Preferably Lisp since it's said to be most powerful. Or Python since it's seems popular.

Haven't really consider Go until now. Could you ELI5 me what's good about Go and how it stand between those open-source language?

Edit: add Python

1 24 Jul 2015 05:26 u/leixiaotie in v/programming
Where to look for open source project developer?
5 23 comments 24 Jul 2015 05:05 u/leixiaotie (self.programming) in v/programming
Comment on: Why the Open Code of Conduct Isnt for Me

Could someone ELI5 me what is code of conduct and why it is bad in github?

2 24 Jul 2015 04:40 u/leixiaotie in v/programming
Comment on: Developing for speed: Know your hard disk.

In C#, I just found this. It is using winapi or similar lower module to do direct access to harddisk.

I still believe that the majority of higher-level abstraction language such as C# and java don't have many harddisk operation. Most of them provide memory processing or they are using database as storage instead. The file saving operation usually lower than 10 mB. Don't know about C/C++, but I think it should be around the same.

So in non-intensive harddisk operation apps, the technique to direct access harddisk is overkill. A more general performance optimization such as sorting algorithm can be used almost anywhere that involve sorting.

I don't say that your tips isn't useful or significant. I just stated why there is lack of interest of direct-hardware operation, compared to general-applicable optimization such as algorithm. Moreover, hardware is different from one and another, such as NAS-hdd, make it harder to do programming through hardware.

0 23 Jul 2015 03:57 u/leixiaotie in v/programming
Comment on: Instead of deleting borderline stuff, let's flairs!

You just updated the flair list. Sweet move.

Edit: The help/education/beginner IMO is redundant. Isn't help/education is sufficient here unless multiple flair can be used in same post?

1 22 Jul 2015 12:43 u/leixiaotie in v/programming
Comment on: Instead of deleting borderline stuff, let's flairs!

In your post above it only shows 8 (and one of no flair). What is the other 2?

Or, where can I see the list of flair in one subverse?

0 22 Jul 2015 12:21 u/leixiaotie in v/programming
Comment on: Developing for speed: Know your hard disk.

Context is needed here.

For programming language closer with hardware such as C/C++ and assembly maybe your point is on the spot here.

For higher one such as Java and C#, the function that you are describing here is not applicable, since in those language the function has been abstracted and handled behind the scene.

And not every apps using hard disk to operate. I think the people will like to discuss more general-applicable case rather than specific like this.

0 22 Jul 2015 09:05 u/leixiaotie in v/programming
Comment on: Instead of deleting borderline stuff, let's flairs!

Similar with stackoverflow eh? [Migrated/Closed/Duplicated] Nice one though, I prefer something like this. Hopefully we can search by flair later on.

Please add [Tips n Trick] or [Technical] flair for articles that is technical (ORM and design pattern for example). And I think something about [Discussion] will purpose good here.

And hopefully we can mark reposted article though.

0 22 Jul 2015 08:56 u/leixiaotie in v/programming
Comment on: [META] I'm the moderator of /v/programming and pledge to be more active from now on - AMA

Good luck :) And as suggestion, please differentiate the css style (color) between quotes and comment replies though. Sometimes it's swapped each other when I read them.

0 17 Jul 2015 15:43 u/leixiaotie in v/programming
Comment on: Hey /v/programming - What's your favorite language to program in and why?

You have a good statement there. C# is not the best tools to develop small apps, and heavyweight as well. That is at least true for winform and wpf, but I don't think the same can be applied to console apps.

C#'s main strength comes from the abstraction, and more or less it is a verbose language (CMIIW).

0 15 Jul 2015 10:12 u/leixiaotie in v/programming
Comment on: Why this sub sucked on Reddit and how to make it not suck here

This can be improved with subvoat synonym mechanism. Tagging is better, but require more effort and also require synonym, so subverse synonym should at least give some improvement.

The poster can tag the question as v/prog_design, v/prog_help, v/prog_architecture, v/prog_syntax, v/prog_language, v/prog_feature and all of them can be seen from v/programming. Meanwhile user can also filter into synonym.

That way, you can filter for whatever discussion you like without negating the rest invisible to everyone.

1 15 Jul 2015 09:57 u/leixiaotie in v/programming
Comment on: Why this sub sucked on Reddit and how to make it not suck here

It does. Stackoverflow does not allow discussion that is mainly opinion-based or lack of research.

But many of programming question is opinion-based (architecture, design, language comparison). Some even goes into holy war, ex: surrogate vs natural keys, emacs vs vim, tab vs spaces for indentation.

And for the lack of research. Programming is all about terms, what if we want to do some research about something but don't know what we want to search?

Those discussion can leads here.

1 15 Jul 2015 09:44 u/leixiaotie in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.