Details
-
Skillsjs, android, c/cpp
-
Github
Joined devRant on 7/5/2020
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
May be a internal bug from titanium for iOS.
Don't know why, devRant source codes for all platforms are the same. -
You killed the computer with Java..
-
@sbiewald Oh, sorry for my partly wrong answer, now I remember that :)
-
Well, if git bash is not working for this way, try 'mintty' instead.
Git bash is based on Cygwin, which emulates a unreal linux environment on Windows. Through a bash script called 'apt-cyg', you may be able to install mintty on git bash, a terminal based on pipe to provide a more likely linux env.
I've seen this before, but not on a terminal - It's on a web page.
http://www.windows93.net
It's similar to webOS, and there's a file named 'startwar.avi'. Open it and enjoy. -
Electron is a good choice for fast building desktop softwares, but it's too large (similar to Chromium) and can be a little slow, also takes up too much RAMs.
So i recommend to use QT to write desktop applications, It's fast (with C++) and cross-platform (if use qt lib only), and can use native apis from current os. -
@Xoka Yep, the QT libraries is written for C++ (even in QtForAndroid)
-
It's called C# cause it can "C" into your soul, sharp tongue added.
-
As we know, Chrome can be a tool for testing RAM...
-
It's a snake...
-
return !(number%2)
-
Use js (Titanium) like devRant!
(may crash on iOS like devRant -
This is turned out that
When loading the image, it uses (sub domain "image")$rant/$image_path
But when downloading, it uses $rant/download
which means the server has changed the output stream before sending image data...
And as @C0D4 said, it added watermarks to the image.
It can be a long-time process because the source is in JPEG format but the server converted it into PNG format when getting '$rant/download'.
I think the server does a "linear & dynamic coverting" to avoid Disk I/O
May be not the smartest way....
(Thinking about adding the watermarks before uploading?) -
@C0D4 Got it. Thanks a lot👍
-
@SortOfTested
@SavvyArbitrary
I think it's not... it's always true under both Wi-Fi and Cellular Data, I ping'd devrant dot com, 300ms in average...
oh, and, i'm in China mainland, is it related to this? -
After login, the token key(one of the most 'safe' way to check if it's the owner nowadays) will be saved into cookies, and one bug of Fast Login in QQ was that other website was able to get the token and other necessary codes for login with just a GET request to official API.
Here's the hacking process (of course in Chinese)
blog.csdn.net/qq_38837337/article/details/80673809
So if you see something like this, DO NOT easily enter or even believe it..
Always take care of yourself, and your accounts./2 -
Well, it's VERY common even in some chat apps in China like QQ...
It's a cheating msg sent by robots mostly.
In my case, many people using QQ would get the message from their friends, said something about them (photos, or the original sentence "这是你?") and gave them a link(shorted link) or even a QR code directed to a Qzone login page. And if they enter this and even try to login in that, they will lose their account.(stolen).
Simply. It's a FAKE Login prompt, similar to official's interface but not the same.
To verify that it's official (although 'official' is next to impossible), check the link.
Using QR code is an advanced way to stole other's accounts.
It's lucky that this method haven't been used in inst...
And if you don't login, just click this link, you may also be in trouble.
Still in my case, QQ & Qzone are both dev.ed by Tencent so mostly they have the same encryption for login./1 -
@electrineer Agree.
But I was thinking the manufacture should provide a camera app which supports manual ISO&ShutterSpeed&Expose adjustment in pro mode, since it has 'reached' 48MP...
(Lumia 909 & iPhone's built-in camera app didn't support manual adjustment, but after installing third-party apps like LumiaCamera(dev. by MS) and XN Camera(not by Apple), these funcs worked perfectly...)
I was confused that since these phones support these functions and even have a tag 'focused on photograph' , why the manufactures didn't provide those apps and users have to download third-party apps to 'unlock' them... -
@cafecortado -1, I win😏
-
mPerson.grandpa = mPerson;
// similar to path.win32 in Node.js4Windows -
Waiting for HTPL(HyperText Programming Language):)
-
PHP is an abbreviation of 拍.黄.片 in Chinese which means 'producing adult videos' (
-
@IntrusionCM no, i have only one pc with an 800MHz CPU, running my custom os (i have GRUB installed so i can make multiple kernels stored on one disk).
-
@IntrusionCM Now i need to find a kernel with both full vfat support and rtl8188eu module prebuilt for x86, without compiling modules&kernel by myself.
-
@IntrusionCM i know, IO charset issue occured on a kernel and mount issue occured on another kernel.
-
@Haxk20 No, just blanked once because of the low battery, dumped part of mmcblk0p2 and it was fine, and there's no TWRP here ---- Ubiboot on N9, only Nemo available
-
Internal Error: too much recursion.
-
All things you know are just signals in your brain, nothing is real.
-
@MAYH3M National Olympiad in Informatics, is a comptetition in arithmetic, using C/Cpp/Pascal to write some programs to solve some problems about math.
-
begin to learn NOI?😂 you can find the spirit of programming there.
-
@Ranchu If you wrote codes in C/C++ before, you can know that structures and objects are stored and the variable you valued is only an offset.
In Javascript or some other advanced languages, although there's "no pointer" when programming, the var stores an offset.
So when you changed a member of an object, you changed the original object's member.
If your argument is INT:
function a(b){
b+=1;
return b; // useless in this case
}
var z=3;
a(z);
console.log(z); // 3
if it is an object:
function a(b){
b.m=0;
return b; // useless in this case
}
var z={m:3}
a(z);
console.log(z); // {m:0}
in case 1, z is an integer, and it will make a copy of z as b in the function.
in case 2, z is an object, it stores only an offset like C/Cpp, so it won't make a copy, operate it in the function is the same as modifing it outside. It will make a copy of the offset, and two offsets is in a same value, point to the same location in RAM where the object stores, so you're operating the same thing.