Cool: [WayBack] Insentricity :: Kermit on the JAIR 8080 ::
Repository: [WayBack] FozzTexx/Kermit-CPM: Columbia University’s Kermit for CP/M
–jeroen
Posted by jpluimers on 2019/05/22
Cool: [WayBack] Insentricity :: Kermit on the JAIR 8080 ::
Repository: [WayBack] FozzTexx/Kermit-CPM: Columbia University’s Kermit for CP/M
–jeroen
Posted in Assembly Language, Development, History, Software Development | Leave a Comment »
Posted by jpluimers on 2019/05/22
Thanks Ondrej Kelle for answering this:
uses
System.SysUtils,
Web.HTTPApp,
Soap.WebBrokerSOAP;
function TTest.CallMe: string;
var
WebDispatcher: IWebDispatcherAccess;
begin
Result := '';
if Supports(GetSOAPWebModule, IWebDispatcherAccess, WebDispatcher) then
Result := Format('You are calling me from: %s', [WebDispatcher.Request.RemoteIP]);
end;
Source: [WayBack] web services – Accessing the original TWebRequest object in a Delphi SOAP Server – Stack Overflow
–jeroen
Posted in Conference Topics, Conferences, Delphi, Development, Event, Software Development | Leave a Comment »
Posted by jpluimers on 2019/05/21
Context is king!
Being Dutch, my association with iota was the phrase “Ik snap er geen iota van” (English: “It’s all Greek to me”), basically indicating iota is extremely small, similar to [WayBack] Iota | Definition of Iota by Merriam-Webster:
2: the 9th letter of the Greek alphabet — see alphabet table
But the first time, I saw iota used in golang, I actually confused it with [WayBack] itoa – C++ Reference, because I am more than slightly wordblind.
So code like this was all Greek to me at first, not understanding the conversion from integer to ASCII**, and slightly later, not understanding iota to be extremely small either. Heck, its usage indicates it is small from infinitesimal:
const ( _ = iota // ignore first value by assigning to blank identifier KB ByteSize = 1 << (10 * iota) MB GB TB PB EB ZB YB )
So it took me a bit of thought to realise that it actually had to mean something completely different, so I found
iota count [start step] -> listReturns a list containing the elementsIt makes me wonder why they named it like this.
Slightly related:
Q
In the C language where did they come up with the name atoi for converting a string to an integer? The only thing I can think of is Array To Integer for an acronym but that doesn’t really make sense.
A
It means Ascii to Integer. Likewise, you can have
atolfor Ascii to Long,atoffor Ascii to Float, etc.A Google search for ‘atoi “ascii to integer”‘ confirms this on several pages.
I’m having trouble finding any official source on it… but in this listing of man pages from Third Edition Unix (1973) collected by Dennis Ritchie himself, it does contain the line:
atoi(III): convert ASCII to integerIn fact, even the first edition Unix (ca 1971) man pages list
atoias meaning Ascii to Integer.So even if there isn’t any documentation more official than man pages indicating that
atoimeans Ascii to Integer (I suspect there is and I just haven’t been able to locate it), it’s been Ascii to Integer by convention at least since 1971.
atoi -- ascii to integer–jeroen
Posted in C++, Development, Go (golang), Software Development | Leave a Comment »
Posted by jpluimers on 2019/05/21
Since many HTTP stacks do not have fields for this so it’s hard to get the originating IP address:
It is about these HTTP header fields with and without X- prefix:
ForwardedX-Forwarded-ForX-Forwarded-ByX-Forwarded-ProtoNote that widely used tools like HAProxy do not always fully adhere to the “standard”…
Via:
–jeroen
Posted in Communications Development, Development, HTTP, Internet protocol suite, Software Development, TCP | Leave a Comment »
Posted by jpluimers on 2019/05/21
Interesting thread that shows Delphi XE8 introduced a dependency directive: [WayBack] Just curious, in which version was the dependency directive introduced? As in procedure X; external ‘somelib’ dependecy ‘otherlib’; S… – Johan Bontes – Google+
It’s documented as of XE8: [WayBack] Procedures and Functions (Delphi) – RAD Studio: Specifying Dependencies of the Library
The earliest use I could find is in XE4 source C:\Program Files (x86)\Embarcadero\RAD Studio\11.0\source\IBX\IBIntf.pas
–jeroen
Posted in Delphi, Development, Software Development | Leave a Comment »
Posted by jpluimers on 2019/05/20
Want: mug of [WayBack] Weird Meme on me.me:
I Before E
Except When Your Feisty Foreign Neighbor Keith Leisurely Receives Eight Counterfeit Beige Sleighs From Caffeinated Atheist Weightlifters
Weird
Via:
See also I before E except after C – Wikipedia
Mug: [WayBack] Amazon.com: Kaimebien I Before E Weird Grammar Teacher 11 Ounces Coffee Mug: Kitchen & Dining
–jeroen
Posted in Fun, Quotes | Leave a Comment »
Posted by jpluimers on 2019/05/20
Cool hardware: [WayBack] click-click-click-click-click-CHUNK… – Joe C. Hecht – Google+
Sources:
–jeroen
Posted in Development, Hardware Development, History | Leave a Comment »
Posted by jpluimers on 2019/05/20
Handy interactive map of the periodic system: [WayBack] elements.wlonk.com
via: [WayBack] Interactive Periodic Table.Wonderful. Identify the typical uses for each element as you scroll over it.http://elements.wlonk.com/ElementsTable.htm – Lars Fosdal – Google+
Posted in LifeHacker, Power User, science | Leave a Comment »
Posted by jpluimers on 2019/05/20
- go to control panel | display
- change the screen resolution. the artifact will go away
- click on cancel when windows asks you if you want to keep the new resolution.
this works on laptops too.
[WayBack] User mahesh – Super User answering [WayBack] How to clear screen artifacts without rebooting Windows (multiple versions) – Super User
–jeroen
Posted in Power User, Windows, Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Vista, Windows XP | Leave a Comment »
Posted by jpluimers on 2019/05/17
Booting the VM gave this in the log:
# btrfs balance /
WARNING:
Full balance without filters requested. This operation is very
intense and takes potentially very long. It is recommended to
use the balance filters to narrow down the scope of balance.
Use 'btrfs balance start --full-balance' option to skip this
warning. The operation will start in 10 seconds.
Use Ctrl-C to stop it.
10 9 8 7 6 5 4 3 2 1
Starting balance without any filters.
ERROR: error during balancing '/': Input/output error
There may be more info in syslog - try dmesg | tail
diaspore:~# dmesg | tail
[ 2261.857360] BTRFS info (device sda2): found 144 extents
[ 2261.922014] BTRFS info (device sda2): found 144 extents
[ 2262.003653] BTRFS info (device sda2): found 144 extents
[ 2262.146557] BTRFS info (device sda2): found 144 extents
[ 2262.268034] BTRFS info (device sda2): relocating block group 20951597056 flags data
[ 2268.255631] BTRFS info (device sda2): found 19765 extents
[ 2278.541549] BTRFS info (device sda2): found 19758 extents
[ 2278.685372] BTRFS info (device sda2): relocating block group 14558429184 flags data
[ 2278.714483] BTRFS warning (device sda2): csum failed root -9 ino 269 off 65150976 csum 0x27374190 expected csum 0x7091fbbc mirror 1
[ 2278.714619] BTRFS warning (device sda2): csum failed root -9 ino 269 off 65150976 csum 0x27374190 expected csum 0x7091fbbc mirror 1
Booting from a rescue DVD, then checking with an unmounted /dev/sda2 nothing is wrong:
localhost:~ # btrfs check /dev/sda2 Checking filesystem on /dev/sda2 UUID: 23d33d0f-0468-4408-b73c-b0eec9387d82 checking extents checking free space cache checking fs roots checking csums checking root refs checking quota groups found 6460166144 bytes used, no error found total csum bytes: 5795704 total tree bytes: 214171648 total fs tree bytes: 193740800 total extent tree bytes: 12910592 btree space waste bytes: 40754145 file data blocks allocated: 35720101888 referenced 11352182784
Both had the same version:
# btrfs version btrfs-progs v4.13
If I ever need recovery, then these links likely help:
–jeroen
Posted in *nix, *nix-tools, btrfs, File-Systems, Power User | Leave a Comment »