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

He is a hero. Everyone should eliminate Flock spy cameras and similar cameras. They systematically undermine several amendments. All of this government overreach is based on the assumption that people driving cars gave up certain rights automatically, which is simply illogical when no crime has been committed.


https://yaroslav.io/opensource/kino

Where is the documentation?

I am sorry but this is really a problem in the ruby world. Everyone sees how much ruby is struggling right now, yet key problems, such as documentation, are not a focus. Look at rack, ruby-wasm, ruby-opal and many other projects. Too many ruby developers hate documentation. There are a few exceptions (Jeremy Evans projects typically have a strong focus on documentation, for instance), but by and large I don't understand why documentation is always an afterthought of most projects.

If you look at the github page at https://github.com/yaroslav/kino, and search for the keyword "documentation", you get zero results. I would instead have expected at the least a link with extensive documentation, both project-internally, but more importantly, via specific examples, a useful FAQ, and most importantly a kind of extensive "how to use this". Even ruby on rails, by the way, understood that this is important, and they have a tutorial (how useful that is, is another topic, but at the least rails people understand that documentation is important; see here: https://guides.rubyonrails.org/getting_started.html)

Edit:

They have on directory called doc/ here at:

https://github.com/yaroslav/kino/tree/main/doc

But have a look at this:

"Almost all content here is written by agents (Claude Code or Codex)."

When a project is too lazy to write documentation by a human, and instead resorts to AI slop spam, then why should real human use this? I don't get it. Is the ruby world nuts now? All that pointless AI slop spam? A lot of it is unreadable to me, it makes no sense. I am noticing this with Hiroshi Shibata, before he had difficulty with english, now he writes perfect english - aka AI slop. And the generated words STILL MAKE NO REAL SENSE. I read a lot of it and it is gibberish nonsense. It is like babelfish, only slightly improved. Mankind is actively getting dumber now.


People love taking generic engineering problems and somehow spinning them as Ruby specific issues. None of the issues you mentioned have anything to do with Ruby. They’re problems you can run into in any engineering project.


Ruby code is readable. So some of the documentation in say, Java, isn’t as necessary.


Debatable. I always found languages without parentheses inscrutable. To distinguish methods you have to have all method signatures memorized or rely on an advanced IDE with highlighting.


> inscrutable. To distinguish methods you have to have all method signatures memorized or rely on an advanced IDE with highlighting.

I'm confident that you're either an outlier or have simply come across a terribly written or badly formatted Ruby codebase - considering Ruby (and Rails which followed the same principles) was created with the purpose of being highly readable (made for humans [1]).

What is advanced IDE highlighting? Do you mean.. colours? And memorising methods - huh?

I really struggle to see how you can't tell which lines here are methods - https://gist.github.com/davidlares/5d136fa54572ad98e711e3684...

[1] https://news.ycombinator.com/item?id=22090358


I don't mean method definitions. I mean method invocations.


I see. In almost 10 years of using Ruby I can't say that ever bothered me.


The guidelines I remember are no parentheses for DSLs, e.g. the Rails validation methods or the associations, and parentheses for the other methods.


But you can literally inspect and interrogate objects. You can ask what methods exist. You can even make new methods at run time.


Right. And that's the issue. I want to read at a glance, without having to ask tools. Monkey patching and lack of parentheses means dropping into a new codebase is like wading into a ocean of possibilities with every file.


The community does generally document monkey patching and meta programming constructs. All other code tends to be self documenting. That’s all I am saying.


Perhaps I just didn't write enough Ruby. It all felt very hard to grok for the time I spent with it. Whereas other languages, even quite obscure ones, felt more parsable to me.


But scanning the books also helps those AI companies because ultimately they want more data. Yes, they also destroy rare books to sabotage competitors, and thus also damage global society - a reason why these evil companies should be disbanded - but the article seems to not put any thoughts into things here, other than the superficial "they destroy books".


I guess they just cut the spines to speed scan the pages with a machine and then the resulting pile of papers is no longer worth anything, so they just dispose of it.


> From a historical precedent standpoint, this is akin to the burning of the library of Alexandria

Let's view it realistically here: AI companies are parasites. Them destroying books to dumb down mankind, absolutely fits into the destruction of the library of Alexandria.

