skysight-inc/HackerNews huggingface dataset:
Wow!

I consider myself lucky that I practically do not have to deal with C++, but if I were a C++ kind of person, right now I would deeply appreciate how much hard work goes into a tool like this. [1]

In order to be any good, it has to be even more clever than the compiler, at least in a few ways.

And I have a hunch that in the field of programming languages that are used these days, C++ is probably not the easiest one to write such an analyzer for. ;-)

TL;DR - Respect! I can only - but vividly - imagine how hard it must be to create a tool like this.

[1] I have mixed feelings regarding C++, because I have only used it in tiny doses. I treat the language the same way I would treat a bear, if one suddenly appeared: Keep my distance, avoid any sudden motions, but also, under no circumstances, dare I turn my back on it because of the slight chance that it might come after me eventually. I do not actively dislike C++, I just have not found the time to learn it, and I get the impression that if I really want to learn it, it will take much more time than I can currently afford to invest. Maybe some day it will come to pass (that will be a good day also to finally read Moby Dick all the way through from end to end.)
I think it's easy in all the superficial churn of frameworks and languages to forget how much depth there is in our field. To me, writing a compiler isn't that big a deal anymore; it's the kind of exercise I might use to try a new language out. But when I was a sophomore in college, even after a few years of computer usage, it would have been magic to me.

It takes a lot of work to get to the point of skill demonstrated in this article... but there's still a lot of skill runway beyond that level of skill, too. It's simultaneously true that this is an impressive amount of talent, and that there are people for whom this would be an entertaining momentary side diversion from their normal job.
Surprised Google beat Alexa? I have had the Echo since late 2014 and now several Google Homes. For understanding you and answering questions Google is well ahead of Amazon.

But you find this surprising?

This is what Google does and has for almost 20 years now.
Benedikt Meurer: A Tale of TurboFan: Four years that changed V8 forever [video]
I think the spelling difficulties have more to do with English not having phonetic spelling than with it having many loanwords, prefixes or suffixes. I speak Portuguese and we have lots of loanwords as well but after a while they are all spelled like the rest of the words are instead of copying the original spelling. And every once in a while there is a spelling reform to replace archaic spellings with more modern forms (this never happened with English because it was politically unpopular)
Probably a certain amount of over-pressure. Marketing nonsense, though.
Only 1 so far.
My point was mostly that binary patching is generally bad, and should be avoided. It could very well be the least-bad option in this particular case. Its certainly much better than leaving security holes unfixed.
You say "red tape and rent-seeking", and I hear "fly-by-night operators, fraudsters and scammers".
They might want to learn how to mass produce cars first, though...
rtags is also using libclang for parsing, fixits, etc.

Here is a demo of rtags can do with a proper emacs setup:
CppCon 2015: Atila Neves "Emacs as a C++ IDE"
https://youtu.be/5FQwQ0QWBTU
If it helps people in other CA businesses to convince management to take compliance and security seriously, all the better.

"No, we can't take a shortcut here. See what happened to StartCom after they bent the rules a bit too much".
> 1. Something between taxis and buses could theoretically be viable.

Very common in South America, it's called collectivo and it's awesome. It's basically very inexpensive, shared taxis that have pre-determined routes. But you can talk to the driver and he might go off his route a bit if it's not too inconvenient.
They now see themselves as a competitor to commercial media and entertainment networks - not sure why other than to justify the very high salaries of their so-called 'talent'?
echo "sleep 1" >> ~/.bashrc
Saw that Peter Thiel is funding some guy in Missouri to go after Google.
StartCom will always have a special place in my heart – they're the only company that I had to outright bribe to do business with.

On the other hand… I really won't miss 'em.
I've been back and forth from Australia to the US enough times that it takes about five minutes for my brain to adjust to driving on the other side of the road each time.

