skysight-inc/HackerNews huggingface dataset:
Shameless plug but my company is almost wholly oriented to binary intrumentation!

In our Deviare Hooking Engine/Deviare In Process [gihub-1] and RemoteBridge [github-2], we have a disassembler in place to hook Win32/COM/C++ vtables, so the hooking process is smarter if there are changes in the prologue. You can obviously take a look at the source code and learn a lot from it since it is state of art and perfectly competing with Microsoft Detours [3]. For an old comparison with Microsoft Detours you can check [4].

For anyone else looking for an extremely easy to use and higher level API, Deviare Hooking Engine makes extremely easy to hook and handle functions parameters and return value. Simple like this:

[snippet]

notepadPID = LaunchNotepadAndGetPid();

//in first place, hook DllGetClassObject of the target dll/ocx
hookDllGetClassObj = spyMgr.CreateHook("shell32.dll!DllGetClassObject", (int)eNktHookFlags.flgOnlyPostCall);
hookDllGetClassObj.Attach(notepadPID, true);
hookDllGetClassObj.Hook(true);
hookDllGetClassObj.OnFunctionCalled += OnDllGetClassObjectCalled;

[/snippet]

Docs are available here: http://www.nektra.com/products/deviare-api-hook-windows/doc-...

[github-1] https://github.com/nektra/Deviare2

[github-1 bis] https://github.com/nektra/Deviare-InProc

[github-2] https://github.com/nektra/RemoteBridge

[3] http://research.microsoft.com/en-us/projects/detours/

[4] https://www.reddit.com/r/programming/comments/22crn0/gpl_alt...
Oversupply and stagnation were solved in the past by wars or new worlds' colonisation. Considering that Planet Earth is full and that we do not want a nuclear war, the best opportunity for mankind is Moon or Mars colonisation. Exploration has always been the distinctive trait of humans and still will be.
Part of the Apple all writs defense was the government can't force you to speak as it is a violation of the first amendment.

I do agree with the quotation though. I have a hard time believing government wouldn't somehow figure out a secret way to violate your first amendment such that you have no legal recourse.
Then let's produce lamborghinis and mansions for everyone and automate healthcare
noteworthy that the author is Vaclav Smil: http://www.wired.com/2013/11/vaclav-smil-wired/
As much as I support the notion, but Trump is only funny as long as he's not on “the throne”. I suspect very much that all our laughing days will be over once he ascends.
What?? You want to sell a self-driving car but you want it to be a good driver only in pristine, well-marked roads?? What kind of half-assed solution is that? Well, now that I think about it, the car could determine if the road wasn't good enough and tell you to take over, but then you'd have to be ready to do it and not busy reading a novel or talking with your mother on the phone, so it would defeat the purpose of doing the driving a bit. Anyway, I'll bet the only real solution will be to make the ai better. Just as with airplanes, you can't hal-ass something like this and blame it on lack of road paint, it would be too dangerous (you know, with airplanes, how they're so safe because otherwise they'd be so dangerous).
Was the "ban" reported or the fact that "it was on 1st of April" won't protect the Chinese from the law against knowingly spreading false information?
Seriously?? This is like the uber of cool or the spotify of awesome!! There's a link in this blog http://tinyclouds.org/colorize/ where you can get the trained model for Tensorflow. I'll try this out. MIND = Blown.
The best way to manage your country in the 21st century
https://countryos.com/
Second Farin's books, the CAGD one is great. On an unrelated note, he passed away earlier this year: https://asunow.asu.edu/20160128-life-and-career-gerald-farin...
Read it again. Encryption is a humans rights ISSUE, it's not being pushed as a human right in itself. Encryption affects your human right to privacy and free expression.
+1 for JuiceSSH, I also have the pro version and I'm very happy with it.
'Sleep faster' startup culture puts entrepreneurs' mental health at risk
I install RHEL on production
servers because I'm much
more confident I can run
"yum update" and
nothing will break.

