[syndicated profile] formula1_dot_com_feed
Gabriel Bortoleto has explained how opting to pit for slick tyres at the start of the British Grand Prix led to his early exit from the race, with the Brazilian admitting that he “made a mistake” in the changing conditions.
[syndicated profile] formula1_dot_com_feed
Fred Vasseur has given his take on a “difficult weekend” for Ferrari at the British Grand Prix, in which Lewis Hamilton just missed out on a podium in P4 while Charles Leclerc ended the day down in P14 after an early strategy call backfired.
[syndicated profile] formula1_dot_com_feed
A dramatic, rain-hit British Grand Prix saw Lando Norris claim his first home win and Nico Hulkenberg a maiden F1 podium, but how did our Power Rankings list for the weekend shake out? Check out the latest scores and overall leaderboard below...

CodeSOD: Off Color

Jul. 8th, 2025 06:30 am
[syndicated profile] the_daily_wtf_feed

Posted by Remy Porter

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.

[Advertisement] Keep the plebs out of prod. Restrict NuGet feed privileges with ProGet. Learn more.
[syndicated profile] formula1_dot_com_feed
Pierre Gasly drove a superb race in the mixed conditions at Silverstone, coming home sixth to score his best finish of the season. The Frenchman did not put a foot wrong come rain or shine, mixing it with the top teams and even picked off Lance Stroll on the final lap to make the result that bit sweeter.

PMDD, Why Me by Adam Green

Jul. 8th, 2025 07:02 am
[syndicated profile] ohjoysextoy_feed

Posted by Matthew Nolan

PMDD, Why Me by Adam Green

PMS can get worse!? Adam Green talks PMDD: Premenstrual Dysphoric Disorder (a severe form of premenstrual syndrome) and encourages any of you who feel seen in this to reach out to your doctor! Turns out there are things to try and explore, and you might not have to suffer! A huge thank you to Adam […]

お転婆みり。Tomboy Miri.

Jul. 7th, 2025 11:00 pm
[syndicated profile] maru_feed

Posted by mugumogu

みり:「はな姉さんを驚かせよっと。」 はな:「見えてるけどね。」 Miri:[I’ll surprise Hana.] Hana:[I can see you.] みり:「わーっ!!」 Miri:[Boooo […]

Escape

Jul. 7th, 2025 05:28 pm
[syndicated profile] futilitycloset_feed

Posted by Greg Ross

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.

May 2025

M T W T F S S
   1234
5678 91011
12131415161718
19202122232425
262728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 8th, 2025 07:49 pm
Powered by Dreamwidth Studios