skysight-inc/HackerNews huggingface dataset:
>You can say the same thing about our computers: they are very inefficient at tasks they were not designed to do.

Hold on -- we need to be consistent about what part of them was designed for what purpose. In the context of the discussion, it's the hardware. Computer hardware is only "designed" to be able to maintain a small state while performing a huge number of Boolean circuits (from some large set of possible circuits) per second, writing to external stores.

They were not designed to e.g. make graphs, host discussion forums, etc, and yet do that very well --because we can apply software that converts those problems into "do these Boolean circuits/writes really fast". Considering how handily they beat the alternatives at those tasks, I think it would be fair to say that they're good at things they're not designed for!

It's just that there remain a few problems that aren't tractable to this approach so far; but focusing on those problems is a misleading picture.

>Actually they are very inefficient even at tasks they were designed to do, but since they do them very fast, we've been ignoring it (at least until Moore's law started to slow down)

As above, they were only designed to do those circuits and they're good at that.
I'm sure it's a bit more complicated than this and we'd need to see all correspondence, etc. to give an informed opinion, but generally speaking based on that fact pattern: Tell them to fuck off. Or better yet, don't tell them anything until they act on it - and then have your lawyer tell them to fuck off.
Best way to keep a job is to just be a good engineer. When people are motivated they will deobfuscare the code base.
Not across applications, sadly... Chrome just likes to stretch the window horizontally a little and then extend the window vertically to the top and bottom of its current display.

Hey, Google! When I double click the title bar, it means fill the !@%&%#* display!!

Just another reason why I like Firefox.
How to CREATE AN APP IF Your AREN’T TECHNICALLY MINDED
You've constructed a nice straw man.
"pirates* demand for years"
"pirates have decided"
Pirates* and pirates are likely different groups.

Arrr, but ye shall remember...pirates will be pirates matey!!
Best way to keep a job is to just be a good engineer. When people are motivated they will deobfuscate the code base.
Are you rent controlled? (Los Angeles)
I think the idea that they make no difference to usability sounds quite wrong.
Insurance markets are almost twice the age of the US. You can't have a huge merchant fleet without insurance, since it would be too risky to sail.

What you may have refered to is a particular ruling that insurance contracts are not commercial contracts, but that has been overturned.
Rationalizing your own behavior of downloading content you like and enjoying consuming it as being a "benefit to society" is quite a stretch.

Thinking that everything you do, even selfishly, is somehow ethically laudable is not a sign of maturity.
?? You saying it's a social construct doesn't make the world believe you over it's 'lying eyes' differences in people are real, differences in groups are real. You don't like the term race. So what? So you like the word heritage. BTW of course Africa has more genetic diversity. It's an entire continent, unlike the United States, less landmass, different migration history. Just because there are overlaps doesn't mean a group of people can't have a pattern of genetic and visual and even behavioral traits that can't be divided into a race. Time to grow up.
I'd expect it would be cheaper in the long run for those large companies to influence laws to move ticket liability over to their customers rather than take on the expense of fighting traffic tickets themselves.
Smartphone Platform wars: the final score
Or we could just stick with the old design language, which nobody is confused by.
What you're missing is that PCIE 3.0 x16 is emphatically NOT plenty of bandwidth. It's more than what you might otherwise get of course, but having a texture loaded locally on the GPU die is orders of magnitudes different from reading it from main memory. It's also not "low latency" at least not relatively speaking. I would have killed for hardware like this when I worked with terrain rendering in the past.
Operating Cassandra at the scale that Uber is going to require is going to be painful and as operationally draining as MySQL if not more.

There are really not a large number of options here anymore with the departure of FoundationDB from the market. CockroachDB might be an option in a few years, though I'm still confused why they are moving towards a SQL-ish vs key-value interface...
Dealing with large jobs on Travis-CI
> A lot of people here like to humblebrag about how they "only" make $150K and how their stock options make their taxes so painful.