Similar rationale for my using FreeBSD.
Another related question is how much demographics (less younger dynamic vs older comfortable individuals that resist change) has an impact on exploration.
Some Lessons About Connected Societies
I meant that if the Internet is a "global village", then places like Reddit are "town squares". Sorry if that wasn't clear.
Tim Cook is stepping down. Apple is looking for a new CEO in Barcelona (Spain)
CentOS still doesn't do really basic cloud things, like quickly provide official AWS AMI imagines when they do a major release.
We can still make non-nuclear wars, just keep bombing 3rd world countries to keep that huge military machine running.

P.S. to all downvoters: I'm not suggesting or advocating that, just stating the sad truth.
love the proverb: Don't panic.
DBMS's generally bring a couple of things:

ACID

Queries

Unless you need either of these things then dumping onto the file system is fine.

To ease your anxiety you could always use SQLite (has JSON extensions) and simply writes to a file on the file-system (which means no DBMS server to run), this is only an option if access to SQLite is single threaded.
That's just clickbait, happens everyday :)
nobody fools china. nobody!
There is none, it's made up. Yearly productivity gains are lower than they've been since the late 70s, and well less than half of what they averaged from 1947-1973.
VNC roulette
The great mystery of mathematics is its lack of mystery
The Witcher 3: Wild Hunt – Roach
From MVP to Onward Viable Product
Shouldn't that Reddit canary be dead, though?

https://canarywatch.org/reddit/
The former. It's not just April 1st, the PRC isn't too fond of satire.
It must have come very far in the past few months then...based on my experimentation, it was far from being ready for production use if you needed anything beyond the most basic of SQL queries. That said, I'm rooting for it (and now, caravel). We use Pentaho, and it's....meh. A lot of moving parts, a big learning curve, and a user experience that's just ok. I'm hoping Metabase (and now Caravel) will both succeed...the open source BI space could really use an influx of simpler, beautiful tools.

A side note: I love that Caravel is written in Python. Metabase switched from Python to Clojure, and I personally believe that to be a barrier to entry for contributing. I've started down the Clojure path a number of times only to stop because I see it as something which would be difficult to impose on my team...Lisp is just so different from what most enterprisey development teams are used to. Python, on the other hand, is easier to justify. I've found things I wanted to help fix in Metabase, but having to learn idiomatic Clojure just to submit a patch is a turn-off.
When he was younger he actually went to IBM, didn't have the balls to hand in his CV, and left.
That was why it's so meta!

Stop the presses, HN also mostly manages to "ban" April 1st from the first page. And never succeeds completely.
Finally something from China that I can wholeheartedly agree with.
All well and good, but that doesn't address what to do with all the people not working. Take away a man's purpose and you end up with a shell of a man.

If you do this at scale, you're going to see a rise in medical (mental and physical health) needs. You'll see crime go up (bored people with nothing to do will fill it with something). You'll see suicides increase (again, purpose).

Man needs a purpose for being, plain and simple. So, when we do away with all the jobs through automation and shipping them elsewhere, we'll have to set up community programs where people can find things to do.
The Lost Steve Jobs Tapes
Reminiscent of the Aston Martin blank-plate look from the 1980s:

https://scontent.cdninstagram.com/hphotos-xaf1/t51.2885-15/s...
The developer program agreement forbids you from using this for test or production installations [1]:

"By participating in the Program and accepting these terms, you represent that you will be using the Red Hat Subscriptions(s) for development purposes only, and Red Hat is relying on your representation as a condition of our providing you access to the Subscription(s). If you use the Red Hat Subscriptions for any other purposes, you are in violation of Red Hat’s Enterprise Agreement set forth below and are required to pay the applicable subscription fee"

1 - http://developers.redhat.com/terms-and-conditions/
> The former.

