« first day (1725 days earlier)      last day (1455 days later) » 

@Vogel612 So, it's a lateral move with a pay increase?
 
I guess, I have an idea why it cannot do that.
 
@M.Doerner that's all fine, but you can't do it in the general case, because the whole point is that you can omit type declarations for lambdas
 
[rubberduck-vba/Rubberduck] build for commit 30e857a8 on next: AppVeyor build succeeded
 
The type is ambiguous.
 
7:00 PM
^
 
But just because there are different resolution mechanisms for lambdas.
 
it's significantly more work to allow LHS type inference for lambda expression values that are fully specified
it's not technically impossible, just an absolute nightmare
 
I think it is actually always ambiguous.
 
@Hosch250 the current codebase is 200kLoC, going to maintain a 20MLoC codebase is not a lateral move
 
Lambdas can represent Func<S,T> but also an expression tree.
 
7:02 PM
and most of the code that Oracle sells is probably C or C++ anyways
 
@Vogel612 I would be surprised. All I hear from them is Java, Java, JAVA!!!
 
OracleDB is definitively not Java
 
I bet their database engine is not written in Java.
 
Sure, Oracle itself probably is C++, but modules are Java, IINM.
 
that would imply they have a full JVM implementation in whatever product you mean by that
unless you're talking about the JVM, I'm willing to bet that they don't have that
 
7:04 PM
That's my impression as well.
 
I interviewed with them for a DB dev position, and they wanted Java.
 
"Oracle" is also a massive ERP system in competition with SAP, not just a database engine.
 
Technically, I'm 99% sure it wasn't the core DB system.
 
I'm thinking about the extension you can load into your Oracle database (e.g. write Java to provide a custom data type? procedure? whatever). That has to be Java, IIRC.
 
If I wanted to develop ERP, I'd actually send an application to SAP
 
7:05 PM
(there's also just the PL\SQL)
 
FWIW, Microsoft has an ERP too.
 
one of their main branches is ~30minutes by car from me
 
Hmm who's worse... SAP or Oracle?
I'm thinking both are just as bad. Even Microsoft's.
 
@this that's postgres, though
 
Actually, Postgres has it, too.
 
7:06 PM
I've not heard much about it (only I took an ERP class) so...
 
PL/SQL vs PLPGSQL
 
But it lets you create modules using c++
IDK if Postgres will take a Java module, though. I doubt it.
 
ya and SAP have their weird java-based custom langauge with record types and all
Postgres will spit in your face if you try to give it a java module
 
SAP = Salesforce?
 
7:07 PM
it's a RDBMS
 
I can't rememer who's who
 
@this no. SAP. their db-system is called HANA
 
That is the new one, though.
 
Ok, I was thinking that SAP owned Salesforce, too but maybe not.
 
SAP implementation is pitched as achievable in 9 months, budgeted for 6, and completed in 18.
 
7:08 PM
@this that was MS, wasn't it?
 
@Vogel612 and it should. I remember I was kind of quirked when Oracle insisted that I write Java for the module.
 
guess what sank Target's Canadian adventure
ERP
 
Looks like it's still its own company, so no.
MS is Dynamics
@MathieuGuindon wondering - do you have a source for that?
 
there was an article about it back then.. .when was it, 2015?
basically their systems were showing inventory on hand but the physical inventory wasn't in the stores, so they had empty shelves, and the replenishment system wouldn't kick in because it thought inventories were all good.. but that's just one part of the problem
 
yeow
 
7:15 PM
Nice.
 
at a company I worked in 2008 they implemented SAP and "flipped the switch" just before the Holidays. can't afford to not ship during that time as a retailer, so they jammed the stores with goods, then flipped the switch. and as predicted, couldn't ship through the system for months afterwards.
reading about Target's failure rang so many bells, I guess that's why I remember some of the details of it
 
I'm trying to remember anything positive I've heard about SAP, and it's not coming to me.
 
what I don't get is that it sounds as if they basically re-invented the ERP.... why not use the one they already are using in US?
 
> The team responsible for the decision went with a system known as SAP, made by the German enterprise software company of the same name. Considered the gold standard in retail, SAP is used by many companies around the world, from Indigo in Canada to Denmark’s Dansk supermarket chain. It essentially serves as a retailer’s brain, storing huge amounts of data related to every single product in stores.
> That data would be fed by SAP into Target’s other crucial systems: software to forecast demand for products and replenish stocks, and a separate program for managing the distribution centres.
@this might have been that one
 
7:20 PM
It wasn't just Target.
> The Australian outpost of the venerable department store chain, affectionately known as "Woolies," also ran into data-related problems as it transitioned from a system built 30 years ago in-house to SAP. One of the biggest crises that arose was that profit-and-loss reports tailored for individual stores, which managers were accustomed to receiving every week, couldn't be generated for nearly 18 months.
> When Target was launching in Canada in 2013, though, they assumed they would avoid this problem: there would be no data to convert, just new information to input into their SAP system. But upon launch, the company's supply chain collapsed, and investigators quickly tracked the fault down to this supposedly fresh data, which was riddled with errors— items were tagged with incorrect dimensions, prices, manufacturers, you name it.
 
lol indeed
 
> n the end, Hershey's ghastly problems with its SAP ERP, Siebel CRM and Manugistics supply chain applications prevented it from delivering $100 million worth of Kisses for Halloween that year and caused the stock to dip 8 percent.
> The epic tale of HP's centralization of its disparate North American ERP systems onto one SAP system proves that one can never be too pessimistic when it comes to ERP project management. You see, in 2004, HP's project managers knew all of the things that could go wrong with their ERP rollout. But they just didn't plan for so many of them to happen at once. The project eventually cost HP $160 million in order backlogs and lost revenue—more than five times the project's estimated cost.
Damn, did anyone's SAP rollout go well?
 
the ones where the CEO listened to their CTO
 
> Garbage-disposal giant Waste Management is still embroiled in an acrimonious $100 million legal battle with SAP over an 18-month installation of its ERP software. The initial deal began in 2005, but the legal saga commenced in March 2008, when Waste Management filed suit and claimed SAP executives participated in a fraudulent sales scheme that resulted in the massive failure.
 
are you trying to make me vomit?!?
 
7:24 PM
the ones being told "it's going to be 18 months and $60 million" that react with "let's make it 9 months and $30 million", are the ones failing.
 
but yeah - ERP => nothing good can come out of it.
 
@this Is it working?
 
LOL, my guts' clenching but not quite there yet.
@MathieuGuindon so that. They just don't know how to release jack.
"let's make up numbers that sounds nice!"
 
Maybe this will push it over the edge then.
 
nah, it's just that CEOs tend to massively under-estimate how important IT is to their business. they're seen as costs.
 
7:26 PM
> Well, during the 1996 Kenwood Cup sailing race, Ellison's sailing crew reportedly ignored Plattner's wounded sailing yacht (which had a broken mast and bloodied crew member). Plattner did admit to mooning Ellison's crew ("I lowered my pants," he told Sailing World) for not helping with his injured crew member and battered yacht. But, alas, Ellison was not aboard that yacht.
 
and the truth is, all the billions made in the retail industry, are largely managed with Excel spreadsheets and clunky VBA code.
 
I've only heard bad things WRT SAP. What about it makes it undesirable?
 
It can cut both ways though. We're migrating to Salesforce so like 3 people in the company can have "dashboards". I'm ballparking it at around $50K easy for stuff we already have available in-house.
@IvenBach The trail of bankruptcies?
 
@IvenBach you mean "desirable" I guess. it's rock-solid, and unforgiving.
 
7:29 PM
you don't have any dirty data to cleanse -- it's not letting you enter any dirty data
 
> Businesses have less than a 50% chance of an SAP implementation delivering what it is supposed to, according to a new study.
 
sounds about right
 
They should put that on the product brochures.
 
but once it's up, it's totally awesome
 
Really?
 
7:30 PM
oh yeah
 
Or a new slogan. "SAP is like EF for business!"
 
you integrate every step of your business process into it
and you can report on any data point
 
I do like the SAP response though. "It is hard for customers to admit they are doing things wrong.”
 
does it democratize?
 
ABAP is their proprietary language, and only ABAP programmers can make custom SAP screens. So... democratized... if you can pay for it :)
 
7:32 PM
Democratize?
 
@Comintern they're right though
what makes it fail is people holding on to their old broken process, and trying to make SAP work like ...a worksheet
 
