Details
Joined devRant on 2/20/2017
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
-
@releaseHUN I'd rather not. It's written in .NET 2.0 and contains hardcoded references to my own domains
-
I once wrote a virus that would run from a USB stick, and would silently upload all files on a computer to my server. The idea was to plug it in to a computer that my teacher was logged in to and have it steal tests. Sadly, I never was courageous enough to attempt using it. I did have fun developing it though.
-
{
"__comment__": "some booleans",
"property1": true,
"property2": false,
"__comment__": "the end"
}
Is valid JSON -
Or in Signal's source code.
-
Technically, opening the .jar would be done using any program that can read zip files. Running the .jar would be done by the Java executable.
-
The place I work at still uses a work registration and invoicing program built in COBOL. It runs on a VM that every employee has to RDP into, because it doesn't work on 64 bit PCs. Luckily a migration has been scheduled
-
Same happens when you want to pay with PayPal through some payment gateways that don't support PayPal's 2FA yet (whatever the reason for that might be...)
-
2008 Thinkpad W500 with SSD running Linux Mint. I can get 6 hrs of battery life if I want to.
-
@dbeecham A DFA has to define transitions for all actions, on all states. So every state would have two outgoing arrows. A final states would for example have two transitions (a and b) pointing towards itself.
-
Happy b-day!
-
Sure you do. Install Stylish.
Also, I don't hear people are developing in MODX very often. I really enjoy working in MODX because of the freedom you get when it comes to data types and how they render. -
Another thing I tried today is a thermoelectric exchanger element I bought some months ago. It basically pumps heat from one side to the other side of the system. I put the heatsink in a glass of water. The water is heated using heat from your environment and at the same time, cold air is blown out.
You have to refresh the water every now and again though. You can make tea out of it as well! -
Today I motorized this pink fan that I had lying around for the same purpose. I greased the gears inside, drilled a hole for the motor shaft, and it works! It's still noisy since it doesn't exactly have sturdy fan blades.
-
@jobylie The money could very well have been an inheritage, something you earned by mining bitcoins in the early days, the lottery, a Nigerian price.. Who knows.
-
I would just take the half a million dollars, start a profitable business, live a wealthy life and forget about the degree.
-
Everything is wrong with that CSS 😨
-
Isn't that how it's always been with anonymous classes?
-
Look at http://motherfuckingwebsite.com for a good example of a minimalistic HTML page.
-
Maybe change Hobby-Developer to [Something-]Developer in your Twitter biography 😉.
-
Explaination:
You create two Date objects. One representing the current time, and one representing your date of birth (with time set to midnight).
.getTime() gives you the number of milliseconds since 1 Jan 1970. Taking the difference between the two gives you the no. of milliseconds you have lived.
Divide the number of milliseconds by 1000 gets you seconds, divide by 3600 gives you hours, divide by 24 gives you days, divide by 365 gives you years. And you must take the floor because you get something like 20.5532... otherwise. -
Yes.
var ageInMilliseconds = (new Date).getTime() - (new Date(birthYear, birthMonth, birthDay)
var age = Math.floor(ageInMilliseconds / 1000 / 3600 / 24 / 365) -
Make an ssh alias in ~/.ssh/config to prevent having to type ssh -p PORT
=) -
Friendly typo correction: in the document's title, happen's should be happens
-
The true origin of the word git actually lies in British Slang; the word means idiot, stupid person.
-
He did it by accident, and I don't think he saved the lives of millions.
-
Also recommending Mint with Cinnamon!
-
Seriously though spotify's client works neatly on windows but I still prefer Play Music for obvious reasons 😏
-
I once had a 3 month trial for Play Music and I wrote a browser extension that could download individual tracks or entire albums (zipped) in 320kbps 😅 That was a lot of fun.
Disclaimer: I never listened to any downloaded file and deleted everything and feel very sorry yada yada yada -
I'm a student so I get GitHub Premium for free. I use it a lot for collaborations and group projects (ideal for LaTeX!). I also use BitBucket because of its free private repos. I store all of my personal files on Bitbucket in a repository encrypted with git-crypt, along with many side projects.
I actually might like Bitbucket more than GitHub. Their new UI looks slick, their Windows client SourceTree is in my view much better than the GitHub desktop app. It supports all of the Git features, in contrast to GitHub Desktop. SourceTree isn't open source but free to use for individuals.
When it comes to performance, I don't think one is much faster than the other.
So if you want to use an online Git service, and feel like not going mainstream, sign up for Bitbucket! -
Isn't it just generated code?