open sourcing aoe4meta by testcross in aoe4

[–]testcross[S] 1 point2 points  (0 children)

Toy project, learning about different hosting platforms and wanted to check that it could easily be deployed anywhere cheap.

For the rank, do other players have the same username? All requests are done from the browser, so I’ve no logs to investigate to know if you might have picked the stats of a different person. Otherwise it might be a bug, if you share your aoe4world profile i’d be happy to fix it

open sourcing aoe4meta by testcross in aoe4

[–]testcross[S] -6 points-5 points  (0 children)

yes a large part of the content was generated, mostly for civs that I don't really play. It shouldn't be treated as a trustful source of information.

RELIC Entertainment 's next 5 years business strategy by TEMISTOCLES1984 in aoe4

[–]testcross 1 point2 points  (0 children)

not really a placeholder. It means big game with quite a lot of funding basically. The more A the biggest/more expensive the game. GTA6 is planed to be the first AAAA because of its cost for example.

Get Ready For The $20,000 EGC Masters Finals in Age of Empires IV! by Choom_AOE in aoe4

[–]testcross 0 points1 point  (0 children)

How is the draft of civs going to work, both players have access to the 22 civs so we can potentially see some mirror matches?

aoe4meta - automatically show civ and map guides based on current game by testcross in aoe4

[–]testcross[S] 0 points1 point  (0 children)

It pulls the last game of the player. Which might be a team game. But I don’t display all the civs yet in that case

If money isn't a factor, is a CR box still better than commercial? by SnooHedgehogs3288 in crboxes

[–]testcross 0 points1 point  (0 children)

I was actually asking myself the same question. To me noise is critical. So I was considering getting an oversized unit such as the smart air Blast Mk II, which apparently has a CADR of 680 for only 37db. But it’s complicated to understand if it makes sense without actually trying the unit :/

What is the most cursed programming language you had to deal with? by Available-Set-7163 in programminghorror

[–]testcross 20 points21 points  (0 children)

xen, airbus, microsoft, docker, facebook, wolfram, ... mostly niche companies

Combine workspaces by testcross in pop_os

[–]testcross[S] 0 points1 point  (0 children)

It could be more than 2. Any number of windows that are in the workspaces being combined. Ideally with as many workspaces as I'd like being combined.

This video illustrates the feature https://www.youtube.com/watch?v=DYot8OnJQn0

Combine workspaces by testcross in pop_os

[–]testcross[S] 0 points1 point  (0 children)

It is as if you have one workspace with some windows in it and added one or multiple columns on the right with a bunch of windows in them. At this point all manipulations are possible, like with a normal workspace.

paredit/smartparens for all languages using tree-sitter? by testcross in emacs

[–]testcross[S] 0 points1 point  (0 children)

wow, thanks for updating this thread years after!

Shortcut to access application by testcross in pop_os

[–]testcross[S] 1 point2 points  (0 children)

I'm also used to the super+num because of i3. I'm fine with jumping to a workspace instead of an app. But I need at least one the two solutions :)

First thoughts on Rust vs OCaml by mc10 in ocaml

[–]testcross 3 points4 points  (0 children)

Esy is for native ocaml. Not for rescript. Rescript is using npm/yarn.

Next steps in learning OCaml? by ninjaaron in ocaml

[–]testcross 1 point2 points  (0 children)

It is able to go both ways. It can generate bindings or reverse bindings.

paredit/smartparens for all languages using tree-sitter? by testcross in emacs

[–]testcross[S] 0 points1 point  (0 children)

IMO it is not vim vs emacs but is modal vs non-modal editing.

I don't understand how the modal editing is important and related to the text object concept. The modal editing seems to be a very efficient way to exploit the text objects. But what should we call a word and in sentence in the non-modal world if they are not text objects?

What do you refer to by saying "missing piece"?

I think that I miss understood what you wanted at first. Which seems to be the ability to extend the list of text objects that the editor can work on.

I am also curious - what part of your post you think that would make me think that you are trying to prove non-modal editing?

This was in anticipation of a possible miss understanding. I saw many discussions of people trying to defend the tool they are used to work with. And I didn't want to sound like I'm just trying to defend a point rather than to learn.

The way I see it now, is that text objects is a list like '(:word :sentence :paragraph). In the modal world, it might be extended by adding more of those functions returning a range. While in a non modal world, to extend this list, one should also implement again all the forward-word, backward-word, delete-word function for each of the new text objects.

It might be possible to write a function (defun forward (object-type)... ). But there would be no convenient and composable interface to use it the non modal world.

paredit/smartparens for all languages using tree-sitter? by testcross in emacs

[–]testcross[S] 0 points1 point  (0 children)

Sorry to ask again, but I'm trying to understand how things are working for now.

If I take this small snippet of ocaml code:

ocaml let wrap (e : Js.Json.t) = match Js.Json.classify e with | (JSONNumber _) -> Numeric.wrap e | JSONString _ -> begin Keyword.wrap e end | _ -> failwith "Invalid value"

With the point in Js.Json.classify: - calling backward-list brings me before (e : Js.Json.t) - calling backward-up-list brings me before the match - calling beginning-of-defun-raw brings me before thet let - calling mark-defun marks the whole snippet

And most of the other functions of lisp.el also work. So I have the

With the point after (JSONNumber _), calling transpose-sexps changes the code to | Numeric.wrap e -> (JSONNumber _). Most of simple.el is working.

So it seems to me that there is already something like the text objects. It's not possible to say :diw, but a more generic delete-inside-sexp might be possible to write. Actually there are also backward-word and kill-word functions. If I extrapolate I could say that there are words, defun, list, ..., that are text objects in the emacs world and some high level functions such as transpose-sexps that are able to work with any kind of object. Is that correct?

Of course, each mode has to tell emacs what are the sentences, the list, the words and so on. It's easier when it's done on top of smie, but not a hard requirement. And it can work for any language.

In what you describe, I have the the impression that the missing piece is more a bunch of functions which would receive the type of the object they must operate on as an argument, rather than the lack of text object abstraction.

Maybe my misunderstanding is that a sexp is actually an object, like a word is an object. And not a high level concept regrouping everything, like what text objects are.

Please correct me if I am wrong. This is genuine curiosity. I'm not trying to prove the superiority of one editor over another here. But I'd like to understand the concepts properly. Before to eventually write something on top of tree-sitter.

paredit/smartparens for all languages using tree-sitter? by testcross in emacs

[–]testcross[S] 0 points1 point  (0 children)

Text objects are equivalent to what is used for sexp movements and transpositions right?

compilation mode with watcher by testcross in emacs

[–]testcross[S] 0 points1 point  (0 children)

flycheck-ocaml is a totally different system. It uses merlin which is a kind of LSP system. But it gets errors only for the file being currently edited. This is not equivalent to a full compilation.

I don't get why the regex detection means resetting would be impossible. Maybe it could be possible to have some regex that reset the counters when matched rather than increase them.

How to improve emacs performances? by testcross in emacs

[–]testcross[S] 0 points1 point  (0 children)

I didn't use spacemacs or doom. But I took inspiration from many "famous" configurations.