jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
You’re arguing police work isn’t dangerous because there are a handful of more dangerous jobs, by linking to a page that includes police officer as a dangerous job.

In any case, you aren’t really offering a compelling case for several reasons:

-Death is not the only negative outcome of danger.

-Not all police jobs are equal so any metric that measures across the entire array of such jobs is fundamentally flawed. An undercover officer going after a drug dealer is in much more danger than a desk sergeant.

-Other people are the primary danger to police officers, so even if we accept the numbers as meaningful, there is a qualitative difference. A tree doesn’t decide you need to die, it just falls and you die or you don’t and it’s over. People aren’t like that.

-This is a measurement of outcomes with safety measures in place, including some that people find distasteful, like carrying fire arms.
I just watched that. That’s not what they said. They said that more than half the plastic was from fishing equipment. And that the most dangerous plastic was also fishing equipment.
Sorry, it's Australia so it's all NBN...
why does it matter? tax deductible donations still cost you. you get some tax credit on your expense but not 100% (depends on your income tax rate which can be anywhere between 0-50%)
I haven't had enough experience with Haskell to do so, but it is my understanding that one can interface with C (and would need to do so, to get a native GUI on Windows, access the registry, etc).

Those are no doubt buggy to some degree.
Good point...how would you quickly tell someone to visit www.slash-dot.com? Or www.50-yard-dash.com. For that last one, I'd hate to have to always say "50 [as in the number five zero] dash [the symbol] yard dash [the symbol] dash [the word] dot com"
A programming language where you have to tell it the type of expressions if the type is ambiguous? That would be a deal killer, no wonder nobody uses Haskell. Java handles this much better:

Integer i = new Integer(5);

I mean, look at how concise and readable that is. Java knows that 5 is an Integer and you don't even have to tell it.

Oh wait, the opposite.

Basically, the author seems upset that "5" is a Number rather than an Integer. But that's fine, because it's true. 5 is a real fraction. 5 is a complex fraction. 5 is a double. 5 is a char. 5 is an unsigned long long. 5 is a lot of things to a computer. So sometimes, you have to tell it which one you want.

This isn't cargo-cult mathematics, but rather reflects that Haskell is a computer programming language. There is a lot of math in there, sure, but at the end of the day, you are writing computer programs to run on computers. And computers don't know what an Integer is. It just knows that it has some bits in memory and that it should interpret them in a certain way.

This guy's blog is weird.
>"scientists with little computer experience"

I don't really think that's a viable market segment, and hasn't been since Fortran and punch tape.
http://www.informationisbeautiful.net/play/snake-oil-supplem...

This data visualization suggests that saying that St. John's Wort isn't really snake oil.
Should have bought this stock 2 years back, just dint have any money then. Cant even imagine what the Full Year (FY) earnings results are going to look like.
I got an itch from writing a comment (no one will see) without adding a link as a reference. :-)

See "Comparametric Equations, 1993" here:

http://en.wikipedia.org/wiki/Steve_Mann#Ideas_and_inventions
Please don't ask me to review your "massive amounts of code" - I guarantee you will not come out ahead in that evaluation, if I even have time to properly evaluate it (according to Code Complete, you can properly review code in a high-level language at about 100-500 lines per hour).

If you consider the fact that:

- It is unlikely I am well-versed in the problem domain of your code,

- I am unlikely to be aware of external design constraints or coding pressures,

- I am probably going to randomly select the worst section of code to review,

- I have no context for how the code evolved

the chances that I walk away with a negative impression are high enough that it should give you pause. If I do manage to walk away with a positive impression of your code, it will be offset by the perception that you believe your time is more valuable than mine (why else would you send me a massive amount of code and ask me to review it to determine your suitability for a position) - and you still haven't answered the other big question I need answered which is whether you are a good "fit" for the team from a personality/cultural perspective.

If you really want to impress me, go ahead and send me a list of your projects and contributions and then slice a relevant sample of code from it. Describe what the problem was and how you solved it so I can understand the context. Try to make it relevant to the position, but failing that describe how you could utilize that experience in the relevant domain. Keep it small enough that I can review it in under an hour or two.

Is it a lot more work for you? Absolutely, but if you do this I guarantee you I will look at your code and will likely call you for an interview because you are demonstrating a high level of competence and professionalism while still respecting my time and needs.
When did it become a serious Enterprise™ language? Not being flippant or denigrating Ruby, but when I do work for established enterprises, it's never in Ruby. Java, .NET, PHP, and occasionally Python. Just because startups use it to get off the ground quickly, or to build the front end of their website doesn't make it enterprise.
Where? Schools and such are 30 and as far as I know its the same for the whole country. At least in Hedemora.
This is a great "prank". Anyone know of any similar ones? I don't even know what to call the genre. It's more mind bending than pranky.
Except these mice were knockouts for Neu5Gc, making them much more like us, for purposes of this study. Also, humans and mice are both omnivorous mammals, so not radically different with regards to diet, potentially (squeak).
James Randi did a similar trick, i.e. one even less reliant on mechanical tricks or a quick hand but rather on human bias.

Students in a class were given horoscopes in envelopes marked with their birth dates. The students were then asked to read the horoscopes and tell if they were accurate. Most were amazed how accurate the horoscopes were.

The trick is that every student had been given the same horoscope which was just cleverly written.
I'm no expert, but based on the parent, I think it comes down to what he means by "library hash." If it's a hash (like a checksum) of the whole shared library, then different versions would have different hashes, theoretically.
This stinks of a smear job.

A Toronto newspaper has the front page story "Swedish court orders Wikileaks founder Assange detained in rape case"

"A Stockholm prosecutor started a rape investigation that was dropped by the city's chief prosecutor a day later. Ms. Ny reopened it the following week."

It seems like they are just opening and closing the same case to repeatedly bring media attention to Assange in connection with it.
Bonus points on the link bait for the 37signals job board.

Who needs banners or AdWords when you can create clever content and get links & traffic from startup, design, and tech sites?
My personal favourite is, "Run-of-the-mill megacorp seeks rock star IT guru for purpose of extracting life-force in daily increments."
Can't you run unit tests before you merge on an Atlassian service too?
Priuses aren't really very quiet (at least on the inside) unless you're cruising at <60MPH or so, or decelerating. The engine gets pretty noisy when accelerating at any rate that isn't painfully slow, and the power output needed merely to maintain higher highway speeds gets pretty noisy.

Noise is actually one of the big reasons I'm looking forward to switching from a Prius to a pure electric.
Yes, but Amezarak said it was "not because they want to save now to buy more TP later", which is what you're describing.
The idea of straddling two separate data centers seems far more complex, cost-wise, and time-wise, than simply going with AWS and using their flavor of elasticity. Given that his hosting costs are half a percent of his yearly revenue, "premium" really seems like the wrong word here.
> It came from really important people in our field.

I must say that's my least favorite argument as to why something is important...
And this is supposed to be news.

Isn't that like saying that our culture affects the way we think and behave, or that water changes state below a certain temperature...
Seems quite sensible. This, some commentary on forking[1] I ran across the other day, and the way SourceTree is miles beyond github's client, all make me suspect I should be at least trying out bitbucket. But since literally everything I collaborate with is on github, I've not gotten around to it. Am I missing out, or does bitbucket have its own weak spots?

[1] http://zbowling.github.io/blog/2011/11/25/github/
Another thing: Ember-Data doesn't support PATCH (last I looked) so it requires sending the whole model to save changes. This can have unintended consequences when you only want to update one thing, but have to send everything.
The official docs will tell you how to properly handle queries, including prepares:
http://php.net/manual/en/pdo.prepared-statements.php

Additionally, the mysql_ extension is deprecated since PHP 5.5:
http://php.net/manual/en/migration55.deprecated.php

The official docs on the old mysql_ extension has large warnings advising people not to use it:
http://php.net/manual/en/function.mysql-connect.php

Reading a 10 year old tutorial on W3schools isn't the best place to learn current PHP, and it's not the fault of the language. PHP has moved on, if only the haters would too.
If that takes off, aren't we liable to see a rocketing demand for storage, doing to the storage market what PoW does for the graphics card market?

And while it may be low energy to run, creating hard drives just to prove you have space seems a less than environmentally friendly activity.

It looks just like another proof of waste
That's for sure what's happening. On a personal level it's extremely annoying because a machine is trying to manipulate my behavior for its own benefit.
> Europa Universalis has tons of calculations like that, all of them a lot more sophisticated than that.

It's incredible how many people keep missing the man's point. Almost making it for him. His point is the gaming industry is still completely filled with mindless NPCs and simple boolean interactions. He calls out God of War in another article as an extreme disappointment.

The fact that everyone here is saying his ideas have continued, but keep naming the same two or three games made by only a couple gaming companies proves how right he is. If you want any form of deep interactivity play a deep strategy game, anything else besides that in game design is still about as interactive as pacman.

His point is that after 35 years and literal orders of magnitude improvement in processing power, the average game is still modeled using incredibly simplistic logic and makes for empty interactions. And take a look at most any top selling game and it's true.

Your average squirrel in the park has more interesting behavior or interaction than most game characters. It's essentially just been "better graphics, bigger explosions" for three decades now. None of that precludes dynamic interactions.
Texas can prepare for Canadian type cold weather but we don’t. I have lived in TX all my life and fondly refer it to the “blast furnace”. Weeks of 100F is what I am used to.

Most folks here don’t own winter tires for their cars. We don’t have car battery kick start kits like Canadians do. Many apartment dwellers only have electric heat. We are optimized for a semi arid plains climate. Optimizing for hot and cold is beyond the reach of most.

One thing I wonder about is all the wind turbines in Texas. If they get iced over and continue to rotate, does the ice cause the blades unnecessary vibration and structural damage?
C# still doesn't have algebraic data types, though I believe they are slated for C# 10. Honestly (hot take) I consider a language to be unfit for purpose if it's incapable of representing dumb data without boilerplate!
In my experience, static types allows me to ignore a lot of code, which helps dealing with large codebases.

Sure it won't do magic with 1MLOC of spaghetti code, but in a reasonably sane codebase it makes it much easier to know which parts to care about and which you can ignore for the time being. Again, that's my experience at least.
The manual dampers for the ducts can be as cheap as $20. Why wouldn't you turn off cooling on the ground floor in summer? Heat should rise.
> If everyone is breaking so many laws that the police and courts can't keep up it doesn't mean that humanity is broken. It means that the law has gotten so far out of sync with humanity that the law is broken. People make the laws, not the other way around.

The world would be a much better place if more people realized this.
That seems crazy to me. A huge fraction of the value of something like vim (vi-clones specifically) is that I can find it on any machine and use it as-is... that isn't going to be true if I expect different keymappings. Even in emacs, I try to use the default mappings for standard things and just supplement them with added features.
One thing I definitely miss, especially with things being split into separate extension traits (e.g. iterators a few weeks ago) is a Hoogle-like type-based search. Because finding out how to perform operations, especially very generic ones, has become fairly frustrating.

Also the ability to easily search both the standard library and third-party libraries is probably going to be needed soon if nothing experimental is going to be available in the "standard track".
Scott Guthrie for CEO!!!!
http://en.wikipedia.org/wiki/Scott_Guthrie
PHLX, NOM, ISE/Gemini all halted trading and all exchanges halted options trading on Nasdaq listed symbols until Nasdaq came back up at ~3:40. Yes, most sophisticated co-located firms probably use raw feeds, but how do you facilitate trading when the official feed for the underlying is down and the symbols aren't even trading on their listed exchange? (Nasdaq down from ~12 to ~3:40)
Call amazon customer service and see what they can offer for you:) https://amazon.pissedconsumer.com/customer-service.html . Actually amazon has launched so many cute services, so I am sure they won't stop
My kiddo uses YouTube Kids daily and I find it to be a great service with shows like Katie's Classroom which is like video preschool.
More generally still, look at established, unsexy industries flush with (old) money, such as finance, law, oil&gas, government services, infrastructure, real estate...

If you can find a space in there where you can accelerate things just by 5% mostly on your own, you'll find yourself in a highly paid, irreplaceable position soon enough.
I have a theory about how well educated the mass of humans are, could be and should be.

Bear with me.

Roughly 2000 years ago, the number of people who could do arithmetic and writing was < 1% of the population. By 200 years ago it was maybe what 10%?

Now it is 95% of the world population, and 99.9% of 'Western' world.

Lets say that Alexey Petrov is about as highly educated and trained as any human so far. (A Physics PhD represents pretty much 25 years of full-time full-on education). But most of us stop earlier, say 20 years, and many have less full-on education, perhaps not doing an hour a day of revision or whatever.

But imagine we could build the computing resources, the smaller class sizes, the gamification, whatever, that meant that each child was pushed as far as they could get (maybe some kind of Mastery learning approach ) - not as far as they can get if the teacher is dealing with 30 other unruly kids, but actually as far as their brain will take them.

Will Alexey be that much far ahead when we do this?
Is Alexey as far ahead as any human can be? Or can we go further - how much further? And if every kid leaving university is as well trained as an Astronaut, is capable of calculus and vector multiplication, will that make a difference in the world today?
What I sometimes do is make a bash script that does all the setup. save it in the home folder. You can just copy/paste each line from the script to set things up again and you'll be able to know exactly what you did to the system later on.
Reckless how? The point was to go to an affordable state school, not to just indiscriminately get loans to fund a $300k degree from the Art Institute.
Maven issues:

XML. Ugh, the XML.

The backing company was a bit too eager to sell artifact repository software.

The lingo was pointlessly obscure (coordinates? artifacts? "project object model"?)

It didn't offer a couple key options (local jars without an artifact repository) so it was too inflexible.

Gradle did fly off the handle too quickly, breaks wayyy too much stuff with each release, has way too many releases and examples that don't work anymore... but on the other hand you can usually cobble together what you want from a couple sample builds and some stackoverflow.

What the JVM community probably needed was a YAML-based Maven with a bit more flexibility than maven provided.
Great analysis which is the first I've seen to come up with a reasonable explanation for the existence of this file. Caching this data is a logical method by which to speed up location lookups.

However, there's no reason why this data should not be stored by default under the OS's "Data Protection" encryption as email is by default on devices where a passcode is set:

http://support.apple.com/kb/HT4175
>it would inevitably result in little old ladies who have lived in the same house for fifty years being turfed out

That's a "feature" of the property tax system - in encourages people to make the "best use" (economic, not moral) of a piece of land.
My sister worked a government job in ND which required a master's degree and paid $18,000/yr. The ND attitude towards government jobs is the opposite of California.
> Why should I buy good X for $Y today, when I anticipate that good X will be available for $(.85)Y tomorrow?

And why should you buy the good X for $(.85)Y tomorrow, if it will cost $(.7225)Y the day after tomorrow? Right?

I see that's why people never spend money on new phones and computers!!!1!!

Now seriously, the assumption that people will forever postpone consumption is absurd and wrong. But the whole deflationary spiral theory falls apart without that assumption.
A retired public employee can actually make more in pension benefits once they retire than they made during their final year working. Based on how many years of service a public employee has, they can actually make over 100% of their final year salary. That is just an unsustainable model. I don't know who thought these pensions up, but they were not thinking beyond pleasing the immediate voting population. It is criminal that we continue to let politicians buy votes from current voters by robbing future generations. Shame on voters--either for not understanding how they are being duped into this or for not caring they are taking advantage of our country's future generation for their own benefit.
I am not an accredited Clojure style expert, but I wouldn't (defensibly) use the shortcut syntax in an any more complicated way than calling a function, providing missing arguments and rearranging those that have been passed. So, something like this:

(frob #(mumble :foo %2 %1) bar)

Anything more complicated, I'd either use `fn' or define a free-standing function.

I'm not disputing that the Clojure community has assholes, though I've hung out on #clojure a fair amount and no one springs to mind. But the `fn' shortcut sugar seems like a completely reasonable design. The design choice, however, does encourage the adoption of certain conventions.
Where is my Python support?
Alternatively, people are more likely to believe information on the existence of a problem if they like the possible solutions?

e.g. "You have a severe dietary deficiency. It can only be resolved by eating more chocolate"
I like the concept. A couple of thoughts:

1) I wonder how you can secure the lowest price however. I'm guessing there's no way you can slurp in all the targeted promotional offers that a user receives from a specific retailer and apply them in the checkout process.

2) Do you make judgment calls as to when it makes sense to get things cheaper vs. get them faster (i.e., best buy has something a couple bucks cheaper but Amazon will get it to me 3 days faster).

3) How are returns handled?

Cool concept but this gets hairy fast.
Or maybe, just maybe they'll stop using these absurd time-wasting devices and re-engage with the rest of humanity via physical interaction.
> Every time I see one of these articles, I get confused. I have to wonder what mysterious world they live in.

I think part of the problem is that the questions they ask ("Why don't millenials want cars?") come with an unstated context: millenials' parents and grandparents did want cars. The question is not so much why millenials behave as they do; it is why different generations have behaved so differently.

Saying, "Because we're sensible, and our parents were idiots," isn't really a good enough explanation. So the questions keep being asked.
For people who live in Brooklyn or have connections to it, you might be interested in Walt Whitman's "Crossing Brooklyn Ferry" where he emphasizes his power to, through his poetry, be mentally or spiritually united with future generations crossing the East River:

http://www.bartleby.com/142/86.html

https://en.wikipedia.org/wiki/Crossing_Brooklyn_Ferry

It's one of the more intensely second-person poems I've come across, with its repeated focus on the reader's presence and what the reader has in common with the poet.

I learned about this poem from the novel 10:04 by Ben Lerner, in which it figures prominently. The novel is an interesting meditation on nostalgia, modernity, introspection, and being a writer (although I fear readers might like it much less if they don't share some of the author's nostalgias).

http://www.nytimes.com/2014/09/07/books/review/1004-by-ben-l...
>Given how high programmer salaries are

This myth persists huh.
I like the idea, but it's difficult for me to swallow the group selection pill. If everyone else in my tribe has this population control gene but me then I benefit greatly because I'll have many more children without the tribe becoming overpopulated. Eventually my gene out competes the communal gene and the entire tribe overpopulates and collapses. Why doesn't this happen more often? What mechanism exists to prevent me from having this mutation? If I have this mutation am I essentially a cancer on the tribe from which the tribe cannot recover? This doesn't seem like the dynamics we observe in nature.
> The point is, if you're doing this all by hand, you're doing it wrong. You should rent or install a PaaS and move along to the part where you create value instead of inventing a cool-sounding wheel.

That makes a lot of sense for small organizations, but I'm sorry PaaSs absolutely do not scale to the needs of many organizations.

> In general, these are all intended to Just Work™.

My emphasis added. When they don't Just Work it's really nice to own that infrastructure and be able to fix it yourself. It's also nice to be able to tailor things more specifically to your needs. Again, I agree that owning that infrastructure is not the right solution for organizations of all sizes, but neither are PaaSs.