Message from @Deleted User
Discord ID: 444303971922870273
A lot of popular OS projects have bugs/issues tagged with beginner and there you can start.
Will SO-DIMM RAM become cheaper in the next months? Fucking shit is expensive.
it about £70 for 8gbs, which isn't too silly
i need 32GB DDR4 RAM; and it is 300€. 2 years ago, the same product was 150€ 😦
DDR4, yeah I am still running DDR 3
@meratrix why is c++ the best language?
Structs and Objects, 😄
israel dindu nuffin wrong
wrong chat ni🅱️🅱️a
If you don't have time to do it right, when will you have time to do it over?
But it's understandable, exception safety doesn't come for free in Python the way it is in C++.
As it turns out, RAII is essential for exception safety.
Closest thing Python has to RAII is the `with` statement.
@Deleted User Because it only does everything
does it bake cookies @Legiondude ?
It can
Not the kind you eat though
You have to choose the right tool for your use-case.
@meratrix C# has those as well
I should finish learning C at some point
Ditto
You must be good and educated at C, otherwise you will make constantly mistakes. Memory leaks, etc.
More so than in high-level languages.
@Legiondude what languges do you know?
@Deleted User I mainly do C#, TypeScript and Python. I probably won't ever do any C professionally.
@Deleted User I used to know Racket, some C/C++, some C#, and then internet page scripting languages
cool
```
Date: 2018-05-11T01:31:12.056Z
Hash: 554c5c5bd86a2d0998c2
Time: 2324ms
chunk {main} main.js, main.js.map (main) 1.93 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 683 bytes [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 15.6 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 325 kB [initial] [rendered]
ERROR in The Angular Compiler requires TypeScript >=2.7.2 and <2.8.0 but 2.8.3 was found instead.
```
FFS
Reminds me of cmake, back when it couldn't do version checks properly.
Maybe it still can't, thank god I don't use it.
It would fail a check like `1.25.3 > 1.8.0` because it was doing string comparison.
Basically npm was saying "you got some packages here which aren't secure". Ok that is fine. I use angular to update the packages and then it breaks it own build. It is really frustrating.
Oh, I didn't read that right, it has a minimum AND maximum version requirement.
2.8.3 will work fine, it just has a check somewhere in there
It says `< 2.8.0`, not `<= 2.8.0`.
So it's possible it's not backwards compatible.
I've just used 2.7.2 now. Yeah I know what it says. The typescript version is a minor update it will probably work fine, but you can't turn the check off.
(or I can't spot it in the angular docs)
```java
package jab.util.definition.resolver;
import jab.util.definition.exception.DefinitionSyntaxException;
import org.jetbrains.annotations.NotNull;
/**
* This resolves Short definitions from numerical definitions, and attempts to parse Shorts from
* given String definitions.
*
* @author Jab
*/
public class ShortResolver implements DefinitionResolver<Short> {
/**
* @param object The serialized definition.
* @return Returns the resolved definition.
*/
@Override
public Short resolve(@NotNull Object object) {
// If the object is a string, try to parse it.
if (object instanceof String) {
try {
return Short.parseShort((String) object);
} catch (NumberFormatException e) {
throw new DefinitionSyntaxException(
"Cannot cast String definition to Short definition: " + object);
}
}
// Return the numerical cast of the value as a Short.
return ((Number) object).shortValue();
}
/** @return Returns the class to registered that is also returned when resolving definitions. */
@Override
public Class getResolvedClass() {
return Short.class;
}
/**
* This is called to verify if the Object is valid for the entry.
*
* @param object The definition to test.
* @return Returns true if the resolver can resolve this definition.
*/
@Override
public boolean isValidDefinition(@NotNull Object object) {
return object instanceof Number || object instanceof String;
}
}
```
Isn't this shit just a parser of integers?