rjldev

563 posts

rjldev banner
rjldev

rjldev

@rjldev

ruby on rails contractor | occasional speaker | https://t.co/X24LV2zIpS

Cheshire, England Katılım Haziran 2018
159 Takip Edilen107 Takipçiler
rjldev
rjldev@rjldev·
That's some clean air
rjldev tweet media
English
0
0
1
15
rjldev
rjldev@rjldev·
@AdrianRamsay Why do you expect heat waves to be once in a century?
English
0
0
0
4
Adrian Ramsay MP
Adrian Ramsay MP@AdrianRamsay·
We are entering the fourth heatwave this year. This isn't just a "once in a century". It's our new reality. We’re already paying the price of extreme heat.
English
4.6K
149
1.6K
620.4K
rjldev
rjldev@rjldev·
@Met4CastUK If the model outputting 40C predictions for England is becoming a frequent occurrence you probably want to reassess the model
English
1
0
2
350
Met4Cast - UK Weather
Met4Cast - UK Weather@Met4CastUK·
The 12z GFS is throwing out 40ºC again. Long way off and extremely unlikely (this is for the 22nd) but.. it's becoming a frequent occurrence.
Met4Cast - UK Weather tweet media
English
13
18
157
14.7K
rjldev
rjldev@rjldev·
1 year since I got my velar, still haven't hedonistically adapted, stoked every time I get in it
English
0
0
0
27
rjldev
rjldev@rjldev·
Was hoping carrying the baby in one arm would result in a Milo of Croton scenario, but instead I just have tendonitis
English
0
0
0
24
rjldev
rjldev@rjldev·
Globalist don't want you to know this but you can kill all the weeds on your patio by dumping a 10kg bag of salt on there and brushing it into the gaps
English
0
0
0
25
rjldev
rjldev@rjldev·
My clean singing has improved since having a baby
English
0
0
0
19
rjldev
rjldev@rjldev·
rjldev tweet media
ZXX
0
0
1
22
rjldev retweetledi
study every day 💻📝📚
study every day 💻📝📚@_studyeveryday·
Session spent sorting the issue with the auto encoder, I was loading the model onto the GPU after passing the model params to the optimiser, so the optimiser was looking at the param on the CPU, which weren't getting updated. Sorted that and the loss decreased. Testing on some images the autoencoder does a decent job at reconstructing them! Will play around with adding the image embeddings together and see if anything coherent comes out of sums like "shoe" + "shirt". Fun!
study every day 💻📝📚 tweet mediastudy every day 💻📝📚 tweet mediastudy every day 💻📝📚 tweet media
English
1
1
2
98
rjldev
rjldev@rjldev·
rjldev tweet media
ZXX
0
0
5
52
rjldev
rjldev@rjldev·
Pretty chilly
rjldev tweet media
English
0
0
0
0
rjldev
rjldev@rjldev·
Amazing how much light there still is in the sky at midnight at this time of year. Photo taken at 00:00 looking northwest, can still see some orange sunset colours
rjldev tweet media
English
0
0
3
0
Steve Wagner
Steve Wagner@SteveWagsInvest·
What is the biggest thing you see people wasting money on? 👇
English
120
3
60
0
rjldev
rjldev@rjldev·
@JalisoCSP > string and the query part I should have said the heredoc string and the keyword arg "query"
English
0
0
0
0
rjldev
rjldev@rjldev·
@JalisoCSP As for where the doc are, it won't be heredoc, that's just a string. Your passing two args to the query method HERE doc, and query: "something to escape" the actual escaping is handled by the db, as the string and the query part (the bind variables) will be passed to the db by ..
English
2
0
0
0
Craig
Craig@JalisoCSP·
Is there any #rails heredoc documentation? I’m assuming eg; this is safe from SQL injection: <<-SQL, query: “%#{query.downcase}%” title LIKE :query SQL And is equivalent to where(“title LIKE ?”, “%#{query.downcase}%”) But… proof? 🧐
English
2
0
0
0
rjldev
rjldev@rjldev·
@JalisoCSP whatever db driver your using, most likely the active record Postgres adapter or the mysql one. Those adapters are probably the best place to look for documentation on how bind params are handled
English
0
0
0
0
rjldev
rjldev@rjldev·
@JalisoCSP though I'd probably put the `%`s in the query string rather than pass them in as the second arg
English
0
0
0
0