You need to get out of your cave. Kotlin is now the primary language that Google advises to use to develop Android apps (you've heard of Android, right?), and it's becoming strong on the server-side as well, where Spring (the most used server-side framework on the JVM, which is itself the most used programming platform), among others pushes its use too.
If the speakers are business executives and the target audience is CNN journalists, it's not a tech conference. It's a business/media/marketing conference.
Techies speak at actual tech conferences. And I usually enjoy and learn quite a few things in the tech conferences I attend to.
No, you don't. But, you allow a hacker to modify the persisted bytes and thus make the production code load objects that have a state that they should never, ever have, breaking their invariants, and possibly make them call constructors of classes that they should never call.
From my experience of answering tons of questions on StackOverflow, a huge deal of newbies or self-taught programmers program the following way:
- try some random thing
- get an error
- ask how to fix the code (and not even post the error)
You should teach them the right process, which is based on reading (a lot), experimenting, analysing errors, making deductions on what needs to be changed, and repeating the cycle:
- read documentation, before starting programming. You need to understand the big picture and the fundamental concepts before using some technology. You need to know what's in there, otherwise you'll reinvent the wheel or follow the wrong direction. This can take hours, or even days, but will save a much bigger amount of time later.
- don't try random things (like guessing method names, guessing what arguments to pass, etc.). Read the API documentation.
- Experiment, compile and test what you did very often. Don't write 500 lines of code before even compiling them. When you have an error, read it, carefully, using your brain. Try making sense of the words in the error. Don't guess. Don't try another random thing to fix the error. Read the documentation again. Make deductions based on observations.
- Format the code religiously, and comment it, while writing it. Reading your own code is what you make the most when programming. If it doesn't have the right structure, you cannot reason about it. If it doesn't have comments, you'll forget what a method does or what arguments represents immediately, lose time rediscovering it, and take bad decisions based on poor understanding of your own code. Commenting code also makes you realize design mistakes
- Use good names. Forget about single-letter variables. Programming is not math. If something is a save button, name it saveButton (or save_button, depending in the standard naming conventions). Not s. Not sb. Again, you'll read the code a lot, and good names is what makes it bearable.
All of this is based on a quite simple competence: reading. Unfortunately, many would-be programmers don't know how to do that.
No, because that would mean the password is stored in clear text in the database, or hashed but not salted randomly, which would be a much bigger security problem.
To securely verify credentials, you get the random salt and hashed password of the user, thanks to the provided login, in the database. Then you salt the password and hash it, and compare the result with the password you got in the database.
French schools already have the solution for this problem: toilets are so disgusting that a lot of students avoid going to the toilets, even just for doing... what you're supposed to do in toilets. Sad reality.
So, if I want to share a 1 GB file with 3 friends, I need to upload it 3 times? And send 3 different (non-encrypted) emails?
Or I could just use GDrive or Dropbox, which don't have this awful limitation. Seems to me that they forgot usability an only thought about privacy and security.
Week after week, Uber shows that it doesn't give a shit about the law, whatever the country is.
Week after week, Uber shows that it doesn't give a shit about its employees (or, as they claim, their independant drivers).
Why would Uber management give a shit about this poor woman? Why do people accept to work for Uber, given the constant reminders that Uber doesn't respect any rule, nor anyone?
I don't see any background color specified in the markup, and I'm not even sure it was possible to do that at that time.
The first web page I saw, in one of Netscape's first version, was later, but I remember that Netscape found it cool to have a grayish background back then rather than a white one. I think Mosaic had a gray background too. What was the browser used to display that first web page? How did it look like?
I certainly write some JavaScript. But it doesn't mean I like it, or even that I chose to. I just don't have the choice. Sure, I can (and do) use TypeScript or CoffeeScript, but they all suck and I would choose any type-safe language over them if I could. JavaScript is unfortunately the only language that the browsers support.
I really hope that WebAssembly becomes a real, usable thing soon, and that better type-safe languages for the browser emerge. Or even better: that existing languages, like Kotlin, start targetting it and that a saner ecosystem emerges around it. I'm sick of JavaScript, and even more of its awful ecosystem (NPM, etc.)
I take the train every day to go to the office, and people often sleep in it.
What you describe never happens. the vast majority of people are honest and don't steal from other people. Especially the kind of persons that takes the train at 7:30 in the morning. And even if a thief wanted to steal someone's shoes, many other honest people are in the train watching and prevent the thief from even trying.
The train is way better than a car: it goes faster; I can read, sleep, or work; I have a power outlet for my laptop; the journey is much less painful for my back; there is no traffic jam, and it's way cheaper than the car.
I disagree.
If someone is abusing your service, you ban him from the service. If someone harms the service by abusing it, you file a complaint, and ask for a compensation. The justice decides if you deserve a compensation, and how much it should be.
But just changing the rules of the game unilaterally and rejecting to give back the 50K$ doesn't look right to me. If the receiver started spending these 50K$ even before they were actually on their bank account, they are plain stupid.
Do they count LinkedIn email as spam? Because that would probably make the number climb to 75%.
> Unsubscribe from LinkedIn
> Delete email account
> Sell house, live in woods
> Find bottle in river
> Has note inside
> It's from LinkedIn
Source: https://twitter.com/darylginn/...
Nearly all search engines still think web pages are static, or generated at server-side. That is less and less true, and many web sites are now single-page applications fetching their content dynamically using AJAX requests.
A search engine should search in pages as a real person sees them, not as a robot ignoring JS and CSS see them. It's a shame that all SPAs on earth have to generate a static version of the app using their own robot just to please stupid search engine robots not able to do the same.
If you can convert C to assembler, I don't get the point of C. If you can convert assembler to machine code, I don't get the point of assembler.
The point of Dart is to provide a better, more productive, safer way to develop code. And frankly, I have not written any line of Dart, but JavaScript is so badly designed that it really needs a replacement.
Underline the damn links (which are one of the main reasons why the web was invented). Undecorated links, using a color which is very close to the normal text color, makes them indistinguishible from normal text for even lightly color-blind people like me, and like 10% of the male population.
Am I the only one to find it amusing that the field guide for Web applications is itself
- ugly,
- impossible to print to read it offline,
- hard to use and unintuitive (it took me one minute to find how to go to the next page, and even once you know how to do, it's harder than just clicking on a link)?
If this is an example of a great webapp, I'll stick to my way of designing them, thank you.
Exactly. I've never understood why they had bonuses in the first place.
My job is to be a developer, and thus to produce good, maintainable, efficient code. If I fail at this, I'm fired. If I succeed, I just did my job, and thus get a salary for this.
The job of bankers is to produce money from money. It's just their job, and I'm pretty sure it doesn't need more intelligence than to produce great code. But if they fail at doing it, they just ask governments to help them, and still keep their salary. And if they succeed, they get huge bonuses.
10 k inches? meters? feet? yards? k means kilo (1000). It's not a distance unit. I guess it's 10 km (1000 meters). Isn't it basic stuff that every nerd learns at school, at the age of 8 or 9 years?
You need to get out of your cave. Kotlin is now the primary language that Google advises to use to develop Android apps (you've heard of Android, right?), and it's becoming strong on the server-side as well, where Spring (the most used server-side framework on the JVM, which is itself the most used programming platform), among others pushes its use too.
If the speakers are business executives and the target audience is CNN journalists, it's not a tech conference. It's a business/media/marketing conference.
Techies speak at actual tech conferences. And I usually enjoy and learn quite a few things in the tech conferences I attend to.
No, you don't. But, you allow a hacker to modify the persisted bytes and thus make the production code load objects that have a state that they should never, ever have, breaking their invariants, and possibly make them call constructors of classes that they should never call.
From my experience of answering tons of questions on StackOverflow, a huge deal of newbies or self-taught programmers program the following way:
- try some random thing
- get an error
- ask how to fix the code (and not even post the error)
You should teach them the right process, which is based on reading (a lot), experimenting, analysing errors, making deductions on what needs to be changed, and repeating the cycle:
- read documentation, before starting programming. You need to understand the big picture and the fundamental concepts before using some technology. You need to know what's in there, otherwise you'll reinvent the wheel or follow the wrong direction. This can take hours, or even days, but will save a much bigger amount of time later.
- don't try random things (like guessing method names, guessing what arguments to pass, etc.). Read the API documentation.
- Experiment, compile and test what you did very often. Don't write 500 lines of code before even compiling them. When you have an error, read it, carefully, using your brain. Try making sense of the words in the error. Don't guess. Don't try another random thing to fix the error. Read the documentation again. Make deductions based on observations.
- Format the code religiously, and comment it, while writing it. Reading your own code is what you make the most when programming. If it doesn't have the right structure, you cannot reason about it. If it doesn't have comments, you'll forget what a method does or what arguments represents immediately, lose time rediscovering it, and take bad decisions based on poor understanding of your own code. Commenting code also makes you realize design mistakes
- Use good names. Forget about single-letter variables. Programming is not math. If something is a save button, name it saveButton (or save_button, depending in the standard naming conventions). Not s. Not sb. Again, you'll read the code a lot, and good names is what makes it bearable.
All of this is based on a quite simple competence: reading. Unfortunately, many would-be programmers don't know how to do that.
Err, TypeScript is a compiler. It compiles to JavaScript. JavaScript runs in every browser.
No, because that would mean the password is stored in clear text in the database, or hashed but not salted randomly, which would be a much bigger security problem.
To securely verify credentials, you get the random salt and hashed password of the user, thanks to the provided login, in the database. Then you salt the password and hash it, and compare the result with the password you got in the database.
French schools already have the solution for this problem: toilets are so disgusting that a lot of students avoid going to the toilets, even just for doing... what you're supposed to do in toilets. Sad reality.
If only the keyboard had a proper apostrophe character!
So, if I want to share a 1 GB file with 3 friends, I need to upload it 3 times? And send 3 different (non-encrypted) emails?
Or I could just use GDrive or Dropbox, which don't have this awful limitation. Seems to me that they forgot usability an only thought about privacy and security.
Week after week, Uber shows that it doesn't give a shit about its employees (or, as they claim, their independant drivers).
Why would Uber management give a shit about this poor woman? Why do people accept to work for Uber, given the constant reminders that Uber doesn't respect any rule, nor anyone?
I don't see any background color specified in the markup, and I'm not even sure it was possible to do that at that time.
The first web page I saw, in one of Netscape's first version, was later, but I remember that Netscape found it cool to have a grayish background back then rather than a white one. I think Mosaic had a gray background too. What was the browser used to display that first web page? How did it look like?
I certainly write some JavaScript. But it doesn't mean I like it, or even that I chose to. I just don't have the choice. Sure, I can (and do) use TypeScript or CoffeeScript, but they all suck and I would choose any type-safe language over them if I could. JavaScript is unfortunately the only language that the browsers support. I really hope that WebAssembly becomes a real, usable thing soon, and that better type-safe languages for the browser emerge. Or even better: that existing languages, like Kotlin, start targetting it and that a saner ecosystem emerges around it. I'm sick of JavaScript, and even more of its awful ecosystem (NPM, etc.)
I take the train every day to go to the office, and people often sleep in it. What you describe never happens. the vast majority of people are honest and don't steal from other people. Especially the kind of persons that takes the train at 7:30 in the morning. And even if a thief wanted to steal someone's shoes, many other honest people are in the train watching and prevent the thief from even trying. The train is way better than a car: it goes faster; I can read, sleep, or work; I have a power outlet for my laptop; the journey is much less painful for my back; there is no traffic jam, and it's way cheaper than the car.
And if you could, finally, use Cmd-X / Cmd-V to move files.
I disagree. If someone is abusing your service, you ban him from the service. If someone harms the service by abusing it, you file a complaint, and ask for a compensation. The justice decides if you deserve a compensation, and how much it should be. But just changing the rules of the game unilaterally and rejecting to give back the 50K$ doesn't look right to me. If the receiver started spending these 50K$ even before they were actually on their bank account, they are plain stupid.
> Unsubscribe from LinkedIn
> Delete email account
> Sell house, live in woods
> Find bottle in river
> Has note inside
> It's from LinkedIn
Source: https://twitter.com/darylginn/...
Nearly all search engines still think web pages are static, or generated at server-side. That is less and less true, and many web sites are now single-page applications fetching their content dynamically using AJAX requests. A search engine should search in pages as a real person sees them, not as a robot ignoring JS and CSS see them. It's a shame that all SPAs on earth have to generate a static version of the app using their own robot just to please stupid search engine robots not able to do the same.
A developer fixes a bug, and writes a comment on github.
Dart is already being made an ECMA standard, just like JavaScript: http://www.ecma-international....
If you can convert C to assembler, I don't get the point of C. If you can convert assembler to machine code, I don't get the point of assembler. The point of Dart is to provide a better, more productive, safer way to develop code. And frankly, I have not written any line of Dart, but JavaScript is so badly designed that it really needs a replacement.
Underline the damn links (which are one of the main reasons why the web was invented). Undecorated links, using a color which is very close to the normal text color, makes them indistinguishible from normal text for even lightly color-blind people like me, and like 10% of the male population.
Am I the only one to find it amusing that the field guide for Web applications is itself
- ugly,
- impossible to print to read it offline,
- hard to use and unintuitive (it took me one minute to find how to go to the next page, and even once you know how to do, it's harder than just clicking on a link)?
If this is an example of a great webapp, I'll stick to my way of designing them, thank you.
Breaking news : junk food is junk!
Exactly. I've never understood why they had bonuses in the first place.
My job is to be a developer, and thus to produce good, maintainable, efficient code. If I fail at this, I'm fired. If I succeed, I just did my job, and thus get a salary for this.
The job of bankers is to produce money from money. It's just their job, and I'm pretty sure it doesn't need more intelligence than to produce great code. But if they fail at doing it, they just ask governments to help them, and still keep their salary. And if they succeed, they get huge bonuses.
Plain stupid.
10 k inches? meters? feet? yards?
k means kilo (1000). It's not a distance unit. I guess it's 10 km (1000 meters). Isn't it basic stuff that every nerd learns at school, at the age of 8 or 9 years?