Everything on this site is creative commons

Dec 28 2019

This site contains ideas and solutions for the world to use and not own.

No responses yet

Tool to move commit parents in Git

Aug 29 2021

Fiddling with commits and branches in Git requires googling.
If it doesn’t – you have done the above already.

There are tools like Fork to aid but I suggest yat (yet another tool).

Show the commit graph graphically with boxes and arrows.
Let the user pull the arrows between commits.

This way one can reorder (i.e. interactive rebase) the commits.

The user can also move arrows between branches. Possibly more complex for the application to sort out but a tremendous help for the user.

The issue of merge problems remains.

If the rebase is ok, just do it.

If the rebase results in a merge problem, let the user handle it in his/her preferred/normal way.

No responses yet

Electronic die

Aug 22 2021

Throwing dice is nice but there are two areas of possible dispute.
1. When the die ends up not on flat ground, with one part lifted up. Is it a valid throw or not?
2. When the die/dice smashes into something on the board and moves a piece or two. Where were we at?

So I suggest a physical electronic die to solve this; and more.

I am aware there certainly are apps and web sites for what is to be described but with apps and phones you cannot phycially throw the device/die/dice. Which is part of the fun.

Let the form be a cube. It is a nice form and feels good in the hand and clearly shows which side is up.
This doesn’t mean it has to simulate a D6. It can be anything from D2 to Dinfinite. It can simulate many dice too, as throwing one D12 die is not the same as throwing two D6.

The randomness can be seeded by a built in clock and the g forces of throwing and bouncing.

When the die has come to a stand still, the top side shows the value.
Well… all sides can show the same value so it is readable from everywhere.

If the die decides it is not flat, the value instead shows an icon for rethrowing.
This means there is not any room for discussion. Flat or not, the die decides and the rules are the same for everyone.
Well… who cares if the die ends up slanted, the randomised result is the result. No room for heated discussion.

If the die notices it has fallen on the floor it is a dead throw and the rethrow icon is shown.
Or… it can be a valid throw and the die continues showing the same value regardless of how it is turned before returned to the table.

Throwing a die is done by either throwing it or putting it down on the table with certain force.
If the latter method is used for “throwing the dice”, the risk of pieces of the board being moved due to an unlucky throw is eliminated. When a throw is recognised the value is animated and then shown.

There is a blue tooth connection with phones and other dice.
The count of throws are counted. This means that if you are plagued by a cheeter, manipulating the dice is not longer an issue. If the dice are moved when everyone is taking a break they don’t change their value. And if they are retrown, a counter increases together with time stamp. The old value is retrieved from the history. The game continues. The culprit chastisised.

Since the dice are connected they don’t have to be passed around the table any more. Everyone can have his/her own dice and they can all show the value of the last thrown dice. Or if everyone has their phone by the table, they phone shows the value.
Personally I prefer passing the dice around as it is tactile, makes people interact and shows who’s turn it is.

All of the above, except for the 6 sided form factor and the throwing part, can be simulated in a phone or tablet or computer or raspberry or whatever.

Update:

The die can simulate more than numeric values. There are games with coloured dice, D6 with 4 different values and 2 specials. If the result represent something, like 1-2 is miss, 3-4 is boarding and 5-6 is sink, the die can simulate a D3 with nice icons instead of figures.

It can simulate a deck of cards. It can even remember what values are already thrown so to not randomise the same card twice. This mimics drawing cards from a deck.

No responses yet

Mouse button to move cursor to start of line

Jun 28 2021

It it not uncommon to mouse-click on a row and then press home-button to move the cursor to the start of the line.

I suggest having yet a button; that moves the cursor to the start of the line.

One way is to have a button on the mouse.

Another way is to have a home button on the left hand side of the keyboard. Or right side if you have your mouse on the left side.

The button does not have to be hard wired to just this but could be configured differently. Move cursor to end of line is not uncommon. Have it change behaviour depending on modifier keys (alt-shift-control-command).

No responses yet

Copy bearer token

May 21 2021

I am presently working on a solution with JWT tokens. When doing manual REST calls there is a lot of logging into the site and find a request and copy its JWT token and paste it into my REST client of choice.

