• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:06
CEST 00:06
KST 07:06
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL21] Ro4 Preview: On Course10Code S Season 1 - RO8 Preview7[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16
Community News
Maestros of The Game 2 announcement and schedule !10Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Maestros of The Game 2 announcement and schedule ! 2026 GSL Season 2 Qualifiers SC2 INu's Battles#16 <BO.9> Master Swan Open (Global Bronze-Master 2) GSL Code S Season 1 (2026)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 525 Wheel of Misfortune The PondCast: SC2 News & Results Mutation # 524 Death and Taxes Mutation # 523 Firewall
Brood War
General
Flashes ASL S21 Ro8 Review ASL Tickets to Live Event Finals? [ASL21] Ro4 Preview: On Course Quality of life changes in BW that you will like ? Why there arent any 256x256 pro maps?
Tourneys
[ASL21] Semifinals A [Megathread] Daily Proleagues [BSL22] RO16 Group Stage - 02 - 10 May [ASL21] Ro8 Day 3
Strategy
[G] Hydra ZvZ: An Introduction Simple Questions, Simple Answers Fighting Spirit mining rates Muta micro map competition
Other Games
General Games
Warcraft III: The Frozen Throne Stormgate/Frost Giant Megathread PC Games Sales Thread Path of Exile Nintendo Switch Thread
Dota 2
The Story of Wings Gaming
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
YouTube Thread US Politics Mega-thread Russo-Ukrainian War Thread UK Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2592 users

The Big Programming Thread - Page 512

Forum Index > General Forum
Post a Reply
Prev 1 510 511 512 513 514 1032 Next
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
Profile Blog Joined August 2004
Poland17743 Posts
Last Edited: 2014-08-19 10:12:13
August 19 2014 09:36 GMT
#10221
Aaaand IE strikes again...


body {
background-image: url("/images/bkg/img.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: center bottom;
background-color: rgba(0, 0, 0, 0);
}


There's no image showing in IE8 at all... Why?

Solution:

http://www.orianapagano.com/background-image-not-displaying-on-ie8/

[image loading]
Time is precious. Waste it wisely.
windzor
Profile Joined October 2010
Denmark1013 Posts
August 19 2014 09:50 GMT
#10222
On August 19 2014 04:15 Manit0u wrote:
Another problem that just surfaced for me:



IGE plays a major part in important project feature. Now I have to work around that too...


Microsoft is desupporting alot of versions of Internet Explorer by January 2016. Hopefully this will help on moving people to newer versions. But if you support IE 8, your customers already don't want to upgrade unfortunately..
Yeah
Manit0u
Profile Blog Joined August 2004
Poland17743 Posts
August 19 2014 10:36 GMT
#10223
On August 19 2014 18:50 windzor wrote:
Show nested quote +
On August 19 2014 04:15 Manit0u wrote:
Another problem that just surfaced for me:

https://twitter.com/IsogenicEngine/status/2468717598351360

IGE plays a major part in important project feature. Now I have to work around that too...


Microsoft is desupporting alot of versions of Internet Explorer by January 2016. Hopefully this will help on moving people to newer versions. But if you support IE 8, your customers already don't want to upgrade unfortunately..


We don't normally support IE8, this is a one-time deal. Thank the gods for that.
Time is precious. Waste it wisely.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
August 19 2014 10:36 GMT
#10224
On August 19 2014 18:36 Manit0u wrote:
Aaaand IE strikes again...


body {
background-image: url("/images/bkg/img.jpg");
background-repeat: no-repeat;
background-attachment: scroll;
background-position: center bottom;
background-color: rgba(0, 0, 0, 0);
}


There's no image showing in IE8 at all... Why?

Solution:

http://www.orianapagano.com/background-image-not-displaying-on-ie8/

[image loading]


LOL



On August 19 2014 18:50 windzor wrote:
Show nested quote +
On August 19 2014 04:15 Manit0u wrote:
Another problem that just surfaced for me:

https://twitter.com/IsogenicEngine/status/2468717598351360

IGE plays a major part in important project feature. Now I have to work around that too...


Microsoft is desupporting alot of versions of Internet Explorer by January 2016. Hopefully this will help on moving people to newer versions. But if you support IE 8, your customers already don't want to upgrade unfortunately..


IE11 is actually decent. IE12 team from their AMA looks to really want to do well, they're just fighting against negative perception by now. MS really screwed it up big time, but Apple/Google/Firefox never have had to deal with anywhere near level of fragmentation that Microsoft does, and the broken IE6/7/8 complaints only gets perpetuated because of the fragmentation, which stems IE11 efforts to get back on track. Forced browser updates is what I think I read IE is going to do in the near future once everyone below IE11 runs IE6/7/8 in IE11 compat. mode. I'm still loyal to Chrome, but I'm being more open to FF and IE now.
There is no one like you in the universe.
Rotodyne
Profile Blog Joined July 2005
United States2263 Posts
Last Edited: 2014-08-19 13:40:26
August 19 2014 13:39 GMT
#10225
My co-worker and I have to support IE8 on a drupal site we are about to create/re-create It's a news site, and most of the viewers are older people so the IE8 percentage is pretty high -_-

So Manit0u, please keep posting all the problems you run into!
I can only play starcraft when I am shit canned. IPXZERG is a god.
Manit0u
Profile Blog Joined August 2004
Poland17743 Posts
Last Edited: 2014-08-21 09:06:32
August 19 2014 14:37 GMT
#10226
On August 19 2014 22:39 Rotodyne wrote:
My co-worker and I have to support IE8 on a drupal site we are about to create/re-create It's a news site, and most of the viewers are older people so the IE8 percentage is pretty high -_-

So Manit0u, please keep posting all the problems you run into!


Useful stuff (so that you can avoid most of the problems I run into):
http://blogs.msdn.com/b/ieinternals/archive/2011/05/14/10164546.aspx
http://msdn.microsoft.com/en-us/library/s4esdbwz(v=vs.94).aspx
http://www.orianapagano.com/background-image-not-displaying-on-ie8/
http://css-tricks.com/how-to-create-an-ie-only-stylesheet/
https://code.google.com/p/html5shiv/ (so that you can use <header> <footer> <nav> <article> etc.)
https://github.com/scottjehl/Respond (so you can have a semblance of responsiveness and ability to use @media querries)

Note: make sure you're using jQuery v1.x (2.x isn't compatible with IE8) and remember to put your scripts into the <head> section or you can forget about background images...

Best thing would be to do the entire thing in html4 and css2, but that's ugly

I'll post additional info if I run into any more problems.

Edit:

Never EVER use <type="application/javascript"> in IE8. What it will do is:
1. take the first hundred or so lines of the file
2. prepend them to another JS file that comes before it in the HTML
3. give you all sorts of errors

[image loading]
Time is precious. Waste it wisely.
Cynry
Profile Blog Joined August 2010
810 Posts
August 20 2014 14:11 GMT
#10227
Programming related, but not specific.
In a week I will start a month-long test to know if I'm admited into a new french programming school, called 42 !

No teacher, no lesson, no schedule. "Peer-to-peer", project driven learning.
Never really went deep into programming yet, but I'm pumped !

Wish me luck !
windzor
Profile Joined October 2010
Denmark1013 Posts
August 21 2014 21:21 GMT
#10228
On August 19 2014 19:36 Blisse wrote:
Show nested quote +
On August 19 2014 18:50 windzor wrote:
On August 19 2014 04:15 Manit0u wrote:
Another problem that just surfaced for me:

https://twitter.com/IsogenicEngine/status/2468717598351360

IGE plays a major part in important project feature. Now I have to work around that too...


Microsoft is desupporting alot of versions of Internet Explorer by January 2016. Hopefully this will help on moving people to newer versions. But if you support IE 8, your customers already don't want to upgrade unfortunately..


IE11 is actually decent. IE12 team from their AMA looks to really want to do well, they're just fighting against negative perception by now. MS really screwed it up big time, but Apple/Google/Firefox never have had to deal with anywhere near level of fragmentation that Microsoft does, and the broken IE6/7/8 complaints only gets perpetuated because of the fragmentation, which stems IE11 efforts to get back on track. Forced browser updates is what I think I read IE is going to do in the near future once everyone below IE11 runs IE6/7/8 in IE11 compat. mode. I'm still loyal to Chrome, but I'm being more open to FF and IE now.


The problem with MS is that they choose to limit IE versions together with OS versions. Until Windows Vista is desupported MS must support IE9 because that is the latest version of IE on the platform. That is why they get the fragmentation together with the non-forced updates.

My company is a bit weary with the forced updates, because we use IE and Safari as components in GUI applications on their platforms. So when IE updates instantly, we need to test our application so our components will work in the new IE version when it comes out, and we need that fix to be backported to potentially 3+ year old software which could be substantiel different. But atleast we only need to test our application against 1 IE version. So i guess somewhere people will say its a win situation

Apple with Safari has another strategy, where the Safari version you use for web components are actually fixed with the Mac OSX version. This means the beheaviour of the browser will not change with updates. But this also means Apple doesnt really fix when bugs appear with the browser. So not a perfect solution either.
Yeah
N.geNuity
Profile Blog Joined July 2009
United States5112 Posts
Last Edited: 2014-10-16 05:57:14
August 22 2014 04:27 GMT
#10229
complete 100% noob here [*nix compiler issues], and I appreciate anyone who has the patience to even read this. My google fu ran out of getting answers that helped:

I am doing very simple out of the box building from open source material [specifically, just gnuchess from gnu project]. I'm working with cygwin to use x11/xwindows (with xming), and I use xwindows and cygwin for work related activities; this is just personal and it's not in any way important or necessary.

It's more that I am just ticked off that it doesn't seem to work, as well as trying to learn a little bit about *nix and compiling.

I've successfully done/built a handful of things through pretty simple:

tar xzf filename.tar.gz [or just extract with 7zip]
./configure
make
make install


and just copying generated .exe over to /usr/bin (I believe --prefix can put in there but just doing bare bones following "read me" file). Since this is all chess related, it was just xboard (the chess GUI for xwindows that can load chess engines into) and polyglot (lets more engines be compatable with xboard), and some chess engines.

so I do not need this at all and am just curious, for my own benefit, why the compiler fails.

1) main question:

