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

>all of them being a horrible one

Silverlight was nice, pity it got discontinued.


Lets not forget it was actually the platform for Windows Phone 7, existed as alternative to WinRT on Windows 8.x, only got effectively killed on Windows 10.

Thus it isn't as if the browser plugins story is directly responsible for its demise.


Yes, sounds right. Because you can't hit a killer with stone if you envy your rich neighbor.

There's a reason Nietzsche labeled it slave morality. It undermines people's confidence to act and judge other appropriately, revalues weakness to be a virtue and strength as evil, and demands that people stop trying to change the world for the better and focus instead on their own supposed guilt. It's morality developed for people who are structurally unable to act (because they are commoner serfs with no power) to make them feel justified and satisfied with inaction.

The launch was shifted from December, 2025 to somewhere in the first half of 2026, but I suppose it's worth reporting for Ukrainian propaganda outlet as "production failure".

Meanwhile you may enjoy the list of satellites[0] manufactured by independent Ukraine in the 35 years of its existence and read about all 4 of them. I'd say they have shed the Soviet legacy quite successfully.

[0] https://en.wikipedia.org/wiki/Category:Satellites_of_Ukraine


I agree "production failure" is inaccurate. The real reasons are 'corruption and incompetence'.

> like Rust

Where people use things like anyhow.[0]

[0] https://docs.rs/anyhow/latest/anyhow/


Anyhow erases the type of the error, but still indicates the possibility of some error and forces you to handle it. Functionality-wise, it's very similar to `throws Exception` in Java. Read my post

As a matter of fact I did when it appeared on hn.

>forces you to handle it.

By writing `?`) And we get poor man's exceptions.


Poor man's checked exceptions. That's important. From the `?` you always see which functions can fail and cause an early return. You can confidently refactor and use local reasoning based on the function signature. The compiler catches your mistakes when you call a fallible function from a supposedly infallible function, and so on. Unchecked exceptions don't give you any of that. Java's checked exceptions get close and you can use `throws Exception` very similarly to `anyhow::Result`. But Java doesn't allow you to be generic over checked exceptions (as discussed in the post). This is a big hurdle that makes Result superior.

>Poor man's checked exceptions.

No, it's not quite the same. Checked exceptions force you to deal with them one way or another. When you use `?` and `anyhow` you just mark a call of fallible function as such (which is a plus, but the it's the only plus), and don't think even for a second about handling it.


Checked exceptions don't force you to catch them on every level. You can mark the caller as `throws Exception` just like you can mark the caller as returning `anyhow::Result`. There is no difference in this regard.

If anything, `?` is better for actual "handling". It's explicit and can be questioned in a code review, while checked exceptions auto-propagate quietly, you don't see where it happens and where a local `catch` would be more appropriate. See the "Can you guess" section of the post. It discusses this.


And developers never forget to check error codes.

Looking at code, it‘s easier to spot the missing check for an error code, than a not catched exceptions.

Also error codes are part of the signature of a function, which exceptions aren‘t.


If you need to wrap each call in try/catch, it's better to use return codes in some form or rethink the approach.

may I introduce you to the nodiscard attribute[1]?

  enum (class)? [[nodiscard]] Error {
    Ok,
    NoMem,
    ...
  };
[1]: https://en.cppreference.com/w/cpp/language/attributes/nodisc...


FWIW I’ve been using warn_unused_result in both gcc and clang since about 2020.

Yep, partial remedies are available for quite some time.

> C++, it is a poorly designed language

Unlike C# that has both delegates and lambdas, for example. Also finalizers and IDisposable.


At google "more than 8% of DIMM memory modules were affected by errors per year" [0]

More on the topic: Single-event upset[1]

[0] https://en.wikipedia.org/wiki/ECC_memory

[1] https://en.wikipedia.org/wiki/Single-event_upset


At the time Google was taking RAM that had failed manufacturer QA that they had gotten for cheap and sticking it on DIMMs themselves and trying to self certify them.

> At google "more than 8% of DIMM memory modules were affected by errors per year"

That's all errors including permanent hardware failure, not just transient bit flips or from cosmic rays.


You are right. Apologies for spreading false information(

"We provide strong evidence that memory errors are dominated by hard errors, rather than soft errors, which previous work suspects to be the dominant error mode." [0]

"Memory errors can be caused by electrical or magnetic interference (e.g. due to cosmic rays), can be due to problems with the hardware (e.g. a bit being permanently damaged), or can be the result of corruption along the data path between the memories and the processing elements. Memory errors can be classified into soft errors, which randomly corrupt bits but do not leave physical damage; and hard errors, which corrupt bits in a repeatable manner because of a physical defect."

"Conclusion 7: Error rates are unlikely to be dominated by soft errors.

We observe that CE [correctable errors] rates are highly correlated with system utilization, even when isolating utilization effects from the effects of temperature. In systems that do not use memory scrubbers this observation might simply reflect a higher detection rate of errors. In systems with memory scrubbers, this observations leads us to the conclusion that a significant fraction of errors is likely due to mechanism other than soft errors, such as hard errors or errors induced on the datapath. The reason is that in systems with memory scrubbers the reported rate of soft errors should not depend on utilization levels in the system. Each soft error will eventually be detected (either when the bit is accessed by an application or by the scrubber), corrected and reported. Another observation that supports Conclusion 7 is the strong correlation between errors in the same DIMM. Events that cause soft errors, such as cosmic radiation, are expected to happen randomly over time and not in correlation.

Conclusion 7 is an interesting observation, since much previous work has assumed that soft errors are the dominating error mode in DRAM. Some earlier work estimates hard errors to be orders of magnitude less common than soft errors and to make up about 2% of all errors."

[0] https://www.cs.toronto.edu/~bianca/papers/sigmetrics09.pdf


>Moscow has openly challenged the UN Charter’s prohibition on changing borders by force

And this article talks about Putin and "no hint of self-awareness". NATO changed Serbian borders, if anyone needs a memory pill.


>a Russian friend told me

n=1

I'm Russian and think of Switzerland and Finland when I hear "successful democracy".


It was actually based on a vibe I picked up from several Russian co-workers so I asked one specific friend about it and that's how he explained it to me. So it is based on a small sample size but also surprising to hear it from him because he's not exactly pro-Putin.

I don't know the full context of your conversation, but it strikes me as odd that these Russians don't take into account that different countries possess different amount of resources and have different population.

>being occupation forces

That's literally what they are. American forces appeared in Germany in 1945.


They’re not occupying forces. There is a status of forces agreement between the two countries.

https://en.wikipedia.org/wiki/Status_of_forces_agreement


You are right. But it's a matter of perspective. In the mainstream perspective those bases are based on contracts and a method of mutual security. But there is indeed also the perspective in Germany that those bases are factually occupying forces and given their history the option of having those bases removed have been limited.

And there is a kernel of truth in it. The USA likely wouldn't give up Ramstein under any circumstances safe the German military mobilizing against them, the base is (was?) too important for the US. When Trump invades Greenland we will see this play out (how the base stays active and Germany is powerless to stop that).


So the occupier and country occupied signed an legal agreement making the occupation officially legal?

De facto and de jure are two very, very different things...

(not saying the US forces are occupying Germany, just commenting on op's logic)


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

Search: