>No, she has been personally harassed due to the area she is working in.
I'm glad you figured it out. The rest of your comment is a strawman.
48 karma · joined November 5, 2015
>No, she has been personally harassed due to the area she is working in.
I'm glad you figured it out. The rest of your comment is a strawman.
One Professional Russian Troll Tells All: https://news.ycombinator.com/item?id=9269760
The rest of your comments is directing blame on the victim (the journalist).
Edit: If it is really a checksum, it is a crappy one.
You have a typo here:
f(21) = (23 * 854) % 1000 = 17934 % 1000 = 934.
I wouldn't be surprised if the last four digits are some form of built-in barcode error checking, and are not used anywhere else.
It is called a struct. It holds arbitrary collection of any type of data safely while enabling the lazy programmer to pass only one parameter around. It is also safe (as must as it can be in C) unlike pointers that hide data behind their back and are just asking for trouble.
I will ignore all the problems and point out the worst offender, stack allocation example. That is not how you allocate arbitrary data on the stack, automatic char array is not malloc. In fact, in C you can't do it without using special platform specific functions. Anything else will cause undefined behavior.
Using scripts works out of the box without hacking for ages as well. You only need to write the script once, and then share it with the world. This is the point I made in other comments already which you read but ignored the point.
Strawman. The large device is the keyboard you need to lug around. Tell me, is your keyboard designed for use with a computer?
>Various OSes have various (sometimes quite severe) limitations regarding remapping and the "script" that you mention is also OS-specific which is a pain if you use multiple OSes.
No. It isn't a pain, it called hacking and you only need to do it once and it is free and shareable. So in this sense only one person has to do it once and it just works for everyone else from then on.
The keyboard boasts itself as a the ultimate hacking keyboard, yet the only "hackable" thing that can be done with it is configuring keys and macros, which can already be done for free on any OS and with any standard keyboard. The keyboard doesn't deserve its name in my opinion. It also costs 220$ (200$ as an early bird) .
Rhetorical question: Who will benefit the most from this project?
You can also access the system's api directly, instead of buying hardware to do that for you under the illusion that you hacked something.
The benefit seems to be low level systems where it is hard to script the key mappings (assuming drivers work). But do you really write your code, i.e. spend a significant percentage of time in them, or in moderns OSs?
As for comfort, buy a ergonomic keyboard that is cheaper and static and will force you to adapt the correct posture. Especially if the problem is the small additional angle required to touch type, those keyboard solve it.
Ergonomic aspect is also misguided since touch typing correctly on a standard qwerty keyboard will not bend wrists, so no need to split the keyboard in half. Your hands need to be at an angle to type (look at the keys, columns are offset to create an angle), if they are perpendicular you need to learn touch typing correctly.
To detect it, split the recursive function into two, one that recurses and one that does the job at the end. Both can take the same relevant arguments and the latter function will detect any unused parameters.
Intel Core i5-3210M @ 2.50GHz