I am getting error in makefile after make -q, after successful ./configure
Makingfile:452: recipe for target 'all-recursive' failed
*** [all-recursive] Error 1


the make file calls g++ compiler if that is relevant

2) secondary question or helpful related error messages:

after just $ make or make check, I get error(s) at the end that display:

collect2: error: ld returned 1 exit status
Makefile:493: recipe for target 'gnuchess.exe' failed
make[3]: *** [gnuchess.exe] Error 1
make[3]: Leaving directory '/cygdrive/c/users/~/src'
Makefile:561: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/c/~/src'
Makefile:400: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/cygdrive/c/users/~/src'
Makefile:452: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

3) third question, super minor and irrelevant
+ Show Spoiler +

I get a whole bunch of junky text dispalyed after $ make about undefined reference to 'libintl_gettext' , and in ./configure it has a line of

checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.dll.a -liconv -L/usr/local/lib
checking that generated files are newer than configure... done

it may have actually said "checking for GNU gettext in libintl...no" previous but then I just built gettext from gnu and copy pasted the libintl.dll.a or whatever that was newer and the gettext function. This shouldn't have any relevance to the problem I think...

can anyone explain to like what is causing this in easy to understand terms (don't bother if you know the answer but can't explain to a scrub like me)? is the file actual missing or is it some path issue (says GNU gettext and same directory as every other library/whatever that may be called, but it talks about "external libintl")



Thanks!
iu, seungah, yura, taeyeon, hyosung, lizzy, suji, sojin, jia, ji eun, eunji, soya, younha, jiyeon, fiestar, sinb, jung myung hoon godtier. BW FOREVERR
tofucake
Profile Blog Joined October 2009
Hyrule19212 Posts
August 22 2014 06:16 GMT
#10230
ld is the linker, and exit non-zero means failure. From what I can find there's unresolved symbols, which might be related to your gettext problems, which are related to Cygwin being not actually POSIX (you'll run into these issues often enough).

This is related, but the solution worked there and so may work for you (it's an ugly hack, though): http://stackoverflow.com/questions/11803744/compiling-on-windows-why-cygwin-cant-recognize-gettext
Liquipediaasante sana squash banana
Cyx.
Profile Joined November 2010
Canada806 Posts
Last Edited: 2014-08-22 06:19:34
August 22 2014 06:17 GMT
#10231
e: tofu's google-fu was stronger than mine... I'm going to bed before I waste more of my time posting late at night
N.geNuity
Profile Blog Joined July 2009
United States5112 Posts
Last Edited: 2014-10-16 05:56:31
August 22 2014 23:50 GMT
#10232
well, the google fu skills are strong

just ./configure --disable-nls built everything properly

I would not have expected gettext to cause such problems, but I think some of that is I very obviously dont know C/C++

and I guess digging deep for errors rather than make -q is the way to go

thanks
iu, seungah, yura, taeyeon, hyosung, lizzy, suji, sojin, jia, ji eun, eunji, soya, younha, jiyeon, fiestar, sinb, jung myung hoon godtier. BW FOREVERR
wozzot
Profile Joined July 2012
United States1227 Posts
Last Edited: 2014-08-24 10:35:57
August 24 2014 08:03 GMT
#10233
Probably a dumb question, but are audio samples on uncompressed WAV files stored raw? Could I just tack on any series of short ints onto the end of a 16-bit WAV file and expect it to play as music, or do I have to follow some kind of special convention?

e: Bah, dealing with endianness is annoying
(ノ´∀`*)ノ ♪ ♫ ヽ(´ー`)ノ ♪ ♫ (✌゚∀゚)☞ ♪ ♫ ヽ(´ー`)ノ ♫ ♫ (ノ´_ゝ`)ノ彡 ┻━┻
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
August 24 2014 09:09 GMT
#10234
On August 24 2014 17:03 wozzot wrote:
Probably a dumb question, but are audio samples on uncompressed WAV files stored raw? Could I just tack on any series of short ints onto the end of a 16-bit WAV file and expect it to play as music, or do I have to follow some kind of special convention?


Nope. That's not what uncompressed means :p There's a (complicated) format.
There is no one like you in the universe.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
August 24 2014 09:32 GMT
#10235
--- Nuked ---
obesechicken13
Profile Blog Joined July 2008
United States10467 Posts
Last Edited: 2014-08-24 20:32:59
August 24 2014 20:27 GMT
#10236
Question for the statisticians here:

In R or Python, is it possible to dynamically assign names to a list? Say you have a bunch of files in many different directories and you can't change the directory structure. You want to read in all the files and process the data in them one by one.

What I did in the past was I made a list (because lists are easy to dynamically size) of dataframes (each file is a dataframe). List[[1]] would be the first dataframe.

But now I'm watching some videos and I'm learning about list subsetting and I don't know if it's possible to dynamically assign variables names like "date_csv1.csv" "date_csv2.csv".
[image loading]

In retrospect I should be assigning each file to the same temporary data structure in a loop, aggregating the data in it, and concatenating it to the end of another aggregation dataframe.

Nvm, I should just use assign. Maybe I don't remember my original problem correctly.
I think in our modern age technology has evolved to become more addictive. The things that don't give us pleasure aren't used as much. Work was never meant to be fun, but doing it makes us happier in the long run.
Manit0u
Profile Blog Joined August 2004
Poland17743 Posts
Last Edited: 2014-08-25 15:33:38
August 24 2014 20:54 GMT
#10237
On August 25 2014 05:27 obesechicken13 wrote:
But now I'm watching some videos and I'm learning about list subsetting and I don't know if it's possible to dynamically assign variables names like "date_csv1.csv" "date_csv2.csv".


I believe that the reasonable way to do it would be this:


int n = 5; // number of unique variables you need to assign.
string[] arr; // where we will store the variable strings

for (int i = 0; i < n; ++i) {
arr[i] = 'date_csv' + intToString(i + 1) + '.csv';
}

foreach (arr as filename) {
readFile(filename);
}


That's some pseudocode for you to consider
Time is precious. Waste it wisely.
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
Last Edited: 2014-08-26 21:08:23
August 26 2014 21:07 GMT
#10238
I went to university and got a diploma in network & telecommunications engineering technology which I finished a couple years ago. I am now looking at studying a programming language on my own (free online/home studies), and I'm trying to figure out what programming language would best assist my current education with a heavy emphasis on networking.

My current programming experience: In high school I took a course on C++ as well as in first year of my program I took a course in Java and Unix shell scripting. I didn't really like Java, C++ was more interesting, and I think Unix shell scripting was probably the most useful so far.

I'm also looking at getting a Raspberry Pi to mess around with and test stuff in the next couple weeks once I find a job again. I've also got a relatively powerful computer and have no problem with making and using Linux/Windows VMs in addition here.

Would HTML, PHP, or Unix shell scripting be best? Any other suggestions? I'm kind of interested in pursuing something as I haven't been in school for a couple years now and preferably I'd like to pick something that best goes with my networking and data center experience.
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
August 26 2014 22:16 GMT
#10239
--- Nuked ---
Grobyc
Profile Blog Joined June 2008
Canada18410 Posts
August 26 2014 22:22 GMT
#10240
Ahh cool, thanks Nesserev. I had someone also recommend me Python recently but don't know much about it nor have any experience with it so I didn't bother mentioning it initially. I think I'll probably end up looking into Python and Bash to begin with.
If you watch Godzilla backwards it's about a benevolent lizard who helps rebuild a city and then moonwalks into the ocean.
Prev 1 510 511 512 513 514 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 126
JuggernautJason123
StarCraft: Brood War
Calm 2511
Artosis 208
ggaemo 106
Mong 26
Dota 2
XaKoH 559
monkeys_forever484
NeuroSwarm105
League of Legends
Doublelift6685
tarik_tv5924
JimRising 405
Counter-Strike
fl0m5315
Fnx 1326
Super Smash Bros
PPMD39
Other Games
Grubby4517
summit1g3464
Liquid`RaSZi1736
FrodaN1605
shahzam766
C9.Mang0262
ZombieGrub115
ArmadaUGS109
UpATreeSC44
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 53
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Eskiya23 24
• Azhi_Dahaki17
• Pr0nogo 1
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota2493
League of Legends
• imaqtpie2091
• Shiphtur265
Upcoming Events
OSC
1h 54m
CranKy Ducklings
11h 54m
Afreeca Starleague
11h 54m
Light vs Flash
INu's Battles
12h 54m
ByuN vs herO
PiGosaur Cup
1d 1h
Replay Cast
1d 10h
Replay Cast
2 days
The PondCast
2 days
OSC
2 days
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
OSC
3 days
Korean StarCraft League
4 days
RSL Revival
4 days
BSL
4 days
GSL
5 days
Cure vs TBD
TBD vs Maru
BSL
5 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL 2026 SPRING (S20)
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

Escore Tournament S2: W7
YSL S3
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.