• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 06:51
CEST 12:51
KST 19:51
  • 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
[ASL19] Finals Recap: Standing Tall9HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL50Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
How does the number of casters affect your enjoyment of esports? The GOAT ranking of GOAT rankings The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Esports World Cup 2025 - Final Player Roster
Tourneys
https://www.facebook.com/MiracleSheetsOnline/ RSL: Revival, a new crowdfunded tournament series [GSL 2025] Code S: Season 2 - Semi Finals & Finals $5,100+ SEL Season 2 Championship (SC: Evo) FEL Cracov 2025 (July 27) - $8000 live event
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
Player “Jedi” cheat on CSL Unit and Spell Similarities Help: rep cant save Flash Announces Hiatus From ASL BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Trading/Investing Thread The Games Industry And ATVI
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 674 users

The Big Programming Thread - Page 594

Forum Index > General Forum
Post a Reply
Prev 1 592 593 594 595 596 1031 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.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2015-02-24 23:49:31
February 24 2015 23:40 GMT
#11861
oh i read that post too and for some reason the solutions just went over my head and i just ignored it, thanks~
There is no one like you in the universe.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
February 25 2015 12:06 GMT
#11862
why are coding projects so much harder than tutorialsT_T

from ez pz to this stuff scares me within 10 minutes lol.
The harder it becomes, the more you should focus on the basics.
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
February 25 2015 12:27 GMT
#11863
On February 25 2015 21:06 sabas123 wrote:
why are coding projects so much harder than tutorialsT_T

from ez pz to this stuff scares me within 10 minutes lol.


Mostly because tutorials:

a) show you only the most basic stuff
b) don't concern themselves with common real world applications (like guarding against wrong/malicious user input for example)
c) are heavily outdated most of the time
d) focus on specific - small - parts of the project, disregarding the wider view and project-wide scope
e) are created with single use-case in mind (for example, almost every single web tutorial only shows you how to create a simple blog, with a very simple blog-friendly cms, if that)
f) don't show you alternative ways of doing things, so you can pick and choose (and this way already know several possibilities and their implementation) instead of trying to figure out everything yourself
g) don't consider the possibility of you using different project structure (folders, files, namespaces) than one used in the tutorial.

Just to name a few
Time is precious. Waste it wisely.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2015-02-25 16:49:42
February 25 2015 14:20 GMT
#11864
hi

so im trying to retrieve a get response from IMDB.com's API in java EE

there's so many different examples or tutorials but none actually do the straight forward thing that i want to do step by step. the only one that came close was netbeans connecting to twitter but even that is using application modules instead of web and using an API that is a twitter feed pre-loaded into the IDE and even then that no longer exists!!

anyway i started hacking this guy's really nice example of connecting to a weather website API (had to install vaadin view framework)

it looks like i've made some progress (especially in understanding what's going on) but im at a problem for a long time now

i am getting + Show Spoiler +
javax.servlet.ServletException: com.vaadin.server.ServiceException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html; charset=utf-8, type=class org.example.domain.ForecastResponse, genericType=class org.example.domain.ForecastResponse.
when i try to run the application

i pasted + Show Spoiler +
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-moxy</artifactId>
<version>2.15</version>
</dependency>
into the pom thing and i found a button in netbeans that "checks for problems" then it automatically updated my project with dependencies which took fucking ages and was rather shocking and i thought it'd work then

then i tried changing .request(MediaType.TEXT_HTML) back and forth to APPLICATION_JSON (imdb defaults to json) and TEXT_HTML_TYPE or whatever i tried.

lastly i tried changing my query input from a correct movie ID tt1285016 to an incorrect one to see if that would give a different result when it only returns 2 parameters instead of 20. this brings me to the question: how does my application know how to map the response from the API to the class? a normal response is a JSON string that has 20 fields so how does my application know where to put them? maybe this is the missing link. i just changed the movie classes attributes to Response and Error to match the 2 returns from sending an incorrect movie ID to the API but still same problem

here is the code...... im very tired so will post now then have another look and keep going

view (java class)

package org.example;

import com.vaadin.annotations.Theme;
import com.vaadin.cdi.CDIUI;
import com.vaadin.data.Property;
import com.vaadin.server.VaadinRequest;
import com.vaadin.ui.NativeSelect;
import com.vaadin.ui.UI;
import javax.inject.Inject;
import org.vaadin.maddon.label.Header;
import org.vaadin.maddon.layouts.MVerticalLayout;

/**
* A simple example how to consume REST apis with JAX-RS and display that in
* a Vaadin UI.
*/
@CDIUI("")
@Theme("valo")
public class VaadinUI extends UI {

@Inject
JsonService service;
ForecastDisplay display = new ForecastDisplay();
NativeSelect citySelector = new NativeSelect("Choose city");

@Override
protected void init(VaadinRequest request) {

// citySelector.addItems("tt1285016","tt1285016");
// citySelector.addValueChangeListener(this::changeCity);
// citySelector.setValue("tt1285016");

setContent(new MVerticalLayout(
new Header("Simple REST weather"),
display));

display.setForecast(service.getMovie());


}




//// display.setForecast(service.getForecast(citySelector.getValue().toString()));
// }

}



service

package org.example;

import javax.annotation.PostConstruct;
import javax.enterprise.context.ApplicationScoped;
import javax.ws.rs.client.Client;
import javax.ws.rs.client.ClientBuilder;
import javax.ws.rs.client.WebTarget;
import javax.ws.rs.core.MediaType;
import org.example.domain.ForecastResponse;

/**
*/
@ApplicationScoped
public class JsonService {

private Client client;
private WebTarget target;

@PostConstruct
protected void init() {
client = ClientBuilder.newClient();
target = client.target("http://www.omdbapi.com");
}

public ForecastResponse getMovie() {
return target.queryParam("i", "tt1285016")
.request(MediaType.APPLICATION_JSON) //application_json or text_html
.get(ForecastResponse.class);
}

}


display controller (oh god i better look at this next i think i forgot to)

package org.example;

import java.util.Calendar;
import java.util.Date;
import org.example.domain.Forecast;
import org.example.domain.ForecastResponse;
import org.vaadin.maddon.label.Header;
import org.vaadin.maddon.label.RichText;
import org.vaadin.maddon.layouts.MVerticalLayout;

/**
*
* @author Matti Tahvonen <matti@vaadin.com>
*/
public class ForecastDisplay extends MVerticalLayout {

String mainTemplate = "Tomorrow in there will be ";


public ForecastDisplay() {
}

public void setForecast(ForecastResponse fr) {

// removeAllComponents();
addComponents(
new Header(String.format(mainTemplate,fr.getMovie()))
);

// Calendar cal = Calendar.getInstance();
// for (Forecast f : fr.getList()) {
// cal.add(Calendar.DAY_OF_MONTH, 1);
// Date date = cal.getTime();
// Double temperature = f.getTemp().getDay();
// String desc = f.getWeather().get(0).getDescription();
// String md = String.format(detailTemplate, date, temperature, desc);
// addComponent(new RichText().withMarkDown(md));
}
}




response class


package org.example.domain;

import java.util.ArrayList;

public class ForecastResponse {

// private String cod;
// private Double message;
// private City city;
// private Integer cnt;
// private java.util.List<Forecast> list = new ArrayList<>();
private Movie movie;
//
// public String getCod() {
// return cod;
// }
//
// public void setCod(String cod) {
// this.cod = cod;
// }
//
// public Double getMessage() {
// return message;
// }
//
// public void setMessage(Double message) {
// this.message = message;
// }
//
// public City getCity() {
// return city;
// }
//
// public void setCity(City city) {
// this.city = city;
// }

public Movie getMovie()
{
return movie;

}

public void setMovie(Movie movie) {
this.movie = movie;
}
//
// public Integer getCnt() {
// return cnt;
// }
//
// public void setCnt(Integer cnt) {
// this.cnt = cnt;
// }
//
// public java.util.List<Forecast> getList() {
// return list;
// }
//
// public void setList(java.util.List<Forecast> list) {
// this.list = list;
// }

}


child movie class


package org.example.domain;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;

public class Movie {


private String Response;
private String Error;


public String getMovieInfo() {
return Response;
}

public void setMovieInfo(String name) {
this.Response = Response;
}


public String getMovieInfo2() {
return Error;
}

public void setMovieInfo2(String name) {
this.Error = Error;
}
}


the guy's project before i cut it up (you need vaadin plugin)
https://github.com/mstahv/consuming-rest-apis

his blog about the project (i shud reread it)
https://vaadin.com/blog/-/blogs/consuming-rest-services-from-java-applications

just to reiterate i am getting + Show Spoiler +
javax.servlet.ServletException: com.vaadin.server.ServiceException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/html; charset=utf-8, type=class org.example.domain.ForecastResponse, genericType=class org.example.domain.ForecastResponse.
when i try to run the application and have tried a number of solutions... but i think its because of something i fucked up because obviously i had no problems getting the guy's original files to run

i must eat some biscuits

edit:
updated the line to have the correct methods in it....

new Header(String.format(mainTemplate,fr.getMovie().getMovieInfo(),
fr.getMovie().getMovieInfo()))


tried to run using the anime news network's API instead and getting similar error which differs in saying "messagbodyreader not found" for text/xml instead of text/html...

edit: why it take an hour to figure out how to upload a fucking project to github? all the videos assume you have dropdown options that dont exist, github tutorial only tells you how to edit the default text file on their system, eventually you figure out you need some 3rd party software to upload because your IDE is unable to do it until "you do it once somehow already" and then you get "failed to sync this branch you might need to open a shell and debug the state of this repo" as if i know what more than 2 of those words even mean. 2 seconds to upload a zip file to mirrorcreator....

ok over an hour later and still cant get any of this fucking git shit to upload my shit so here is the literally 9 kb file if you want it to open https://www.mirrorcreator.com/files/KQF7SBBH/restapiexampletest1zip._links . i deleted the git directory in it but hopefully everything is right
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
February 25 2015 18:23 GMT
#11865
Obligatory download:
https://help.github.com/articles/set-up-git/

Some required reading:
https://www.atlassian.com/git/tutorials/
https://help.github.com/articles/set-up-git/

GitBash will be your BFF from now on.

As far as the code goes, even just skimming through it I've noticed that you have 'omdb' instead of 'imdb'. Could this be your problem?
Time is precious. Waste it wisely.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2015-02-25 19:32:51
February 25 2015 19:30 GMT
#11866
no the site is called that and also im trying it on Animenewsnetwrok too where it says no reader for xml/html instead of txt/html like it does on imdb site

the problem is possibly that im trying to insert X data into X class which it doesnt fit......

i would have thought the problem occurs befoer that happens and also the error message is weird....and isnt this evidenced by the fact the error msg changes when i change it to different website ???

just got an ambulance coz i had lung pain the last few weeks and it was pretty bad today then i started fainting suddenly .... ok now i guess.... this fucking git bullshit
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Ropid
Profile Joined March 2009
Germany3557 Posts
February 25 2015 19:35 GMT
#11867
Here's a simplified guide for git: http://rogerdudler.github.io/git-guide/
"My goal is to replace my soul with coffee and become immortal."
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2015-02-25 21:19:49
February 25 2015 21:19 GMT
#11868
hey guys, I have a method that declares a variable like this

class{
variable2 = 5
method(){
variable1 = variable2 *5;
}}

so I create an instance of it
call method
and now variable 1 is 25 here for that object



later in my program I do

object.variable2 = 10

and so variable 2 becomes 10.
variable1 doesn't change values though (I thought it would). It seems to keep whatever value variable1 had when the object was created, which I guess makes sense.

Is there a way to make my object "update" all it's variables that are based on a formula?
Manit0u
Profile Blog Joined August 2004
Poland17243 Posts
February 25 2015 21:32 GMT
#11869
On February 26 2015 06:19 travis wrote:
hey guys, I have a method that declares a variable like this

class{
variable2 = 5
method(){
variable1 = variable2 *5;
}}

so I create an instance of it
call method
and now variable 1 is 25 here for that object



later in my program I do

object.variable2 = 10

and so variable 2 becomes 10.
variable1 doesn't change values though (I thought it would). It seems to keep whatever value variable1 had when the object was created, which I guess makes sense.

Is there a way to make my object "update" all it's variables that are based on a formula?


http://java.about.com/od/workingwithobjects/a/accessormutator.htm
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 25 2015 22:15 GMT
#11870
ohhh so that's a purpose of getters and setters

that, uh, makes sense
AKnopf
Profile Blog Joined March 2011
Germany259 Posts
Last Edited: 2015-02-25 22:47:09
February 25 2015 22:27 GMT
#11871
Why is variable1 a variable in the first place, when it is based only of the value of variable2 and should change every time variable1 changes? Usually, you would use a method for that.


class{
variable2 = 5
methodWithAGoodNameForTheThingThatIsVariable1(){
return variable2 * 5;
}
}


This way in the rest of your code you just have to call your methodWithAGoodNameForTheThingThatIsVariable1 instead of using variable1 and you can always be sure it has the correct value. That of course only works, when variable1 should always be variable2 * 5, as mentioned above.

Think of it this way: variable1 does not really add any new information to instance of your class, because all the information is already in variable2. It is only a shortcut so you don't have to do the calculation *5 as often. (That is btw. a cache) Usually, that is not worth the hassle of having two variables which have to be kept consistent.

-----------------

On February 26 2015 04:35 Ropid wrote:
Here's a simplified guide for git: http://rogerdudler.github.io/git-guide/

Yeah, I didn't know there was Source Tree for windows now. That's great news. Thanks
The world - its a funny place
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
Last Edited: 2015-02-25 23:04:52
February 25 2015 23:01 GMT
#11872
On February 26 2015 07:27 AKnopf wrote:
Why is variable1 a variable in the first place, when it is based only of the value of variable2 and should change every time variable1 changes? Usually, you would use a method for that.


class{
variable2 = 5
methodWithAGoodNameForTheThingThatIsVariable1(){
return variable2 * 5;
}
}


This way in the rest of your code you just have to call your methodWithAGoodNameForTheThingThatIsVariable1 instead of using variable1 and you can always be sure it has the correct value. That of course only works, when variable1 should always be variable2 * 5, as mentioned above.

Think of it this way: variable1 does not really add any new information to instance of your class, because all the information is already in variable2. It is only a shortcut so you don't have to do the calculation *5 as often. (That is btw. a cache) Usually, that is not worth the hassle of having two variables which have to be kept consistent.

-----------------

Show nested quote +
On February 26 2015 04:35 Ropid wrote:
Here's a simplified guide for git: http://rogerdudler.github.io/git-guide/

Yeah, I didn't know there was Source Tree for windows now. That's great news. Thanks


It's java, so it doesn't really matter, but using a variable to cache a commonly accessed value is an easy speed optimization that a compiler can't easily optimize for [1]. Python programmers have this pretty well ingrained into them, as if you look at any class properties, they are often cached values even if they are derived.

Not to mention the readability improvement for representing two separate data both as parameters with different names rather than having one be a function and another be a parameter.

+ Show Spoiler [1] +
In our C compiler, if we can statically count each time a derived value is accessed, we may be able to fit it in registers instead of recomputing. I don''t know if the optimization takes into account the complexity of the computation, but it probably does. x86 is screwed on this count, as it doesn't have registers to scratch.
+ Show Spoiler +
It's better just to be smarter than the compiler and tell it to cache to value...

Any sufficiently advanced technology is indistinguishable from magic
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
February 25 2015 23:52 GMT
#11873
@ff

omdb returns json, ann returns xml, you can't do the same thing for both of the formats.
There is no one like you in the universe.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
February 25 2015 23:57 GMT
#11874
I've been reading that thread.sleep is dangerous to use.

If that's the case... what's the alternative? I just want to give my users a few seconds to read the text on the screen before the text changes.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2015-02-26 00:55:10
February 26 2015 00:49 GMT
#11875
C# or Java?

In either case, use a timer construct in the language instead.
There is no one like you in the universe.
FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2015-02-26 03:13:22
February 26 2015 03:11 GMT
#11876
On February 26 2015 08:52 Blisse wrote:
@ff

omdb returns json, ann returns xml, you can't do the same thing for both of the formats.


yo, (as mentioned) i have them with application_xml, aplpication_json, text_html, application_xml_type or whatever they all are and no change. i tried adding the line .header("Content-type", "text/html") alongside the .request(MediaType.TEXT_HTML) . i tried adding more random dependencies (why my project stop deploying and i have to reload old version to get it to deploy again? fuck it).

i'll move onto something different today so dont worry about it.... i think its to do with the way i try to handle the api response, or maybe some configuration is missing, but either way i cant waste any more time on this and will look at different implementations and work towards a clean build
Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
berated-
Profile Blog Joined February 2007
United States1134 Posts
Last Edited: 2015-02-26 05:16:39
February 26 2015 05:07 GMT
#11877
On February 26 2015 12:11 FFGenerations wrote:
Show nested quote +
On February 26 2015 08:52 Blisse wrote:
@ff

omdb returns json, ann returns xml, you can't do the same thing for both of the formats.


yo, (as mentioned) i have them with application_xml, aplpication_json, text_html, application_xml_type or whatever they all are and no change. i tried adding the line .header("Content-type", "text/html") alongside the .request(MediaType.TEXT_HTML) . i tried adding more random dependencies (why my project stop deploying and i have to reload old version to get it to deploy again? fuck it).

i'll move onto something different today so dont worry about it.... i think its to do with the way i try to handle the api response, or maybe some configuration is missing, but either way i cant waste any more time on this and will look at different implementations and work towards a clean build


Omdb does return json, but they don't do so in an appropriate way. The header you are looking for is Accept: application/json .. but they seem to ignore that and any request and just send you back json with a Content-Type of text/html which is just wrong.

When you use jersey client, it definitely tries to honor the return type if you use the autotmatic mapping. I would suggest you not do that.

Instead of doing .get(Class.class) you can instead just do get which should return a Response object. You can then get the response object to give you the body as a String and then you parse the content as json yourself using either json or still going with moxy. If you are going to do this route I'd suggest looking at gson.

Edit:
Looks like if you use the r query param it sends back the right content-type for xml
http://www.omdbapi.com/?i=tt1285016&r=xml

Still doesn't for json even if you do r=json

If you have it send you back XML you're still going to have to start playing with Entities which it doesn't look like you are doing. I personally still think it would be easier to just get it as json and get the body as a string and parse it yourself.

FFGenerations
Profile Blog Joined April 2011
7088 Posts
Last Edited: 2015-02-26 05:48:10
February 26 2015 05:46 GMT
#11878
i can do the same with xml right , just put an xml response object into a string (and print it) (for fast result)?

thanks dude. like i said ill start from scratch from a dif perspective/setup

i try
 
return target.queryParam("i", "uuu").queryParam("r","xml")
.request(MediaType.TEXT_XML) // and application_xml
.get(ForecastResponse.class);


but still
com.vaadin.server.ServiceException: org.glassfish.jersey.message.internal.MessageBodyProviderNotFoundException: MessageBodyReader not found for media type=text/xml; charset=utf-8, type=class org.example.domain.ForecastResponse, genericType=class org.example.domain.ForecastResponse.
etc and besides its similarlly (but not identically) problem on animenewsnetwork as with imdb


Cool BW Music Vid - youtube.com/watch?v=W54nlqJ-Nx8 ~~~~~ ᕤ OYSTERS ᕤ CLAMS ᕤ AND ᕤ CUCKOLDS ᕤ ~~~~~~ ༼ ᕤ◕◡◕ ༽ᕤ PUNCH HIM ༼ ᕤ◕◡◕ ༽ᕤ
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
Last Edited: 2015-02-26 06:16:23
February 26 2015 06:07 GMT
#11879
the .get(ForecastResponse.class) isn't working, no clue why

just call .get(String.class) and it'll give a string object you can work with instead (unless it fails)
There is no one like you in the universe.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
February 26 2015 06:17 GMT
#11880
can you really put a comment in the middle of chaining calls or is that just added after for clarity?
conspired against by a confederacy of dunces.
Prev 1 592 593 594 595 596 1031 Next
Please log in or register to reply.
Live Events Refresh
RSL Revival
10:00
Season 1: Playoffs Day 2
herO vs SHIN
Reynor vs Cure
Tasteless776
3DClanTV 90
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Crank 1438
Tasteless 765
Harstem 142
IndyStarCraft 134
Rex 114
StarCraft: Brood War
Calm 9717
firebathero 5922
Rain 5013
Horang2 1608
Jaedong 1511
Larva 554
Pusan 491
actioN 404
BeSt 317
Leta 280
[ Show more ]
EffOrt 162
Light 143
Mini 140
ToSsGirL 135
Rush 111
Hyun 110
PianO 78
JYJ53
JulyZerg 48
Mind 48
Killer 35
Backho 28
Sharp 24
Mong 23
NaDa 23
HiyA 18
sSak 17
Sacsri 14
zelot 12
Shinee 10
Movie 8
IntoTheRainbow 7
SilentControl 5
Bale 4
Barracks 4
Dota 2
XcaliburYe744
XaKoH 408
420jenkins279
League of Legends
JimRising 348
Counter-Strike
shoxiejesuss811
Stewie2K558
allub254
Other Games
DeMusliM412
Pyrionflax234
ArmadaUGS93
rGuardiaN53
Lowko34
Organizations
StarCraft 2
ComeBackTV 580
IntoTheiNu 37
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Berry_CruncH255
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt468
Upcoming Events
OSC
2h 9m
WardiTV European League
5h 9m
Scarlett vs Percival
Jumy vs ArT
YoungYakov vs Shameless
uThermal vs Fjant
Nicoract vs goblin
Harstem vs Gerald
FEL
5h 9m
Big Brain Bouts
5h 9m
Korean StarCraft League
16h 9m
CranKy Ducklings
23h 9m
RSL Revival
23h 9m
FEL
1d 5h
RSL Revival
1d 23h
FEL
2 days
[ Show More ]
BSL: ProLeague
2 days
Dewalt vs Bonyth
Replay Cast
3 days
Sparkling Tuna Cup
3 days
The PondCast
4 days
Replay Cast
5 days
RSL Revival
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
2025 ACS Season 2
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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 © 2025 TLnet. All Rights Reserved.