Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sean1708
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
481.
▲
by
Sean1708
9y ago
Fair maybe "judge" was too harsh a word, but you reply like this and you're calling me precious?
482.
▲
by
Sean1708
9y ago
Why not seek glory in what you want to seek glory in and stop judging others based on what they want to seek glory in?
483.
▲
by
Sean1708
9y ago
Slightly off-topic sorry, but why ANSI C and not C99 (or C11)? Is it common to come across systems where C99 isn't supported, or are there reasons why you prefer C89 to C99?
484.
▲
by
Sean1708
9y ago
> The reddit program has a bug if the size of the buffer is not a multiple of the input text size. The author appears to be aware of that: > Even with the function overheads and additional bounds checks of GNU's yes
485.
▲
by
Sean1708
9y ago
> I expect GNU yes to be slower when only a few bytes are read from it Wouldn't that be entirely negligible compared to starting the program in the first place?
486.
▲
by
Sean1708
9y ago
It didn't even dawn on me that that figure was supposed to represent graphs until I read your comment (and then the caption), I had just assumed it was supposed to represent Big Data.
487.
▲
by
Sean1708
9y ago
I'd be very interested to see some proper analysis of the difference in speed between HTML/CSS vs just JS, it seems obvious to me that the former would be much faster but then again I know how often "obvious" things are
488.
▲
by
Sean1708
9y ago
https://github.com/WebAssembly/design/blob/master/FAQ.md#wil... The text form of Wasm looks like it's going to be far easier to read than minified JS.
489.
▲
by
Sean1708
9y ago
That's fair enough, although I'm still not really sure why statisticians have to think about data in such a different way to machine learning researchers. I feel that if a statistician didn't look at the bigger picture of w
490.
▲
by
Sean1708
9y ago
Are you using some accepted definition of Statistics that I'm unaware of? Because I always thought Machine Learning was a branch of Statistics.
491.
▲
by
Sean1708
9y ago
I think GP is saying that it's precisely because grades are limited to a handful of values that you get grade compression instead of grade inflation, and that if prices were limited to some upper value you would get price compression
492.
▲
by
Sean1708
9y ago
There are some trailing characters in the link. But the tweet is > decltype(auto) f1(){int x = 0; return x;} > decltype(auto) f2(){int x = 0; return (x);} > Latter, not former, returns reference to int.
493.
▲
by
Sean1708
9y ago
To be honest the article's kind of bullshit regardless of what angle you view it from. Some of my favourite parts are: > the fundamental energy that underlies and is responsible for the universe is consciousness. So consciousness is
494.
▲
by
Sean1708
9y ago
> Choosing an extreme example like kitchen knives is a bit disingenuous I completely disagree, I think most of the things that we build as developers are as innocuous as kitchen knives. If you're building (for example) pen-testi
495.
▲
by
Sean1708
9y ago
I make kitchen knives. People use kitchen knives to kill each other. Am I now responsible for these deaths?
496.
▲
by
Sean1708
9y ago
Yes but the point was that compilers do changes algorithms.
497.
▲
by
Sean1708
9y ago
Ah yeah, that's a good point.
498.
▲
by
Sean1708
9y ago
> It would be nice to see opt-in optimizations of struct layouts, e.g. by annotating structs with a packing-style attribute. Like __attribute__((packed))[0]? [0]: https://gcc.gnu.org/onlinedocs/gcc-3.3/gcc
499.
▲
by
Sean1708
9y ago
> You may be significantly underestimating your ability to get phenomenal gains from algorithmic improvements. Absolutely but often it's very hard to make those changes or those changes lead to a loss of accuracy, whereas compilin
500.
▲
by
Sean1708
9y ago
As a very simple example see if you can spot the loop in the optimised version of a sum to n function[0] (hint: you can't). I don't know to what extent this scales up to more complex programs, but it is at least possible in princi
501.
▲
by
Sean1708
9y ago
Certainly in my experience it's about 90-9-1; where 90% of the runtime is "cold", 9% is "warm" (optimising compiler is good enough), and 1% is "hot". I'm literally writing some code right now where -O
502.
▲
by
Sean1708
9y ago
I think a better way to phrase it would be "stop teaching C to people who think they're learning C++". I completely agree that doing even just a couple of weeks of plain C is an incredibly useful endeavour, but I saw the &quo
503.
▲
by
Sean1708
9y ago
I would say exactly the opposite is happening. While I can't comment on how many people are using out and out functional languages (like Haskell or Lisp), I would say that far more developers and modern languages are adopting functiona
504.
▲
by
Sean1708
9y ago
If you're going to align things I think this is actually the way you should do it, having the alias so far away from the name really hurts readability in my opinion.
505.
▲
by
Sean1708
9y ago
Data as a mass noun, while less traditional, is still valid.
506.
▲
by
Sean1708
9y ago
I think the question was more about bounds checking on arithmetic, which most modern languages don't do by default.
507.
▲
by
Sean1708
9y ago
From a quick google search it does indeed look like the theoretical BHmax of rare-earth magnets is about 60 MGOe, so I think that might just be poor wording from the article. That said, I would agree that we should be waiting to sing their
508.
▲
by
Sean1708
9y ago
> and those aren't used that much anymore There's still a lot of active research going into magnetic tape storage, I find it very difficult to believe research into hard drive storage is going to slow any time soon.
509.
▲
by
Sean1708
9y ago
There's a big difference between "will help reduce nausea" and "will eliminate nausea".
510.
▲
by
Sean1708
9y ago
Y2k. I get what you're saying, MP3 is going to be around for a long time, but I really don't this whole craze of leaving future-proofing for the future is a good idea.
More ›