To be fair, as well as regional there is also industry variation, and a lot of people here work in the "Other Information Services" sector -- most online services would seem to be in that category -- which is (at least nationally) significantly above average pay for programming occupations. If that industry-based trend is also true for the region, then $150K for a developer could well be a below-median salary for region/occupation/industry combination.
I'm a tall (1.86 m) and fit middle aged man. I have neck problems from using laptop or bad chair. I started to have lower back problems but I fixed them with a chair.

I realized nearly two years ago that almost all tall people in my office use external monitors and it clicked. The taller you are the worse the laptop ergonomy is. Human head weighs 4.5kg-5kg. If you have to bend your neck even a little bit your muscles have to do lot of static work. You can compensate by bending your back, tall people have to bend their back more.

My hypothesis is that short or fit people can get away more than tall or unfit, but things will show up after 20-30 years of bad posture for everyone.
You can pass traffic laws that target driverless cars without outright banning them. The cronies at a local/city-level that pass laws to turn traffic into a source of income have friends in state and federal. Or move to the state/federal level. Is the Federal government immune from passing similar laws?
Sun-Powered Airplane Completes Historic Trip Around the World
If it's a social construct then two causasoid people could have a mongoloid baby. Except it hasn't happened.
Yeah, this was my first thought. Things that aren't addressed in the article: why did this database exist and was it even legal for the government to collect and store this information?
I don't know anyone who thinks Metal is better than Vulkan. In fact I've heard only the opposite.

And the reason why it's C is so that you can bind from multiple languages. DirectX doesn't have this problem because it's not plain C++, it's COM--which is designed to support bindings from multiple languages. But COM is effectively Windows only, and Vulkan needs to be platform independent. So Khronos made the correct choice here.

As you acknowledged, they also created an idiomatic C++ wrapper, so I don't see what your complaint is at all. Khronos did the correct thing every step of the way.
It's easier to get funding for these programs because they will be sponsored by tech companies that stand to benefit from the outcome of the programs.
My issue with gene editing is the problems you could be creating at the end of the lifetime of the person. What happens when you've ensured no heart disease, but have guaranteed them alzheimers. Who is to blame? The now dead scientist who discovered the gene modification? The now dead parents who wanted it done to their child?

Testing a large enough population would take generations.
>Providing space [...] around [...] your content can increase the appeal of your page.

Just like black bars when the aspect ratio of a movie doesn't match that of my monitor increase the appeal of said movie.
I find margins on mobile pages a complete waste of horizontal space. My device screen is only 6cm wide and already surrounded by plenty of space in my field of vision. Why make it even narrower?
Closures Capture Semantics, Part 1: Catch Them All
> I have to very seriously disagree here, ORMs

In spirit I agree with you, its the engineer's fault for not reading the documentation of their ORM or equivalent.

But in these big ships with hundreds of programmers, leaving transactions open in hibernate is a daily occurrence somewhere.

Usually caught before production, but happens oh-so-frequently, that anything that exacerbates the pain from this would be seen in a negative light for sure.
Supposing that the leak is necessary, what makes it necessary to release PII?

I'm sure you've communicated with people who have done things, or work for people who have done things that are necessary to be leaked. Please explain why this means that your PII should be released.
If the eye can detect a single photon, it must mean that the triggering system in the human eye, which starts the electrical signal that carries the visual information to the brain, needs less energy than a photon contains to be triggered. That's pretty amazing to me.

How many photons does a CCD chip need to change one pixel from pitch black? A billion? 1e20? I'm curious to know.

If we could figure out how this triggering system works, we could build amazing stuff. Probably more than really good camera chips.
Wait, what... malicious dhcp can "force" browsers to execute essentially arbitrary code for every request? And this is by design? Is there some flag to nuke that feature from eg Firefox?
Possibly, but that's assuming no aspect of consumer choice in the survival of ride hailing systems. If customers had to worry about tickets, they would quickly migrate to a competitor which assumed liability.
It comes with a 10-year warranty, so it might not even matter. But back in 2014, 240GB drives were approaching a petabyte of continuous writes before failing. https://techreport.com/review/27909/the-ssd-endurance-experi... With a couple more years of manufacturing and wear-leveling improvements, and more space for the algorithms to play with, it could be a lot more now.
> If you have to bend your neck even a little bit your muscles have to do lot of static work. You can compensate by bending your back, tall people have to bend their back more.

Or you could (with the right chair and foot rest) angle your seat instead of bending your back.
Building a Moebius strip of good vibrations
Rails and Phoenix and Sockets, Oh My – Part 0
So I just started a week ago, there's a lot of outdated tuts on the web, here is what I think could be a good route for somebody who starting today:

1- Create an app following the info here[0]. This was released officially few days ago, and it removes the pain of setuping React dependencies.

2- Use this [1] youtube tutorial to learn about React. I stopped at #9 since I didn't want to use Flux.

3- I think if you want to build something with React consider using Redux. Same youtube channel have a good tutorial[2] as well.

[0] - https://facebook.github.io/react/blog/2016/07/22/create-apps...

[1] - https://www.youtube.com/watch?v=MhkGQAoc7bc&list=PLoYCgNOIyG...

[2] - https://www.youtube.com/watch?v=1w-oQ-i1XB8
3 predictions:

