Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wting
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
wting
13y ago
There is no need for benchmarks, because presenting static files will always be faster than dynamic web apps like WordPress. Hexo (and Jekyll, Pelican, etc) pre-compile from Markdown to HTML which then gets served up as a static resource fr
272.
▲
by
wting
13y ago
I've aliased vim -> "vim -p" which opens files into multiple tabs when passed as arguments. I've rebound the arrow keys to switch and move tabs and buffers. * up/down: previous/next buffer * left/right: previous/next tab * shift left/ri
273.
▲
by
wting
13y ago
If you check the URL for Google Hangouts you'll notice it's pointing to the old identifier for Google Talk (com.google.android.talk): https://play.google.com/store/apps/details?id=com.google.and... You'll notice this same link is used in
274.
▲
by
wting
13y ago
The wealth disparity is probably more evident in SF. For example, Honolulu has a huge homeless population despite the huge tourism industry. The city just pushes homeless towards parts of the island where tourists don't visit and thus are
275.
▲
by
wting
13y ago
When MS bought Skype they changed supernodes from peers to company owned Linux boxes.[0] This change gives them the ability to eavesdrop on any conversation. My friend "Alice" (a Chinese national studying in the US), recently sent a present
276.
▲
by
wting
13y ago
How does the government scrub anything from the internet once it has been distributed? While I did not download the plans, I found them pretty easily on Pirate Bay.
277.
▲
by
wting
13y ago
Actually, studies from multiple sources prove that sleep debt is a real thing: http://www.nytimes.com/2009/11/03/health/03real.html?_r=0 http://www.nytimes.com/1999/09/26/nyregion/the-high-cost-of-...
278.
▲
by
wting
13y ago
Carmack has been thinking about functional programming for a while and posted his thoughts on applicable lessons for C++ a year ago: http://www.altdevblogaday.com/2012/04/26/functional-programm... He's a great developer and has always pus
279.
▲
by
wting
13y ago
I second shot weddings and freelanced events, and have spent more on camera gear than my car. Marco's advice is terrible and akin to, "Don't learn programming if you'll only use one language." It's a chicken or egg first problem. People buy
280.
▲
by
wting
13y ago
The official reason as mentioned in Go's FAQ ( http://golang.org/doc/faq ): > We also considered using LLVM for gc but we felt it was too large and slow to meet our performance goals. Does this mean compilation speed, performance speed,
281.
▲
by
wting
13y ago
You can pass some interviews by blindly memorizing, but it's unnecessary. If you understand a concept, then you can reason its big O. Memorization implies a superficial understanding that may be revealed later. If you don't understand somet
282.
▲
by
wting
13y ago
OS: Used mutexes, semaphores, implementation details, argue about pros/cons, liveness/safety properties. Implemented shell, virtual memory, interrupt handling, process tables, scheduling algorithms, and multi-processor kernel support on JOS
283.
▲
by
wting
13y ago
Umm... fuck no . There is no reason that you can't use git as a master repository system--that's how most people treat GitHub anyway. OTOH if you want to do anything besides the basic commit or update with Subversion, it's ridiculously dif
284.
▲
by
wting
13y ago
Rather than relying on syntax tricks, I'm sure most editors allow for block commenting or comment inversion. For example with NERD Commentor vim plugin, you can toggle block comments with `<leader>c<space>`. Inverting commen
285.
▲
by
wting
13y ago
Some C projects still use -ansi and thus C++ comments (//) will result in a compiler error.
286.
▲
by
wting
13y ago
When reading the paper's verbose versions, I have to act as a human compiler and keep track of state which leads to mental errors. Contrast this with a shorter version reducing the LOC count from 21 to 6: x = [..] y = [..] bet
287.
▲
by
wting
13y ago
Well there is the "official" definition on Wikipedia.[0] Informally, my definition of a functional programming language is one that supports functional style as the default. (Hooray for using a recursive definition. :p) The language should
288.
▲
by
wting
13y ago
I don't think $120k is possible as a new grad in Austin. New grad rates tend to be $50 - 70k, while some bigger companies offer ~$90k. $90k in Austin is a much better standard of living than $120k in Bay Area though...
289.
▲
Haskell in IPython
(bfj7.com)
6 points
by
wting
13y ago
|
0 comments
290.
▲
by
wting
13y ago
I worked on GNOME for a summer, and can see Go being a viable option for DE's. GNOME has added a lot of libraries to bring object support to C, but Haskell has proven gc language is fast enough for a WM (xmonad). Go might need to improve it
291.
▲
by
wting
13y ago
if blah { .. } else { .. } > Maybe that's popular in some obscure places, but it is weird they made that the only valid syntax. That is valid K&R syntax[0], which is used prevalently in C (e.g. Linux kernel)
292.
▲
by
wting
13y ago
I know Go has been touted as a C successor since inception, but most new users seem to be coming from interpreted languages. Like this blogger, they attribute a lot static language advantages as unique to Go. I don't see a lot of C/C++ deve
293.
▲
by
wting
13y ago
We have two differing definitions of functional programming. I would argue that your code represents functional style in an imperative language. If function pointers are sufficient to qualify a language as a functional, then that would incl
294.
▲
by
wting
13y ago
> The code you write with Go just seems to be correct. I can’t really put my finger on it, but somehow once the code compiled (and it compiles QUICKLY), you just get the feeling that it’ll work (not just run without error, but even logi
295.
▲
by
wting
14y ago
In Haskell: Variables? What state? Everything is puuuuuuuuure . In Python: Everything is an object (numbers, true/false values, strings, etc), some are mutable and some are not. Variables are temporary labels on objects (think of them as h
296.
▲
by
wting
14y ago
First of all, there are plenty of people who solved both large inputs with Python/Ruby (with and without pre-computing all the fair and square numbers).[0][1] As others have stated, the contests are designed such that language shouldn't mat
297.
▲
by
wting
14y ago
I visited the site in incognito mode, and I see the review: http://i.imgur.com/v9P9cJJ.png Yelp has publicly stated that they filter reviews[0] since many people try to game the system. I'm not sure how they filter the reviews, but this i
298.
▲
by
wting
14y ago
Can anyone explain the advantages of writing unit tests before vs after certain sections of code has been finished? I use unit tests, but only after the code's finished or there's a good stopping point. Otherwise I have to do too much refac
299.
▲
by
wting
14y ago
You have the option of enabling two-factor authentication for various actions: http://i.imgur.com/5I31WcX.png
300.
▲
by
wting
14y ago
My reply was a lot more relevant at the time of posting and when the original title was, "Bitcoin drops from $260 to $230". :/
More ›