> if i am not writing or editing a file, just doing nothing, then why FS breaks?
For a few reasons, but the most common is that when you write a file, you 'fwrite' operation doesn't typically immediately write blocks to the disk, instead it gets written to caches that will be written to disk in due course. Changes to the disk, tables with crucial data, etc again are just updated in memory, and written to the disk at a 'sensible' time. It's possible that you aren't actively performing operations to modify the disk, but various previous changes are sitting in memory waiting to be synced. If you kill the power then these changes aren't flushed so you can end up with corruption/filesystem problems. The main reason things work this way is for performance.
then I'm screwed but I don't think the model be that off from the actual question.
If I ask "copy a file from local to AWS S3" it won't return the delete command. But yeah you gotta be careful.
I show a warning after every command you run "Please don't run commands that you don't understand "especially destrictive ones")
I use Copy Me That (website/app), I am not sure if it has all the features you want, but I use it for storing recipes in a "no nonsense" format and can share recipes with friends/family. I get the impression if you pay you can do shopping lists etc but I haven't used that side of it to comment.
I also use this. It's the best recipe collector website/app i've found (there's a chrome extension and the parsing is excellent). It also supports all the features you want, like meal planning[0] and shopping lists[1] for free but you can get more powerful capabilities with a modest subscription fee.
I heard this £30 saving stuff on the radio this morning, and it made me shake my head a little. I remember when I got a socket adapter that measures power consumption, and I went around checking all my appliances, eager to find out which are drawing lots of power, excited at the money savings. Started with my old, huge, plasma TV, that is the best part of 15 years old - surely chugging loads of power in standby? Nope, next to nothing. Monitors, same. Network switches, same. Essentially I didn't find anything in my property that was doing anything unexpected. Having hot water (which I get via electricity as my flat doesn't have gas) for a single day will use up more energy than I'd save unplugging all my devices. Similar for heating (again, electricity based) on a colder day in winter would cost more than all the standby devices.
I remember a long time ago (25 years?) someone 'invented' a device where you plug your TV into it, and it has an IR receiver to go with it, you program it to respond to your TVs power button (on the remote control), and then when you go to put your TV into standby, the plug then turns off too, and when you switch it on it does the opposite. At the time it was being touted as the money saver, and I got the impression (although never actually tested!) TVs back then did draw a lot in standby, so this 'invention' was a legitimately good one. But it didn't seem to really take off, I am assume because standby was rapidly implemented in a way where there is such minimal electrical draw that it would be pointless.
A nice side effect of people doing this is that, depending on where you live, you might be able to obtain these older, less power efficient devices for relatively cheap on the used market. Of course if you can barely afford electricity buying them is probably not a bright idea, but for someone with e.g. their own PV system it can be a great way to save some money while also reducing the amount of e-waste going to landfills.
Even better, this is not limited to large power hungry appliances. You can build a surprisingly decent gaming handheld out of an old flagship phone with the help of rooting and some hardware mods [1], basically taking advantage of the low resale value of Android devices.
Thankfully, you are wrong about that! Just like you don't need a cooler source _from which to source cold_ in the summer with AC. Technology Connections has a fun (well, to me) video on how heat pumps work and are great. Literally just AC units running in reverse, thanks to having a valve.
At a certain temperature differential you need to source "heat" from elsewhere, which is why up north you either need a geothermal heat pump (underground piping) or you supplement with gas or electric heat.
Some very efficient pumps can work down to 0 degrees, but most start losing efficiency at 25 to 40 (Fahrenheit).
For some parts of the world, a heat pump is perfect - pump in heat in the winter and heat out in the summer, but when the outside temperature can hit -40º Fahrenheit (which is -40º Celsius), you're gonna need something else.
For the overwhelming majority of the world they are perfect. Even in high latitudes, they might only reach those extremes for a few days in a year, that's when you would require a backup.
Losing efficiency is fine since they are so ridiculously efficient to begin with.
100% efficiency is rather low for heating. Heat pumps easily give you 400%. Efficiency in this case calculated as: generated energy (in heat) / electrical energy. Efficiency goes beyond 100% because heat is extracted from air or water.
A good rule of thumb, and I hope someone more knowledgeable can correct me if I'm wrong, is that stuff that generate more heat will consume more power. So hot shower, iron, curling iron, hairdryer, rice cooker, this kind of stuff. Electronics that generate minimal heat will consume minimal power in general.
In general, all the electricity consumed by an electrical device gets converted into heat. If your GPU uses 250W of power, it generates 250W of heat. If your whole computer draws 1kW from the wall, it generates 1kW of heat. If your little raspberry pi and its power supply together draws 15W from the wall, it generates 5W of heat. A 1500W electrical space heater converts 1500W of electricity into 1500W of heat.
It's just basic energy physics. Making something hot or cold is real work. Same with moving something or producing light. But light is extremely "cheap" compared to the rest. Computing data or rendering a video game isn't real work and would consume no power if it wasn't for the inefficiency of current flowing through the chip making it hot.
If I remember my long ago physics classes correctly, irreversible computation inherently costs energy: you can't get its energy "consumption" down to zero because of entropy, no matter how efficient the technology. Our computer architectures are far from reversible in a physical sense. If they were, you could run programs in reverse. That said, the minimum amount of energy required is an absolutely tiny rounding error compared to the waste heat of today's technology.
And if the heat goes into water, it needs even more power because water is notoriously hard to heat up.
At one point I owned many appliances that leaked heat, and I think I learned to estimate how much power they drew simply by putting my hand on them and feeling how hot they were. I'm not sure I have that superpower anymore. (Obviously it was never that exact, because it depends on many other things like volume, material, isolation, etc. But you can get fairly close for common household things – between a finger and a few heads in size, surrounded by air, plastic case.)
Or to put it another way -- if hot water goes down the drain (shower, clothes or dish washing, etc.), then that's another place the waste energy is going.
Better down the drain then to radiate it back into your air. Then you gotta spend more energy pumping that heat outside (if you live in a hotter climate like I do).
Alternatively, use it to warm up the cold water coming into the shower (I'd guess the largest usage of hot water in a home). Warmer "cold" water mixing with the hot water means less hot water used out of the hot water heater. My understanding, placing this only on the cold supply to the shower is it'll only impact your showers. https://ecodrain.com/en/
Correct, and the difference is not even close - anything to do with temperature manipulation consumes orders of magnitude more. Literally, not figuratively
The laptop I'm writing this on consumes around 10W. Kettle 2100W
Making one coffee in the morning consumes enough electricity to power the laptop for the whole workday
The idle power consumption of my home is dominated by the fridge and freezer (around 150W combined). Idle mode of any other devices is a rounding error
My power company sent me a power strip that has a somewhat similar feature. It constantly powers the TV, but the rest of the strip is turned off when the TV is off. It's so you won't waste power having Roku, etc., always running.
> I remember a long time ago (25 years?) someone 'invented' a device where you plug your TV into it, and it has an IR receiver to go with it, you program it to respond to your TVs power button (on the remote control), and then when you go to put your TV into standby, the plug then turns off too, and when you switch it on it does the opposite. At the time it was being touted as the money saver, and I got the impression (although never actually tested!) TVs back then did draw a lot in standby, so this 'invention' was a legitimately good one. But it didn't seem to really take off, I am assume because standby was rapidly implemented in a way where there is such minimal electrical draw that it would be pointless.
I had a couple of these (in fact I probably still have them), from the 2000s - an Intelliplug and Intellipanel - the later being an 8-way plug. I used it for a TV, 5.1 amp/receiver, blu-ray player, Xbox360, Sky+, Wii, and Squeezebox Radio. The Sky+ box was in the "always on" socket so it could record stuff at all times, while the TV was in "if this comes on, turn on everything". I convinced myself I was doing a good thing for the planet and my finances, but I never measured it. Blindly believing it was far preferable to spending any effort on proving I'd been a fool, especially since I needed the sockets anyway - I don't recall the price being that much different to any other 8-way I looked at.
Eco-friendly or not, I'm impressed; detecting power draw and using that as a signal is actually a legitimately clever solution to the problem of wanting to conveniently switch multiple things at once. The only caveat I can think of is that some devices probably don't like being switched at the wall.
I've found these devices to be finicky. You have to set the threshold of current flow that matches your TV, and sometimes switching from one input device to another will spike power consumption low enough to turn things off in a way you don't want.
I thought the same, and my Smart Sony TV claims very low standby consumption, but when it is on the Wifi and sat there ready to Airplay too it consumes something close to 27W all night long.
I setup a smart plug to turn it off at night on a schedule.
Also seen that my Hifi Amp draws a good few watts on standby.
We have recurring argument in my house where my partner tells me I should have turned the LED lights off to save electricity and I tell them to close the curtains to keep the heat in.
In truth I have no idea which wastes more energy/money
I used Keepass + Dropbox (to sync database). This set up was suggested to me when I joined a company that requires complex unique passwords for all sign ups. At the time I didn't think too much about it, but this thread has made me thankful I was guided in this direction.
I don't have experience of any other password management software, so I certainly can't compare and contrast. But I will say Keepass + Dropbox has worked flawlessly for me across desktop, laptop and mobile. The biggest inconvenience I have had is things like manually typing in a Netflix password into a Smart TV when on holiday (just takes time with long passwords with capitals, lowercase, numbers and symbols).
Netflix is a problem for every password manager, since they insist on using their own onscreen keyboard. Even if you’re on Android TV, you can’t switch to the remote app to copy & paste a password. Very annoying, but I’m starting to think they’re doing this to make password sharing more of a bother. (Even if it’s just one sign-in being more of a chore)
My partner and I took a year out for all of 2018 and travelled for 365 days, aged 34. We went to 21 countries during that time, the route:
UK
India
Hong Kong
Vietnam
Cambodia
Laos
Thailand
Russia
Mongolia
China
Tibet
Japan
Malaysia
Indonesia
Australia
New Zealand
Fiji
Hawaii
North America
Chile
Bolivia
Peru
Colombia
Brazil
We saw many wonders of the world (from various lists) including Taj Mahal, Angkor Wot, Great Barrier Reef, Machu Picchu and Christ the Redeemer.
We drove coast to coast in the US (LA to New York via the South) over a month.
We took the Trans-Siberian Express train across Russia to Beijing (St Petersburg, Moscow, Kazaan, Yekaterinburg, Novosibirsk, Irkutsk, Lake Baikal, Ulaanbaatar, deeper into Mongolia and stayed in a Gerr and Beijing).
We also looped around China by train including going to Tibet via Xinning. Tibet is like nowhere else we have been in the world.
We spent a couple of weeks driving around New Zealand South Island in a campervan.
We did the classic backpacker route around South East Asia, traveling overnight on sleeper buses, visiting the tourist destinations, site seeing, going on a booze cruise party island in the middle of a site of natural beauty (Castaways), visiting temples, full moon party. All in all a bit of everything. We were at the absolute age limit of some activities and accomodation, where although they were willing to show some flexibility, you wouldn't want to be much older as the majority of people were about 20. At times we felt old and past it, but we were happy we went ahead and did it.
Whilst a lot of the trip we just planned and booked ourselves, small parts, like Australia, we went on an organised trip. It wasn't one where we follow a tour leader, instead we were given vouchers for accomodation and activities and transport that went from Cairns down to Melbourne and followed it ourselves. It included dolphin feeding, scuba diving at the great barrier reef, driving around Fraser Island on 4x4s and staying a couple of nights, going on a boat tour of the Whitsundays and seeing White Haven beach with the softest sand I have experienced.
We could have done a fraction of the amount of stuff we did, and seen more or each place. We could have recouperated more rather than end up exhausted. But it was one hell of a trip.
I worried about finding work when it was over, but had several job offers before I returned so that turned out to be a false worry!
It took a while to plan, not just the trip stuff but finishing a job, packing up a house, signing cars off the road, cancelling bills etc.
We got a round the world flight ticket, we had to commit to the first six month flight times then half way through commit to the rest. It was possible to change for a fee. But we found the flights gave us a schedule to work around.
Some parts we planned extensively (you can't go to Tibet without being on a tour the whole time you are there, Machu Picchu books up months in advance, etc) other parts (Vietnam, Cambodia, Laos, Thailand) there is somewhat of an established back packer route you can follow and just make sure you get through in time for the next flight.
By far the least safe place was South America, we met many travellers there who had been mugged, beaten up, etc. It was our last destination and we were not very adventurous as we were tired and also just wanted to get to the end without an incident.
Other than that, we generally felt safe, there were one off isolated incidents (drunk Russian man on train trying to make advances on my partner when he thought I was asleep) which were uncomfortable, or going to a train station in Jaipur at 3 in the morning and waiting for a train, with lots of people loitering around and bothering us, and no real security or staff to reassure us, but these were exceptions rather than the norm.
We typically went to places which had a reasonable number of travellers, so it didn't feel too crazy in that sense.
Budgeted £42k ended up costing £60k for us both. I know some people which did it for a lot less (like half) but we didn't want to miss out on various things as we went.
We stayed in a lot of hostels, along with some guest houses, Airbnbs, hotels but the majority of the time it was something in the cheaper end of the spectrum.
We initially budgeted £10 food, £5 drink and £5 activities per day, and kept quite a lot of records at time, but ultimately we just ended up feeling "it is what it is". We made the active decision to just make the most of the trip and overspend. For a reasonable number of days we could average out towards our budget but we found fairly regularly there were bigger expenses for activities which would blow the budget and we neither wanted to miss them or do nothing for the next fortnight! Once you have committed so much, it sort of feels like it is better to commit a bit more and make it awesome (£60k spent on awesome seemed better than £42k spent on okay).
Before leaving I ran a couple of companies, one which employed 12 people and another which was contractor based. I wasn't wealthy (at least not by the standards set in the UK if you speak to a financial advisor) and £60k was a large amount of money for me to spend (a very large amount). But all things going well with life, you earn it, you spend it, we decided we wanted to do some of that spending earlier in life whilst we could enjoy it.
Since then... I have had heart ops, a blood clot on the lung, my partner has developed ME/chronic fatigue syndrome... COVID19 has engulfed the world. Needless to say we are glad, thankful and lucky we did what we did when we did!
This doesn't reflect my experience from the UK. In the UK a club to people I know is thought of roughly as:
- Late (22:00 - 03:00 probably been core hours)
- Music/dancing being the primary activity
- A small amount of seating, either VIP tables, or some small area or bit near the dance floor
- Alcohol (and perhaps drugs) being consumed quite liberally
- A lot of the clientele looking for a short term partner
The dress side of it just varies, there are places with little to no dress code, places that require shirt and shoes and others inbetween, but I wouldn't specifically say the dress code leads to fundamentally different places, except, the more relaxed dress code typically means more relaxed, diverse people, where as fancy dress code can be a bit more mainstream/think-they-are-something-special.
Places you sit down at tables and drink are typically pubs or bars. These days the two are pretty similar, at a push the more traditional feeling places are more likely to being pubs.
When I was younger I went to the above type establishments not just in the UK but in pretty much every country in the EU and something I found in lots of the EU is something I call "europop" nightclubs, which is a bit harder to explain, but it is venues which are really laid back, everyone just wants to have fun (no aggressive behaviour, male dominance/competition) and plays a whole host of music that has never come to the UK, but everyone over there knows. All of my best club experiences have been these type of places - it's where a 30 year old rock influenced person can be dancing away next to a mainstream 18 year old student and they can chat without barriers.
I do see an increasing amount of younger people that don't really drink and fuel their social interactions from Tinder and other social media, so I have wondered a few times if clubs will fade further out over the years.
That just seems like a shitty meat market club that idiots and teenagers go to.
There are indeed a lot of them, but the second type in parent comment do indeed exist and are gems. Places like Corsica Studios, Printworks (though this is a huge venue), Chip Shop, Fabric, E1 (to some extent). Volks in Brighton. A LOT of them have closed down for bullshit reasons though (licensing, police being dicks, property developers squeezing rent, dickheads moving in next door and complaining about noise). A real shame. People absolutely do get drunk though.
The first type do exist too, especially in the west end, Chelsea etc.
One difference between the UK and Europe is that the clubs get started even later in Europe like 00:00 - 06:00. They seem to get later as you go further south so maybe it's something to do with waiting for the heat of the day to fade (?). As I get older, this makes going out to a club less enticing (oh, maybe that's the point!)
Larger venues in the UK often open at 22:00, I think traditionally this was to overlap with the pub licensing, which forced pubs to close at 23:00, but I could be wrong. They typically close at 04:00 or 06:00.
However, there have always been after hours parties, usually in smaller, more niche venues. The first license enabling a legal after hours night was granted in 1990 [1] and originally used to run two promotions in a single night - kicking everyone out at 03:00ish and starting again.
I would guess that UK clubs have suffered ever since pubs were allowed to open later, when last orders in the pub was at 10:30 a club was the obvious place to go afterwards.
Where in the UK are you? In London the type 2 clubs (Fabric, Village Underground, Oval Space, Pickle Factory, Corsica Studios, The Cause, Egg, E1, etc.) only open their doors around 23:00, and it'd be weird to show up before midnight - the place would be deserted. Peak time is 1:30-3:30am. At some of these places, almost everyone is on drugs.
In the dancing clubs here, the actual dancing floor fills at like 1:00. But, I stopped going there years ago precisely for that reason - I would much prefer the British way you describe. Dancing from 21:00-22:00 ish makes so much more sense then having to wait till it is super late.
This is probably because you aren’t going to the type 2 clubs that OP refers to.
Go to any of the following and see if you enjoy it:
London
* egg, village underground, fabric, ministry of sound, union, e1, studio 338,
Bristol
* motion
Birmingham
* rainbow venues
Manchester
* hidden, warehouse project
Newcastle
* digital
Just a little FWIW, I am with Hyperoptic in the UK (pretty common if you live in an apartment in a big city centre). They provide nice fast, cheap, fibre broadband (1Gbit/sec in both directions). I started allowing remote connections on my Plex (media server) but couldn't get it to work, which is puzzling as I have been setting up put forwarding for 25 years, so thought I had run out of unsolved mysteries. Then I read about CGNAT. Then I found out Hyperoptic uses CGNAT. I felt like I had been swindled, an internet connection which ample bandwidth for hosting services with no way to have any incoming ports (as no matter what portforwarding I set up on my router, the ISPs CGNAT router doesn't let me set any portforwarding up as it is out of my control).
I spoke to Hyperoptic, they said I could have a fixed (non CGNAT) IP for five months for free and then £5 per month thereafter. After five months I noticed they had started charging me £1.25 per month. I am not sure if that will increase to £5 at some point, but either way, I am happy to pay to have a "proper" internet connection.
I share this as perhaps others will be in similar situations but not realize some ISPs will let you escape the CGNAT. They switched me after a five minute chat and within 2 hours (considerably less but they said up to 2 hours) I restarted my router and I was good to go.
My ISP in Germany charges 5€/month for a non-GCN IPv4, but static addresses are unobtainium outside expensive business contracts. At least most ISPs have good IPv6 support nowadays, even on mobile.
For a few reasons, but the most common is that when you write a file, you 'fwrite' operation doesn't typically immediately write blocks to the disk, instead it gets written to caches that will be written to disk in due course. Changes to the disk, tables with crucial data, etc again are just updated in memory, and written to the disk at a 'sensible' time. It's possible that you aren't actively performing operations to modify the disk, but various previous changes are sitting in memory waiting to be synced. If you kill the power then these changes aren't flushed so you can end up with corruption/filesystem problems. The main reason things work this way is for performance.