Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Goladus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
Goladus
9y ago
Some great links in that post: https://prestonbyrne.com/2017/09/01/the-bear-case-for-crypto... - The Bear Case for Crypto https://prestonbyrne.com/2017/12/08/bitcoin_ponzi/
122.
▲
by
Goladus
9y ago
The first OS I've used that includes Python3 in the base install is Debian 8(Jessie) and I no longer use Debian in production. CentOS 7 does not include Python3 in the base install. You can install it, sure, but why bother when you c
123.
▲
by
Goladus
9y ago
The domain under discussion is scripting and specifically comparisons with Bash. Python 3 has not achieved anywhere close to the platform deployment that Python 2.7 has. When the common OS distributions you're likely to need to scrip
124.
▲
by
Goladus
9y ago
> "The claimed utility of the internet is an open question at best. the internet have shown no use cases to date other than transferring information(I went and looked)." Maybe if you'd asked that question in the 1970s. By
125.
▲
by
Goladus
9y ago
No, because they have intrinsic value as a commodity. That doesn't make them immune to pump-and-dump schemes, but it means you can still trade them on a basis other than their USD market value. For example, you can buy gold to make j
126.
▲
by
Goladus
9y ago
If you're targeting a limited set of systems and can reasonably assume the requirements won't change in the future, obviously use whatever tools you know will be available. I write Bash and Python all the time for those reasons.
127.
▲
by
Goladus
9y ago
Subprocess.run is Python 3+ only. If we're talking about replacing bash, Python 2.7 (possibly with 2.6 compatibility) is the more reasonable target. CentOS 7 and Debian 8 (I've not used 9 yet) still ship with Python 2.7. Also, w
128.
▲
by
Goladus
9y ago
In my experience, those kinds of shell scripts get written by people who needed automate something quickly and didn't have (or at least perceive) any other language available besides maybe Perl. They're either Unix admins without
129.
▲
by
Goladus
9y ago
Assuming that "bad" doesn't mean merely "ugly to glace at." I find that depends largely on the problem at hand.
130.
▲
by
Goladus
9y ago
> As someone who has to occasionally modify 100+ line bash scripts written by Coworkers from Christmas Past which matched your spec in terms of what they had to do, please please just use Python (or similar). As someone who has inherited
131.
▲
by
Goladus
9y ago
It's not just from the command line that these shortcuts are useful. Once you have a decent baseline on shell scripting fundamentals, the constructs are often highly optimized towards efficient and readable scripts. Not having to put
132.
▲
by
Goladus
9y ago
The relevant point is that all systems running bash should also be POSIX compliant. So, taking some care to avoid bash-only constructs in a shell script can reap substantial gains in portability at fairly minor cost.
133.
▲
by
Goladus
9y ago
I disagree. Here's how I decide: Do I need to manipulate rich data structures like hash-maps or nested lists? That sort of thing tends to stretch the capabilities of Bash to its limits and I tend to set the bar fairly low here. Is th
134.
▲
by
Goladus
9y ago
I think delivery is a bigger deal than portability. There are many ways to make applications portable in 2017. The big deal is that browser SPAs don't need to be installed, they just run when a user clicks a link or loads a page whil
135.
▲
by
Goladus
9y ago
The JVM took too long to achieve that ideal in a way that actually worked for end-user applications. Early java-based client applications had a horrible user experience. Version conflicts were very annoying, especially on windows where yo
136.
▲
by
Goladus
9y ago
A framework is kind of like a big template for software applications. A framework gives you a skeleton to work with, where the programmer fleshes out the details in the flexible spots. Except that instead of just some boilerplate code, yo
137.
▲
by
Goladus
9y ago
There's really no amount of classroom learning that will replace 20 years of experience with object-oriented systems. If you're going to put an inexperienced recent graduate in charge of design for your large software system, you
138.
▲
by
Goladus
9y ago
I don't think this is sufficient reason to make it a substantial focus of the core, required curriculum. Again, I do not have a problem with OO course offerings or teaching Java, just putting it front and center as a core, fundamental
139.
▲
by
Goladus
9y ago
Not that my opinion matters, I don't have any advanced degree and no experience building curricula. But if I were going to include OO in a curriculum here's how I'd do it: 1. (Intermediate/Core) I'd cover basic OO
140.
▲
by
Goladus
9y ago
Even the visual design of HN (grey usernames in a smaller font) minimizes identity in favor of the content. Also, for whatever reason, convention seems to favor all-lowercase names.
141.
▲
by
Goladus
9y ago
Spam drove people to Facebook even in the early days. When Facebook first came out, spam filtering was far less effective than it is today. Also, for whatever reason, people trusted Facebook and would post private things there that they w
142.
▲
by
Goladus
9y ago
Can anyone explain to me the continued prominence of "Object-Oriented Design" as part of a fundamental computer science curriculum? It seems to me that the basics of OOP, the kind of things that most programmers need to know about
143.
▲
by
Goladus
9y ago
Shares are fractional ownership of a company that can grow or shrink. The whole point is that their value corresponds with the total value of the company. It becomes a ponzi scheme when the only value from early shares comes from investmen
144.
▲
by
Goladus
9y ago
> Rich Hickey did not invent 'first' and 'rest'. No one claimed Hickey invented first and rest, or even implied it. The point is not that first and rest didn't exist, but that car and cdr DID. Clojure deliberat
145.
▲
by
Goladus
9y ago
I have adblock installed. Forbes throws up an obnoxious "ADBLOCK DETECTED!" interstitial when I visit, which is a great reminder that their content is rarely worth it anyway. ctrl-w
146.
▲
by
Goladus
9y ago
"Cryptocurrency" can't be "The" global currency since it's not one thing. It's a collection of currencies, and bitcoin itself won't be the global currency because there aren't enough bitcoin to
147.
▲
by
Goladus
9y ago
Maybe not even one whole server. Could just be one virtual machine.
148.
▲
by
Goladus
9y ago
Seriously, is there a good graphing calculator app for Android that gives you all the same functionality but runs on modern hardware? I've been out of high school for 20 years I don't care what's prohibited in exam rooms.
149.
▲
by
Goladus
9y ago
> I'd very much prefer if the named Guacamole the "Apache clientless remote desktop gateway" I don't like either one. "clientless remote desktop gateway" is way too long and cumbersome. But it seems like,
150.
▲
by
Goladus
9y ago
No, but of course that's not what happened. They said shut down the open markets division or we'll pull funding. And probably there was something like "oh yeah and when you're looking at what our lost patronage does t
More ›