I suggest a solution that can find said token and copy it to my copy buffert, or even update my REST tool, with a single command.

No responses yet

A weak flashlight

Feb 22 2021

Of all flashlights I have ever tested there is none that is weak enough for night use without blinding. So I suggest making one.

It should start in the weakest setting. It is better to start at a too weak level and then adjust up than to start with blinding the user and then decrease.

By weak it is meant Weak. Go sit in a wardrobe for 5 minutes and first then find out the lowest light needed for reading; weaker than that. Start with what a youngster needs to read a sea map. A grown up probably needs more.

Red light is said to not blind the user but the red is often too strong and blinds anyway. It also makes it harder to make out colours.

Also do Not have flashing light as part of the turn on/adjust/turn off cycle. Flashing light is more or less Never needed.

Uses

When hiking in the forest and reading the map you don’t want to blind yourself. Make a small light attached to the hand that can shine down on a map but not much more.

When night sailing way too many (all?) instruments are too bright. Make a small light to fasten to the (inside of the) arm of the sailing/foul weather gear. Make it big enough to light up a map but small enough to not light up the surroundings.

In a tent one sometimes need a “ceiling mounted” down light. Bright enough to find shoes but weak enough to not wake companions or ruin the night vision.

At a scout jamboree or when just taking a leak 20 paces into the forest to show the way. It can be mounted on small poles at regular intervals or situated near hazards, like trippable stones.

Put it on the top of the brim of a cap. It will show your position but not take away your night vision.

Put the weak light at a hazard or a junction or a sign, for any use or when laying out a trek for night hikers.

No responses yet

Thick bag as slide

Feb 10 2021

I have carried a plastic bag with me when hiking in the mountains. I use it as a slide when I happen upon a piece of snow “snölega”.

It is light weight, does not take too much space and can be useful for 1000 other things.

Why not make a slightly heavier/sturdier for use at home, in the regular slope.

It is small enough to stay in the car trunk all winter of one discovers a slope when traveling from point A to point B.

No responses yet

Slippery shoes

Feb 04 2021

I suggest creating shoes that can go from slippery to not slippery by some simple manipulation.

Say you are on your way home and you see a puddle of ice. Of course you want to skid a little. So remove the antislip from your shoes, slide over the puddle, put the antislips back, and continue as you were. But slightly happier.

There can be many “slipperies”. For ice, for snow, for show-ish, for wet grass, for grass, for sand, for marble floor, for wall to wall carpet. You name it.

The slipperies can be omnidirectional (you slip in all directions) or forward directed (slipping forward like ice skates) or directed (slipping slightly sideways to make up for humans having their feet slightly outwards).

Curling contestants already have it; an omnidirectional slippery on one foot. Now let’s take it further!

No responses yet

Downhill skating

Feb 03 2021

I suggest making covering a sloped area with ice. I will be like downhill skiing but with skates instead of skis.

It means areas that are too flat for downhill skiing can be used.
It means areas with sub zero temperature but no snow can be used.

Why not make skate boarding ramps out of ice? It would be like a mix of a skate board ramp area and a half pipe.

The danger of people skidding with sharp blades and uncovered throats springs to mind. But is it really a problem? No one talks about slalom skis and sharp sides. Nor have I heard anyone discuss it when ice skating.

Difficult to create such a slope? I guess we have to learn, just like we have learned how to prepare for skis.

Update

The other day I stumbled upon some sort of this. It was just a few seconds on youtube and it looked like a smaller variant of the sport where they go 4? people next to each other over bumps.

No responses yet

Flash briefly on the heating element / hob on a stove when it is adjusted

Jan 01 2021

Problem

An ordinary stove has 4 burners/heating elements/hobs in a square pattern.
For adjusting these there are 4 knobs in a straight line.
Way too often the wrong knob is turned.

Solution

Have a light rapidly flash when a knob is turned, telling which hob was adjusted.

There can be downward pointing lights above each element; fastened in the kitchen hood.

There can be lights built into the stove top.

No responses yet

Web browser search in history

Nov 18 2020

After surfing around for a day there is a good chance you want to revisit an earlier page for some information.

So I suggest creating a searched for the history in the web browser.

It should store the content for your visited pages so you can search the contents and bring it back.

No responses yet

Older »