News for hackers. Stuff that matters.

yangyang

Re:Amsterdam to use “noise cameras” against too loud cars on Saturday August 19, 2023 @03:43PM (#37192357)
Part of it is the prevalence of "pop and bang" maps, modified ECU configuration which changes timing and allows unburnt fuel to enter the hot exhaust and explode.

There is a purpose to this in turbocharged cars in motor racing - anti-lag - as the extra gases keep the turbo spinning during gear changes. No reason for it on public roads though.

There's also a lot of "cat deletes" (removal of catalytic converters to improve exhaust gas flow and increase engine power). Illegal, but very common to see on YouTube and just like pretty much anything else illegal on the roads in the UK these days, the police don't seem to care at all.

Re:How PostgreSQL stores rows on Wednesday February 09, 2022 @11:05PM (#30282336)
I wrote a PostgreSQL extension years ago that visualises pages (as text): https://github.com/hollobon/pagevis
Re:Something funny is about to happen to some prices on Sunday September 27, 2020 @02:17PM (#24608835)
There have been negative electricity (spot) prices already - https://www.montelnews.com/en/story/sweden-finland-see-negat....
Re:Norsk Data on Thursday May 07, 2020 @11:44AM (#23104309)
Sounds very familiar - they probably knew each other.
Re:Norsk Data on Thursday May 07, 2020 @08:47AM (#23102327)
Ha. My father worked for Norsk Data in the UK during the late 1980s and early 1990s after they bought Wordplex. They had incredible offices at a stately home near Newbury.
Under £500m. Still a huge amount but considerably less than £9b.

https://www.bbc.co.uk/news/health-26954482

Re:Migra – A schema diff tool for PostgreSQL on Monday March 26, 2018 @05:29AM (#16677681)
I've used it for about that long, with no real problems at all. We have probably a hundred or so migrations, and have added support for various things not supported out of the box (triggers, functions, exclusion constraints and a few more), and it's been very solid.

What kind of situation are you using it in where it falls short?

Re:Migra – A schema diff tool for PostgreSQL on Sunday March 25, 2018 @06:45PM (#16675088)
This looks interesting.

If you're using SQLAlchemy, Alembic is a good migration management / generation / application tool: http://alembic.zzzcomputing.com/en/latest/, and works with most (all?) the databases supported by SQLAlchemy. It doesn't handle every kind of database object / attribute thereof, but it's reasonably easily extensible.

Only seen it done with ones removed from old keyboards. On at least some (including the IBM SpaceSaver IIs that I have), it's on a separate little board. I believe the outputs are pretty simple to decode.
I guess with practise it may well have improved. I just didn't find it comfortable enough to persevere.
I've got one of the thumb keys on the left of the Kinesis mapped to shift; never quite got used to it though and I'm always mistyping when holding it.
I've been meaning to hack a trackpoint into my Kinesis. It's been done before, mounted where you can control with the thumb so you don't need to move your hand at all.
The trouble is tuning it so that you don't need to actively hold your foot to prevent it actuating, and also having enough feedback on actuation.

I felt that some kind of wireless, in-shoe, toe-activated device might be the best option. But that's not really very practical!

I converted a set of pedals for a dictation machine to work with my Kinesis keyboard.

It wasn't as useful as I expected. Having to keep my foot in the same place all the time became quite uncomfortable, and I found that synchronising my foot with my fingers (these pedals were configured as modifiers rather than escape - I mostly use Emacs) was quite difficult.

IIRC the other shot is somewhere south of the river. I worked it out at the time. I was near Tower Bridge on the north side.
Oh yeah, I don't deny it isn't insanely improbable. Still, finding same strike in a newspaper, shot from a very similar angle, was quite surprising.
I had the same thing happen with one of my photos of lightning in London. I actually thought my shot had been ripped off at first glance, then realised it was from a different angle.

Mine: https://www.flickr.com/photos/beechlights/2739042419/in/phot...

Alternative, from the Telegraph: https://www.telegraph.co.uk/news/picturegalleries/earth/2515...

I found this post about latency of input devices very interesting: https://danluu.com/keyboard-latency/
Re:Tetris for TS100 soldering iron on Tuesday September 05, 2017 @02:08AM (#15172872)
Love this sort of thing.

I did a Tetris game for a led-matrix clock I got from Banggood: https://github.com/hollobon/jy-mcu-3208-tetris

Porting an ancient 6502 Forth to Z80. Nobody will ever use it and there are already loads of Z80 Forths around, but it's fun and forces me to learn exactly how a language that's always interested me works. Not on Github yet.
Re:The 1980 Citroën Karin on Thursday August 10, 2017 @07:41AM (#14978666)
Agreed, and it's become common on many more cars than supercars to add valves to make exhausts noisier. I suspect these valves are not triggered in regulatory exhaust noise tests.

From Jaguar's website:

  Every F‑TYPE is fitted with an Active Sports Exhaust 
  that creates a race‑car inspired crescendo. 
  The exhaust system reacts to throttle position, speed 
  and engine revs by opening active valves. When open, 
  these valves allow exhaust gases to take a more direct,
  less restrictive route through the rear silencer
  producing a much richer, more exhilarating sound. Where
  fitted, the Switchable Active Exhaust, allows you to
  manually open the exhaust valves so you can enjoy
  F‑TYPE’s stirring soundtrack at all engine speeds. This 
  feature is optional on F‑TYPE and standard on all other 
  models.
Re:Fork a distributed Postgres database with Citus on Thursday August 10, 2017 @06:19AM (#14978219)
We use ZFS (on Linux) clones to instantly fork a read-only replica of our production database, to create r/w copies. We also currently have these upgraded in-place to 9.6 (we're still on 9.5) for testing.

Docker-compose and a makefile make it all very straightforward.

Re:Customizing My Postgres Shell on Sunday July 16, 2017 @03:04PM (#14783599)
This is cool. Always worth spending some time setting up psql.

In my psqlrc I also have a bunch of "macros" (unfortunately no parameters in psql) for common stuff like transaction handling and SET ROLE / RESET ROLE, lock monitoring etc.: https://github.com/hollobon/psqlrc/blob/master/psqlrc.conf Some of it only works on <=9.4.

Re:Show HN: Miso – A Haskell implementation of Elm on Monday July 03, 2017 @03:32PM (#14690757)
I did too, but I thought it was going to be a mail client (https://en.m.wikipedia.org/wiki/Elm_(email_client))
The biggest selling cask ale in the UK (Greene King IPA), is 3.6% abv
> The average beer is stronger than it was 20 years ago

I very much doubt this. High strength lagers are much less popular than they were 20 years ago, not least because of beer tax that scales with strength. http://www.telegraph.co.uk/news/health/news/11455150/Britain...

Re:MonetDB – Column-store database on Monday June 13, 2016 @05:53PM (#11898028)
We used this in production at my previous role and it was fantastic. There are a few rough edges but it became markedly more reliable over the 2 years or so we used it. It handled huge (well over 100KB) queries generated by SQLAlchemy with ease and was lightening fast.

We were using it as part of a custom BI tool for portfolio risk analysis. The data was mastered in postgresql and loaded into MonetDB for OLAP stuff.

The developers are pretty responsive to questions and bug reports.

Re:New GNU Emacs website on Monday May 09, 2016 @03:01AM (#11658049)
An old HP Touchpad Bluetooth keyboard. It works fine though not having a meta key on the left is a bit of a pain.

Older »