Having said that, I think the day of physical hardcopy of books, is not necessarily over, but will be heavily complemented via digital storage. For instance I only keep books that I may re-read later or read many more times, e. g. thick science books. Many other books I can keep as .pdf file without a problem.


> But for C as a culturally defining language in computing, I think the tide is already turning.

The problem still is which language will replace C here.

C++ won't.

Neither will Rust or Java.

So which language will replace C here?

I agree that C and Fortran can not be compared really. C will remain for a very long time to come.


Several of the arguments are not compelling.

For instance:

"The C language is not just the language itself but all the developer tools developed for the language. Do you want to do static analysis on your source code?"

This is a finite problem set. For instance, AI could auto-create useful toolings eventually. And even without AI, people can. Even more so if a new language is designed with that in mind from the get go. So, perhaps it would be a lot of effort, but this is really not the reason why C is so dominating.

> The uncertainties of a new language

> Before a language has matured, it's likely to have bugs and might change significantly to address problems with language semantic.

Here I somewhat agree. Another language is different, that is true, and may not be better, that is also true. I am still not convinced Rust is better than C, for instance.

However had, I also don't this this as unsolvable. Many new languages are in part better than C. I mean, I notice this when I write ruby code and C code. Let's ignore the speed problem; and the fact that ruby is written mostly in C (which kind of shows that C dominates everything). The ruby code I write is about 1000000000x easier to understand, simpler and almost always shorter than C. There is no comparison here. Ruby is the better programming language. C is faster and more efficient. And this is also significant. My prediction is that a language that would be able to replace C, needs to target both the speed issue without compromise AND the efficiency of writing code, be it ruby-like, python-like and so forth. And neither of these two languages try to replace C either, so they don't quite count here.

> And what about maintainers? Sure, an open source language can be forked, but I doubt many companies are interested in using a language that they further down the line might be forced to maintain.

This is a problem, but you have this problem with corporations too. For instance, Go is controlled by Google, as is Flutter/Dart. Google can babble that everyone can contribute but the reality of the situation is that Google decides what happens; same with the adChromium code base. Personally I really don't want corporations to dictate their world view onto a language. Committees can also have problems or be bribed and what not, we can see the chaos in the C++ committee too, even without bribery - stupidity often rules supreme. But by and large, I much prefer single benevolent dictators or indepedent (as much as possible) committees than mega-evil mega-huge greedy corporations controlling a language. This does not automatically mean a language is better or worse, either way, but it is a preference for me. And I know for a fact that many others somewhat or strongly agree with this too, except a few die-hard Google fanbois (but most of them are employed by Google anyway, so their "opinion" does not count; I see the same problem with shopify and ruby, by the way, it's really interesting).

> 3. The language might just not be good enough > Is the language even addressing the real pain points of C? It turns out that people don't always agree on what the pain points with C is.

Yup, that is also true, see Rust. On the other hand, I think cargo is really useful, and even C++ agreed. I think C also did not that long ago, but boy, for many decades C thought that easy download of add-ons is not needed. C changes very slowly. I understand that this is often nice, but just as in the example of cargo and what not, this was really STUPID of C to not change here.

Other than that I agree on the general point. Many changes are also idiotic in other languages. Ruby incorporated many idiotic changes too; thankfully I can avoid most of them so I just ignore them indeed.

> A new language will naturally have a much smaller pool of experienced developers. For any middle to large company that's a huge problem. The more developers there are available for a company, the better they like it.

That's also true, e. g. look how few developers use D. I think the only way to change this is to make the language SIMPLE, EASY but also efficient at the same time. Like python. Though python is not aiming to be a replacement of C, so it does not count - but people are quite easily able to learn and use it. C is much harder to use; just give new recruits a task to implement things that manipulate memory and pointers a lot.

> The C ABI is the standard for interoperability

Any language can have that too so I don't see this as a problem.

> 1. Better syntax

> Having a "better syntax" than C is mostly subjective.

Wrong. And this is what 99% of those "I will replace C with my language XYZ" get wrong. The syntax they use usually SUCKS. They think syntax matters absolutely not at all. They are wrong. But they think they are right, so they write a useless pile of crap and then wonder why nobody writes in that language.

> 2. Safer than C > Any C alternative will be expected to be on par with C in performance. The problem is that C have practically no checks, so any safety checks put into the competing language will have a runtime cost, which often is unacceptable.

