3,876 karma · joined Mar 28, 2019 (7y ago) · 2,562 submissions
comment 7y ago · link · parent
Some people seem to have 10x and more motivation to practice and learn than others. Why is it so difficult to agree that this is a major advantage? Because you can't have it delivered on a silver plate at any price?
From my experience; the biggest difference is knowing what corners may be safely cut, which code doesn't even need to be written.
comment 7y ago · link · parent
I'm also fairly experienced, having spent the last 30 years or so writing code. Every kind of code you can think of in any language. Which means I'm fairly used to juggling abstractions.
But I just couldn't crack this one, I lack the motivation needed to work this elevation for extended periods of time. I need some kind of real-world connection now and then to make sure what I'm learning is at all useful.
I got the book when it just came out, and haven't tried since, but I'm pretty sure the problem persists. I have even less patience with academic abstractionitis these days.
I would be very interested to learn how and why people find the information contained in the book useful.
comment 7y ago · link · parent
It's the oldest ruling-class distraction in the book, blame the crazy person. But it misses the point, which is figuring out what's pushing people over the edge and building a society that takes better care of everyone.
comment 7y ago · link · parent
Consider postponing the deep-dive into theory until you've tried solving the problem using what you already know. Once you know your way around a problem, digesting theory becomes much easier.
On one level, there's nothing magical about compilers and interpreters. It's the same old regular code [0] solving the same kinds of problems.
What makes it tricky is working on a meta-level in parallel, visualizing what's happening in two dimensions. Like writing Lisp macros if that makes any sense.
I think it's a shame that so many get stuck on parsing and type theory. The top priority should be to get a feedback loop up and running.
[0] https://github.com/codr7/cidk/blob/master/src/cidk/read.cpp
comment 7y ago · link · parent
comment 7y ago · link · parent
It's also further proof that Monsanto is full of shit, always deceiving and lying as much as they can get away with. How much is it going to take before we make them stop?
Or, don't spray poison on food?
comment 7y ago · link · parent
panic() is just another symptom of the same disease.
Exceptions are a very useful tool, and so is pattern matching and support for multiple returns. There is no one true way to handle errors.
comment 7y ago · link · parent
comment 7y ago · link · parent
After spending 13 years writing software professionally in everything from major established corporations to consulting and startups.
I don't have that many options for health-reasons, and I'm privileged to live with a partner who pulls most of the economic weight.
But I can't imagine doing it any other way anymore.
[0]
https://github.com/codr7/g-fu/tree/master/v1
comment 7y ago · link · parent
I spend a lot of time and effort on my code, and I don't mind sharing it for free. I would prefer if other people tuned into that mindset rather than greedily raping the world for profit.
But adding more rules never seem to help, it always causes more division.
My current perspective is that its simply not my responsibility to push others into doing what I believe is the right thing.
Which is why g-fu [0] is released as MIT.
comment 7y ago · link · parent
And there were no weapons of mass destruction, all lies. It's public information but you'll have to search for it yourself because it will never be reported in the mainstream media, people might start asking the wrong questions.
comment 7y ago · link · parent
"In his book, Body of Secrets, James Bamford, who spent three years in the United States Navy as an intelligence analyst, writes, that the primary purpose of the Maddox "was to act as a seagoing provocateur—to poke its sharp gray bow and the American flag as close to the belly of North Vietnam as possible, in effect shoving its five-inch cannons up the nose of the communist navy. ... The Maddox' mission was made even more provocative by being timed to coincide with commando raids, creating the impression that the Maddox was directing those missions ..." Thus, the North Vietnamese had every reason to believe that Maddox was involved in these actions."
The US was already neck deep in Vietnam, what they needed was an excuse for going all in. So they started poking the bear, which is exactly what they're doing right now with Russia, Iran, China and probably more.
Wars are not started by coincidence, they are very well planned and always come with a hidden agenda.
comment 7y ago · link · parent
Bubble Hash (mixing with ice and filtering frozen resin) is a natural alternative that comes close, but the processing still lowers the quality.
comment 7y ago · link · parent
Fear and panic in combination with an unshackled but inexperienced mind has the potential to create your own personal hell in no time.
That's also a good reason to get introduced to this class of drugs by responsible, experienced users who can help guide you out of any loops you get stuck in.
comment 7y ago · link · parent
But it's likewise very common to use Cannabis to take the edge of the unsettling feeling of having your ego deconstructed/reconstructed when going in/coming out of stronger psychedelic trips.
Also worth noting that more Sativa-leaning hybrids are potent psychedelics in themselves at higher doses.
2454.
Show HN: Restarts – The third way of handling errors(github.com ↗)
7 points · by codr7 · 7y ago · discuss
comment 7y ago · link · parent
The other source of anxiety is that cannabis raises your pulse for a few moments, I would guess because of increased blood flow (which is sometimes visible in the eyes). From my experience that never goes away entirely, but you learn to not freak out since it's not dangerous.
Organic drugs like shrooms are definitely less dramatic than synthetic such as LSD from my experience.
comment 7y ago · link · parent
Restarts [0] evaluate the error handler in the throwing scope/environment and the only way out of there is invoking a predefined restart or aborting the program.
[0] https://github.com/codr7/g-fu/blob/master/v1/doc/typical_res...
comment 7y ago · link · parent
Here is my proposal: add restarts [0] as a complement to manual propagation.
[0] https://github.com/codr7/g-fu/blob/master/v1/doc/typical_res...