Better HN
topnewbestaskshowjobs
Log inSign up

rainingmonkey

214 karma · joined Nov 27, 2016 (10y ago) · 107 submissions

Submissions

61.

I almost added Tetris to htop(hisham.hm ↗)

2 points · by rainingmonkey · 2y ago · 1 comment

comment 3y ago · link · parent

What was your experience with Lua if it worked? What were the disadvantages that kept you looking for other extension languages?

comment 3y ago · link · parent

Lua originated in 1993 and ran anywhere C would.

Unfortunately it still lacks meaningful marketshare though.

comment 3y ago · link · parent

I've found Tribune Magazine (https://tribunemag.co.uk/) a good source of well-written leftist opinions without the tone and US focus of Jacobin.

comment 4y ago · link · parent

> people responsible for data systems are unaware of how other people in the company use their system. In some cases even the engineers using a system may not be able to understand what is happening because, according to a Meta engineer, ‘it is not possible for humans to understand’.

Sounds like a good way to hide a "Room 641A" situation from your own engineers...

https://en.wikipedia.org/wiki/Room_641A

comment 4y ago · link · parent

This looks like a true lifetime's work, started in 1999 and still developed.

From the description: It prooves that in other softwares, the signal to noise ratio in the code is very low. Free and closed softwares are no different in this area. Counting typically brings 99% noise. No programmer can believe that, even if he can quite easily verify it through counting lines. This is just a perfect illustration of cognitive dissonance. I trace the poor signal to noise ratio in classical softwares to four reasons:

  * use of poor languages with no decent meta programming capabilities (poor expressivity)
  * poor software design (code layering)
  * unability to concentrate on ironing out core features instead of adding new not really usefull ones
  * and finaly interfacing different pieces of software with quite different logic and conventions instead of building an overall consistent system.
It's always concerned me how we delicately stack fragile software on top of incomplete, bug-ridden platforms full of workarounds and "special cases" rather than building something that's cohesive top-to-bottom. I'll be excited to try this out when I get home!

It's a shame the documentation is a little unclear and the author could do with some help with translation.

comment 4y ago · link · parent

For a language that is actually "easy to learn and use", look at Lua[1].

It's so easy to learn & use that children manage to be productive with it (the Roblox community).

It's still powerful though. With few enough primitives to remain simple & understandable, it has just enough primitives to build anything. People have written web frameworks, window managers and video games in Lua.

It's got less pitfalls, "voodoo magic" and advanced weirdness than any other language I know. You can learn 90% of the language from its Wikipedia page. Every time I encounter some of Python's internal weirdness, I wish Lua had been the scripting language of the 2000s instead. Unfortunately Python has a vast collection of libraries available that keep us using it instead.

[1]https://www.lua.org/pil/contents.html

comment 4y ago · link · parent

I can hold the entire Lua spec in my tiny mind all at once, simplicity-induced quirks and all.

comment 4y ago · link · parent

> You can’t exercise your right to speech if you can’t buy posters or domain names for your cause. You can’t go to a protest outside of walking distance if you can’t pay for gas in your car, or a bus or train ticket.

I think this aught to make us consider the antidemocratic effects of poverty and inequality too.

comment 4y ago · link · parent

BeOS managed it, and Haiku continues to manage.

comment 4y ago · link · parent

Very comprehensive, thank you!

comment 4y ago · link · parent

Very nice!

Apart from using Redbean (which looks interesting itself), could you summarize the differences between Fullmoon and Lapis?

comment 4y ago · link · parent

Have you considered kWin? Sounds like it meets all your requirements.

If you're worried about 'bloat', it's surprisingly lightweight and you don't need to pull in a full KDE desktop environment.

comment 5y ago · link · parent

> while Fish has some nice out-of-the-box features, they’re all achievable in Zsh with a few lines of plugins.

The point of fish is that there is no configuration required.

You don't have to learn to configure it, you don't have to be part of "the community" to learn which plugins to use, you'll be able to sit in front of any fish prompt and have it work as expected without having to move dotfiles around.

comment 5y ago · link · parent

