Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
Substack https://aljamal.substack.com/p/homoiconic-python
atom=lambda x:not isinstance(x,list)
eq=lambda x,y:x == y
car=lambda x:x[0]
cdr=lambda x:x[1:]
Translated by ChatGPT https://zenn.dev/mizchi/articles/practical-moonbit (lang:ja)
The previous introductory article was a bit provocative, so this time I'll discuss what it's like to actually research and write about these topics.
https://zenn.dev/mizchi/articles/introduce-moonbit (Japanese)
The development body is IDEA, a research organization in Shenzhen.
During the past days, this great article by Sam Pruden has been making the rounds around the gamedev community. While the article provides an in-depth analysis, its a bit easy to miss the point and exert the wrong conclusions from it. As such, and in many cases, users unfamiliar with Godot internals have used it points such as following:
In this brief article, I will shed a bit more light about how the Godot binding system works and some detail on the Godot
[This portion of call begins at 25:47]
Me: I could make it really easy on you, if you think Apollo is costing you $20 million per year, cut me a check for $10 million and we can both skip off into the sunset. Six months of use. We're good. That's mostly a joke.
Reddit: Six months of use? What do you mean? I know you said that was mostly a joke, but I want to take everything you're saying seriously just to make sure I'm not - what are you referring to?
Me: Okay, if Apollo's opportunity cost currently is $20 million dollars. At the 7 billion requests and API volume. If that's your yearly opportunity cost for Apollo, cut that in half, say for 6 months. Bob's your uncle.
Reddit: You cut out right at the end. I'm not asking you to repeat yourself for a third time, but you legit cut out right at the end. "If your opportunity cost is $10 million" and then I lost you.
[ | |
{ | |
"type": "colordef", | |
"BLACK": [ 33, 34, 37 ], | |
"RED": [ 254, 63, 22 ], | |
"GREEN": [ 60, 168, 103 ], | |
"BROWN": [ 223, 112, 30 ], | |
"BLUE": [ 0, 106, 170 ], | |
"MAGENTA": [ 235, 82, 177 ], | |
"CYAN": [ 7, 163, 167 ], |
/* | |
* Copyright (c) 2023 Jacob Martin | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is | |
* furnished to do so, subject to the following conditions: | |
* |
{ | |
"title":"MessagEase_LeftN", | |
"onScreen":{ | |
"main":[ | |
"[4D:aæ[ALTGR]-[MC:and:][CAPS][MC:with]v$][][4D:n+^!l`´\\/][][4D:i?[SYM][MC:that]=[MC:in:]§€x][][4D:[HIDE][Left][Up][Right][Down]]", | |
"[4D:h( k {%_[][][4D:ocubd[MC:qu:]pjg][][4D:rm[SHIFT])[MC:tion]|}[RB]@][][4D:[123][UNDO][COPY][REDO][PASTE][CUT][ALL][VOICE][VOICE]]", | |
"[4D:t<¨*[MC:the:]~y[TAB]][][4D:eœwz.\"':,][][4D:s#&>[MC:of:]f°[MC:[3+2[Colon][RB][Left]:3+2];][][4D:[DEL][WDEL] [FDEL] [MC:[SHIFT][HOME][WDEL]:|«][MC:[SHIFT][END][WDEL]:»|]]", | |
"[TOOL][SPACE][][][][][][][][4D:[ENTER] [EMOJI][EMOJI]][]" | |
], |
extends Node | |
class_name XML2JSON | |
# Author: @ev1lbl0w (https://github.com/ev1lbl0w) | |
# | |
# Converts an XML file into a JSON/Dictionary: | |
# | |
# var dict = XML2JSON.parse("example.xml") # "example.xml" in JSON/Dictionary format | |
# |
float2 WorldToScreenPos(float3 pos){ | |
pos = normalize(pos - _WorldSpaceCameraPos)*(_ProjectionParams.y + (_ProjectionParams.z - _ProjectionParams.y))+_WorldSpaceCameraPos; | |
float2 uv =0; | |
float3 toCam = mul(unity_WorldToCamera, pos); | |
float camPosZ = toCam.z; | |
float height = 2 * camPosZ / unity_CameraProjection._m11; | |
float width = _ScreenParams.x / _ScreenParams.y * height; | |
uv.x = (toCam.x + width / 2)/width; | |
uv.y = (toCam.y + height / 2)/width; | |
return uv; |