FI5 - open source ventilator designed by Ferrari and Italian institute of technology in 5 weeks
iit.it/iit-vs-covid-19/fi5-ventilator505
u/EUreaditor
Went to the hospital looking for A&E and got bounced through few different buildings. Got told at the end to go to spitalska 6, which is the entrance to the hospital compound where I was already... Any advice?
I can't wrap my head around initialising a property/field upon first access:
var _builder : MultipartEntityBuilder? = null
fun getBuilder(): MultipartEntityBuilder {
if (_builder == null) {
_builder = MultipartEntityBuilder.create()
_builder?.setMode(HttpMultipartMode.BROWSER_COMPATIBLE)
}
return _builder //type mismatch MultipartEntityBuilder? != MultipartEntityBuilder
}
With lateinit:
lateinit var _builder : MultipartEntityBuilder
fun getBuilder(): MultipartEntityBuilder {
if (_builder == null) { //Condition '_builder==null' is always false
_builder = MultipartEntityBuilder.create()
I'm looking for a frontend for my MySQL database written in PHP.
I'm using Xataface at the moment and I'm trying to do an Android app that connects to it, but its rest API lacks support for file uploads, I started to customise it to add the functionality, but it's looking more complicated than expected; so I was wondering if there was something better around.
Any suggestions?
