skysight-inc/HackerNews huggingface dataset:
As Elvis Presely used to day: these aren't drugs, these are pills see I've got a 'script from my doctor. Psychology is everything, prescriptions aren't drugs, pills are safe, needles are scary.
I wasn't thinking of opinions for or against a position so much as the quality of the discussion. Shallowly provocative comments produce flamewars, nitpicking produces counter-nitpicking, and so on. Threads that begin with a substantive on-topic comment or two do best.
Well, I can't speak necessarily for the way you write or view code, but for my process I've found its impact intrinsic and clearly definable.

First I should note that I follow a few basic principles/sets of principles when programming loosely-typed imperative languages.

1) Single-responsibility for classes and methods, with each method coming in around <= 20 lines. In total the majority of my classes in enterprise level applications (supporting 100's of millions of users & responding to internal events with meta/statistical analysis) rarely grow beyond 200 lines per class. Usually whenever I hit the 2-500 line range I'll find that many methods can be logically abstracted to a few core traits in order to take advantage of multiple-inheritances without overcomplicating the central registrar or DI patterns.

2) I build an interface before building a class--the interface defines what methods will be available to the application/world context (thinking as per an API interface), as well as what type(s) should be received and what type(s) should be returned. By type hinting/checking at this stage and ensuring conformance to an interface, you can swap out implementations easily later, as well as have a general map or "spec" before you really start hammering the nails--this helps in staying organize and weeding out bad architecture decisions early.

3) I keep these public methods simple, so that I can clearly detect failure points and debug based on input/return types for the 'service' as a whole, and then I use protected methods internally similarly to data pipes in functional programming; each method is clearly named, has a specific transformation it applies, and acts on a series of (n) objects by mapping transformations vs iterative loops which precludes un-terminated conditionals and other type-juggling weirdness.

This all results in software that's very concise (IMHO), runs well, and is quite simple to test. I can inherit any class from a testclass, in order to test the protected data pipes with any sample streams. I can verify the I/O types for all interfaced methods of the class (via functional tests), and tie it all together neatly in knowing that I can pull up any file and clearly differentiate between what formats/returns/transports data, and what mutates it and/or the "state."

The process is by no means perfect and I continue to learn in my pursuits as do we all, however this structure has worked well for me consistently on the types of large projects where others have failed, and in that context I feel it's worth expounding.
RAII is about resources, not memory. If you don't want to tie memory lifetime to object lifetime then don't. That's the entire point of things like smart pointers.

That's exactly the issue SFML had. This idea that RAII implies tying resources directly to an objects lifetime. It doesn't.
How do you know IkmoIkmo has broken neurochemistry? People with ADHD struggle with motivation. But perfectly normal people struggle with motivation too. There's a difference, but can you see it in a fifty-word post on the internet?

As for the drudgery of University and crappy assignments- what, do you imagine "neurotypical" people love to do banal assignments that are below their skill level? Everybody hates make-work.

The risk with all this is that manic depression, ADHD, etc are mostly an extreme form of things we all experience, so it's not hard for people to convince themselves they have it.

As for finding enjoyment- University can be a slog. But I found once I had climbed high enough (and managed to drive myself to do the un-fun parts) it became rewarding. The thing is a lot of school is building foundations; the fun part comes later. That said, if your major is completely un-fun, you should reconsider your track. E.g., as much as advanced math was a complete chore for me, I knew I loved to design circuits, and I tinkered with them through all of University.

You haven't known "God, I wish I was doing just about anything else right now" until it's June, sunny, and 75 outside, and you are sitting through a four-hour-solid lecture on linear algebra. But it was worth it.
Thanks for sharing your story.

A while back I saw something about heroin addition on the TV. There was an interview with a doctor. She basically said the same thing as you - none of her patients just decide to start heroin one day, they start on prescription opioids. Then their supply runs out...

Then they show videos from pharmaceutical companies from the 90s directed at doctors telling doctors to prescribe their opioids to all their patients (basically). It was basically like "30 million Americans have chronic pain... give them Oxycontin. It's totally safe."
Spans are stripped out by Outlook 2010 in HTML mail. This is not edge case, as you may think. Most corporates are still on Outlook 2010 (and IE 6, especially large banks in the UK).
Browsers should e.g. allow tables to be sorted by clicking column headers. They can't, because tables aren't always tables.
Jack Vance's The Dying Earth Series, especially The Eyes of the Overworld.
Yes, you are right. As long as people are using HTML mail, tables for layout are the only way to go.
Gene Wolfe's The Book of the New Sun, especially The Shadow of the Torturer.
Add Autoprefoxer in your build process and never type them again.
But there's nothing new in this project. And now the developer knows that their competition has everything they have, so we may expect something new in their project.
Don't forget the need to support HTML email clients. Say, Lotus Notes.
Except that div have no semantics by definition.
I'd agree that both Shulevitz's piece and this one are flawed. They both offer some interesting anecdotes but don't do a great job of criticism (or even, you could argue, identifying what's being criticized).

