skysight-inc/HackerNews huggingface dataset:
Generally the cable hasn't mattered in consumer devices - as long as the device and cable are good and you plug it in to the right port, it'll work. A cable's a cable, after all, right? Unfortunately, that's not true, hasn't been true for a bit, and Apple's only partially to blame. DVI-A, anyone?

Some of Apple's dongles have a microcontroller inside in order to do the signal conversion, so it's a wonder they're only $30. That lighting-to-3.5mm jack that comes with the iPhone 7? Tiiiiny DAC - http://www.macrumors.com/2016/09/20/lightning-earpods-teardo... (The other option being dumb signaling with the iPhone itself doing the DAC and passing the signal, as USB-C allows with alternate mode).

Past Apple's dongle madness though, the bleeding edge of technology has always had a few edges. Despite the connector at the end fitting, HDMI 1.0 cables won't work where HDMI High Speed cables are necessary (though monster cables are still a rip off). High-end 4k TVs need the proper cables or else it won't work, just like a random cable with RJ-45s on the end won't necessarily support gigabit connection speed (or even support ethernet, for that matter).

If Monoprice listing all the possible variations of USB-C cables seems frustrating, and you're allergic to details, only buy the expensive Apple cables and certified Apple accessories and you'll be fine, same as it's always been.

If you need to venture outside their walled garden, yeah, there are some details to know about that the article doesn't go into, but I'm quite excited for what's become known as the USB-C connector to become the global consumer connector standard. Once that's true, the fewer weird dongles we'll all need, and you'll always be able to charge your phone-that-has-usb-c (we'll see if the iPhone 8 picks up USB-C).

What the author glosses over in the article is actually an interesting part of USB Type-C spec, which is Alternate Mode. This allows a device and host to negotiate to speak something other than USB on the pins, be it video, networking, or in Apple's case Thunderbolt 3.

Apple's definitely gone and made things confusing with Thunderbolt 3 - for everyone else. Buying only Apple stuff is going to "just work" as long as you keep buying their newest shiniest gadget, and, well, they're in the business of selling gadgets.
You may want to lookup "sarcasm" before getting all judgemental on the OP's ass next time. It might've been a unfunny joke, but a joke it was.
Id like to hear more about this mismanagement. Football as a product is guided by how exciting it is and how good it is as a group event. The types of mismanagement I could imagine is high costs at events or low energy which is the result of players being disinterested, announcers being unenthusiastic or an overall dread associated to fans.

I can see how mismanagement can influence it but ai wpuld love to hear of occurences
This is a fairly standard practice for maps that are targeted for users in Japan, Korea, and China (perhaps other counties as well).

I'm not sure about the why. Maybe because it puts the target countries more towards the center of the map rather than the periphery?
I think this understates the number of ways you can connect a monitor over USB-C if anything. Let's see, there's Alternate Mode DisplayPort, Alternate Mode HDMI, Alternate Mode Thunderbolt's video support, Thunderbolt to an external GPU, USB 3.0 graphics, possibly more, most or all of which can be converted to HDMI with different compatibility and performance tradeoffs.
The answers to all of the questions in your second paragraph are easily available and in most cases the answer is yes (you can do 4x HDMI if they're 4K or less on the 15", 2k on the 13" - video card limitation, not port limitation).

[1] http://www.apple.com/macbook-pro/specs/
> At least if you tried to plug a USB cable into an ethernet jack it would be immediately obvious that it wouldn't work.

Not necessarily. Ethernet jacks are often wide enough that a USB-A plug can be partially inserted, and it's pretty common to stack the two types of ports. If one isn't looking directly at the connector (common when dealing with the back side of a tower or docking station), it's a surprisingly easy mistake to make.
Ask HN: Not able to Show HN
I submitted a url, did not know of Show HN by the time I posted. Now I can't submit the link again as Show HN, neither can I edit the existing post. Any workaround to show HN an existing post without "Show HN".
Well, the Algol derived ones, might be a bit obscure for those that haven't learned history of computing, but they are quite well known.

I can list other ones that are actually quite obscure.

In any case, I also had D and Swift on the list, which are quite actual.

As for the rest, I don't have anything to add to weberc2's answer.
We will survive this. We survived having RJ45 jacks (which I just learned are not really RJ45 jacks, but 8P8C connectors) in walls. Is it a phone, a token ring, or an Ethernet? Cat 3, Cat 5, Cat 6? Did the installer unwrap the pairs too far? Are there crossed pairs? Does it have two pair or four (in days of old it was common to make single Cat 5 wire serve two devices since they only used two pairs)? Does it have a DC voltage supplied between some of the pairs? What voltage, what current capacity, which polarity, which pairs? What speed is the ethernet switch port? Maybe it is a VGA extender or an HDMI extender. Maybe it is a serial console. I had an office where one RJ45 went to an FM antenna above the steel roof, you really are not supposed to do that. (I have installed or used all of these conditions except for token ring.)

USB has already had this problem for 16 years. When they went from USB 1.0 at 11mbps to USB 2.0 at 480mpbs they had to change the shielding. The only visible change on the connectors was a tiny + sign in the three branched USB tree molded on the end of the cable, which was apparently so useless to users that no one bothered to put them on. At least, my quick rummage of cables didn't find any. There is alleged to be a color code. The plastic inside the connector is white for 1.x, black or white for 2.0, blue for 3.0, and yellow or red for sleep/charge. My quick rummage of cables suggests this is not necessarily known to cable manufacturers. I think the ports on devices are more rigorous about this, at least, I think all my USB 3 ports are blue.
So buy the USB-C hub/dock/whatever and leave it at work. No need to carry it around with you. This isn't really any different than the case of a traditional laptop with a dock, except instead of some weird giant proprietary connector, you have a small standardized connector.
Agreed. The question is what does a young person do? Take on an asset that is known to be overvalued or wait for the rate climate to change.

As a data point, condos in Toronto (condos in Toronto are generally tiny and not the most desirable place to raise 2 kids) appreciated by 9-10% this year despite continuous bubble talk by various levels of govt. You and I both know this will not stop until rates rise; and they won't - at least in canada - because of a significant problems in the oil sector of our economy. Is the right thing to do to buy into this "ponzi" scheme and try to time the exit? Or continue to hold the course of staying out of it and waiting for rates to rise. I have rented since 2008 when I graduated and I'm tired of shoveling my money into the fire :'(
Ask HN: What did you make in Django?
After a quick look, I would have not idea where to start to add macOS specific APIs to this code base. Then again, I have zero experience with C++/Qt.
It is understandable how one might be confused when one swims in that narrative, but, as an example, things like this:

http://www.espn.com/espys/2015/story/_/id/13264599/caitlyn-j...

are going to be poorly received by a number of ESPN's (previously) core demographics.
It does matter that you're putting more current over the cable than it's designed for. Overloading conductors can be a melty, flamey time.
Correct, but this is one that has two important properties: It tiles, so it can be used for web maps, and you only need to rotate it to always have it point north, so it can be used for mobile maps.

Google Maps, and similar tile systems, can’t have the local area undistorted and pointed in the right direction without these properties – and this map fulfills them.
Cross-make selection: conditional Makefiles supporting both BSD and GNU make
Given that iSight and Facetime HD cameras required drivers and firmware to get running under Linux, I would be positively surprised if the new camera is easier to set up, meaning I don't think it works right now. Even the existing camera support isn't 100%, with features like suspend/resume being flaky, all due to it being reverse engineered.

That said, the options for developer laptops has shifted in favor of general x86 computers, including very light-weight machines and ones with mechanical keyboards. If I want to use Linux on it, my first choice wouldn't be a macbook. So, unless you require macos for work, you have have a more diverse variety of laptops to find one that suites you best.
No disagreement there. Mathnerd314 asked for proof of stolen code, which of course is difficult to provide when we're talking about a closed source product. So the original authors must resort to indirect proof like comparing visuals and inspecting the binary.
do you have a covering blog post about that?
and having to sacrifice IO for charging while mobile seems like quite the headscratcher.

I have an odd hypothesis about this --- the less time people spend charging/running from AC, which is inevitably going to happen when there is no separate power input that can be used easily, the more they'll be cycling the batteries, and the faster they'll wear out.
The International
Pull the age stats over the past decades for major league baseball fans and you'll see sportball has always been a boomer thing... they're "going elsewhere" as a euphemism for the cemetery.

Another thing is all sports over represent whites demographically, so if there's a big government immigration program to reduce the white demographic from 90% in the boom days to 60% now and ideally 0% in the distant future, then sports is just going away as an old white man thing. NBA and soccer are the only sports where the fans basically are not old white men. Another decade or two and it won't be a white country therefore not a sports bubble / sports fan country. Just simple demographics, non-whites don't do sports as much as whites.
Do you mean the all-22? I don't think they actually have 22 different camera feeds.
Sling TV? I got it so I could get AMC/lifetime/etc without getting ESPN, but they have a pretty cheap option that gives you ESPN.
Wow. Just, wow. "This is not your word"??? Even when I stretch my charitable suspension of disbelief to its absolute limit I cannot come up with any interpretation of that phrase that is even remotely defensible.
Tip: If you're asked about Big-O in an interview, and your rusty, at least determine whether the algorithm is sub-linear or super-linear. Just knowing this is 80% of what you need to be aware of in industry IMHO.
When you write an article, and John Carmack responds with a correction, you're probably not actually doing too badly.
Personally I find that Apple Preview has always been good enough for these tasks. It can also do a surprising amount of PDF editing: for example, you can draw annotations on pages (for highlights and signatures), and selectively combine pages from multiple PDF documents into one by simple copy & paste.
Please excuse my ignorance. I searched on the webs but couldn't find what VCP means in this context. Can someone please decode that for me (and maybe other readers like me)?
Reputation doesn't work in problems with a lot of money/power at stake. You can easily hack the system behaving like a good citizen for a long time until you consume all your reputation in a big transaction. Not only that, reputation is a hard problem if you are a newcomer.
The second link explains it pretty well.
That's quite similar to me with a 4BR in Massachusetts.

I'm in the 550-600 kWH range for most of the year. Goes up a little bit in the summer if I'm running my 1-2 window unit ACs on occasion. In the summer, I do run several fans more or less continuously.

I do have an electric oven, dishwasher, washer, dryer, and several refrigerators. I also still have a fair number of halogen or other incandescent lights although I'm slowly swapping in LEDs. On the other hand, it's mostly just me and I do a fair bit of traveling so appliances and lighting probably don't add as much as they could.

I have a little bit of baseboard heat but I rarely use either that or my space heaters. (Forced hot water heat and water heater.)

My electric company says my use is about average in the area for the size of my house (albeit their figure is a few hundred square feet too low).
Ask HN: Gaining real world experience while being the only developer in a team?
A question that strikes my mind often, what do you think would be a good idea to assist the one and only developer in a team to gain real world software development experience? Contribute to open source projects can be one option, but I'd love to hear your thoughts.
esports always have and always will be a niche.. when I was a kid we competed in dingy hotel conference halls for hundreds of thousands TOPS... Good ol' CPL. probably only half a chance of getting paid too.
So this is what happens, if exponential progress collides head-on with a medieval culture thad had no time to prepare. Absolutely scary - and to me it rather looks like it's helping fighting equality and human decency rather than fostering it.
I've heard it said that the bicycle basically needed the car, despite seeming to be much simpler: accurate mass production of ball bearings, chain drives, and pneumatic tires were all driven by car manufacturing but needed for really practical bicycles.
What's comical (or sad, really) that things built with this often are not even web apps.
Phil Schiller stated in the presentation that the new LG USB-C monitors provide enough power with 60W to charge the new 15" Macbook Pro models.

The charger offers 87W because it is meant to be able to provide enough power to charge the battery while the CPU/GPU/external devices run at 100%.

The worst you are going to experience with 60W while everything is running at 100% is that the battery isn't charging or charging very slow.
That's a really big wart on the outside of the computer. Hopefully it won't need to be that big on the Mac.
Never heard about Canonical Livepatch Service before that.

It looks really interesting and useful for patches like that, but, sadly, very expensive for use in production - it requires Ubuntu Advantage support package which is $250 per instance per year.
Yes, because the PCIe root complex in the CPU can only connect one other device besides the southbridge, and that's used for the Thunderbolt controller on the left handside. The second Thunderbolt controller is connected to the southbridge (as are all the other PCIe peripherals), so it doesn't have the same number of PCIe lanes available as the one directly connected to the root complex.

Apple could have solved this by connecting a PCIe switch to the root complex and attaching both Thunderbolt controllers below it, but that would have consumed additional energy. Alternatively they could have used a beefier CPU with more PCIe root ports on the CPU, but I guess those available would have been too energy hungry. Which kind of means this is Intel's fault for not providing a low-energy chip with enough PCIe root ports on the CPU.

I'm wondering what the situation is like on the 15" version with discrete graphics. This would require 3 root ports directly on the CPU to drive both Thunderbolt controllers and the GPU with full speed, I assume that's indeed the case since it's not mentioned in the document.

Another thing not mentioned in the document is that energy consumption will be suboptimal if one device is attached on both sides of the machine because it prevents one of the Thunderbolt controllers from powering down. One should connect both devices on one side to improve battery life.

Edit: On Skylake the PCH is apparently optional, the functionality is mostly integrated into the CPU, so the limitation is really the number of lanes provided by the CPU, and this wasn't sufficient to connect both Thunderbolt controllers with 4x. The CPUs used in the 13" model all have 12 lanes, the ones in the 15" model have 16 lanes. So for the top-of-the-line model this could be 4x for each of the Thunderbolt controllers, 4x for the GPU, 2x for the SSD, 1x for Wifi, 1x for HD Audio?
I'd like to add that there seems to be more of a consensus in education inequality.

That is, noncognitive skills developed very early (age 0-4) are a huge factor in educational outcome and early childhood intervention is pretty close to agreed upon to be a necessary thing to improve the outcomes of children who grow up in a poor environment.

James Heckman's work on the topic might be worth reading.
1) You need to open a thread handle, and you can only do that on processes running in the same security context the attacking thread. So you can already execute code, and this vector alone does not give you privilege escalation. It does however allow you to execute code in another process.

2) It uses NtQueueApcThread for 1), which is a known vector for this type of "attack", see e.g., [1]. That code uses NtQueueApcThread to call LoadLibrary in the target process

3) the "new" thing presented in the article is to get a ROP-chain in the called process by using atom tables

I don't know. I have been away from windows for about ten years, and a lot may have happened, but this doesn't seem like it would allow me to do something that I couldn't already do. What is the benefit here, compared to e.g., using NtQueueApcThread and LoadLibrary to load the code?

[1] http://www.codeproject.com/Articles/11777/InjLib-A-Library-t...
Is it possible to make one Type-C cable that supports every possible protocol that can go over Type-C and works as long as the devices are compatible? I.e., if the two devices can talk over Type-C, then the cable will work?
Maybe not an active KKK-rally attending racist, but a soft racist? There's a reason why two identical resumes for post-graduate work get rated differently when the names are "Chad" vs "Shaniqua".

The fact is, when you really get down to it, most people are subconsciously racist. Not a joke - most people. There have been studies on it and everything.
Orca is a bad idea. Very few blind people use Linux because Linux desktop sucks, and Orca is always at least somewhat behind all the other screen readers. I have met a few blind people over the years who have used it for an ethical reason or because they can't afford Windows, but no one really likes it. Linux is indeed the cheapest option, but it's also almost completely ineffective in terms of making it actually work well for your users.

For starters, even getting low latency out of the Linux audio stack is a major headache, and the synth situation is abysmal. You can't even touch the config files for these yourself because if you break either--even temporarily--you now can't use the computer. Then you get into how all the graphical desktops have accessibility issues to one degree or another and how you have to use a separate screen reader for anything outside them.

What you want if you want a testing VM that actually has value is Windows and NVDA. NVDA is free in both senses and kind of the industry standard for sighted testing now. Jaws is still more popular, but this is slowly shifting in NVDA's favor. This would be because Jaws costs roughly $1000 per user. The advantage of NVDA is that you can be sure all users can have it, and if it works with NVDA then it's very likely to work with jaws without too much more work.

But sadly you can't just test with one; in the end you have to test with all of them. Things like aria are nice if used correctly, but the aria spec doesn't say much about what screen readers have to do, and no one implements 100% of it. It's very close to the situation with needing to test on multiple browsers.
> Yep, if you have a cable or satellite subscription, whether you watch ESPN or not, you're paying ESPN over $80 a year.

And that right there is one of the main reasons why I don't have a cable or satellite subscription anymore. Very tired of subsidizing channels I never watched. Most especially ESPN. That and the trend of, "oh you want AMC? Well you'd better buy the super premium $140 a month 200+ channel package! You can't get it with just the $80 a month 120 channel package." And, of course, the ads. My money or advertisements: pick one.
"Alternate Mode" means "using the same USB Type-C pins for other protocols". That protocol can be HDMI or DisplayPort or Thunderbolt or even analog audio!

The USB consortium specifies using HDMI 1.4b and DisplayPort 1.3 (and MHL 3.0) on the Type-C port. So non-Thunderbolt machines have these specs as a maximum.

Thunderbolt 3 can also pass video signals, and Intel specifies different versions of the protocols: HDMI 2.0 and DisplayPort 1.2. Again, these are the maximums.

So if you have a USB Type-C monitor (not Thunderbolt) or a native USB Type-C to video cable, you're limited to HDMI 1.4b (1x4K at 30 Hz) but instead you might be able to use DisplayPort 1.3 (1x 4K at 120 Hz). If your video card, connector, cable, and display supports it, of course.

If you have a Thunderbolt-native monitor, you might be able to do 2x DisplayPort 1.2 (4K at 75 Hz or 5K at 30 Hz) or 2x HDMI 2.0 (4K at 60 Hz and much more). If your video card, cable, and the Thunderbolt controller support it.

Essentially, you can pass video directly over the port (in USB Alternate Mode) or over Thunderbolt. Then there are external video adapters that use USB or Thunderbolt data. But that's not in scope of your question.
Probably about ten years after it's commercially available.
So let's just assume the worst, right?
Call me crazy, but I have an idea and it's been kicking around in my head for a while. But, how about a wireless broadcast system for video. I hear you laughing, but wait. Give me a second. Have large broadcast towers that broadcast out digital (ok, analog signals that are carriers for digital output) signals that can be picked up by antennas in the home.

Sounds crazy, right?

It could broadcast sports, news, entertainment, you name it. You could even finance it with product placements (strategically placed in the videos) or just short ads (I like to call them commercials, but I am not sure why).

You all are pretty smart, does this sound like it has any way at all of succeeding? Talk about cord cutting!
It seems more likely that we're in the midst of the early days of a transition away from USB-A cables to USB-C for most uses. There are a lot of advantages, namely connector size, reversibility, full power delivery, the unification of ports with Thunderbolt 3 and DisplayPort, etc. Plus, it's designed to be future proof for some time. Maybe I've missed something, but is there a specific benefit to USB-A beyond the current ecosystem and common use? Not that I'm discounting that. I'm not a dongle fan by any stretch of the imagination, though small USB-C hubs can alleviate the use of multiple dongles somewhat.

But I think that, as peripherals and other devices begin to switch over to USB-C, we'll eventually see dongle use become less and less common except for older peripherals and devices. And that's nothing new. Eventually, it'll go the way of the PS/2 port: included on motherboards, but not really used much (relatively speaking; the analogy breaks down a bit when you think of gamers and the mechanical keyboard community, where it still gets some use for n-key rollover).

Transitions between interfaces, as a matter of principle, suck. But we wind up going along with them because there's benefit to do so. I'm curious how this will play out in five, or even ten, years. Not that I want those years to speed by to find out :).