HNHacker News
TopNewBestAskShowJobs

frozenlettuce

810 karma · joined March 30, 2018

submissionscomments
frozenlettuce··on 15-150: Principles of Functional Programming
yeah, I've been trying to get this mindset as well - even though sometimes I feel that I'm "cheating" :)
frozenlettuce··on 15-150: Principles of Functional Programming
My complaint with FP: Sometimes I just want to do something silly, like adding a log somewhere. If I choose to add said side effect, now all my functions are marked with an io signature (so there might be _other_, nastier side effects hiding there as well - mainly an issue if you have multiple people contributing to the same project). If I don't add the side effect, and choose to refactor multiple layers of code, I will need to make all my functions return multiple values and later fold over all the accumulated strings and... life is too short for that. The principles really resonate with me, but maybe we are limited by the current tooling, because the development experience is quite clunky in its current stage.
frozenlettuce··on Find bilingual baby names
"Gloria" spans multiple European languages (with some having an "ó", but mostly recognizable)
frozenlettuce··on Gen Z is lonely. Going back to the office may be the cure for some
nice try, Commercial Real Estate PR department
frozenlettuce··on Exclusive hardwood may be illegally harvested
It refers to it being from Brazil. Wood is not a popular building material here.
frozenlettuce··on Exclusive hardwood may be illegally harvested
Recently I was watching Property Brothers and saw two episodes where both houses had Brazilian Hardwood flooring. The funny thing is that I live in Brazil and it is quite rare to find houses with that type of flooring - the bureaucracy and costs associated make it very expensive - but that might not be the case if the customer is Canadian
frozenlettuce··on UK government surveilling social media of teaching assistants
The thing is, it is much more confortable for government officials to run after low-level citizens than fighting actual crime. If you paint a scary enough picture ("encryption enables exploitation of children!"), the public might even be more afraid of people those "agitators" than gang wars or robbery.
frozenlettuce··on Ask HN: Released games built on FOSS engines?
Vampire Survivors was created in Phaser and later ported to Unity for the Steam release. https://www.gamingonlinux.com/2023/07/vampire-survivors-swit...
frozenlettuce··on Argentina's Senate approves bill to eliminate income tax
It's interesting that the article doesn't mention Javier Milei - maybe the intention from the Minister/Candidate was showing up as a someone who is economic liberal to counter his surging in the polls
frozenlettuce··on Project Management Software Can't Save You
For most developers, agile means being coached daily like in a sports team. Most folks just want to know what to do, work on it, deliver and repeat. Instead of empowering developers it allows managers to micromanage with a daily feedback loop.
frozenlettuce··on Netflix Ships Last DVD
Not sure if accurate, but according to this https://movies.mxdwn.com/feature/is-buying-dvds-and-blu-rays....

"DVDs still conquer the market within those sales, and at their peak, DVD sales were over $18 billion, while Blu-Rays made just over $2 billion in a year."