You mean the later I guess (just the law against the misinformation, not just on 1st of April)?
Hot Smack Cam Vines Compilation – Best Vines – Hilarious Vine Compilation
They can totally spend the money.
Google 'mic drop' Gmail joke for April Fools' day backfires
Google testing first page of all ads, no organic results
For a while there I was confused on whether this was an April fools prank or not. Which certainly does justice to Perl.
The file system is a proper document store. You're doing just fine.
Right? If we need a war, and we don't want a nuclear war, we can constantly attack countries without nuclear weapons, do proxy wars with Russia (maybe China in the future, if we could be so lucky) and arm both sides of civil wars. Also, we can sell weapons to countries who are constantly dealing with internal unrest (because they are dictatorships propped up by the sale of their natural resources.)
Self-driving bikes https://www.youtube.com/watch?v=LSZPNwZex9s
It is at least as good as Lisp. Even if you never use it in a real project, you will still grow as a developer.

I just did some Hackathons and tutorials and have a totally different understanding of what programming can be.
What is the best way to draw an (xy-axis-aligned) rectangle with this?

And what is the word for xy-axis-aligned rectangle? :)
Tesla reveals its $35,000 car for the masses
Still more open and closer to the community than OCaml...
Or do you see Xavier Leroy talking to people like @bradfitz?
You're right. Too late to edit but +1.
The video seems much more reasonable for sharing, since it also explains something to non-Golangers. Thanks.
Although he definitely shouldn't be stepping down from his position he absolutely needs to come to Barcelona and open a development center in the city. Quality talent at 1/3 of the cost
Google's vs. Facebook's Trunk Based Development
Use Esperanto instead of English
As long as there is no pain point where you wish you had a database or are starting to reimplement parts of one you should be fine with flat files. If you generate static files parallel access, speed advantages etc likely are not an issue as well.
There are many comments here pointing out the (quite reasonable) fact that hacking voting machines on a large scale is likely to be discovered and thus unsuccessful in stealing a U.S. Presidential election.

Even so, the average voter is quite protective of the idea that American elections are structurally fair (a sentiment that is actively inflamed to imposed voter disenfranchisement schemes, like ID requirements).

If the goal is to expose the fundamentally insecure nature of electronic voting in the US (and potential for truly fraudulent election results in tight districts) a complete invalidation of voter ballots [i.e. Big splashy, obviously fraudulent election results] would surely draw enough attention to force some public discussion of investing in secure, auditable voting machines.
My boss came up with a good analogy to describe why some people like Perl and why some don't. There are some people who appreciate games that are very abstract and with simple rules from which complex behavior emerges, such as a game like Go. These people tend to be drawn towards programming languages that are built out of small pieces with a consistent philosophy from the ground up, such as lisp or Haskell. There are others who enjoy games with complex rulesets and lots of detail. These people probably like Perl with all its nooks and crannies.

Perl code has many things to discover, and the way you assemble larger things relies on unique features of these smaller things. While in the end both approaches have you building a larger thing out of smaller things, the former approach is more likely to be built out of all of the same small thing, while the latter is more likely to be built out of a bunch of different small things. I think that's why some people can find Perl code to be "dense" and others find it "expressive".

I think Perl 6 was built with a much more consistent philosophy behind it than Perl 5, so this analogy breaks down a bit. But the user experience, the "Perlishness" of it, still remains. To the extent that people pick sides in language wars, I hope this analogy can help people appreciate the other side.
A Sea Lion Comes to Every License Holder
To Apple: A Developer’s Wishlist for the Mac App Store
SQLite is threadsafe: http://sqlite.org/threadsafe.html
No i don't mean they should be intentionally horrible. But people who are excellent in their art often spend no time to please others. If they do, they won't be excellent in their art.
> Take away a man's purpose and you end up with a shell of a man.

This is a religious belief. Also, you're equivocating between purpose and job.

edit: my job facilitates any purpose I may have through providing me with money. In every other aspect it hinders me. That's why they pay me and I don't pay them.
Cool concept! It reminds my of Hexels: http://www.marmoset.co/hexels
I thought it was strange to be able to use greek characters and the like in the code, and then I arrived at the slide about Custom Terms and Operators[0] and... now I think it's an April fool.

[0] http://tpm2016.zoffix.com/#/12
>Office suites are hardly important any more

A solid majority of the people on the day side of the planet who are looking at a computer right now are looking at an Excel or Word document.

