ByteCode.News
Submit RSS Atom Podcast Sign in

Back to the channels

#java

  1. cheeser fwiw, the bot had some network connection issue. it's supposed to be able to detect and handle those but that code has always been flaky and I've just never really taken the time to dig in to it.
  2. cheeser i've turned claude loose on it, though, and have a whole check list of things to address tracked in a file in the source repo for anyone interested in following along.
  3. jreicher nimaje: I don't see a reason to use certfp. non-cert SASL is enough.
  4. jreicher Certs, generally speaking, are a pain.
  5. jreicher NeXeN: I think you mean authentication with nickserv? What I said about REGAIN still applies there, I think. I don't see why that would fail.
  6. NeXeN jreicher: yeah i am not sure of the sequence of events
  7. jreicher Could you find out and then come back to congratulate on for being right? I only participate in these conversations for personal validation.
  8. NeXeN i doubt i can find out, but i will admit defeat
  9. NeXeN just for the asking
  10. jreicher You know I was joking, right? :)
  11. NeXeN that's why i had to go with it, incase someone else didn't
  12. NeXeN you know, improv a little
  13. jreicher Dammit. You totally out-deadpanned me.
  14. NeXeN well it's irc...you know....it's sort of the only way to delivery a line
  15. pr070cal hi i have an ArrayList of object arrays and in the object array is 6 elements
  16. pr070cal if i do arrlist.get(i) it returns the object array
  17. pr070cal how to i reference to element [0]
  18. pr070cal i tried (arrlist.get(i))[0]
  19. pr070cal but it didnt work
  20. nimaje can you share a small example and the error you got?
  21. fizzie Seems fine to me: https://ideone.com/v0yCI1
  22. pr070cal https://www.irccloud.com/pastebin/RWHLRvsI/
  23. nevet Snippet | IRCCloud
  24. pr070cal if(ArrayObj.getString("symbol").toString().equals(arrlist.get(i)[0])&&root!=null)
  25. fizzie Then it's probably an ArrayList<Object> that just happens to contain an Object[].
  26. fizzie Which means you'd have to cast it first, though it's a pretty terrible situation to be in the first place: https://ideone.com/gO59Fs
  27. pr070cal ok that worked thanks
  28. NeXeN when you use Object[] arrays to store multi-element record, you bypass compile-time safety. a dedicated domain class would avoid the brittle numeric indices (and unifies validation)