|
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. |
On October 21 2014 16:13 MysteryMeat1 wrote: -need to learn to just do it! Not sure if you edited or a mod did for sounding like a homework question, but...
Searching lists usually comes down to iterating through the whole thing or pre-sorting all the entries beforehand.
Which one you use generally comes down to efficiency, and which of the sort or search runs more often.
|
|
So.. PHP and applets. Does anyone actually use these things nowadays?
|
Hyrule18773 Posts
PHP is still ubiquitous. Applets are not so much...
|
Zurich15239 Posts
What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc?
|
On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo
|
Hey guys, quick question with converting from decimal to dms in sql
if i have a number to 3 decimal points eg(114.083)
how would i convert it to its dms number (-114º 4' 58.8")
is there a function in sql to do i need to the mod function?
|
On October 23 2014 00:04 Isualin wrote:Show nested quote +On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo
SublimeText isn't free. I'd go with BlueFish or Komodo Edit.
|
It might as well be free.
|
On October 23 2014 12:43 DaPyro wrote: Hey guys, quick question with converting from decimal to dms in sql
if i have a number to 3 decimal points eg(114.083)
how would i convert it to its dms number (-114º 4' 58.8")
is there a function in sql to do i need to the mod function?
I can't find a native function, so I think you have to do it the hard and ugly way if you want to do it in SQL:
SELECT @lat:=114.083; -- you can replace all @lat with the name of your field SELECT @d:=TRUNCATE(@lat,0) AS d, @m:=TRUNCATE((@lat * 60) - (@d * 60),0) AS m, @s:=TRUNCATE((@lat * 3600) - (@d * 3600) - (@m * 60),1) AS s;
|
On October 23 2014 15:54 Manit0u wrote:Show nested quote +On October 23 2014 00:04 Isualin wrote:On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo SublimeText isn't free. I'd go with BlueFish or Komodo Edit. Atom, better version of sublime IMO
|
On October 23 2014 19:11 CatNzHat wrote:Show nested quote +On October 23 2014 15:54 Manit0u wrote:On October 23 2014 00:04 Isualin wrote:On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo SublimeText isn't free. I'd go with BlueFish or Komodo Edit. Atom, better version of sublime IMO Atom is really slow though. You can see the difference if you use both of them.
|
|
On October 23 2014 21:00 Isualin wrote:Show nested quote +On October 23 2014 19:11 CatNzHat wrote:On October 23 2014 15:54 Manit0u wrote:On October 23 2014 00:04 Isualin wrote:On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo SublimeText isn't free. I'd go with BlueFish or Komodo Edit. Atom, better version of sublime IMO Atom is really slow though. You can see the difference if you use both of them.
Everything seems so slow when you use vim...
|
|
On October 23 2014 22:41 Manit0u wrote:Show nested quote +On October 23 2014 21:00 Isualin wrote:On October 23 2014 19:11 CatNzHat wrote:On October 23 2014 15:54 Manit0u wrote:On October 23 2014 00:04 Isualin wrote:On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo SublimeText isn't free. I'd go with BlueFish or Komodo Edit. Atom, better version of sublime IMO Atom is really slow though. You can see the difference if you use both of them. Everything seems so slow when you use vim...
Indeed. gVim is even a decent implementation for windows.
For big projects I'd still use a real IDE though.
|
On October 23 2014 22:41 Manit0u wrote:Show nested quote +On October 23 2014 21:00 Isualin wrote:On October 23 2014 19:11 CatNzHat wrote:On October 23 2014 15:54 Manit0u wrote:On October 23 2014 00:04 Isualin wrote:On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo SublimeText isn't free. I'd go with BlueFish or Komodo Edit. Atom, better version of sublime IMO Atom is really slow though. You can see the difference if you use both of them. Everything seems so slow when you use vim... otoh vim plugins love to block the main thread while doing something in the background (because of vim's shitty architecture)
|
On October 24 2014 03:55 delHospital wrote:Show nested quote +On October 23 2014 22:41 Manit0u wrote:On October 23 2014 21:00 Isualin wrote:On October 23 2014 19:11 CatNzHat wrote:On October 23 2014 15:54 Manit0u wrote:On October 23 2014 00:04 Isualin wrote:On October 23 2014 00:00 zatic wrote: What is a good HTML text editor these days? Ideally free, with standard features like bracket matching, autocompletion, etc? sublime text has auto completion and bracket matching for html. also it is fast and has a good ui imo SublimeText isn't free. I'd go with BlueFish or Komodo Edit. Atom, better version of sublime IMO Atom is really slow though. You can see the difference if you use both of them. Everything seems so slow when you use vim... otoh vim plugins love to block the main thread while doing something in the background (because of vim's shitty architecture)
All getting fixed with NeoVim...
|
Just asking for some general advice. I really would like to work with the Grooveshark API to build some sort of executable desktop app that will work as some sort of media player synced with the user's playlists. I have a slight idea of how to do this with C#, but the whole Grooveshark API is in PHP. I really don't think C# and PHP interact with each other, so does anyone have any ideas how I can build this .exe using the API and at the same time using C#?
|
It doesn't really matter what the Grooveshark API is written in - under the assumption that this is the API you want to use (a link would be a good idea, next time)
Then you just fire up a HttpClient and post some JSON to the appropriate link - which would be your session ID + the base URL of the API.
Now you can do what you want through your desktop client.
|
|
|
|