HNHacker News
TopNewBestAskShowJobs

hackingthenews

212 karma · joined January 4, 2019

submissionscomments
hackingthenews··on Compiler Explorer
Clang/llvm also does heap ellision (removing unnecessary mallocs) while gcc didn't last time I checked. I think the llvm devs allows themselves to have a more practical understanding of the cpp standard.
hackingthenews··on Facebook establishing a venture arm to invest in startups
and if you don't they will force your competitor to take $1B.
hackingthenews··on Ideas That Changed My Life
Now I am even more interested, but still have no idea.
hackingthenews··on Ideas That Changed My Life
I honestly can't tell who you are talking about. And I really want to know...
hackingthenews··on Leave Facebook
I would agree with this for phone numbers, but not email.
hackingthenews··on Apple’s butterfly keyboard failed by prioritizing form over function
Read a rumor somewhere that he made the edges of the MacBook in his prototype design so sharp to the point of serious discomfort to users, but he only changed it after Steve Jobs had to ask him about it.

edit: [1] Turns out it was the first iPhone.

[1] https://news.ycombinator.com/item?id=20437041

hackingthenews··on Ply: A Visual Web Inspector (2018) [slides]
I wonder how broad the definition of effectiveness is in their implementation. The visual method might have limitations, considering that many CSS properties are only "effective" when you start moving/interacting with elements, e.g. resizing the window/elements, or hovering over elements or using other cursor actions.
hackingthenews··on The Changing World Order
I agree, but I find his methodology a lot more refreshing than other similar opinion pieces, who barely tries to look at data or give context to their claims (history).
hackingthenews··on The Iterate-and-Mutate Programming Anti-Pattern
Also Lazy data structures can achieve this.

And C++ (and rust probably) compilers have no issue doing these optimizations as well.

hackingthenews··on The Iterate-and-Mutate Programming Anti-Pattern
Stream overheads exists, but I have never understood why.

Take the example of Java:

Why are loops faster than using streams (in most cases)? Shouldn't the optimizer/jit be able to see that most streams (even chains of map, filter and reduce etc) are equivalent to simple loops and just optimize away the overhead (in the cases where loops are (obviously) faster; non-parallell, serial computing)?

hackingthenews··on Tauthon: Fork of Python 2.7 with new syntax, builtins, libraries from Python 3
(I think it was sarcasm)
hackingthenews··on Tauthon: Fork of Python 2.7 with new syntax, builtins, libraries from Python 3
I think we need to recognize that most people/companies who stick to python 2 doesn't do it because they are being stubborn. There is a real judgment call involved. It might look strange from the outside, but maybe it really is daunting to migrate some code-bases to python 3.

(I got the sarcasm)

hackingthenews··on Comparing the new Redis6 multithreaded I/O to Elasticache and KeyDB
> At the end of the day an engineer shouldn’t pick database because it’s the fastest but because it fits their use case the best.

Every comparison article doesn't need to (and shouldn't) include a comparison about every kind of detail about two technologies.

> I get that reddis, memcached, and keydb are all roughly in memory hashmaps but beyond that knowing what makes them different, how hard are they to operate, what they are good at and bad at is going to be more helpful in selecting which technology to use than a simple throughout benchmark.

If a post is about speed/performance, and you want to know implementation details (or accessibility or how well it plays with your stack) then look for something else. A quick google search quickly gives me whatever details I want to know about whatever two widely used technologies:

For example redis vs memcached: https://stackoverflow.com/questions/10558465/memcached-vs-re...

But more importantly its okay for a post to be narrow in scope. The requirement should be that it is not misleading in whatever question it sets out to answer.

hackingthenews··on Your First THINK C Program
That really depends on what was benchmarked, so much so that dropping random benchmark results is meaningless.

A benchmark like this [1] (showing c++ < js < java) is absolutely useless as the person writing it has no idea what they are doing, e.g. using vector in java.

Looking at most benchmarks java beats js more often than not, but they are often neck in neck.[2]

C++ always beats both, often by a huge margin (when written well).[3]

[1] https://www.linkedin.com/pulse/algorithmic-performance-compa...

[2] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

[3] https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

hackingthenews··on New ventures should focus all their efforts on problem-solving
To be fair about one thing, the pedestrian would not have survived with a human driver either. They crossed the road in pitch black darkness. The only reason it was news was because it was a self driving car.
hackingthenews··on Microsoft Wins Pentagon’s $10B Contract
What about the fact that privacy is becoming a thing of the past?
hackingthenews··on Biology is the New Tech: Letter from a conference on CRISPR
> Islamic culture, traditional scholarship places the point of ensoulment anywhere between 40 and 120 days after conception. Our western taboos around this topic, likely even our western secular taboos, derive from a belief in ensoulment at conception.

Changing the creations of God is still very much considered forbidden in the religion. Also many scholars would still consider e.g. abortion without valid reason before ensoulment as forbidden. Personally I think the Islamic world would wrestle much more with this than any other.

← PreviousPage 2 of 2