Eris
Eris
Kenji
Because of performance it is a good idea on many systems (desktop). Just see how bad performance the Windows Registry have.
Because we need several system calls for operating the Windows Registry. (The short coming of global configuration implementations.)
Kenji
In most cases, we need to recompile something under Linux unless using static linking and only depend on the glibc. It makes binary much bigger. (Binaries of Unreal Engine 4 is a good example, the Error Report binary of Unreal Engine 4 uses 120MB of disk space.)
Kenji
But most users don't need to recompile it because of the package manager and linux distribution maintainers do it for us.
Kenji
Windows can provide developers good userland compatibility, not only the system calls provide by the kernel, but also the high level userland libraries.
Kenji
Do any test on yourself. Import data, or compare how much it takes a native search vs export to text and text search.
I don't think it's good to use Windows Registry to save long string. (Use the integer in most cases.)
Kenji
For example, choose "fuck=true" with string type to Registry is not good, why not use the DWORD type.
Stas'M
There is no boolean type in registry
Stas'M
Windows uses DWORD for that stuff
Kenji
But you can use other integer type
Kenji
Some people are not able to understand the design of Windows because they think the thesis of Unix is always right in all cases.
Kenji
Everyone should have the ability of see the difference.
Kenji
So this is why some posix fanboys don't like talking with me because I am good at breaking their dreams.
Kenji
Kenji
@movAxAx @Pessmike @Fuseteam @chungy @Mark_Jansen I have done the introduction of NSudo project. (Everyone will see it on the website. I think it can describe what can NSudo do.)
Tobiyo
nice
Petrus
much better 👍🏻
Mike
Thanks, i'll have a look asap!
John
function myFunction() { return { name: 'Bob' }; } The return value is always undefined. Anyone help me find the reason. Not sure exactly.
Mike
@movAxAx @Pessmike @Fuseteam @chungy @Mark_Jansen I have done the introduction of NSudo project. (Everyone will see it on the website. I think it can describe what can NSudo do.)
If it's the one in m2team.github i read it. So, it's a good start, which can be expanded. IMHO, you could add a page with some commands and examples. Keep up the good job!!!
Stas'M
welp... javascript is javascript ¯\_(ツ)_/¯
Stas'M
maybe linebreaks are not acceptable for JSON
Chungy
whitespace shouldn't matter
Chungy
using gjs I get the same behavior either way (object returned)
Chungy
and node shows totally different behavior
Chungy
the one you posted
Chungy
Yay for incompatible and confusing javascript
Stas'M
the one you posted
it was done in chrome dev console
Chungy
ah. I didn't know you can just type stuff into chrome like that
Chungy
terminal just seemed natural :P
Chungy
I wonder if implicit semicolons are messing it up.
Chungy
in Javascript, the semicolon is mostly optional
Chungy
yeah that's exactly why, the AST of the multi-line and single-line ones differ. The multi-line one puts an implicit semicolon after 'Bob' and makes it into a (invalid) statement. Putting a comma after it makes it stay as an object. the single-line one doesn't have that, it stays as an object no matter what
Tobiyo
firefox has an easy js run window these days btw
Chungy
i briefly looked but didn't find it. typing node in the terminal is easier xD
Tobiyo
its in the console i believe esc triggers it :p
Tobiyo
or was it ctrl+b hmm
Filiph
The parser will convert the return statement to “return;”
Filiph
Another good reason that allowing people to not use semicolons and instead having the parser guess is idiotic
Alisson
I think someone could add in the FAQ that ReactOS has nothing to do with React, lol
Mark
No
Mark
Idiots will idiot
Mark
There is no fixing that
mov
You can type only the name of the function to test what function you're calling.
Stas'M
😁
Chungy
python doesn't have ambiguities like that.
mov
It has features that makes prone to make a typo that has semantic sense.
Chungy
I can't think of any, it's pretty forgiving. Can you?
mov
That happens in every language, in some more than anothers.
mov
I like forced indent in Python. I do not like lack of semicolon or equivalent.
mov
I do not like many things of Java, I do kind of like forbidden assignation inside if. It's a common typo if(foovar=2) instead of if(foovar==2).
Chungy
I like forced indent in Python. I do not like lack of semicolon or equivalent.
it does have a semicolon, though not required and recommended never to use (it can be used to fit more than one statement on a line)
Chungy
I do like Python's new assignment-in-a-if operator. if n := f.next()
mov
I've always think that we should make obsolete = operator in every language (allowing it in legacy model.
Chungy
pascal forces :=
mov
A simple common missing symbol shouldn't have that "power".
mov
pascal forces :=
But uses = for comparison.😒
mov
What I propose is == for comparison, and := for assignation.
Stas'M
What I propose is == for comparison, and := for assignation.
Would break all existing projects written in Pascal, so no way 😅
mov
Would break all existing projects written in Pascal, so no way 😅
No, that's why I said with a legacy mode.
Stas'M
I've always think that we should make obsolete = operator in every language (allowing it in legacy model.
Also, C-like languages won't change as well, because of the same reasons
mov
Anyway, I think we're offtoping (?) a lot 😂.
Chungy
there is some on-going work to get := added to C