Instead, both are to some extent willing to leave things at "look at the what the wacky Millenials (substitute "leftists", "feminists", "statists" as needed) are up to!"

Part of the problem, I suspect, is the messy intersection with politics and identity in this area. It's tough to come across criticism that doesn't devolve into political posturing, and even thoughtful discussion is easily dismissed as it often comes from "the other side."
...and France is well known for its leadership in modern technology, especially software.

the last big IT assets are being sold off, complete failures. europe as a whole basically is SAP plus its ecosystem. nothing else has survived. and even SAP is investing massively in its shift from Walldorf to the Bay Area.

so yeah, a lot of countries have elite schools. hint: all big founders never finished theirs....
Check out http://camendesign.com/
The last time I looked it had no ids nor classes.
So, the tools in question (as I understand their use, and I am happy to reconsider my position if my understanding is incorrect!) basically create blocklists based on the edges of known "bad actors" in the Twitter social graph. These users are effectively hidden unless you are already following them for some reason (Block Bot does this, as memory serves).

Whoever is subscribed has their potential feed manipulated by...some group? For reasons? It's certainly easier than manually removing trolls, but imagine finding yourself on the wrong end of one of these bots or a more aggressive descendant, just because you happened to follow somebody who was controversial or deemed controversial.

The entire point of these things is to make a safe space--where safe is defined as not merely keeping out dissenting thought but indeed making it appear as though it never existed, very much like a memoryhole. On some places (like HN or Something Awful or whatever) you'll see a post downvoted or annotated with "User was banned for this post. Reason: User is a mansplaining shithead".

We're a bit down the rabbit hole here. I'm curious if there are such bots created by the folks on the other side of the issue, or intended for use by people on the other side of the aisle. I suspect not, but I simply haven't checked yet.
I ask them, tell them whether I'm going to do it and get back to them when done.

Everyone here seems so focused on tools, yet most companies don't ever actually respond to customers with anything more than 'we'll pass this onto developers' which normally means 'we'll throw this away and you will never hear from us again'.
Review of the Moneymarket 247 Reseller Program
When the majority of houses have a good amount of solar and storage, then the grid we already have will be more than enough, therefore it can go into "maintenance" mode. (likely even reduction, I suspect)
A Town That Runs on Social Media
“The top story on HN is how to center text in CSS...”
South Direction-Vaastu Tips
Ok, now make it repsonsive, e.g. one column should be below the other on the narrow screen.
How to Remove vaastu Dosh?
You can (and we do) run a locally issued debit card system with no interchange, a total annual fee to card holder of 20 to 30 bucks and a cost to the merchant that is at least an order of magnitude lower than credit cards.
There's no reason why you can't use "closed" Python 2 code, or even Fortran for that matter, from Python 3. It's just a matter of interfacing.

I highly doubt that "End of life" means you can't get it to run anymore.
What good is getting eliminated before than later? They eventually did reject them, all that shows is, they are also humans and not perfect in predicting the future by few questions in the applications.
Chronic pain is very tough and opioids shouldn't just be thrown at it. I've known two people with chronic pain that have gotten addicted to their pain medication... then they didn't even work anymore. So they ended up with addition in addition to their chronic pain. This outcome in a very very real (and very common) concern.

These people didn't want to become addicts and weren't taking Oxy for thrills...
This works better in larger organizations than smaller ones. In a large org, there are more people working in the same capacity which creates more redundancy and allows for one person to keep doing the business's day-to-day specific work while another goes into open source community for longer term benefits.

At a smaller startup, there isn't that extra redundancy so any time one spends investing in future stability or performance comes at great opportunity cost to finding product market fit.
"our sensor architecture easily lends itself to a compact solid-state imaging chip"

... hmm ... there is no scale on the photo of the camera, so it's easy to miss that the image sensor is 8" x 11". The lens size scales with the amount of power needed - it is about 7" in diameter right now.

http://www.cs.columbia.edu/CAVE/projects/self_powered_camera...

Capacitances will be lower at this scale, but will only increase when you increase the frame rate (currently 1 fps with a 1 second exposure).

It's a wonderful start, but still orders of magnitude of improvement needed until practical. But there was a time when no one could have imagined a calculator could have been powered by sunlight alone!
I think CSS Zen Garden still exists...
Hi,
First of all looks like an amazing project so thanks!
You mention key rotation but I think I might have misunderstood what you're talking about.
Let's say I have a symmetric key and I want to change it, in a CD environment there is a short period where you need to support two keys. How does KeyWhiz fit in there? If it doesn't I'd really like to understand what you meant
At least in my opinion, using Code of which nobody knows what it does is a much bigger problem than just having to port it to Python 3.

