|
|
|
That's the first one I downloaded. The trouble is, it will not build without an existing binary because it generates itself.
They didn't bootstrap the distro with the necessary source files (which would be regenerated anyway)
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Reverse recursion.
There's a fitting punishment for that.
|
|
|
|
|
I think in many cases, using your code generator to build your code generator is fine, but bootstrap the damned build so the first build doesn't need the binaries. All it involves is including the most recent generated source files!
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
A problem with that approach is when your code develops, and the first build can not be used anymore to build the last build. And then the first version is lost in a server crash.
I just wish I made this up.
|
|
|
|
|
First of all, if a server is bringing down your codebase, why aren't you using source control
second, just to be clear on my part, the most recent build is the one that builds the next build. And any time you modify a spec file it should trigger a rebuild. Those sources that are the result of that go into source control
once you set up the pre-build step it's cake.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Trust me, I use version control. This wasn't first person experience.l
|
|
|
|
|
Fair enough, and I didn't mean you specifically. But my point is that if you aren't using some kind of source control you can invite trouble just by glancing at something sideways. Hard drive failure, solar flares, bad hair day, anything you don't prepare for can disrupt your code. That's life.
So I wouldn't blame the technique for the issue. I use the technique in by Build Pack, which is kind of my latest meta project. It works great. And it's easy to build. And build again.
There is a locking issue due to a circular dependency in the build step so you have to build twice the first time, but whatever.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Add this to the list off offenders...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
|
|
Christmas ads[^]
Sports commentary at it's best[^]
Frank Wilhoit: “Conservatism consists of exactly one proposition …There must be in-groups whom the law protects but does not bind, alongside out-groups whom the law binds but does not protect.”
We never have had a president* so completely deserving of scorn and yet so small in the office that it almost seems a waste of time and energy to summon the requisite contempt
|
|
|
|
|
|
This explains why chimps didn't evolve to live in glass houses.
/ravi
|
|
|
|
|
Hello!
I opened a old project and some source files with VS .
If the files was written with Windows characters eg. "Windows: Western"
an alert said that this file is now restored.
But the characters with codes above x7f are marked as unknown characters.
Do somebody know a tool to convert such files to Unicode without loss of the meaning of such characters?
Thank you
Erhy
|
|
|
|
|
You can use Notepad++ to convert a file to a different codepage.
And next time you have a question, there are better forums than the Lounge for that.
|
|
|
|
|
I need a tool which searches for sources and other text files and
convert them to Unicode with BOM,
and leave the modification time.
I think, the new convention, where text files without BOM are processed as UTF-8 encoded
will cause much work for million of peoples.
Erhy
|
|
|
|
|
|
Thank You!
I will try it after Chistmas.
Erhy
and I wish you Merry Christmas!
|
|
|
|
|
Do you know, how to detect old Windows coded text files?
How Visual Studio detect them?
Thank you for advice
Erhy
|
|
|
|
|
I usually just simply open them in vanilla notepad and check what encoding it autodetected. This autodetection isn't perfect though, but still one of the best.
VS also has an autodetect built in. I don't know how it works though.
|
|
|
|
|
Now I have written Powershell scripts to automate the conversion from ANSI to UTF-8
See here
|
|
|
|
|
|
The nightmare before Christmas!
|
|
|
|