HN user

gridspy

2,907 karma

Tom Leys.

Working at Light Pattern Ltd making a game.

I'd love to talk to any fellow hacker - tom at gridspy (.com)

Based in Auckland, New Zealand

I started my own Power monitoring startup ~2010 - http://www.gridspy.co.nz

Stack Overflow: http://stackoverflow.com/users/11440/tom-leys

Posts37
Comments1,168
View on HN
www.newsroom.co.nz 4y ago

Electric “Ground Effect” Ferry Aircraft

gridspy
5pts3
medium.com 4y ago

Rust Game-Dev while Parenting and Contracting (my 3rd year)

gridspy
1pts0
medium.com 4y ago

Wow It's Been a Year

gridspy
1pts0
blog.usejournal.com 6y ago

A Space Factory game built in Godot and Rust

gridspy
4pts0
medium.com 6y ago

Gorgeous Godot Games in Rust

gridspy
5pts0
medium.com 6y ago

I Use Rust and Godot to Explore Space

gridspy
3pts0
twelvesmith.com 7y ago

TwelveSmith, a Worthy Successor to 2048

gridspy
4pts2
www.vox.com 8y ago

3DFS- Correct electricity in realtime to reduce datacentre use by 20%

gridspy
2pts0
www.reddit.com 8y ago

A primer on situations where [Tesla] Autopilot is more likely to fail

gridspy
1pts0
waitbutwhy.com 9y ago

Explosive growth and the emergence of AI (2015)

gridspy
2pts0
gridspy.com 12y ago

Show HN: We paid $10,000 to make a documentary, here's the result

gridspy
4pts3
medium.com 12y ago

Tesla Adds Titanium Underbody Shields [With animations]

gridspy
1pts0
jsperf.com 12y ago

IE 10x faster than Chrome for simple a+b func

gridspy
1pts3
www.kickstarter.com 12y ago

Kickstarter coming to NZ and Australia

gridspy
1pts1
blog.gridspy.co.nz 14y ago

Long Dark Night (Success takes AGES)

gridspy
1pts1
mobile.salon.com 15y ago

Is the world too big to fail?

gridspy
2pts0
blog.gridspy.co.nz 15y ago

We almost sold Gridspy

gridspy
6pts3
blog.gridspy.co.nz 16y ago

Out of 'the Garage' and into an Office

gridspy
1pts0
blog.gridspy.co.nz 16y ago

Firmware Auto-Updates for GridSpy

gridspy
2pts0
www.newroyalstandard.com 16y ago

Lead Designer from SingStar PS3 looking for Design work

gridspy
1pts1
blog.gridspy.co.nz 16y ago

Breaking away from "The Man" - GridSpy goes Full-time.

gridspy
29pts2
hackmii.com 16y ago

Cracking the Nintendo Kernel for Homebrew

gridspy
2pts0
achrongame.com 16y ago

Porting to Linux: Planning a release 7 years in the future

gridspy
1pts0
news.ycombinator.com 16y ago

Ask HN: Would you pre-order GridSpy power monitoring?

gridspy
7pts21
blog.gridspy.co.nz 16y ago

A PC in Every Power Cabinet - aaahhhh......No.

gridspy
2pts0
news.ycombinator.com 16y ago

Ask HN: Should Gridspy avoid Flash?

gridspy
3pts5
blog.gridspy.co.nz 16y ago

Part time Entrepreneurship requires Commitment

gridspy
6pts0
www.cppgeek.com 16y ago

Troubleshooting 101 - You can't shut down the factory

gridspy
3pts0
www.folklore.org 16y ago

-2000 Lines Of Code (metrics == bad) (1982)

gridspy
7pts2
www.achrongame.com 16y ago

Time travelling RTS (Achron) accepting Pre-orders

gridspy
2pts4

Random reply: 20 days ago you asked for my ChatGPT custom instructions to be more skeptical. It is :

Use an encouraging tone. Adopt a skeptical, questioning approach. Call me on things which don't seem right. List possible assumptions I'm making if any.

You know how to add logic on the outside of a function, by putting that function into a larger one and calling the function in the middle.

However, how do you inject logic INTO the middle of a function?

Say you have a function which can iterate over any list and given a condition do a filter. How do you inject the condition logic into that filter function?

In the C days you would use a function pointer for this. C++ introduced templating so you could do this regardless of type. Lambdas make the whole process more ergonomic, it's just declaring a one-shot function in place with some convenient syntax.

In rust instead of the full blown

fn filter_condition(val: ValType) -> bool { // logic }

I can declare a function in place with |val|{logic} - the lambda is just syntactic sugar to make your life easier.

I told ChatGPT via my settings that I often make mistakes and to call out my assumptions. So now it

1. Glazes me 2. Lists a variety of assumptions (some can be useful / interesting)

Answers the question

At least this way I don't spend a day pursuing an idea the wrong way because ChatGPT never pointed out something obvious.

That's probably assuming a solar system sized to cover typical summer energy usage. You can simply over-provision solar until you have wasted capacity in summer and little to no storage requirement in winter. Then it's just a tradeoff between battery and solar costs to find the best price point.

Also this calculation probably assumes no baseload power imported from the grid, where means such as wind and tidal power work year-round and help offset the need for batteries.

Perhaps not in a 100% world, though I'll give you the point that they are useful now.

In a 100% renewable world we would not be extracting or refining oil. Natural gas (used by these turbines) is a byproduct of oil drilling. Were we not burning the oil, the natural gas might be too expensive alone.

Also, in a 100% renewable world we would (by definition) have enough generation all the time - (covered by batteries and good baseload sources) that turbine power was no longer required to cover peak loads.

The free market is an analyzable simplification of the real market, however I think the assumptions hold in this case.

If a CEO delivers a certain advantage (a profit multiplier) it's rational that a bidding war will ensue for that CEO until they are paid the entire apparent advantage of their pretense for the company. A similar effect happens for salespeople.

The key difference between free and real markets in this case is information and distortions of lobbying. That plus legal restrictions on the company. The CEO is incentivized to find ways around these issues to maximize their own pay.

They are a bridge between those with money and those with skill. Plus they can aggregate information and act as a repository of knowledge and decision maker for their teams.

These are valuable skills, though perhaps nowhere near as valuable as they end up being in a free market.

Nano Banana Pro 8 months ago

It's also a tower that has famously been deliberately un-straightend just enough to remain a tourist attraction while remaining stable.

Dark Pattern Games 8 months ago

Horizon Zero Dawn (the PlayStation and later steam game where you're an archer in a world of robots)

There are probably a lot of open world RPGs which are all good.

The linked site lists a lot of patterns that any game with an RPG like unlock system or item collection system will contain, like (some) grinding and Endowed value. Personally I feel that this is only a dark pattern when it goes beyond motivation for fun and into "I can't stop playing" addictive qualities.

Dark Pattern Games 8 months ago

Sure, but Fortnite's UI is set up to sell to you the whole time. After every match you can see unlocks. Before every match you spend time surrounded by other players with their skins and emotes.

The relationship between EXP and levels in each season only really reward you if you have a battle pass - so the more you play the more the pass seems like an attractive purchase. Once you have the pass, you're then encouraged to play more than you might otherwise want to in order to max out the time-limited rewards.

Steam Machine 8 months ago

While true, at least Gabe proved you could make a profit while still remaining non-evil.

Steam Machine 8 months ago

I think that's more a situation where publishers demand some form of DRM so steam is trying to provide a default solution that most publishers are happy with.

Also resolution & uniformity

Color makes major compromises physically also, since it seems like the Red, Green and Blue channels are sampling from the same physical location but the actual sensor buckets are offset from each other.

Feed the bots 9 months ago

Thread exhaustion attack

1. Start <thread_count> connections to a server

2. Hold connections open

3. Do nothing else

Server

1. Incoming connection. assign a thread.

2. Wait for request <--- Attack causes us to get stuck here

3. Serve request

4. Close connection and thread / return to threadpool

Solution: Use a reverse proxy to handle the incoming connections. Typical reverse proxies such as nginx use event-based polling not a per-connection thread so they are immune to this issue.

Note - Lorazepam is one of those drugs which causes dependance if you use it regularly. If you find you need it often, get a substitute which is safe to use all the time.

If you want to stay in the bay area and leverage your experience, perhaps you want to become a technical co-founder for someone?

Otherwise it might make sense to move out of the bay area to where there are lower costs of living and then lower your salary expectations to match.

Bear in mind that being a good corporate drone or middle manager requires different soft skills and attitude than being the CEO of your own company. You have to march to someone else's drum which can be hard.

You need to prove to yourself and others that you can be a regular developer now, you're in a position where you might need to sacrifice salary, job description and/or working conditions to get a foot back on the ladder.

Beyond salary, the culture of working hours in the bay area might be a bad fit for you. If you're looking for a boring (in a good way) salaryman programmer role you might need to see where those sort of companies are centred.

Note, I live and work outside the US so I can't give specific US advice.

One of frustrating truths about software is that it can be terrible and riddled with bugs but if you just keep patching enough bugs and use it the same way every time it eventually becomes reliable software ... as long as the user never does anything new and no-one pokes the source with a stick.

I much prefer the alternative where it's written in a manner where you can almost prove it's bug free by comprehensively unit testing the parts.

This feels like anxiety more so than anything.

When things are hard and you anticipate that you're going to struggle, it's perfectly natural that you're going to develop an anxiety response to those things. It's possible that you will describe the experience through the lens of anxiety even if there is more going on than merely anxiety.

I'm not ASD just sound and light sensitive do to physical damage. Not a single person has bothered me about this even during conversation.

I'm glad that you have found a means to manage your difficulties and it does not cause you social issues. Bear in mind that someone who is very ASD is "manually" managing social situations which come automatically to "the rest of us." The same social disapproval you casually dismiss is likely a cause of anxiety for them.

my kid has autism and anxiety and she has solutions for these problems.

I'm glad that she appears to be high functioning. Even those who are might want to avoid the shop because it's just a challenge they would rather avoid today. But for others I can imagine it being all too much.