skysight-inc/HackerNews huggingface dataset:
Web user privileges using PHP
I have got a website which does not use a CMS. I have got one administrator login that can access all the data and administrates the users. I want to split administrator account into a user management and a data management role for security purposes.
The website is very basic, a few php files which very basic php user authetication.
I have access to the MySQL databases.

I would like to create two different users with different permissions, and different access rights; Does anyone have any suggestions? or point me in the correct destination.
Not an iTunes user, but I guess some people just want to do a selective sync to certain devices to keep storage use in check and maintain library navigability on the device. That can be quite a bit of work which you wouldn't want to lose to technical failure.
> World War II, which is usually discussed in terms of atomic bombs and V-2 rockets; these contributions are summed up in the phrase “the physicists’ war.”

I have two complaints about this complaint.

It overlooks the importance of radar and radar detection in WWII, and many of the people in radar development were physicists.

Second, WWI was "The Chemists' War." There's even a book by that name on the topic. That war is known for the use of chemical weapon attacks, and guess who made those weapons. I'll quote from summary on Amazon for Freemantle's book:

> Within months of the start of the First World War, Germany began to run out of the raw materials it needed to make explosives. As Germany faced imminent defeat, chemists such as Fritz Haber and Carl Bosch came to the rescue with Nobel Prize winning discoveries that overcame the shortages and enabled the country to continue in the war. Similarly, Britain could not have sustained its war effort for four years had it not been for chemists like Chaim Weizmann who was later to become the first president of the State of Israel. Michael Freemantle tells the stories of these and many other chemists and explains how their work underpinned and shaped what became known as The Chemists' War.

Thus, while coal hydrogenation helped Nazi Germany stay in the war, the Haber-Bosch process made the ammonia needed to produce the explosives that helped Kaiser Germany stay in the war.

Certainly chemists were important in WWII (as were mechanical engineers, aviation engineers, metal working, and many other specialties). But the appellation "the physicists’ war" also highlights the relative decrease in the role of chemistry on the actual fighting, compared to WWI.
I think there is a strong need for something like this. It's worth noting that API Gateway is also a huge component of this project, not just Lambda. Lambda alone wouldn't provide the benefits of Zappa.
And some antifraud regulation on funeral homes makes sense. However, the law I was thinking of essentially prohibited religious cemeteries from selling headstones, giving a state monopoly to the Monument Builders Association of New Jersey.
I've had a couple users complain that my program started running really slowly while they were using Microsoft Security Essentials. It turns out that if a file contains a "suspicious" pattern of bytes (which in these two cases were two different user-drawn bitmaps), SE will do some time consuming heuristics every time you open the file. So opening, reading, closing a file 10 times in a row is really bad.
And there is also well done advertising. Once you have a big group of people that reads articles on specific topics, I bet companies will want to pay a lot to send them (top quality of course) content that is also promotional in some way.
Facebook ordered to stop tracking logged-out users in France
Why does Google Finance shows yesterday's OMXS30 data as real-time (in Sweden)?
Yesterday the index fallen 4% and at first I thought it's falling today as well.

https://www.google.com/finance?q=INDEXNASDAQ:OMXS30
I spent some time going through tutorials for different game engines, UE, Unity, Chaos and researching others, it became pretty clear that C++ the most pervasive and valuable across them, which is probably obvious to some of the more involved players in that space.
Depends on what you mean by "exploring game dev". I would say Unity is pretty perfect for that and you have a lot to learn before you will reach its limits, if ever. After all, some of the best and most successful games are made with Unity. If you want maximum eyecandy, then UE or CryEngine might make more sense, but even there Unity in its latest version is not that far off.
Jenkins Git Plugin downloads drop by 72% in January
Blockchain would also help with the issue in the sibling comment worried about creepiness, where I suggested that actions be paid for.

Is it possible for the value of a node in a blockchain to grow with time, and cardinality. Because that would be killer. No one may create spam nodes, and a pgp like trust develops over time.
Show HN: Chatvisualizer – Data visualizations of your WhatsApp chats
That sounds like a Steam clause. At this point, if you're licensing a PC game engine, and it's not Steam-compatible, it's DOA.
If I remember the discussion correctly, it seemed to center on the node code still being very slow despite being faster than the java system it replaced.
People commented that the increase in speed may of simply been due to the act of rewriting the system and not being tied down by in house framework rather than any favorable property of node.js
I guess they have estimated the impact on revenue that would cause and realised it's minimal.
Oh, there's definitely politicisation going on here, but I don't think it's on the side you're claiming it is. For example, this article says that "Some trans activists have howled at this claim — they believe that desistance is a transphobic myth entirely", linking to http://www.huffingtonpost.com/brynn-tannehill/the-end-of-the...

Now let's have a look at that article:

"For starters, the most cited study (Steensma) which alleges a 84 percent desistance rate, did not actually differentiate between children with consistent, persistent and insistent gender dysphoria, kids who socially transitioned, and kids who just acted more masculine or feminine than their birth sex and culture allowed for. In other words, it treated gender non-conformance the same as gender dysphoria. Worse, the study could not locate 45.3 percent of the children for follow up, and made the assumption that all of them were desisters. Indeed, other studies used to support this also suffered from similar methodological flaws."

Yowch. That's some seriously dodgy science there - almost half the subjects lost to follow-up, assigning a particular outcome to the drop-outs, questionable selection criteria... And the NY Mag completely ignores the actual methodological issues, instead dismissing them as ideological complaining from trans activists.

This is pretty sleazy too: "they just haven’t come up with scientifically convincing explanations for why the studies would all be wrong, and all in the same way". The studies in question took a group of people who met some definition of gender variance and looked at how many transitioned. The more strict the definition they used, the higher the proportion that transitioned - and the NY Mag are arguing that the studies showing the highest proportion of non-transitioners are right and indisputable because all the studies showed some positive proportion of non-transitioners, which is the only thing they could show.
It could be as easy as just recommending one at random every time you load the page. I don't understand why they don't implement this.
I've been using it for a while. It's ace. A couple of plugins I've written for it:

List local vagrant boxes with statuses: https://gist.github.com/onion2k/3462b6effd55472aa192

Show your current HN karma (needs nodejs): https://gist.github.com/onion2k/2e7fe16d1bb568271f32
Engineers or Managers? The engineer are probably only looking at the data to confirm to the MANAGERS that the numbers are moving up.
You can and it is done. Land ownership is restricted in many ways in many countries just like IP should be.
Top 5 iOS libraries
I totally agree with you. I switched to atom 4 weeks ago and have used it full time since. I love it, it works great.

The community, plugins available and ease of making plugins is phenomenal. Add to that its open source.

In my opinion as a sublime license holder who have used it for years, atom has defintely over taken it without doubt.

And yes, sublime is the new textmate :-)

One thing for sure is, with Atom around, if you do not already have a sublime license it certainly is not worth paying $70 for it today.

If u insist on paying for an editor or IDE at least go for a Jetbrains IDE.
What's wrong with cannibalism?
This entire notion of a professional social network I believe is flawed in that it is built upon the notion that it would be better to hire someone who has a smaller degree of separation from you, which makes no sense. I do a fair amount of interviewing of programmers, and not a single person I work with could give a damn about anyone's linkedin profile; it's meaningless. I just find the whole idea to be very shallow, vein, and obtrusive.
yeah but how often do you do that though...
http://recode.net/2015/08/31/top-paypal-executive-hill-fergu...

> Hill Ferguson, a top executive and officer who was SVP of PayPal’s consumer business, has stepped down, he announced in a post on Facebook earlier today. Bill Ready, who was Ferguson’s counterpart for the merchant side of PayPal’s ecosystem, is gaining more control and will now run product and engineering for the entire company, a spokesman said in a statement.

http://www.zdnet.com/article/paypal-cto-james-barrese-resign...

> William Ready, the company's Global Head of Product & Engineering, will take over the "payment services functions" currently handled by Barrese,

Is it really that big a mystery what is happening?
The thing that worries me is the scale of their attack surface, they have so many different systems inter operating there re bound to be some serious security bugs in there too.
I'll check it out again, it was over a year ago.

I just recall doing things like setting up path finding and AI was much easier in UE and setting up player characters etc was all already built into UE templates.

The whole UE IDE or workflow also just made more sense to me, and was more polished. Maybe I just didn't give Unity enough of a chance.
I tried to allow their ads after reading this article, but they still didn't load because they depend on several trackers (which I still block).
They should be able to still do this too; presumably they still have an ad department for the dead tree version of things. That means they have the people in place to sell ads and integrate them into their content. Of course, magazine ads don't really fit your "not huge, distracting or obnoxious" requirement but their ad people can evolve too. There's probably even a business in this for websites/companies that don't have dedicated ad departments.
Been using atom for 4 weeks now in place of Sublime. The slowness has not affected me at all. Especially as I rarely close my windows :-)

The benefits it provides far out ways its flaws. Atom is great.
He quit Linked In but not Facebook because of UI, email messaging, and privacy.... seriously? I quit Facebook years ago and haven't missed a thing, while on the other hand my past 3 jobs have all come from (at least indirectly) Linked In.
Most of my friends actually use it as a async, direct and realtime communications channel, pretty much like Whatsapp, just with more "social integration" (read: the whole internet).

They don't use Facebook because its algorithmic "timeline" isn't realtime in any sense of the word and they consider themselves more than capable enough to decide on their own what's worth their time or not, they don't want to be fed things / advertisments somebody else wants them to see.

