« first day (3415 days earlier)      last day (1532 days later) » 

12:00 AM
"Just the facts, Ma'am" -- Joe Friday (source)
 
12:27 AM
picks nose
 
 
6 hours later…
6:27 AM
dreams of electric sheep
 
 
1 hour later…
7:45 AM
@Michael Well done, sir!
I wish they made the mk 3 conveyer belts carry 240 though
it irks me that it carries slightly more
though I suppose that's not that big of a deal
it tends to make power jump up and down when machines are running at 100% efficiency
and then removing 30 from a line of 270 is a pain
 
 
2 hours later…
9:53 AM
can anyone help with the web-fragment.xml in servlet 3.0
 
10:16 AM
@Michael @d0n.key Ah I see - hadn't realised that. Let me try to escape it.
 
even if you escape it, it wont matter
dot is a wildcard character, it matches dots as well
your issue is that you dont use it as a regex
the class you use uses a special syntax for its pattern, not regex
18 hours ago, by Michael
Also, WildcardFileFilter does not take regex by the looks of it.
 
10:37 AM
Hi
 
@nikcyber3nikcyber3 Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
Need help understanding some Java code
Can someone help ?
public class ExclamationFunction implements Function<String, String> {
@Override
public String process(String input, Context context) {
return String.format("%s!", input);
}
}
what is the syntax Function<String, String> i have never seen it in my life
 
Zoe
10:51 AM
Generic types.
 
@nikcyber3nikcyber3 it's when you could potentially have multiple types for a specific purpose, such as Container<String> could potentially hold and give only string values
in the context of Function<String, String>, it is meant to be used as a lambda that takes a string and returns a string
 
11:12 AM
@nikcyber3nikcyber3 have you seen stuff like List<String> before?
 
11:53 AM
@Wietlol whoa whoa.. get your super convoluted classes out of here..
 
its an interface
 
12:38 PM
Thanks I read about it You guys are wonderful for helping me out despite stackoverflow banning me
 
12:58 PM
Hey guys, got a simple doubt what does {} mean in this code in line2

1 class something{
2 {System.out.println("Hello");}
3 }
 
@Dimenein Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
its an initializer
 
Does it make any difference if I dont add it ?
 
the code inside the {} will run every time you create an instance of that class
just like a constructor
except that when you have multiple constructors, one could get called, but not the other (depending on how you chain them)
initializers always run
you can use them to initialize fields with more logic than just one expression
 
I see, got it thanks m8
 
1:01 PM
in your case, every time you create a new something, "Hello" is printed in the console
 
gotcha
 
1:37 PM
Hello guys! Needed some help. We recently upgraded our Spring Boot app from v2.1.10 to v2.2.4 and with it, we removed Ribbon Loadbalancer, and replaced it with Spring Cloud load balancer. We are since then facing a weird issue of API calls from web UI sometimes taking a long time to load. This issue is recurrent, but occurs randomly among the APIs. I am at my wits end why this is happening, and was wondering if anyone here has encountered a similar issue
Or any pointers on how to debug this and find the root cause would also be helpful
 
add a lot of monitoring... and I mean a LOT
add tracing ids to all your requests
log the moment that the client sends the request
log the moment that the server receives the request
log the moment that the server sends the response
log the moment that the client receives the response
turn it on in production for a day or two
then query your logs, group the logs with the same tracing id together
and try to find out which part takes unnecessarily long
I assume it will be between the sends and receives
if so, it is the communication/redirection that is the issue
if it is between the receive and send, (server side) then it is the balancing that is the issue
 
2:02 PM
Happy Friday!
 
/party
/sandbox
 
Please go play in the sandbox
 
/party
 
That was the most emotional and least epileptic gif I could find :)
 
2:33 PM
@Neil 270 is a perfect number for Steel production. Each smelter consumes 45/min iron and coal, and outputs 45/min steel. That's exactly 6 smelters.
 
good point
I try not to overclock whenever possible
clearly not advantageous for anything other than space
 
Yeah, the only thing really worth overclocking are miners.
I had to do that in order to fully saturate the Mk.3 belts for steel production.
 
Thanks

I have added logs... Now it's time to wait and watch
 
Or maybe water pumps, if you are pumping water from a small lake.
 
yeah, in the experimental map, there is a small lake near the coal
i could just barely fit 3 in there
 
2:38 PM
Power consumption increases non-linearly the more you increase the speed of a machine.
So that's another reason not to overclock
I can't wait to unlock Aluminum. I have a sick plan for an Aluminum Sheet factory that I'm dying to build.
The only annoying thing about it is that I'll have to import Petroleum Coke into the factory because there aren't any Oil nodes nearby.
 
is that what is required to make aluminum sheets now?
I really like what they did with oil processing
I still don't know what happens if there's no room for heavy oil residue output
 
Well, you need Coke + Aluminia liquid to make Aluminum Scrap. Then you smelt that and Silica together to make Aluminum Ingots.
@Neil Then the refiners that produce residue as a by-product will stop functioning.
What you do is you either refine the residue into something or store it in a liquid storage container.
Then, you can manually flush the storage container when it gets full.
 
What are you talking about? Sounds like Minecraft except different
 
Satisfactory
 
alrighty
 
2:48 PM
I have a refinery setup that's producing 100/m Plastic and 20/m Rubber. It's refining the residue into Fuel, and using the fuel to power Fuel Generates and make Packaged Fuel for my jetpack. :)
It works pretty well, but it still makes an overflow of residue.
I also made a Packaged Biofuel plant just for kicks.
The chainsaw can't use Packaged Biofuel though. It only uses Solid Biofuel, so that was a letdown. xD
 
@Michael yeah I don't like that :P
I've been converting to fuel so far, but it's full now
if you don't use up the fuel, then your plastic and rubber production die
and your fuel production dies if you use no plastic or rubber
 
@Neil You could convert the residue to Coke and then just feed the Coke to an AWESOME Sink.
Seems like a waste though. xD
@Neil Yep, it's a catch-22. xD
 
3:03 PM
@Michael that's true
I'm also missing a refinery that converts from crude oil to fuel directly
I'll definitely need that for continuous power
don't want everything to shutdown just because I don't need plastic or rubber
 
@Neil But that produces Polymer Resin as a byproduct.
 
@Michael AWESOME sink ;)
 
You can also just burn Crude Oil directly, I believe. But it's not as efficient as fuel.
@Neil Or use it to make plastic/rubber.
And there's an alt recipe that lets you make Fabric from Polymer Resin and Water, so you can finally automate Fabric production now.
 
oh that's interesting
I don't know what use you could have for fabric though in a production context
I got a recipe for creating 50 screws from 1 steel beam
 
Making filters. That's about it.
 
3:14 PM
I love this recipe, I'm using it everywhere now
 
@Neil Ooo nice.
 
makes like 260 screws per minute
that's just one constructor with no overclocks
 
I got the Casted Screw recipe, which lets you make Screws directly from iron ingots.
 
I got that one too
 
@Neil Holy cow, I want that.
 
3:16 PM
so all those assembly machines which eat away at the screws like there's no tomorrow, all I have to do is feed a constructor steel beams first :P
and just takes one more constructor to convert steel to steal beams so
 
Good thing the Mk.3 belts take 270 and not 240, huh? xD
 
I see what you did there ಠ_ಠ
 
haha
I remember when the Mk.4 belts took 450. Then they later upped them to 480.
 
i want that recipe that converts iron ingots into steel with coal
 
Yeah, that's a good one.
 
3:19 PM
I could reorganize quite a bit with that
@Michael yeah that's a welcome change
 
The Caterium Circuit Board alt is good. Uses a lot less plastic.
12.5/m plastic + 37.5/m quickwire = 8.75/min circuit boards
 
the refineries only make 20 per minute too..
they eat up so much power
I'm going to have to do some math on that.. it would seem that the fuel-based power consumption would have to scale with the refineries
since the refineries consume a bit, I need to understand how many refineries can be supported by one fuel power consumer
 
Yeah they really eat up a lot
Power didn't used to be as much of an issue before.
Before you could just throw down a couple dozen fuel generators next to an oil node and call it a day. xD
 
yeah
they've certainly added a few complications to things
though I think when I finally hit expanded power structures milestone, I'm going to leave my coal power up
they were a pain in the ass to setup and they're self-sustaining
unless I really really need the extra coal
 
Same
Probably won't consider getting rid of them until nuclear
 
3:28 PM
I made the smart choice of keeping power away from my base this time
I have this issue where I feel like I can't dedicate to the base as I want it to be until I've gotten all the milestones
so aside from the smelting, the production side of things is kind of structured based on what I need
 
I've been trying to organize all my factories as 3x4 stackable buildings.
I put all the buildings up on 1 wall high "stilts", so all the logistics can go underneath the buildings.
Many of the alt recipes aren't as epic as they used to be, so I feel like there's not as much a pressing need to wait until you have them all before you do serious design work on your factories.
 
3:46 PM
that'll screw you over when it won't fit in a 3x4 area :P
though I can definitely appreciate your attempt at being modular
I've made a large building for smelting iron capable of producing up to 480 iron per minute
my idea is that if I wanted to scale up, I can build on top
though not really advantageous yet, because I can only pass 270 per minute
I'm using industrial container, so I suppose that's still technically 540 per minute I can consume potentially
 
I make my smelting towers 2x2 foundations with 2 smelters per floor.
@Neil You could have two factories making 270/minute ingots and then feed them into the same industrial container.
 
@Michael now you make me want to redo everything!
ugh!
 
Sorry!
 
I don't really like the combining that happens
seems like that should be part of the "building" structure I guess
though there's nothing stopping me from enclosing the combining part in part of the building as well
 
@Neil Actually, I have found that many designs can fit into that footprint. You might need to make a design multi-floor (for example, with Computers), but 3x4 is a decent size to work with.
Reinforced Iron Plates and Rotors need 3x5 though. Unless you have the Casted Screw alt.
 
4:01 PM
also it kills my graphics cards, but I love the glass foundations
Lets in light into the factory
 
Yeah
The wall power poles are awesome too
 
there are also wall pipe holes
for passing through pipes through walls
i love all this new stuff
 
Yeah, I wish they would do the same thing for conveyor belts. Would be nice to have the power to choose where the holes are for belts too.
Also FYI, pipes can clip through foundations. Great for running your pipes underneath your factories. :D
 
oh really?
I don't generally like clipping conveyer belts in the ground or pipe through the ground
so I probably wouldn't do that either
you can overlap so many conveyer belts, no problem
just looks awful
 
Yeah I don't like clipping belts either.
 
4:49 PM
@Neil Huh. I think you can burn heavy oil residue in Fuel Generators.
 
 
1 hour later…
5:54 PM
Hi all! I would like to create a chat app. On the server side I would like to use NIO channels and selectors for the serversocket incomming connections (because it doesn't consume much memory like with threading per connection). Questions: how can i imprement REST like JAX-RS over NIO server sockets? How can I implement secure connections over NIO? Are there any libraries? I know chats are usually done with simple TCP but i want this one with REST calls. Thanks!
 
@BogdanB Welcome to the Java Chat, the room for Java enthusiasts! I'm Oak, one of the room's bots. If you want to ask a question, just ask it and someone will respond if they feel like it. But remember that this room is not a help desk or tutoring service! If you want to just hang out, then welcome aboard! Oh, and the room's full list of rules are posted here.
 
6:08 PM
@BogdanB That seems like a lot of questions at once, I'd suggest opening a Thread instead of asking here.
 
6:35 PM
@Neil Ooo they just reduced the power cost of refineries to 30MW: reddit.com/r/SatisfactoryGame/comments/fawdij/…
 
 
2 hours later…
8:12 PM
 
 
1 hour later…
Zoe
9:24 PM
@Michael factorio > satisfactory
 
9:50 PM
@Zoe Never played Factorio.
 
Zoe
you should try it
 
From what I heard, Satisfactory isn't as complex in terms of recipes, but it adds the 3D aspect.
Maybe once I get tired of Satisfactory. It's pretty much consuming all my free time atm. xD
 

« first day (3415 days earlier)      last day (1532 days later) »