I'm just still amazed that he figured it out that quickly; I really didn't tell him much about what had happened, and I'd hardly had time to leave the room before he'd solved it. What a jerk :)
189 karma · joined July 18, 2018
I'm just still amazed that he figured it out that quickly; I really didn't tell him much about what had happened, and I'd hardly had time to leave the room before he'd solved it. What a jerk :)
That went on for about five months. I was crazed with frustration, and a growing pile of electronics boxes, tools, and testing devices filled the corner of my room. I had a collection of components which I was sure were working: the system at least appeared to boot to BIOS when lying on the workbench, but when all the parts were hooked up inside the case, we got five red lights again: major hardware fault. Finally, at the limits of my frustration, I turned to my brother for aid: "It works on the bench, but not in the box. I don't know why. You figure it out."
He returned not five minutes later with the widest grin you can imagine. I was incredulous, and this was a better practical joke than he could ever have devised. He showed me that having the case's reset button (correctly) connected to the motherboard caused the error condition. I was so thankful that I almost didn't want to strangle him!
"If the doors of perception were cleansed every thing would appear to man as it is: Infinite. For man has closed himself up, till he sees all things thro' narrow chinks of his cavern."
More to the point, however, I think that human minds often handle perception in general, but the problem of objectively observing the subjective is somewhat less tractable.
> Math, philosophy, reason and order are inapplicable because they are only rules-based approximations of a chaotic state.
This is really a superlative cop-out. "My theory is so genius that math, philosophy, reason, and order are insufficient to describe it."
In addition to the Pickaxe book, I recommend Metaprogramming Ruby by Paolo Perrotta, and potentially the sequel to that book (which I have yet to read).
Ruby lends itself to a very fluid style. One of the things that you may find less common is explicit variable assignment within a method: most of the time your assignment will be in method signatures and block declarations. The following code is illustrative of technique, but not recommended practice:
puts(Enumerator.new do |y|
loop { y.yield Array.new(rand(1..18)) { [*'a'..'z'].sample }.join }
end.lazy.reject(&IO.readlines('/usr/share/dict/words').method(:include?)).first(10).join(' '))
This generates "non-words", which are guaranteed not to exist in the (Unix) system dictionary, without using explicit assignment. First it creates a (lazy) generator object which yields random "words" of varying length. In Ruby, if you are calling a method with only one argument in an inner loop, you can avoid writing the loop explicitly, which is nice here because it also avoids the performance hit of reading the dictionary file repeatedly. The `method` method lets us pass an object-method pair, to be evaluated later, and the '&' there is a sort of cast-to-block, and you'll see that used in other contexts. So, at that point, we have a lazily-evaluated collection of lazily-filtered strings, and we can take an arbitrary number of these out and print them.The nice thing about Ruby is that you can probably express what you want in one statement. This does come at the cost of a fair amount of idiom. Some of it is functionally important, some of it is convenient (like using the `*` operator to destructure ranges), and some is pure window dressing, but enforced by convention just the same. The Pickaxe book is better than anything else that I am aware of for describing Ruby idioms. I'm not sure how well it has aged. It's probably recommended to do a lot of pair programming and code review. At times I have mentored others on the website Exercism, and I would recommend that or a similar site.
ChromeOS is fine for web development, except that it started killing tabs after you open ten or more. I liked Cloud9 for the most part, particularly that it saved its state all the time: you could close your browser window, and come back to that project a few days later, and all of the same files would be open, and any terminal commands still running.
Both NetBeans and Atom were painfully slow, regardless of system configuration.
Switching to a docker-centric (i.e. HDD-heavy) workflow has meant switching to a remote server -- for now, a VPS, at least until I get my local server a new HDD. So ChromeOS is perfect for my needs, in that it has a full-color terminal with ssh, and a web browser for documentation. However, that's kind of a low bar. On the plus side, ChromeOS is quite secure. On the minus side, it's not "real" Linux in some relevant senses. Auto-updating is nice, and also being able to unbox a new machine, sign in, and automatically have your local apps and files start appearing. Heavy Google Apps integration is probably more of a feature than not. However, the rate at which the OS would kill tabs (including the terminal!) made the system quite unpleasant to use. Yes, the problem here is me: the hardware can't easily handle a large number of tabs, and it's a perfectly valid decision to kill tabs quickly rather than let the system become unresponsive. Probably it was even mostly effective at that. Probably a better-spec'd machine would have fewer memory issues. However, I have consistently gone to considerable lengths to avoid using ChromeOS: replacing the firmware requires disassembly and the removal of an internal screw, and risks bricking the machine. Enabling developer mode prevents the system from booting normally: instead, a white screen appears after power-on which says something like "Press spacebar to restore ChromeOS". I believe that it does let you know that this will wipe the user partition, after you've started. It does not tell you the key combination required to boot the machine. Loaning out a Chromebook in developer mode is therefore not recommended.
I'm shopping for a replacement for the chromebook I'm typing this on. It cost $115, I've used it for a couple years, the second power cord seems to be giving up, and the screen is partially held together with electrical tape: I think it gives it a bit of character. I've had at least two other (cheap) Chromebooks before this. I don't think I'm in the market for another. At the moment, I'm probably looking for a (Linux) Dell XPS 13, or similar: I would appreciate any suggestions.
[0] https://galliumos.org/
[1] https://github.com/dnschneid/crouton
[2] https://github.com/dnschneid/crouton#what-about-dem-crostinis-though
[3] https://spacevim.org/This is close to a non sequitur, and it doesn't help that you're talking about student discounts as if they were a particularly large component of student financial support. Mentioning that is absurd. Massive subsidies are not "based on capitalism", and they're particularly antithetical to the laissez-faire capitalists.
A blanket dismissal of related studies is simply prejudice.
You are wrong.
> As long as the immigrant workers have the same rights and working standards as any other worker, what is the problem exactly?
No one is transforming England into Pakistan. That is a false characterization.
> The creation of a logical expression analogous to a natural phenomenon should instead use the methods of science hypotheses and testing.
This is usually called "physics".
> Given that this is not the scenario now, countries are forced to tax the currently economically productive people to pay for some of these things for those not currently participating in the economy.
It's at least as valid to say that capitalism is incorrect in valuing people only in relation to the value of their labor. We have massive social and financial structures to subsidize students, because we recognize that activity has a great deal of future value to individuals, nations, and the world at large. We provide a great deal of support to mothers, and the elderly, because societies are more than just economic engines.
> There is no country in the world that provides all of these things for free to all citizens because there would be no incentive for anyone to do the work to support all of the basic needs.
Contradicted by studies. People work because they want to, and because they want more than a basic existence. You would also need to show that it's less expensive to have a bunch of homeless and/or sick people, which is not really possible in a democratic society. Not paying for things that are necessary for your fellow citizens to survive usually ends up being the most expensive way possible to pay for things.
I think that you should rethink a great deal of your sociopolitical philosophy.