Hacker Newsnew | past | comments | ask | show | jobs | submit | Copenjin's commentslogin

Some of these replies make me wonder if you have ever written any code at all, nonsensical example.

You can hope that the person reading the context will always able to understand it like you would have. Bad assumption in my experience.

Quite true. It can be a bad assumption when I’m the one trying to understand it weeks later. :)

Exactly. Some applications keep running way after you have long gone. If there is useful information to provide give it.

> If something needs to be fixed, why is it just a log?

What he meant is that is an unexpected condition, that should have never happened, but that did, so it needs to be fixed.

> How is someone supposed to even notice a random error log?

Logs should be monitored.

> At the places that I've worked, trying to make alerting be triggered on only logs was always quite brittle, it's just not best practice.

Because the logs sucked. It not common practice, it should be best practice.

> Throw an exception / exit the program if it's something that actually needs fixing!

I understand the sentiment, but some programs cannot/should not exit. Or you have an error in a subsystem that should not bring down everything.

I completely agree with the approach of the author, but also understand that good logging discipline is rare. I worked in many places where logs sucked, they just dumped stuff, and had to restructure them.


While it is fun to have your code run for 500 days without restart, it is a bad architecture. You should be able to move load around from host to host or network to network without losing any work. This involves graceful draining and then shutting down the old.

For impossible errors exiting and sending the dev team as much info as possible (thread dump, memory dump, etc) is helpful.

In my experience logs are good for finding out what is wrong once you know something is wrong. Also if the server is written to have enough but not too much logging you can read them over and get a feel for normal operation.


Is this what distros are now? Just a customized theme for fedora with some pre-installed apps? What happened?


She reminds me of the old people managing their crumbling shops in Japan that are popular on youtube. Being still able to work is nice, as long as you are not forced to just to survive.


The fact that it's a fragile kleptocracy basically reduce to 0 any possibility of a normal future. Puppet state at best, if someone is willing to take them. I expect they already planned what to do with the returning soldiers, not that they will like it or accept gracefully what's in store for them.


China will buy Siberia. No shots fired.


I would not be surprised.


Or simply take it over. No shots fired.


Invade with what? Refugees running away from a poor and failing country? Man...


Russia is neither poor nor failing, and saying that is underestimating the real actual danger they present.

Russia has vast natural resources and enough buyers for those resources even if the EU manages to completely stop (at significant cost). Their industry turned to wartime mode, resulting in the fact that they now have more armored vehicles than in February 2022.

Will they actually physically reach Italy? Probably not. Will they try to buy it out and bring a (even more) fascist autocratic regime there? Probably yes.


It's both poor, failing and with a population affected by chronic depression. But for that reason (desperation) they should not be underestimated and should have been handled in a way less gentle way.

> Russia has vast natural resources and enough buyers

Not saying that it's not what has kept them standing until now, but the buyers make the price in this case. So who knows what the price could become in the future.

> Will they try to buy it out and bring a (even more) fascist autocratic regime there? Probably yes.

Are you still talking about Russia with their monopoly currency? "Try" as in one probability over one billion to succeed and be disposed of a few days later. This ability to influence foreign countries effectively and not in clownish ways is a nice story for kids.


Very good, not always perfect with text or with following exactly the prompt, but 6B so... impressive.


I have had good textual results with the Turbo version so far. Sometimes it drops a letter in the output, but most of the time it adheres well to both the text requested and the style.

I tried this prompt on my username: "A painted UFO abducts the graffiti text "Accrual" painted on the side of a rusty bridge."

Results: https://imgur.com/a/z-image-test-hL1ACLd


> The server was deserializing untrusted input from the client directly into

If I had a dollar for every time a serious vulnerability that started like this was discovered in the last 30 years...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: