|
BillWoodruff wrote: ... while solving a raft of open problems in computer science, physics and mathematics. What an amazing age we live in:
- Science (and math) is moving ahead in leaps and bounds
- and humanity is moving twice as fast ... albeit in the opposite direction.
Who's worried about a zombie apocalypse??? we've got people!
|
|
|
|
|
Don't remember who told it, but accurated too:
Quote: Humanity is winning knowledge with incredible speed, pity that it is losing wisdom even faster.
(or something like that)
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Imagine having been born in 1895. By age 50, you would have gone through WW1, the Depression, and WW2.
But I would agree that many things are headed in the wrong direction, wisdom among them.
|
|
|
|
|
I was singing in a church choir, doing the Mozart "Coronation Mass". The conductor made some remarks about what some people managed to achieve at an age of 23 years. I couldn't resist raising my hand and remark: "Yeah, and at your age, he had managed to be dead for five years!"
The entire choir, and the conductor, went remarkably quiet after my comment.
|
|
|
|
|
Nelek wrote: Humanity is winning knowledge with incredible speed Or just stealing it[^].
This is common knowledge that I remember first reading about in Dawkins' The Blind Watchmaker, back in 1986, so some knowledge-winning, it seems, is more a case of looking for ideas to put one's name on, so that people in the future will believe they are yours.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: Or just stealing it[^]. I know... we bring our 5 cent against it every day with all the cheaters and plagiarists here in CP . They are worst than a plague
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
modified 7-Mar-20 19:37pm.
|
|
|
|
|
Good read
Monday starts Diarrhea awareness week, runs until Friday!
JaxCoder.com
|
|
|
|
|
Java's split() behaves very weirdly. I was needing to split on a caret ^ and
"Test1^Test2".split("^") was throwing an error. A quick google search says that special characters need to be escaped. No big deal, I do
"Test1^Test2".split("\\^") and still same error (invalid escape sequence characters...)
I google for a java fiddle and test it in the fiddle and it works great. So, I check eclipse and find that I have java 1.8 so I include that in google.
Luckily I find a new response that says to use java.util.regex.Pattern.quote(). So, I try
"Test1^Test2".split(java.util.regex.Pattern.quote("^")); and that actually works.
The documentation says string.split() has been around since Java 1.4 so why in the world would eclipse behave different than other java compilers?
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
"He that lieth down with dogs shall rise up with fleas." --Benjamin Franklin
|
|
|
|
|
ZurdoDev wrote: so why in the world would eclipse behave different
Because it's Eclipse.
|
|
|
|
|
Marc Clifton wrote: Because it's Eclipse. "As a matter of fact, it's all dark"
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
StackOverflow[^] seems to think your second code block should work.
What does java.util.regex.Pattern.quote("^") return, and how does it compare to "\\^" ?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: StackOverflow[^] seems to think your second code block should work. Ya, 95% of the search results all say that should work, and it actually does in a java fiddle.
Richard Deeming wrote: What does java.util.regex.Pattern.quote("^") return, and how does it compare to "\\^" ? It was something like "\\Q\\E".
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Regex vs non-regex? Your last example is rather explicit. The previous ones...well, somebody clearly doesn't like them. For some reason.
|
|
|
|
|
Someone doesn't like regex?!?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
ZurdoDev wrote: why in the world would eclipse behave different than other java compilers? Unless it has changed recently, eclipse is not a compiler, it uses the installed version of Java to perform compiles.
|
|
|
|
|
So I wasn't the only one thinking that... yeah, it's an IDE afaik.
Cheers,
विक्रम
"We have already been through this, I am not going to repeat myself." - fat_boy, in a global warming thread
|
|
|
|
|
Richard MacCutchan wrote: eclipse is not a compiler, it uses the installed version of Java to perform compiles. Yes, which is what I said in my OP but I did not say it clearly, I guess.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
Hi all, I'm in the process of replacing my home router which has a private ip address of 10.10.1.1.
I'd like to run both routers in parallel for a while until I'm happy with the new kit.
I've connected the new router to the existing one and given it an ip address of 10.10.2.1. As an incremental migration stage I've configured one of my devices to connect to the new router ( which it does ) but the device cannot see / ping devices on the existing subnet. If I take the old router out of the equation and connect all devices to the new router all obviously works perfectly but I'd like to run both in parallel until I'm happy with the new kit. Suggestions ?
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Keeping it simple? Keep the old router next to the new one but used the new one. If relevant, load test it. If satisfactory you can move the old router a few feet further away - maybe unplug it.
This makes your test clean and sure (as sure as you can be with electronics these days . . . keep the old one as a ready-backup!).
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
You can try creating a bridge. If you have two adapters in a connected PC you can connect one to each router and then bridge them. Some routers will allow bridging if you connect the other router to it but it isn't always available these days.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Forogar wrote: Some routers will allow bridging ... but it isn't always available these days. I've seen that with some newer routers, the reason is not any lack of the equipment's capabilities, rather dumbed down settings that dont allow bridge mode setup.
I somehow did get a newer ASUS [without any bridge mode settings] to work (by turning off it's DHCP server setting) except it refused to accept a subnet mask different to factory default (in any mode) ...despite a setting for that being there.
- result: it does bridge (fully works), but that router itself is invisible on the network.
Equipment is getting better, it's the settings that are getting worse, waaaay worse.
-- happening everywhere, not just routers.
after many otherwise intelligent sounding suggestions that achieved nothing the nice folks at Technet said the only solution was to low level format my hard disk then reinstall my signature. Sadly, this still didn't fix the issue!
|
|
|
|
|
If DHCP activated... which pool are you giving in each router?
Are you using only one router as default gateway? or using each router in each subnet as such?
Which subnet mask are you using in the devices?
If the default 255.255.255.0 (/24), then you won't be able to see the devices on the second net. You should change to at least 255.255.63.0 (22), but I would just go for the easiest solution and use 255.255.0.0 (/16)
Can a device in the first subnet see the device on the second one?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Subnetting is the first thing that came to my mind. Once the subnet is fully accessible, what determines the route is the gateway address.
"Five fruits and vegetables a day? What a joke!
Personally, after the third watermelon, I'm full."
|
|
|
|
|
This.
I use static IPs, and have grouped my systems so for example:
- Everything that's considered network gear is all under 192.168.1.x
- Devices such as my Xbox, printers, tablets and phones are under 192.168.50.x
- Physical machines are under 192.168.100.x
- Work-related VMs are under 192.168.250.x
- Other VMs are under 192.168.200.x
- ...you get the idea
The only way these systems can all talk to each other is if the subnet is set to 255.255.0.0
|
|
|
|