skysight-inc/HackerNews huggingface dataset:
> GLIntercept works by overriding the call to wglGetProcAddress, wrapping the real function pointer in some assembly and then returning it to the application being debugged.

I used to code Counter-Strike cheats for fun[0] back in the 1.6 era and this is how the simplest ones worked. For example, wallhack hooked glBegin and, if the mode was GL_TRIANGLE_STRIP or GL_TRIANGLE_FAN (used for models mostly), it disabled GL_DEPTH_TEST which in turn rendered models over the walls.

More advanced cheats needed to hook onto the game code to extract information from memory and call/intercept game functions, but it was mostly the same.

There was a thriving community where all kind of information was shared, including how to bypass anticheat programs, but it died in an incident long after I was gone (I miss you, GameDeception).

Very fun memories :)

[0] Really. I never shared any of those cheats or used them online. It was just the fun of learning how a system was made and then breaking it.
ClojureScript for Skeptics [video]
Funny coincidence, I was actually reading the docs for it last night, and I am struggling to understand the lifetime of a local database.

From how I understand it, a local database will persist until the browser clears its cache. What happens in the situation where the cache clearing takes place while you are using the pouchdb database? Can that condition be handled?

I thought pouch might be a good fit for a web app you could use offline - you'd need connectivity to login or whatever, and sync the database initially. Then you'd modify the local one and sync it when it's all done, saving round trips to the server.

But that also raises the question - on the server side, is one database per user feasible? IIRC Couch can only handle 100 or so different databases on one instance. And you can't do views across them.
Oh god no, please don't do this to yourself. There's a free PyCharm.
I have, it was a Visa.
while i think you're right, but these things are not always visible to an developer/foreigner. Fraunhofer is not as visible as they should, because they are conduction a lot of commercial research in joint ventures with local businesses and are not specialising into research areas where they are most visible. I recently read an interview with the director of an ivy-league university where he stated that they only finance research team that have an realistic shot at being leading, outstanding and visible in the research world. If you compare that to germany where you might end up in one of the countless mechanical engineering research groups it's way harder to be outstanding, just because it's more crowded. But that's not what the Fraunhofer Society is about, it's doing very practical research, mostly driven by local businesses and their needs.
I have to provide some more insight.

Regarding font - Courier 12pt is standard monospace used. People have (and do, but not often) use different monotypes. Using a monotype with certain margins and along with several other rules yields you a consistent overview of the script where the result of using all of that is approximately 1 minute of screen time per one page of script. That's why it's used. Non-mono font wouldn't yield same results.

Further on, people do not interact with scripts on paper anymore. You do print yourself a copy if you prefer to read it like that. Also, actors (and some people on set) do have a physical copies due to the nature of table reads (I've seen tablets on table reads), and blocking (moving around the set with script in hand, rehearsing).

In reality, no one has to even think about it. Reason is because there is one (or select few) producer and multiple consumers of the script. One persons job is to make sure everyone has the latest revision that they base their work on and that's it. It would be an issue if everyone had commit rights, but they don't. They just checkout latest commit and have the person that checks it out for them! Sounds dire, but is actually painless.
What are your days like? Sounds like an amazing job, and Montana is beautiful. Would you stay there, or do you plan to move back to somewhere busier later in life?
My mother told me recently that my six-year-old nephew's personality was already set in stone, and his occasional bursts of energy were proof he needed "tough love" and "a wake-up call," including changing schools. She also seems to have forgotten that my father hit us with his belt. Very strange indeed.
Anyone who writes this kind of stuff needs to disclose that:

1) They are a parent.
2) They have used their suggested technique on their own children.
Hey, I've done some (supervised) teaching in Culadasa's method and I've done three retreats with him. We've got a Google Hangout every Tuesday where we discuss our practice and help people out who are stuck, and I think we have a great track record of getting people quickly un-stuck. Hit me up (email in my profile) if you're interested!
@aaimnr you too, I'd love to hear your perspective.
Not infinite. After "tonight" is over the loop will end.
True, but if we're getting really technical, the script supervisor gets to decide what an eighth is, so a decent scripty will keep it shockingly consistent. Another quirk, for sure, but when you see the breakdown and it lists 120 pages worth of scenes on a 114 page script, it actually makes sense.
I disagree extremely strongly.

I thought a lot of the tone, which made the short story so good, was lost, probably due to the medium and the audience. It became much more of a sci-fi alien thriller than a commentary on mortality.

I found that, having read the short story, I enjoyed the movie less than those who had not read it.
Visual Guide for Becoming Better at the Command Line
Literally has also been used for emphasis while not being literally true, since, I'm told, at least the period Shakespeare was slinging ink around.
Anytime someone does "choice framing" (or other "persuasion techniques") on me, they have automatically placed themselves on thin ice.

Most of the time, I will ignore it because it isn't important enough for me. If I know you are a "sales/marketing" type, I may simply ignore this part of your personality because I realize you can't turn it off.

If I think it's important, I will call you out on it. I will inform you quite strongly that I will come to my own conclusions after I have considered my options. If you want my support, present me with your evidence and arguments.

If this is a business power play, I'm going to call one or two other people over who will want the choice to go different directions, sit back, and watch everything melt down into a gigantic argument.

Don't manipulate people around you to do things they don't want to do. Align your goals and tasks so that people want to do the thing you want them to do. Otherwise, you'll get a reputation for "playing poker" all them time, and then people will start avoiding you.

Or worse, they'll start sending someone like me over to deal with you. And they'll laugh as you get increasingly frustrated that you are interacting with someone you can't manipulate. (Yes, I'm speaking from both personal and business experience).
The idea of making pouch sync with other databases is covered in their faq:

https://pouchdb.com/faq.html#sync_non_couchdb

Basically, your other data base probably handles conflicts in a different way to Couch that would make syncing this way nonsensical.

If you're happy to handle that yourself, the Couch replication protocol is well documented and there are plenty of libraries written for it.
> Punishment might make you feel better, but it won’t change the kid’s behavior. Instead, he advocates for a radical technique in which parents positively reinforce the behavior they do want to see until the negative behavior eventually goes away.

The first sentence as written is incomplete. Of course punishment changes behavior. This is well established through a long line of experiments going back to the 1940s or earlier. To complete the sentence, there should be a "permanently" added to it somewhere, since the association between the punishment and the behavior wears off over time.

The association between positive reinforcement and behavior also wears off over time, but that is easy to maintain by occasionally rewarding the good behavior. You don't have to reward it every time. You might reward frequently when trying to to teach the good behavior and then you can decrease the frequency.

I think a good way to think of reward and punishment is that reward encourages repeating the behavior that is rewarded, whereas punishment encourages not repeating the behavior that is being punished. When you punish a bad behavior, that doesn't necessarily lead toward good behavior. It could simply lead to different bad behavior.

That's not to say that there is no room for punishment of bad behavior. Rather, it should depend on how bad the behavior is. If the behavior is something that is very bad, in the sense that it seriously harms people or animals or causes major economic damage, then punishment might be appropriate. For instance, if you have a kid who has taken to lighting cats and dogs (or smaller children) on fire, then severe immediate punishment might be appropriate, to get that behavior to stop now. That gives you a window until the association between the bad behavior and the punishment wears off to try to reward enough good behavior that the kid won't have time to go back to the bad behavior later.
Silicon Valley entrepreneurs who are immigrants. Another to the list!
Since when did arguments become functions?

db.replicate.to('http://example.com/mydb');

IMHO, should be

db.replicate(to: 'http://example.com/mydb');
Russian system is more complicated than that - the "federal subjects", as the regions are known, are not merely administrative, but have some actual powers. They may have regional laws (although criminal law belongs on the federal level), may collect taxes, set their own system of local government (how the regional parliament looks etc).

They can also have other languages designated as official on their territory, in addition to Russian, and implement an educational system that teaches those languages. They have their own constitutions, enforced by regional constitutional courts.

One particularly curious case is that of Tatarstan. It nearly declared independence in 1990 (some argue that it actually did - it made a "declaration of sovereignty": http://1997-2011.tatarstan.ru/english/00002028.html). In 1992, it adopted its own constitution on a referendum, which also described it as a "sovereign state".

Then, intense negotiations with the Russian federal government followed, which resulted in an 1994 agreement (https://view.officeapps.live.com/op/view.aspx?src=http://fao...) with an unwieldy title of "On Delimitation of Jurisdictional Subjects and Mutual Delegation of Powers between Bodies of Public Authority of the Russian Federation and Bodies of Public Authority of the Republic of Tatarstan". The constitution of Tatarstan was then amended with a curious definition of the federal arrangement as follows:

"The Republic of Tatarstan is a democratic constitutional State associated with the Russian Federation"

i.e. not a "member of" - although according to the federal constitution, it is a federal subject, same as any other. It also has some other special guarantees - for example, its borders cannot be changed without its consent. And the whole arrangement can only be amended by mutual agreement.

Of course, given the present state of affairs in Russia, it is unclear to what extent any of these theoretical political powers that federal subjects may enjoy are actually realized.
Why does that make it better?
Damn, why did this get downvoted?
Except for noise. Computers are noisy beasts with spurious radiation (birdies) from DC to UHF. Trying to run a sensitive receiver anywhere near a computer, means that you have to put up with an unholy amount of interference. And nothing in the design of the SDR can fix this.

Old-time hams would never have a computer in the same room as their radios because of this interference.

FWIW, I was designing and building my own SDRs ten years ago, and am currently running one of the high-end SDRs.
The story is mostly two paper characters exchanging exposition.
Great article! Thanks for sharing
Content Marketing in 2017
I did use HTTPS mirrors. Doesn't help my problem. Unlike torrents.
AFAIK, Couchbase is a CouchDB as a service tuned for speed.

PouchDB is a CouchDB implementation in the browser. I don't think your sync with other db would be easy and I believe there is no such desire in the project roadmap.
I think the problem is with the entire field of psychology they don't take people's personality into account. And I think it takes lot and lots of practice to even start getting at that because you have one personality as a psychologist and your entire theory of mind is based on your own perceptions of what you would do were you in the other's person's shoes. It takes a lot of experience to get over that level of understand and start to take other people's temperament into account before even thinking about that. Not to mention even our models are not good because we don't really understand ourselves that well.
Sweet. Looks like you can make thousands of asynchronous kernels and it doesn't kill perf (ran testsuite with qthreads..had to build that, looks like a threading library from Sandia national labs). Pretty cool. Seems like far better oversubscription handling than TBB or OpenMP.
True, I shouldn't have grouped it in with self checkouts etc. When we do achieve reliable self driving capability it will be arguably the single most impressive engineering feat we've accomplished.

Tesla are describing their 'hardware 2' self driving platform, fitted to all of their new cars, as "full self-driving hardware", and they've posted several videos recently of fully autonomous journeys on public roads. They've said they plan to roll out an OTA update to enable full self driving next year.

Mercedes-Benz have a limited self-driving mode on their 2017 model.

Uber-owned Otto, a company focusing on self-driving technology for trucks, plans to start offering its services next year.

And of course Google is quietly continuing their self-driving project, although they've gone a bit quiet recently.

Now, it does look to me like we've still got a fair few corner cases to straighten out, but either all of these companies are badly wrong, or we'll be seeing self-driving vehicles on sale to the public in the next few years (even if not next year).
Renzi resigns as Italy votes 'No'
More Than 300,000 People Protest Against Gay Marriage Bill in Taiwan
But is the registration system in China managed separately by different provinces because they want to control and/or prevent migration, or by the national government because it wants to control migration?

If it's the latter, it's not a sign of federalism - quite the opposite, in fact.
Did you also consider Couchbase Lite? I'd be interested in your decision making.
One really has to witness the production. Pre and post are different beasts.

I just came off a shoot last week where we had an extremely tight schedule and I was directing and DP-ing (small shoot of 5 days, but with full everything - gear, people, sets..). I had a great plan to shoot some things on RED and most on Alexa cameras. I had both at hand. I did that, but during the one of the setups where I wanted to use the RED, camera was starting to weird out on me. I had to play tetris and get past level three on its small screen in order to get to the menu I wanted in order to set something up, and then it was showing one thing while idling and other while shooting. Not even my ACs knew what's up and I ditched the camera in favour of Alexa right then and there. People started to wait on me on set. That's a big no-no, since overtimes and everything stands still. Otherwise a fine camera, but set was being held up. I did a few setups with it that were great and all, but from now on I will avoid RED just because of that experience. Maybe on more lax productions I will consider it again. That's how these practices are forged. When 30+ expensive people are waiting for you, while you're tight on time. That's how everything in this business evolved.
Thanks for this! Much easier to go through than the YouTube pages.
Tricks About Burning Off Calories- Weigtloss
Well my company does for certain projects: http://www.imageworks.com/jobs.php?p=job-postings&s=vancouve...

I believe Disney Animation do as well for certain projects too, and probably Pixar too. ILM also have a web department though I don't know if they use django but I suspect they would.

It's not really front and center on any of the job listings I see, even on ours but we do definitely use it for some of our backend.
Take a look at PouchDB and Hood.ie
>I just wish I could figure out a way to write chords that didn't take up three of the precious four channels!

As a semi-long-time tracker user (BTW, if you've got a gameboy or gameboy emulator, check out LSDJ. If you don't, try LGPT, which should work well on the pocketCHIP. They are both fantastic trackers) I can tell you the secret: arpeggios. You play several notes very rapidly (and I mean very rapidly) on a single channel. This is so common that most trackers have the capability to do so built in. In PICO-8's tracker, it's effects number 6 (arpeggio slow) and 7 (arpeggio fast).

Strangely, PICO-8's docs claim that it arpeggiates over groups of four notes. Typically, (in, for example, MilkyTracker), the effect command would be 0xy, where x and y are semitone offsets for the second two notes in the arpeggio, for a total of three. I am unsure how PICO-8's arpeggio works precisely, as I don't own it.
Another weird example is the border between Washington and Oregon. Washington has sales tax, but no income tax; Oregon has income tax, but no sales tax. So if you live and work in Vancouver, WA, but shop across the river in Portland, OR (it's literally just the river separating these two), you can dodge either tax.

(Technically, if you go shopping to Portland from Vancouver, you're supposed to pay a use tax on those goods. But there's no practical way to enforce it, and few people are even aware of it.)
While I definitely agree, I do think the essence was a little muddled by the alien contact story when compared to the short story.
Is anyone using Stroustrup's C++ Core Guidelines? And GSL?
https://isocpp.org/blog/2015/09/bjarne-stroustrup-announces-...

They look like a way to add some safety to pointers and memory allocation, for those who demand bare-metal performance. Wondering if it's taking off...
Even short term, it could be argued that federalism was the most efficient option available, because the states wouldn't unite under any other conditions... and the union was definitely more efficient than they were separately.
This story is especially interesting because of what the major narrative was during the election:

http://fivethirtyeight.com/features/trumps-scorning-of-data-...

Trump essentially bluffed people on the strength of his digital marketing game.
No, Couchbase is more or less a merge of Membase and Couchdb. With Couchdb it only shares its lineage and its creator; apart from that they are entirely different beasts.
It was a little weird that a physicist spent the entire film doing linguistics.
About once a year I get a hankering to mess with disassembling something but usually after countless screenshots, open tabs, notes, etc. I remember that I am terribly slow with assembly.
If you like SDR, you should definitely have a look at GNU Radio Companion (GRC) [1]. A nice introduction into the methods of GRC is given by Michael Ossmann [2], which is really worth checking out.

[1] http://gnuradio.org/redmine/projects/gnuradio/wiki/GNURadioC...
[2] http://greatscottgadgets.com/sdr/1/
> the boyfriend is well within his rights to unilaterally break off the relationship.
> But if he broached the issue with his girlfriend by saying
> "Would you rather be just friends or simply not see each other any more?"
> in order to distract her from the breakup, she would rightfully be resentful.

That's a tricky one, because, as you say, he can unilaterally break off the relationship.
By providing options going forward, most people would see that as looking for the most positive way to move on. Who would resent that?

Unless he deliberately did that to distract from the breakup…but even then, it doesn't exactly seem all that negative. Having made the decision to break off the relationship, providing options to deal with that and offer positive ways forward doesn't seem all that bad.

For me, I'm struggling to see how the example fits. Sure, she may be upset at the breakup of the relationship, but providing options for responding to that seems more positive than negative.

I don't disagree with the principle, but the example: a relationship is based on mutual consent, and withdrawal of that consent isn't a trick or unacceptable.
The weirdest people in the world? (2010)
I've worked in a BSL-3 lab, not BSL-4. It's pretty similar. Almost identical danger to the individuals in the lab, but different level of danger to the surrounding community...

So if I screw up, I might die, but you'll be safe. In BSL-4, everyone might die. (At least that's roughly the reasoning behind the categorization of pathogens.)

> You can't do anything else other than what you're doing at that moment. It's kind of a nice mode to be in while you're working. And it's very quiet. Because you're on that air hose that blows air into your suit continuously, you can't talk to anyone unless you're wearing a radio. So, you're in your own little bubble doing your own thing.

This really is one of the best parts of the work. At certain times of the day / week, you literally had no way to contact anyone, and no one could contact you.
Coding Bootcamp in Medellin, Colombia
I've used this in the past to see how AAA games implement various graphic effects. It lets me see the textures, shader's and building of the various buffers (back, depth, etc) for an individual frame of the game. This is a great tool for learning exactly how games are put together graphically.
It is largely driven by the choice of framework.

If you use Qt, for example, it is likely that you will also use their collections, streams etc, rather than STL and Boost.

Ditto if you use MFC (though thankfully that is largely relegated to legacy code now), wxWidgets etc.

Having said that, Boost has, to significant extent, become the prototyping sandbox for things that are then added to C++ standard proper - shared_ptr, any, variant, filesystem and many others all originated in Boost, and after many years of use and polish by the community, became (or are in the process of becoming) a part of the C++ standard library. This makes Boost more important than it used to be.
Governments have been storing biometric data for decades. I was asking which private company has been doing so - as that is what was being alluded to.

*more to the point, the only way I see a government who stores biometric data being an issue WRT security: the government is after you (in which case they're likely getting what they want anyway), or it's a targeted attack from a foreign government (in which case biometric theft is the least of your concerns).
Really thanks for posting this video. Very cool to see Sophie Wilson talking so elequently and with obvious authority on a subject I and many others deeply care about. Great!
Extract assets -- might be easier to do it by intercepting OpenGL calls than by reverse engineering some proprietary binary format.

Edit: There are entire online communities dedicated to pulling assets out of old games, for who knows what reasons. A buddy of mine from school would spend entire weekends dumping assets from classic GameCube titles -- he would occasionally render up scenes from old Zelda games with global illumination and fancy material shaders, which were always kind of cool.