That said, my brain takes the cue from looking at what side the wheel is on (I just keep the side with myself on it close to the centre line). If I got off the plane and into a McLaren F1 then I'd probably have real problems (thankfully Avis doesn't carry twenty-year-old supercars).
Sounds like DJI kicked off a bounty program and didn't have their ducks in a row on setting bounty scope, legal terms, or process.
Researcher found PII leaks and keys to some pretty sensitive stuff, and DJI didn't know how to respond.

After DJI dragging it out for weeks, giving overly broad terms, and sending a poorly crafted CFAA threat (which in charitably interpreted was just to ensure he deleted any sensitive material), researcher walked away after being frustrated by the time sink.
Ontologies don't scale.

There were plenty of people warning about that by then (I wasn't). And time showed them right.

Interestingly, now we have Google pushing for the opposite extreme. There is absolutely no objective reality on its searches. Even the meaning of the words are linked to your persona.
5 Chrome DevTools Tips for Troubleshooting Web Apps
Probably bought it in from a third party. Why'd you think Pinball went away?
A small bucket of warm water and sponge is all you really need. You get just as clean as having a full shower, use a tiny fraction of the water - and no risk of hypothermia. This is what what we did living in a small village in the Himalayas for a year.
this is difficult to take this seriously when there are people facing real issues out there
It is definitely more practicable in the sense that no-one has figured out how to implement the vision of the semantic web.
Axios Raises $20M to Fund Newsroom Expansion
Unlikely because GCC deliberately made it hard to reach into its internals for a long time. The only other implementation is the one by Microsoft based (presumably) on their C++ compiler.
What are the usual culprits that prevent it from working under clang?
In the Twin Cites in Minnesota, USA

https://www.metrotransit.org/fares-passes

has rush hours surcharge for most buses and light rail as well as more expensive express buses.
Funnily enough, I work in recruitment marketing and do quite a lot with programmatic targeting and retargeting so am close to it too.

One of the benefits of recruitment is we tend to have a lot of touchpoints to gather informed consent, whether through the points in an ATS, expressions of interest, candidate contact and follow ups.

It's serious, don't get me wrong, but I think given the grey areas in definitions that there are (and the rationales developed for collecting information in the first place), if you're a responsible data controller in the first place, the impact will only be felt in a few ways.

For the purposes of advertising, it's always been sketchy to "sell" data to an ad company. Most of the time it's owned data passed along and processed by them on behalf of the original acquirer (something comparatively easy to get consent for, because it also ties into personalisation) for retargeting. Initial targeting is going to be the hard part, as the right to be forgotten is going to be hard to manage across multiple DSPs.

Analytics is going to be a *, as we'll need to delay any analytics firing until someone's opted in, but this will become blind after a while once someone's opted in or out. Persisting this option will, perversely, mean having to store more personal data around choices, but hey ho.
I assume by 2050 it will all spell out some obscene message which Elon Musk will read to us as he departs for Mars.
I've had something similar before at a prior employer caused by bad linking of some C# to some C++. Someone thought it was a good idea to P/Invoke directly the mangled names. Needless to say that changed once I was finally able to get my hands on the source.
> Hopefully Amazon will disclose more details.

We will have some more details on how this all works at re:Invent in a couple weeks.
I edited the article including a reference to rust-toolset which is available on RHEL repositories
`yum install rust-toolset-7`
https://developers.redhat.com/blog/2017/11/01/getting-starte...
By solving their biggest problems first, rather than create new distractions? Kinda the same thing any company would do.
Emberlight is shutting down, bricking all previously sold hardware
No disagreement here. The arc of my point is for those who look at 1984 and believe we're a long ways from there. On the contrary, we ARE there. The same ends, just different means.
One has to wonder: is PAI-1 a feature or a bug?
Still kinda giddy about the Roadster, too. Guilty — can’t get enough of Elon’s disruption (personal life aside) —- sue me or grab the pitchforks.. i’ll serve you lemonade. :)
WebGL. I spent ~10 years doing Flash / ActionScript and when Jobs nixed the mobile Flash plugin, I figured everything would shift to HTML5 / WebGL. Nope. The era of fancy, interactive websites faded into the rearview mirror.

