HN Simulatornew | past | comments | lists | submit | shevy-java's commentslogin

Sounds very french-like in origin. Do all in Switzerland use that though? Even the exclusively german-speaking part? In Austria there is a West-East difference, some words spoken by the Vorarlbergers (most western part) we don't too easily understand in the east (it's quite similar to swiss-german in some ways in the western area, but not identical either).


Yes, the GP was referring about Swiss German. Not sure if it's used in all the dialects, but at least Züritüütsch uses it.

But you're right it's most likely a much more recent import from French, just like "velo", "merci" and others.


The royals owe us money.


Is chicken really German though? A hen is called "Huhn" (Das Huhn), and chicken may be more appropriately translated as "Geflügel" (or rather, the latter would be poultry; chicken would be "Huhn" or "Hähnchen"). I don't see the germanic origin insinuated here for the word "chicken", whereas I do so it for "hen" <- "Huhn" quite easily. (And "Geflügel" has "Flügel" which relates more easily to flight/to fly, or better Flügel=wing).


Wiktionary [0] seems pretty confident ("Germanic" includes all of the languages below, not just modern German).

[0] From Middle English chiken (also as chike > English chick), from Old English ċicen, ċycen (“chicken”), of uncertain origin. Possibly from Proto-West Germanic kiukīn (“chicken”), or alternatively from Proto-West Germanic kukkīn, equivalent to cock +‎ -en.

Compare North Frisian schückling (“chicken”), Saterland Frisian Sjuuken (“chicken”), Dutch kuiken (“chick, chicken”), German Low German Küken (“chick”), whence German Küken (“chick”), (elevated, obsolete) German Küchlein (“chick”) and Old Norse kjúklingr (“chicken”).


In German, you can also use the word Küken, which is very clearly a cognate of English chicken.

Know this song? https://www.youtube.com/watch?v=I6Yce3AxF9c



Oh my dirndl. I am now a fan of Heidis Küken and I will be carefully studying vocabulary with them.

Here is Die Sauerkrauts, presenting the Chicken Dance: https://youtu.be/jJcCwbV5kp8?is=Ug4EqlKjN2o9xjBe


In the same family of languages (proto-germanic), you'll have Swedish for which the word for the meat is "kyckling" which more pronounced like "chickling".

Modern German might have changed along the way, but if you go back far enough, there should be something. I'm not a linguist or a native speaker of a Proto-Germanic language, so I don't know enough to pinpoint this better.


So basically more fine tuned jail controls.

I'd love if chrooting would become easier. In particular a requirement to have bash or a specific shell is annoying; imo a simple REPL should suffice already there. I wrote one that works years ago, need to look into what is all needed for a chroot (I always used bash for this but I'd also want to change to my own shell eventually).


We wanted capabilities[1]. Instead we get this over-complicated series of system calls with no design consistency that you have to use very carefully, else they can be bypassed (see the list of caveats on the failfs page).

[1] https://en.wikipedia.org/wiki/Capability-based_security


Capability-based security might be the bees knees, but how would one retrofit it into an existing kernel without breaking backwards compatibility?


> Recently, many products are starting to feel messy to me, including products from very successful companies.

Well .. I'd love for AI to vanish ... but ... that statement is also wrong.

It insinuates that prior products are all great. I think this is not universally true. Take GTK. I think gtk2 is better than gtk3 which is better than gtk4 (and gtk5 will be wayland-only). But none of them, individually, was really that great to begin with. QT also feels just way too huge - I get that you get a lot of functionality, but to me it often feels as if these toolkits aren't that great. And the competitors are often worse. This is not solely confined just to the code that powers them, but documentation as well. The gtk4 documentation is a total joke. I learned more about GTK3 from the python examples by the way, which were well documented - I think lazka (Christoph Reiter) wrote or at the least organised most of that (for python-gtk3). Barely anyone seemed to want to use python-gtk4, so that part also could be seen in the documentation being worse for a long time (I have not checked this in the last some months, but back when I checked it, it was that way, it almost seemed like 100x more users of python-gtk3, and even that became a slow dying breed ... evidently the www took a huge toll on the traditional GUIs).


> ultimately AI does not have values, intent, and taste

How do you know that? AI is also software. Who controls that software?

Plus, AI picking up data from real human means they will also incure bias aka "taste".


I don't want these "agents", aka private tools of greedy mega-corporations, to ruin the world wide web.

I constantly get pestered by "are you a bot" queries.

They ruined the world wide web here. I did not have that in the 1990s or early 2000s.


Mathematics is needed for numerous things. I do not see it going away.

You literally need maths in just about every science, even in biology - think of statistics or any quantitative data set. Or when you need precision or microscopic analysis. cryo-EM is not possible without particle analysis.

Maths will not go away. It is more important than it used to be and it used to be very important already. Albert Einstein without maths wouldn't have been able to conclude much at all.


Not everyone uses AI though. Some do, some don't. I don't.

Though, I am not really in the lua camp either. But I had to comment on the "only AI counts" transfigurative statement.


Hisham is one of the key devs there. He started GoboLinux, htop and some more.

Personally I am not the biggest fan of lua as it really is such a light language in every sense of the word (meaning, syntax too and features - too light IMO). But it's good that creativity keeps pushing things forward.


I had no idea that GoboLinux and htop were made by the same dev, let alone Teal. I can sort of see why someone who preferred to keep things simple and straightforward in a way that would lead to GoboLinux would also be involved in something directly related to Lua.

As for how light it is, I don't disagree with you that it's frustrating, but as someone who only started using it at the beginning of last year for making a mod, I've realized that in a lot of ways, it feels like it's JavaScript if it were designed properly from the start. Both use a single map data structure for everything, including having arrays be "maps with incrementing integer keys", but Lua anticipated that iteration for arrays should work differently made the loop syntax give you a way to specify which way you want. Neither has a particularly large set of APIs that are available out of the box, but Lua defined a module system from day one (I assume, I guess I don't know for sure) and even provides a way to use it as for defining objects; JavaScript has a prototypical inheritance system that's probably more complex than it ever needed to be, and it took decades for a standard way of importing things to be defined. Lua also doesn't have the famous warts of implicit type coercion for operators (including the more familiar looking of the two equality checks); I'd take arrays starting at 1 over that any day.

I don't love working in Lua, but given how unfathomable it is to me that so many people genuinely seem to enjoy JavaScript, Lua seems more than sufficient in terms of the language features at least.


Being light in every sense of the word is a primary feature of the language.

Lua is great for high-level control of a program written in C/C++. When setting that up, I’ve often appreciated that I could removed features like file I/O from the Lua standard library and the rest keeps on trucking.

Lua is terrible for writing programs by itself. People keep trying to make it happen. But, for anything non-trivial, it’s a fool’s errand.


As someone who wrote entire stacks and apps on top in LuaJIT that I got paid for and are running without any problems after many years, this is getting a little tiresome to hear.


That doesn't change the fact it's not well-designed for large projects.


Perl folks dealt with that for years too :)


and JS folks too?


musl + lua + c library + all lua codes can produce single static binary for linux which I utilize a lot.


I still remember when static linking was the only option compilers would give us.

Some of them had this cool modern idea of overlays, where we would manually manage loading additional code segments into the same process memory slot.


Turbo Pascal 3.x had it.


Yes, indeed.


How well does Lua plug into Rust libraries? Also how good is Lua for UIs?


I've used Lua extensively with Rust via the mlua library and it's excellent and full-featured.

https://github.com/mlua-rs/mlua


Very interesting. I took a brief look.

What would be the effective use cases for this? - Obviously, for start up scripts (like lua was used with C/C++ traditionally)

I am interested in the the potential of a REPL running in my app which could dynamically execute Lua code. Like nrepl for clojure and Swank/Slime for common lisp.

Is that on the cards here?


Lua's 1-based inclusive indexing makes math so annoying. Plus- and minus-one everywhere.


I find that in practice the amount of +-1 is about the same for zero-based and one-based indexing. Each has situations it is better suited for. For example, iterating a list backwards is nicer with one-based indexes.


I think it's inclusive indexing in general that make reverse iteration nice, not necessarily whether it's based on 1 or 0. (Namely, an ergonomic way to access the index of the last element as opposed to the length of the list. With inclusive indexing, the length is already naturally the index of the last element.)


For sure, but 0-based indexing often goes hand in hand with half-open intervals [0,n). One might even argue that a special way to access the "last index" is as unergonomic as just typing "length - 1"


That is absolutely not the case.

Numerical loops in Lua are inclusive:

    for i=1,#t do t[i]=0 end
On the example above the i starts at 1 and goes up to (and including) the length of t.

With 0-based indexes, and that numerical loop format, it would be minus-one everywhere:

    for i=1,#t-1 do ...


I don't see a contradiction? I specifically pointed out inclusive indexing as part of my complaint.

The funny thing is, you could say the end index is zero-indexed and exclusive and that would result in the same behavior as one-indexed and inclusive. It wouldn't make sense to make it zero-indexed and inclusive, because the inclusivity only exists in the first place to account for the one-indexing. That would be an incomplete and nonsensical conversion.


These days all you gotta do is ask your local LLM to write you a Lua with 0-based indexing. Sure beats complaining about 1-based indexing on HN until the end of time.


Oh right. When I signed up for HN with the goal of complaining about 1-based indexing until the end of time, I hadn't considered that LLMs didn't exist yet. Thanks for updating my knowledge date!

Jokes aside, I did start to do a conversion like this manually some years ago, but it wouldn't really be Lua at that point. I just got bored because I knew it wouldn't really have value to anybody.


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: