HN user

fayten

256 karma
Posts3
Comments87
View on HN
Racket v9.2 2 months ago

I have spent a lot of time in the PL space and I just cannot wrap my head around the love of Racket. I absolutely love the innovation that comes out of the community though! The gradual types system work, nanopass, embeddable DSLs are all fabulous so I like to keep tabs on what they are cooking up.

I recently picked up Essentials of Compilation by Jeremy Siek, perhaps his book and lectures will make something click for me.

In the meantime Julia has been my happy medium for a “lisp”.

This depends on how you define ROI. Car infrastructure and lack of density reduces tax revenue for cities and strains infrastructure.

There are other human benefits to reducing car traffic and use in favor of public transportation: * Reduces air pollution * Noise pollution * Allows a focus on human centric urban planning * Allows for higher density commercial and residential increasing tax revenue * Reduces pedestrian traffic injury

Well done video essays:

Parking minimums https://youtu.be/OUNXFHpUhu8?si=xAxUHCA0xmxCIZWg

Noise pollution https://youtu.be/CTV-wwszGw8?si=Eov6X3Z3I1T0l_bd

Infrastructure strain https://youtu.be/7Nw6qyyrTeI?si=KrVJ3tDaODHNGBwm

More on Infrastructure and Sprawl https://youtu.be/SfsCniN7Nsc?si=0ulEtryX4K6Ysy-N

Articles:

https://climate.mit.edu/explainers/public-transportation#:~:...

https://www.researchgate.net/publication/379358672_Vehicle_n...

https://www.britannica.com/topic/urban-sprawl/Costs-of-urban...

Climate town videos are all well researched and provide an enormous amount of follow-up content from their sources.

Generally, I care about all of the above and I perceive investments in public transportation to have a higher ROI.

Some extra historical context is helpful too: https://youtu.be/oOttvpjJvAo?si=ZGXF81qJnD_Fgw0L

The book The Color of Law by Rothstein is worth a read.

In the end there is a balance between public transportation and car dependency and right now the scales are leaning too much in favor of cars.

Unless you are actively managing your own herd or actively hunting I don’t see how you are connecting to nature at the grocery store.

People don’t care as long as it tastes good. The current methods we have for farming meat do not scale and we need to work on alternatives. Meat is tasty and people want to eat it.

Innovation will continue in the lab grown meat sector and when it eventually scales it will over take traditional methods. Current factory farming is anything but natural and there is plenty of harm being done.

I always love seeing more done in the web component space. I think Lit has the no build process captured pretty well and they include things such as a router.

I do prefer the style of of your components more, where you separate out the script and styles with html tags. I don't know if one way or the other is superior for performance, I but just like the separation verse the templated strings in Lit.

With build tools being so straightforward now-a-days, I struggle to see the value in the build less approach. One use case I can think of is maybe a constrained environment where the application contains some kind of customizable user components fully in the browser like a reporting WYSIWIG of some kind.

Is there a particular reason you prefer this approach?

I'm curious what you prefer instead?

I find that tools like Mermaid are pretty invaluable, especially when editing very large processes. Draw.io diagrams tend to get pretty unwieldy as they scale and editing inter process stuff if you forgot something quite frustrating.

Sequence diagrams are possibly my favorite feature in Mermaid: https://jessems.com/posts/2023-07-22-the-unreasonable-effect...

Admittedly I primarily use D2 nowadays. The only features I miss in D2 from mermaid are the GitHub automatic rendering and Sequence diagram numbers. https://play.d2lang.com

I have seen this thrown around a lot, but I do not think it is true anymore.

V lang had a rough launch from what I can tell, with the author overselling and mistakenly underestimating the amount of work needed to fulfill their vision.

V still has a ways to go, but it is in constant heavy development with lots of contributors. It also has a wide gambit of interesting hobby projects using it.

I'd recommend taking a look at the the examples here:https://github.com/vlang/v/tree/master/examples

I think the language has a lot of potential.

If it allows for alternative design patterns that are simpler then I think it's a win in the end. For example pattern matching is great when writer parsers as an alternative to going the visitor pattern route.

Pattern matching has finally made it out of ML land and getting increasingly implemented in mainstream languages. I'm not sure if Rust is the main driver here, but I'm glad to see it.

Apache Superset 2 years ago

I also found Superset unintuitive to use and setup as well. I settled on standing up Metabase because it was so simple to get started with trying it since it can be launched as a single jar. The business users loved it and so did I and administration with a Postgres backend instead of the internal h2 database was a breeze.

I started evaluating Defold this past weekend and I have been very impressed.

The developer experience is very similar to Godot, especially if you work on your scripts with external editors. Everything that has to do with building and running the app is faster than Godot though.

Initial builds with Defold are very fast, it has on demand hotreload, and very small binary sizes. The small binary size makes it well suited for working on web games.

The Godot Editor is still a tad bit nicer to use, but I do like the fact that the Defold editor is written in Clojure. I imagine it makes extending it fairly quick.

The main reason I see myself sticking with Defold over Godot is because scripting is done in Lua.

The Lua ecosystem has a lot history in the game dev space making it easy to search for answers. Lua is trivial to extend and has multiple statically typed options that compile to it. Notable statically typed languages are Typescript and Haxe. Also Lua has a lot practical use in many domains outside of the Defold editor unlike GDScripts lock-in to Godot.

