Better HN
topnewbestaskshowjobs
Log inSign up

BareNakedCoder

160 karma · joined Dec 18, 2013 (12y ago) · 78 submissions

By day, I'm a corporate IT drone. By night, I get naked and code, code, code!
Submissions

comment 6y ago · link · parent

In your imgur, you see "LINK" will take you to "chess.ca/en/ws/old-chess-ca/". You've nicely pointed this out with red arrows. "/en/ws/old-chess-ca/" is NOT the old website. It is a page on the new website. It has an explanation of the situation. Previously, this explanation page had the link to the old website (at http://old.chess.ca/), but I removed that (English and French) this morning before requesting a review by Google. Even though these links are now gone, they failed my review.

comment 6y ago · link · parent

> The link on the explanation page is what I removed

comment 6y ago · link · parent

The /en/ws/under-construction link is to http://www.chess.ca/en/ws/old-chess-ca/ which is a page on the new website that explains the dangers before you click a button to actually go to the old site. The link on the explanation page is what I removed.

comment 6y ago · link · parent

Huh? The key point here is I don't think Google should block any website without providing some warning an an opportunity to fix the issue before imposing an immediate punishment. What if google.com search engine linked to a badware website? Should it be immediately blocked until fixed pending a review? No, of course not. Do onto others as you would have others do onto you.

comment 6y ago · link · parent

Yes, when the accused is a threat to society or a flight risk. Our website is neither.

comment 6y ago · link · parent

This is a very scary situation. It means Google could block your website, not for something bad on your website, but for something bad on another website that you just happen to link to. That's beyond your control! Imagine this happening to a website like wikipedia.org, which as millions of links to external websites. If one of those millions of websites gets hacked, will Google block wikipedia.org? This is like being charged with a crime you didn't commit and being punished immediately without even an initial hearing to respond to the charges! Google and StopBadware.org should not have this power on the internet!

comment 6y ago · link · parent

I hesitated to include it: didn't want HN to mess with our analytics and free hosting limits (or our review at the mercy of Google). What the hell, here it is: https://www.chess.ca/

comment 6y ago · link · parent

DETAILS: On July 3, our website was blocked the 1st time. This was justified (although I disagree with the immediate punishment): it was an old Drupal 7 site that was installed in 2011 and, because of budget constraints, rarely received security patches. For years, it had the Drupageddon and Drupalgeddon exposures. Not surprising it was infested with malware. This is when I got involved (volunteering my time & skills). The website was rewritten as a static site (virtually unhackable) using Hugo on Netlify. On July 26, we were unblocked.

At 1am ET this morning (Aug 1), we were blocked by Google again! The new (Hugo) website had one link to the old (Drupal) website (now with a different subdomain) so users could access content we had not yet migrated to the new website. This link was the reason Google gave for blocking us. I read Google's notification at 6am and immediately removed the links and requested a review via Google's Search Console. At 9am, Google said the review had failed, our website was still blocked, without any additional information. Search Console still says the bad link is to the old website's subdomain. I verified my Hugo source files: there is zero instances of the old website's subdomain name. At 10:30 I submitted another request for review and am still waiting for a response. Their request pop-up says "Warning! Requesting a review of issues that weren't fixed will result in longer review cycles" so I may be waiting a longer time.

(BTW, anyone with inside Google connections, help would be appreciated)

39.

Stop StopBadware.org and Google from UNFAIRLY blocking websites

4 points · by BareNakedCoder · 6y ago · 21 comments

comment 6y ago · link · parent

Has happened to me too more than once. I usually reply that the UI prototype is like a Hollywood movie set: what looks like a real building is fake, just a single wall. The real building still needs to be built. That explanation sometimes works, often doesn't :(

comment 6y ago · link · parent

from guietta import _ as z

comment 6y ago · link · parent

No one has added my favourite quote yet so hear goes: "Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.", Antoine de Saint-Exupéry

comment 6y ago · link · parent

My father was in the RCAF and was in the running to fly the Arrow if it was built (he did see prototypes). IIRC, he said the Americans wanted the designs destroyed because they feared the Canadians were not secure enough and so it might be stolen by the Soviets. It was during the coldest parts of the cold war after all.

comment 6y ago · link · parent

