News for hackers. Stuff that matters.

chen_dev

Re:Dots: Always-on agents on Wednesday September 30, 2026 @03:01AM (#49905400)
fyi, the cloud env is MITM. tested https://gmail.com with curl and browser including downloaded firefox: OpenAI-issued certificate: Subject: CN=gmail.com Issuer: O=OpenAI, LLC; CN=openai.com Certificate verification: passed Response: 301 redirect to https://mail.google.com/mail/u/0/
> writing about each other in what is essentially their own private diaries

And yet, those "diaries" are an incredibly effective way to control the public narrative.

> it gets deserialized as the zero value

It’s more complicated:

https://protobuf.dev/programming-guides/enum/

>> What happens when a program parses binary data that contains field 1 with the value 2?

>- Open enums will parse the value 2 and store it directly in the field. Accessor will report the field as being set and will return something that represents 2.

>- Closed enums will parse the value 2 and store it in the message’s unknown field set. Accessors will report the field as being unset and will return the enum’s default value.

Limits Reached -> PubSub Notification -> Shutdown Sequence.

Because it's a free plan, the delay between 'limits reached' and actual shutdown only incurs the cost of providing the service during that brief period, not the potential liability of overcharging that might exist on a paid plan.

Re: on Monday January 13, 2025 @01:53PM (#42687081)
Not sure about 'I can do it because I am morally superior'. Is it required to be morally superior to have an opposing view?

> other folks can't because they don't get it like I do

His point of view undoubtedly resonates with 'some folks'.

Re: on Monday January 13, 2025 @01:36PM (#42686859)
This comment is kinda harsh isn't it? Do you have anything specific from his words to support:

> ... mind become filled with mush

> desperate pledge of allegiance ...

Re:Atomic Operations Composition in Go on Tuesday June 25, 2024 @08:26PM (#40795216)
1) what

#![allow(unused)]

fn main() {

    use std::sync::atomic::{AtomicI64, Ordering};

    let some_var = AtomicI64::new(5);
    
    if some_var.load(Ordering::Relaxed) % 2 == 0 {
        some_var.fetch_add(1, Ordering::Relaxed);
    } else {
        some_var.fetch_add(2, Ordering::Relaxed);
    }
}
Re:Atomic Operations Composition in Go on Tuesday June 25, 2024 @07:31PM (#40794885)
> People sometimes think that the composition of atomics also magically becomes an atomic operation. But this is not the case.

> var counter atomic.Int32

> func increment() {

> if counter.Load()%2 == 0 {

> sleep(10)

> counter.Add(1)

> } else {

> sleep(10)

> counter.Add(2)

> }

> }

Is "atomic operations composition" a real term? Or it's something like "monolithic microservice"? What does that even mean?

Re:Oracle Cloud Outage on Saturday November 04, 2023 @09:19PM (#38147016)
incident is showing up on the official status page:

https://ocistatus.oraclecloud.com/#/incidents/ocid1.oraclecl...

Oracle Cloud Outage

Similar to previous outage: https://news.ycombinator.com/item?id=36169992its status is not showing any issues. https://ocistatus.oraclecloud.com/#/https://downdetector.com/status/oracle-cloud/Some pages of its console return "Bad Gateway". VPN and Instances connections are down.

( Read More... | 10 comments | 2 points | on HN )
Re:Fixing for Loops in Go 1.22 on Tuesday September 19, 2023 @04:44PM (#37576249)
the 'fix' to the example in the README should be obvious, but for reference:

- for _, e := range es {

- pumpUp(&e)

}

+ for i := range es {

+ pumpUp(&es[i])

}

Interesting topic. A pretty good video about this: https://www.youtube.com/watch?v=ZMQbHMgK2rw