|
Hmmm,
I don't often advertise anything. But this is just too amazing to keep to myself. I happen to be experimenting with an embedded device that is limited to 1GB RAM. As you probably already know... it's very difficult get desktop applications to work nicely in a memory restricted environment. The Chromium browser engine is no different... it works perfectly until I start opening 3-4 tabs and the operating system starts swapping everything to disk.
Problem solved with The Great Suspender. I like this extension so much I've decided to use it on all of my development workstations. Now I don't have to deal with Edge/Chromium eating several Gigabytes of RAM. Even with a minuscule 1GB of RAM I am able to open over 30 tabs.
Highly recommended!
Best Wishes,
-David Delaune
|
|
|
|
|
If you post it in Free Tools Discussion Boards[^] it won't get lost in oblivion that fast
M.D.V.
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.
|
|
|
|
|
That looks amazing. I've been complaining about how much memory Chrome eats up, and continues to eat up, just sitting their looking idle. Will give it a try at work tomorrow!
|
|
|
|
|
Very cool ! As a lotsa-tabs junkie, I can see its value.
thanks, Bill
«Where is the Life we have lost in living? Where is the wisdom we have lost in knowledge? Where is the knowledge we have lost in information?» T. S. Elliot
|
|
|
|
|
Hmm … nice igloo. Can we get Inuit?
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
You'll have to ask, in my opinion. I said, "you'll have to ask-IMO".
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
only if you get a seal of approval for the head of the house.
Message Signature
(Click to edit ->)
|
|
|
|
|
My wife says I'm the head of the house, but she's the neck, so the head goes where the neck turns it.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
lopatir wrote: only if you get a seal of approval for the head of the house.
My wife says I'm the head of the house, but she's the neck and the head goes where the neck points it.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Icy what you did there.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Only if you're not bipolar, otherwise they'll have Nunavut.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
So some of you know I write a lot of parser generator stuff.
You'd think with how much time I spend writing this stuff, I'd use a generator to do most of my parsing.
I do not.
About 80% of my real world parsers are hand rolled, because they're quicker to develop for really simple parses, up to the roughly the complexity of parsing regex
So I write a class called ParseContext which helps with the task IMMENSELY, including error handling, abstraction of TextReader vs String parsing, and common functions like SkipCCommentsAndWhitespace(), and TryParseJsonValue (I use JSON literals all the time)
So I post it here, because it's crazy useful. More useful than my parser generators most of the time.
Easier Hand Rolled Parsers[^]
And what do I get? Not 5 stars like my parser generator articles. No sir. I get not even 4.
people just don't know what's good for them
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.
|
|
|
|
|
codewitch honey crisis wrote: people just don't know what's good for them That's not a surprise... you just have to see the news everyday
On the other hand... there is a lot of people who votes down just because they think "that's bad" when they don't actually have a clue of what it is being said / shown.
M.D.V.
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.
|
|
|
|
|
Nelek wrote: there is a lot of people who votes down just because they think "that's bad" when they don't actually have a clue of what it is being said / shown.
M.D.V.
That would seem to indicate that the article didn't explain thing clearly enough.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
There are things where, if you don't have a certain prior knowledge you won't understand it, no matter how good they are explained.
But if you are someone that can understand everything... good for you.
I am honest enough to say that I don't understand what is being said in an article more times than I would like to.
M.D.V.
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.
|
|
|
|
|
Nelek wrote: there is a lot of people who votes down just because they think "that's bad" when they don't actually have a clue of what it is being said / shown.
M.D.V.
That would seem to indicate that the article didn't explain things clearly enough.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Nelek wrote: there is a lot of people who votes down just because they think "that's bad" when they don't actually have a clue of what it is being said / shown.
M.D.V.
That would seem to indicate that the article didn't explain things clearly enough.
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Maybe they should try saying it thrice...
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Sadly, a lot of people down-vote because they can't just copy'n'paste your code into their app and it magically works how they want it to work.
|
|
|
|
|
This should have been copy and pastable. Of course the file is big.
I think maybe people didn't understand the TryReadXXXX vs TrySkipXXXX vs TryParseXXXX methods.
Or maybe they've never used a Stream or TextReader before so they don't know what to do with a character represented as an int (or -1 if end of input)
I don't know. It's probably one of my most used classes (at least for non-trivial projects)
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.
|
|
|
|
|
Obligatory CommitStrip[^]
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Dave Kreskowiak wrote: and it magically works how they want it to work
But, but, that's the definition of good code !
|
|
|
|
|
When I voted for you, it sent it to 4.24 stars!
I think this is a very useful, minimum functionality parser helper that I will be using in my project.
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
hey, thanks!
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'm working on a parser generator that is LL(k) which should be suitable for really complex grammars. Probably even C#7 (I hope - Microsoft's C# parser is hand rolled recursive descent IIRC, not generated)
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.
|
|
|
|