HNHacker News
TopNewBestAskShowJobs

iam-TJ

1,507 karma · joined February 23, 2016

submissionscomments
iam-TJ··on Show HN: A web text-editor where you can write, compute and draw
Added to the sandbox. I tried the alternative address but the problem is on the free.fr MTA and its Spam detection - it looks like it treats real 7-bit ASCII plain-text emails as spam. There are no embedded MIME parts stuffed with an HTML page in my emails!
iam-TJ··on Show HN: A web text-editor where you can write, compute and draw
I sent you an email with details of the CPU usage but just got an unfriendly "550 spam detected" from your MTA!

  The mail system 
  
  <marty.alain@free.fr>: host mx1.free.fr[212.27.48.7] said: 550 spam detected
    (in reply to end of DATA command)
iam-TJ··on Show HN: A web text-editor where you can write, compute and draw
Re: scroll bars. Try using a regular workstation with a keyboard and mouse!
iam-TJ··on Show HN: A web text-editor where you can write, compute and draw
Is there a public code repository and issue tracker where fans and users can discuss and contribute?

Very neat, and impressive. The one downside I noticed for the exemplar page is the browser CPU load. constant 33% of 1 CPU on an AMD Ryzen 7 1800X with Firefox v103.0.2, and around 32% with Chromium v104.0.5112.79.

I guess that's fair though since the 'page' is playing Towers of Hanoi AND animating the Hilbert curve AND a linear watch (clock)!

I enjoy the presentation itself too - no wasted space, nice multi column, no space-wasting top-bar, no annoying sidebars.

Being able to invoke the code editor with the floating resizeable text-area feels so natural.

The one thing that would be good seeing as the page is a viewport onto a larger canvas is auto-scrolling the viewport when the pointer approaches the margins - so we don't have to chase, make visible, and manually grab the browser scroll bars. That would make the page naturally follow where our attention currently is.

Certainly brings a whole new meaning to "Single Page Application".

Not even going to attempt to view it on a small device though!

The only downside is requiring client-side Javascript to render - I wonder if there's a way to have a fallback to render server-side in that case?

I've been procrastinating over choice of some kind of simple wiki-like static site generator for recording many real-time stream-of-consciousness disparate unrelated bug investigations,fixes and code hacking across a wide range of open-source software.

This has a quirkiness to it that I like and it feels like a nice fit for someone with a coding ethos (even if not usually into functional!).

It may even conquer my preference for Markdown!

Time to explore!

iam-TJ··on The OG Social Network: Other People’s Websites
Web-rings [0] were a good way to do that discovery of allied sites back in the day.

[0] https://en.wikipedia.org/wiki/Webring

iam-TJ··on Nonprofit markups.org is exposing the most egregious new car prices
Have you considered trying to capture the amount of time it took to get from prospective buyer saying "Let's talk about a deal" to discovering the final price ?

Since buyer's time is valuable, and wasted negotiating time frustrating, having a friction-free non-delayed experience would surely be a valuable data-point to many -- as in "I don't want to use a dealer whose average time-to-final-price is more than 30 minutes."

iam-TJ··on Simplicity of IRC
I disagree when considered in the context of what we use IRC for 'traditionally' - hundreds of people able to share logical information, code, URLs, and more particularly on a very low bandwidth medium.

Can't do that in voice chat.

In the usual case of IRC channels the contributors are in the minority and so it can take the form of a voyeuristic learning experience for the passive bystanders - and very highly educational most of the time.

iam-TJ··on Simplicity of IRC
One aspect I don't see mentioned much, if at all, is that the "C" in "IRC" stands for "chat", and that, to me, has always equated to in-real-life chats.

If I'm not present when friends are chatting I don't get to replay what they were saying before I arrived, or after I leave.

I think that is the fundamental disjoint - features are attributed to IRC that were not intended, and then attempts to bolt them on through services, bouncers, or whatever, is never going to create a seamless rich experience that many seem to want.

For me, IRC has always been the avenue for mostly throwaway, real-time at-this-moment off-the-top-of-my-head stream-of-consciousness discussion, with Usenet or forums and email mailing lists for more long-running considered and logged discussions.

I've never been impressed or attracted to products that try to force the two styles together.

iam-TJ··on Linode EU-West (London) is out again
I just posted about this at

https://news.ycombinator.com/item?id=32325224

"Linode London data-center down for 2.5 hours in 26"

iam-TJ··on Earth Is Spinning Faster Than Usual, Leading to the Shortest Day Ever Recorded
All the headlines are based on news bulletin and data from International Earth Rotation and Reference Systems (IERS) service [0] on 2nd August 2022 [1]

[0] https://www.iers.org/IERS/EN/NewsMeetings/News/news.html

[1] https://datacenter.iers.org/data/latestVersion/207_BULLETIN_...