Oh, I don't doubt it. That's why I compared it to EF. It's an incredible tool if you know what you're doing. If you don't, well...
 
> Business analysts (who were young and fresh out of school, remember) were judged based on the percentage of their products that were in stock at any given time, and a low percentage would result in a phone call from a vice-president demanding an explanation.
> But by flipping the auto-replenishment switch off, the system wouldn’t report an item as out of stock, so the analyst’s numbers would look good on paper. “They figured out how to game the system,” says a former employee. “They didn’t want to get in trouble and they didn’t really understand the implications.”
 
The company I work at atm only needed five years to implement an SAP solution for 45% of the business.
 
Losers.
 
7:34 PM
It took us two more years to get the data in shape.
 
Wow... Some articles I need to read up on.
 
The main problem with any centralized ERP is that if you need to update the business process, it becomes much difficult to get it updated.
 
In my ERP course, they recommended not trying unless you had a billion to spend on the system and your current systems weren't cutting it.
 
SAP is really unforgiving if you did things with your data in the past that are not quite right.
 
Supposedly, Microsoft is trying to help with that pain point by encouraging more democratized solutions --- Dynamics, PowerApps, PowerBI, SharePoint, etc. are meant to be managed by end users.
 
7:35 PM
SharePoint is a mess.
 
I've learned to distrust end users.
 
"end users" -> yeah, right
mispelled "IT"
 
lol
 
That's how you get Excel databases.
 
7:36 PM
I mean, they work, until they don't.
 
like it or not, shadow IT is a thing.
and I've seen people make excel databases because they couldn't wait on IT to budge on their months-old requests.
 
@this lol, guess how we got the sales history into SAP...
 
Oh, sure. But it exists for a reason. I think part of the reason is systems that are hard for IT to work with.
 
...from my "shadow-IT" Access database :)
 
That's awesome.
 
7:37 PM
'tis
 
But you had it in an Excel DB before Access right?
 
Well, my department also does a lot of shadow IT stuff.
 
the less awesome part is that they shut down the company months later, and moved operations to NY, and today a little less than half of the 50+ stores are still open
 
However, we are doing it officially.
 
@IvenBach kinda
 
7:38 PM
@MathieuGuindon and SAP had nothing to do with that?
 
it was all part of the master plan :)
 
LOL
Anyway, we have business exactly for pretty much same reasons - only that we don't recommend ERPs. ;-)
 
Amsterdam had one vision of the brand, NY had another, and Canada was just caught between the two, and NY won, and ate us.
was great experience though
it's kinda satisfying that NY screwed up and ended up sinking the great business we had. wow, it's been a decade already, almost day-for-day.
 
and you get to have all purple velvet suits you could ever possibly need!
 
7:50 PM
LOL, QA got curious and started peering at some of our old code we don't support anymore, and have on the books to rewrite.
And started asking me questions about console logs saying function X is deprecated.
 
8:29 PM
@IvenBach You mentioned the door not opening last Friday?
That happened for me today.
I couldn't get in or out a door because the snow was piled about 6-8" deep and compacted by the wind.
The owner had cleared out the front door, so I went in that way, then went and cleared the door. The snow crew was cleaning the parking lot at this point, and did the other doors.
 
8:43 PM
There was only a light dusting of snow in a few SoCal areas.
We don't get snow like the rest of you guys do.
 
A light dusting?
I thought it was sunny & hot & humid all the year around.
 
Around here 4" is a "light dusting".
 
@MathieuGuindon maybe not you but an intelligent helpful person — Casemiro 13 mins ago
flattered
 
It's been "cold" relatively speaking. High 30's to low 40's at night with a bit of wind.
You can laugh at that being our cold.
 
@MathieuGuindon Hey, for an arrogant guy, you aren't half bad! :-D
 
8:46 PM
apparently I'm a complete and utter troll, too
 
What a complete ass.
 
time for you to look at bridges.
I hear there's one selling in NYC.
^^
 
Why do people think they're going to get help when they post crap like that?
 
I have a feeling the OP hasn't heard the phrase "biting the hand that feeds you"
 
meh. there's the next "SO people are SO EVIL AND UNHELPFUL, wah, wah, waaaahh"
 
