3,046 karma · joined April 8, 2013
I'm a developer, engineer, hacker and entrepreneur. My personal blog is at: unop.uk
[ my public key: https://keybase.io/jps; my proof: https://keybase.io/jps/sigs/O8UP6-fFcMSV4qZW8VA39-Z_NiV8JtLjKAk6cOH1O7A ]
For pumped storage there is Dinorwig[1] (North Wales) and Cruachan (West Scotland). If you arrive by public transport you can get a free tour of the Cruachan pumped storage hydro plant.
[0]: https://www.edfenergy.com/energy/education/visitor-centres
[1]: http://www.electricmountain.co.uk/
[2]: http://www.visitcruachan.co.uk/
Edit:
There's a photo at the bottom of this blog post from my visit to Cruachan last summer: https://unop.uk/mobile-gb-rail-live-departure-boards
If you're in the French Alps then you could visit Grand'Maison on a bad weather day: http://www.musee-edf-hydrelec.com/
Saving energy in general is a positive step. For example, we've just bought a new freezer and dishwasher with better energy ratings and these will save money over their lifetimes. However, when is the best time to run a wash to save the most CO2e?
Unless you are on an Economy 7 style tariff or have solar panels then when you use power has no effect on how much it costs you. If you are, then at night or in the middle of the day is better, respectively. Dynamic demand to grid signals isn't ready for consumer adoption yet but you can look at the information manually if you want to use power at less demanding times.
The grid frequency[0] is a reasonable indicator but is pretty technical. There are other, easier to understand, data sources available:
- Earth Notes: GB Grid Intensity[1] gives a simple traffic light indication
- GridCarbon[2] is a real-time carbon intensity app (CO2 Modeller[3] is from the same guys)
- MyGridGB[4] shows similar data on the web (and includes Solar data[5])
By avoiding peak time you may not save money but you can save carbon.
[0]: http://www2.nationalgrid.com/uk/Industry-information/electri...
[1]: http://www.earth.org.uk/_gridCarbonIntensityGB.html
[2]: http://gridcarbon.uk
[3]: http://www.co2modeller.info
Razor views in ASP.NET Core are really nice (disclaimer, I wrote a book on this so I'm obviously biased). However, if you are making a Single Page App then you will need to stick to HTTP APIs (returning JSON, not HTML). The controllers in Core can easily do both now that MVC 6 and Web API 2 are merged and the same thing.
The only exception to this is for an initial rendering of your app server-side, so that the browser gets populated HTML on the first load and there is something to see immediately. For example, using ReactJS.NET you can load the same model into your Razor view that you return from your API and pre-render it using view helpers.
If you're interested then I wrote more about this today: https://unop.uk/react-and-asp-net-core/
P.S. Has this whole thread been hidden or flagged?
Edit:
Turn your speakers down when you play the video if you don't like modem sounds.
This game looks fun. Reminds me a little of Uplink from 2001 (https://www.introversion.co.uk/uplink/).
It's not clear how they get the data for this. Assuming it's the same tech as for minor road traffic then it probably uses Google's location services on Android devices.
I'm sure China would love to hide posts that mention 'Fatty Kim the Third' [0]. If you control the discourse then you can control what people think. We've seen this in both the UK and US recently. Russia have an agency dedicated to false information with sockpuppet accounts on social media [1] and the US has done related activities [2]. I'm sure other countries and interest groups have similar institutions. If you have an official integrated tool to do this work then it becomes so much easier. Worrying times.
[0]: http://www.reuters.com/article/us-china-northkorea-internet-...
[1]: https://www.theguardian.com/world/2015/apr/02/putin-kremlin-...
[2]: https://www.theguardian.com/technology/2011/mar/17/us-spy-op...
[^0]: http://www.windowscentral.com/here-microsoft-ninja-cat-wallp...
[^1]: http://blog.emojipedia.org/ninja-cat-the-windows-only-emoji/
https://www.techempower.com/blog/2016/11/16/framework-benchm...
https://www.techempower.com/benchmarks/#section=data-r13&hw=...
From https://support.microsoft.com/en-us/kb/2458544:
> The Enhanced Mitigation Experience Toolkit
> We have listened to customers' feedback regarding the January 27, 2017 end of life date for EMET and we are pleased to announce that the end of life date is being extended 18 months. The new end of life date is July 31, 2018. There are no plans to offer support or security patching for EMET after July 31, 2018. For improved security, we recommend that customers migrate to the latest version of Windows 10.
P.S. In researching this post I noticed that one of my projects (a globe wake lamp) has been included in the latest project book (p108) [2]. First I've heard of this! This is actually an old version and there is a newer write-up on my blog [3].
[0]: https://www.raspberrypi.org/downloads/noobs/
[1]: https://www.raspberrypi.org/blog/oracle-java-on-raspberry-pi...
[2]: https://www.raspberrypi.org/magpi-issues/Projects_Book_v2.pd... [pdf]
I tried .NET out on the Pi using Mono, years ago when it was relatively new but after the software floating point OS was deprecated. The weird hardware floating point CPU made it pretty much unusable. Even simple things like DateTime objects would fail to work correctly.
Similar issues were in Java IIRC but they had a special build of that. I think Sony had a fixed build of Mono but I haven't tried it. It will be good to have official .NET support outside of Win 10 IoT.
The key is never transmitted (even in encrypted form), unlike with RSA. A good way of thinking about this is with a colour mixing analogy. I had a go at explaining this (with a Lego stormtrooper) here: https://unop.uk/understanding-encryption-and-key-exchange/
Also worth considering is Microsoft Message Analyzer, which used to be Network Monitor (NetMon). https://blogs.technet.microsoft.com/MessageAnalyzer/
Edit: I should add that this isn't an endorsement, just another option. I only included MMA as a side-note in my recent book. I focussed on Wireshark and Fiddler to keep things simple.
Normal auto-implemented properties are fine:
public string LastName {get; set;}
As are read-only ones: public string LastName {get; private set;}
Yet, I feel that if you are writing logic in there then you should fully control it. Or else there is too much being done that is non-obvious and could cause problems down the line (for others or your future self).However, they might be able to achieve something with data annotations that wouldn't be too magic. For example:
[RaisePropertyChanged("Batina")]
public string LastName {get; set;}
Tip: In VS you can just type "prop" then press tab to auto-generate the code for a class property. You can then easily auto-change this to a fully implemented version. This also works for "for" and "foreach" loops etc.I haven't done much Java in a while but do you still have to write out all of your property accessors fully? Might not be too bad if the IDE can generate this code.
...in Germany nearly 80% of transactions are still cash - lots of places that simply don't take cards
Reading this thread that now makes more sense. We have it pretty good in the UK with contactless and chip & PIN (although I hear the Dutch have it better). I always feel the US is so backwards when I visit and they do the stripe & sign thing.However, I still think there are many reasons cash should always be accepted. I won't repeat them here as they're covered in the post.
Visual Studio for Mac (aka XS vNext) does now support ASP.NET Core so there is less need for VS Code. The re-brand makes sense (it's not just for Xamarin now). However, Code runs on more platforms (Linux, ARM etc.) and is also used in the browser as part of Azure.
I wrote a better summary of the differences here: https://unop.uk/getting-started-with-c-sharp-and-cross-platf.... It's the last in a four part blog series about .NET on Mac.
10:00am - 12:30pm EST (15:00am - 17:30pm GMT): Keynotes by Scott Guthrie and Scott Hanselman
I suspect a big announcement about .NET on Mac. :)
The main version of NOOBS has X starting by default these days. Even the standard Raspbian image has a GUI, but you can use the lite version for headless servers (https://www.raspberrypi.org/downloads/raspbian/). This is similar to Ubuntu Server but different to NOOBS lite, which is just a small network installer.
Edit: FYI Connect(); is November 16th-18th starting 9:45am EST https://connectevent.microsoft.com
If you are using basic Xamarin then you will end up writing separate UI code for each platform, but you can still share business logic if you architect if well. Xamarin.Forms is different and lets you share the UI too.
Even with Forms, you will always have some platform specific code, but this is normally small. For example, some implementation details when using SQLite.
[0]: I'm writing about this starting with https://unop.uk/cross-platform-native-mobile-app-development...
Purely by coincidence, I have four blog posts on this out this week. The first one (on React Native and Xamarin) is here: https://unop.uk/cross-platform-native-mobile-app-development...
Edit: Thanks for the tip BTW. I had linked to this from a blog post, but have now removed the dead link (https://unop.uk/cross-platform-native-mobile-app-development...).