iam-TJ··on Australian activist can't use encrypted apps, must let police access phone
The same has been the case in the UK for at least the last 20 years with games requiring BBFC (British Board of Film Classification) or VSC (Video Standards Council) [0] ratings.

As of 27th July 2012 [1] UK enacted a Statutory Instrument "The Video Recordings (Labelling) Regulations 2012" [2] ...

> From today, it is a criminal offence to sell video games with a “12” rating to those younger than that age.

... manadated VSC as the sole organisation...

> The new law ends the dual system, gives legal backing to PEGI 12, 16 and 18 ratings and will result in clearer, unambiguous guidance about the suitability of games content for specific age groups.

... with responsibility for PEGI (Pan European Games Information)[3] ratings.

> PEGI provides age classifications for video games in 38 European countries. The age rating confirms that the game is appropriate for players of certain age. PEGI considers the age suitability of a game, not the level of difficulty.

[0] https://videostandards.org.uk/RatingBoard/about-history

[1] https://www.gov.uk/government/news/new-rules-to-better-prote...

[2] https://www.legislation.gov.uk/uksi/2012/1767/contents/made

[3] https://pegi.info/

iam-TJ··on Knuth changes his mind on Bernoulli number B_1
2022-06-27 IBM settles age discrimination case that sought top execs' emails https://www.theregister.com/2022/06/27/ibm_age_discriminatio...

2021-04-30 Intel laid me off for being too old, engineer claims in lawsuit https://www.theregister.com/2021/04/30/intel_age_discriminat...

2021-04-16 Age discrimination class-action against HP and HPE gets green light to proceed: https://www.theregister.com/2021/04/16/age_discrimination_cl...

2019-11-25 Take a Big Blue cheque and go: IBM settles 281 UK age discrim cases https://www.theregister.com/2019/11/25/ibm_uk_settles_281_ag...

2019-09-17 Google age discrimination case: Supervisor called me 'grandpa', engineer claims https://www.theregister.com/2019/09/17/google_age_discrimina...

2019-07-22 Google settles a four-year age-discrimination battle with 227 engineers by dishing out... $11m https://www.theregister.com/2019/07/22/google_settles_discri...

2019-05-09 Oracle's legal woes deepen: Big Red sued (again) for age and medical 'discrimination' https://www.theregister.com/2019/05/09/oracle_sued_age_discr...

iam-TJ··on Knuth changes his mind on Bernoulli number B_1
Puts into perspective the behaviour of companies developing reputations for firing older staff in favour of fresh graduates, doesn't it?
iam-TJ··on Hetzner appears to impose unlisted “fair use” on traffic
Maybe like ADSL was originally advertised in some markets, with the contention ratio?

In your scenario, 10:1 contention ratio, "up-to" 1Gbps throughput, 1Gbps link-speed.

In the UK British Telecom originally offered 'consumer' ADSL at 50:1 and 'business' (more expensive) at 20:1 contention ratio specifically to deal with the backhaul limitations.

iam-TJ··on Starlink at 130km/h (80mph) in Ukraine
From Mykhailo Fedorov, Vice Prime Minister of Ukraine and Minister of Digital Transformation:

As of now we have over 12K Starlinks in Ukraine. They help with access to high-quality internet in difficult conditions. Still we are wondering of all possible ways to use @SpaceX tech. Our telecom team made Starlink test drive on the road at a speed of 130 km/h. Check the video.

iam-TJ··on Discworld on Page and Screen, Part 1: Serious Comedy
I highly recommend the *unabridged* original audio books, especially the later stories narrated by Stephen Briggs or Celie Imrie (Witches series). The earlier stories narrated by Nigel Planer sounded like he was still in his "The Young Ones" [0] character and grated on me for many years although now I find him easier to accept when I re-listen (which I do frequently!).

Unfortunately (for me at least), the recently re-recorded collection (by the Pratchett estate) using different voice artists (Indira Varma, Peter Serafinowicz, Bill Nighy, Steven Cree) don't capture the same 'magic' as the original voices and often fail to recognise and pronounce the subtle double and triple entendres (e.g. of the Nac Mac Feegles) - which suggests they and the editors don't fully appreciate the humour Pratchett intended.

Don't miss the "The Science of Discworld" series (book I (1999), II:The Globe (2002), III:Darwin's Watch (2005), IV:Judgement Day (2013)) where the chapters alternate between stories of the Wizzards (voiced by Stephen Cohen) of Unseen University accidentally creating Roundworld (Earth and our universe) and then tinkering with its evolutionary timeline in a battle with the Elves, eventually leading to humans leaving the planet using a Space elevator, and serious explanation and exposition of the sciences by Jack Cohen and Professor Ian Stewart (voiced by Michael Fenton-Stevens).

