Better HN
topnewbestaskshowjobs
Log inSign up

kgbcia

193 karma · joined Mar 19, 2022 (4y ago) · 160 submissions

I like text based forums
Submissions

comment 1y ago · link · parent

Should be rebranded "calcium fortified drinks"

comment 1y ago · link · parent

Would be great for eink/epaper devices.

comment 1y ago · link · parent

Let's see if apple will remove USBC to make the phones thinner

comment 1y ago · link · parent

why not Rust?

Anders: When you have a product that has been in use for more than a decade, with millions of programmers and, God knows how many millions of lines of code out there, you are going to be faced with the longest tail of incompatibilities you could imagine. So, from the get-go, we knew that the only way this was going to be meaningful was if we ported the existing code base. The existing code base makes certain assumptions -- specifically, it assumes that there is automatic garbage collection -- and that pretty much limited our choices. That heavily ruled out Rust. I mean, in Rust you have memory management, but it's not automatic; you can get reference counting or whatever you could, but then, in addition to that, there's the borrow checker and the rather stringent constraints it puts on you around ownership of data structures. In particular, it effectively outlaws cyclic data structures, and all of our data structures are heavily cyclic.

comment 2y ago · link · parent

Good read, sent it to my Kindle. It was the CIA who messed up that country in the modern era. Glad they found oil and now have insane GDP growth. Hope they don't ruin the Amazon rainforest nearby. Hope the racial tensions ease down and infrastructure is built up, so I can visit one day.

comment 2y ago · link · parent

Decision trees is all we needed

comment 2y ago · link · parent

What about eink

comment 2y ago · link · parent

Isn't .mobi an ebook format?

comment 2y ago · link · parent

It's weird how these headlines are written in the passive voice and as to blame Hezbollah. "At least 20 dead as walkie-talkies explode in Lebanon as Israel declares ‘new phase of war’ against Hezbollah"

How about Israel detonates 3000 explosives in Lebanon.

comment 2y ago · link · parent

if it's anything like the Sims, or imvu second life, it will be popular. People like to fantasize about a life they can't have.

comment 2y ago · link · parent

Time for that breakup

comment 2y ago · link · parent

Still waiting for cookies to be removed

comment 2y ago · link · parent

I registered a top domain for ten years , total cost $28.

comment 2y ago · link · parent

Okay I will play this game without a crawler. i looked up UFC fighter https://en.m.wikipedia.org/wiki/Khabib_Nurmagomedov. Then you see oh his personal life says he's a Muslim, that leads to islam article, Quran, religious text, religions, Philosophy of religion,Ethics, then philosophy!

comment 2y ago · link · parent

Great move. I'm not a fan of emacs nor vim complexity.

comment 2y ago · link · parent

It's not stupid, just you get what you pay for in LLM. I think LLM need some kind of reinforcement learning stage to instruct them what's true and false. obviously Google rushed this thing out of the gate to prevent ChatGpt from taking over their search space. I find myself using ChatGpt more often, since it's advertisement free at the moment.

comment 2y ago · link · parent

Wish they could plant some random crops like potatoes and corn to the mix. And a healthy barrier to prevent wildfire from destroying all their work.

comment 2y ago · link · parent

Goes for any software that can be copied

comment 2y ago · link · parent

I was thinking of doing something like this for visually impaired users. The next step is to pipe it into the JavaScript web speech synthesis API.

https://mdn.github.io/dom-examples/web-speech-api/speak-easy...

20.

Feature request: Can we have dark mode?

3 points · by kgbcia · 2y ago · 5 comments

comment 2y ago · link · parent

so ChromeOS

comment 2y ago · link · parent

The real issue is there is legacy code written 40 years ago that no one wants to update.

comment 2y ago · link · parent

We need more sites like hackernews. X /twitter used to be that , but it's now overwhelmed with bots and SEO. The more boring you make a site (no colors, no images, no links) the better the defense against spammers.

comment 2y ago · link · parent

for ubereats , you have a chance to tip upfront which is basically a bribery since the company in California can't give their drivers a liveable wage. But at the same time,some drivers don't want to work shift. The only way forward I think is giving shifts whether 6 or 8 hours. But then drivers can't refuse riders, they will get vacation pay, etc

comment 2y ago · link · parent

Seeing alot of online reviews that the AVP is too heavy. The front loaded weights but pressure on your cheeks and the straps put pressure on your temple. I like the idea of multiple monitors at high resolution, but not worth the pain on the face.

comment 2y ago · link · parent

The more Google loses market share, there is hope we will see competition rises. I'm liking OpenAI, Archive.org etc.

comment 2y ago · link · parent

How about move the business logic to stored procedures

comment 2y ago · link · parent

Remove stimuli. If it's noise, use headphones and earplugs. If it's people, face your computer away from them. If it's inbox, increase update or retrieval time. You have the solutions.

comment 2y ago · link · parent

So I asked ai to make a datalog implementation in JavaScript.

// In-memory storage for voted users const votedUsers = new Set();

// Datalog-like rules function eligible_to_vote(user) { return isUserOldEnough(user) && isCanadianCitizen(user); }

function voted(user, bill) { return votedUsers.has(`${user}_${bill}`); }

// Custom rules function isUserOldEnough(user) { // Assuming age is stored in user object return user.age >= 18; }

function isCanadianCitizen(user) { // Assuming citizenship information is stored in user object return user.citizenship === 'Canada'; }

function recordVote(user, bill) { // Record that the user has voted on the specified bill votedUsers.add(`${user}_${bill}`); }

// Example usage const user = { name: "user123", age: 25, citizenship: "Canada", };

const bill = "bill456";

if (eligible_to_vote(user)) { console.log("User is eligible to vote.");

  if (!voted(user.name, bill)) {
    console.log("User can vote on this bill.");
    // Implement further logic for voting...

    // Record the vote
    recordVote(user.name, bill);
  } else {
    console.log("User has already voted on this bill.");
  }
} else { console.log("User is not eligible to vote."); }
123456