8:48 PM
"stop being brave"?
I have a feeling this isn't a native English speaker, either.
^
 
sorry that came from my innards
 
The point being, he should know that translation should not be taken too seriously.
 
> maybe not you but an intelligent helpful person
> I have BorjaV working on it
I'm tempted to flag BorjaV's account.
 
I couldn't figure out who BorjaV is/was. There's no interaction from a "BorjaV" that I can see unless I'm missing something.
 
8:52 PM
Me either.
Maybe his comments were removed too?
Looks like some comments are gone.
 
I flagged about 6 or 7.
 
got a bunch of free flags too :)
 
I was going to suggest asking on reddit instead, but thought that might fan the flames a bit more.
 
I need to post a bit.ly link to a lmgtfy link.
To a hiring site.
 
I'd recommend the "what-to-do-when-youre-an-@sshole" link above.
 
8:59 PM
Or a programming training site.
 
LOL, OP doesn't know what language it is.
 
nah. sign him up on the linux dev mailing list.
 
This is not VBA. — Nathan_Sav Feb 21 at 9:52
Whatever you say man — Casemiro Feb 21 at 9:55
 
flagged / no longer needed; flagged / rude or offensive
and, subtly edited tag into the post
 
GIVE ME TEH CODEZ!!!
 
9:03 PM
yep
 
@mansellan 1, 1, 2, 3, 5, 8, 11, ....
 
lol
 
@MathieuGuindon Where do you prefer me to reference link RDVBA, Github or the website?
 
huh?
oh, you mean you want to link to the project in some comment? either website or github repo works :)
 
@MathieuGuindon Exactly, thanks!
 
9:19 PM
Wow, Quack Exchange must be really slow today.
 
0
Q: Fixing Medical Claim Files through Text File Read/Write v2

puzzlepiece87This is another review on a program I've asked about before, with a different target in mind. Program Function As before, this program makes emergency changes to medical claim files, delivers all the corrected files analysts need, and produces a changelog as well for their review. Core Pr...

 
@this Everything that could go wrong did. SMH. Basic preparation wasn't done, at all.
 
@puzzlepiece87 Was the Hungarian Notation inspection turned off? ;-)
 
puzzles been known to tolerate HN. We still like him in spite of that fact.
 
9:38 PM
BUT IT'S WRONG
2
 
lol
 
It's wrong to like him despite his HN tolerance?
 
And inconsistently used. Dim Fix1 As classFix1
Although I do kind of like this one; With shtInQuestion
 
#EasterEggIdea: if HN inspection is disabled, inject Def[Type] instructions in all modules and enforce HN notation consistency. They'll turn the inspection back on all by themselves...
2
 
Ouch...
 
9:41 PM
lol
 
@Comintern How did you guess? :P
 
I no longer use HN but have been known to use Dim updateRange as Range post-fixing the type.
 
@IvenBach it's technically an Area
 
@MathieuGuindon how will that work for Single/String, Double/Date, and maybe few more?
 
@this it won't. that's the funny part!
2
 
9:43 PM
oSnap
 
Issue 5443: Rubberduck breaks my code!!!
 
@this str much?
 
@MathieuGuindon :+1: You get that point... In my defence Typename() says Range.
 
@Hosch250 ?
 
9:44 PM
@IvenBach it is a Range. But calling it an Area informs the reader that it's a contiguous one :)
 
Your pedantry is a lot better than mine too.
 
String/Single.
 
@Comintern should have held off on my comment but your requested sample class is up - request away, happy to include whatever you'd like to see in anonymized form
 
str is the string one.
 
Unless it's a non-contigous area, at which point it becomes an Areas.
 
9:45 PM
then I'd have expected updatedRanges, plural
 
@Hosch250 Yeah, I gathered that but why would you infer that I use HN from that?
 
Pro-tip. Don't name a type Area(s) in any language.
 
@Hosch250 it's a property
 
@this You don't.
 
9:46 PM
Range.Areas
 
Just saying you can tell Single apart from String.
 
Range.Asses works better, I think.
 
Otherwise, you get some NSFW code.
 
@this pfft. you use s for String, and # for single :)
 
@Hosch250 ah the point was that the DefType only works with only a single letter.
 
9:47 PM
(or is it !?)
 
What with keywords, and such.
@this Ohhhhh.
 