POSIX compliance has never brought me any issues, if I want bash syntax I just use `bash -c COMMAND`. You can invoke bash scripts with `bash SCRIPT` or just add the bash shebang `#!/bin/bash` to the top of your script, set the executable bit and invoke directly.

comment 5y ago · link · parent

Seconding counterspin!

I don't always agree with them ideologically, but I find it valuable to hear a perspective on US politics & media from outside the usual Right/Center-Right binary.

comment 5y ago · link · parent

Haiku has a novel take on the email client: all mail is retrieved by the `mail_daemon` and stored as files in a folder. Haiku's filesystem allows arbitrary attributes on files, so you can sort mail by subject, sender, date etc. right there in the file manager.

You can construct advanced queries using attributes or body contents, and the query system could even give you a 'unified inbox' folder with any other protocols which stored their messages as files (if they existed).

comment 5y ago · link · parent

I run KDE and KMail integrates nicely.

A while back it had problems with Gmail, but despite Google's best efforts to break compatibility it works pretty well today.

Unified inbox, fast search, highly configurable. It has a couple of rough edges around the UI (it's probably not for grandma), but it's still by far the best desktop mail client I've used.

Oh, and K9 mail for android!

comment 5y ago · link · parent

Everyone who remembers how much better phones with slide-out keyboards were.

Commenters here seem to be focusing on the available OSes, but most flagship phones from a few years ago without a locked bootloader will run Lineage or Uubuntu Touch. FXtec's offering here is just that the bootloader won't be uncooperative.

The real killer feature is the keyboard. Those questioning the utility of a slide-out keyboard on a phone have obviously never used one. The speed and precision possible is miles ahead of an on-screen keyboard, plus there's all the extra screen real estate. While you can't touch type in the classic 4-fingers-on-home-row way, you certainly can learn to 'touch type' with your thumbs. Those who want proper touch typing can sit down in front of a Gemini, a slide-out keyboard excels at blasting out messages while standing on the metro.

There are plenty of us still holding onto our Motorola Photons and Droids (now so old the hardware is beginning to fail), blackberries (permanently locked bootloader) and Geminis (not a real phone, clamshell keyboard). For us, this is as close to the dream phone we've been waiting for as we'll likely ever see.

> swipe typing coupled with autocorrect works astonishingly well Last I checked, AnySoftKeyboard had the only FOSS implementation of swipe typing, and it wasn't very good. All the providers of decent swiping keyboards have a profit incentive to mine your data, and a keyboard that leaks information makes any other protections redundant.

comment 5y ago · link · parent

The idea of a diversified portfolio is that you buy stocks and other assets too.

Stock market gains over the last 10 years may be impressive, but they're nothing compared to housing in certain key cities.

comment 5y ago · link · parent

Ordinarily I'd be dead-set against javascript-heavy pages where plain text would do, but this page really gets things right. The interactive elements really help illustrate the point, it loads quickly without hundreds of 3rd party requests and the page is surprisingly functional with js disabled. The warning that "you’re about to experience some scroll-driven animations" and the possibility to skip ahead was a nice touch too.

Clicking the 'O' in the title reveals a secret which made me smile!

The rest of the site is full of gems too; I really enjoyed pudding.cool/2021/03/love-and-ai/

PS. I have craved pants with decent pockets my whole life.

comment 5y ago · link · parent

> Prior to Covid, many of the busiest lines were operating near their capacity limits, so setting fares any lower would just cause even more severe crowding.

This isn't the vindication of privatisation you seem to think it is. Passenger numbers (and fares) are hitting records, and the operators are still using the exact same rolling stock as in 'the old days of British Rail'. Privatisation has led to massive corporate profits at the taxpayers' expense, without providing the investment the railways need.

How is it that half of the UK's private operators are subsidiaries of other countries' nationalised operators? When the East Coast Mainline was renationalised (after the franchise holder claimed it was impossible to run profitably), it jumped from the most expensive line with the least customer satisfaction to the line with the highest customer satisfaction.

The 'bad old days' of British Rail were because of persistent underfunding, not the ownership structure. The UK state spends more on railways today under a privatised system than they did when the entire system was nationalised.

https://www.bringbackbritishrail.org/

comment 5y ago · link · parent

Elsewhere on their blog (and especially on their gemlog) the author discusses and uses teh constructed language Toki Pona[1].

From wikipedia: > Capital initials are used to mark proper adjectives, while Toki Pona roots are always written with lowercase letters, even when they start a sentence.

I imagine they've deliberately carried this across to their English language writing too.

[1]: https://en.wikipedia.org/wiki/Toki_Pona

comment 5y ago · link · parent

The excellent lowtechmagazine does a deep dive on this:

https://www.lowtechmagazine.com/2008/06/ocean-liners.html

> to transport one passenger across the Atlantic, a plane needs 4 times more engine power than a ship. Energy output does not say all there is to say about fuel consumption however, since it does not take into account the duration of the trip (see comments) and the fuel efficiency of the engines. It says even less about the emissions of toxic fumes and CO2, because marine engines burn much dirtier fuel than aeroplanes.

> If we would stuff people in the Queen Mary 2 like we fold passengers in airplane seats, the ship could transport more than 500,000 people ... [This] would boil down to a power output of 0.18 kilowatts per passenger – comparable to the output of a well-trained cyclist and 700 times more efficient than the engine power per passenger of an airplane. Taking into account the duration of the voyages, the ship scores 70 times better than the plane.

> Transporting 30,000 people on the QM2 is far from unrealistic or uncomfortable ... Every one of those 30,000 passengers on the Queen Mary 2 would have 20 times as much space than a passenger on a plane, while at the same time consuming 43 times less engine power (taking the view that both engines has similar efficiency). Taking into account the duration of the trip, the ship is 4 times more energy efficient than the plane.Now this looks like an option that could be useful in a peak oil world.

> Replacing planes by ocean liners would be an ecologically sound idea, but only if marine engines become cleaner. Most ships make use of very dirty (unrefined) diesel oil that needlessly poisons the air and heats up the atmosphere. This is not a technological but a political problem.

comment 6y ago · link · parent

Lua - the language JavaScript should have been.

It's really nice to see projects like this, as IMO the only thing keeping Lua from seeing wider use is that it lacks JS and Python's userbase and libraries.

comment 6y ago · link · parent

At that size/portability, there's really only one serious contender on the market today. The FxTec Pro 1 is the first proper android phone with a slide-out keyboard since the Motorola Photon Q in 2012, and it's also probably the best sliding keyboard I've ever used, I could quite comfortably use it for quickly writing small programs as OP describes.

https://www.fxtec.com/product/fxtec-pro1/

Discounting Blackberries, with their locked down bootloaders and weird android emulation layers.

comment 8y ago · link · parent

*He ;)

