Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
majewsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
2602 ms
·
7261.
▲
by
majewsky
11y ago
This touches on the classic question of "is coding engineering or art"? If it were engineering, it would become quantifiable once we have enough empirical data from previous projects to base our theories on. If it were art, that w
7262.
▲
by
majewsky
11y ago
> I would honestly take a 50% pay cut if I was able to just deal with the code working at home, I am a fairly frugal person and wish there was something like basic income so I could just spend my days programming on projects that interes
7263.
▲
by
majewsky
11y ago
I would argue it's a bad idea for images already. Images give away a lot about the type of content that you're viewing, which is possibly sensitive information. Consider, for example, a Chinese computer connecting to Wikipedia ove
7264.
▲
by
majewsky
11y ago
In principle, yes, but a) access via MOC is certainly slower than compiling a direct function call into a single `call` opcode, and b) MOC only covers signals, slots, and Q_INVOKABLE methods. For QObjects, that means that the remaining meth
7265.
▲
by
majewsky
11y ago
The only case that I know of when manual memory management is slower is short-running programs which exit before the first GC run, therefore removing the need to do any deallocation at all.
7266.
▲
by
majewsky
11y ago
Fascinating. And fun fact: I'm 26 and I don't have a driver's license. So do many of my peers. I totally rely on public transit (save for the few occasions where I need to move furniture etc.). Public transit service is excep
7267.
▲
Defense at Scale: Everything's Fucked
(netmeister.org)
3 points
by
majewsky
11y ago
|
0 comments
7268.
▲
by
majewsky
11y ago
Regarding the "Annoyance" bullet point, you might have a better time if you put an Apache or nginx in the front (on ports 80/443), have it serve the acme-challenges statically and proxy_pass everything else to Node running on
7269.
▲
by
majewsky
11y ago
The problem I see with this kind of carsharing is that it does not scale particularly well to rush hours. I must note though that I'm living in Germany where Uber is not really a thing yet (mostly because of regulatory problems), so if
7270.
▲
by
majewsky
11y ago
There's a business opportunity for ridiculously long extension cords right there.
7271.
▲
by
majewsky
11y ago
The article hypothesizes that analytics services will probably move their tracking code from client-side JavaScript to the server-side, so that the publisher's server will forward the analytics data to the analytics server. There is an
7272.
▲
by
majewsky
11y ago
s/EPIPE/SIGPIPE/, but otherwise, I agree. :)
7273.
▲
by
majewsky
11y ago
Hue? There is one on mine. Maybe mine's different because I upgraded from 10.9 to 10.10 to 10.11 whereas you might have started with a later version (or an earlier one)?
7274.
▲
by
majewsky
11y ago
Ack uses the same git/hg/svn-ignore heuristic.
7275.
▲
by
majewsky
11y ago
I've heard mathematics classified as a "structural science", as opposed to the "natural sciences". Theoretical CS fits into that "structural science" umbrella term very well.
7276.
▲
by
majewsky
11y ago
Designing an ergonomic phone interface can be grouped under communication design, thus art. Constructing a quantum computer using optics clearly falls into the physics department, at least until physics spins off an engineering department f
7277.
▲
by
majewsky
11y ago
This fits in well with the "code as craft" argument presented in the comments here. Most craftsmen need to make a living by producing rather boring, functional pieces in a large volume, while occasionally taking the time to manufa
7278.
▲
by
majewsky
11y ago
That always depends on the market. While Chrome leads the US market like IE used to, Firefox is for example the most-used browser in Germany. Maybe it would have been a valuable approach for Mozilla to work with a specific market when intro
7279.
▲
by
majewsky
11y ago
Not necessarily. If the app changes seldomly, you could reuse a CSS file across multiple sessions, whereas the HTML (i.e. "GET /") is probably always served up fresh. That does not apply, of course, if your initial HTML page
7280.
▲
by
majewsky
11y ago
> This article is deeply flawed... change in wages != change in standard of living. Measuring "standard of living" is a very hard problem. At least they're being clear about their definition, so I can judge the correlation
7281.
▲
by
majewsky
11y ago
That's called "Design By Contract". You formally specify pre/post-conditions of functions and invariants of classes (such as "cap >= len" in this case), and have the compiler enforce that automatically, e.g.
7282.
▲
by
majewsky
11y ago
> allocating the memory for variables Allocation of N variables on the stack is O(1) since it just moves the stack pointer by the total size of all variables.
7283.
▲
by
majewsky
11y ago
It's actually older. I remember using this in 2007 to write lecture notes in LaTeX in collaboration with a friend (our notebooks being connected by Ethernet since the university did not have WiFi back in the days).
7284.
▲
by
majewsky
11y ago
I use Gandi, too, for the same purpose. A bonus is that the corporate proxy at work (which blocks DynDNS domains for reasons that are beyond me) does not mind me accessing my personal server. GitHub has a script for DynDNS using the Gandi A