Fork me on GitHub
#off-topic
<
2023-08-09
>
souenzzo11:08:30

TIL: JsonML is a thing. JsonML is basically "hiccup using JSON structures" JsonML first commits are from 2006. hiccup first release was in 2011. There is no mention on JsonML in hiccup or reagent repositories. http://www.jsonml.org/ JsonML is alive and in use by recent browsers API's https://firefox-source-docs.mozilla.org/devtools-user/custom_formatters/index.html#html-template-format

6
souenzzo22:08:46

react dates from 2013 🤯

phill22:08:23

Here is a page https://en.wikipedia.org/wiki/Canonical_S-expressions#cite_note-1 that cites a 1997 book. JsonML may have been just one of many re-discoveries that HTML is data.

souenzzo22:08:22

my question is: why the JS community do not use it? why they use JSX?

Daniel Tan03:08:40

jsx is much less verbose and has better syntax highlightling…

didibus06:08:52

Cool, had never heard of it. I doubt hiccup is inspired by it though

emilaasa11:08:18

I'm looking at buying a windows laptop as an accessory development machine primarily to test out software in a windows environment, but also iterating on build systems, like updating GraalVM / Java versions and the various hair pulling that comes with that. Any recommendations on what a decent windows laptop is nowadays? I'm currently a happy Linux desktop user, with the occasional Macbook Air M1 laptop usage, which I also like.

p-himik12:08:19

I found HP ones to be quite good. The thing that made me buy one was the fact that they have full disassembly videos on the YT channel. (Don't get their printers though, even if for free.)

borkdude12:08:15

For Windows testing I have a separate PC. My primary dev environment is still mac M1. You can also run Windows virtual machines on linux or mac.

borkdude12:08:56

You can also rent Windows PCs in the cloud if you only need to use it for a few hours

borkdude12:08:06

I believe Alex Miller has been doing something like this

practicalli-johnny12:08:53

Lenovo ThinkPad range of laptops would make a good Windows and Linux machine. Good support for both operating systems. Very good hardware which is very long lasting. Highly serviceable machines in the rare event something goes wrong

👍 8
timo12:08:23

frame.work

👍 2
emilaasa13:08:13

@U04V15CAJ Yeah, I want to specifically test UI interactions and responsiveness and share it with another local developer so I think a real machine might be simple.

emilaasa13:08:42

Lol @U2FRKM4TW - HP printing business seems to have an almost Oracle like bad reputation 🙂 But I'll check out their laptops!

p-himik14:08:27

Yeah, their printing shenanigans are despicable.

souenzzo14:08:12

my first option would be frame.work nowdays but lenovo thinkpad, mostly series T and X, are good too

gnl14:08:38

I'd recommend taking a look at https://www.notebookcheck.com/Servicezufriedenheit-bei-Laptops-und-Smartphones-2022-Diese-Hersteller-ueberzeugen-oder-versagen-im-Reparaturfall.637303.0.html. Schenker/XMG seems to be killing it. Other than that, as others have already pointed out, probably can't go wrong with Framework. For a low-latency cloud solution, check out https://shadow.tech/.

gnl15:08:20

If you decide to go down the cloud road, you should probably also take a look at https://parsec.app/ for low-latency streaming.

seancorfield16:08:09

I bought a Microsoft Laptop 3 several years ago and I love that. Huge trackpad, decent keyboard, lightweight, good battery life -- and it was a pretty decent price too (they often have discounts on certain colors). And a Microsoft laptop is less likely to have incompatibilities with Windows updates etc (I run canary channel Insiders build on it).

seancorfield16:08:35

(and I use WSL2 and Ubuntu for all my development work on -- but I also have the dot-net stuff installed for ClojureCLR testing)

didibus06:08:38

I'm happy with Dell XPS, and love the OLED screens

👍 2
onbreath10:08:03

I've installed windows on external SSDs in the past, to have a dual boot setup without any impact on my main setup. It's a little involved to setup but works nicely when done.

Benjamin17:08:06

Explain what is a driver and what is an engine?

phronmophobic17:08:33

A driver is a golf club for hitting long range from the tee. An engine is a generic word for "machine", but sounds less greasy and messy (eg. search engine).

2
Martynas Maciulevičius17:08:46

Driver is something (usually somebody) between a steering wheel and a seat. Engine is usually something between gas pipe and fume pipe. Edit: An important detail is that they could be processing other inputs to those that I mentioned and they can have other outputs to those that I mentioned (namely wheel and pipe).

hiredman17:08:53

Driver is often short for "Device Driver"

Benjamin18:08:13

I start calling pieces of my programs -engine. It just instantly makes it cool and cybernetic

Martynas Maciulevičius18:08:30

> I start calling pieces of my programs -engine. It just instantly makes it cool and cybernetic Ah. Now I get it. I think the definition you want is this: "Engine is something that's located in and produced by a Factory". This is the 100% best definition for you. Edit: https://projects.haykranen.nl/java/

😂 2
hiredman18:08:05

try -governor

kappa 2
mauricio.szabo18:08:47

I though you meant literally, like "The engine is the part that makes the automobile/bus/vehicle move" and "The driver is the one that sits on its chair and, with a combination of pedal and hand movements, make the thing move the way he wants to" 😄

mauricio.szabo18:08:04

I mean, this is the off-topic channel after all 😄

Cora (she/her)21:08:58

ooh, let me try! a driver is an actor that engages a process and/or configuration of materials (physical or virtual) to produce "useful" output. an engine is a process and/or configuration of materials (physical or virtual) by which inputs are transformed into "useful" outputs.

👍 2
Cora (she/her)21:08:24

which is all to say, they're things and stuff I guess

😆 2
phill22:08:04

Engines and drivers, in software, are both tools intended to be used by other software. A driver is low-level software that's intended as an interface to something that's outside the application domain... a printer driver, a disk driver, a display driver; on the other hand, an engine is higher-level, and significant in the application domain, http://e.ga search engine or game engine. Completely the opposite of the real world, where drivers drive engines.

👍 4
emilaasa20:08:36

https://www.etymonline.com/word/engine#etymonline_v_8676 > Middle English also had ingeny (n.) "gadget, apparatus, device," directly from Latin ingenium.

emilaasa20:08:24

I must create a java project with Gadget and/or Apparatus as the questionably useful suffix for my stuff and things.

phill22:08:47

(UsefulEngineApparatusGadgetFactoryApparatus. 42)