Those make a great introduction to science for kids young and old!

"The Folklore of Discworld" and some of the loosely related stories such as Mrs Bradshaw's Handbook (voiced by Penelope Keith - a skit on the Victorian era "Bradshaw's" railway travel guide [2] and a spin-off from "Raising Steam", featuring her travels on the Ankh-Morpork and Sto Plains Hygienic Railway), "The World of Poo" (Sam Vimes son's fascination with collecting poo specimens) and, unrelated to Discworld but written in the same tongue-in-cheek style "Dodger", a tale set in Victorian London featuring a lovable Tosher discovered by 'Charlie' (Charles Dickens).

[0] https://www.bbc.co.uk/programmes/b00glhzn

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

[2] https://en.wikipedia.org/wiki/Bradshaw%27s_Guide

iam-TJ··on A Crack in the Linux Firewall
No; I use namespaces extensively.

  user.max_user_namespaces = 127864
iam-TJ··on A Crack in the Linux Firewall
The proof of concept (PoC) itself relies on /tmp/ having mount 'exec' permissions. On systems with a separate /tmp/ and mounted with 'noexec' this would fail. This latter is one of a series of hardening steps that are useful in making executing untrusted code more difficult (but not impossible).

Fix is introduced in commit 7e6bc1f6cabcd30aba0b11219d8e01b952eacbb6. On the wider point of kernel corruption it isn't absolutely clear if the PoC relies on specific attributes of the target kernel builds or a suitable .config, and if so which, or very specific kernel versions between v4.1-rc1 and v5.19-rc7.

Article talks specifically about "Ubuntu 22.04" and shows kernel 5.15.0-27-generic in the poc.gif but the github README.md says 5.15.0-39-generic. No mention if this affects the -lowlatency kernels.

Recent Linux stable tree kernels carry the patch (e.g. v5.18.12 commit 6b7488071ea8ed6265a39afebd5a5920f6975d02).

The exploit fails (here) on stable tree v5.18.9 in an interesting way!

  $ ./poc
  [+] Second process currently waiting
  [+] Get CAP_NET_ADMIN capability
  [+] Netlink socket created
  [+] Netlink socket bound
  [+] Table table created
  [+] Set for the leak created
  [+] Set for write primitive created
  [*] Leak in process[-] add_key: Disk quota exceeded
This on an ext4 file-system with no quotas enabled and 9GiB free space.

The message via perror() is of course wrong; in fact during the call via SYSCALL_DEFINES(add_key, ...) in security/keys/keyctl.c a return value of 122 (EDQUOT) is returned. There are 3 call sites in that function that call PTR_ERR() - a function that determines if a pointer value is a valid 'errno' value - so one of strndup_user(), lookup_user_key(), or key_create_or_update() failed.

iam-TJ··on Retbleed: New speculative execution attack sends Intel and AMD scrambling
Important to note that dynamically generated eBPF RETurn instructions are one of the vulnerabilities noted in the AMD paper [0].

[0] https://www.amd.com/system/files/documents/technical-guidanc...

iam-TJ··on An Ubuntu kernel bug causes container crashes
I've just added some info to those bugs on a possible upstream stable fix.
iam-TJ··on A Superior Alternative to LiFePO4 for Long-Lived Low Voltage Li-Ion Cells
Full title includes the chemical formula:

"Li[Ni0.5Mn0.3Co0.2]O2 as a Superior Alternative to LiFePO4 for Long-Lived Low Voltage Li-Ion Cells"

"Li[Ni₀.₅Mn₀.₃Co₀.₂]O₂ as a Superior Alternative to LiFePO₄ for Long-lived Low Voltage Li-Ion Cells"

Populist overview "Tesla battery research group unveils paper on new high-energy-density battery that could last 100 years"

https://electrek.co/2022/05/24/tesla-battery-research-paper-...

iam-TJ··on SpaceX reprioritized to cyber defense and overcoming signal jamming
To keep the information together, 5th March 2022, President of Ukraine Volodymyr Zelenskyy tweeted about a further shipment of Starlink terminals for destroyed cities [0]

"Talked to @elonmusk . I’m grateful to him for supporting Ukraine with words and deeds. Next week we will receive another batch of Starlink systems for destroyed cities. Discussed possible space projects . But I’ll talk about this after the war. "

[0] https://twitter.com/ZelenskyyUa/status/1500246977086373891

iam-TJ··on SpaceX reprioritized to cyber defense and overcoming signal jamming
You're projecting a problem that doesn't have the implications you imagine.

As others have said, originally Fedorov Mykhailo, a Ukraine vice prime minister, publicly tweeted a request for Starlink service and terminals [0] and later thanked SpaceX after they arrived in-country [1] and today, in Ukraine media, the mayor of Kyiv is pictured with terminals about to be deployed [2]:

