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

I've never heard of that being banned. It hasn't been banned anywhere i've written Java.

Similarly I never been in a company that outright banned c++ language of library features[1]. Turns out that different companies are different.

[1] I guess you would get some push back at review time if you used auto_ptr.


> I've never heard of that being banned. It hasn't been banned anywhere i've written Java.

Once code such as the below is rejected in a code review, the next version often submitted is an "if-else-if" ladder using `instanceof` (which is effectively the same thing).

  TheReturnType r = null;

  try {
    DomainType1 instance = (DomainType1)obj;

    r = ...
    }
    catch (ClassCastException ex) {}

  if (r == null)
    try {
      DomainType2 instance = (DomainType2)obj;

      r = ...
      }
      catch (ClassCastException ex) {}

  if (r == null)
    try {
      DomainType3 instance = (DomainType3)obj;

      r = ...
      }
      catch (ClassCastException ex) {}

  ...
And yes, I have seen the above scenario played out in a professional setting.

So they're cognates.

Cog mates, even

Nice

Godammit

No... Cog, damnit.

But "cognate" is not.

Well, as the article says:

> Per the statement, the large vessels were made to sail north from the Netherlands, around Denmark and toward the Baltic Sea. [...] Uldum adds that shipbuilders made the cogs as large as possible to transport bulky cargo, like timber

Once you've built one cog, you've got the ideal tool to fetch Polish timber to build more!


Yea, this is like the early railroads making steel cheaper via cheaper transport of bulk ore/coal, that made cheaper railroads, that then ship more products made of steel to larger markets opened by the extended rail networks, etc.

This happened with tin all the way back in the Bronze Age, where a lot of it was shipped as ingots from industrial-scale mines / smelters in Cornwall all the way to the Mediterranean empires to mix with copper to make Bronze.

A cog-based auto-catalytic wood industry is super interesting.


Also this stuff never happens by design. Some entrepreneur notices things and the costs, make a decision, suddenly more products exist, organic trading routes appear. There is no need for computers or grand design or hyper-managerial government. The market solves the problem

In the US context that's largely true, with the government providing useful regulations after the fact (allowing national corporations, railroad right-of-way law, etc.).

The exception being guys like JP Morgan who organized industry cartels that acted as private "central planners", part of which turned into the current Federal Reserve Bank.

But for countries like China and many others in Asia with strong state capacity, industrial policy was planned top-down for the "commanding heights" of industry like: roads, rail, shipping, airlines, telecom, steel, energy, etc., and that actually worked very well, faster than private markets alone, with the benefit of existing tech and models to follow.


We are talking about a sophisticated international trading system that happened 600 years ago. Clearly you don’t need anything like that to make it happen. Let alone Ancient Rome, Greece, Assyria, Sumer…

In your above comment you said:

> There is no need for computers or grand design or hyper-managerial government.

The response above is just pointing out that although you don't need a grand design or hyper-managerial government, it can be done using that approach too.


I posit it’s actually far more efficient to just let the market do its magic. No need for absurd Chinese state intrusions

This is speculation tinged with economics dogma.

>Once you've built one cog, you've got the ideal tool to fetch Polish timber to build more!

It's cogs all the way down!


Infinite cog glitch!

If this stuff worked, then given that Microsoft has a huge share of it, shouldn't Microsoft's products be good? Or at least getting better. I use Bing most days [1], and it's consistently an absolute joke.

[1] to farm reward points to get cosmetic items in video games


Near me, the (nice but always too busy) Old Dairy is getting a cut, and the (mediocre Arsenal fan packed) Bank of Friendship and Arsenal Tavern are getting obliterated. God exists, and he supports Spurs!


> the Lumix lenses are crippled on Olympus bodies

Are they?


A lot of the Leica-branded lenses have an aperture ring that doesn't work on Olympus bodies. Besides that, both brands have proprietary lens + body stabilization that only work if the lenses and bodies match.


Don't they have adapters for all that now?


As mentioned in the next clause of that sentence, the aperture ring does not work on Olympus bodies.


There have been experiments to create higher vacuums in space, which have been used to grow semiconductor crystals:

https://scfh.ru/en/papers/vacuum-in-the-wake/

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

I'm not saying it's practical, but it's pretty cool.


Bear in mind that it's much, much harder to launder money through an automated car wash.


I am playing Helldivers 2 on Linux right now. Works perfectly. It crashes less often than it does for my friends who play on PC!


  SyntaxError: not a chance


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

Search: