• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 02:04
CET 07:04
KST 15:04
  • 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
[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down20ISSL (IntoTheTV x SOOP SC2 League): Premier6Weekly Cups (October 12-18): 5.0.17 era begins1[$1250] International ShieldBattery League92
StarCraft 2
General
Weekly Cups (October 19-25): Clem triples first in 5.0.17 No more SC2 streamers on team liquid? How do you feel about the mass reverts in the 5.0.17 PTR? Evil Geniuses - shutting down REPORT: StarCraft 2: Remastered In Development
Tourneys
ISSL (IntoTheTV x SOOP SC2 League): Premier Stellar Fest TWO the Moon (Dec 16-20) RSL 2026 Offline Finals LCQ Sign-Ups Sparkling Tuna Cup - Weekly Open Tournament 2026 KungFu Cup Announcement
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
Simple Questions/Answers [G] How to playtest arcade maps [A] Nemrods 1/4 players
External Content
Mutation # 549 Endless Sparkles The PondCast: SC2 News & Results Mutation # 548 Shining Bright Mutation # 547 Temple Of Terror
Brood War
General
SC4ALL II Brood War Complete Invited Player Lineup [Megathread] Daily Funny Videos BW General Discussion Rollback Netcode in Brood War Sagi.gg Launcher Released
Tourneys
Small VOD Thread 2.0 [Women's StarCraft] MonstarZ vs BA 2026-10-30 [IPSL] IPSL Winter 26-27 Ro24 is HERE! [Megathread] Daily Proleagues
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Mobile Legends: Bang Bang Armies of Exigo - YesYes? General RTS Discussion Thread
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine R I P Patrick Stewart European Politico-economics QA Mega-thread
Fan Clubs
Reynor Fan Club The Flash Fan Club Serral Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 7964 users

The Big Programming Thread - Page 429

Forum Index > General Forum
Post a Reply
Prev 1 427 428 429 430 431 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.
Abominous
Profile Joined March 2013
Croatia1625 Posts
January 18 2014 13:41 GMT
#8561
On January 18 2014 22:32 TheSwedishFan wrote:
A easy one.
What does [1,n] mean? I've studied database modeling before and there were something similar called a "one-to-many" relationship between entities. Translating that to a programming language would suggest an array. However, i get the sense that it means a range where 1 is the smallest value and "n" the biggest.
So does it mean range or array? Or something else?

In Algorithms let's say an Array[1...N] would present an array of N elements called Array.

In Databases if you're studying the relations between entities, it represents cardinality number in a relation, for example of a 1 to N cardinality relation, let's say one doctor can have N patients.

Maybe it's something third but I cannot think of anything else right now.
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
January 18 2014 13:54 GMT
#8562
i really think it depends on where you are using it.
[1,n] might also mean from 2 to n-1 (excluding 1 and n). I'm not sure im too lazy to confirm
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
zhr
Profile Joined September 2010
Finland12 Posts
January 18 2014 14:56 GMT
#8563
On January 18 2014 22:54 icystorage wrote:
i really think it depends on where you are using it.
[1,n] might also mean from 2 to n-1 (excluding 1 and n). I'm not sure im too lazy to confirm


In maths it means the interval from 1 to n (inclusive), while ]1,n[ means from 2 to n-1 when talking about integers. https://en.wikipedia.org/wiki/Bracket_(mathematics)#Intervals
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
January 18 2014 15:00 GMT
#8564
In some languages, I think python being one of them, it also means "Array/string slice from index 1 to n".

I think in this context it means the 1 to n relation in databases though.
Mr. Wiggles
Profile Blog Joined August 2010
Canada5894 Posts
January 18 2014 17:44 GMT
#8565
Hey, so I've been playing with something last night that I think maybe a couple of people here would be interested in.

https://microcorruption.com/

What is it?

Your target is a small embedded device; a microcontroller running compiled C code.

You get access to the device, disassembly of its code, and a low-level debugger and assembler. We "run" the devices, you interact with them via a vanilla web interface.

At each level, you'll get a simple input that, owing to some C software bug, can be used to own the target. You'll use the debugger to reverse the target, find the input, and then deliver it to a "production" instance to beat the level.

You'll face a series of revisions of the target, starting from "comically broken" and proceeding vendor-fix by vendor-fix through basic memory corruption, stack overflows, randomization, memory protection schemes, allocator vulnerabilities, and DRM-style software protection.

All this happens on an architecture you've probably used, but likely never have written any code for. Have you ever reverse-engineered a program from its assembly code to understand what it's doing? That'll happen too.

We're keeping a leaderboard, by completion time, CPU cycles, and input size. Part of the fun of a challenge like this is to see how others are doing in real-time.

If you've done a lot of exploit development, you won't have much trouble. But we hope the real fun is reserved for the people who haven't: you'll get to play with concepts that, in the real world, involve tedious toolchain installs and comprehensive knowledge of the memory layouts of gigantic browser library codebases. You won't need any of that here: we're looking forward to seeing people who have never written a line of assembly beating people who've been doing this for years.


It's been pretty fun so far, I've beaten the first 3 levels. You don't need any experience with exploit development, and knowing assembly helps, but it's pretty easy to pick up. They have a little manual attached for it:

https://microcorruption.com/manual.pdf
you gotta dance
TimKim0713
Profile Joined June 2012
Korea (South)221 Posts
January 18 2014 19:09 GMT
#8566
On January 18 2014 14:24 Warri wrote:
Show nested quote +
On January 18 2014 13:18 TimKim0713 wrote:
Hello,
I'm fairly new to Java, and I have been stuck understanding somewhat of concepts.

So, the main (problem) concept is about using methods/constructors/variables from different class to another...
For Example, (https://docs.google.com/file/d/0B17THXdfP8JwLTBIMUdWQkszWmM/edit)

There are 3 classes and under ClassRoom class, it has " Arraylist<Student> roster ".

Does the Arraylist roster have all the methods under Student Class?
Meaning it can do - roster.getID(); and roster.getRoom(); ?
If not, how does the arraylist roster have access methods or do something from Student?
Methods under Student Class are used by whom? (how?)


OR am I totally off?

Can someone please explain what uses what methods and etc under which class?

Gahh.... Confusing!

Thanks. I appreciate it.





You need to understand that java is mostly about references to objects. The ArrayList is an object itself and contains references (the location where the objects are stored in the memory) to other objects, in this case from the student class.
So if you already have the references stored in the arraylist, the objects are already created. To access them you can define a new reference to the object in question. For example
Student s = roster.get(0);
No new object is created here, the only thing that happens is that s is now a reference to the object that is also referenced in the ArrayList (which it still does after this call).
Now you can work with that objects methods by using s.getID(); Or, you could have done it directly with roster.get(0).getID();

Student s = new Student(); this on the other hand, would create a new object of the student class which gets referenced by s.



Thanks for your help!
Does this mean that In the Arraylist of roster, Students are in there?

like
for(int x=0; x<roster.size(); x++{
roster.get(x);
}

would this go throguh all the students since that "roster" arraylist is made of Students?

(roster.get(0) would be a student ?)

Thanks :D
I guess in ArrayList<**THISTHING**> name, "<**THISTHING**> would be the type of stuff in the arraylist then...

Did I understand correctly?

Prillan
Profile Joined August 2011
Sweden350 Posts
January 18 2014 20:19 GMT
#8567
On January 19 2014 00:00 Morfildur wrote:
In some languages, I think python being one of them, it also means "Array/string slice from index 1 to n".

I think in this context it means the 1 to n relation in databases though.


No, [1:n] is what you're thinking of. Also, in python [1, n] is the same as [(1, n)] so it tries to grab element at index (1, n) which doesn't exist for lists.
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-01-18 21:45:24
January 18 2014 20:43 GMT
#8568
On January 19 2014 04:09 TimKim0713 wrote:
Show nested quote +
On January 18 2014 14:24 Warri wrote:
On January 18 2014 13:18 TimKim0713 wrote:
Hello,
I'm fairly new to Java, and I have been stuck understanding somewhat of concepts.

So, the main (problem) concept is about using methods/constructors/variables from different class to another...
For Example, (https://docs.google.com/file/d/0B17THXdfP8JwLTBIMUdWQkszWmM/edit)

There are 3 classes and under ClassRoom class, it has " Arraylist<Student> roster ".

Does the Arraylist roster have all the methods under Student Class?
Meaning it can do - roster.getID(); and roster.getRoom(); ?
If not, how does the arraylist roster have access methods or do something from Student?
Methods under Student Class are used by whom? (how?)


OR am I totally off?

Can someone please explain what uses what methods and etc under which class?

Gahh.... Confusing!

Thanks. I appreciate it.





You need to understand that java is mostly about references to objects. The ArrayList is an object itself and contains references (the location where the objects are stored in the memory) to other objects, in this case from the student class.
So if you already have the references stored in the arraylist, the objects are already created. To access them you can define a new reference to the object in question. For example
Student s = roster.get(0);
No new object is created here, the only thing that happens is that s is now a reference to the object that is also referenced in the ArrayList (which it still does after this call).
Now you can work with that objects methods by using s.getID(); Or, you could have done it directly with roster.get(0).getID();

Student s = new Student(); this on the other hand, would create a new object of the student class which gets referenced by s.



Thanks for your help!
Does this mean that In the Arraylist of roster, Students are in there?

like
for(int x=0; x<roster.size(); x++{
roster.get(x);
}

would this go throguh all the students since that "roster" arraylist is made of Students?

(roster.get(0) would be a student ?)

Thanks :D
I guess in ArrayList<**THISTHING**> name, "<**THISTHING**> would be the type of stuff in the arraylist then...

Did I understand correctly?



Yes, you should get all students from that loop. However, I personally prefer, maybe others too, enumeration like this:

Syntax: Object type | variable | the container (collection) variable

for (Student s : roster) {
s.method(); // method implemented by the Student class
}


Alternatively, you may still use your initial loop approach like this. It is similar to the above code:

for (int x=0; x<roster.size(); x++) {
roster.get(x).method(); // method implemented by the Student class
}


And to your second question, yes, you need to specify the type of object when you use a container (ArrayList, Vector, Stack, Map, Set, HashSet, etc).

So in this case: ArrayList<Student> roster = new ArrayList<Student>();
Cyx.
Profile Joined November 2010
Canada806 Posts
January 18 2014 21:30 GMT
#8569
On January 19 2014 02:44 Mr. Wiggles wrote:
Hey, so I've been playing with something last night that I think maybe a couple of people here would be interested in.

https://microcorruption.com/

Show nested quote +
What is it?

Your target is a small embedded device; a microcontroller running compiled C code.

You get access to the device, disassembly of its code, and a low-level debugger and assembler. We "run" the devices, you interact with them via a vanilla web interface.

At each level, you'll get a simple input that, owing to some C software bug, can be used to own the target. You'll use the debugger to reverse the target, find the input, and then deliver it to a "production" instance to beat the level.

You'll face a series of revisions of the target, starting from "comically broken" and proceeding vendor-fix by vendor-fix through basic memory corruption, stack overflows, randomization, memory protection schemes, allocator vulnerabilities, and DRM-style software protection.

All this happens on an architecture you've probably used, but likely never have written any code for. Have you ever reverse-engineered a program from its assembly code to understand what it's doing? That'll happen too.

We're keeping a leaderboard, by completion time, CPU cycles, and input size. Part of the fun of a challenge like this is to see how others are doing in real-time.

If you've done a lot of exploit development, you won't have much trouble. But we hope the real fun is reserved for the people who haven't: you'll get to play with concepts that, in the real world, involve tedious toolchain installs and comprehensive knowledge of the memory layouts of gigantic browser library codebases. You won't need any of that here: we're looking forward to seeing people who have never written a line of assembly beating people who've been doing this for years.


It's been pretty fun so far, I've beaten the first 3 levels. You don't need any experience with exploit development, and knowing assembly helps, but it's pretty easy to pick up. They have a little manual attached for it:

https://microcorruption.com/manual.pdf


Pretty fucking cool, especially considering I'm taking an assembly course in school right meow ^^ thanks for sharing!
Mavvie
Profile Blog Joined May 2012
Canada923 Posts
Last Edited: 2014-01-18 22:12:44
January 18 2014 22:11 GMT
#8570
On January 19 2014 05:19 Prillan wrote:
Show nested quote +
On January 19 2014 00:00 Morfildur wrote:
In some languages, I think python being one of them, it also means "Array/string slice from index 1 to n".

I think in this context it means the 1 to n relation in databases though.


No, [1:n] is what you're thinking of. Also, in python [1, n] is the same as [(1, n)] so it tries to grab element at index (1, n) which doesn't exist for lists.

It's..a bit more similar to Ruby? str[s,n] returns a string of n letters starting at index s.

e.g.
$ irb
> str = "abcde"
> str[2,2]
#=> "cd"


He definitely meant databases though, 1 to many relation.
Getting back into sc2 O_o
necrosexy
Profile Joined March 2011
451 Posts
Last Edited: 2014-01-19 01:31:51
January 19 2014 01:22 GMT
#8571
i need to compile this java program with ant. it's not finding the class in the external jar:
"Exception in thread "main" java.lang.NoClassDefFoundError: org/jsoup/Jsoup"
it compiles correctly, but i'm getting this error after go into the build directory and try to run the program (java prog ...)
the code works if I manually compile it w/o ant.

EDIT: nevermind, i figured it out. i feel so silly...

directory structure
project
/src
/lib (external jar here)
/build
build.xml


here's the build.xml:
<project name="Project1" default="compile" basedir=".">
<description>
Project1
</description>
<property name="src" location="src"/>
<property name="lib" location="lib"/>
<property name="build" location="build"/>

<path id="classpath">
<fileset dir="${lib}" includes="**/*.jar"/>
</path>

<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init" description="compile the source " >
<javac srcdir="${src}" destdir="${build}" classpathref="classpath"/>
</target>

<target name="clean"
description="clean up" >
<delete dir="${build}"/>
</target>
</project>

Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2014-01-19 02:34:54
January 19 2014 02:33 GMT
#8572
Is it my Java's code understanding or is that guy's code is very unreadable with long methods?

http://www.teamliquid.net/forum/viewmessage.php?topic_id=436957

I remember one of you prefers 5-10 lines methods.

Edit: Why does his .h (header) file provide actual implementation?
sluggaslamoo
Profile Blog Joined November 2009
Australia4494 Posts
Last Edited: 2014-01-19 03:49:04
January 19 2014 03:48 GMT
#8573
On January 19 2014 11:33 darkness wrote:
Is it my Java's code understanding or is that guy's code is very unreadable with long methods?

http://www.teamliquid.net/forum/viewmessage.php?topic_id=436957

I remember one of you prefers 5-10 lines methods.

Edit: Why does his .h (header) file provide actual implementation?


1-3 lines functional/declarative, 3-5 lines imperative

Its "throwaway code" though, so I don't really count that. My code is pretty bad when I'm casually testing stuff on a single file, then when I realise there's some merit to it I will refactor the whole thing.

I would only care if it was a longer term project that requires maintenance. Although I certainly would not like to work on that particular code.
Come play Android Netrunner - http://www.teamliquid.net/forum/viewmessage.php?topic_id=409008
phar
Profile Joined August 2011
United States1080 Posts
January 19 2014 20:48 GMT
#8574
On January 19 2014 11:33 darkness wrote:
Edit: Why does his .h (header) file provide actual implementation?

So in a lot of style guides you are allowed to inline some small stuff into the header file. Not the way he's doing it, but certain things are ok.
Who after all is today speaking about the destruction of the Armenians?
Tobberoth
Profile Joined August 2010
Sweden6375 Posts
January 19 2014 21:30 GMT
#8575
On January 19 2014 02:44 Mr. Wiggles wrote:
Hey, so I've been playing with something last night that I think maybe a couple of people here would be interested in.

https://microcorruption.com/

Show nested quote +
What is it?

Your target is a small embedded device; a microcontroller running compiled C code.

You get access to the device, disassembly of its code, and a low-level debugger and assembler. We "run" the devices, you interact with them via a vanilla web interface.

At each level, you'll get a simple input that, owing to some C software bug, can be used to own the target. You'll use the debugger to reverse the target, find the input, and then deliver it to a "production" instance to beat the level.

You'll face a series of revisions of the target, starting from "comically broken" and proceeding vendor-fix by vendor-fix through basic memory corruption, stack overflows, randomization, memory protection schemes, allocator vulnerabilities, and DRM-style software protection.

All this happens on an architecture you've probably used, but likely never have written any code for. Have you ever reverse-engineered a program from its assembly code to understand what it's doing? That'll happen too.

We're keeping a leaderboard, by completion time, CPU cycles, and input size. Part of the fun of a challenge like this is to see how others are doing in real-time.

If you've done a lot of exploit development, you won't have much trouble. But we hope the real fun is reserved for the people who haven't: you'll get to play with concepts that, in the real world, involve tedious toolchain installs and comprehensive knowledge of the memory layouts of gigantic browser library codebases. You won't need any of that here: we're looking forward to seeing people who have never written a line of assembly beating people who've been doing this for years.


It's been pretty fun so far, I've beaten the first 3 levels. You don't need any experience with exploit development, and knowing assembly helps, but it's pretty easy to pick up. They have a little manual attached for it:

https://microcorruption.com/manual.pdf

Thanks for recommending this, I just beat the first non-tutorial level. I've been looking for something like this, a game which is actually really useful for training assembly, reverse engineering etc. It's almost scary how realistic it is, it's more or less exactly how you crack programs IRL.
Cyx.
Profile Joined November 2010
Canada806 Posts
January 20 2014 00:53 GMT
#8576
On January 20 2014 06:30 Tobberoth wrote:
Show nested quote +
On January 19 2014 02:44 Mr. Wiggles wrote:
Hey, so I've been playing with something last night that I think maybe a couple of people here would be interested in.

https://microcorruption.com/

What is it?

Your target is a small embedded device; a microcontroller running compiled C code.

You get access to the device, disassembly of its code, and a low-level debugger and assembler. We "run" the devices, you interact with them via a vanilla web interface.

At each level, you'll get a simple input that, owing to some C software bug, can be used to own the target. You'll use the debugger to reverse the target, find the input, and then deliver it to a "production" instance to beat the level.

You'll face a series of revisions of the target, starting from "comically broken" and proceeding vendor-fix by vendor-fix through basic memory corruption, stack overflows, randomization, memory protection schemes, allocator vulnerabilities, and DRM-style software protection.

All this happens on an architecture you've probably used, but likely never have written any code for. Have you ever reverse-engineered a program from its assembly code to understand what it's doing? That'll happen too.

We're keeping a leaderboard, by completion time, CPU cycles, and input size. Part of the fun of a challenge like this is to see how others are doing in real-time.

If you've done a lot of exploit development, you won't have much trouble. But we hope the real fun is reserved for the people who haven't: you'll get to play with concepts that, in the real world, involve tedious toolchain installs and comprehensive knowledge of the memory layouts of gigantic browser library codebases. You won't need any of that here: we're looking forward to seeing people who have never written a line of assembly beating people who've been doing this for years.


It's been pretty fun so far, I've beaten the first 3 levels. You don't need any experience with exploit development, and knowing assembly helps, but it's pretty easy to pick up. They have a little manual attached for it:

https://microcorruption.com/manual.pdf

Thanks for recommending this, I just beat the first non-tutorial level. I've been looking for something like this, a game which is actually really useful for training assembly, reverse engineering etc. It's almost scary how realistic it is, it's more or less exactly how you crack programs IRL.


Hahaha tell me about it, so cool! I just made a program execute arbitrary machine language that I typed in as a password ^^ I'm like 9 levels in so far, we'll see how far I get tonight =D
Ben...
Profile Joined January 2011
Canada3485 Posts
Last Edited: 2014-01-20 02:57:05
January 20 2014 02:55 GMT
#8577
On January 19 2014 06:30 Cyx. wrote:
Show nested quote +
On January 19 2014 02:44 Mr. Wiggles wrote:
Hey, so I've been playing with something last night that I think maybe a couple of people here would be interested in.

https://microcorruption.com/

What is it?

Your target is a small embedded device; a microcontroller running compiled C code.

You get access to the device, disassembly of its code, and a low-level debugger and assembler. We "run" the devices, you interact with them via a vanilla web interface.

At each level, you'll get a simple input that, owing to some C software bug, can be used to own the target. You'll use the debugger to reverse the target, find the input, and then deliver it to a "production" instance to beat the level.

You'll face a series of revisions of the target, starting from "comically broken" and proceeding vendor-fix by vendor-fix through basic memory corruption, stack overflows, randomization, memory protection schemes, allocator vulnerabilities, and DRM-style software protection.

All this happens on an architecture you've probably used, but likely never have written any code for. Have you ever reverse-engineered a program from its assembly code to understand what it's doing? That'll happen too.

We're keeping a leaderboard, by completion time, CPU cycles, and input size. Part of the fun of a challenge like this is to see how others are doing in real-time.

If you've done a lot of exploit development, you won't have much trouble. But we hope the real fun is reserved for the people who haven't: you'll get to play with concepts that, in the real world, involve tedious toolchain installs and comprehensive knowledge of the memory layouts of gigantic browser library codebases. You won't need any of that here: we're looking forward to seeing people who have never written a line of assembly beating people who've been doing this for years.


It's been pretty fun so far, I've beaten the first 3 levels. You don't need any experience with exploit development, and knowing assembly helps, but it's pretty easy to pick up. They have a little manual attached for it:

https://microcorruption.com/manual.pdf


Pretty fucking cool, especially considering I'm taking an assembly course in school right meow ^^ thanks for sharing!

Which flavour of assembly?

I actually find assembly quite fun so far. It can be finicky but once you figure something out there is no transparency to it. It can be tedious at times but not too bad and it is quite reliable. It will do exactly what I expect it to.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
January 20 2014 03:56 GMT
#8578
In my school last semester we did MIPS, this semester we're doing x86. Interesting stuff, but it takes forever to write simple programs. On Wikipedia it says that the person who made Rollercoaster Tycoon did it entirely in Assembly. That person is likely insane.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Ben...
Profile Joined January 2011
Canada3485 Posts
Last Edited: 2014-01-20 05:44:47
January 20 2014 05:44 GMT
#8579
On January 20 2014 12:56 WarSame wrote:
In my school last semester we did MIPS, this semester we're doing x86. Interesting stuff, but it takes forever to write simple programs. On Wikipedia it says that the person who made Rollercoaster Tycoon did it entirely in Assembly. That person is likely insane.

Ah I see. We are doing MIPS as well.

Also, Chris Sawyer is the guy who made those RCT games. He's a maniac apparently. Fun games though. He did all his games in x86 Assembly back then
"Cliiiiiiiiiiiiiiiiide" -Tastosis
dapierow
Profile Blog Joined April 2010
Serbia1316 Posts
Last Edited: 2014-01-20 05:46:24
January 20 2014 05:44 GMT
#8580
Hey quick question. When I'm trying to split a text file in into an array list, which I know how to do but the problem is, this text file is a lot larger than others, and to split each segment of the text file, the Line where the segment needs to be split contains only "SP" short for split here. So my question is how do make my loop check for that SP line to split the segments into the arraylist.

while( !((input = in.nextLine()).equals("SP")))

does not seem to work for me, am I at least on the right track with it?
Eat.Sleep.Starcraft 2
Prev 1 427 428 429 430 431 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 5h 56m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ViBE131
SortOf 104
Nina 66
StarCraft: Brood War
GuemChi 1627
ProTech152
Dewaltoss 114
ZergMaN 46
Sharp 32
HiyA 23
Noble 10
Icarus 8
Force[name] 4
Dota 2
NeuroSwarm161
League of Legends
Doublelift4266
JimRising 622
Other Games
summit1g10030
Coldzera 656
WinterStarcraft454
Sick102
[ Show 12 non-featured ]
StarCraft 2
• practicex 7
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota2105
League of Legends
• Stunt409
Other Games
• Shiphtur543
Upcoming Events
GSL
5h 56m
Epic.LAN
6h 56m
Big Brain Bouts
10h 56m
OSC
15h 56m
Replay Cast
16h 56m
Sparkling Tuna Cup
1d 3h
WardiTV Invitational
1d 5h
Epic.LAN
1d 6h
IPSL
1d 9h
eOnzErG vs McRibbed
LancerX vs StRyKeR
AI Arena Tournament
1d 11h
[ Show More ]
OSC
2 days
Yamato Cup
2 days
IPSL
2 days
Artosis vs RiceHat
Kyrie vs Sony
Map Test Tournament
2 days
WardiTV Weekly
3 days
Ultimate Battle
3 days
Rush vs BeSt
Replay Cast
3 days
Rogue vs Classic
Patches Events
4 days
PiGosaur Cup
4 days
Kung Fu Cup
5 days
The PondCast
6 days
KCM Race Survival
6 days
Liquipedia Results

Completed

Proleague 2026-10-28
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026

Upcoming

IPSL Winter 2026-27
1xBet Invitational
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 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.