1. GPU driven command buffer workloads will become more significant (now that literally all your textures can exist in VRAM, it's worth going the extra mile to elide a GPU-CPU round trip).

2. Voxel based techniques (which were generally memory intensive) open up again. That's modeling destructible environments, atmospheric effects, transparent materials, etc in a more accurate and performant way.

3. Entire scene graphs can live on the GPU which opens up a lot of design space for new volume hierarchies and data structures.
Again, it's an irrelevant comparison from which you can draw no conclusions. If you want to be honest, at least compare with the number of people killed by European colonialism, or US foreign interference, etc.
> maybe the author needs to check out an Xbox or use a Surface for a few minutes?

Indeed, how could he not have experienced these resoundingly successful designs?
Science has been enhancing humans for a very long time.
Cellphones extend my ability to research before taking a decision.
Current drugs has addressed a lot of human ailments; from pain to AIDS.
Vaccines have took away a lot of deadly diseases.
Last but not least we have a 35+ years life expectancy.

Edit:

As bogus as it is, also IQ has been increased.
> In some cases dumbbells will give you a better range of motion and help develop smaller muscles.

This has always smelled like broscience to me. I guess I'm just skeptical that someone unable to create stable positions with a fixed object (barbell) will have more success creating proper stable positions off of objects that move freely. Based on what I've seen in the gym, it looks like the barbell users usually end up 'collapsing' into stability... then again, most of what I see in the gym are meatheads using way more weight than they should be. Maybe it would be different if priority was given to proper mechanics rather than pressing till your eyeballs bleed.
> I happen to know what money laundering is, being a certified money laundering specialist (CAMS) and all

One would hope that you are, in fact, a Certified Anti-Money Laundering Specialist, since what you initially labeled yourself as implies that you routinely engage in illegal activites.
You responded to a comment arguing that piracy could be considered a form of social protest. As such appealing to copyright seems a poor counter since copyright could be the very thing being protested.

It's anecdotal at this point but also worth noting that the earliest conception of copyright in the colonial era had nothing to do with protecting creators and everything to do with allowing distributors and regulators get a piece of the pie.
I'm very curious about how you end up with alarms configured that you don't want to go off, especially often enough for this to be a regular problem for you.
> MySQL supports multiple different replication modes:

> Statement-based replication replicates logical SQL statements (e.g., it would literally replicate literal statements such as: UPDATE users SET birth_year=770 WHERE id = 4)

Postgres has that too (using a 3rd party tool, but it's an officially supported tool). We were using it on reddit 10 years ago. It caused a lot of problems. I wouldn't call that an advantage for Mysql.

Honestly, reading this it seems like the summary is: "We don't follow great engineering practices so we need a database more forgiving". Which is fine if that's how you want to run your business, but isn't really the death knell for Postgres.

A specific example:

> This problem might not be apparent to application developers writing code that obscures where transactions start and end. For instance, say a developer has some code that has to email a receipt to a user. Depending on how it’s written, the code may implicitly have a database transaction that’s held open until after the email finishes sending. While it’s always bad form to let your code hold open database transactions while performing unrelated blocking I/O, the reality is that most engineers are not database experts and may not always understand this problem, especially when using an ORM that obscures low-level details like open transactions.

Your developer should understand database transactions. But you should make it easier for them by abstracting it so that they don't have to. And in this particular case, I'd say they shouldn't be using the database to do locking around sending a receipt. It should be put into a queue and that queue should be processed separately, which avoids the transaction problem altogether.
A 2-year-old can navigate an iPad because a touch screen requires less motor control than a mouse.

That's certainly a large part of it, but I don't see how that detracts from my point. The touch interface is as much software as it is hardware. To the extent that we forget that, it really proves that Apple really nailed the software. Things like flick to scroll and pinch to zoom seem obvious now because they feel so natural, but they are a feature of the software, not the hardware.

I also don't agree that the touch interface is the only reason an iOS device is much easier to use. Anecdotally, my father in using his iPhone for the first time feels like he masters a computer. Mind you, this is not someone who is a stranger to computers. He has used a desktop PC for years at his office.

The Norman/Tognazzini article points out the loss of discoverability, feedback, and recovery in iOS.

I don't know if I've read that particular article, but I've seen similar criticisms before. And I do believe that there is something to them. But I also feel like they are blown out of proportion and/or fail to take into account the constraints of the small size of a phone screen. Not to say that Apple hasn't made outright mistakes, but I do think they get it right far more than they get it wrong.

The most pointed criticisms I've seen of Apple's UI changes have been from people who work in visual media

That's hard to argue against, since you don't say what specific criticisms they make.

The interface isn't consistently more subtle; where color hasn't been removed, it's brighter and more saturated.

I probably overstated that particular point. There is certainly lots of evidence these days to suggest that Apple doesn't care all that much about the pro market.
Yeah, but why exactly is it off by default? I can't see the benefit.
If I would rather not be tracked and profiled by these companies, which service would you suggest? In the terms of service of iTunes, Play store, and Amazon it appears those three do track and profile users. Is it too much to ask? How much more would digital copies cost for the 'privilege' of not being tracked and profiled?
The Remarkable Inconsistency of Climate Denial
Don't implement Flux or Redux until you need it. This is what most React experts keep saying, but there are a ton of entry-level tutorials trying to teach both React concepts and Flux concepts (probably because it's a cool pattern). For most small apps, it's unnecessary. Pass state down as props.
A leak is necessary when it demonstrates the government or the leaders are lying. There's zero democracy when the citizens aren't told what's going on.
I don't see how you can fix things with just chair if you work with laptop that is in the table and your are tall.

External monitor and keyboard is must.
ActiveRecord Is Even Worse Than ORM (new Blog Post)
>floating

OK

>underwater

Wait, what??? [Reads article]... OK, that is nuts. Personally I get claustrophobic enough driving through the Allegheny Mountain Tunnel...
This is the first part of a series. Here are the other posts:

http://jeffmason.me/rails-phoenix-live-polling-part-1/
http://jeffmason.me/rails-phoenix-live-polling-part-2/
http://jeffmason.me/rails-phoenix-live-polling-part-3/
Completely agree. I don't see many people in the React community advocating the use of DI though, so that's a plus.

The DI in Angular made a little bit of sense because JS modules weren't very widespread back then. But now, with ES6 imports (and/or 'require') there's no need. We have real modules now, and they can be dynamically injected for testing purposes with something like inject-loader[0].

I think Angular and/or DI's popularity has something to do with Java devs learning frontend development, and feeling more comfortable with more structure.

[0] https://github.com/plasticine/inject-loader
You always need to check array bounds in C, what else is new?
You Can Now Run Android Marshmallow on Your PC, Laptop or Mac
Minecraft is used by the Museum of London to recreate the Great Fire of 1666
Many regulations are of questionable validity, but do you really want to be in a machine that you have no control over? Would robotic drivers be better at things like merging, keeping distance, not over correcting? Yes. But people will still want to intervene when it doing something dumb like driving into a pond, or gets stuck on a median and cannot figure out how to get off.

Driverless cars will probably not be magic pods that whisk you around. It's still a vehicle that needs to navigate terrain. And roads are not perfect everywhere.
"1B+ rows in it with mysql?"

Been there, really no fun.
While this is true, i don't personally think Percona tools alone makes these changes 'safe'. You can create scenarios where performance is so degraded that you introduce replication delay or service interruptions (and yes the tools have ways to work around that, but it's a significant challenge to tune this correctly on production), data can be lost during the table switch over, and the complication of managing a product / database with a table in an extended migration is very difficult.