They'll probably all switch to the next best thing available once Twitter's rumoured algorithmic timeline is to be introduced.

Personally, I left the whole Twittersphere way back when the alienated their third party devs, for me that was more than enough indication of the way they were heading. Nowadays they have nobody left who could actually come up with the Next Big Thing (tm) for Twitter, because all of their engineers are mostlikely busy trying to figure out how to commercialize the platform in the shortest amount of time in order to satisfy their shareholders.
Well, whatever we build is archive-able at anytime, so it's hard to technically disallow backup of data if Eve is bent on spidering all of the data.

Instead how about no contact-data (email/phone) be made publically available at all. And all friends request, messages or recruiter contacts goto a public box for that contact? So we can recycle old PO boxes after set intervals, and you only listen to the latest one. Anyone trying to reach you has to be OKed by you.

There's also another negative PO, and you try to keep that empty. Bad player that spam you get a a megative PO message, and those that get too many such are lowered on some scale.

Or of course, charge per action, so it'll be cheaper for someone to contact a dozen people, but too expensive to mass spam.
GDP is becoming an ever worse measure of how we’re doing
Should it instead be only a directory of people currently looking for opportunities. People who find work, take themselves off the directory, and people who want work add themselves in?
GMC won't fix your truck, but Tesla might upgrade their cars when you aren't looking.

I look at patching almost like a public health issue. Vaccinations are important because they protect you and the people around you. Likewise, secure machines connected to the internet are good for the owner and everybody else on the internet.

I get what you are saying, but I think the forced patches on consumer machines is at least arguable. The forced collection of data seems less defensible to me.
Çağlayan Böcek İlaçlama Sitesi,Böcek İlaçlama
If, like me, you don't know the term OSINT, it stands for "open source intelligence." What it means is publicly available information: phone books, mailing lists, published documents and other things people can find just by snooping a little and not breaching a security system. (Note: According the Wikipedia, this is a US-centric view of the term and may be different where you live.)
While I can't speak to what AndrewUnmuted is referring to with Amazon, I know Google Now transmits more than just the command / audio after the wake word: it actually transmits 2 - 3 seconds before and including the wake word.

You can confirm this yourself: if you visit this page at Google, you can hear every Google Now voice query you've made, and verify it includes audio before & including the "OK Google" trigger phrase:

https://history.google.com/history/audio
We got pretty interesting results leaving a random beaten up metal box crying for assistance on the streets of Oakland: Most people walked past and ignored it, some tried to steal it, but a few people were actually quite kind and helpful!

https://www.youtube.com/watch?v=KXrbqXPnHvE
Author here, any feedback appreciated.
If you go to the colosseum, the official guides / explanation boards actually state that there is no evidence of Christian martyrdom in the colosseum, and that most was retroactively invented in the Middle Ages..

Makes you question other tales told in the article. Though it's an interesting read.
BLT: Babbage, Lovelace, Turing
That's certainly my impression too. The article sounded like he had evidence on his side, and the activists distorted some of the events. Then again, this is only one article. Maybe the article itself is biased. There's really no good way for us to be sure. Though to me, the story sounds reasonable, and the actions of everybody involved sound understandable from their viewpoint (even when it is misguided).
"Lay off a third of the workforce."

I remember a book amount management consulting and it mentioned one firm (only referred to as the "Butchers") who only ever recommended this one action regardless of the actual state of the company. Of course they spent vast amounts of chargeable time analysing operations to produce data that supported the conclusion they had already made.

http://www.amazon.com/Rip-Off-Scandalous-Management-Consulti...
Title is misleading. The article only describes univariate analysis (screening of independent variables).

One can build a model to predict churn from those independent variables (e.g., by just adding them up), but then there's out-of-time and out-of-sample validation, monitoring, and other boring, but important things.
Here's what a non-Christian Roman Senator and preminint historian of his time, who spent some of his time in charge of foreign cults in Rome, and was alive during the time of Nero, had to say:

---

But neither human help, nor imperial munificence, nor all the modes of placating Heaven, could stifle scandal or dispel the belief that the fire had taken place by order. Therefore, to scotch the rumour, Nero substituted as culprits, and punished with the utmost refinements of cruelty, a class of men, loathed for their vices,27 whom the crowd styled Christians.

28 Christus, the founder of the name, had undergone the death penalty in the reign of Tiberius, by sentence of the procurator Pontius Pilatus,29 and the pernicious superstition was checked for a moment, only to break out once more, not merely in Judaea, the home of the disease, but in the capital itself, where all things horrible or shameful in the world collect and find a vogue.

First, then, the confessed members of the sect were arrested; next, on their disclosures, vast numbers 30 were convicted, not so much on the count of arson as for hatred of the human race.

