|
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. |
On August 10 2020 18:47 Manit0u wrote: Discovery of the day: company I'm working for now has a shower in the server room. Literally server rack is standing next to a shower stall.
My mind was blown. It is connected to water? Or did they just repurpose it to pump argon into the room? :D
|
On August 10 2020 20:45 Acrofales wrote:Show nested quote +On August 10 2020 18:47 Manit0u wrote: Discovery of the day: company I'm working for now has a shower in the server room. Literally server rack is standing next to a shower stall.
My mind was blown. It is connected to water? Or did they just repurpose it to pump argon into the room? :D
It's normal shower where people can go and take a shower if they were driving by bike on a hot summer day etc.
|
look what i have to deal with... meddling co-workers.
|
|
On August 11 2020 01:25 Nesserev wrote:It sucks that you cannot report this to HR. Hahaha, I think you should. File a harrassment complaint against your pets!
@manitou: so is it a separate room? or literally just a cubicle in a corner, with steaming coming over the top and if the drain gets slightly clogged, puddles coming out the bottom? coz that sounds.... dangerous.
|
On August 10 2020 22:53 Manit0u wrote:Show nested quote +On August 10 2020 20:45 Acrofales wrote:On August 10 2020 18:47 Manit0u wrote: Discovery of the day: company I'm working for now has a shower in the server room. Literally server rack is standing next to a shower stall.
My mind was blown. It is connected to water? Or did they just repurpose it to pump argon into the room? :D It's normal shower where people can go and take a shower if they were driving by bike on a hot summer day etc. That is hilarious. You wanna see an awesome server room? I'll show you an awesome Server room.
+ Show Spoiler +
+ Show Spoiler +
+ Show Spoiler +
Every Server Room Disaster has Its Own Origin Story... + Show Spoiler +I'm not a hardware guy. At all. I customized this organization's POS via PHP. I customized their report writing tools using Visual Foxpro. Seven years ago I made a Movie Viewing package for his biggest retail locations in C++. His #1 location has always been quite disorganized. When Covid hit he decided to lay off his very expensive Workstation-Admin // Server-Admin // Hardware set up guy. As expensive as he was ... I thought he was worth the money. I politely advised against laying him off. The hardware/admin guy got laid off in mid-March. He was replaced with a guy I'd generously describe as a "curious tinkerer". The Server Room was always pretty bad. The place is generally disorganized. Now, it is a total disaster. That is a power box hanging diagonally across the entrance to the Server Room. It is hanging diagonally due to the tension of being pulled sideways by a power bar that is under hundreds of feet of dozens of network cables. In there you'll notice a power box that supplies power to POE security cameras. The exposed copper is too long Sometimes "+" and "-" cables cross each other and every security camera loses power for a few seconds. sigh Last week the owner guy got into a giant argument with the former network admin. As a result, I will probably end up being put in charge of the team that will clean up the hardware infrastructure and the server room. The main reason he is going with me is that he trusts me. On the software side of things I hit deadlines and my software works as advertised. He is hoping I can do the same thing in directing a team to improve the hardware issues his organization currently faces. The owner is worried I might not accept the job. I said ... "if you got the money ... i got the time".
|
On August 11 2020 03:02 JimmyJRaynor wrote:Show nested quote +On August 10 2020 22:53 Manit0u wrote:On August 10 2020 20:45 Acrofales wrote:On August 10 2020 18:47 Manit0u wrote: Discovery of the day: company I'm working for now has a shower in the server room. Literally server rack is standing next to a shower stall.
My mind was blown. It is connected to water? Or did they just repurpose it to pump argon into the room? :D It's normal shower where people can go and take a shower if they were driving by bike on a hot summer day etc. That is hilarious. You wanna see an awesome server room? I'll show you an awesome Server room. + Show Spoiler ++ Show Spoiler ++ Show Spoiler +Every Server Room Disaster has Its Own Origin Story... + Show Spoiler +I'm not a hardware guy. At all. I customized this organization's POS via PHP. I customized their report writing tools using Visual Foxpro. Seven years ago I made a Movie Viewing package for his biggest retail locations in C++. His #1 location has always been quite disorganized. When Covid hit he decided to lay off his very expensive Workstation-Admin // Server-Admin // Hardware set up guy. As expensive as he was ... I thought he was worth the money. I politely advised against laying him off. The hardware/admin guy got laid off in mid-March. He was replaced with a guy I'd generously describe as a "curious tinkerer". The Server Room was always pretty bad. The place is generally disorganized. Now, it is a total disaster. That is a power box hanging diagonally across the entrance to the Server Room. It is hanging diagonally due to the tension of being pulled sideways by a power bar that is under hundreds of feet of dozens of network cables. In there you'll notice a power box that supplies power to POE security cameras. The exposed copper is too long Sometimes "+" and "-" cables cross each other and every security camera loses power for a few seconds. sigh Last week the owner guy got into a giant argument with the former network admin. As a result, I will probably end up being put in charge of the team that will clean up the hardware infrastructure and the server room. The main reason he is going with me is that he trusts me. On the software side of things I hit deadlines and my software works as advertised. He is hoping I can do the same thing in directing a team to improve the hardware issues his organization currently faces. The owner is worried I might not accept the job. I said ... "if you got the money ... i got the time".
That is... well... maybe I need to go and peek in our server room, but I want to think being a major ecommerce platform we have that organized somewhere in a data center. I know servers always tend to devolve into chaos (although the only time I really had to worry about it, we had a pretty amazing organization system with color coded cables, tie rips holding bundles together properly and generally getting as much order into the chaos that is kilometers of cables you can reasonably expect.
However, there is a difference between chaos and a total fire hazard. What you just photographed... well.. there's a real chance you short circuit something and if that shoots a spark into a nice big pile of dust that got collected somewhere between those haphazardly strewn cables... goodbye building.
I am not much of a hardware guy myself. But I know enough that I wouldn't try my hand at something that is that messed up unless you can take the whole thing offline for a week or so while you reorganize, or you have permission to say "my solution is to ebay all our hardware and set up our infra with AWS/Azure/Google cloud".
|
On August 11 2020 03:55 Acrofales wrote: I am not much of a hardware guy myself. But I know enough that I wouldn't try my hand at something that is that messed up unless you can take the whole thing offline for a week or so while you reorganize, or you have permission to say "my solution is to ebay all our hardware and set up our infra with AWS/Azure/Google cloud".
I'm going to be in charge of two hardware guys. I might assist them in doing some of the actual work. He doesn't draw much distinction between software and hardware. Sort of how non-math people don't really treat calculus and algebra as being different. Whether we work on hardware or software he views us all as "techies".
On August 11 2020 03:55 Acrofales wrote: you have permission to say "my solution is to ebay all our hardware and set up our infra with AWS/Azure/Google cloud".
Normally that is a great suggestion. However, He won't put anything in the cloud. He wants all his data stored in his physical locations. I suspect that much of his business is what I'd call "grey market". I like to think of it as a modern day pirate ship!
He is very picky about where his data is and how quickly portions of it get removed from the main database and archived off site. The archive location(s) are also important to him as well. I've built an entire system around these requirements in 2012.. or maybe it was 2011.. i can't recall.. so long ago.
+ Show Spoiler +
On August 10 2020 22:53 Manit0u wrote:Show nested quote +On August 10 2020 20:45 Acrofales wrote:On August 10 2020 18:47 Manit0u wrote: Discovery of the day: company I'm working for now has a shower in the server room. Literally server rack is standing next to a shower stall. My mind was blown. It is connected to water? Or did they just repurpose it to pump argon into the room? :D It's normal shower where people can go and take a shower if they were driving by bike on a hot summer day etc. can you please keep us updated on how this ends?
|
I am not a hardware guy myself but i have built almost from scratch testlab for company i work for in our new office. There are few general advices i can give: -In best case scenario cables should hold on something more than tension and there should be no stress at the point of entry into device. Cable should not just hang from socket. -If You cant achive both of those go for no stress -Remmember that gravitation + weight of cable causes stress so attach cables to something that will disperse force from entry point (to a rack for example) -Racks and cable ties are Your friends -Dont let cables just lie around, attachem them to something -Remmeber that You should leave access space for every point of server/lab
|
one of my favourite design books ... https://www.amazon.ca/About-Face-Essentials-Interaction-Design/dp/1118766571
Cooper argues that app building is not the profession of a software engineer .. nor is it the profession of the computer scientist. According to Cooper .. app making/building/developing is an act of craftsmanship.
On August 11 2020 05:12 Silvanel wrote: I am not a hardware guy myself but i have built almost from scratch testlab for company i work for in our new office. There are few general advices i can give: -In best case scenario cables should hold on something more than tension and there should be no stress at the point of entry into device. Cable should not just hang from socket. -If You cant achive both of those go for no stress -Remmember that gravitation + weight of cable causes stress so attach cables to something that will disperse force from entry point (to a rack for example) -Racks and cable ties are Your friends -Dont let cables just lie around, attachem them to something -Remmeber that You should leave access space for every point of server/lab thanks for taking the time to post this.
|
Trying to do functional programming in PHP is seriously weird...
implode( PHP_EOL, array_map( function ($paragraph) { return preg_replace_callback( self::ATTRIBUTE_PATTERN, function ($matches) use ($product) { return $product->getData(self::ATTRIBUTE_MAP[$matches[2]]) }, preg_replace_callback( self::SYNONYM_PATTERN, function ($matches) { return array_rand(array_flip(explode('|', $matches[2]))); }, $paragraph ) ) }, array_map( function ($paragraph) { return array_rand(array_flip(explode('||', $paragraph))); }, explode('--!--', (str_replace(["\r", "\n"], '', $text)) ) ) );
|
Hyrule18772 Posts
Probably because PHP was never designed to be a functional language, and only in the past couple years has it gotten some functional stuff
|
I think the biggest problem of PHP is that it's not really anything apart from structural scripting language. There is some OOP and functional stuff slapped up on top of it but all of it feels rather clunky. I mean, Ruby is OO and not really functional but because OO is done so well in there it's easier to do functional stuff with it since method chaining is super easy so as long as you return objects that respond to map, reduce etc. you can chain them as much as you need without needing this nested functions that are hard to read since you have to start at the end to see what are they operating on.
Above example in Ruby would be something like that:
text .chomp .split('--!--') .map { |p| p.split('||').sample } .map do |p| p .gsub(synonym_pattern) { |match| match.split('|').sample } .gsub(attribute_pattern) { |match| product.send(match.to_sym) } end .join("\n")
It's easier to reason about since we're writing code in the order that it will be executed in. It also looks much cleaner, but that's usually the case with Ruby vs any other language really...
Here's a visual representation of how the operations will be handled:
|
Official presentation of new S-class (that i worked on). Not a lot features shown since its about whole care and not only SW, still might be interesting to some: + Show Spoiler +
|
Hey, then I also worked on it :D That outer design is done using the software we are making :D
|
|
Northern Ireland20729 Posts
On August 11 2020 03:02 JimmyJRaynor wrote:Show nested quote +On August 10 2020 22:53 Manit0u wrote:On August 10 2020 20:45 Acrofales wrote:On August 10 2020 18:47 Manit0u wrote: Discovery of the day: company I'm working for now has a shower in the server room. Literally server rack is standing next to a shower stall.
My mind was blown. It is connected to water? Or did they just repurpose it to pump argon into the room? :D It's normal shower where people can go and take a shower if they were driving by bike on a hot summer day etc. That is hilarious. You wanna see an awesome server room? I'll show you an awesome Server room. + Show Spoiler ++ Show Spoiler ++ Show Spoiler +Every Server Room Disaster has Its Own Origin Story... + Show Spoiler +I'm not a hardware guy. At all. I customized this organization's POS via PHP. I customized their report writing tools using Visual Foxpro. Seven years ago I made a Movie Viewing package for his biggest retail locations in C++. His #1 location has always been quite disorganized. When Covid hit he decided to lay off his very expensive Workstation-Admin // Server-Admin // Hardware set up guy. As expensive as he was ... I thought he was worth the money. I politely advised against laying him off. The hardware/admin guy got laid off in mid-March. He was replaced with a guy I'd generously describe as a "curious tinkerer". The Server Room was always pretty bad. The place is generally disorganized. Now, it is a total disaster. That is a power box hanging diagonally across the entrance to the Server Room. It is hanging diagonally due to the tension of being pulled sideways by a power bar that is under hundreds of feet of dozens of network cables. In there you'll notice a power box that supplies power to POE security cameras. The exposed copper is too long Sometimes "+" and "-" cables cross each other and every security camera loses power for a few seconds. sigh Last week the owner guy got into a giant argument with the former network admin. As a result, I will probably end up being put in charge of the team that will clean up the hardware infrastructure and the server room. The main reason he is going with me is that he trusts me. On the software side of things I hit deadlines and my software works as advertised. He is hoping I can do the same thing in directing a team to improve the hardware issues his organization currently faces. The owner is worried I might not accept the job. I said ... "if you got the money ... i got the time". An absolute thing of beauty there, glorious.
|
|
Hyrule18772 Posts
wordpress is awful and will teach you bad habits
edit: drupal is also shit
|
|
|
|
|