|
Well in this I will defend them, as ReadOnlySpan is only available on the latest non-DNF framework
Real programmers use butterflies
|
|
|
|
|
It's available in DNF 4.5 or later via a NuGet package:
NuGet Gallery | System.Memory 4.5.3[^]
The DNC version has slightly better performance, because some of the BCL methods have been updated to use it. But the DNF version should be at least as good as rolling your own.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
That's interesting. At one point i heard the DNF couldn't support stack alloc'd ref types the way DNC could but maybe I heard wrong.
Adding, the author intends to target .NET 2.0+ although i think that's a little silly.
Real programmers use butterflies
|
|
|
|
|
Some patterns don't become obvious until later on. If you're not into constant refactoring (due to fatigue or whatever), things stay.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
i don't think this code was all that factored to begin with. I think was just intended to be a quick and dirty port of lex basically, but then grew from there
Real programmers use butterflies
|
|
|
|
|
honey the codewitch wrote: Please when you write parsers,
That's all I needed to read.
You can take comfort in the fact that I've somehow managed to make it thus far in my programming career without ever having to write any sort of parser. Well, certainly not at the level you're dealing with.
|
|
|
|
|
I mean, aside from the regex the parsing isn't even that complicated, but the way it was built into the project just stinks.
Real programmers use butterflies
|
|
|
|
|
After extensive testing, for a period of just over a year, with two identical phones (one set on high accuracy, the other on GPS only, and swapping them around after six months), I have seen no profit in using high accuracy over GPS only -- if one was bang on, so was the other, and any drift was pretty much the same.
I live in the sticks, where there are fewer towers, etc; and work in cities. The results are the same wherever I am.
So is there any real advantage, except to data-slurpers?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Me think location services are not for you to find your way, but for them to find you...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
They don't need location services for that.
|
|
|
|
|
I have recently been looking into the location awareness of Android. I tend to turn off such things (and other tracking) yet it regularly notifies me of the weather in my location despite WIFI and BT being off (well, from a UI perspective anyway). Although the notification can be blocked, it will obviously not stop the hidden tracking that is clearly going on.
I am aware that Google's core business model is based on the harvesting of individuals' data, but this is just too blatantly dishonest. The walled garden of the more fruit based provider is not something which appeals to me.
It goes without saying
|
|
|
|
|
The "enhanced accuracy" uses information they "accidentally" gleaned while doing google street view due to a "bug" in their code. Definitely a mistake as google respects your privacy.
The reason google is pushing for dominance in the browser space is so that when browsers implement "no tracking" or any other privacy settings, google can just ignore those settings for its own services. Ad blockers will block only adverts not coming from their ad servers and so on. All just part and parcel of not being evil.
|
|
|
|
|
...and to further prove just how benevolent they are--they've already announced they intend to kill off cookies. How nice of them. Total privacy, here we come...
|
|
|
|
|
1 - flip phone
2 - often turned off (OK - battery still in)
3 - often forgotten at home (power on or off - who pays attention)
4 - no "apps"
So, they know where I live - but they knew that to get the phone. And, if they bother tracking the thing, I'm home a lot, or just plan gone.
Wipe the junk off the phone - use it for a telephone.
Even if they could still find you, your engagement with reality makes you a harder target than the cell-phone zombies, anyway.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Mark_Wallace wrote: I have seen no profit in using high accuracy over GPS only
"Benefit"?
"Advantage"?
|
|
|
|
|
I don't understand why you're asking. That's a perfectly normal usage.
Profits are not always monetary.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Sorry, my dictionary must be broken then.
And Google's.
And pretty much the entire first page of search results.
But I'll take your word for it.
|
|
|
|
|
Wow.
You've managed to convince me that you're an idiot.
Well done!
I doubt you'll profit from it.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I'm just saying I've never heard it used in this way, and commenting on the results of my Google search. If that makes me an idiot, I'm not gonna lose much sleep over the name-calling. I've been called worse.
Mark_Wallace wrote: I doubt you'll profit from it.
I don't think you're really proving your point with this one - to me that reads the same as "there's no money to be made from it", and it makes sense (again, to me) in this context.
But again...it could very well be a regional thing, and I'm not a native speaker. I'll keep an ear out for it.
And you know what? In hindsight, my response was rather dismissive of you, and I should know better. So let me take it back and apologize. ?
|
|
|
|
|
Annoyed and disheartened Hufflepuff takes uninitiated band for Lost Empire. (4, 3, 4)
|
|
|
|
|
Lost the plot ? don't know why though
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
|
F**K the Clue ???
cheers,
Super
------------------------------------------
Too much of good is bad,mix some evil in it
|
|
|
|
|
|
Well, we clearly have no idea - so what was it?
And you are up again tomorrow!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
|
|
|
|