skysight-inc/HackerNews huggingface dataset:
Your examples of dull and boring subjects seems like a list of interesting and exiting projects.

Newtonian physics (generalized from projectile motion): Using with these 3 obvious facts (maybe a historic tangent on how they are not obvious), we construct new rules that describe the way things work. Don't believe the results? You agree with these 3 assumptions right? Is their any flaw in your work? Then your result is correct, is their a way we can go about testing it?

Good job working with Newtonian physics. Now, say that their is wind blowing 5 mph east, how does this effect our results? Well, the coefisiant of wind resistence for sufficiently slow speeds are _. Wait, we already know how to do this, this is just another force, moving on...

If you take a code first approach, you routinely miss the good stuff.
Is there a Sith developer blog? It would fit with Fred Brook's pilot-copilot/operating room organization.
Is Detroit The America Of Tomorrow?
Agreed. The fact that I could be a programmer clicked for me only because I made pretty complex TI-89 calculator programs and games in HS. I thought I was just dicking around, but later I was like "wait, this is programming? I've done this before!"
I'd like to talk to you. Send me an email (in profile).
From my experience in Nepal credit cards are pretty much non-existent....apart from the local cards which only work within the confines of Nepal & India.
file_stream<unsignedchar>::open_istream(L"myfile.txt").then([](basic_istream<unsignedchar> fileStream)

I don't think I've ever seen this C++ idiom before (either the ".then" method or the use of anonymous brackets like that.) Is this common everywhere or just in Windows circles?
> The original Diaz post and claims like yours are simply a load of crock.

> you DID start out with a JPEG, right?

I hope you like My Little Pony.

> then upload them to IMGUR for re-post here

I wouldn't try uploading JPEG images to Imgur, they get put through a compressor.

Original — http://d.pr/GIWO+

Lossy — http://d.pr/XIUf+
If that is so, show examples of video files which prove it! Show us some uncompressed video files which compress both smaller and with better quality using Beamr (as compared to x264's CRF mode).
It isn't. I taught my self how to code, and have a 100 field array class for ints to prove it. (Literally, public int a1, a2, a3, ...)

Don't underestimate the utility of a teacher.
So after reading this I can't see a single disadvantage to using Unicorn. Is there any reason why I shouldn't immediately switch from thin?
Excellent article. I see very few people talking about HTTP requests. It's a major issue.
the article also talks about latency, but with many people don't realize is that webpages are being served from all over the world. servers are located in many countries. The servers all have additional latencies from undersea links.
Well, shocker, kids are more into games than licensing collaboration software to other businesses ...
Yeah, technically that's lossy compression, but what I meant was lossy 32-bit PNG; that is, a preprocessing step before the prediction step which makes the result more compressible by the final DEFLATE step while having a minimal impact on quality.
You can minify code ensuring absolute correctness or make substitutions that are almost always correct.

For example, there are some cases where you could replace tests like `x===y` with `x==y` but this may not work in all cases. If you accept imperfect translation, then this is a valid technique, but it should be clear that the translation isn't perfect.

The reason why my question is different is because I'm asking about the constraints on the format. For example, is run-length encoding (RLE) acceptable? That wouldn't be acceptable for a .BMP bitmap
This reminds me of how Yahoo! mail screwed up over a decade ago: https://en.wikipedia.org/wiki/Medireview
Same here. It was so well done, so informative, so fun that I was driven to support this and future endeavors!
"... Vancouver ..."

I intended to make the claim for the United States, forgetting that not everyone here is based in the US :/ Updated parent reply to reflect that I intended to mean United States.
VBA ... gosh ... Why don't you just use a Web browser and Javascript.
IMO it should be about cost/benefit.

I'd never put a Bond Girl in my talk (I might have at one point, but now I'm convinced it's slightly offensive); there's no reason. A Lena photo for an image processing talk, maybe, because that's essentially the standard.

However, I'd be fine with a talk about sex, drugs, rape, suicide, etc., if it served a purpose. It has to be in the right venue, and I think BSides actually is a good venue for a lot of those topics (or CCC, or HAL/HIP/etc., or parts of Defcon, or Hope, but not RSA). It should be disclosed up front, and ideally way in advance.
.then() is just a method. The "anonymous brackets" is a c++11 lambda function. I don't think chaining it like that is common anywhere, yet.
"... this is very Toronto centric ..."

American here. Forgot that not everyone is based in the US, heh. Updated parent
> Programming for the sake of programming has no meaning, just like we are being taught Math for the sake of Math. Education needs to be way more tangible and down-to-earth, at least for younger children.

I think we're agreeing. I don't think it's useful to teach computer science at early ages, but rather using programming as a practical application of critical thinking, logic, problem solving, and mathematics. Completely agree that it needs to be tangible, with instant, visible results that they can relate to. I think the MIT Scratch project is a great approach (code.org features this).

If @kamaal's niece is drowning in pointers, they're doing it wrong. But I don't think that programming should be universally excised from the curriculum as a result.
It is not at all node.js-style concurrency.

It is probably about the same as buying more dynos -- I would think that unicorn set to fork three times is actually about the same as three dynos with thin in standard configuration -- as you say, either way it's three processes, each of which can only handle one request at a time.

It is _probably_ not a solution to the bad worst-end latencies that can occur when you have random (or round-robin) routing, and relatively high variation in request durations.

Using a multi-threaded request dispatch (NOT what unicorn does, but what they start hinting at towards the end) _may_ be a solution to that though. Although multi-threaded concurrency is STILL not "at all the same kind of node.js-style concurrency", as node.js is evented, not multi-threaded. But multi-threaded concurrency seems likely to make sense with random or round robin routing too. Although more research and data is called for (at least more than I have, which is zero).

But there's no reason to assume that node.js-style evented concurrency is the only thing that can possibly make sense with random routing. And if it is, that's very inconvenient. Trying to do node.js-style evented concurrency with a Rails app... or any app that wasn't built from the ground-up (including all it's dependencies) for evented-style concurrency... or even if it WAS... it's non-trivial.

In contrast, multi-threaded request dispatch requires not a lot of change to your code -- basically just avoiding shared in-memory state between requests (basically, global/class variable access).

In addition to puma, thin in fact does have a multi-threaded mode, although it's poorly documented.

I think they are actually passing the buck suggesting "We can't tell you which way to do multi-threaded request handling, it depends on your app!" Well, sure, it always depends on your app, but that applies to their suggestions to use unicorn as well, but that didn't stop them. There are still often general best practices for typical web apps.

I think it's true that they can't tell us the right way to do multi-threaded request handling -- because it requires more research and analysis and experimentation (and possibly a patch or two) to figure out the best practices here, the community hasn't put enough into it yet. But if anyone's got the resources to put into it, it's heroku, and it would be rather good for their business to figure this out and educate the community. Heroku became so respected because they seemed to really know what they were doing, to be at the top of the game -- if they can't manage to figure this out either, it lowers our trust in them.
We're always looking for talented engineers with an unhealthy obsession for solving hard problems. If you're interested in joining Affirm or want to show us your programming skillz...how would you solve this? https://affirm.com/jobs
A Napoleonic-code type of civil law system, I'm assuming?

Because the common-law system that the U.S. uses is much more complex, which increases the complexity for the lawyers, which increases the cost of the lawyers/judges/etc. However rich a few of the lawyers may be, most struggle through and don't pay off their student loans until comparatively late.

But over there the lawyers are inexpensive (or simply unnecessary)? Because if that's the case it sounds like the issue is already solved, simply move to where you live.

If the lawyers are expensive, but not for their clients, it simply means that someone else is footing the bill, which has analogs within the U.S. (public defenders) but most who can pay choose to forgo public defenders (assuming the state even provides that option).
I intended to focus on the US, and I didn't mean to suggest 100% coverage (which is why I said 99%)
>I just provided a means of testing this aspect as well.

I agree that it would be an interesting test, but seeing that they're not actually offering a real cloud encoding service for users yet, the only people who could run tests against their product are people working at Beamr Video. Which obviously wouldn't make for very reliable test data.

(By the way, it's "CRF", not "CFR". "CFR" generally refers to "constant framerate" in the context of videos and video encoding, whereas x264's "CRF" stands for "constant rate factor" - but as said, people generally just call the CRF mode "constant quality mode".)
Top Ten Most-Destructive Computer Viruses
Wow, I'm in almost exactly the same boat. I'm on my third and apparently final 17" MBP. I have started resigning myself to switching back to Ubuntu but I'm not enjoying being forced off a beautiful platform after having made friends and family switch. I had been an ardent Linux user for a long time before I went Mac and it looks like I'll be returning sometime in the next few years.
"I hate choosing compression settings" -- but you don't have to. Diaz has shown in this thread, that a free, open-source encoder can automatically choose settings for you which work better than Beamr's.
As an alternative solution carriers could collectively remove their heads from their asses on bandwidth fees and rate plans.
5 Deadly Startup Mistakes - EventualMillionnair
The .then() method appears to be something on concurrency::task, which is part of the Microsoft's Parallel Pattern Library. This article says:

"we've started a new project called Casablanca to build a modern C++ library for cloud-based client-server communication, in which all concurrent operations are exposed as PPL tasks."

http://www.drdobbs.com/parallel/improving-futures-and-callba...

Link to Microsoft's C++ committee proposal (N3327): http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n332...
I looked up the Author's published manuscripts to see what his background is in research. It appears that his expertise lies outside that of physics, chemistry, or biology but is instead in algorithm design(??) and data analysis(??).

I wonder if the programming community relies on academia as much as for example the medical industry or the aeronautical industry.
We've open-sourced that Funpack so that's the general structure of how we run things. If you create a new one and send it to us, who knows, we might publish it for everybody to play :)
The downside is use of more memory that can cause an out-of-memory condition, and the subsequent guesswork as to what the concurrency factor ought to be. However, it is often a really good idea for most applications that don't need a whole lot of memory and spend a long of time waiting (for databases, the client, or whatever).

Quite some time ago I wrote (mostly for my own entertainment) a little example project to try to cut Dyno use for Python programs, although many of the precepts are exactly the same: https://github.com/fdr/double-boiler
Why is learning math not fun? For me, learning math (fun) was a path to learning programming (not fun). Even as someone who 'enjoys' programming as a hobby, I hate the actual coding part. The math is the fun part. And that rush of power you feel where the computer obeys your every wim is a nice bonus (more of a reason to learn bash et el.).
"No, they're here and they're not leaving. They told me they'll make it into a bigger problem if you do your talk." How is it even plausible that hosts of a hacker conference would censor thoughtcrime voluntarily? It's not as if selling out to the professionally offended mafia is going to move a lot of tickets.
Java is the AP standard. Also, webdesign courses are HTML/CSS/javascript.
What do you consider processed food? In other words, could you give a one-day meal sample?
How can anyone take anything from Dice seriously?
The smallest government in the history of the world, created 300 years ago turned out to be the largest and most destructive one in the history of the world.

Which government was that, and how'd they outdo the Soviets?
Pardon but I don't see a point in paying a service to gather/amass links which you don't own in the first place. So I have no idea why service like pinboard exist which charges you to gather other people's URLs.

A tumbler blog is sufficient enough in letting you gather links, quotes, videos, etc, etc, and it is free and fast.
I really like the idea, and what few bits of criticism I had you have already seemed to address.

I just wanted to compliment you on something specifically that I though was really great: the registration process. Very similar, no confirmation fields, and, most importantly, I was signed in immediately after clicking finish. It didn't take me away from or reload the page I was on, and it didn't ask me to confirm my email. The small things really matter.
I'm confused, didn't Google+ Sign In already exist? I know I'm using it already...
This seems to contradict the feeling of great progress in technology over the last few years. Perhaps it is just an illusion that when "software is eating the world" it is actually making the world better. Perhaps it is being negated by lower productivity in the rest of the economy or government. Just seems at odds with my recent experience.
I'd argue that Office is Microsoft's bread and butter. Check the Operating Income figures from the last quarter -- $3.565B for Office compared to $3.296B for Windows:

https://www.microsoft.com/investor/EarningsAndFinancials/Ear...
YouTube Taking Another Step Towards Paid Subscriptions?
is your concern that the proprietary protocols will take over the web?
I think there is a place for anchor URLS - they make sense as a means of expressing purely client-side navigation. Note that, by design, they will never be transmitted to the server - so there is no need to mirror the client-side navigation implemented in JavaScript within the server implementation. I think this factoring of the server-space navigation and client-side navigation is sometimes useful and keeps the two separated.
Thanks for pointing that out! Hahaha. Xijuan is actually my first name but it is my Chinese name.
Some private organizations have very deep pockets, and it's not just industry, as non-profits can also fund research. But if industry is biased toward applied/translational research, perhaps it's not just a focus on short-term profitability or a lack of funds for large projects. One interesting idea is that patent laws are partially responsible for this bias, because they grant a temporary monopoly on inventions/applications, but not on basic science.
U.S. releases hundreds of detained immigrants over budget concerns
Sign That Chinese Hackers Have Become Professional: They Take Weekends Off
I have a similar background, with my earliest programming experience in Logo, drawing fun shapes. I then got into PC games, dealing with batch files, config.sys, and HIMEM to extract extra KBs of conventional memory.

I got back into programming when a friend and I built a flash card program to help us study vocabulary and memorize Chemistry equations. Programming is fun when it has a purpose!
Makes me wonder if there's anything with the opposite progression:

No effect -> harmful -> helpful

I'd guess not, but I'm curious as to why.
Right, I never said it was impossible to build something useful in Django. I just believe it's a non-optimal choice, in almost any situation. I don't believe "it's just a matter of taste" to have a web framework that knows its place and makes it simple to adapt, or unpretentiously allows you to code with minimal rigidity. I don't find any contrary arguments presented thus far convincing.

Saying that Pyramid's documentation and overall "fit" is "less appealing" is a matter of taste. Indicating that Django is much bigger is a matter of fact, and that it provides little if any additional benefit and increases rigidity and practical obligation to conventions is a matter of informed analysis. The argument to be made, then, is why that obligation and rigidity and bigness are valuable, which thus far, no one has really done.

It's not necessarily Django's fault. Pyramid is a much later framework, and alternate implementations of pieces of the full stack like Jinja2, Mako and SQLAlchemy became mature after Django was initially conceived. it's nothing personal to Django or the people involved in it (I've even submitted patches, but to my knowledge, they were not merged). It's just a thing that has been superseded, and that happens in tech. Now it's just a matter of how long until everyone else can drop the religion and admit they're wasting time on compliance and rigidity that shouldn't be there.

I'm not saying Django is the least productive framework in existence. I'm not saying it'll ruin your company or life if you use it. I know people who use it and we are able to get along. I work with it occasionally. I'm just saying, "it's unwise", for almost any large-scale new project.
May I ask how it has to do with gender? Like the other comment has pointed out, I am a girl. LOL
That's quite the red herring. The same argument could be applied regarding children smoking cigarettes, but I presume* that you don't think that the doors should be thrown wide open to kid-focused tobacco advertising because parents should be "more responsible for their children's health".

You do realize that you're saying "tough shit" to the children too, right? You know, those whose outcomes are the whole point of these discussions? They're ultimately the ones who have to deal with the consequences the most, and for some reason dismissing their stake in this with "you should have thought about that before you decided to have irresponsible parents" doesn't seem to hold much water.

Note that I'm not making a point for or against regulation of advertising unhealthy foods to children, but dismissing the comparison to tobacco with "parents should be responsible" is beyond silly.

*If my assumption is wrong and you are actually in favor of completely allowing the advertisement of tobacco to kids, then never mind, disregard this comment.
It's a shame to have to arbitrarily make this tradeoff. There is nothing inherent in saying that apps that desire rich client-side navigation are 100% the apps the DON'T require search engine support.

Google does have a spec for hash-bang URL's to enable both to be present in a single app. Unfortunately, it's clunky and not universally implemented.
HTML5 vs Native App Kendo UI Survey Interview
Watch "House of Cards" on Netflix if you have the opportunity. It seems pretty realistic.
That looks like Microsoft's new "async everywhere" approach to API design. It's probably a pretty good idea in concept, but I hope they don't expect C++ developers to actually write those awful nested lambda .then() blocks for what are conceptually sequential actions.
How did you get your first few thousand? It seems like once you're on the charts the growth can explode.
Do you think a simplified assembly language would be better? I think a high-level language is generally good for teenagers or older. But maybe starting with assembly is better. It's actually a really simple language to learn (if you focus on a small subset) when you just want to do simple things. And it removes a lot of the magic that higher level languages have which could confuse things for kids.
Ah, so I did misinterpret your statement first time 'round?

I was thinking that "children" may be a function of total population. At least below some threshold people may have more kids than they would otherwise out of a sense of "duty", or the desire for continuation of the species (which seems to be inherent -- people sacrificing themselves to save "the world" usually do it to safe humanity).
Fresh raw milk (plain milk or cultured products) will have the enzymes intact, so everyone sould be able to tolerate it. Pasteurizing milk destroys the enzymes, making it difficult to digest.
Depends on the typical and current conditions of the viewer--however few people realize it. Those that do use f.lux or one of the others.

For example, if the viewer sits in an office under 50 florescent lights, dark on light is best (e.g. Excel-jockies). This viewer "can't imagine any other way!" I often wonder how these people survived before Windows.

If instead they are a digital artist in dim lighting (for better color accuracy) then bright white pages will be blinding, "my eyes are bleeding". Ditto the late-night hacker.

Since I'm online day and night I make judicious use of the negative plugin in compiz (Super+N) and turn down screen brightness at night. When on Windows I use f.lux.

For the browser specifically, the invert-lightness bookmarklet is also helpful when a lot of images are involved:
https://www.squarefree.com/bookmarklets/color.html
Why are Javascript CRUD apps more interesting than learning how the world we actually live in actually works? I don't know, seems subjective to me.

Most of this "math is too boring for anyone to want to learn" stuff is a cultural issue anyway. It also might be a mass education issue. Either way, programming is not some special snowflake subject to solve such issues.
http://knowyourmeme.com/memes/sidetalking-n-gage

Everything old is new again.
Adobe Debuts Photoshop Touch For Phones
>I've never had an issue with Django being inflexible. The strong conventions and the fact I don't have to make a decision about every little thing makes me, and the ecosystem, more productive.

I don't really understand this. Other frameworks don't require you to "make a decision about every little thing" either. It's not like they're just a blank file that says "<WRITE FRAMEWORK CODE HERE>". They come with defaults, things that are in place automatically. They come with suggestions and recommendations for optional stuff. They come with docs and tutorials. They just don't make illegitimate mandates, they don't revolve around a specific ORM or a specific template.

If you start a clean Pyramid project with the "alchemy" scaffold (recommended) right now, you'll have Chameleon, SQLAlchemy, and URL routing automatically chosen for you. You don't have to make any more decisions. You just have to open up views.py and start coding.
The entire point is that Affirm looks at data from your social network(s) to establish an alternative metric for credibility.
I love Logo; it's one of the things we added to Hackety. Before you start "Ruby," you do a lesson with Logo. (shhh, it's actually just a DSL.)
I think its because a whole bitmap isnt streamed for every new frame, just a diff telling the player about the parts of the map that need updating.