"“Friends! StarLink global satellite Internet stations are already in Kyiv. Two stations were provided by the Ministry of Digital Transformation. I and Volodymyr [Klitschko] agreed on provision of ten stations with international partners and friends," Kyiv Mayor Vitaliy Klitschko posted on Telegram.

According to him, StarLink will help ensure the critical infrastructure of the city and the defense of the capital."

[0] https://twitter.com/FedorovMykhailo/status/14975436332932669...

[1] https://twitter.com/fedorovmykhailo/status/14983925152627466...

[2] https://www.ukrinform.net/rubric-ato/3421352-starlink-statio...

iam-TJ··on March 5, 1981: Timex Sinclair ZX81 Launched (2018)
I've still got the original Sinclair ZX81 bought in March 1981 (but not delivered until 1st week of June 1981 due to demand) and it still works, even with its wobbly 16KiB RAM Pack!

Much fun was had programming in machine language by looking up op-codes in Rodney Zak's "Programming the Z80" and counting the clock cycles to figure out the most efficient set of op-codes. As I recall the fastest op-code requires 4 clock cycles but some instructions would need more than 10 so much performance could be gained by knowing and optimising. This was before there was a Z80 assembler available so the hex of those op-codes had to be typed and POKEd into memory from the BASIC interpreter.

A side-note - don't forget the ZX81 was preceded by the Sinclair ZX80 in 1980 [0].

iam-TJ··on Updating software so Starlink can be powered from car cigarette lighter
Quite feasible - typical car chargers have two rates, what we used to call 'trickle' charge up to about 4 amps, and 'fast' charge that will push 8 amps or more. The latter isn't so great for battery long-term health but is useful for 'got to start the engine now' situations whereas trickle is more for 'top the battery up overnight' situations.

Most accessory sockets are rated 10 or 15 amps.

iam-TJ··on Ukraine requests Elon Musks help (Starlink stations)
Elon Musk just announced (26 Feb 2022 22:23 UTC) "Starlink service is now active in Ukraine. More terminals en route." [0]

[0] https://twitter.com/elonmusk/status/1497701484003213317

iam-TJ··on Ukraine requests Elon Musks help (Starlink stations)
Uplinks: Poland began service in September 2021. Service to west and central Ukraine should be possible now, depending on where the Polish ground-stations are located. Additional ground stations could be rapidly deployed to Poland's eastern border.

Supplying user terminals: Ukraine has borders with Poland, Hungary, Romania and Moldova so all possibilities for transferring to Ukrainian authorities.

iam-TJ··on New Sandworm Malware Cyclops Blink Replaces VPNFilter
This is being flagged up by multiple authorities in the context of Russian attacks on Ukraine, NATO and EU members.

Tweet from UK's National Cyber Security Centre: https://twitter.com/NCSC/status/1496500441219276803?cxt=HHwW...

iam-TJ··on Help I can't become a digital nomad, I have too much stuff
Huskies aren't the cause of the ever-growing sled - it'd need permanent shelter and sleeping accommodation (at least 2m long) because conditions might preclude erecting a tent every night-fall. Then add space needed for storage of potable (drinking & cooking) water, food, cooking equipment, toilet disposal facilities (human & huskies), ropes, winches, and tools for getting out of trouble and making repairs (so also spares for harnesses, sled, etc.) ...

Once you analyse what is required to be truly self-sufficient and self-reliant, even for short periods of time, the amount of equipment needed is quite surprising.

In settled life many of those things are externalised costs or can be obtained on-demand.

I'd still love to give it a go at some point - but would need to move to Alaska to do it (Only rain and mud in the UK!)

iam-TJ··on Help I can't become a digital nomad, I have too much stuff
Slightly left of topic, but the use of "nomad" in the context of "too much stuff" would be better described as 'asceticism'.

Traditional nomadic life was about entire communities or extended families (rather than individuals), usually carrying their entire home and possessions with them either on travois or animals and/or carts, and travelling between home sites as the seasons changed or the food source moved.

In current times it's not too challenging to carry one's entire digital possessions in a back-pack if you trust to there being an always-on quality network connection, but it'd be far more comfortable to kit out a mobile home, caravan, recreational vehicle, boat, or similar, if you want basics with you such as favourite clothing, personal items, and physical documents.

A challenge of this minimalisation is overcoming built-in obsolescence of most digital devices that often leads to collections of older 'stuff' kept 'just in case', as well as connectors, adapters, wires, and other bits. Oh, and avoiding buying 'convenience' single-purpose devices.

Having Siberian Huskies I once tried to figure out if I could live off the back of a sled and have the huskies be my means of transport. The sled would have needed to be 5 meters long and about 2 tall so I abandoned the idea!

← PreviousPage 6 of 11Next →