skysight-inc/HackerNews huggingface dataset:
I always search out that a validation library hasn't already been done in my current language first before attempting validation with custom code - this leads to more easily maintainable code for future eyes.

For example in PHP I use filter_var function with the FILTER_VALIDATE_EMAIL [1] - while it's great to know why and how to do a particular thing programming, it's better to use a time tested library that is maintained by multiple eyes versus just your own.

[1] http://php.net/manual/en/filter.examples.validation.php
This. Nots sure why this would be hard to understand. If you have a long running project you now have few choices none of which are good. Keep using Bootstrap 3 for older work and use Bootstrap 4 for newer feature and make things inconsistent. Restyle/rewrite everything or keep using Bootstrap 3 and not have any of newer feature or UI pattern everyone takes for granted.
> but when it comes to technology and current trends Nintendo is consistently considered the lagging player

Technology was never their selling point—even the original NES came out with an 8-bit processor while 16 bit processors were already available. Why? Because it was cheaper, and easier to develop for.

Their main selling point has always been strong gameplay experiences.
I find this sort of research both terrifying and fascinating. Specially the rogue laundering variety of black holes.
Is your decision about a phone based upon the audio connector?
It always seems like I'm one of the few in my age cohort (~24), but I'd rather work in Montana than SV/NYC any day. It feels like everyone just wants to be downtown to some major city, but I just want a respectable house on 1/2 acres with mountain views and snow every winter.
There's a middle line between over-eating junk food and fasting!
I think there is some truth to the "we needed to make space for the other changes we wanted to make" argument, but I think that applies even more so to the next iPhone (8?). I think Apple made the 7 as good as they could, but in some sense it's the sacrificial lamb for what they want to do next.
This seems relevant: https://en.wikipedia.org/wiki/Philosophy_of_futility

Futility being the key term.
Holy crap that's super useful. For whatever reason I never could figure out (or remember) a shortcut for the 'filldown button'. Instead I would copy the cell I wanted, and then control+arrow my way to the fill destination, shift+control+arrow my way back, and then paste.

This way is a lot simpler and should cause fewer mistakes.
I can confirm this, I've never tried before but my wife has an iPhone and I wanted to transfer something from her phone to mine in an area where neither of us had good service. Apple has some "AirDrop" nonsense that uses bluetooth to set up a direct wifi file transfer between iPhones, but to transfer directly to a non-iPhone, you need a third-party app, generally installed on both phones.

I doubt my wife will get another iPhone, especially without a 3.5mm headphone jack.
Facebook is already battling pretty large privacy concerns with a lot of media scrutiny. There's a lot of danger in having a tool like the graph search available to people with malicious intent. The EFF had a good post on the subject from back when it was active [1].

When you're part of a network as big as Facebook's, at a certain point your own privacy settings don't matter very much, because the people you're connected to can generally fill in the gaps about whatever you may want to keep private.

[1] https://www.eff.org/deeplinks/2013/01/facebook-graph-search-...
That is because they don't want bitcoin. They want a cryptographically verifiable merkle tree. Which is fine, it solves a number of problems that they have. The problem is that they keep conflating it with bitcoin which does considerably more than just maintain a merkle tree.
I don't have a problem with them removing the headphone jack. I do think some aspects of Apple's messaging is tone deaf. Their "affordable" JBL bluetooth headphones they mentioned during the presentation? $200. That's real money for a huge portion of their customer base.

But I do think they removed it to allow the iPhone 8 to have space for dual cameras, and wireless charging (they said they see the future as wireless) and I'm fine with that.
I guess they messed up with the new headquarters, should have made it more of a disc
I built a robot with mine:

https://blog.willj.net/category/robotics/
I've been using bluetooth enabled hearing aids since the beginning of the year and it has been a great experience being able to play music straight into my ears without having to take earphones out my pocket and disentangle them.

The difference is normal people won't keep them on when they're not listening to music, but that's what Apple wants. This is an opportunity to place their hardware in the next step for computer interaction which is going to be conversational assistants (voice and audio). This would give them the opportunity to be always listening and collecting more information about what surrounds you.
On Firefox there is: https://addons.mozilla.org/firefox/addon/random-agent-spoofe...
Since my name is a bit personally involved into this debate, I have to add some arguments:

* Doom was only considered art by some people to prevent the German or British government from censorship. Remember, Wolfenstein is illegal in Germany because of the swastika, and Doom was banned in Germany for over 17 years for glorification of violence to protect minors. I.e. it could be sold and used, but it was illegal to advertise it. Similar to the movie "Starship Troopers" which was an artistic farce, not even a commercial game.

* The art aspect of Doom officially came with "Arsdoom". Only this game mod was considered art. By art historians and such.
I count 5 different 3.5mm jacks I use on a regular basis (work headphones, gym headphones, car, girlfriend's car, home stereo).

Now I need to buy 4 additional adapters from Apple for $40 or carry an adapter with me everywhere I go?
When a commercial rocket explodes, who pays?
Apple's 'courageous' headphone change is actually anything but
Lightning was Apple’s replacement for their Dock cable, and it was dramatically better than that as it was reversable and far less fragile. USB-C added reversibility to USB, but it came out well after Lightning.
well I can find more than a few seniors who would not mind seeing everyone wearing something akin to hearing aids. Yet to be honest, part of the appeal of the current corded headphones is that they simply don't fall out and if they do, well they are attached!

plus cordless head phones are no where in the same league as using the phone in the car without a head set. finally, why yet another thing I have to charge. I do have a SENA 20s setup for my motorcycle helmet, but even then mic and headphones cannot get lost or dropped.

I would love market pressure to force them to revert for the next iphone, I doubt it will, but I think I am keeping the 6 for a long time. worse than having to charge them is the pricing, obscene
Data is mostly spatial so sometime with ArcGIS or QGIS, or R depending on what exactly it's about; R for statistical properties of data sets, scatter plots for variable relationships etc. Or Matlab for people with engineering backgrounds. I don't generally care what tools people use and everybody has their own experiences and background. Never need nosql databases (or RDBMS for that matter) for our type of work.

I'm experimenting with physical notebooks myself since a few weeks actually. No electronic note taking has ever really worked well for me, although I've been getting by for 15 years. I'm not sure I'll ever find a system I'll really like - it always feels that as long as I find a way that forces me to get intimately familiar with data sets (to the point where I'm re-doing or at least re-thinking the ways the data was made to begin with), the insights bubble up by themselves. In other words I've come to the (regrettable) conclusion that methods and tools don't matter that much, it's the elbow grease that does. (of course I'm not claiming that I could analyze 15gb of data spread over 50 tables with Notepad...)
I don't understand why they didn't simply say that it's about better sound quality than analog can provide. They could have chosen a better word to focus on: Fidelity. "Apple customers deserve better than the same analog headphones they've been listening to since the beginning of music".

They could have at least swayed the Apple loyal with that position - the thought would have been that they're getting something better than everyone else has. At the very least there wouldn't be justifiable headlines mocking what they said.
Lightning has long been an Apple proprietary standard. It has been on the last 3-4 generations of iPhones iirc.

It has some advantages over USB Micro. Like being reversible.
Jesus, your ISP throttles your connection when they sense you downloading large files? That's insane. Aren't you paying them money to download things? Isn't that the purpose of an ISP?
I think TkTech is pointing out that it's politically expedient to blame a group of people that everyone already dislikes for the problem, not suggesting it's a sensible approach.
I'd say I fall in this demographic. It helps that many jobs can now be performed remotely. The thing holding me back from small town mountain living was my career, but now with remote work I can relocate to where I'm happiest.
Where would I put that in my apartment?
I believe the chart shown in the article titled, "Noam-enclature And The New Linguistics," mischaracterizes Chomsky's theory, by conflating the commonly used meaning of the word, "grammar," with grammar as it was defined in Chomsky's paper. In essence, this chart is a straw man argument.