https://en.wikipedia.org/wiki/Lindsay_Anderson

88.

Research Finds Predominance of Jordan Peterson Videos in YouTube's “Up Next”(eticlab.co.uk ↗)

1 points · by rainingmonkey · 8y ago · discuss

comment 8y ago · link · parent

>Peterson isn't making many scientific claims, or even claims as such.

My first encounter with Peterson was hearing his "lobster theory", which struck me as such pseudoscientific piffle that I've tried to pay him as little attention as possible ever since.

I imagine the reason Peterson elicits such strong reactions is because he presents differently for different audiences. As suggested elsewhere in the comments, "he's built his own persona into this gigantic strawman that looks like an ogre to everybody", luring them into attacking a position he never held so that he can appear calm, wise and reasonable in his rebuttal, and take the role of the poor attacked underdog.

He speaks of "postmodern curtural marxism", yet by his own admission, has never debated a marxist. Like the best controversialists, he picks his fights very carefully, preferring to "debate" with campus teenagers than other "intellectuals".

For those who haven't heard it, his "lobster theory" goes:

1. Lobsters are animals with a hierarchical society

2. Lobsters have a "seratonin based nervous system". Humans also have a "seratonin based nervous system".

3. Therefore, a hierarchical society is natural (and therefore best) for humans.

comment 8y ago · link · parent

>I don't want to see them look like a villain. They are excited engineers.

I suspect the idea that these two categories are mutually exclusive is at the root of most of the questionable applications of technology today.

1234