MS Office has 1.2 billion users [0] (and that probably doesn't include unlicensed users). That's pretty important.

[0] http://news.microsoft.com/bythenumbers/planet-office
http://ftp.us.debian.org/debian/pool/main/ is a good start
Thank you! I think so too. We implemented it, after multiple requests, but I dislike it so much that I decided to not put it in the documentation. It's there if an author chooses to use it, but I'd prefer them not to!
I guess, because of the effect of the "internet social media amplification." Ah those foregone times when we'd just be "pranked" directly by a person we can touch, or at most once a day from the media.
They don't "go away", they get divided amongst a greater number of cars as production ramps up.

It's not even just Tesla cars, as other electric cars come to market, the prices for components they need in common (battery being the big one) will fall with scale too.

The battery is about half the cost of an electric car and battery prices have been dropping steadily, between 2007 and 2014 it halved (if you look a the whole market) or reduced by 2/3rds (if you look at leading manufacturers like Tesla) and are projected to continue to decline by 8-10% per year.
https://en.wikipedia.org/wiki/Jim_Fixx
> the best opportunity for mankind is Moon or Mars colonisation.

Mars and the Moon are not suitable for long-term colonization. Maybe research bases, like Antarctica. But it's hard to see why anyone would want to live in a near vaccuum (average pressure on Mars is 0.6% of Earth's average) in a low-gravity environment (38% of Earth and 16% of Earth, respectively) for their whole life.

We may be able to engineer successful Moon and Martian bases in the near future. But live there? You'd always either be underground or in a heavily shielded dome, never able to go outside, and the compromise of which would mean almost certain death. Further, low gravities have negative long-term health effects, and even if we ignore those, if you spend your whole life on Mars, going to Earth is going to be hellish torture.

I'm all for space colonization, but I think if we're going to look at colonizing an extraterrestial body, which should at least be looking for something that has approximately Earth gravity and a real atmosphere. In our solar system, that just leaves Venus, which obviously comes with huge problems of its own, but perhaps they can be resolved with some kind of terraforming technology and a lot of time. (Bacteria to convert CO2 to oxygen to cool the atmosphere and make it breathable?) Probably we'd be better off looking for extrasolar planets that fit our criteria and developing the necessary engine technology and maybe cryogenics - keep relativistic effects in mind.

Or we could just invent artificial gravity. That solves a lot of problems. :)

I think we're best off looking after the Earth, for which we are tailor made.
Juce::HomeopathicStack
If this happens, I am making a party!

Bash is simply too old and should die and I can't imagine anything better then Powershell on linux. The only thing that is going on my nerves more then bash is batch (cmd.exe language).

Many linux folks will usually mention python, ruby etc.. but those are poor solutions for serious shell language (while great as a general programming languages).
How to Fix Microsoft’s Offensive Chatbot Using Tips from Comedy
An April Fool'd man can't get fooled again.
MCCYWG: US Marine Corps Expands with New Hacking Unit
Reading some pages.. the author seems to be a purist who things terms such as "the west" or "democracy" are problematic because they don't agree with his idea of them. It's also very US-centric. It's worse than i thought...
Thanks for the link! I was not sure how far their involvment went beyond springing for the developer salaries.
Seriously what the hell? How does it even know that the people in the Cartier-Bresson photo are black? I have no idea how it's doing that stuff.
people who come here for serious discussions. Reddit is more the place for memes, references and stuff like that, not HN
> "Copying" might just be: check your needed dependencies into your source code tree.