This is partially correct, partially wrong. Rust showed that safety is a feature; C++ agreed. C does not. I understand the speed penalty, and I am not saying you need to make safety a pseudo-religion like Rust did, but that trade-off needs to be determinable by the code author. So, some code can be fast like in C; for other code the trade-off may be different. A language should make it super-easy to distinguish here. Rust does not make it super-easy. C even less.

> Programmer productivity

> First of all, pretty much all languages ever will make vacuous claims of "higher programmer productivity". The problem is that for a business this usually doesn't matter. Why? Because the actual programming is not the main time sink. In a business, what takes time is to actually figure out what the task really is. So something like a 10% or 20% "productivity boost" won't even register. A 100% increase in productivity might show, but even that isn't guaranteed.

Also totally wrong. Yes, writing code is not always the bottle neck, but what he forgets is the simplicity of writing good, fast code. If it takes 5 hours to write 3 lines of code, something is wrong with the language itself.


> that a language that would be able to replace C, needs to target both the speed issue without compromise AND the efficiency of writing code,

C++ tried this. You can use null-terminated char arrays like in C, or you can use std::string and it works like Python or Ruby. C++'s problem is that by having so many features to please everyone, the interactions between some of the features are less than obvious, and there's always some feature you're encountering for the first time.


I used to play it quite a bit back when it came out. It was fun trying to build up a fleet without getting smashed by the colonial genocide empire (e. g. British and whoever else had ships). It was a bit too focused only on the pirate theme though; civilization was better. (Colonization had a similar problem as pirates had in that it was too focused on the revolution, so civilization really had the better idea going.)

I also used to play e. g. Die Hanse (german, trade-focused); would have been great if Pirates could have integrated more trade-related aspects while keeping the pirate focus too. Modern games seem to just be 3D clones with simplified gameplay, I don't quite understand how people can play these. They seem to have been dumbed down immensely just for the money grab alone.


Oh, the Hanseatic League game. I played that once. It involved an awful lot of sailing your trading cog up and down the Baltic, apparently in real time. I like games very slow, but this was too much even for my taste. If I had stuck with it I think there would have eventually been fighting to defend a city and perhaps a city-builder aspect?


Hanse: Die Expedition (1994) - https://www.mobygames.com/game/9273/hanse-die-expedition/

There's also the Patrician series (Patrician 1, 1992, Patrician III 2002) I think you may be referring to: https://www.mobygames.com/game/15367/patrician-iii/

Patrician III starts out as a manual trading game, sailing your trading cogs up and down the Baltic, but then to expand you build industries, and supply goods so the population can expand and create and consume more of your goods, automate trading routes, you can become mayor of your home town, defend it against sieges, and it to a large extent turns into a city builder.

You can also send ships to explore and find trade routes to the Mediterranean, and IIRC you can occasionally accidentally discover America.

Very cool game.


I played some of the Patrician games. Loved the start of every game, then became bogged down in managing my growing fleet. I wanted to do so much more but I found the UI lacking.


> The technology doesn't have to be the best, it just needs to get lucky enough to become a standard and build a moat with that.

I don't know about that.

