|
Would have been terrible to be riveted.
I'm not sure how many cookies it makes to be happy, but so far it's not 27.
JaxCoder.com
|
|
|
|
|
Not at all, it would have been a riveting experience
|
|
|
|
|
One of my pet peeves, and I constantly hear that sort of thing coming from news reporters. Y'know, the very people who perhaps should best know how to use words given that their everyday work tools are language. I watch the news coming from Quebec (living on the Ontario/Quebec border), and while Quebecers proclaim themselves to be protectors of the French language, hearing them constantly misuse it makes me wonder whether they deserve that title--as a French Canadian, I'm embarrassed. This is not the same as regional dialects and expressions; those, I'm absolutely okay with.
A few months ago when Boeing's 737 Max were being investigated, I've heard said reporters, on many occasions--including their most celebrated news anchors with decades of experience--say that the planes were "littéralement cloués au sol" (literally translated - and this is a proper use of it - "literally nailed to the ground"). You mean someone took a hammer and nails, and nailed the tires onto the tarmac or inside a hangar? Too bad they didn't any footage of that.
Another favorite memorable example, also from a while back: A deputy got pissed off for one reason or another. The news reporter said she had "littéralement explosé au parlement" (she "literally exploded in parliament"). Really...so there was blood and guts and everything? How many people were taken out being within the lethal radius of that explosion? I've heard of spontaneous human combustion, but not that someone could make oneself explode.
I could go on.
|
|
|
|
|
Well,
Here is another old project I wrote about a decade ago. It's a bittorrent client that I always thought was commercial quality software. After writing this one I was offered a position at Bittorrent Inc.[^] over in San Francisco but I declined the offer. I ended up accepting a position at Microsoft a few months later.
I've got dozens of projects like this that I have never shown anyone. I've recently been considering uploading all of them onto Github and allowing other developers to take them over.
ScatterTorrent[^]
Best Wishes,
-David Delaune
|
|
|
|
|
Thanks!
Randor wrote: Here is another old project I wrote about a decade ago.
Downloading (project not torrent :P)
Randor wrote: I've got dozens of projects like this that I have never shown anyone. I've recently been considering uploading all of them onto Github and allowing other developers to take them over.
That's a great idea and it would be an awesome share.
|
|
|
|
|
Sandeep Mewara wrote: Downloading (project not torrent :P) Those words are exactly why I declined the offer. After consulting with some other professionals we decided that there is a stigma with anything relating to the words 'bittorrent' and 'torrent' and that it could potentially harm my career options.
Best Wishes,
-David Delaune
|
|
|
|
|
Randor wrote: it could potentially harm my career options.
I wouldn't want to work anyway with people who can't figure out the difference between one's understanding of the implementation of the technology, vs the politics that may surround it.
I don't look at Smith & Wesson employees in the same way I do bank robbers.
|
|
|
|
|
Yeah,
I completely understand. It's not that simple though, executives and people that work in HR are not always as knowledgeable about technical subjects.
I've written a toy operating system too, wanna try it? It can be installed on bare metal (x86 or x86-64) and has full networking support for about a dozen or so chips. I've got some interesting tools in there for working with raw PHY.
Best wishes,
-David Delaune
|
|
|
|
|
We're developers. We don't care about executables. We want to see the code.
Jeremy Falcon
|
|
|
|
|
Yeah,
Jeremy Falcon wrote: We want to see the code. As I am getting older my health is declining and I have been considering sharing all of the projects I've written over the years that were never released publically.
|
|
|
|
|
I was at a French website, and I was given a stupid captcha. I always pick the audio version as it is a lot easier than picking out which tiles contain a bus or whatever. I was expecting having to do the captcha in French, but it gave it to me in English.
|
|
|
|
|
Possibly by geo location api and/or IP Address location.
I'm guessing here.
|
|
|
|
|
That can't be it since the example that motivated me to ask the question is that I was in a non-English-speaking country and not using a VPN.
|
|
|
|
|
Read RFC 2616[^] in Section 14 Header Field Definitions[^] navigate down to 14.4 Accept-Language
Or you can just ask a CGI script to print all the environment variables:
CGI Programming 101: Chapter 3: CGI Environment Variables[^]
Various browser implementations of Javascript might also provide interfaces to get the language:
navigator.Language
navigator.systemLanguage
navigator.userLanguage
navigator.browserLanguage
20+ years ago I use to play around with the PHP language on Apache, and I've always liked the phpInfo page that was installed by default. I've used it for years to view my browser environment:
PHPInfo()[^]
Best Wishes,
-David Delaune
|
|
|
|
|
That's a good one. Here's mine dumped from console:
Navigator
appCodeName: "Mozilla"
appName: "Netscape"
appVersion: "5.0 (X11)"
buildID: "20181001000000"
clipboard: Clipboard { }
cookieEnabled: true
credentials: CredentialsContainer { }
doNotTrack: "unspecified"
geolocation: Geolocation { }
hardwareConcurrency: 12
language: "en-US"
languages: Array [ "en-US", "en" ]
maxTouchPoints: 0
mediaCapabilities: MediaCapabilities { }
mediaDevices: MediaDevices { ondevicechange: null }
mimeTypes: MimeTypeArray { length: 0 }
onLine: true
oscpu: "Linux x86_64"
permissions: Permissions { }
platform: "Linux x86_64"
plugins: PluginArray { length: 0 }
product: "Gecko"
productSub: "20100101"
serviceWorker: ServiceWorkerContainer { controller: null, ready: Promise { "pending" }, oncontrollerchange: null, … }
storage: StorageManager { }
userAgent: "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0"
vendor: ""
vendorSub: ""
webdriver: false
<prototype>: NavigatorPrototype { vibrate: vibrate(), javaEnabled: javaEnabled(), getGamepads: getGamepads(), … }
|
|
|
|
|
Hmmm,
What browser are you on? Firefox? I didn't know about the languages: Array and don't see it mentioned in BP47[^]. I see it marked as experimental in the Mozilla docs.
|
|
|
|
|
Randor wrote: What browser are you on? Firefox?
FireFox was the first, but here is Google Chrome and it's there also...
Navigator {vendorSub: "", productSub: "20030107", vendor: "Google Inc.", maxTouchPoints: 0, hardwareConcurrency: 12, …}
appCodeName: "Mozilla"
appName: "Netscape"
appVersion: "5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
clipboard: Clipboard {}
connection: NetworkInformation {onchange: null, effectiveType: "4g", rtt: 50, downlink: 1.7, saveData: false}
cookieEnabled: true
credentials: CredentialsContainer {}
deviceMemory: 8
doNotTrack: null
geolocation: Geolocation {}
hardwareConcurrency: 12
keyboard: Keyboard {}
language: "en-US"
languages: (2) ["en-US", "en"]locks: LockManager {}
maxTouchPoints: 0
mediaCapabilities: MediaCapabilities {}
mediaDevices: MediaDevices {ondevicechange: null}
mediaSession: MediaSession {metadata: null, playbackState: "none"}
mimeTypes: MimeTypeArray {0: MimeType, 1: MimeType, 2: MimeType, 3: MimeType, 4: MimeType, 5: MimeType, application/futuresplash: MimeType, application/pdf: MimeType, application/x-google-chrome-pdf: MimeType, application/x-nacl: MimeType, application/x-pnacl: MimeType, …}
onLine: true
permissions: Permissions {}
platform: "Linux x86_64"
plugins: PluginArray {0: Plugin, 1: Plugin, 2: Plugin, 3: Plugin, Chrome PDF Plugin: Plugin, Chrome PDF Viewer: Plugin, Native Client: Plugin, Shockwave Flash: Plugin, length: 4}
presentation: Presentation {receiver: null, defaultRequest: null}
product: "Gecko"
productSub: "20030107"
serviceWorker: ServiceWorkerContainer {controller: null, ready: Promise, oncontrollerchange: null, onmessage: null, onmessageerror: null}
storage: StorageManager {}
usb: USB {onconnect: null, ondisconnect: null}
userActivation: UserActivation {hasBeenActive: true, isActive: true}
userAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36"
vendor: "Google Inc."
vendorSub: ""
wakeLock: WakeLock {}
webkitPersistentStorage: DeprecatedStorageQuota {}
webkitTemporaryStorage: DeprecatedStorageQuota {}
xr: XRSystem {ondevicechange: null}
__proto__: Navigator
|
|
|
|
|
Looks like MS Edge has it too:
[object Navigator]: {activeVRDisplays: Array, appCodeName: "Mozilla", appName: "Netscape", appVersion: "5.0 (Windows NT 10.0; Win64; x64; ServiceUI 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763", cookieEnabled: true...}
activeVRDisplays: Array
appCodeName: "Mozilla"
appName: "Netscape"
appVersion: "5.0 (Windows NT 10.0; Win64; x64; ServiceUI 14) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763"
cookieEnabled: true
credentials: CredentialsContainer
doNotTrack: null
gamepadInputEmulation: "keyboard"
geolocation: Geolocation
hardwareConcurrency: 2
language: "en-US"
languages: Array
0: "en-US"
maxTouchPoints: 0
mediaDevices: MediaDevices
mimeTypes: Array
msManipulationViewsEnabled: true
onLine: true
platform: "Win32"
plugins: Array
product: "Gecko"
productSub: "20030107"
|
|
|
|
|
Yeah,
I looked at it on the browser compat list: navigatorLanguage.languages - DOM - W3cubDocs[^]. I don't do any javascript but I try to keep up with everything.
It's getting harder to keep up with all the latest technologies... everything is moving so fast.
|
|
|
|
|
Randor wrote: It's getting harder to keep up with all the latest technologies... everything is moving so fast.
Yeah, it has been crazy for a while now.
I guess when Chrome* wins it will all be easier.
*Not looking forward to it. I am a FireFoxer.
|
|
|
|
|
Heh,
I wrote my own web browser about 10 years ago. it's not a fork of Chrome and not a Fork of Firefox (or any other browser), but I did use Webkit.
You wanna see it?
|
|
|
|
|
Randor wrote: You wanna see it?
Yes, is it in GitHub, possibly?
|
|
|
|
|
raddevus wrote: Yes, is it in GitHub, possibly? No, I am developing mostly from an air-gapped workstation these days. I've only put a few simple trash projects on Github, none of my large projects.
I've uploaded it to OneDrive:
SandCastle[^]
You might need to install one of the Visual Studio C++ runtimes[^]. I probably didn't static link this build.
Keep in mind that I wrote this sometime around 2009-2010 so it is missing a decade worth of security patches for zlib, openssl, libicu, jpeg and CoreFoundation. Some of the security features were actually at the bleeding edge back then... I was using mandatory low integrity levels and Job Objects[^] before Google did this in the Chrome browser.
There are some missing components, this browser was paired with a sandboxing device driver that redirected anything the browser wrote to disk into another virtual disk.
Here is some food for thought: If you use the browser long enough it will eventually crash. The crash is occuring in CoreFoundation within CFString in the same bug/location that was used world-wide for compromising phones via SMS text messages.
Don't use this for anything important. Oh, and after you get done using it, you can delete the folder it creates at %userprofile%\AppData\LocalLow
Best Wishes,
-David Delaune
|
|
|
|
|
May I download a copy too?
Not going to use it, just curiosity to see how it looks like.
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: May I download a copy too? Sure, I don't care. I did check to see if it rendered codeproject.com properly. Keep in mind it's missing a decade worth of HTML5 development, not everything will render properly.
Nelek wrote: Not going to use it, just curiosity to see how it looks like. I think the other program I posted above has fully custom drawn windows, the web browser isn't really that pretty, it was mostly a netsec complementary tool on a much larger project.
I am actually surprised these even work on Windows 10, these programs were developed on Windows 7 using Visual Studio 2008. Although it does look like I recompiled them again with Visual Studio 2013 at a later date.
Best Wishes,
-David Delaune
|
|
|
|
|