Better HN
topnewbestaskshowjobs
Log inSign up

nerdralph

96 karma · joined Jan 17, 2025 (1y ago) · 67 submissions

Aspie in the GWN. nerdralph.blogspot.ca github.com/nerdralph
Submissions

comment 2d ago · link · parent

In Canada, the Clean Fuel Regulations allow EV charging to generate carbon credits. Those credits can get shared, reducing the net cost of charging. I get a 16c/kWh rebate, and pay 20c/kWh to the utility. In Quebec, residential electricity rates are about 10c/kWh, which can make charging a revenue source.

https://solarsi.ca/credit-prices.html

comment 4d ago · link · parent

Not all CPU/GPU architectures have a single global memory space. AMD GCN GPUs have global VRAM, local SRAM for each compute unit(CU), and a global SRAM that all CUs could access. Neither GCC nor LLVM were great at optimizing OpenCL to make effective use of those different memories, so getting the highest performance sometimes required the use of AMD GCN assembler.

https://nerdralph.blogspot.com/2017/02/inside-amd-gcn-code-e...

https://gpuopen.com/learn/amdgcn-assembly/

comment 6d ago · link · parent

Some useful information, though I'd like more details on headers sent like Sec-Fetch.

For passive blocking, TLSv1.3 filters out some bad bots and scrapers.

Most bad bots follow 302 redirect, but don't parse html and act on meta refresh.

Most bad bots don't store cookies, but I've seen a couple that do.

comment 3w ago · link · parent

Eastern Canada and New England see multi-day power outages every 5-10 years. I've had power outages when my solar panels were mostly covered in snow.

I have an EV which supports V2L (20A/120V). Even if it supported V2H, I'd want to save the battery for driving.

Our backup power is a 9kW gasoline generator, with a manual transfer switch.

comment 2mo ago · link · parent

I think learning to cook food was likely a greater benefit. It's like we externally expanded our means of digestion.

I watched a Ted talk where the speaker suggested our large brains with their high energy consumption would not have been possible were it not for cooking.

comment 2mo ago · link · parent

This doesn't make sense: "With summertime temperatures typically -10°C to -20°C". Maybe the negative was mistakenly added, and nobody noticed in editing? 10°C to 20°C would be reasonable for a "forested and grassland plateau".

comment 2mo ago · link · parent

I agree with most of the article, but would clarify the following: > For the screen to look smooth, frames have to be drawn at the display’s refresh rate. On the most common 60Hz display, that means 60 frames per second, or about 16.6 milliseconds per frame.

It isn't absolutely necessary to match the display refresh rate. With a 144Hz monitor, 72FPS is going to look smooth for the vast majority of the people, and even 48FPS will look smooth for most people. I agree that higher FPS is better, but there are diminishing returns.

comment 2mo ago · link · parent

My theory was that memory had some form of static store, something molecular like methylation. I hadn't considered something dynamic/temporal like you describe.

Would delay line memory be a fair analogy? Information stored in a delay line memory never stays in one place. I think you are saying biological information is "stored" in the amplitude and phase of oscillations of our cells. Is that correct?

I'm still inclined to believe there is some form of static store, which would be required for inherited memories. Things like our (and many other mammals) ability to recognize emotions in others. Somehow our gametes encode what a happy, sad, or scared face looks like. I instincts as inherited memories.

comment 2mo ago · link · parent

I can remember liking girls from the time I was 5. As with neurotypical pre-pubescent boys I had no sexual interest; holding hands was the only physical contact I desired. Around 11-12, some other boys talking differently about girls, noticing the ones with breasts and other body changes associated with sexual attractiveness.

comment 2mo ago · link · parent

I'm an aspie, and think my "version" of ASD has a large epigenetic component. I think social emotions that develop through childhood and adolescence happen through epigenetic changes that enable and disable sets of genetic material (not necessarily just genes) as the person develops. I think the physical changes that happen with puberty must involve timed epigenetic changes. I think the same thing happens with emotional development.

I don't feel shame. I don't feel deference to authority. I never developed innate lust (sexual desire); it was learned after my girlfriend initiated sex. I never had problems with peer pressure. I like getting along with other people, but I don't NEED to get along with other people.

My "problems" with empathy are primarily related to social emotions I don't feel. All my basic/mammalian emotions are fine. I cringe when I see someone stub their toe or cut their finger. I can't even watch bloody dramas on TV, because I feel uncomfortable despite knowing that it is fake.

I think epigenetic differences likely play a larger role than genetic (DNA) differences because the mutation rate of the epigenome is higher than the mutation rate of the genome. Of course, I agree that the biology of ASD (and biology in general) is very complex, so I'm sure there's a lot more going on than just epigenetic differences.

When I say "epigenetic", I'm not just referring to histone/methylation/cromatin changes to DNA, and perhaps there's a better word for what I'm trying to describe. It's my suspicion that some of the differences in my variant of ASD are not due to DNA variations, but other differences outside DNA such as RNA, prions, germ cell transposon differences, etc.

comment 3mo ago · link · parent

I have a domain with an SSL cert. https://solarsi.ca/ I tried posting on /r/sysadmin asking for help testing a bot blocker, but a moderator quickly deleted the post, claiming it was marketing/promoting.

Thanks for the github suggestion; I'll add a repo for the bot blocker Apache config, and include the above server URL that I'm using to test the blocker.

comment 3mo ago · link · parent

How can I attract more of these bots to my server? I want to test my Apache bad bot blocker. It uses basic header fingerprinting and h2 support to filter them. I get less than 5000 hits on an average day, and want a lot more.

13.

Help me build a better bot blocker

1 points · by nerdralph · 3mo ago · 1 comment

comment 4mo ago · link · parent

Instead of cash, I like debt like mortgage funds. High single-digit returns with low volatility.

comment 4mo ago · link · parent

The article didn't include the actual power rates. I think the applicable tariff is $3.316/kW of demand + 16.82c/kWh. https://www.scc.virginia.gov/docketsearch/DOCS/89pc01!.PDF

Compared to my local utility (and most of Canada), the demand charge is low, but the per kWh charge is high. NSPower's general tariff is $9.089/kW + 15.738c/kWh for the first 200/mth, and 12.674c/kWh after that. Equivalent rates in Quebec and Manitoba are about half that. https://www.nspower.ca/your-business/save-money-energy/busin...

Current CAD/USD is 0.7, so subtract 30% for NSPower's rates in USD.

comment 6mo ago · link · parent

My wife and I have a few rental properties that I manage. They are investments, chosen based on return on investment and equity (ROI/ROE). Maintenance costs were factored into those calculations. We take care of repairs not because our job is "providing the service of housing", but because we are honest and would not sign a lease (or any contract) in bad faith. When the lease says the property includes appliances, then we ensure broken appliances are fixed or replaced promptly. If/when we can't make a reasonable ROE on a rental property, we don't cut corners to squeeze a bit more profit out of it, we sell it and invest the money elsewhere.

comment 6mo ago · link · parent

Gift expired.

comment 6mo ago · link · parent

First off, don't block the first connection of the day from a given IP. Rate limit/block from there, for example how sshguard does it.

I've seen several posts on HN and elsewhere showing many bots can be fingerprinted and blocked based on HTTP headers and TLS.

For the bots that perfectly match the fingerprint of an interactive browser and don't trigger rate limits, use hidden links to tarpits and zip bombs. Many of these have been discussed on HN. Here's the first one that came to memory: https://news.ycombinator.com/item?id=42725147

comment 6mo ago · link · parent

I highly doubt there is no other technically feasible option to block the AI bots. You end up blocking not just bots, but many humans too. When I clicked on the link and the bot block came up, I just clicked back. I think HN posts should have warnings when the site blocks you from seeing it until you somehow, maybe, prove you are human.

comment 7mo ago · link · parent

HVDC transmission over 100kV lines are common now. https://www.emeranl.com/maritime-link/overview

comment 7mo ago · link · parent

Since you didn't show your math, I did a quick calculation. .45J/g/C specific heat of iron means .45MJ/tonne. 1811K to melt iron means 815MJ/tonne. 3.6kWh/MJ, so 226.4 kWh should melt 1t of iron.

comment 7mo ago · link · parent

Concrete mixes have become more complicated over time. Flyash has been around for a while, GU/L is relatively new and seems to set faster, often requiring retarders. Many different water-reducing additives are available. Air entraining agents tend to reduce strength. Fibers or steel pins added to the mix can improve crack resistance.

Batch plants will design mixes so some water can be added on site to improve workability. If you don't add water, the concrete will likely exceed spec.

A slump test is only one factor if many that impact concrete strength.

comment 9mo ago · link · parent

I know. AIKO has been using copper in their BC cells, and LONGi is making the transition. Many TOPCon cell manufacturers are using silver-coated copper pastes, but full copper metallization is unlikely to happen in the next year or two.

comment 9mo ago · link · parent

Don't start with a 5MW project. Start with a 10-20kW ground-mount project in your back yard. Then build a 100-200kW project before trying MW.

comment 9mo ago · link · parent

Panels prices bottomed about a year ago below many manufacturer's cash cost, and have gone mostly sideways since. https://www.pvxchange.com/Price-Index

If silver stays above $70/oz, prices will likely go up by 5-10%.

Until Perovskite tandem technology matures, there's unlikely to be any significant reduction in PV module prices.

comment 9mo ago · link · parent

The gcc stub surprised me:

  user@shiro:/tmp/hn$ cat main.c
  #include <stdio.h>
  int main()
  {
    printf("Hello\n");
  }

  user@shiro:/tmp/hn$ cc main.c -o main; ./main
  Hello, World!

  user@shiro:/tmp/hn$ cat main
  #!/bin/sh
  echo 'Hello, World!'

comment 9mo ago · link · parent

I'm intrigued. I'd like to see an analysis of how this was done. My first guess is they record humans doing the moves, and then map that to the robot movements. Then I'd like to see a teardown of one of the robots to understand their construction.

comment 9mo ago · link · parent

I'm using Sonnet with a free account.

comment 9mo ago · link · parent

The mouse is invisible on the splash screen, except for when I manage to move it over the play button.

comment 9mo ago · link · parent

Are you saying Haiku is better than Sonnet for some coding use? I've used Sonnet 4.5 for python and basic web development (pure JS, CCS & HTML) and had assumed Haiku wouldn't be very good for coding.
123