But then again, a lack of reproducibility sometimes seems to be what it takes to succeed in Academia...
Having just gotten our PV panel installed on our roof this year, this is fresh in my mind. Of course everyone is doing it -- electricity in Hawaii is insanely expensive. Before we turned on the system, we paid $200/month for power! And this is in a house with no heat and no AC.

Do they have to buy the power? Yes, but not without limits. The system is built on "net metering". Every kWh we deliver to the grid can only go to offset one that we already have or will use. If your system is so large so as to make you a net producer of energy when averaged over a whole year, you will be giving that away to the utility for free.

The rules also limit installation of PV systems to a level that will not exceed the minimum daytime load on the local circuit, exactly because there is nowhere to store the power. So every kWh they get from us is one they would otherwise have to generate to supply to one of my neighbors.

It's clear that the utility companies aren't happy with this. But studies have shown that these "extra costs" the utilities talk about being saddled with are offset by savings to them as well.

Solar power typically produces power during times of high power demand, so the net effect of solar is actually to even out the daily load variance. This is good for the utility because they need to make sure they have capacity to handle peak load, even if it's only for a small fraction of the time. These "peak power" plants are expensive, because you almost never get to operate them. When PV reduces peak load, they don't need these plants and this is a net win for them.
I think our difference of perspective comes from the idea that everyone has equal access to "free speech" and so we should listen to everyone equally. But, that's not the reality we live in. The police commissioner, the mayor, the attorney general, etc. all have a vastly disproportionate amount of access to "free speech" that people of color who are their victims do not have.

Yeah - to be honest this response reads as though it was printed on the back of a packet of intersectional brand cereal. If only it were police chiefs that this cereal logic is responsible for attacking.

There are comedians who get publicly humiliated over misunderstandings:

http://kotaku.com/xbox-one-presenter-humiliated-me-on-stage-...

Male developers that get fired for making dick jokes:

http://www.cbsnews.com/news/techie-adria-richards-fired-afte...

...as though either of these transgressions were really worth the level of sanction your cereal logic ultimately demands.

Yes, yes all privileged so you don't care about them - and you'll point out that the blow back onto the naive social justice folks that tried to apply this cereal logic is arguably worse. And I would agree. Except while I'll see the cause of both their completely unnecessary suffering in that cereal logic of yours, you'll blame the existing power structures for it.

You'll egg them on while writing outraged tweets in their defense - signalling how much of a good person you are for being intersectional. Kotaku will get another zillion page views for covering the controversy. And the two people at the center of it - get publicly torn apart.

It might be time to challenge that response of yours.
By the same dint, web designers don't talk about paper weights and finishes. It's crackers, almost as if the two sets of designers are using different technologies.
> Few people actually do this.

Is it everything? No. But according to WGBH's media access group, "All major studios now caption and describe all wide released features and nearly all independent studios caption all releases."[1] In 2014, that description was available on at least 88 films released on DVD or Blu-ray[2]. As for television, in the US, the networks and the 5 largest cable stations are required to air about 4 hours of programming a week with description[3].

My point is: The biggest problem is no longer a lack of described content, it's a lack of access, particularly through internet streaming services which have the potential to provide the most accessible experience of all.

[1] http://www.acb.org/adp/movies.html
[2] http://www.acb.org/adp/dvds2014.html
[3] http://www.fcc.gov/guides/video-description
This is a great service actually. Visualizing network architectures is good for teaching and discussing things. I use json in deeplearning4j and it's crazy hard to keep track of all the possible combinations of nets so it gets messy quick.
Not everyone wants to install x-server and friends on their servers
It's interesting that this idea seems to be somewhat pervasive though. The north shore / North Sydney for example is often seen as pompous and never wanting to 'head across the bridge' to attend events etc. Again with the same separation that you need to be on trains/tunnels/bridges to cross the harbour.
We can push this on top too, if not naturally
You're right, but that has more to do with the cyclist being a fair weather cyclist, than being in Berlin. If you're a serious all-weather, all-season cyclist, you wear a helmet. In Berlin, too.
10 useful CSS generation tools for web designers
true enough. *unmoderated communities of a certain size
Get to know the latest movie release right from your palm,anytime anywhere
So I may not be an SQL expert, but why would it be difficult to produce an injection string for $1? Of course, if you supply it "guaranteed" integers, then you can't. Injections normally happen with user inputs, not constants.
A Navy Seal, a Yacht Captain, and Others Billionaires Trust to Manage Money
Clustr: Mapping the vibe of your city
Scroll down after generating code, but other than that, great!
I find the assertion that compiler enforced discipline is paranoia, too hippy.

