Better HN
topnewbestaskshowjobs
Log inSign up

jimlikeslimes

167 karma · joined Oct 3, 2019 (7y ago) · 75 submissions

Submissions

comment 2mo ago · link · parent

I thought it was made city status a while back too!

comment 8mo ago · link · parent

Yes, I've also found llms can generate working common lisp code quite well, albeit I've only been solving simple problems.

I haven't tried integrating it into a repl or even command line tools though. The llm can't experience the benefit of a repl so it makes sense it struggled with it and preferred feeing entire programs into sbcl each time.

comment 9mo ago · link · parent

Maybe so you can communicate with it via tools like iMessage? Not so it can impersonate you. People will 100% be doing both though, security be damned.

comment 9mo ago · link · parent

I think there was a phase of repeated breakages a while back, but things seem to have stabilised.

Fixes are released quickly ime too.

comment 1y ago · link · parent

For a good intro the Sleepbot Environmental Broadcast radio is well worth listening to. Also their write up on how and why they produce the broadcast is really interesting.

comment 1y ago · link · parent

Check out chorded keyboards. They've been a thing for a very long time. At least since early 00s or 90s when I saw them first. They are held one handed have 5 keys and you get different letters by chording multiple keys together.

comment 1y ago · link · parent

I also eat those yes. Something I don't see mentioned for a high protein diet often is gram flour. 22g protein per 100g and can be made into socca very quickly and easily with just water and small amount of oil.

comment 1y ago · link · parent

Sorry yes, I'm in the UK and lentils/beans commonly come pre-cooked in 400g cans which usually equates to around 240g drained weight. E.g. https://www.tesco.com/groceries/en-GB/products/262490576

Soy beans pre-cooked in cans don't exist in the UK.

comment 1y ago · link · parent

But in practice don't most people mean tofu when talking about soy beans for protein? That tends to come out at 10-13g per 100g. Same for cooked cans of soy/edamme beans and most other canned lentils/pulses? I've never seens 30g per 100g for cooked canned beans in reality.

I eat a high protein, vegetarian diet optimised for lifting weights, and "Approximately no additional grams, if you pick the right legumes." doesn't really add up for me. For the main sources of protein I usually try to eat daily:

Tofu 400g; eggs 3 large; cottage cheese (low-fat) 300g; greek yoghurt (0% fat) 250g; beans/lentils (mixed) 1-3 cans;

and then also supplement with whey protein powder to get to my daily protein target (~150g). To get there with just legumes I'd need to consume 15 cans of cooked lentils (i.e. not achieveable in reality).

comment 1y ago · link · parent

Has anyone invited an LLM inside their lisp process that can be accessed from the repl? Being able to empower an LLM to be able to affect the running lisp image (compile functions etc), and having changes reflected back to the source on disk would be interesting.

comment 2y ago · link · parent

I have a feeling that Le Guin didn't speak or read Chinese when creating her version, I think she outlines the process in the preface. That might explain the similarities you've noticed?

comment 2y ago · link · parent

Nowt is used in the north of England to mean nothing.

comment 2y ago · link · parent

Skipping tracks on vinyl is super easy, especially compared to fast-forward or rewind on casette.

https://www.youtube.com/watch?v=JF5toXl3H3c

comment 2y ago · link · parent

Yes things that were broken for me by default are explorer, notepad (using it with files over a network), calendar pop up, and start menu. And don't get me started on the UI of the sound/battery/network widget.

Every day I'm reminded of something I think Jo Armstrong said in a talk, paraphrased "Ah, an update! Maybe they made it better ;)".

comment 2y ago · link · parent

Oh wow, the wiki / project looks fantastically interesting. I've bookmarked it for a deeper read in the future.

Yes I did mean reversed.

comment 2y ago · link · parent

I think the only viable option to read pdfs on the subway would be a tablet.

Text to speech might be more pleasant than the zoom/scrolling you're talking about but I've never tried it?

comment 2y ago · link · parent

My mental model was always that the order of keywords mirrored the order the database engine applied them. So WHERE is processed first and SELECT last.

comment 2y ago · link · parent

I'm not addressing your point on fairness but I've been working on a similar program but instead of taking locks out on the queue table I maintain a consumers position for locked and acknowldeged messages on the consumers table. It makes lots of queries simpler. Here's a simplified schema using SQL Server:

  CREATE TABLE [dbo].[Nodes] (
    [Id]             UNIQUEIDENTIFIER NOT NULL,
    [NetworkId]      UNIQUEIDENTIFIER NOT NULL,    
    [Locked]         INT              NOT NULL,
    [Acknowledged]   INT              NOT NULL,
  );

  CREATE TABLE [dbo].[Messages] (
    [Id]            UNIQUEIDENTIFIER NOT NULL,
    [NetworkId]     UNIQUEIDENTIFIER NOT NULL,
    [NodeId]        UNIQUEIDENTIFIER NOT NULL,    
    [Payload]       NVARCHAR (MAX)   NULL,
    [InsertedOrder] INT DEFAULT (NEXT VALUE FOR dbo.MessageSequence) NOT NULL,
    [TimestampUtc]  DATETIME2 (7)    DEFAULT (sysutcdatetime()) NOT NULL,
  );

  Select * 
  From Nodes With (Rowlock, Holdlock)
  Where NetworkId = @networkId
  And Id = @nodeId
