HNHacker News
TopNewBestAskShowJobs

BareNakedCoder

160 karma · joined December 18, 2013

By day, I'm a corporate IT drone. By night, I get naked and code, code, code!
submissionscomments
BareNakedCoder··on Stop StopBadware.org and Google from UNFAIRLY blocking websites
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.
BareNakedCoder··on Stop StopBadware.org and Google from UNFAIRLY blocking websites
Yes, when the accused is a threat to society or a flight risk. Our website is neither.
BareNakedCoder··on Stop StopBadware.org and Google from UNFAIRLY blocking websites
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!
BareNakedCoder··on Stop StopBadware.org and Google from UNFAIRLY blocking websites
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/
BareNakedCoder··on Stop StopBadware.org and Google from UNFAIRLY blocking websites
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)

BareNakedCoder··on You've only added two lines – why did that take two days?
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 :(
BareNakedCoder··on Guietta – Python module to create simple GUIs
from guietta import _ as z
BareNakedCoder··on Ask HN: How to avoid over-engineering software design for future use cases?
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
BareNakedCoder··on Avro Arrow – The record-breaking jet which still haunts a country
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.
BareNakedCoder··on Avro Arrow – The record-breaking jet which still haunts a country
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.
BareNakedCoder··on The Story of Hertz Going Bust
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?
BareNakedCoder··on Htmx – high power tools for HTML
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.
BareNakedCoder··on Htmx – high power tools for HTML
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).
BareNakedCoder··on Why Segment Went Back to a Monolith
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.

BareNakedCoder··on Python Launcher For The Win(dows)
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-...

BareNakedCoder··on Amazon asks court to halt Microsoft's work on Pentagon 'war cloud'
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.
BareNakedCoder··on Amsterdam’s canal houses have endured for 300 years
I thought Window tax was what you have to pay on every PC you buy that you would then scrub and install Linux.
BareNakedCoder··on Show HN: Self-hosted and self-contained web app password manager written in Go
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).
BareNakedCoder··on Modern Data Practice and the SQL Tradition
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.

BareNakedCoder··on Modern Data Practice and the SQL Tradition
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.
BareNakedCoder··on Grise Fiord, Canada's most northerly community
Yup, Toronto, Canada (where I live) is closer to the equator (in South America) than it is to the North Pole.
BareNakedCoder··on US Rules Airlines Must Allow Miniature Horses to Fly as Service Animals
Was her car parked in the handicap space with a fake permit displayed in the window?
BareNakedCoder··on Apple Reveals ‘Lisa’, Its $50M Gamble (1983)
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
BareNakedCoder··on Sleep quality and stress level matter more than languages or practices
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.
BareNakedCoder··on Sears has another chance to avoid closing down
Our local grocery had that in the 1960s. As a toddler, I was fascinated by the mini-railway consisting of noisy steel rollers. It ran inside along the front wall behind the check-outs, did a u-turn thru a small hole, then outside along the front wall. A worker on the inside packed your groceries in brown paper bags and placed them on the rails. Another worker outside would load the bags from the rails to your car trunk when you arrived. Wow, that neuron hasn't fired in a long while.
BareNakedCoder··on Transitioning Google Cloud leadership after three great years
Hey sayhello, ... is it likely GAE-Std-Py3 will ever get ndb, memcache, etc like we had with GAE-Std-Py27?
BareNakedCoder··on America Is Drowning in Milk Nobody Wants
Canadian here. Although my personal politics tends to be CENTRE-right (note the capitalization) and favouring market forces, I do see some merit in supply management to avoid the extreme pain being experienced by the American dairy farmers mentioned in the article. Yes, we mostly do prefer supply management, paid for by dairy consumers, than massive subsidies, paid for by all taxpayers and leading to wasted output.

For details, read Wikipedia [0]. Some quotes:

- High (tariffs) are only placed on imports above the quota, not on all the dairy products sold to Canada.

- Canada's milk quota system is butterfat-based so the highest TRQ is on butter at 298.5%.

- By 2018 the United States's quantitative (tariff) threshold for the import of milk products is 3% and Canada's is 10%.

- designed to prevent shortages and surpluses, to ensure farmers a fair rate of return and Canadian consumer access to a high-quality, stable, and secure supply of these sensitive products.

Mr T, in his incendiary speeches to his tribe, was selective with his facts. The 300% tariff does not apply to all dairy; only butter and only when exceeding USA's quota (Canadian farmers who exceed their quota cannot sell at all). The threats and beatings delivered by Mr T's negotiators did "open up" the Canadian dairy market a little, but supply management is still intact and "diversification" is now on the minds of many Canadians.

[0] https://en.wikipedia.org/wiki/Supply_management_(Canada)

BareNakedCoder··on The Google+ project and exec team
Like VisiCalc but by us. Hmmmm, sometimes it works out okay.
BareNakedCoder··on Google throws away 12 years of work by investors (Portfolios in Google Finance)
I get different looking 5-year charts for symbol HYG when I look on stockdaddy.io and finance.yahoo.com. Where do you get your data?
BareNakedCoder··on Google AMP – A 70% drop in our conversion rate
"The Nature of the Firm" by Ronald Coase. He called it transaction costs. I ran across this while trying to grok one firm I worked at that managed thru over-governance, funding models, etc to maximize internal transaction costs to the point where it was easier to just hire external expensive consultants.
← PreviousPage 2 of 3Next →