Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cdoxsey
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
301.
▲
by
cdoxsey
9y ago
> They can supply better service at lower cost because they don’t have to line the pockets of executives and investors. Instead they line the pockets of bureaucrats, unions and the local mayor's brother in law who had a truck and &q
302.
▲
by
cdoxsey
9y ago
> I don't think this approach is necessarily incompatible with garbage collection; theoretically a language like Go could have separate vector and slice types like Rust does, and I think that would make these types of optimizations
303.
▲
by
cdoxsey
9y ago
All too often we focus on performance as the main problem we're trying to solve, when, in reality, our chief problem is managing complexity. A clever algorithm can often dramatically improve performance, but usually clever algorithms a
304.
▲
by
cdoxsey
9y ago
You can read Ajit Pai's statement here: http://transition.fcc.gov/Daily_Releases/Daily_Business/2017... > Today, I have shared with my colleagues a draft order that would abandon this failed approach and r
305.
▲
by
cdoxsey
9y ago
For amazon you can use IAM roles tied to specific EC2 instances, then no credentials are ever stored, you simply make S3 API calls in your code and as long as the machine you're making them from has access to the bucket you can get to
306.
▲
by
cdoxsey
9y ago
Google app engine has a cron service: https://cloud.google.com/appengine/docs/standard/python/conf... You'll have to create an app handler for the URL which can then make the outbound http request.
307.
▲
by
cdoxsey
9y ago
> If they're uninformed, as soon as I explain that Comcast will essentially be able to do the same thing as cell data providers, charge for overages, and mention how this might affect Netflix. They are quickly for Net Neutrality. Ex
308.
▲
by
cdoxsey
9y ago
Part of the reason has to do with Go's original primary use case: a server handling thousands of requests. In that environment a traditional debugger, at least in my experience, isn't super useful, because it models a single-stepp
309.
▲
by
cdoxsey
9y ago
Basically because most "Exceptions" aren't very exceptional so errors should be handled as an ordinary part of your control flow.
310.
▲
by
cdoxsey
9y ago
Prudent and Bitcoin are two words that don't belong in the same sentence. You never know when and if you're in a bubble until its too late, but the ludicrous growth isn't a good sign of stability.
311.
▲
by
cdoxsey
9y ago
The hosted nonsense and poor linux and windows support is why I switched to enpass.
312.
▲
by
cdoxsey
9y ago
> The fact that they don't even have the package management quality of python (which I find awful already) is baffling. I don't even know how they could think "yeah, github-importing is a good idea, let's do it".
313.
▲
by
cdoxsey
9y ago
> There are downsides of course (no IPC) but I still argue that CPU is not the bottleneck for 99% of usage scenarios. I suppose my experience might be unusual, but I frequently log in to c3.8xlarge redis machines that have a single core
314.
▲
by
cdoxsey
9y ago
This is single-threaded? What are you going to do with the other 31 or 63 cores? The single-threaded nature of applications liked Redis an Haproxy is a singificant impediment to their vertical scalability. CPUs aren't getting faster, w
315.
▲
by
cdoxsey
9y ago
Go uses an m:n thread model. Goroutines are multiplexed onto a smaller number of os-level threads. They're sort of like threads, but they have a simplified programming model (There is no thread-level storage for example).
316.
▲
by
cdoxsey
9y ago
Yes they do. To understand transubstantiation you need to understand the philosophy behind it. Aristotle made a distinction between the substance of a thing, the core, essential properties that "form" it, and the accidental proper
317.
▲
by
cdoxsey
9y ago
Ironically one of the consequences of strict laws protecting endangered species is it actually leads to more destruction not less. A rancher notices a protected animal on his land and gets rid of it to avoid getting harangued by the governm
318.
▲
by
cdoxsey
9y ago
It also allows a clever "entrepreneur" to game the system. In 6 months you'll be reading about it here on Hacker News: "How we lost millions due to an algorithmic oversight"
319.
▲
by
cdoxsey
9y ago
A minimum wage is not direct. It's payed via an employer who also has the option of choosing not to hire someone or paying under the table. The minimum wage is always 0, so this policy will likely lead to more misery.
320.
▲
by
cdoxsey
9y ago
The University's primary purpose for most people is to educate their children. There are major problems with the way it does this currently. It costs a fortune, fails to provide the necessary skills for the modern workforce and, in man
321.
▲
by
cdoxsey
9y ago
You need to run multiple applications side-by-side and they need to be able to talk to each other. With containers that means figuring out the network layer and service discovery. It also means accounting for each system failing in your own
322.
▲
by
cdoxsey
9y ago
Seems to have hit pagerduty pretty hard... your poor on-call guy may have no idea his app is busted.
323.
▲
by
cdoxsey
9y ago
I think this has two major downsides: 1. Setting up containers and the communication between them is really complex - it also only makes sense for a deployed, long-running, server process. 2. Communication between containers is very expensi
324.
▲
by
cdoxsey
9y ago
If you're curious, the behavior is well defined: golang.org/ref/mem
325.
▲
by
cdoxsey
9y ago
Go's main compilation performance gains come from incremental compilation. Since C++ doesn't have real module support merely parsing the entire dependency graph from headers can take a very long time. In go if you have .a pkgs for
326.
▲
by
cdoxsey
9y ago
Buses are subsidized too.
327.
▲
by
cdoxsey
9y ago
There's a cautionary tale here for developers. If you're productive, hard-working and have enough grit to complete projects, you'll get noticed and handed even more responsibility. Eventually it will be more than any single d
328.
▲
by
cdoxsey
9y ago
I try to focus on dividends and not growth when investing, but apparently not very many people do this, because my online brokerage does a really poor job showing this data over time. I suppose they purposefully avoid forecasting the divide
329.
▲
by
cdoxsey
9y ago
Money doesn't decide elections, voters do. The campaign that spends more money doesn't always win. In fact there's good reason to think that most money spent on a campaign is largely wasted: > The most exciting and visible
330.
▲
by
cdoxsey
9y ago
An example of such a test, taken from the Old Testament, is a shibboleth. From the book of Judges: Jephthah captured the shallow crossings of the Jordan River, and whenever a fugitive from Ephraim tried to go back across, the men of Gilead
More ›