What it does is free you from a big overhead, which is keeping track of the access levels for all of your instance variables. Moreover, documenting enforcements is a very shaky way to go about it. It requires military discipline. I've seen time and time again, documentation which didn't get changed with the code.
The former, hence the phrase "in total", and the number 12 instead of 1.
It doesn't load.
I've looked up the definition of "bully" - and I have to admit, they all define the word in pretty much the same way you just have, which surprised me, as it wasn't my sense of the word "bully." It seems to me, though, that by that definition, any police action in which the suspect doesn't just acquiesce and come meekly along, is an example of Bullying - which really stretches my sense of the word.

It should be noted though, that in the case of the FBI seizing the equipment, it turns out to be the case that Roberts actually was guilting of making the threat/joke about messing with the airplane's EICAS system, so it's not clear to me that we can claim it was an "unproven alert."

You can always seize the equipment, perform an investigation, and then return it. But if you fail to seize the equipment, then the suspect can wipe it/destroy it if you later determine you do need to review it.

I'm guessing the FBI (any police agency), in this situation will follow the "Better safe than sorry" approach.

And, as to how you can avoid having your shit seized by the cops - most of us were taught at the age of 5 not to use the B word in an airport - just extend that logic to not making jokes about messing with the aircraft safety and you should be fine.
Allowing an arbitrary website to work on a phone isn't really a fad, though. In a few years time, there's not going be a huge sigh of relief as everyone gets back the fixed-width websites they've been crying out for.
I wonder if learning music would help too. I think it could require much more discipline than doing sports. I have done swimming (which really falls in the "repetitive, boring" category of sports) and played the cello as a kid. I don't know if I have ADHD though, it's much less diagnosed here in Hungary than in the US (I personally know nobody diagnosed with it).
Good subject, but the article is 3 years old in a fast moving field, and displayed in a painful e-book program. Is there a better article available?
A few scifi novels that seem filmable and have strong characters.

You could do a fair bit of David Ramirez's Forever Watch with practical effects, and the story has enough twists that you could get a long season out of it. Basically set on a colony ship, where people have strange psychic powers, investigating sudden deaths that the regimented ship's society covers up. It might be better as an anime though.

The First 15 Lives of Harry August by Claire North requires almost no cgi, just period stuff and practical effects. Basically everytime certain people die, they are born again and remember their whole life. Of course someone decides to change the future.

In the Country of the Blind by Michael Flynn is about people who use statistical processes to predict the future, starting before lincoln. It could make good tv, especially with the steam punk element. Nice way to talk about machine learning and big data.

The Chronoliths by Robert Charles Wilson. Basically these large sculptures start getting sent back through time something like 40 years, commemorating a warlord's victories. Really strongly written characters, and a good plot.
Some libraries will never drop 2.7. I can see why some projects like Django may drop 2.7 in a few years. Django releases tend to break backwards compatibility over time anyway. I don't care either way. My older projects can't be easily upgraded from Django version to version, and my newer Projects start out on Py3k.
That's true. The caption thing is a no-brainer for any size production and has been for years, due to the relatively low cost, but the narration's a much bigger hurdle for anyone other than a major studio.
The 20,000 fake [UK] phone numbers used on film and television
Tiger Tiger, or its American name The Stars My Destination by Alfred Bester.

I'm not sure at all how the ending would get translated to film but god would it make for a great movie.
This added to real GDP being more than 25% higher than it was in 2000, makes this surprising in the opposite way than the article's intent (to me, at least)
It's already in place. Math textbooks in the US that specifically use Oreos(TM) and Nike(TM) shoes in examples. Supposedly "the well-known products were included simply to make the math problems more relevant to sixth graders."

*"Another word problem, this one in the 1999 edition,
gives a plug to Oreos, made by Nabisco: ''The best-selling
packaged cookie in the world is the Oreo cookie,'' it begins.
''The diameter of an Oreo cookie is 1.75 inches. Express
the diameter of an Oreo cookie as a fraction in simplest form.''

"A section on surface area in the same edition asks students
to calculate the surface area of a box of Cocoa Frosted Flakes,
adding some gratuitous information about when the cereal was
introduced. Another page, titled ''School to Career,''
highlights Lands' End, the mail-order apparel company.
''Consumers can purchase unique clothing and accessories,
and products for the home,'' the section reads."*

http://www.nytimes.com/1999/03/21/business/math-book-salted-...
Mentorship from peers may lead to a "blind leading the blind" situation. I'd prefer some experience/knowledge transfer involved.
Blocktech Introduces Uncensorable Peer-To-Peer Media Library Alexandria
That's not at all what that report says. The graph in the report is talking about the energy usage and production of one household, not global demand. Peak global demand of energy in Australia is very much in the middle of the day as offices and other workplaces run aircon / lighting / computers / industrial processes.
Apple Pay vs Google Wallet: Which One Is Better for Mobile Payments?