I don't think you can use a type character in front, though.
 
OK, just ignore me then :)
 
lol
 
ohhhhhhhWaitForIiiiiiiiitObjectName
 
9:48 PM
ExcessiveConsonantsInspection
(and probably ExcessiveVowelsInspection, too)
 
I can tell it's been too long since you all have had a variable naming comedy pyramid xD
 
@this IrritableVowelInspection
 
Duck check: Whey does ?hex(ColorConstants.vbBlue) produce FF0000? Little endian architecture?
@Comintern Better than IrritableBowelInspection
 
@Comintern with a GoToBathroomQuickFix
blargh I can't type today
 
> IrritableOwlInspection :P
 
9:50 PM
@IvenBach I can almost hear the Scottish accent there
"whey"
 
27 secs ago, by this
blargh I can't type today
 
@IvenBach they reveresed the bits, IIRC
 
@IvenBach Are you referring to the dup I closed today?
37
A: Return RGB values from Range.Interior.Color (or any other Color Property)

Mark BalhoffThat "arbitrary" number is a mathematical combination of the RGB values (B*256^2 + G*256 + R) and a conversion of the hex color value to a decimal number (base 16 to base 10), depending on which way you want to look at it. Just different bases. Below is the method I use in the XLAM addin file I w...

 
Stealing my lines.
 
If RGB() numbers were encoded as R*256^2 + G*256 + B this wouldn't be VBA, where the simplest things must be quirky. In fact it's the other way around: B*256^2 + G*256 + RNickolay Apr 24 '18 at 11:17
bwahahaha
feels good to read an actual legit complaint for once
 
9:54 PM
Nope. Just an observation I had from long ago but only now can understand an answer.
Any reasoning as to why the bit order is swapped?
 
because they decided it'd be hilarious?
 
actually, the quirk is on the Excel OM, not VBA
 
I'm pretty sure it was conventional for a long time to use that order. Couldn't tell you why though. HTML was responsible for swapping it IIR.
 
:note-down: "Historical reasoning" Mkay.
 
RGBA stands for red green blue alpha. While it is sometimes described as a color space, it is actually the three-channel RGB color model supplemented with a 4th alpha channel. Alpha indicates how opaque each pixel is and allows an image to be combined over others using alpha compositing, with transparent areas and anti-aliasing of the edges of opaque regions. The term does not define what RGB color space is being used. It also does not state whether or not the colors are premultiplied by the alpha value, and if they are it does not state what color space that premultiplication was done in. This...
Has more to do with standardized bitmap formats IIR.
Direct X also uses BGRA word ordering.
 
9:59 PM
@Nickolay FWIW the quirk is on the Excel object model (the type library), not VBA (the language). Excel v1.0 already needed back-compat with 1985 worksheets, and I'd assume Excel worksheet cell interior was a thing quite a few years before CSS was even a dream. Speaking of quirks... — Mathieu Guindon 8 secs ago
 
@Comintern rubber glove snap
 
I think the BGR order makes sense if you do not read it as it is displayed but from small to high bits.
 
You mean processing it with bit-shifts instead of masks?
 
Basically reading it from 8-bit sectioned storage.
I mean, numbers are usually not stored the way they are displayed.
Now, that you can have a 64-bit word, you can probably do it as you please, though.
Actually, 32-bit is sufficient.
 
Unless you need completely absurd color depth.
 
10:08 PM
A least the entire RGBA fits.
 
Huh. I had no idea that jpg used the YCbCr color space.
 
Does that better deal with greens?
 
I think it compresses better without visible loss.
 
Hm, seems to be used for TV as well.
 
Yeah, that's why I was surprised that Direct X didn't use it.
 
10:19 PM
Well, I guess the display driver requires RGB values in the end.
Storing in YCbCr makes sense though. That is basically how we see.
 
That would make sense, although DX has a ton of pull with video hardware manufacturers. Probably less now than it once did.
 
10:51 PM
Mug. Thanks for your MVP example in VBA. Combing through my backlog of #StuffToLearn. stackoverflow.com/questions/47288496/… and my own attempt codereview.stackexchange.com/questions/213540/… make me feel like I've finally understood MVP and how to write it properly.
 

« first day (1725 days earlier)      last day (1455 days later) »