969 karma · joined May 3, 2009
> (I can't even compile FOSS apps on my own without owning a mac + 100$/year dev licence - this is a real shit show for me!)
You do need a Mac, but you can build FOSS apps and deploy them to your own iPhone, iPad, or Apple TV with a free developer account. You only need the paid license to distribute them to others.
> Finally I have a device that could replace things like a Wacom Tablet connected to your computer but that opportunity was missed.
There have been apps that support this for a while, but this is now a built-in iOS/macOS feature called "Sidecar".
I haven't seen GLR used in production either, but my experience with projects I've been involved in is that this is sometimes just due to inertia. Taking full advantage of GLR's support for ambiguity requires reworking both your grammar and your early stages of semantic analysis, and even if people agree that the result might be nicer, nobody has the time or motivation to do all that work.
Usually this distinction isn’t really a big deal, but in some cases - quantum mechanics, for example - there’s a big difference between the two, with multiple interesting interpretations to consider.
When we don’t make this distinction it creates an opening for people with poor understanding (or, occasionally, bad motives) to nitpick extremely well-established theories on the basis of quibbling about interpretation. I worry about this with respect to climate change specifically: deniers come up with a million reasons that climate change may be partially natural, or that this or that industry may be unfairly maligned, but we can’t get sucked into those debates so much that we forget the big picture painted by the data and models we have.
I do suspect that in the near term Idris may overtake Haskell as my favorite language to program in, though. I haven’t had a chance to sit down and learn it yet, but everything I’ve read about it so far has left me very excited.
I'm a bit surprised that so many commenters here are reacting to the second paragraph as if it described an extreme lifestyle that would inevitably lead to ruin, or as if you need to make a choice between having these kinds of experiences and being a successful, fulfilled adult later in life. Neither of those things are true.
Here's what I believe the parent post is saying, but stated differently: try all the things that life has to offer, and get outside your comfort zone. Let yourself make mistakes. Explore. Try to connect with many different kinds of people, especially people who aren't like you. Push the boundaries a little. When you find something you're passionate about, dive in, but be sure to come up for air regularly and enjoy the simple pleasures of life.
Don't let the anxieties or negativity of others stop you. If you do those things, I promise you you won't regret it.
It's actually one of the main things that keeps me in the iPhone ecosystem.
Your breakdown of this situation makes it sound like you think it doesn't matter what you do, because someone will call you a racist no matter what. In other words, that accusations of racism are totally arbitrary. That's not true.
Now if the metric is startup time, that's a different story. (Though I believe there's been a lot of work on hybrid AOT/JIT since I left the world of managed languages, so maybe things are better now.)
It's not as if the EPA has been growing unchecked; conservative politicians have been doing their best to gut its funding or render it toothless for decades now, going back at least as far as Reagan. If you're not happy with the current situation, it seems unlikely that continuing down the path of defunding the EPA will improve it.
(1) Often your grammar admits inputs which are not in your language. Less often, it forbids some inputs which are actually valid. This is usually because an accurate grammar would be extremely complex to write and inefficient to parse using a generic algorithm. Languages which combine a context-free grammar with parsing decisions based on semantic information fall into this category (think C++); the "true" grammar would usually be context sensitive and quite hard to work with.
(2) You are sometimes compiling a layered language. Again, consider C++. The program you're compiling is generally actually written in the C preprocessor language! Conceptually, it's translated to C++, and then the C++ code is compiled in a separate phase. In practice, that layering will make it difficult to produce good error messages, and a formal grammar for the combined language would be a mess to say the least.
(3) The structure of the grammar may just be awkward for producing good error messages, and refactoring it to eliminate the problem may not be possible, or it may only be possible by making problem (1) even worse.
In general, the decision of what goes in the lexer, what goes in the grammar, what is handled in semantic actions, and what is dealt with at a later semantic layer is always a trade off. Each layer has different characteristics in terms of computational power, performance, static analyzability, programming flexibility, composability, modularity, and maintainability. It doesn't make sense to insist that you solve all problems at one particular layer. You look at the problem you need to solve and decide how it'll be partitioned between these different layers to maximally benefit from their strengths and minimize their weaknesses.
That's engineering.
I've had some success in the past with using GLR or another algorithm that can handle ambiguity, and then choosing among the possible parse trees in another pass that takes semantic information into account. How applicable that is really depends on the language, though; if things are so ambiguous that you're getting an exponential growth in possible parse trees, you may not want to use this approach.
If you're into higher-end headphones, I can heartily recommend the B&W P7 Wireless. Fantastic sound and the Bluetooth has been extremely stable for me. And they have a wired port as well, so if you want to go that route at any time they still have you covered.