frozenlettuce··on Studio Ghibli set to become subsidiary of Nippon TV
I find it amusing given that in Princess Mononoke one of the villians loses an arm - does he sees that a punishment? Does he think that a bad person deserves that? Wasn't it also "disrescpectful" to his disabled friend? IMO that is just people making-up emotional arguments to trash the younger generation to keep them in control.
frozenlettuce··on 11,196 Years Jail Sentence for Faruk Özer, CEO of Turkish Crypto Exchange Thodex
that sucks for the victims, as crypto was attractive because of the crazy inflation in Turkey
frozenlettuce··on Portal 64 – A demake of Portal for the Nintendo 64
People ignore the energy and scarcity of the materials involved in creating the hardware. It's like recharging a car battery with power from a coal plant.
frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
This weekend I'm going to make it easier to run customized instances. I wasn't expecting a good reception from folks lol
frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
It should be possible to adjust the prompt asking the ai to include a reason for inclusion/rejection too.
frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
I run the script every 6hrs. When a candidate list is built, it has around 15 items + the prompt. That usually goes around 1k tokens. When generating an article, the prompt has 1k tokens and the response has around 1k tokens (I ask for text with up to 250 words). If the source article is long I just truncate it - it should be enough to create a summary presenting the topic. It is possible to batch article creation, submitting the prompt once alongside 2-articles, but I don't think that it would be worth the hassle. I'm getting billed 1c for every 12-15 articles generated (using gpt3.5turbo
frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
that's true! added some responsive classes to the columns
frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
some additional info: this is the prompt that filters "candidates" to be scraped: https://github.com/lfarroco/news-radar/blob/main/src/candida...

This is the prompt that generates the articles: https://github.com/lfarroco/news-radar/blob/main/src/writer....

frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
It's https://dev-radar.com/, the repository is https://github.com/lfarroco/news-radar
frozenlettuce··on ‘World of Warcraft’ players trick AI-scraping website into publishing nonsense
I created a website that does the following:

- pick HN items with more than 400 votes

- gather their titles in a list

- ask the AI to filter out the ones that are not tech-related (bay-area topics, politics)

- scrape selected articles

- write summaries

- publish static website

other sources are reddit subreddits and rss feeds (official languages' blogs and github's releases page). The AI is quite gullible. That can be avoided by giving it more context and having a review step where you make sure that you are enforcing your editorial rules. Another thing that I've been wondering is having a cheaper model (gpt-turbo-3.5) write articles and then use a more sophisticated to review them (gpt4)

frozenlettuce··on FTC warns board game content creators, publishers to disclose relationships
Yeah, filmmakers put extra effort I hiding a brand if it is not paying (eg. laptop stickers)
frozenlettuce··on Google tests A.I. tool that is able to write news articles
I built a simple and ugly website that generates AI news based on updates from frameworks and libraries, and content that is trending on reddit/HN using the OpenAI API. Yes, it has ads.

Some things that I've learned so far:

- The AI is too gullible. If I ask it to write a short summary of an article, if the source article is trying to shill a product or service, the AI will replicate the salesman discourse. I tried adjusting the prompt to see if I could make it more critical of content that it is analyzing (by telling it ahead of time that the post might be trying to push a product/service).

- Costs are ludricously low. It costs like 1 cent per 15 articles.

- My next experiment will be with local news. I'm building some feeds with public information from my town (the town's hall official news, the legislators weekly meeting notes, weather reports, waze, etc), and based on that make it generate news items. The thing about it is that its sources will be (nearly) primary - it will not copy content from other journalists (apart from the official prefecture news, which I will need to tell the AI that will be biased towards the current administration). When analyzing the local records, it might be able to catch shady stuff that regular journalists would not notice. Imagine feeding some buying orders from the town and asking the AI ("is something illegal going on here" or "are any of these items overpriced?")

- I see a risk/opportunity for infinite content generation. Example: generate 50 headlines for articles about the Kardashians. The next day, ask for more and provide the last 200 headlines, to make sure that no repetitions occur. It would flood search engines with almost random content. I think that something like that could be useful to fill "holes" in wikipedia, though.

The site that I built is https://dev-radar.com/

frozenlettuce··on Welcoming Shopify as a Ladybird sponsor
Crazy to think that about one month ago there were some haters on twitter were claiming that the project would never amount to anything. Way to go, Kling!
frozenlettuce··on Is Google reCAPTCHA GDPR Compliant?
My favorite thing is going into a non-us government site and having to solve a recaptcha with a US-centric thing: "Mark all the school buses", "Mark all the stop signs"
frozenlettuce··on An America-Less Internet
Here in Brazil the left even imported the term "Uncle Tom". Our existing term for that ("Capitão do Mato") was deemed racist - so anyone that didn't got the memo from the American left was automatically in the evil person box
frozenlettuce··on An America-Less Internet
Yeah, it's very annoying have any sort of discussion about a philosophical topic and someone comes with something like "BUT THE FOUNDING FATHERS"
frozenlettuce··on Gren – an Elm fork
Gotta love the cult of personality
frozenlettuce··on Third-party Reddit apps are being crushed by price increases
That was mostly just my cynical take.

Around 2007-08 I read in a(physical) Brazilian web design magazine that you can have two types of design: - for short, ephemeral experience, your design should be striking - the user will just look at the thing once anyway, so you should capture the attention in spite of how ease of navigation. Eg. a website for a rock band tour. - for experiences that will need to be repeated lots of times (eg. using a corporate system, reading the news), you want the design to be boring and predictable.

I think that minimalism has been used to push interfaces that reduce information density - regardless of how the density would be useful in that context!

After the original Material Design video https://www.youtube.com/watch?v=rrT6v5sOwJg the writing was on the wall: if you want to build a google-grade portfolio, create designs that resemble this. After some time users got used to that kind of look and now sites with high density of information look alien.

frozenlettuce··on Third-party Reddit apps are being crushed by price increases
It's on purpose. The new UI places each post inside a "card". The intent is having you scroll past cards. This makes even text-only posts be similar to image ads posts, and while you scroll you are not aware if the next card is an ad or not.

Layouts with heavy information density (as old.reddit.com) are more user friendly, as you they allow you to just scan the list and be done with it. But are bad for ads.

← PreviousPage 3 of 8Next →