‘I made a mistake’ – Bortoleto explains exit from British GP
Jul. 8th, 2025 04:24 pm![[syndicated profile]](https://www.dreamwidth.org/img/silk/identity/feed.png)
Carolyn inherited a somewhat old project that had been initiated by a "rockstar" developer, and then passed to developer after developer over the years. They burned through rockstars faster than Spinal Tap goes through drummers. The result is gems like this:
private void init(){
ResourceHelper rh = new ResourceHelper();
for ( int i = 0; i < 12; i++) {
months[i] = rh.getResource("calendar."+monthkeys[i]+".long");
months_s[i] = rh.getResource("calendar."+monthkeys[i]+".short");
}
StaticData data = SomeService.current().getStaticData();
this.bankHolidayList = data.getBankHolidayList();
colors.put("#dddddd", "#dddddd");
colors.put("#cccccc", "#cccccc");
colors.put("#e6e6e6", "#e6e6e6");
colors.put("#ff0000", "#ffcccc");
colors.put("#ffff00", "#ffffcc");
colors.put("#00ff00", "#ccffcc");
colors.put("#5050ff", "#ccccff");
colors.put("#aa0000", "#ff9999");
colors.put("#ff8000", "#ffcc99");
colors.put("#99ff99", "#ccffcc");
colors.put("#ffcc99", "#ffffcc");
colors.put("#ff9966", "#ffcc99");
colors.put("#00c040", "#99cc99");
colors.put("#aadddd", "#ccffff");
colors.put("#e0e040", "#ffff99");
colors.put("#6699ff", "#99ccff");
}
There are plenty of things in this function that raise concerns- whatever is going on with the ResourceHelper
and the monthkeys
array, for example. But let's just breeze past that into that colors
lookup table, because boy oh boy.
There's the obvious issue of using server-side code to manage colors instead of CSS, which is bad, sure. But this translation table which converts some colors (presumably already used in the display?) to some other colors (presumably to replace the display colors) is downright mystifying. How did this happen? Why did this happen? What happens when we attempt to apply a color not in the lookup table?
I want to say more mean things about this, but the more I stare at the original colors and what they get translated to, I think this lookup table is trying to tell me I should…
…
…
lighten up.
“A Time-Series Analysis of My Girlfriend’s Mood Swings”
“Behavioral Conditioning Methods to Stop My Boyfriend From Playing The Witcher 3”
“Sub-Nyquist Sampling While Listening to My Girlfriend”
“Who Should Do the Dishes? A Transportation Problem Solution”
“Freudian Psychoanalysis of My Boyfriend’s Gun Collection”
“The Future of Romance: Novel Techniques for Replacing Your Boyfriend With Generative AI”
“Winning Tiffany Back: How to Defeat an AI Boyfriend”
Via r/ImmaterialScience.
In 1 Samuel 23:7-13, man’s free will seems to undermine God’s omniscience:
7 And it was told Saul that David was come to Keilah. And Saul said, God hath delivered him into mine hand; for he is shut in, by entering into a town that hath gates and bars.
8 And Saul called all the people together to war, to go down to Keilah, to besiege David and his men.
9 And David knew that Saul secretly practised mischief against him; and he said to Abiathar the priest, Bring hither the ephod.
10 Then said David, O Lord God of Israel, thy servant hath certainly heard that Saul seeketh to come to Keilah, to destroy the city for my sake.
11 Will the men of Keilah deliver me up into his hand? will Saul come down, as thy servant hath heard? O Lord God of Israel, I beseech thee, tell thy servant. And the Lord said, He will come down.
12 Then said David, Will the men of Keilah deliver me and my men into the hand of Saul? And the Lord said, They will deliver thee up.
13 Then David and his men, which were about six hundred, arose and departed out of Keilah, and went whithersoever they could go. And it was told Saul that David was escaped from Keilah; and he forbare to go forth.
God has foretold David’s capture, but David escapes by fleeing the city.
Arguably, though, this only shows that God’s perfect knowledge extends to counterfactuals, especially those regarding human action.