|
Yeah I do similar. I used my Visual FA project to render some state graphs, and then used those to hand roll a lexer/tokenizer in C++. I hand rolled it because even though I have a generator for C/C++ I do some extra things while lexing. Like when I'm scanning a number it parses the number into a double and a long long both at the same time. That way I get numeric values on those fields and I don't lose precision for very long ints. Since it streams it can process very long numbers, even though it will lose precision
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
honey the codewitch wrote: parses the number into a double and a long long
Because I'm loading to SQL Server, I let the server do that as appropriate. I just send XML and extract individual values via XPath and squirt them into columns.
|
|
|
|
|
Mine is a generalized JSON parser. I use it for various things.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I also have not used an off-the-shelf JSON reader. I convert the JSON to XML; I do not need "objects". If I had "objects" I'd just have to serialize them to XML anyway and that's a waste of resources. Additionally, I don't need to have the whole dataset live in memory at one time.
|
|
|
|
|
Very neat. But let me hijack the discussion.
How accurate are those IP-to-geographical location mappers?
I always laugh, when I'm playing an online game, and so-called "hackers" (who are typically too young to know anything about the original meaning of the word) "threaten" to reveal my physical address based on my IP. Apparently that makes me dumb for not using a VPN.
I always congratulate them for finding out what city my ISP operates from. Which is nearly 500km away from me.
|
|
|
|
|
It depends on your ISP. Obviously in your case it might be an issue, but it's usually accurate enough to get the time zone and regional weather and stuff.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
I know the most fun thing about it is how many map to some location in the middle of nowhere.
The GPS coords for the geographical center of the US... Some farm in Kansas or something.
And if it doesn't know? That's the default. Anonymous is headquartered out of an old farm house in Kansas. Heh.
|
|
|
|
|
LOL!!! A lot of websites think they can locate me that way - even Google thinks I'm in Los Angeles (well, Hawthorne, at least). Not even close...
Will Rogers never met me.
|
|
|
|
|
I have been using VS 2022 17.7.4 on my home box for a while.
A few weeks again I set up a VM and installed VS2022 17.9.6.
In 17.7.4, the region collapse/expand icons are plus/minus signs in a little box. Pretty clear to see and understand.
In 17.9.6, they use ^ and > sumbols, which, IMHO, is a lot harder for your eyes to figure out.
Why would they change this????
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
lol
Personally, I don't mind it.
At first I thought it was a resharper or visual assist thing.
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
I do mind it. Not only do the new icons look horible, it's just the fact that they would change it. I mean, why???
This is the sort of thing that drives devs mad. Leave things alone!!! It wouldn't be so bad if they created an option to change it an defaulted it to the previous setting, but to just go about changing the UI that devs are used to with zero warning is just rediculous.
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
Freakin' diva!
|
|
|
|
|
Um, what?
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
You missed it Kevin. He's poking at you. But seriously, changing defaults on developers is just an abortion. Dear MS, I have a really good elephanting idea. If you think what you are doing is better, let us have the option of "we disagree, make it go back".
The only thing worse I have ever seen MS do (maybe I'll make a website and had ads...) is force reboots. Whoever made the final decision on that needs to be beaten to the point of hospitalization (not the morgue). Free points if you can cite the movie.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
charlieg wrote: force reboots Especially the "computer will reboot in 15 minutes..." message when you are in the middle of a meeting.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I know, right? And then they do NOT actually fix what devs have been begging them to fix, such as:
Microsoft Developer Community - Full Git Submodule Support[^]
Look in the comments in the thread of that post and you'll see what I mean.
Look, it took them until VS2022 just to make the devenv.exe process a 64-bit process.
|
|
|
|
|
Ya, lot's of new 'features', but ZERO useful change
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
Kevin Marois wrote: I mean, why???
They figured they needed to provide a reason for people to write extensions to change it back?
|
|
|
|
|
Kevin Marois wrote: It wouldn't be so bad if they created an option to change it an defaulted it to the previous setting,
You know the problem with that is that the code would be buggy, and every once in a while, in a completely random fashion, it would just ignore your selection.
Or it'd reset it again to the selection you don't want during the next update. Then eventually you'd just give up.
Sounds familiar?
|
|
|
|
|
I think it really is that the bar has dropped and so you have even people at the vaunted msft working on VS who can't actually make a more productive contribution than that. ^ > is what someone can do, so ^ > is what we get.
|
|
|
|
|
Because they are more interested in form than function, and to "be more inclusive."
Squares, apparently, hurt people's feelings...
|
|
|
|
|
LOL - A more liberal IDE
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|
|
What do you mean whitespace, eh?
|
|
|
|
|
Maybe they do it to reduce confusion. A squared + is a plus, but a squared - is also a plus.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
trønderen wrote: Maybe they do it to reduce confusion.
They failed.
In theory, theory and practice are the same. But in practice, they never are.”
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
|
|
|
|