That's exactly what we need. A larger attack surface. Didn't we have an article the other day about having to click 3 times and hover over a link that you opened in an email from a stranger which executes powershell?
But are there Kanji (to use the Japanese term) based programming languages?
My experience working with Japanese coders is that no major language supports arbitrary glyphs. If they did, it would probably be like the early specifications for perl6 with the "Yen" operator and whatnot. The language doesn't construct like Arabic languages.
They just program in ascii with variable names and functions which they sound out to their words. But they can put Kanji or Katakana into comments above lines, and they generally over-comment.
For python2, if you don't set one in site.py (which you should). Python3 defaults to utf-8 (which again, can be changed with one line in a "config file")
But learning that all text isn't ASCII and that "encoded" vs "decoded" data are different is one of the BIG challenges for a lot of folks to learn python3, or change from 2 to 3.
Wasn't hard for me, having many years prior to learning python with other languages where I CHOOSE to blatantly ignore any non-ASCII encodings! bwahahaha!
I've never had a problem merging anything since I stopped using subverison... and cvs... and copying files to NAME_DATE_STRING..... https://git-scm.com/
Now try pasting a piece of python code, and see if the whitespace survives the HTML formatting.
Sure, I'll play. You can write obtuse code in any language. Here's same program in python (without whitespace!)
lst = [(x % 5 == 0 and x % 3 == 0 ) and ("Number = %d FizzBuzz" %(x, )) or (x % 5)==0 and ("Number = %d Fizz" %(x,)) or (x % 3 == 0) and ("Number = %d Buzz" %(x,)) or ("Number = " + str(x)) for x in range(101)]; print ('\n'.join(lst));
Can't recover? What did he do, dd if=/dev/zero of=/dev/fs ? Or were they using something like NTFS? Or most likely: storing the data in the CLOUD.
Pretty well every linux filesystem has recovery tools. There's a reason the POSIX term for "delete file" is "unlink". Because you aren't clearing the data, you're just unlinking from the table.
Since pretty well every file has a MAGIC at its start, it becomes fairly dooable to recover.
Tape is great for backups-of-backups. In my ideal system, you have incremental backups to a disk, and routinely (weekly, monthly) do a full backup to tape, and store tape offsite. There are actually some really nice tape implementations out there which let you use it just like a filesystem (as oppose to just TAR-like). It will store changes to disk, and after a certain amount of time passes it writes a complete, incremental, and compressed record to tape. That allows you to do things like rsync (which creates temporary files) without eating up huge amounts of tape, and get very quick turnaround. Tape is generally very very slow, so being able to dump data quick, then possibly fix it or something, and during off-hours the slow work happens in the background.
Actually, when I worked at a.... major transportation organization, I once accidentally deleted the entire database. It wasn't my fault, my code worked and was tested through dev -> stage -> test and all that.. but at the last minute my boss was like "Hey, you didn't use this cutting edge new ORM technique, refactor now" WHILE I WAS PATCHING IT TO PRODUCTION!!!!! So I bowed my head and said "yessir..." Well, what was supposed to delete one record ended up cascading to every related model and.... BAM.
I won't go into too many details because it didn't get reported, but basically a lot of things were moving and all record of them disappeared. And that major infrastructure system didn't have proper backups.. Ended up pulling the database copy from test (which was, at the time, 2 days old) and restoring from that, within about 2 hours.
We did a good job shifting blame that it was somehow everyone else's fault, and I didn't get in trouble (because, like I said, my code worked. Bossman made it break with his "strongly suggested" refactoring). After that, I was never asked to refactor in such silly ways again.
Oh, and if you thought we had learned our lesson and started doing backups after that... you must not have worked in IT long:)
Since when has the US ever cared about honouring treaties? (That is, us honouring them. We get really upset when other people don't honour ours). I've yet to hear of ANY penalty, and it's a voluntary agreement anyway to "try hard to do a good job." Whatever.
I've been hearing about AI for a very long time. Does it actually do anything useful yet? Other than maybe some niche manufacturing or profiling technology (spying and ads)? I get it. It can play chess. It could do that in 1991. And even better in 2000.
Back in the day (yesterday?) just opening a word or excel document could infect you.. This "novel" approach is really taking a step backwards for malware.
Reality is you get burned out in this field pretty quickly. A lot of "senior" staff I see at any place found some little niche of job security, and translated their job from making good code to making managers like them, on a personal level. According to them, you gotta dig your heels in deep and don't budge, once you find a company with the right kind of dirt to do so.
Me, I change jobs every few years. I fix everything, piss off all the people following the above mantra, and go somewhere new with interesting challenges.
That always got me bad grades. I had already been programming professionally for many years before I decided to try for a CS degree. I already knew everything, and often did things in ways the TA's didn't understand, or that was beyond where we were, and would get marked down for it. The ONLY CLASS IN THE WORLD where you can get marked down for over-achieving. In fact, I used to sell my work to girls, I'd put errors in my code and change things around. They'd get better grades.
Programming is just a dictation of logic. If you understand how you think and solve problems, you recreate it for a computer to do much quicker. Encapsulate like your mind encapsulates objects as distinct and concepts as distinct. Then, interact between the objects.
It's double-ended too. The more I program, the more I understand thought patterns. The more I think about thought patterns, the better I understand code. Hell, I can look at someone's code and know exactly how they see the world and interpret transformations.
Remember... all the knowledge of the universe runs on any wire at any time. It's only useful to us if we follow transformations and display information that a person can then understand. That's the core of programming.
IDE? How the hell does anyone program anything without vim? I don't get it. Like... once you learn how to record (either via 'q' for complex recording, or '.' for "repeat last action" simple recording).... how do you ever go back to basically a colorful notepad?
10-15? Maaan, they're still around. It's died down a little bit since IE9+ somewhat supports that new-fangled "HTML" and "javascript", but there are still a TON of business apps, especially in locked-down environments, which only support IE. A lot of it has to do with those environments historically ONLY providing internet explorer (because, locked-down environment, obviously the most insecure and targeted browser that comes with the most insecure and targeted OS is the way to go!!).
I, for one, still remember the PAIN for supporting IE. Like IE8 I believe was the one that when it came out, if an element had the same name and id, it wasn't fetchable by ID. My mind is tained with thousands of these "break the API for lock-in sake".
Thankfully, most of these more modern lockins are more of a "Has a new API that noone else has implemented" (which is still bad... but is kinda the way things go)"
To add a new feature, didn't it have to not be there before? This looks like they're just making sure accidental touching of a device you hold in your hands has more serious consequences..
which can bypass GC and do C/C++-level
That's exactly what we need. A larger attack surface. Didn't we have an article the other day about having to click 3 times and hover over a link that you opened in an email from a stranger which executes powershell?
But I speak EXCLUSIVELY in "Personal Home Page"
Don't you want "Personal Home Page" for your business?
Crap I forgot <?php during some random error handling case and now it's printing all my source code....
die('A lonely, sad, death.');
But are there Kanji (to use the Japanese term) based programming languages?
My experience working with Japanese coders is that no major language supports arbitrary glyphs. If they did, it would probably be like the early specifications for perl6 with the "Yen" operator and whatnot. The language doesn't construct like Arabic languages.
They just program in ascii with variable names and functions which they sound out to their words. But they can put Kanji or Katakana into comments above lines, and they generally over-comment.
For python2, if you don't set one in site.py (which you should). Python3 defaults to utf-8 (which again, can be changed with one line in a "config file")
But learning that all text isn't ASCII and that "encoded" vs "decoded" data are different is one of the BIG challenges for a lot of folks to learn python3, or change from 2 to 3.
Wasn't hard for me, having many years prior to learning python with other languages where I CHOOSE to blatantly ignore any non-ASCII encodings! bwahahaha!
vim<ENTER>
q1
y1<UP>
p
p
p
q
q2
@1@1@1@1@1@1@1@1@1
q
q3
@2@2@2@2@2@2
q
@3
I've never had a problem merging anything since I stopped using subverison... and cvs... and copying files to NAME_DATE_STRING..... https://git-scm.com/
should clarify: Doesn't NEED whitespace*
Now try pasting a piece of python code, and see if the whitespace survives the HTML formatting.
Sure, I'll play. You can write obtuse code in any language. Here's same program in python (without whitespace!)
lst = [(x % 5 == 0 and x % 3 == 0 ) and ("Number = %d FizzBuzz" %(x, )) or (x % 5)==0 and ("Number = %d Fizz" %(x,)) or (x % 3 == 0) and ("Number = %d Buzz" %(x,)) or ("Number = " + str(x)) for x in range(101)]; print ('\n'.join(lst));
If you are passing an object.. you can directly use ctypes, you know? or XML...
Or if you're cool, you can even use mmap, which is typically how I'd share data in C anyway..
Can't recover? What did he do, dd if=/dev/zero of=/dev/fs ? Or were they using something like NTFS? Or most likely: storing the data in the CLOUD.
Pretty well every linux filesystem has recovery tools. There's a reason the POSIX term for "delete file" is "unlink". Because you aren't clearing the data, you're just unlinking from the table.
Since pretty well every file has a MAGIC at its start, it becomes fairly dooable to recover.
there isn't a single point of failure
We pay handsomely
Are you hiring?
Tape is great for backups-of-backups. In my ideal system, you have incremental backups to a disk, and routinely (weekly, monthly) do a full backup to tape, and store tape offsite. There are actually some really nice tape implementations out there which let you use it just like a filesystem (as oppose to just TAR-like). It will store changes to disk, and after a certain amount of time passes it writes a complete, incremental, and compressed record to tape. That allows you to do things like rsync (which creates temporary files) without eating up huge amounts of tape, and get very quick turnaround. Tape is generally very very slow, so being able to dump data quick, then possibly fix it or something, and during off-hours the slow work happens in the background.
without a backup
Actually, when I worked at a.... major transportation organization, I once accidentally deleted the entire database. It wasn't my fault, my code worked and was tested through dev -> stage -> test and all that.. but at the last minute my boss was like "Hey, you didn't use this cutting edge new ORM technique, refactor now" WHILE I WAS PATCHING IT TO PRODUCTION!!!!! So I bowed my head and said "yessir..." Well, what was supposed to delete one record ended up cascading to every related model and.... BAM.
I won't go into too many details because it didn't get reported, but basically a lot of things were moving and all record of them disappeared. And that major infrastructure system didn't have proper backups.. Ended up pulling the database copy from test (which was, at the time, 2 days old) and restoring from that, within about 2 hours.
We did a good job shifting blame that it was somehow everyone else's fault, and I didn't get in trouble (because, like I said, my code worked. Bossman made it break with his "strongly suggested" refactoring). After that, I was never asked to refactor in such silly ways again.
Oh, and if you thought we had learned our lesson and started doing backups after that... you must not have worked in IT long :)
Since when has the US ever cared about honouring treaties? (That is, us honouring them. We get really upset when other people don't honour ours). I've yet to hear of ANY penalty, and it's a voluntary agreement anyway to "try hard to do a good job." Whatever.
I've been hearing about AI for a very long time. Does it actually do anything useful yet? Other than maybe some niche manufacturing or profiling technology (spying and ads)? I get it. It can play chess. It could do that in 1991. And even better in 2000.
I think it's all a bunch of FUD.
Back in the day (yesterday?) just opening a word or excel document could infect you.. This "novel" approach is really taking a step backwards for malware.
Whaaaaat? Drinking an organic solvent has negative effects on your body? Unthinkable!
Reality is you get burned out in this field pretty quickly. A lot of "senior" staff I see at any place found some little niche of job security, and translated their job from making good code to making managers like them, on a personal level. According to them, you gotta dig your heels in deep and don't budge, once you find a company with the right kind of dirt to do so.
Me, I change jobs every few years. I fix everything, piss off all the people following the above mantra, and go somewhere new with interesting challenges.
Chess is far too boring for me. Reversi: Now there's a game!
git, written by a guy who resisted source control for so long and then claimed it was because every system was rubbish except his
You mean, Linus Torvalds wrote it after bitkeeper stopped providing free hosting for the linux kernel.
That always got me bad grades. I had already been programming professionally for many years before I decided to try for a CS degree. I already knew everything, and often did things in ways the TA's didn't understand, or that was beyond where we were, and would get marked down for it. The ONLY CLASS IN THE WORLD where you can get marked down for over-achieving. In fact, I used to sell my work to girls, I'd put errors in my code and change things around. They'd get better grades.
Programming is just a dictation of logic. If you understand how you think and solve problems, you recreate it for a computer to do much quicker. Encapsulate like your mind encapsulates objects as distinct and concepts as distinct. Then, interact between the objects.
It's double-ended too. The more I program, the more I understand thought patterns. The more I think about thought patterns, the better I understand code. Hell, I can look at someone's code and know exactly how they see the world and interpret transformations.
Remember... all the knowledge of the universe runs on any wire at any time. It's only useful to us if we follow transformations and display information that a person can then understand. That's the core of programming.
IDE? How the hell does anyone program anything without vim? I don't get it. Like... once you learn how to record (either via 'q' for complex recording, or '.' for "repeat last action" simple recording).... how do you ever go back to basically a colorful notepad?
10-15? Maaan, they're still around. It's died down a little bit since IE9+ somewhat supports that new-fangled "HTML" and "javascript", but there are still a TON of business apps, especially in locked-down environments, which only support IE. A lot of it has to do with those environments historically ONLY providing internet explorer (because, locked-down environment, obviously the most insecure and targeted browser that comes with the most insecure and targeted OS is the way to go!!).
I, for one, still remember the PAIN for supporting IE. Like IE8 I believe was the one that when it came out, if an element had the same name and id, it wasn't fetchable by ID. My mind is tained with thousands of these "break the API for lock-in sake".
Thankfully, most of these more modern lockins are more of a "Has a new API that noone else has implemented" (which is still bad... but is kinda the way things go)"
To add a new feature, didn't it have to not be there before? This looks like they're just making sure accidental touching of a device you hold in your hands has more serious consequences..