This space is far from done, until we can change data structures on the fly...we're going to find there to be a constant struggle between schema and schema-less and neither side will be right or wrong.

Solution: Quantum states; We suspect every possible scenario is happening already, so we should just migrate our database to the appropriate quantum state, where the data is in the structure we desire. Sounds insane, it probably is.
I could not agree with this more.

As someone with less than perfect vision, I've seen far too many websites embrace the "greyness" in design, employing far too light shades of grey to display their main content.

This is especially evident if using an older monitor with a TN panel. While IPS monitors have become affordable in the last 2-3 years, there was a period of time when they carried a hefty premium, so most consumers are still probably stuck with at least 1 TN panel in their home.

I cannot describe a user experience of reading a low contrast web page on a TN panel as anything but horrible and have had to manually override CSS rules to be able to process the content.
It's all "paid"; you are just not given the option to not pay for it if it's "free".
Vizio acquired by Chinese tech company LeEco for $2B
Deploy Time Machine for .NET: Benefits for Managers
Illniyar is right, a b-tree with a branching factor of 100 can index 100M rows in 4 levels. Even with the index on a spinning disk, should have no trouble coming in well under 100ms.
this medium post was ill advised in my opinion. this kind of stuff causes reputational damage to everyone involved (regardless of who is in the right and who is being a greedy asshole).

real professionalism involves establishing that you are mature enough to handle yourself in difficult situations and know how to get GOOD ADVICE from qualified advisors, not randoms on the internet.

talk to a lawyer and talk your board of investors. take down this blog post if you know what's good for you.
From https://en.wikipedia.org/wiki/Rod_cell

"Activation of a single unit of rhodopsin, the photosensitive pigment in rods, can lead to a large reaction in the cell because the signal is amplified. Once activated, rhodopsin can activate hundreds of transducin molecules, each of which in turn activates a phosphodiesterase molecule, which can break down over a thousand cGMP molecules per second (Kandel et al. 2000). Thus, rods can have a large response to a small amount of light."
I am building a Crypto exchange!!! :D
So unfair! Comodo once, a while ago, also thought about using IPv6!

But seriously: letsencrypt is doing excellent work. It's a great case study in how inefficient a mostly-free market can be: SSL adoption doubled within a year. All that was previously deadweight loss.
I always considered ghost buttons to be ok, provided they are used as a secondary button in conjunction with a primary button. I'm not sure what the alternatives would be to indicate button hierarchy.
Please stop posting unsubstantive comments. Discussions on HN are to be in the spirit of intellectual curiosity and not ideological warfare. Comments that predictably derail conversation ruin these threads for everyone.
um, nice but the title is misleading. It took me only 1 minutes. 40 seconds of Times New Roman related profanities followed by 20 seconds of clicks :)