Top 500 supercomputers running Linux. I use both Linux and Win10, for instance (won't switch to Win11 no matter what), but whenever I have to use Windows, I wonder how this garbage could ever become so dominating in the first place. Inefficiency is very clearly a work culture at Microsoft; I notice this every time I copy data. And then wingers for Windows babble about how Microsoft does so much more behind the scenes - all of which is totally pointless. It is such an utter trash operating system, so I can not agree with "it it is ok to suck" statements. I much prefer solid engineering at all times.


Windows sucks but Linux is not a very good operating system either. Everything is a bodge to cover up the assumption that it thinks its a multi-user PDP11 system from the 70s, nobody can agree on which set of bodges to use for the same thing, and it's a miracle it even works at all. But it's better than the alternatives and nobody wants to try again so we got used to it. (That also applies to why Windows is used in corporate environments too)


But the idea that Windows is a "better OS" really seems accurate for people in the Third World. This is because Korean language support on Linux is terrible, and since all the commands are in English, it takes quite a bit of time to get used to it. Not only that, but there are so many distributions that you do not even know what to configure, and rather than doing RTFM, I just want to get my "work" done.

In that regard, I honestly think Linux is better once you master it, but realistically, Windows is much more casual and practical. You might disagree, but for people outside the Anglosphere, Windows is far more casual.

To be completely honest, the vast majority of people do not even like looking at PowerShell or terminal windows. It is familiar to programmers like us, but honestly, I do not like looking at terminal windows either. I would much rather look at an IDE. In the English speaking Linux world, you just map ASCII, but we need things like ibus or fcitx. On top of that, there have been CJK input method fragmentation and conflict issues for over 20 years. I think this gap exists because they cannot understand a situation where you have to debug an "input method config file" just because you want to type some text.

Windows is a black box platform where multilingual rendering and the Office ecosystem are perfectly integrated. Only a very small fraction of its API is exposed. However, for the vast majority of applications, that is more than enough. The idea that Linux is great applies mostly to English speaking developers or those who want to fit into that English speaking development culture, but from a pure usability standpoint, I believe Windows is better.

Linux is technically a glass box, but honestly, no one can understand every single part of it, meaning it practically functions as a cognitive black box anyway.

Furthermore, Windows supports true plug and play where hardware just works the moment you connect it. Linux does not. Debating whether Linux or Windows is technically superior is meaningless, but I absolutely do not agree with the claim that Windows is terrible. Many Americans argue that Linux is better once you learn how to use it properly, but the moment you step outside the US, Linux becomes a flawed system where nothing works as it should.


> But the idea that Windows is a "better OS" really seems accurate for people in the Third World. This is because Korean language support on Linux is terrible

Who in the third world is supposed to speak Korean?


In this case, I'd appreciate it if you could understand it as my 'native language.' When you input a language that isn't English into a computer, it often doesn't work well with ASCII—it frequently breaks in many places.

Because the standards for computer work are mostly set by the US, people in Asia often call the ASCII system 'the privilege of one byte.' A single hardware switch maps directly to one byte of memory. You don't need an IME—Linux requires programmers to configure that manually.

For native languages like Korean, Chinese, Japanese, and Arabic, you can't just type characters onto the screen directly. IME daemons like ibus or fcitx run in the background, intercept key events, and compose them in buffers. In that regard, Windows is much better. And this ties in well with the topic of this post

Using Linux outside the English speaking world means you have to study encoding history and filesystem structures just to open a document. It practically becomes a hobby. It's awful.

But Windows solves that problem first, because it wants to sell Windows in those countries. NTFS stores filenames in UTF-16, so multilingual input is standard. When you open a terminal in Linux, you get the horrible experience of seeing your native language rendered as broken characters. I do use Linux, of course. I think its lightweight nature is a plus, but in my work environment, Linux is hard to use properly except on servers


What gave you the impression that you can't just type all utf-8 characters in existence in a Linux terminal? It even takes emojis.


No, it's not an issue with all UTF-8 character input—it's a crash that happens in specific situations. In other words, it's intermittent. For example, there were cases where accidentally typing Korean characters while opening a terminal or editor would cause a crash. (This was about 4 years ago, so I'm not sure how it is now.)

Anyway, it's been mostly fixed now, but if I remember correctly, there were cases where edge cases caused crashes because the input standards were inconsistent


> Furthermore, Windows supports true plug and play where hardware just works the moment you connect it. Linux does not.

This hasn't been my experience for the last 5 years or so. Obscure old printers and scanners, Bluetooth headphones with modern codecs like LDAC and SBC-XQ, RGB gaming mice all "just work" on Linux, where on Windows I have to install an app from the Microsoft Store to get functionality.

I think this was probably pretty accurate in the early 2010s and before.


> designed at the University of Tokyo in 1984

The USA is acting very hostile and selfish. Their own mega-corporations were protected and integrated into the military apparatus; currently we see this with Facebook forcing its slaves to use spyglasses. One can also see this with the USA attacking Iran - suddenly the promise "we will protect you" has been revealed to have been a lie. It's all about selfish powerplay. I think the biggest shifts we see here is that more countries will build up a nuclear arsenal (in most cases just defensive, to increase the cost of an invasion; in particular Taiwan needs that since the USA will not do much at all once dictator Xi will invade; we also saw that with Putin starting his genocide against Ukraine. That would not happen if Ukraine would have had a nuclear arsenal).


We need to find a solution to browsers sniffing on people. This here refers to AliExpress, but which browsers are typically spying on people like that in the first place? That's the real primary problem.


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

Search: