Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×

Comment Re:Curious about .local on local network... (Score 1) 220

Based on recommendations that claimed .local can conflict with various UDP multicast LAN protocols, I recently changed my home DNS to be a subdomain of a domain I pay $10 a month for. I was skeptical doing this initially, but now that it's implemented, I like it better. With search domains set up, you don't even have to care that you now have a longish domain name for internal hosts.

Alternatively, .test is meant for local use even if it doesn't seem like the best name for the job.

Comment Re:Switch to .test (Score 1) 220

FFS. Do you seriously deploy to the .prod TLD, which is also owned by google? You should write a book called "DNS Worst Practices". This stuff is spelled out quite clearly in RFCs.

Use dev.test, test.test, etc for your 2LDs. So myservice.dev.test, etc.

Better yet, just allocate domains for internal use on top of the one you certainly already own (e.g. dev.mydumbbusiness.com) so you can have myhost.dev.mydumbbusiness.com, etc. Or register a tld specifically for internal domains. In any case, you just manage the zone file in your internal DNS. You're already doing that if you're overriding the .dev and .prod TLDs internally.

Comment Re:But why? (Score 2) 304

> Completely impossible in C as C has nothing that resembles interfaces.

There are a couple reasons you are incorrect on this.

First, an "interface" has a few meanings in software development. It can simply mean the boundary between functions. A function declaration in a header file is an interface by this terminology.

Second, function pointers in C allow the type of interface definition I assume you are referring to (as in Go or Java for instance). The actual function called can be selected at runtime using this mechanism, and with a "self" struct pointer as a parameter, you can have all the functionality of an interface in other languages. Look at how COM objects can be called from and implemented in C for a good example of this (https://www.codeproject.com/Articles/13601/COM-in-plain-C). It's not quite as natural in C as in other languages, but it is certainly done.

Comment Re:Material support for a hostile foreign governme (Score 1) 108

Indeed. Many of the comments here seem to think the rest of the world is some sort of US colony.

US companies frequently have to censor things in various countries in order to adhere to local laws which are less liberal than those in the US. Facebook, Twitter, youtube, etc. all have special country-specific censorship in order to deal with government requests to block content. Germany particularly has stricter laws on threats and Nazi propaganda which end up being enforced by US companies on a regular basis.

You can't operate in China while breaking their laws. And despite China's crackdown on information, the net result of tech there is that the society and government are being forced to slowly liberalize their policies. Apple and other US companies' presence there is a net positive even when they are forced to abide by laws with which they'd rather not.

Comment Re:What is the interpreter written in? (Score 2) 372

> the interpreter (or a large amount of the support libraries) are inevitably written in C or C++.

Whether a language bootstraps itself is super important when choosing a language for a project. /s

"Well, gee boss. I realize you want us to build a web API for this internal data, and yeah we have this team of node developers, but JAVASCRIPT ISN'T SELF-BOOTSTRAPPING!!!! We must do it in C."

> essentially a giant abstraction layer for another language?

All computer languages are giant abstraction layers for machine language. Even your beloved C.

Comment Re:You obviously do not work for a bank (Score 4, Informative) 91

Without irony, you advocate for Credit Unions, which were established by federal regulations in the midst of the great depression to deal with the fact that lightly-regulated banking had destroyed the economy.

Contrary to the Ayn Rand libertarian fantasy ideals, regulation often creates stability, which is fundamental to economic growth. Chaos, which libertarians believe is a requirement for freedom and everything that is "good", is absolutely disastrous for real (not theoretical) markets.

Comment Re:Less favorable lending rates? (Score 1) 491

You are correct of course that the article's mention of lending rates is absurd. Rates are at historical lows.

I'd disagree with your conclusion however, that "there has never been a better time to get a mortgage to buy a home". Interest rates in 2009-2012 were about the same as today, but housing prices had not re-inflated from the financial crash. I bought a house during that period which I sold 2.5 years later (due to a cross-country move) for nearly double what I paid. The same house is now "Zestimated" at another 20% above that price in about 2.5 years.

If incomes had grown at that rate, you wouldn't be wrong. But incomes have not grown at that rate.

Slashdot Top Deals

2.4 statute miles of surgical tubing at Yale U. = 1 I.V.League

Working...