jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
It's standard procedure. I've done the exact same thing when wrapping C APIs into Python using Cython, several times. You pass the Python closure as the void *data and then register a shared generic callback which casts it and calls it. Easy. Getting the memory management right is slightly tricky, but not too bad.

Fun fact: you can't safely do this with ctypes. Since it is called as pure Python, it cannot do watertight Python exception handling in a callback context (because even if you have a try/except block, an exception can always happen right before or after it), and ctypes provides no usable internal way of doing it - it just eats exceptions inside callbacks. This is what motivated me to rewrite Ceph's librbd bindings from ctypes to Cython.
No-one is going to invade Switzerland.

A country like the US can invade any country they want. International law is irrelevant. But they can pressure a country like Switzerland without needing to resort to military action, which would be crazy anyway in the case of Switzerland.
As another example, the popular Flask web framework for Python (which I'm using at this very moment) started as an April Fool's joke.

https://en.wikipedia.org/wiki/Flask_(web_framework)

http://lucumr.pocoo.org/2010/4/3/april-1st-post-mortem/
I too fear the boogeyman.
I don't understand all these protests against defence contracts, China, CBP work. Guess what? These needs to be done by someone and if its not Google, it would be Palantir or Microsoft or Oracle or IBM. Google is not what used but at least they have better ethics than the most other companies who would jump to do whatever was asked of them. At least they could steer towards less evil. The era of no evil has ended, if there was one.
When you place something in a safe it's usually important, so there is no chance you would leave it behind when you move out. Should not take too long to try all the combinations though.
It's a good thought... can you expand on it? What is the state of Referer in modern browsers? Why keep it? Would removing it break anything?

File bugs against browser developers to remove Referer.

Meanwhile users can disable Referer,

* https://chrome.google.com/webstore/detail/referer-control/hn...
* http://www.technipages.com/firefox-enable-disable-referrer
* http://www.nullrefer.com/hide_referrer.html

It could also be removed by a proxy.

This becomes less of an issue as sites move to https, where Referer is not sent.
1) Create a landing page with an easy-to-type and remember URL.

2) Convey the basic value of the app (why it matters, why it's relevant, why should they use it over the competition, etc.).

3) Give users ability to give email address and other optional info such as name or other survey questions.

4) Create at a minimum a chance to have users give their friends email addresses. Even better would be to give them an incentive to invite (quicker access, additional features, etc.). Check out untorch.com for a easy turnkey solution

Using a mail service, you can automate sending an email with the build invite.
All this hatred directed at Ron Conway, whom I don't really have any opinion, in a thread about an article Paul Graham wrote that has nothing to do with torture ...

This smacks of the kind of inane, conversation drowning behavior of PETA. What is theoretically wrong with the "ticking time bomb," since you wrote that specifically? What is the lapse in logic or the shaky philosophical flaw in the "theory?" And then you go and besmirch the whole "SV wannabe culture" because they don't have the same thoughtless moral certainty that you do.

Reasonable people can disagree and it does not mean one side is evil or one is stupid, necessarily. I think it is a bit much to say Ron Conway is despicable or whatever because of this.
> My suspicion is that more candidates than one would expect get hung up worrying about giving some sort of clever answer to impress the interviewer that they bobble it up a bit.

I've definitely felt that pressure as an interviewee. It's pretty disheartening to write a simple and obviously correct implementation only to have the interviewer express their disappointment that you didn't use a particular optimization.

The most fun technical questions I've had start with making a functional algorithm and then massaging it to meet whatever time/space complexity requirements are asked for. Sometimes it results in a complete rewrite and that's ok, the real world works like that too.
An additional problem, as I see it, is that the Obama administration made unambiguous assurances that no PII was being collected as part of Healthcare.gov's use of web measurement tools. Here's the excerpt from the privacy policy:

HealthCare.gov uses a variety of Web measurement software tools. We use them to collect the information listed in the “Types of information collected” section above. The tools collect information automatically and continuously. No personally identifiable information is collected by these tools. https://www.healthcare.gov/privacy/

Note the last sentence is in bold on the actual web page.

A Department of Health and Human Services organ called the Centers for Medicare & Medicaid Services is responsible for the site. An enterprising HN reader might want to skim through the CMS (very long) privacy impact assessment to see if there are any other incorrect claims about Healthcare.gov:
http://www.hhs.gov/pia/cms-pia-summary-fy12q4.pdf

It will be interesting to see if anyone gets fired as a result of this particular privacy screwup. The buck should stop somewhere, right?
Maybe as a plugin, but from what i can tell Javascript was the first to be supported natively: http://www.javascripter.net/faq/javascr3.htm
You're rewriting history (both of you are). Colonialism in Africa was certainly detrimental and exploitative, and not just by standards of today. The "peaceful transitions" you speak of, included borders and methods of government that were set up for the benefit of the colonial powers, the ramifications of which continue to this day. And while independence was achieved peacefully in some cases, colonization itself was a violent process.

http://trace.tennessee.edu/cgi/viewcontent.cgi?article=1182&...

http://exhibitions.nypl.org/africanaage/essay-colonization-o...
What you describe is not DRM. The system you describe can be part of a DRM scheme, but verifying signatures itself is not a copy prevention measure.

I'm pretty sure the types of DRM that are being referred to here are the kinds that hide a secret key in a "black box" on the consumer's device, and then sell the consumer content that can only be decrypted by that black box.
True, but sometimes those "breaks" are good things (Vista to 7 was nothing but improvement). And generally, Microsoft will support their releases for longer than a decade. XP had over 13 years of extended support, and Windows 7 will have 11 years of extended support. Even Vista, one of the worst OS releases from Microsoft, is still in extended support for another two years.[1]

Contrast that to major (LTS) releases from Ubuntu, which can be from 3 to 5 years, and only 9 to 18 months for non-LTS releases.[2] And Ubuntu is one of the kings of bleeding-edge breakage in the Linux-based OS world, surpassed only by Arch in my experience.

All that said, it's not all rosy in the Windows world, and not all thorns in the Ubuntu world. I just wanted to point out some facts to counter your misinformation.

[1]: http://windows.microsoft.com/en-us/windows/lifecycle

[2]: https://wiki.ubuntu.com/Releases
Wow this really reads like a Hollywood scenario. If I would have watched this on TV I would have thought it was not realistic at all.
Here's the College Board's page on the redesigned SAT: https://www.collegeboard.org/delivering-opportunity/sat/rede...

Here's a 200 page PDF on the new format with lots of sample questions: https://www.collegeboard.org/pdf/sat/delivering-opportunity/...

The sentence completions are gone; now we have words in context. Essay is twice as long. No independent writing section. Math is more algebra and prob/stats focused, especially with graph and chart interpretations. Geometry has been all but eliminated, coming in at 6 total questions in the Additional Topics in Math (paraphrasing) category.

In my view, the main issue with this exam is that it's more coachable now. I feel you can learn less math/reading/writing now and just exploit the nature of the SAT to do well on the new exam. Good for test prep, not so great for everyone else. The main issue is that you kind of have to dumb yourself down to answer the questions - if you start actually thinking critically, you'll run into trouble.
Wow. I suspected SIP was bad, but I never got around to looking at it in detail.

...

Wait, NIST wrote the reference implementation? Also, your description sounds suspiciously like someone was going for maximum confusion and a "design" that practically guarantees bugs in every implementation.

This stinks of BULLRUN-style sabotage.
> There is exactly zero reason for bringing up gender in this thread

What, is it against the rules? No, I don't think it is. I think you should ask yourself why the topic makes you so upset/uncomfortable.
Great product and smart pivot, I hope they do well. Them blowing up would be another win for the NYC tech scene (indirectly).
Thank you. It is short and fascinating.
I still use RSS. It doesn't matter how much effort twitter makes. The simple reality is that you cant have a middle man in one-to-many communication. Its just not possible for their agenda to align perfectly with yours - or anyones. You can use twitter if you can make your agenda fit theirs (which is a moving target) and twitter can have plenty of users by adapting their agenda to its users (which are a bazillion moving targets) - good luck with that! One would have to be rather ignorant, a person docile enough to realistically anticipate any and all future contexts doesn't exist. Twitter is trying really hard to make it work - but it cant! I remember people who build their organization on google wave, on google knol and on yahoo groups. I build a reasonably large community on yahoo 360 and we tried to move to WordPress. (you can laugh, it's okay) I've used up all of my ignorance. I like RSS the way I like email and bittorrent. You can down vote me but to shut me up would require a good few days in court. We could just do discussion in stead and I might learn something.
> because they didn't follow the protocol necessary

Texas followed the protocol, which included filing a motion for leave to file a bill of complaint in the Supreme Court. The Supreme Court, however denied the motion.

https://www.supremecourt.gov/search.aspx?filename=/docket/do...

https://www.supremecourt.gov/orders/courtorders/121120zr_p86...
We detached this subthread from https://news.ycombinator.com/item?id=25692753.
I don't necessarily disagree with you.

But, for example, I think you may be overlooking the complexity of crocheting an unusual topological shape. There isn't a lot of detail on this page, but this is kind of similar: http://archive.bridgesmathart.org/2020/bridges2020-413.pdf.
No, domestic terrorists are treated as criminals if they are citizens or permanent residents because they have Constitutional rights. If convicted, they go to the Supermax in Colorado.

Non-state foreign terrorists are held at Guantanamo.
Usually posts with this many upvotes stay on the HN front page much longer.
Please read my comment again and see that I did not suggest any defense of Twitter's not banning people who are not Trump. Less of blinkers and more of blindfold, I guess.

Why is this so hard for people?
My point was that the lawsuits are irrelevant. People are looking for answers and misplacing their blame.
She was unarmed, in a group of people who all looked unarmed in the video. None of them was holding a weapon much less training it on the police. Don't make things up.
A common phrase my colleagues often hear out of me goes something like this: "The two greatest works of 21st century fiction are technical job descriptions and the resumes that were written to match those descriptions." A high percentage of the time they aren't looking for all of those skills at all, and sometimes none of those skills at all. They just hope that description will attract resumes. They have cast a wide net and are looking to see what they will catch.

I put out an "intern" level job description about 5 years ago now. At first I put down the bare minimum skills we needed. We were not only willing to train but expected we would have to, so the description was little more than "Good personality", "desire to learn to develop software", "can type", things like that. We got zero response. So I added in more and more things until I had a wide enough net to get the right person. We hired a person who had two years of school under his belt and hadn't worked in a professional development position at all. He had no idea how to develop and was scared to death that he didn't have the skills we needed! We convinced him it would be fine and we would train him. He did a lot of learning on his own after he took the job and we did a lot of helping him with training. He didn't make much but he learned a lot. Fast forward 5 years and now he's quite an adept engineer and works consulting in the DevOps area of things, doing exceptionally well (better than many of the people who trained him!).

A few take aways for you: First, don't try to learn everything in a job description before going in for an interview. You might find that they don't really want all of that stuff anyway.

Second, if you want to know the best skill you can work on as a Web Developer it is simply your personal and speech skills. I hired that guy above because he was nice to talk to, easy for the team to get along with, and honest. He was also obviously smart but definitely new in his skills. His personality got him the job.

Finally, as for actual technical skills, HTML, CSS, and Javascript in general will get you through most of the "technical" questions in a junior interview. Keep up on those and you'll do fantastic.

Edit: I obviously can't type today. Fixed some of the many typos.
sorry I just have to vent a little... I feel like I got wrecked twice jumping on the GWT and then the Angular train. I am not sure if I have the energy to jump on the Angular 2.0 train and get wreck once more... Any advice would be helpful.
> I'd agree, but for the "by definition". "Idiomatic" is a question of typical patterns of use. This is "a function of the language syntax and features", but that function is not a simple or static one and involves the programming community around the language. It's certainly possible for a feature to fall out of favor and its use to be unidiomatic.

For example, Ruby for loops are part of the language, but there use is pretty universally considered unidiomatic.
My favorite explanation of Againg comes from William Hamilton. He took advantage of the Euler-Lotka equation to calculate the number of offspring that would be alive at any given point in the future. Using this equation from the field of demographics, he showed that senescence has only a marginal effect on fitness. As such, selective pressure would not be strong enough to filter out mutations that might result in aging. Finally, he was able to derive various mortality curves that "seem" to match pretty well with real living systems.
DEC sued MS for a hefty sum and settled out of court for the IP that Cutler took and passed on to MS so at some level there is Mica stuff in NT or else MS would have probably won that suit.

Part of the arrangement was that MS would issue NT for the Alpha architecture, which in fact they did.
So Google has decided to compete with Airplay. Although I guess this is better, because I'm assuming it will work with any router, and not just special ones sold by Apple.
Link to the simulator: http://www.simonswain.com/deepspace/make_empires
True words. Degas is super rare in that his paintings and sculptures both feel fresh and spontaneous like that. Also Rodin’s plaster studies, although perhaps that’s what you were referring to.
John Romero wrote up a pretty cool post about the use of NeXTSTEP and Objective-C at id Software during the 90s.

http://rome.ro/2006/12/apple-next-merger-birthday.html
Humble Bundle is becoming the go-to place for platform agnostic independent game sales. Imagine what would happen if Humble Bundle, Inc. became the defacto, cross-platform Steam competitor. On top of that, Jeffrey Rosen's connection into the gaming industry puts him one step ahead of any potential competitors.
Google, Oracle and Apple are all symbols of knowledge?
Why would you want to take a chance on that? Every instance should be thought of as expendable. They can go down at anytime.

EBS is really just like any other NAS/iScsi vol and it wouldn't be such a problem if they did what they're supposed to. That is, be consistent in read, write, and durability.
The benefit of the captcha method is that your account can't be DOSed -- the legitimate user can still get in by entering one captcha, which is much better than, say, having to wait for an hour.
> FF4 is great in every way except the huge memory footprint and the fresh bugs.

And the typography engine that does kerning so badly that it renders several letter combinations in normally clear fonts literally illegible at smaller sizes used by many web sites.

And the fact that they still haven't properly fixed Java applets.

And the terrible usability issues.

And worst of all, the fact that for all the cute gimmicks with tabs, it still runs everything in the same process, which is a fundamental robustness, security and performance problem that every other major browser fixed years ago.

I write browser-based code for a living, and IMNSHO Firefox 4 is without question the worst of the major browsers on any major OS today as far as technology goes. Such redeeming features as it does have come almost entirely from third party extensions.
The problem is you expanded OP's claim. For starters OP never used your interpretation of wonder chemical: "cures many ailments". The article was on depression and OP never broadened the "therapeutic horizon." The linked website did not describe the effects of fish oil on depression as "minor in magnitude or non-existent."
This seems to add to my suspicion that the NSA broke or infiltrated XMPP.
https://www.youtube.com/watch?v=IlKEybkVl0M
I have a very similar problem. It has even got me thinking that it doesn't even matter if I die right now (to the tech world, at least). I can't contribute nothing of value. It's not depression, it's just a feeling of being outsmarted in every way.
Pausing and thinking is extremely distracting.

I've always feel like I tend to gloss over the details whenever I'm watching the videos, along the opposite that I'm being bored and distracted because it's too slow. Since both could happen in the same speed, moving speed up and down is not an option.
I didn't downvote you but I can see why they did. The way you act is similar to someone running a contest to disprove Turing's proof on the halting problem.

If your bandwidth is being filled from the other end, it doesn't matter how sophisticated the filter is at your server. Even if it is theoretically perfect and able to tell which packets came from real requests with 100% accuracy, it will not solve the problem. This limitation also applies to hardware firewalls.

Many smart people have already tried to solve the DDoS problem and they all came to the same conclusion. Either everyone does BCP38, which is never going to happen, or you buy more bandwidth than your attacker can throw at you.

To suggest that all we have to do to solve this is dangle chump change for some random coder to solve it is rather silly especially when companies like Cloudflare and Prolexic have bet their entire futures on DDoS not being fixed any time soon.

As someone who deals with DDoS attacks every month it is rather obvious that you don't have a very good idea of how ddos attacks work when everything in the list you copied off a random website except for SYN could be classified as attacks that overflow your bandwidth. UDP fragments and Chargen are also bandwidth attacks.
I recently picked up a video series on Udemy with a 90% off coupon I found, and this is my exact problem. If I'm following along, I have to pause and rewind the video so often, and other times I'm flipping through reddit because he's dragging on about something or having technical difficulties while recording. Every time I need to rewind the video, it buffers for several seconds, or sometimes freezes and needs me to reload the tab. Never mind that I can't go back to a lesson and Ctrl+F to find something that was referenced later on.

It seems like everything I search for these days, I find as a YouTube video. Why? I was trying to take the center console out of my truck and needed to find out what size the bolts were on the back of the driver's seat. Only results were YouTube videos. So I'm sitting in my garage streaming a five minute YouTube over my limited LTE just so I can find out it's a 17mm wrench. Most of that five minutes is the guy telling me who he is, how to subscribe, what website he's with, and why I need to watch the video that I'm already watching. Google can tell me the up-to-the-minute March Madness scores but the only way to find out what size wrench is needed for a Chevy Silverado, one of the most common trucks in the US, is a YouTube video from a guy with an accent so thick I can't understand him.

Useless. Some days I feel the world would be better off without YouTube. Until the day when we can index and search video and voice the way we can text, YouTube is nothing but entertainment to me. Stop making "educational" videos, I don't want to watch them.
Yeah i have seen Mesos used for managing big data frameworks like Spark. Any large distributed computing framework has to deal with some of the same problems - managing resources on worker nodes, sending tasks, getting results, scheduling etc. and Mesos/YARN provide a common base here, better than each framework duplicating the same code and solving the same problems.
I think it's a question of who your users are. When people build on Facebook or Twitter, their users are the same users as the platform's. Zynga and Facebook both are pulling from the same pool -- it's pure competition. When you use AWS, you are very directly Amazon's customer. They have a much stronger incentive to support you, because you're a direct revenue stream to them.
Aside: The DjVu link is to a Java applet.

(Just give me the file, or at least also another link that is to the unwrapped file, archive.org .)
The author of a comment can tell if it's been upvoted - no one else. I really wouldn't like to see comment threads full of posts similar to yours; it lowers the signal:noise.
I use scrot, and it has an option to execute any application or a user-defined script upon capturing the shot. While the builtin upload feature might be easier to use if your favorite site is supported, scrot's extension capability provides the ultimate control in the hands of an able user.
Without the comment scores we're confronted with a wall of text that is hard to filter. Should I have to read every single comment just to find the gems? Comments scores have their downsides but they make filtering out noise much easier.

Unfortunately I don't think everyone has time to judge each comment on its own merits -- there are simply too many comments -- so we need a little crowd-sourced ranking. It does lead to some group think at times but that's a (relatively) small price to pay.
tl; dr summary please?
Instant runoff has some mathematical problems. Ranking your favorite candidate highly can actually work against you.
http://www.rangevoting.org/IrvPathologySurvey.html

Empirically, every country with instant runoff still has two-party dominance.

A better system is range voting:
http://www.rangevoting.org/

For a really great book on different voting systems and their advantages and disadvantages, see Gaming the Vote by William Poundstone.