I'm sure most of you don't miss it, but there was so much amazing work. Rather than the budgets shifting to Three.js etc, it went to apps or dried up completely.
The author makes mention of being able to flick through hundreds of patients to find "the saddest case". (I think this is really only telling of how the author views the world).

This used to be possible, but now there is just a "meet a patient" button, showing a single random patient at a time, which works more like StumbleUpon than Amazon product listings.

Now I need to actually invest way more time to find the "saddest case" (in more polite terms: A case that resonates with me, usually a child with a life threatening disease, but a perfectly viable treatment option). Also, skipping patients was mentally easier for me when they were collections on a page, than when there is a single patient on the page, and skipping to the next may mean you never see the patient again.
Tempered glass is particularly vulnerable from sharp, hard objects. This is the idea behind "ninja rocks" : pieces of broken spark plug ceramic that are used by criminals to break side windows of cars.

I'm not saying that Tesla windshields are vulnerable from that, in fact, most windshields aren't. However it shows that resisting a blow from a hammer that is neither sharp nor hard is not a conclusive test.
i love how every comment you make on hacker news is related to china in some cynical way.
Yeesh. This is some kind of caricature of social signalling or something. What even is this person trying to say?
Just as I was giving up on the BBC, they published this incredibly in-depth article by star journalist Jim Muir that bought them a reprieve in my books: http://www.bbc.com/news/world-middle-east-35695648

I don’t know if the BBC has ever published anything that even-handed, in-depth, thorough, and expansive prior.
Linux on the Desktop.
Yeah, the wording is ambiguous. It could be construed to say Git is an example of a utility that wasn't ported, or just that it was a utility that was written in Linux, for Linux.
97% accuracy is abysmal for something you are presenting as "answers".
Rust is disgusting language with too much commercial exploitation
> Just think, Chrome OS has essentially failed to take over the OS market, so I doubt anything using this overly-sandboxed model will be successful in the future.

But that's the thing, there's no "os market" for appliances. ChromeOS won't 'take over' computing devices any more than toasters will take over your kitchen.
Whilst this is a lot of fun, and the Japanese transport system is certainly something to be generally admired and imitated, unless I'm the only one here, just wanted to point out that there is a dark side to this also: https://www.japantimes.co.jp/opinion/2007/01/09/editorials/d...

Takami apparently was worried about being punished for overrunning Itami Station. In the past, he had received punitive education three times for errors and had his wages and bonuses docked. JR West’s education program, which included writing “soul searching” compositions, was known to be humiliating.
Those properties come by definition. Addresses don't change because you can't (realistically) change things any much and move things around.

Basically, think of it like this: you have an old book, written in some magic runes and is told that a certain (quite short) paragraph is wrong and can be badly misinterpreted due to poor wording. You know, the magic spell goes kaboom.

You have tools that can easily and painlessly: a) translate the runes into a text that mere mortal can reasonably easily read; b) scrub runes off the page and write any new ones over; c) translate your text into runes. There is a simple correspondence between text length and how many runes it would take. Now, all you need is to write the new text that must be no longer than old one was. Not a trivial task, but not something extraordinary. Just rare, because we don't deal with magic runes those days as familiars take orders and handle all the gory details.

Writing assembly requires a skill. So does reading old assembly code of a particular function and figuring out what it did. That's admirable, but not something unbelievable.

It's just rarer to see those days, but not a lost art or anything like that. Crackmes are still alive. On the game cheat forums such patching (albeit, for a different purposes) was the norm, and probably still is for the games that aren't protected. And many embedded developers have their fights for code size quite often.
Google's instant answers are generally pretty good in my opinion, but in situations where the answer really matters, it could cause dangerous situations in the cases where Google does get it wrong. A good example is how Google chose the wrong picture on how to do cable crimping:

https://imgur.com/a/H3Uhg

Regarding the example above, Google's answer with a picture looks clear and sounds very authoritative. No further reading seems to be necessary.
Looks like that's limited to a few categories; as far as I can tell through that document, only "automaker" apps can even build custom UI, and Google's not an automaker.
In this case they may never have had the source, the copyright is for Design Science, Inc which makes MathType a popular equation editor for Word. Depending on how this was licensed this may have even technically been illegal (due to copyright issues); although I suspect MS has a license that allows this.
> using those machines around kids who treat the shop as a playground

Definitely the biggest hazard in my comprehensive school tech. classes. Little makes you move to the other side of the room faster than people throwing random pieces of scrap at a powered disk sander, and I'll never forgot the noise an LED makes when shorted across a 230VAC wall socket (with a locker key jammed in the earth pin for good measure...).

I sometimes wonder how the only injuries I got from those years was a minor soldering burn (dropped the iron) and accidentally impaling the palm of my hand with a screwdriver.
No, it's incorrect, physics does not mandate that battery should heat up as you expend energy. Ideally all the energy would go into kinetic energy and be dissipated by friction losses due to air or contact between the road and the tires. The battery heats up only because the process of tranferring the chemical energy from the batteries to the car motion is imperfect, and there are internal losses do to the internal resistance of the battery.

I'm not saying that Tesla has invented a sufficiently efficient battery, but to vaguely claim "physics" makes it impossible is wrong.
We've banned this account like we said we would.

https://news.ycombinator.com/newsguidelines.html
Only doing that if I go back to the beltway and go to work for at or as a contractor for a TLA.
Would be good to get an answer on this from the author since he was so kind to show up.

@davidwhodge ?
Might be a bit low level but https://circuits.io/ goes into this territory with Arduino and stuff. I was blown away by how much electronics you could automate there and just focus on Arduino development instead.
Shazam says:
Set Free (Kris McTwain Remix Edit) by The Project 7
> because there is a clear dampening factor for aggregate blame and accountability

There isn't, legally. If anything, corporate status provides a clearer framework for holding people properly accountable when they coordinate their actions as a group. Without corporate case law, it would be much easier to shirk accountability.

> But BP can spill 4.9 million gallons of oil in the gulf because not a single person will go to jail, the fees are a negligible cost of doing business, and nobody feels bad because everyone was "just doing their job"

You're conflating a lot of distinct issues - principally, the effects of being a corporation and the effects of being incredibly wealthy and politically influential.

> No, I don't believe corporations deserve any rights whatsoever.

This statement is logically equivalent to "I don't believe that people should have any rights to coordinate their actions".

The irony is that it sounds like a populist statement that's sticking up for the little guy against the machine, but in actuality it's an incredibly radical statement in favor of stripping power away from the poor in order to preserve the power and status of the extremely wealthy.
Other public broadcast RTV (radio & television) such as the Dutch NOS also suffer from this. My theory is: its the intense pressure from the commercial broadcast, as well as the Internet as a whole. It makes public broadcast RTV less relevant, and as the elder pass away they're trying to cater to youth to remain relevant in the longer run. Youth like e.g. clickbait. Clickbait also generates pageviews hence ads or at least statistics showing relevance. Of course, those statistics are manipulated by short-term benefits.
This was actually the Onus for the switch to the XML formats IIRC. Basically after the DOJ settlement they had the uneasy realization that the requirement to document the .doc format was going to be a nightmare because nobody had a complete spec of it. To make it worse the code wasn't very portable and customers were asking for x64 support pretty hard at the time.
At least by me, housekeeping is usually paid in cash and presumably under the table. It's not really going to help Uncle Sam, but I imagine it's helping people who need it stay afloat.
that problem that you mention happens way to often. Answers are not "generally pretty good ", they are generally pretty relative.
I think that's what the Pebble Time watches used, a transflective Sharp Memory LCD (that Pebble calls "e-paper"). In direct sunlight, the screens are actually easier to read, and the colors are really vibrant. Indoors, it's a bit dim without using a backlight, though still better than a blank screen. It seems to be the key to the Pebble's 7 - 10 day battery life even with an always-on display.
> It's about 10% faster, but it's cheating by comparing bytes instead of utf-8 encoded characters.

I'm really glad that you acknowledged this — I work with a lot of non-ASCII text and have run into that more than a few times in real code.
I really want people to knock it off with the low effort titles on HN.
Ironically, clapping, is the very device Medium uses to keep writers writing, the same stimuli that releases dopamine in other platforms.

And yet, the author decided to write his article on the very site that uses techniques Nir talks about to promote engagement.
And it starts with “co”
Define "real issues". Also, explain how other issues change the impact that this new tax code will have on students.

I agree that US's tax code needs to be reformed. I think we need to start working with a much, much smaller budget, because expenditures like the F35 are getting to the point where it's just not justified anymore (400bln for a jet that still isn't complete). The proposed solution would take a group already deep in debt and drastically increase their taxation rate. This is not the solution.
There are plenty of US counties that could use some humanitarian intervention.
For quantifying discrete objects, you should use "fewer", not "less". "Less" is used for aggregates, continuous media, and numeric values. So, "fewer people", but "less water".
Building an Object Detection Toolkit with TensorFlow [video]
specs insane, but the car doesnt exist
anyway, who cares, it's not something people would buy
I think so. It took the headline of "who would walk away from 30k??" to "yeah that makes sense".
I've seen it in a few places, and it's common on the London Underground where you have a peak/off-peak fare - you're charged for pay as you go and it's your responsibility to know which fare you're going to be charged for the journey.

It's also common on the trains, where most have a peak price (usually only in the morning).

For season tickets (monthly, yearly), all fares are usually included (i.e. your pass allows you to travel any time, very rare to find an "off peak only" seasonal pass, although some people, like OAPs have them).
If you try to wrap any non-trivial type using SWIG typemaps you will quickly go insane. However to speed up an inner loop you can often get away with a few PyObject* arguments/returns. SWIG will pass those through and you can use the Python/C API directly, e.g. to return a numpy array. Allow SWIG to handle only simple types. The Python/C API is relatively sane, but you'll have to learn the reference counting conventions.
Also since some are using GTA for these sort of experiments I wonder if Grit is suited for this sort of thing as well:

http://www.gritengine.com/

I believe Grit has Lua scripting built in as well. Looks like CARLA has some Python thrown in which is good too, but no direct mention about it.

Edit:

Youtube demo of Grit:

https://www.youtube.com/watch?v=RpORM_it8l8 (from 2014)
There's an Engineering Explained video that takes this approach:

https://www.youtube.com/watch?v=nAvIVGGhEis

They estimate 2.0s is roughly the limit on standard tires, F1 cars can do it faster due to stickier tires.

He also has a video about Tesla acceleration:

https://www.youtube.com/watch?v=iVGsWvRa1XA

Which talks about whether the Model S has an advantage over the (old) Roadster due to the heavier vehicle gripping better.

Interestingly the number he calculates for a theoretical roadster car is very close to Tesla's new number.

They also have a video about "rollout" which can alter 0-60 times and needs to be taken into account for comparisons.

https://www.youtube.com/watch?v=nAvIVGGhEis
Sheriff Jails Woman for Anti-Trump Bumper Sticker
Speech to text. 20 years ago there were programs already doing a fairly good job at it. By now I'd expected to see people recite written documents to their computer instead of typing them. Not the case.
I'm not super a fan of typing on glass, especially when next-keystroke prediction is as poor as iOS has been lately managing. I am super a fan of having a device with the size of display that eliminating a physical input device achieves.

My old Palm TX did the same thing, showing the graffiti area when a text input had focus and otherwise giving applications the use of all but a status bar's worth of glorious 320x480 screen space. Granted that Palm OS did less to help applications really leverage the extra space than iOS does. But most of what I did on that device was reading anyway.

Of course, Graffiti via stylus suffers less from a soft UI than keyboard input via touch, so it's not quite apples to apples. Still, though, as annoying as a soft keyboard so frequently can be, I wouldn't give up half my phone's display for a hard one.