https://www.scientificamerican.com/sciam/cache/file/A680FCC2...

The top part of the chart shows, "the brain's innate sentence diagraming machine," and then points toward a sentence structure broken down into designators, adjectives, nouns and verbs, which is what the common definition of the word, "grammar," means. This is not what Chomsky's theory stated. Chomsky's theory defined grammar as (I'm paraphrasing) a system for understanding language, involving a syntactic component (e.g. there should be some kind of order), a semantic component (e.g. there should be some kind of meaning) and a phonological component (e.g. there should be some kinds of sounds).

That's it! There was no inherent underlying English grammar structure hard-wired into babies' brains as the chart suggests. What is wired into a baby's brain, which assists with language, is the ability to order sensory inputs in a way that would result in language...that is what he called grammar. Basically what Chomsky did is, "psychologize," linguistics and I am not convinced by this article that this theory had been refuted. That would be like saying that Einstein refuted Newton.
Headphones aren't a niche geek thing, though. Apple bought a company that sold millions of wired headphones and successfully marketed them as trendy fashion items.

When Apple sees kids walking around with Beats headphones, what device do they think it's plugged into? It's all smartphones.
Mine sits there quietly, connected to a GPS receiver, providing a sub-millisecond accurate NTP source for my network.
I think they should have started selling cables with a lightning adapter on one end and a small jack for pluggable buds on the other.

Good, sturdy cables with proper amp, microphone and remote control built-in. Headphone producers would provide the analog speaker-part only.

Pros for Apple:

. sell more hardware

. establish their lightning port

. better the good-speaker-but-crappy-cable-situation that plagues the headphone market

. stop wasting a cable on every new pair of iPhone buds

. extend their hardware eco-system centimeter by centimeter
https://en.m.wikipedia.org/wiki/Lightning_(connector)

It's been the standard connector for mobile Apple devices since the iPhone 5. Nothing new about it.
Because it's not ?
freemium is bad
I mean, this one is solvable by not using magic constants. Pretty easy to avoid. Can also lint it.
What is weird is that input[type="email"] rejects some valid emails. Try out this codepen:

http://codepen.io/anon/pen/dpoqVQ
I really doubt that they brute-forced alapdanceissomuchbetterwhenthestripperiscrying. I have no exact idea, but I guess i would take 1000s or millions of years to bruteforce 1,22680068e65 combinations (taking only lowercase letters into account), if you don't have a working quantum computer available.

UPDATE: I did some rudimentary math and think that top notch server farms would take something like 1e35 to 1e42 years to bruteforce 26^47 combinations.
Android JPEG EXIF vulnerability
How long, do we suppose, before the government steps in and orders that all phones support the 3.5mm jack? I don't think it'll be long... Well, because government
Exploiting PS Vita Kernel: SceNetIoctl Use-After-free
It does say "four random words". To be fair, that could be spelled out more clearly.
I get that but permuting over typos, letter casing, lengths and combination of words would make the dataset huge.

Is there a massively collaborated rainbow table database that is constantly growing? Are there other heuristics that come into play such as guessing the password length or some such thing?
meh, link submission failure, we don't have a telegraph.co.uk account
Star Citizen isn't even revolutionary though; it's more or less a modern re-imagining of EVE Online. It'll likely devolve into spreadsheet hell just like EVE -- reality is boring, and most of the real world is tracked in spreadsheets.

I do think there is some possibility for innovation in gaming with AR/VR, but I also agree we've probably reached the point of diminishing returns with what we can do with current control schemes (monitor + mouse/keyboard/gamepad).
"See, it’s that last part that must bother them. The idea that someone, somewhere, is doing something with an iPhone that they haven’t anticipated, like making a thermometer or payment system or 3D scanner. Someone who hasn’t paid for a license to attach that thing to their phone."

Nonsense. They still include an adapter, so you can just connect those devices to that jack instead. Or use Bluetooth, which doesn't require a license. Or, you know, Wi-Fi.
Plugins are a very small aspect of fingerprinting and there's really nothing you can do to stop it other than build a browser specifically designed to stop it.
I agree. And I think the vast majority of people overeat and don't realize it. I think the obesity rates reflect that.

Observe the conversations around these articles every time they pop up: people think it's unhealthy to go without calories for any amount of time. Where does that come from?
The impression I got from the video was simply that Billings is yet another American city on the path to homogenization, as captured (if imprecisely) here: http://www.theverge.com/2016/8/3/12325104/airbnb-aesthetic-g...
My car has bluetooth and its incapable of pairing. We've tried several devices. There's another subset of cars affected by this change.
Look at the graphics of Flappy Bird and tell me it's not inspired by Mario.
As an non-USAn, I'm always suprised how much emphasis is put on this in the USA ("look, these office visualisations have only white people in them, that's unacceptable!"), while at the same time very little is done to really improve the lives of minorities.
Using Googlesheets and mailR packages in R to automate reporting
Yes that's what I meant. Common patterns = Heuristics as a developer you need to be aware of the common patterns the compiler is looking for.
Regular wireless headphones are fine, but cordless earphones are a braindead idea because they will get lost.

There are some general disadvantages to wireless: most bluetooth headphones, even high-end ones, have lag. It's imperceptible when listening to music, but obvious when playing an instrument in a music app like Garageband or better.

Attaching a keyboard or drum pads while listening on headphones is quite a typical use case for iOS musicians.
I have very little basis for evaluating this as a piece of technology, but it sounds awesome.
It's both.

IF forces you to schedule fewer times to eat, so you eat less. But there are changes to the body when calories are restricted for 16 hour more. Hormonal changes that don't manifest when the body has regular insulin injected into the blood stream.

It's both.
I'm amazed at the rage around this, a good friend of mine is about as anti Apple as the come and back in July he asked what I, a Mac and iPhone user, thought of them removing the headphone socket in the then rumoured 7. I said I was, and still am, largely indifferent.

He on the other hand was full of praise for Apple, he said he can't remember the last time he or his wife plugged head phones in to their phones and with bluetooth headphones being so cheap now (he as some of the MPow £20 ones) there is no reason to keep a piece of legacy equipment around for nostalgia purposes.

I was amazed given his usually anti Apple stance, but then I remembered that while he is anti Apple he is very pro progress, any kind of progress and technology change. Try something, see if it works and then move forward or try something else.

The phone market has become relatively stale, this is at least a company attempting (along with Motorola let's not forget) something radical. I didn't think it was radical but based on the online eruption it clearly is, people seem to have forgotten that there's a lot that's not great about 3.5 headphones that, I think, equally balances out the issues with wireless only.

If you don't like it that much then just don't buy the phone, if enough people do that then Apple will respond to market forces and backtrack. No one is forcing you to buy an iPhone.
The flip side of course, is if the small community shuns someone they have no other communities to migrate to without a geographic migration.

(What you are describing did happen to me a long time ago, and it did take a long time to work my way out of it. So It's a completely valid point)
How many websites? How many passwords are you going to memorize and how are you going to not repeat a password?
That's so incredibly disappointing. Why does Apple have to ruin standards? They already have their Marketplace locked down. If they don't like third party peripherals, they can accomplish it through other means.

I hope they die a harsh and painful death over the next decade. Cheap phones will only get better and better.

Frankly, I don't know how anyone who is tech-savvy can rationalize rewarding behavior like this.
Apple's lightest product ever
Double standard. They shouldn't claim any amount of breakage resistance if they are going to categorically exclude trauma damage from their warranty. There is plenty of precedence for best effort claims backed by laboratory testing but that don't actually have teeth in warranties (car crash testing).
The social services and retirement funded by taxes is pretty much a pyramid scheme of sorts. Supporting a large population of retirees requires an even larger population of working tax payers. Otherwise there is going to be degradation and cuts to services.
I believe they're referring to Google Cloud Platform.
On the float behavior: I really wish Python 3 had the sense to do what Perl 6 did and interpret all literals with decimal points (except those that use scientific notation) as Fractions instead of floats. That would solve all these floating-point errors without requiring significant modification of code, plus Python 3 would be the perfect time to do it because they're already throwing out backwards compatibility because of the str/bytes thing.
So what I'm hearing is that the iPhone doesn't really support Bluetooth, but rather a subset.
While I can say I'm an expert on headphone jacks... It seems like the input port for them is very simple and would not be difficult to waterproof.
Hacking Education – The Next Soft Target
> I would argue that one should never use '-O' it also strips doc strings from running code.

Python `-OO` strips docstrings, `-O` basically only disables assertions. See: http://stackoverflow.com/a/4777156/459543
> the opportunity to be always listening

Some ten years ago Google quietly dropped a publicly proposed functionality (I forgot what they called it) whereby the search page would listen to your room and provide supplemental info to the TV program you were watching, etc.

Someone must have pointed out it was rather creepy, but it seems to just have been ahead of its time ...
Yeah, we need to be pedantic here. Humans picking words at "random" is far different from dice picking words at random. Turns out, human-randomness isn't very random at all.
I've done the self-answer thing a couple of times. Sometimes you just know that someone is going to run into the same problem, but you'll never see the question, and you can preempt it.
Pretending that $170 gets you better sound would put them in an even worse position. The world hasn't heard what they sound like yet, and I'm sure they sound great. But they won't sound $170 better than the regular wired ones. Apple would get slammed even harder by using that selling point.

Besides, high fidelity is the selling point of their overpriced Beats brand, which they will position as a better version of the Apple ones after everyone's spent their money on it.
How to LSBize an Init Script
Defoe spells out that many of those who fled took the plague with them into the shires. There were also attempts in each parish to deny that plague was killing people - it was put down to other ailments as far as possible. Seems illogical to us, but if you are inclined to believe plagues are divine punishment, you might hope to get on top of it by prayer and right-living: "trying to cleanse the city in both moral and practical terms".
How Apple is really changing the world – what no one mentions about this keynote
Curious if there currently is a product with users. Also curious about the status of IP ownership.

Good luck.
> for $0

It's not actually 0, you pay for everything, including a paper instructions are printed at. It just so happens everything's consolidated under a single position in the receipt reading "iPhone". And I would think 3.5mm EarPods are somewhat cheaper than lightning ones.
WRT WTO: Everybody got there before Russia. Even the most peculiar and closed off economies. It shows that everybody were cut some slack but Russia was boned. That's what I'm talking about. Judging purely from results.

I think that Putin's long term goals is sitting on the throne and avoiding violence against himself and his buddies. Everything else is "nice to have".
Futhermore, there's two Eastern Europes that are no longer smart to compound (Russia is Eastern Europe too for that matter, makes it three):

- Non-USSR non-Russian-speaking ex-socialist countries, who're already consumed by EU.
- Ex-USSR mostly-Russian-speaking ex-communist republics, who are/were in CIS.

Baltic states are somewhat in-between.

I think that since 1991 the West did not care about Russia. They looted the corpse basically. And they didn't give a shit about Russia until the corpse in question began moving.

They definitely didn't lift too many fingers towards "Russia to be democratic, independent, and prosperous".

As for "poor, weak, and subservient", that's the default state of things on planet Earth (entropy?) so you don't need master plan to attain it.
It's all analog in the end. That's how you move the drivers. As the article says, it really makes very little difference whether the analog signal is coming from a few centimeters away (built-in DAC) or a few feet away (as normal).
My first guess was that for most fonts the glyph "B" has splines, while "#" does not (only segments) and in line of principle rendering splines is more expensive than rendering segments. But probably this is nowhere that relevant.
Isn't Qubes OS just a hypervisor? The hosted OSes shouldn't leak that they are running under Qubes.