The Big Programming Thread - Page 740
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
Poland17186 Posts
| ||
Cynry
810 Posts
Afaik it's the first true component framework, so there's that. Only been working with it for 15/20 hours, but we plan on switching to it fully. I'll keep you updated if you're interested. | ||
Manit0u
Poland17186 Posts
On July 09 2016 06:08 Cynry wrote: Syntax is a bit confusing at first but makes very clear what is happening. Forces you to think in a certain way about your application (one way data flow, smart/dumb components), which is a plus for big projects imo. Afaik it's the first true component framework, so there's that. Only been working with it for 15/20 hours, but we plan on switching to it fully. I'll keep you updated if you're interested. Please do. We want to decouple front- and back-end development and can't really decide between Angular/Backbone/Ember and React since no one at the company has any real experience with any of them. Also relevant: http://www.isaacchansky.me/days-since-last-new-js-framework/ Fucking depressing... | ||
Cynry
810 Posts
And then there's the thing I hate saying, but I think React is winning the trend war. Yep. Oh and also, angular performance just sucks compared to react. At least this metric makes some sense... About javascript frameworks and "fatigue" (cause that's a thing now). Yeah. Depressing. How many times have I yelled at my comp "this shouldn't be that complicated" when setting up meteor + react + whatever else (wanna put some redux in there ? How about DnD for drap and drop ? There always seems to be a + something you can add to look cool). Sometimes a hint of "it would be better if..." but then this is how new frameworks appear so you keep that to yourself and keep writing 3 wrappers for every piece of UI. Meh. | ||
FreeZer
Sweden288 Posts
On July 08 2016 21:47 Manit0u wrote: How are your experiences with React.js if any? I'm using Rails and React.js right now in a hobby project at home. I'm very satisified with React and I think if offers a good way of structuring your javascript into view-components. However, to get great benefit from it in a javascript-app it really should be used together with Redux and Immutable.js. Basically the idea is that you have a pipeline, where you insert actions in one end, and get a rendered component out from the other end. Any action that causes the model to change to a new state will trigger a series of re-rendering through the react-components that are affected, and the immutability and single point of entry for changes into your program makes it very easy to reason about your application and understand what is happening. If you like functional programming you definately will like React + redux. | ||
-Zoda-
France3578 Posts
On July 09 2016 15:12 Cynry wrote: About javascript frameworks and "fatigue" (cause that's a thing now). Yeah. Depressing. How many times have I yelled at my comp "this shouldn't be that complicated" when setting up meteor + react + whatever else (wanna put some redux in there ? Or you could be using ember-cli. | ||
Cynry
810 Posts
| ||
Hhanh00
34 Posts
- Angular: Feels simple at the beginning but doing something special requires deep understanding of the framework. I.e. there is a lot of 'magic' going on. - Backbone: Takes care of model + bindings but no view - Ember: Opiniated and the template engine comes from a different project. The integration isn't without friction. - React: View only. Need to add redux or something similar. Mithril is similar to react, it also does virtual dom diffing but it includes the MVC part and it's smaller and faster. | ||
![]()
TheEmulator
28078 Posts
RIP Python 2!! | ||
Blitzkrieg0
United States13132 Posts
+ Show Spoiler + The curl dll file is uncommented in my php.ini file and the server has been bounced. phpinfo claims that curl is enabled, but the function calls are not working. Test Script: Fatal error: Call to undefined function curl_init() in index.php on line 2 $ch = curl_init(); + Show Spoiler [phpinfo] + curl cURL support => enabled cURL Information => 7.49.1 Age => 3 Features AsynchDNS => Yes CharConv => No Debug => No GSS-Negotiate => No IDN => Yes IPv6 => Yes krb4 => No Largefile => Yes libz => Yes NTLM => Yes NTLMWB => No SPNEGO => Yes SSL => Yes SSPI => Yes TLS-SRP => No Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp Host => i386-pc-win32 SSL Version => OpenSSL/1.0.1t ZLib Version => 1.2.7.3 libSSH Version => libssh2/1.7.0 I've seen some stack overflow posts about a corrupted curl dll, but I'm using php 5.6.23 which isn't one of the afflicted versions. | ||
Manit0u
Poland17186 Posts
On July 12 2016 22:30 Blitzkrieg0 wrote: I built a WAMP stack, but I'm having an issue with curl where my phpinfo says it is enabled, but the function calls are causing errors. Will provide additional info in spoiler below. Any help getting this resolved would be appreciated. + Show Spoiler + The curl dll file is uncommented in my php.ini file and the server has been bounced. phpinfo claims that curl is enabled, but the function calls are not working. Test Script: Fatal error: Call to undefined function curl_init() in index.php on line 2 $ch = curl_init(); + Show Spoiler [phpinfo] + curl cURL support => enabled cURL Information => 7.49.1 Age => 3 Features AsynchDNS => Yes CharConv => No Debug => No GSS-Negotiate => No IDN => Yes IPv6 => Yes krb4 => No Largefile => Yes libz => Yes NTLM => Yes NTLMWB => No SPNEGO => Yes SSL => Yes SSPI => Yes TLS-SRP => No Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp Host => i386-pc-win32 SSL Version => OpenSSL/1.0.1t ZLib Version => 1.2.7.3 libSSH Version => libssh2/1.7.0 I've seen some stack overflow posts about a corrupted curl dll, but I'm using php 5.6.23 which isn't one of the afflicted versions. One of the common problems with WAMP/XAMPP stacks is that there are multiple php.ini files (for sure there's a different one for cli and cgi) and it might be reading the wrong one for the request. Might look into that to begin with. | ||
Blitzkrieg0
United States13132 Posts
On July 12 2016 23:13 Manit0u wrote: One of the common problems with WAMP/XAMPP stacks is that there are multiple php.ini files (for sure there's a different one for cli and cgi) and it might be reading the wrong one for the request. Might look into that to begin with. I'm not using one of the pre-compiled stacks. I | ||
Deleted User 101379
4849 Posts
On July 12 2016 23:27 Blitzkrieg0 wrote: I'm not using one of the pre-compiled stacks. I Do you have the line extension=php_curl.dllsomewhere and is your curl dll the same version (x86/x64) as your PHP? | ||
Blitzkrieg0
United States13132 Posts
On July 12 2016 23:35 Morfildur wrote: Do you have the line extension=php_curl.dllsomewhere and is your curl dll the same version (x86/x64) as your PHP? + Show Spoiler [php.ini] + ;extension=php_bz2.dll extension=php_curl.dll ;extension=php_fileinfo.dll extension=php_gd2.dll ;extension=php_gettext.dll ;extension=php_gmp.dll extension=php_intl.dll ;extension=php_imap.dll ;extension=php_interbase.dll ;extension=php_ldap.dll extension=php_mbstring.dll ;extension=php_exif.dll ; Must be after mbstring as it depends on it ;extension=php_mysql.dll extension=php_mysqli.dll ;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client extension=php_openssl.dll ;extension=php_pdo_firebird.dll ;extension=php_pdo_mysql.dll ;extension=php_pdo_oci.dll ;extension=php_pdo_odbc.dll ;extension=php_pdo_pgsql.dll ;extension=php_pdo_sqlite.dll ;extension=php_pgsql.dll ;extension=php_shmop.dll extension=php_soap.dll ;extension=php_sockets.dll extension=php_sqlite3.dll ;extension=php_sybase_ct.dll ;extension=php_tidy.dll extension=php_xmlrpc.dll ;extension=php_xsl.dll They're both x86 yes. | ||
![]()
tofucake
Hyrule18968 Posts
acquire Vagrant | ||
RoyGBiv_13
United States1275 Posts
and yet, every new python program I write is still in python 2. I should probably fix this habit. | ||
Blitzkrieg0
United States13132 Posts
nope. | ||
Manit0u
Poland17186 Posts
| ||
Blitzkrieg0
United States13132 Posts
On July 13 2016 05:28 Manit0u wrote: Have you tried managing extensions through wamp panel? I built each component of the stack myself. I'm not actually utilizing WAMP. If I run php -m then the modules are listed (curl, mysqli, openssl), but when I run phpinfo() on the server the modules aren't listed so it has to be something wrong with my Apache installation; I just can't figure out what yet. | ||
Manit0u
Poland17186 Posts
| ||
| ||