News for hackers. Stuff that matters.

Bombinator

Re:The Birth of Standard Error (2013) on Saturday July 13, 2024 @09:19AM (#40953964)
You can set the buffering mode of any file stream with setvbuf. For example, setvbuf(stderr, NULL, _IOLBF, BUFSIZ) sets stderr to line buffered I/O.
Re:Ask HN: What Are You Learning? on Tuesday April 02, 2024 @10:22AM (#39906064)
rust
Click on + for Fedora and Ubuntu and check "Stability"
Re:Why LLMs scaling will not work on Friday December 29, 2023 @07:26AM (#38804201)
People have been killing each other for their entire history, I don't think that has changed. It's just that you hear about and see it more often now.
Re:Show HN: Rem: Remember Everything (open source) on Thursday December 28, 2023 @03:25PM (#38798173)
Oh, well I think what he meant is that some malicious program could read and transmit this unencrypted recorded data which is normally stored in an encrypted form
Re:Show HN: Rem: Remember Everything (open source) on Thursday December 28, 2023 @01:36PM (#38796820)
> Like say from my password manager? Or API keys in my terminal?
Re:Show HN: Rem: Remember Everything (open source) on Thursday December 28, 2023 @01:13PM (#38796484)
> The demo is showing recording a web-browser He said it's not recording but taking a screenshot every 2 seconds and I assume it's not just for a browser but all text on the desktop.

> I also don't understand the chatGPT component You give it context from the "recording" and it answers questions you give it with that context info.

Re:Yabai – A tiling window manager for macOS on Friday December 01, 2023 @02:14AM (#38484057)
It's usable if you can live with some small annoying inconveniences last I tried. I can't remember if there were more inconveniences but what bugged me the most was that the touchpad was too sensitive compared to MacOS, it seemed to register accidental touches on the edges more and accidental taps were easier. I tried figuring out if this is fixable with libinput or hwdb but eventually gave up. Also the shortcuts with Command key are way more convenient than the ctrl ones but this probably is configurable somehow. Some Java programs had scaling issues but that can be configured to work properly. Battery life was a bit worse I think, this is with the GPU drivers and no video playback, just regular browsing. Oh and external monitor support isn't there, I do use this sometimes on MacOS.
Isn't that implying OP is a script kiddie? I don't think writing a debugger is a script kiddie project.
Re:Text editing on mobile isn’t ok on Monday September 25, 2023 @03:32AM (#37640598)
I saw Unexpected Keyboard recommended here, turns out it can do this as well among other things. Just tap Shift and drag left/right on spacebar. The main feature though is that you can enter the characters that aren't used commonly by swiping insted of holding on a key or switching to a different key view. You can also get Ctrl and Alt and you can like lock them as well which is useful in Termux.
Re:Things I tried to improve sleep on Saturday August 26, 2023 @09:22PM (#37278532)
I don't understand going cold turkey. You said it had a difference for you. What was it? I've tapered off before, it probably took like a week at most and I experienced no headaches.
From what I understand it was discovered in 1999, hence LK99. Doesn't seem very quick to me in that case.
Re:Systemd 254 released, deprecating sysvinit scripts on Friday July 28, 2023 @11:12AM (#36907972)
Don't you think it does a bit too much as an init system?
Re:When did people stop being drunk all the time? on Wednesday July 26, 2023 @03:30AM (#36874190)
Distill
> [1] https://setiathome.berkeley.edu/

That link says " We encourage you to keep crunching for science." with a link to https://scienceunited.org/

Ask HN: Startup for RISC-V?

I think I'm in a good position to start a startup. I have a family member that is good with business management stuff and legal aspects of all of this, I'm very young (19), have some disposable income but I would need to get some more for a startup and I have no expenses (living with family).SiFive has been pretty successful but I it's not a realistic goal to compete with them. Is there...

( Read More... | 1 comment | on HN )
Re:How Many People Have Ever Lived on Earth? on Wednesday July 05, 2023 @07:01AM (#36598595)
dude... whether it's jesus or eternal nothingness, it takes faith to believe in both. There's no evidence for any of this so the only correct answer is we don't know.

> All empirical evidence from thousands of years of scrutiny

Yes, I'm very curious to see empirical evidence of what happens post-death and someone who lived to tell us.

> Since reddit also appears to keep edits

How do you know this?

Re:Show HN: Bing sidebar ported from Edge to Chrome on Tuesday June 27, 2023 @12:49AM (#36489037)
You can just change the user agent but it's still dumb that you have to.
Same, he's so friendly.
Does that mean it can't be used for desktop PCs? I remember using it in the past but on a vm.
Re:Ask HN: What are your predictions for the world in 2023? on Saturday December 31, 2022 @10:33AM (#34197273)
Aren't anonymous transactions a use for it? Like monero
Re:Ask HN: How did you stop drinking? on Tuesday October 11, 2022 @09:05AM (#33162885)
I have used alcohol heavily, now I use it irregularly if at all. I just try not to take it too seriously since life is pretty short as is, I don't start hating myself the next day after a drinking session. Regardless what has made my consumption lower is my experience with alcohol, I just think about it's effects and often decide it's not worth it for me. I spend my free time on my PC and drinking just makes it harder for me to think leaving me with very little to do besides watching movies, tv shows, youtube, playing games, etc. I often rather just learn something about linux or computers in general, feels more rewarding doing that.