> Managing complexity is important, depending on several hundred things (especially if you don't have control over them) is not managing it.

You're still depending on the thing you checked in. You're just storing it somewhere else.

PS. You can achieve the same thing (frozen dependency tree) with shrinkwrap.
MCCYWG == Marine Corp. CYber Warefare Group
No, it doesn't show that the system works. According to the article, the board had to be strong-armed into allowing members to elect Sudarshana Banerjee by someone they'd actually banned from the space, and she's since resigned under pressure from the rest of the board. It seems clear that the entire board is complicit in covering up the misuse of funds and the non-profit system has done nothing to stop this or to make it possible for members to discover that it has happened.
The Smartphone Etiquette Biofeedback Trainer
Wasn't it?
The lead researcher behind AlphaGo describing how to build a poker bot
Absolutely, if you have no deadline.
Show HN: Cookiecutter-Templates – Explore Cookiecutter project templates
I agree with a lot of things this article says, displacing labour, short term 'money-saving' projects reducing the health of our economy etc...

But the idea that we will have 'too many' techies is absurb. At least in the UK, kids coming out of school have no idea how this IT stuff works. It's just a magical iPad to them.

The world is becoming increasingly focused on technology, and the general public has no idea how any of it actually works. I'm not talking about transistors and 1's and 0's. I'm talking about databases, text editors and command lines. How are the youth of today supposed to gain exposure to this stuff, when installing a program means typing in the name and and clicking 'Get' in the App Store?

Stuff like Minecraft helps, but the desktop PC is no longer something that families tend to have lying around. My 7 year old niece can use her iPhone, but if I put her in front of a keyboard, she would be clueless.

Maybe tools will evolve, but people will still have to make the tools.
Guam will tip over and capsize because of overpopulation
Hm, didn't know putc was thread safe, but apparently it generally is (implementation dependent)[1]. Does this mean that using unlocked_stdio[1] is a good idea if you're writing single-threaded programs?

Another question, as I understand it, one must go to c11 before C gains any "standard" thread awareness -- does that mean that the use of a naked int for x in this article, probably should've been a _Atomic(int) x;? [ed: if the article conformed to c11 as opposed to c99, that is]

I suppose it depends where x ends up being stored, if multiple threads across multiple cores will always see/modify the same version of x?

http://linux.die.net/man/3/unlocked_stdio
>Quite heavy accusations -- anything substantial to actually prove it?

Of course not. But around here, Silicon Valley is always innocent and "doing good"; the outside forces are the problem.
Часть #3 Заработок 1200 рублей в день реально
Wayfair has a new Toilet of the month club! http://www.wayfair.com/Toilets-C1789951.html
It was(not).
Launching HackerCafe – the ultimate cafe for hackers
Took the words right out of my mouth. Mobility work is key, seems pointless when you first start but will save you down the road.
Google DeepMind Is Now Analysing Magic and Hearthstone Cards
Every dispute every amongst equals is settled by negotiation and a vote. It took no influence from Athens for people to figure that out.

> Even in ancient athenian democracy egalitarianism was not a thing: only "the chosen" landowning male native citizens had a say in collective decision making.

This is the point. It was a democracy amongst a group of citizens declared to be equal. It wasn't universal, and the fact that equals ultimately cast lots is neither surprising, nor was it granted to the world through Western culture through the Athenians.
Rclone – rsync for cloud storage
it misses a easier way to share our creations
Very cool. Ever thought about including default test suites with the tool? E.g. I have multiple nightly backups of Drupal databases and could think of some obvious default tests against the core tables that would be useful for all of them.
> Depending on 200 tiny modules, you have 200 different risks vs just having 1 risk.

vs the risk of rewriting common, well tested code 200 times.
I'm still upset with the perl6 devs for sending me down the Haskell rathole so many years ago, but perl brought a lot of pretty great things forward and it was by far the best text parsing language for entirely too long. I like what I'm seeing today and I'm willing to give it another shot. I am a bit concerned about whether perl is going to be able to gain momentum again.

It won't take too long before people start checking it out and there are some good real-world use case benchmarks.
>by a person we can touch

Yes. Possibly with a stout stick. For some reason I really, really dislike a whole day when everyone is doing their best to spam me with misinformation for teh lulz.
He sounds genuine, and he probably is, but he chose to keep it that way, he is not a poor nerd crumbling under pressure.

Think of it: he has over 20 year experience as an entrepreneur. Actually his whole career after school was being a business man, with the majority of it in high level position and with considerable success. During his career he had and still has to talk and negotiate with Heads of States, Nasa Scientists and Astronauts, Banks, other CEO of the most important companies in the world ( his peers ), ...

He chose to do the unveiling, he has the confidence to do that. If he thought he was not up to it or that his style was letting him down, he could have chosen any other unveiling strategy.