Multi-tenancy is per database.

(edit: simplified sql)

comment 2y ago · link · parent

From the summary this was certainly a surprise:

>> A more recent study shows that toxoplasma infection prevalence was a consistent, positive predictor of entrepreneurial activity. Fear of failure would be less important in infected individuals, who are more willing than others to start their own business. These elements shed interesting light on behaviours and their possible relationship with toxoplasmosis, which is generally considered benign in adults.

I think while the part about it being generally benign is corrent, I was always told it can be particularly harmful for pregnant women and their babies. That's why I was on cat litter duty for 3 years anyway.

comment 2y ago · link · parent

>> President Reagan ordered an unencrypted version of GPS to be made available to the public so that civilian aircraft would have a reliable form of navigation. At the time, no one apparently foresaw any motive or incentive for tampering with GPS signals, so no provision was made to protect them.

That can't be true, I believe one of the Die Hard films made at the time is based on this idea.

comment 2y ago · link · parent

Yep I've been bitten by this. Very frustrating. I went back to a usb stick containing the video and subtitle file stuck in the back of the projector.

comment 2y ago · link · parent

If you're wondering what to click and not from the UK:

Paddington (busy station): https://github.com/anisotropi4/kingfisher/blob/main/image/P/...

Penzance (rural endpoint): https://github.com/anisotropi4/kingfisher/blob/main/image/P/...

comment 2y ago · link · parent

Like another comment pointed out they seem to store pins as a JSON blob in a single column anyway. They probably should've used Drupal.

Really, this is pinterest. They store 'boards' and 'pins', you may as well have a bit of fun with it. What use cases do they have for the features you list? They probably only used a database for write transactions?

I deeply value database technology and use it daily, but I don't think something simple like this needs to worry too hard about it.

comment 3y ago · link · parent

Yes I think in the end I'll likely go for an GUID Id column, an integer InsertOrder column, and a timestamp which is non-essential meta-data.

comment 3y ago · link · parent

I ran into a fun bug last week. I wrote a piece of .Net Core software that accepts a batch of transactions. The transactions are shovelled into Sql Server without much processing. Each transaction had a timestamp set to DateTime.UtcNow in C#. I didn't expect the transactions to end up with duplicate timestamps but DateTime.UtcNow only has a resolution of between 0.5 and 15 milliseconds. So in a tight loop I got duplicates and couldn't determine the order my transactions were processed when querying the db, which is important!

In the end I used Sql Server's SYSUTCDATETIME which is precise to 100 nanoseconds. More importantly I gave all transactions in the batch the same timestamp, added a batch order int column, and a unique contraint on the timestamp, batchOrder columns.

Turns out DateTime.UtcNow is not really designed to give you a precise value for a messaging or transaction system! More of a sometime that day, probably.

Edit: don't trust timestamps, especially from different sources.

comment 3y ago · link · parent

I've used mechanical switch keyboards in the past. I can't be sure whether the tendonosis I suffered from was caused by the keyboards or something else, but after cutting out other probable causes, going through course(s) of medication, and using wrist supports and splints I moved to a cheap wireless keyboard and mouse combo and all pain disapeared. I've fully embraced the wonderful mushy, smudgy goodness of my keyboard now.

Edit: am Emacs user.

comment 3y ago · link · parent

In the UK football broadcasting is regulated. The traditional top-flight league games kick off at 3pm on Saturday. None of those matches are allowed to be broadcast to maintain gate revenues for the clubs. Very roughly speaking only 3 matches on Sunday and one or two on weekday evenings are broadcast. Cup matches etc are allowed to be broadcast too.

All these rules only govern what they can broadcast to UK citizens though. If you have a globally popular sport/product like the Premier League you can broadcast the Saturday 3pm matches to them, as they're unlikely to be able to attend a match anyway.

All that aside I actually think cycling could be a wonderful sport to view in this format. Great screnery shots from helicopters and close up peleton shots captured on motorbikes. Also strap into your turbo trainer to ride along for an hour too!

comment 3y ago · link · parent

I follow this market a little, and haven't seen one yet. The brands I'd check would be Nokia and Doro. There was a company making small power bank and feature phone combo but I can't remember the name.

It might be more fruitful to look at mobile broadband hotspots or whatever they're being called now. Could imagine a 5g one of those would be more likely?

comment 3y ago · link · parent

Which countries have accessible monthly rentals? I'd be interested to know for trip planning.

comment 3y ago · link · parent

I'd imagine doing this for a short while is fun but long term it's probably best to let your body handle things.
123