#rvalues
Explore tagged Tumblr posts
intercal · 2 years ago
Text
anyway I finally understand C fanboys now, you can just ... read it. Unlike C++
2 notes · View notes
stellrrinsulation · 2 years ago
Text
The truth about fixing your crawlspace insulation! https://t.co/5J5XA9y7Mi #insulation #sprayfoam #insulationremoval #crawlspaceinsulation #wallinsulation #stellrr #sprayfoaminsulation #Austin #rvalue #dehumidifier #insulationcontractor #remodeling
The truth about fixing your crawlspace insulation! https://t.co/5J5XA9y7Mi #insulation #sprayfoam #insulationremoval #crawlspaceinsulation #wallinsulation #stellrr #sprayfoaminsulation #Austin #rvalue #dehumidifier #insulationcontractor #remodeling
— Stellrr Insulation (@stellrrinsulate) Mar 1, 2023
from Twitter https://twitter.com/stellrrinsulate
2 notes · View notes
data-science-and-ai · 16 days ago
Text
Tarea 2 - Frecuencias y Regresión
Frecuencia de promedios 6 - 360 7 - 4079 8 - 8122 9 - 5035 10 - 39
Frecuencia de tipo de bachillerato de origen 0 - 14045 1 - 3590
Resultados de la regresión lineal
Pendiente de la línea de regresión 0.004224384216669276
Intersección de la línea de regresión 8.016945532217871
Coeficiente de correlación de Pearson. El cuadrado de rvalue es igual al coeficiente de determinación 0.002183244760831845
Valor p para una prueba de hipótesis cuya hipótesis nula es que la pendiente es cero, utilizando la prueba de Wald con distribución t del estadístico de prueba. 0.7718867792018003
Error estándar de la pendiente estimada, bajo el supuesto de normalidad residual. 0.014571251221020527
Conclusiónes:
- La Pendiente de regresión es positiva pero casi 0
- La relación entre las variables es muy débil y no significativa estadísticamente.
- El modelo de regresión lineal no es adecuado para explicar la variabilidad en la variable dependiente.
0 notes
u-train · 6 months ago
Text
look you say that as a meme but...
templates are turning complete (lol)
templates are actually fill-in-the blank code. so, you cannot just have a typical .hpp and .cpp structure. because you know, the .hpp would only define the interface (control panel) but not the implementation (guts). you have to manually instantiate the implementation for the template otherwise linking errors. can you tell that I got bit by this and I'm bitter???
sfinae (if the first template didn't work try a different one. this is like having half-, one-, two-, and three-gallon containers. you have three gallons to store. you literally try filling each of them until you get the last container. lol!)
anonymous namespace
inline namespace?!
const-ing the this parameter of a method is just weird syntax to me.
forwarding references? wtf is this shit?
coroutines, what does this mean in cpp and why does cpp have this?
concepts (I just don't know, I think they're type classes but funky)
the most vexing parse (skill issue)
vector>> (X_X)
you can use macros to change true to false. or.. any keyword. lol.
operator overloading to make things that shouldn't be. ostream pipe for example...
static
varargs are silly imo
pointer-to-member operators. JUST LEARNED THIS!
rule of five (so silly)
PIMPL (okay buddy)
basic datatype are relatively sized and only specify minimal sizes.
at least we have cstdint (and some others?)
rvalues/lvalues, which aren't really right/left values.
move semantics, I think it makes sense, just not immediately intuitive.
and im so sure, this is just start. cpp have so many features that work together to make insane things possible!
that cat has every right to be like that. this meme is real.
Tumblr media
790 notes · View notes
arahovsepyan · 5 years ago
Video
instagram
spit some bars about R-Values and U-Values... hit the link for the full vid! _________________________________ #rvalues #uvalues #architecture #architect #mnemonicdevice #architectrapper #architecturerap #thearchitectsmixtape #superarchitects #archinect #architectregistrationexam #ncarb #notly #ppd #pdd #buildingscience #buildingsciencefightclub #buildingscience101 #buildingsystems #energycalcs #title24 https://www.instagram.com/p/CCYsR1tpX79/?igshid=194ytoh2fjfvq
1 note · View note
jimsjoo · 3 years ago
Text
error: lvalue required as increment
error: lvalue required as increment
What will be the value of x in the following C++ program? #include<iostream> using namespace std; int main(){ int aaa=1; int xxx=(aaa++)++; cout<< xxx <<endl; return 0; } The variable 'aaa' has 1 at first. When declared as an integer variable, xxx seems to have 3 because we are likely to assume that (aaa++) increases 'aaa' by 1 to make it 2 and '++' after (aaa++) makes the result of (aaa++)…
View On WordPress
0 notes
intercal · 5 months ago
Text
I'm gonna teach my kids what an rvalue reference is so they won't have the same struggles as me
8 notes · View notes
stellrrinsulation · 2 years ago
Text
The 6 most popular attic insulation options around Austin TX. https://t.co/sQKebemVaR #atticinsulation #sprayfoam #insulationremoval #cellulose #fiberglass #stellrr #sprayfoaminsulation #Austin #rvalue #insulationcontractor #blowninsulation
The 6 most popular attic insulation options around Austin TX. https://t.co/sQKebemVaR #atticinsulation #sprayfoam #insulationremoval #cellulose #fiberglass #stellrr #sprayfoaminsulation #Austin #rvalue #insulationcontractor #blowninsulation
— Stellrr Insulation (@stellrrinsulate) Apr 14, 2023
from Twitter https://twitter.com/stellrrinsulate
1 note · View note
data-science-and-ai · 16 days ago
Text
Tarea 2 - Código Python
Instala la librería
Se necesita restaurar el kernel
%pip install scikit-learn
import numpy as np import pandas as pd import seaborn as sns from scipy import stats
df = pd.read_csv('/Users/alejandroflores/Desktop/Curso_Regresion_Coursera/Tarea_2.csv')
Cambia el tipo de dato y redondea el promedio
df['promedio'] = df['promedio'].fillna(0).astype(int)
Se recodifican los valores del tipo de bachillerato
df.loc[df.tipo_bach ==1, 'tipo_bach'] = 0 df.loc[df.tipo_bach ==2, 'tipo_bach'] = 1
sns.jointplot(x="tipo_bach", y="promedio", data=df, alpha=0.5)
x .- variable independiente / predictiva
y .- Variable resultado / dependiente
alpha .- ilumina los puntos de acuerdo a la densidad
-
sns.pairplot(df, kind='scatter', plot_kws={'alpha': 0.4})
Graficación de la regresión lineal
sns.lmplot(x="tipo_bach", y="promedio", data=df, scatter_kws={'alpha':0.3})
Frecuencia de promedios
lista_promedio = df['promedio'].values.tolist() frecuencia_promedio = pd.Series(lista_promedio).value_counts() print ("\nFrecuencia de promedios\n" ,frecuencia_promedio.sort_index(ascending=True))
Frecuencia de tipos de bachillerato
lista_tipo_bach = df['tipo_bach'].values.tolist() frecuencia_tipo_bach = pd.Series(lista_tipo_bach).value_counts() print ("\nFrecuencia de tipo de bachillerato de origen\n" ,frecuencia_tipo_bach.sort_index(ascending=True))
+
Calcula la regresión lineal.
slope, intercept, r_value, p_value, std_err = stats.linregress(df.tipo_bach,df.promedio) print ("\nPendiente de la línea de regresión\n" ,slope) print ("\nIntersección de la línea de regresión\n" ,intercept) print ("\nCoeficiente de correlación de Pearson. El cuadrado de rvalue es igual al coeficiente de determinación\n" ,r_value) print ("\nValor p para una prueba de hipótesis cuya hipótesis nula es que la pendiente es cero, utilizando la prueba de Wald con distribución t del estadístico de prueba.\n" ,p_value) print ("\nError estándar de la pendiente estimada, bajo el supuesto de normalidad residual.\n" ,std_err)
0 notes
sidnazpro2020 · 4 years ago
Text
Latest News Today - India Coronavirus Cases: India's 'R-Value' Inching Up,
Latest News Today – India Coronavirus Cases: India’s ‘R-Value’ Inching Up,
India has logged over 3.16 crore cases since the start of the pandemic. New Delhi: India’s ‘R-Value’ is inching up, and it’s a cause of concern, AIIMS Chief Dr Randeep Guleria told NDTV on Saturday, stressing on the need of aggressive containment strategies in the parts of the country that are witnessing a surge in fresh Covid infections. His remarks come amid concern over a third…
Tumblr media
View On WordPress
0 notes
stuccoeverest · 4 years ago
Photo
Tumblr media
Rooftop Stairwell Project Completed. ✅Flashing, Caulking and EIFS was done by us. Pleasure to work with QuadReal on this project.🏗🏢 #eifs #stucco #quadreal #propertymanagement #flashing #caulking #retrofit #renovation #exteriordesign #exterior #construction #architecture #generalcontractor #airbarrier #insulation #capflashing #rvalue (at Mississauga, Ontario) https://www.instagram.com/p/CMAM7bZDBSZ/?igshid=4aytns9dkxeo
0 notes
zebrablinds-ca · 4 years ago
Photo
Tumblr media
New Post has been published on https://www.zebrablinds.ca/blog/how-to-get-the-best-r-value-for-your-windows-10-2020-44/
How to Get the Best R-Value for Your Windows
Tumblr media
0 notes
intercal · 5 months ago
Text
I think I am going to abandon C++ for writing this language. it was a nice idea, and maybe I bit off more than I could chew, but I don't think it's what I want to be using. often I will find myself getting annoyed-the-hell-out-of while I'm writing it, and this is supposed to be a fun project. it was not a big, specific thing that caused me to drop the language, but a combination of a lot of small things:
no lifetime tracking, which I can't really complain about because that's the language. but it's still very annoying having to worry about getting a reference to something, releasing that reference, and then taking it again in case its position in memory had changed.
implicit integer narrowing was probably what caused me to stop. say you have a 16 bit integer, and you accidentally try to shove it into an 8 bit argument (which I was starting to run into). it will happily chop off the top 8 bits and compile your program without telling you.
incomplete implementations of the current standard. C++23 was finalized last year, but gcc and ESPECIALLY clang (holy fuck they are so behind) have huge chunks missing.
the standard library feels really incomplete and not integrated with the rest of the language with its newest features. I was originally going to use std::u8string everywhere just to show that I plan on using utf-8 strings everywhere, but passing a u8string into anything doesn't seem to have much support in the standard library functions, probably because it's so new. so why would anyone want to use it if it has zero support within the library it's defined in?
no native utf-8 support. I can live with this, but man it would be nice not having to pull a new library in for it.
having to think about lvalues, rvalues, glvalues, and so forth. I finally get why it's important in a language like this, but I would prefer to just ... not. lol
so yeah. I think I am going to shoot for using Rust. I hope I do not rue the day. it has its own annoying shit with pointers and memory but I hope that I can just ignore that for a while, considering I was going to ignore it for a while in C++. I'm a lot more familiar with Rust too and its pitfalls. my main worry is that I have had multiple projects completely stopped in their tracks because I made an incorrect assumption and it completely ruined my design. hopefully this won't happen since I'm just porting stuff over, but we will see.
#t
14 notes · View notes
stellrrinsulation · 2 years ago
Text
Adding attic insulation is a waste of money! Here is how to fix it right! https://t.co/XRhN1fQUGD #atticinsulation #sprayfoam #insulationremoval #cellulose #fiberglass #stellrr #sprayfoaminsulation #Austin #rvalue #insulationcontractor #insulationvacuum #atticinsulationaustin
Adding attic insulation is a waste of money! Here is how to fix it right! https://t.co/XRhN1fQUGD #atticinsulation #sprayfoam #insulationremoval #cellulose #fiberglass #stellrr #sprayfoaminsulation #Austin #rvalue #insulationcontractor #insulationvacuum #atticinsulationaustin
— Stellrr Insulation (@stellrrinsulate) Apr 5, 2023
from Twitter https://twitter.com/stellrrinsulate
0 notes
jtleepp · 2 years ago
Text
lvalues and rvalues
The topic that inspired me to create this page, lvalues and rvalues. These rs and ls stand for left and right, referring to the side of in an assignment that value would be expected to occur.
A lvalue is a variable. You would expect this to live in the heap or stack, and it's address should be viewable with the reference of unary operator (&).
On the other hand (side of the expression), a rvalue is easiest to think of as a literal. They do not have a memory address that can be stored. Literals are the example of this I gave, but return values of functions also fit this category. So I guess that means they live in the stack or text? Seems odd to me.
Anyway, the real question is why are these useful. And it's because you can overload functions to handle these cases separately. probably other reasons as well. If you are writing a sorting function that doesn't want to modify the array passed to it, but you could increase efficiency if you did, you know with a rvalue you can modify the array in-place. Neat.
Now the function that sent me down this rabbit hole, std::move. Gotta go figure out what it does.
4 notes · View notes
sidnazpro2020 · 4 years ago
Text
Latest News Today - India Reports Most New Covid Cases In 3 Weeks As R-Value
Latest News Today – India Reports Most New Covid Cases In 3 Weeks As R-Value
More than 45.55 crore vaccine doses have been administered in the country so far. New Delhi: India’s Covid graph continued to show an upward trend as the country reported 44,230 new cases on Friday, the most in three weeks, amid fears of another wave of infections. The spread of the disease – which had eased off after a peak of four lakh daily cases in May – has forced at least one state to lock…
Tumblr media
View On WordPress
0 notes