The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
I've been building my own PCs since I was a teenager, but I lack the finesse to take laptops apart...much less Apple ones.
My first job was building PCs back when Windows 3.0 and 386 chips were hot.
Yeah, I feel the same way about taking laptops apart.
A couple of years ago I bought my wife a brand new laptop and it had an HDD and Win10 started updating and it was terribly slow. I (nervously) took it apart the first night we owned it and replaced the HDD with her older SSD. Instant speed! SSDs are the modern panacea for what ails you.
Anyways, we had older toshiba laptops (win7 2010 or so) which had nice little doors on back so you could replace or upgrade HDDs and RAM. Now all the laptops are one smooth piece that are tricky to remove and replace.
nice little doors on back so you could replace or upgrade HDDs and RAM. Now all the laptops are one smooth piece that are tricky to remove and replace.
Exactly. I've only ever bought a single brand new laptop in my entire life - everything else was "previously enjoyed". I have a bunch of spare 2.5" drives that I swap around to try out Linux distributions that don't like virtualization all that much. If I can't swap out the drive in less than 2 minutes, I want nothing to do with that laptop.
I’ve done the same for several older Windows laptops. Makes a huge difference going from a 5400 rpm HDD to an SSD. Like a whole new machine. They were much simpler than what you describe doing. Not sure I would have even attempted it in a Mac. Seems like Apple doesn’t like people fooling around inside their boxes.
I mean, it's not so much feeling bad, but knowing I can improve it, seeing as how i think my hand written parser is faster right now too thought it really should be *at least* as slow.
Or maybe i'm just expecting too much of it. Unlike PCK it can't stream - because it's recursive descent!, so it has to parse the entire stream into memory before you can have it.
The lag time sucks for large documents. With PCK i was never sure how "fast" it was, because it would start spitting nodes at me instantaneously - it streamed - it was a pull parser generator so it made parsers like Microsoft's XmlReader interface. When building the tree there was lag though, but it was a separate process in PCK. In Parsley it's integrated to the parse. Hard to profile each individually but not impossible.
Unfortunately, I can't generate FIRSTS(k) and FOLLOWS(k) sets for k>1 - I just don't know how and can't figure it out though i read a research paper that gave me an idea, i have yet to try it.
Then *maybe* with a table driven parser i could parse C#, but so far what i've seen of antlr, it can't do it.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
I whish you that the best of 2019 is the worst of 2020.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.