The Big Programming Thread - Page 857
Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
Manit0u
Poland17187 Posts
| ||
meatpudding
Australia520 Posts
On March 06 2017 16:01 Manit0u wrote: Perhaps we need 2 threads? The Big Programming Thread and the Little Programming Thread? | ||
Khalum
Austria831 Posts
| ||
Acrofales
Spain17842 Posts
On March 06 2017 09:42 Shield wrote: Can we please rename thread to what it was? It makes TL look amateur this way. Easy solution: never visit TeamLiquid, and only hang out on TeamLiquidPro. But yes, it's this thread title being a joke that makes TL look "amateur" (whatever that is supposed to mean in this context), and not the eternal "My Little Pony" thread, the endless sequence of girl blogs, the QQ/Rage threads (one for each game), the eternal shitstorm that are the various politics threads, the KPop thread, etc. etc. etc. Unsurprisingly, a community forum is an "amateur" site, which is why TLPro was born in the first place. | ||
Djagulingu
Germany3605 Posts
| ||
Silvanel
Poland4692 Posts
Poll: What do You do? Programming/Developing (21) Other (PMs, Scrum Masters, Students etc.) (9) QA/Testing (2) IT/System Administration (0) 32 total votes Your vote: What do You do? (Vote): Programming/Developing | ||
Khalum
Austria831 Posts
On March 06 2017 20:28 Djagulingu wrote: Congratulations Travis for your graduation!!!!! I actually laughed out loud when I read this, I like your sense of humour! [Edit] Also, who else is having VS2017 launch parties tomorrow at work? | ||
Nesserev
Belgium2760 Posts
| ||
Khalum
Austria831 Posts
| ||
Manit0u
Poland17187 Posts
On March 06 2017 22:41 Khalum wrote: It's a reason to drink beer. How could that possibly sound dumb? This reminds me of an old joke: Four men are sitting around the table with 7 empty bottles of vodka and one half-full bottle on it. They're all deep in contemplation, brows furrowed, solemn faces. They're sitting like that for quite a while when, suddenly, dog starts to bark outside. One of the men's faces suddenly brightens up, he stands up and cheerfully raises a toast 'For Rex!'. | ||
phar
United States1080 Posts
![]() | ||
Shield
Bulgaria4824 Posts
That said, Visual Studio is pretty forgiving when you type slightly wrong code. E.g. std::atomic<bool> b = true compiles. Not with other compilers though. You're supposed to write: std::atomic<bool> b{ true }; | ||
Manit0u
Poland17187 Posts
![]() | ||
Thaniri
1264 Posts
I am building the site using angular-cli with ng build --env=prod and dumping the contents of the dist folder into the S3 bucket http://marekslabicki.s3-website-us-west-2.amazonaws.com/ | ||
ShoCkeyy
7815 Posts
view-source:http://marekslabicki.s3-website-us-west-2.amazonaws.com/home-page http://marekslabicki.s3-website-us-west-2.amazonaws.com/app | ||
plasmidghost
Belgium16168 Posts
+ Show Spoiler [Client code] + #include <sys/types.h> + Show Spoiler [Server code] + #include <sys/types.h> | ||
Thaniri
1264 Posts
What happens is that when ng build --env=prod is called a folder is made called dist which bundles the typescript, including the css, however index.html still link rels for a file called styles.css and on the s3 site it breaks at that point. | ||
ShoCkeyy
7815 Posts
Also possibly related: https://github.com/angular/angular-cli/pull/2646 | ||
ShoCkeyy
7815 Posts
On March 08 2017 06:46 plasmidghost wrote: I'm working further on client-server communications and am stuck on this program. I'm trying to have three clients send an integer to a server, along with a private FIFO name so that the server can output the sum of integers from all three clients through the private FIFO that the client named. How do I even do that? I am totally lost. Everything I look at online is not even close to what I'm looking for. + Show Spoiler [Client code] + #include <sys/types.h> + Show Spoiler [Server code] + #include <sys/types.h> Sounds like you're trying to do a PING POST system? I worked a ton with LeadMesh, and their ping post system. http://stackoverflow.com/questions/12992653/what-is-a-ping-post | ||
Manit0u
Poland17187 Posts
On March 08 2017 07:16 ShoCkeyy wrote: Thaniri, well I'm just receiving a bunch of errors in my console overall about the 404. It just seems like while you're hosting the files on AWS. AWS doesn't have the right to actually access them. I guess double check your permissions, and/or DNS settings. Also possibly related: https://github.com/angular/angular-cli/pull/2646 Maybe you'll find some answers for preparing angular for production here: http://blog.mgechev.com/2016/06/26/tree-shaking-angular2-production-build-rollup-javascript/ By the way, what are you using for your web server? Perhaps you could set up an Nginx reverse proxy for serving static assets? | ||
| ||