31 And derision accompanied their end: they were covered with wild beasts' skins and torn to death by dogs; or they were fastened on crosses, and, when daylight failed were burned to serve as lamps by night. Nero had offered his Gardens for the spectacle, and gave an exhibition in his Circus, mixing with the crowd in the habit of a charioteer, or mounted on his car.

Hence, in spite of a guilt which had earned the most exemplary punishment, there arose a sentiment of pity, due to the impression that they were being sacrificed not for the welfare of the state but to the ferocity of a single man.
> industrial capacity has been rising

that is what "more capital equipment exists" means. Its utilization of 87%+ in the late 1960s to below 77% in 2011 is the problem.

> inflation-adjusted hourly compensation has never been higher

The chart you refer to is very obviously NOT inflation adjusted. Adjusted for inflation it was higher in the early 1970s - it has fallen over 45 years.

> making up random facts

I am citing data correctly. You are pointing to charts showing hourly wages are 10 times what they were 50 years ago and saying they are not adjusted for inflation.
Fair enough! I don't have much to add to the discussion, but wanted to say that i understand the thinking behind what you said, and appreciate the painful honesty. You're probably right that for a majority of people the best one can hope for is grudging acceptance. I appreciate that at least you admit your internal biases (of which i also have quite a number, as is natural) -- that's indeed all anyone can ask for, as a first step towards a more accepting society. Thanks :)
It's been done to death, but Common lisp. If you're looking for a new magic shiny you will find it here.

You develop in a parsed environment, not raw text. Tooling will allow you to make structural edits instead of traditional text edits.

Everything is an expression and can be used as a value. Even loops and if-statements are expressions that can be assigned to a variable.

Macros. You can create languages. Change rules and syntax. Do performance optimizations moving processing to compile time instead of run time. To process matrices you create an intuitive language to handle them, rather than shoe-horning into a general purpose language missing low hanging optimization-fruit.

You develop against a running program. Other langs can do this but they are missing the first rate tooling or the community doesn't do things that way. While you develop the 4 times become 1. Thinking time, Typing time, Compile time, Run time. Try an idea, get immediate feedback. Your design medium is play-doh so design by making something tangible you can feel. In other langs your medium is marble so you plan it out ahead of time before you mess up your expensive marble block, then waste hours/days before you realize all your unit tests were made against a flawed API.

So much time and energy is wasted protecting marble. Play-doh is better.
I think you'll end up with primarily new grads in the site with this policy.

If you're employed and discreetly looking for new work and you 'activate' your profile, now everyone in the office knows you're looking to switch jobs.
It's kind of customary around HN to end sarcastic comments with /s
I feel like the information is kind of vaguely presented in this post (I guess to protect identities), but it is interesting to read. I'm not involved in VC or the tech sector so my livelihood isn't at stake, but I do feel for anybody that might be affected by things to come.
Because there's no business in Twitter. There's no path to being in the black and there never has been.
What about Jorge?
I think it's become something of a chicken and egg problem. All the hard-core game developers moved up from assembly to C, then introduced bits of C++ in the late 90s. All the books and tutorials end up getting written in C++ (or C with classes...). APIs get written in C/C++. More people learn C++ because its what the game devs do, and it's harder to find resources on learning how to do it in any other language. It's usually possible to make a wrapper for C++ code in a managed language, but it's not easy, if somebody else hasn't made a good binding already.

Garbage-collection has a bad name for some reason in game-dev circles, which maybe makes sense if you're developing a fast-twitch action game or shooter - a GC pause might drop enough frames to matter there, but for most games, Java or C# should be fine.
2) I imagine this is what the politicking people are supposed to work on to gain an interest in the competition.
Financial Architect is simple application for management of personal finances
If you're asking yourself: "Why should I care about Lambda? How does it help me build a fast website? In what context?", there's an interesting use case from a merchandise store that made real hats and such for Counter Strike Source.

Valve mentioned them on the official CS:S page, and things went haywire. The team restructured into a lambda friendly architecture, they scaled without breaking a sweat, and ended up paying pennies in costs.

Link: https://www.reddit.com/r/webdev/comments/3oiilb/our_company_...
Still, forcing people to pay such a significant premium isn't exactly how you get people to use your product.

And I don't know about cloud pricing for Windows machines, but the price difference isn't nearly as crippling on regular VPS/physical hosting.
SF politics are about as likely to suddenly become reasonable as Yo is to turn a profit.
PolyBlocks is a falling blocks game
If you need to run servers, wouldn't it be best to use Ubuntu server, rather than trying to press a desktop edition into use?
The issue for me is does IBM need to be saved? Their business practices have continued to be patent laden and closed. If they went down the road in a more open nature I feel that they wouldn't be in the place they are.
Yep, turn on your "I'm looking" flag, or even go and spruce up your profile and you're outed.
>" Its market capitalisation is around a third of what it was a year ago, at $9.5 billion."

9.5 Billion, for Twitter...let that sink in.