News for hackers. Stuff that matters.

kgbcia

Should be rebranded "calcium fortified drinks"
Re:Convert photos to Atkinson dithering on Saturday June 07, 2025 @06:51PM (#44213210)
Would be great for eink/epaper devices.
Let's see if apple will remove USBC to make the phones thinner
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.

Re:Notes on Guyana on Saturday November 09, 2024 @02:00PM (#42096186)
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.
Re:Were RNNs All We Needed? on Thursday October 03, 2024 @07:59PM (#41736378)
Decision trees is all we needed
What about eink
Re:HTTP: , FTP:, and Dict:? on Sunday September 22, 2024 @10:47PM (#41622010)
Isn't .mobi an ebook format?
Re:At least 20 dead as walkie-talkies explode in Lebanon on Thursday September 19, 2024 @07:37AM (#41590742)
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.

Re:PUBG developer Krafton make a life simulation game inzoi on Wednesday August 21, 2024 @04:58AM (#41308276)
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.
Time for that breakup
Re:Google and Meta struck secret ads deal to target teenagers on Thursday August 08, 2024 @06:36AM (#41189959)
Still waiting for cookies to be removed
Re:Phish-Friendly Domain Registry ".top" Put on Notice on Wednesday July 24, 2024 @10:57PM (#41064353)
I registered a top domain for ten years , total cost $28.
Re:Wikipedia: 97% of all articles lead to Philosophy on Sunday June 23, 2024 @02:38PM (#40769538)
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!
Re:GNU Nano 8 comes with modern key bindings on Friday May 31, 2024 @05:57PM (#40540737)
Great move. I'm not a fan of emacs nor vim complexity.
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.
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.
Goes for any software that can be copied
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...

Re:Goodbye GUI … Hello NUI (1997) on Sunday March 03, 2024 @09:11AM (#39580923)
so ChromeOS
Re:Eric S. Raymond tweet on current C safety issues on Friday March 01, 2024 @11:00AM (#39562995)
The real issue is there is legacy code written 40 years ago that no one wants to update.
Re:A steep rise of Hacker News in Google rankings on Sunday February 18, 2024 @05:31PM (#39424160)
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.
Re:People don't want to tip their Uber and Lyft drivers on Sunday February 18, 2024 @04:28PM (#39423560)
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
Re:Coding in Vision Pro on Saturday February 17, 2024 @06:59PM (#39414721)
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.
Re:Google Search officially retires cache link on Friday February 02, 2024 @08:04PM (#39236625)
The more Google loses market share, there is hope we will see competition rises. I'm liking OpenAI, Archive.org etc.
Re:ORMs are nice but they are the wrong abstraction on Thursday February 01, 2024 @12:57AM (#39213114)
How about move the business logic to stored procedures
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.
Re:Datalog in 100 lines of JavaScript (2022) on Monday January 22, 2024 @07:54AM (#39088973)
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."); }
Re:New York Times Flash-based visualizations work again on Friday January 19, 2024 @11:15PM (#39064613)
So is there open source tools to create flash content. For those that want to skip learning JavaScript/html/css

Older »