About 10 years ago I knew a guy who had to turn down an amazing opportunity at another company because one of his kids had a pre-existing condition. This boggled the minds of us non-Americans where healthcare is not linked to your employer. I don't know what it's like today as I have not kept up with what ACA built and what the Republicans have dismantled piece by piece.

comment 6y ago · link · parent

I've seen this more than once. Senior management thinks maintaining a portfolio of software applications is like flipping hamburgers: they see no problem or risks in one team of developers handing the spatula to another team. What, wasn't the one-day knowledge transfer session not enough? So, the transfer from the home-grown team to Accenture is screwed up. Let's try it again, from the Accenture team to another team; lightning cannot strike twice, can it?

comment 6y ago · link · parent

If instead the salesman took you and a car that included an engine out on a test track, would you not buy the car because the test track was fake? You are not buying the test track so you shouldnt care. You are not buying htmx's demo backend either so you shouldnt care.

comment 6y ago · link · parent

Would have had the same problem if the rewrite was called 2.0 instead of htmx. Hmmm, reminds me of the Angular 1 vs 2+ conumdrum (for which many said renaming would've been better).

comment 6y ago · link · parent

Good monoliths are highly modularized. But it's a whole different thing to package up a module as a separately deployable unit for external "public" use (external to your app, that is, not your company).

I'm just curious to know, when you said "the easiest and most sensible thing to do is chunk out large parts of the project and put them aside as a microservice" ... were these chunks separately deployable units for external "public" use.

comment 6y ago · link · parent

Running Python on Windows? Here’s how to use Python Launcher for Windows to run multiple Python versions installed on one Windows machine. Including how to create virtual environments for different Python versions.

https://www.barenakedcoder.com/blog/2020/03/python-launcher-...

50.

Python Launcher For The Win(dows)(barenakedcoder.com ↗)

3 points · by BareNakedCoder · 6y ago · 1 comment

comment 6y ago · link · parent

Not just governments. I worked at a F100 company that had a special type of internal funding called SQP for spending on (mostly) IT people-hours on projects. Year after year, the biz would penny-pinch on their SQP to the point that we struggled to keep core contractors on staff. Then around Oct/Nov, biz would come to us begging to spend their SQP on anything (else they could lose it next year) as long as that project stop billing at fiscal year end (not a day afterwards; as that would be charged to next year's SQP). That meant we now struggled because we didn't have enough people on staff to burn up all the SQP. Famine then feast! I would suggest (half jokingly) that we should head over to the nearest retirement home and get a bus load of old folks to join us at $150/hr for two months to just sit there doing nothing but burn SQP.

comment 6y ago · link · parent

I thought Window tax was what you have to pay on every PC you buy that you would then scrub and install Linux.

comment 6y ago · link · parent

I do something similar except the passwords in my gdoc are secured with https://securemypw.appspot.com/ (disclaimer: I wrote this 5 years ago so I could share passwords with my wife).

comment 7y ago · link · parent

Depends on your perspective. Yes, if you are an application developer with weaker skills to access the data integrity logic in the database. No, if are a skilled database guy with weaker knowledge of all the source code of all the applications (could be multiple) sharing the database. Things are happening and it takes forever pouring thru each app's code to find its data integrity logic to figure out why they are happening.

By centralizing data integrity logic in the database, you know where to look and that all apps using the database will abide by it.

comment 7y ago · link · parent

Amazed until you realize the database must be able to accept SQL statements from many many different languages using many types of network drivers. Rather than implementing this (correctly) everywhere, centralizing the "smarts" in the database so that the languages and drivers just pass a string becomes a much less amazing design decision.

comment 7y ago · link · parent

Yup, Toronto, Canada (where I live) is closer to the equator (in South America) than it is to the North Pole.

comment 7y ago · link · parent

Was her car parked in the handicap space with a fake permit displayed in the window?

comment 7y ago · link · parent

Those doing customer support for consumers have some of the best stories. In the '80s, I heard one story about a bleeding-edge grandmother who was having troubles operating her newly purchased PC. One of her troubles turned out that she had placed the mouse on the floor and was trying to operate it with her foot. Why would she do that?! The mouse looked a bit like the foot control pedal on her Singer sewing machine :o

comment 7y ago · link · parent

I am just finding that out now. I read something that it could be due to the blue light from LED screens, TVs, phones, etc. I hope to end my insomnia too.
123