Defold has no where near the size of the community of Godot, but the developers seem very active on the forum and GitHub.

I need to play around with it more before I’m 100% sold. Both Godot and Defold are great looking choices for 2D.

I don't really think anyone is copying anyone here. This is a popular feature for browsers that has been around for over a decade.

Orion[1] is another recent MacOS browser that released before Arc in 2021 and has vertical tabs. Edge had vertical tabs as an experiment back in 2020[2] and is full feature now. Vivaldi has had vertical tabs since 2015[3]. It might not count since it's not built in, but Firefox has had vertical tab extensions since 2007[4].

[1]https://browser.kagi.com/

[2] https://www.howtogeek.com/697986/how-to-enable-and-use-verti...

[3]https://www.maketecheasier.com/vertical-tabs-browsers/

[4]https://github.com/piroor/treestyletab/graphs/contributors

How to quit cars 3 years ago

I guess it depends on how much bulk you are buying at once, but most bikes are compatible with a basket of some kind. A bike trailer could also be an option.

In the Netherlands you'll see Bakfiets/cargo bikes. https://www.bakfiets.com/

You may be confusing MiniLED and MicroLED. MiniLED still uses an LCD with multiple backlights and local dimming algorithms to improve contrast. MiniLED is pretty impressive and the quality of it is generally 1-to-1 with the number of backlights/dimming-zones.

MicroLED is more akin to OLED where each pixel is self emitting. MicroLED is almost the holy grail of displays and will more than likely obsolete MiniLED.

Haxe 4.3 3 years ago

I really love Haxe. A truly multi-paradigm language with good support for GADTs, OOP, structural and nominal types, lambdas, and a lot of practical sugar on top. The macro system and abstract types add enormous flexibility that I miss when going back to C# or Java.

The language is a bit verbose, but I prefer it and generally add type annotations instead of using type inference (unless I’m dealing with a super gnarly generic type).

The language shines in the graphics space since some of the Flash community gravitated to Haxe. I’ve found that it works great as a client/server language similar to a typescript frontend/backend stack. The benefit with Haxe is that the backend isn’t limited to Node, it can run on JVM, bare metal with C++, Openresty with Lua, and anywhere Python runs. It’s pretty easy to implement F# style type providers with the macro system as well.

There is also a C# target, however, there are talks of deprecating. Hopefully we will see a revival with Reflaxe, another way to make new targets, or maybe even a CLR target. https://github.com/RobertBorghese/reflaxe

Lastly, I’m very excited about Ammer the universal FFI for Haxe by Aurel. https://aurel300.github.io/ammer/ My hope is that the community will rally around Ammer and bring in a lot of native libraries to all targets.

You can make some pretty robust stuff with Scratch.

User griffpatch has made a lot of advanced stuff here: https://scratch.mit.edu/users/griffpatch/

He has a youtube series too about building a 2D RPG in Scratch along with a built in tile editor: https://www.youtube.com/watch?v=5lof-Nu1VVE&list=PLy4zsTUHwG...

There is also a faster interpreter called TurboWarp that runs significantly faster than the official Scratch implementation: https://turbowarp.org/

Here is an example of the old 2d space shooter Tyrian running in turbowarp: https://turbowarp.org/151417355

After having the Steamdeck, I switched to OpenSUSE tumbleweed with KDE along with my brother at the start of February. We are both moved our gaming machines over from Windows and it has been a great experience, even running the latest triple A titles.

Yast gives a very nice GUI approach to a lot of configuration OpenSUSE. It really feels like the missing Windows Control Panel of Linux.

He is running Intel/Nvidia the only issue we had was some kind of missing grub command when attempting to boot the liveusb. Nvidia even offers opensuse an official repo for their proprietary drivers!

I am running AMD/AMD and the experience was pretty plug and play. The only issue I have is an odd one, my 7900xt randomly gets its memory clock stuck at the lowest power mode. This puts its memory clocks around 200mhz after a period of idling, which makes the system feel unusable. Even launching a game doesn’t switch it out of this power state so they either crash or run at very low frame rates. Changing the refresh rate of my display to any value appears to fix it so I just cycle between options. I’m sure there is some kind of config option I’m missing somewhere. Other than that slight nuisance I can pretty much play anything thanks to Valve and Proton.

The new Big picture mode is also incredible and I find myself moving my desktop over to the TV more and more.

This is correct, these pricing changes are only regarding enterprise licenses for Oracles specific build of Java. Builds of openjdk are free to use and the Eclipse foundation provides builds here: https://adoptium.net/ Many other companies provide OpenJdK builds for free alongside offering a paid JDK.

An example is Azul, they release a free build of Openjdk named Zulu, but also sell a custom JDK that includes a custom high performance GC.

People do not need to be productive 100% of the time. Let people have fun without shaming them. Just think of how far science and technology has come in the last decade.

Some neat info on the performance side of things, Fleet is using Skija[1] and Compose[2] as a rendering engine and UI framework. Skija is a java wrapper for Skia and still does not support the full API. Compose is still relatively new and has not had nearly the amount of man hours devoted to it as Swing. This is just a technical preview, I'm sure there will be plenty of optimizations to come. I think it's pretty exciting to see Skija being used for a mainstream project!

[1] https://github.com/HumbleUI/Skija

[2] https://github.com/JetBrains/compose-jb