skysight-inc/HackerNews huggingface dataset:
Come on. All the people who worked on those features designed them with the intention that they would work. All of them would have been happier, and better regarded by the rest of the world, if everything had worked first time.

It's just the way life is. Not every setback is a disaster, but it's so much better if things work smoothly. Nothing succeeds like success.
I absolutely love these platforms for travel.

I have a similar model (a Panasonic/Leica Android phone). It has a very large sensor and sim tray. As result I can run a local sim in WiFi hotspot mode for my primary iPhone and still get great photos with a 2-in-1 device.

The photo quality is fantastic and it beats having to carry a small mirrorless camera around. Being able to run Photoshop Lightroom right on the device is great for touching up your best shots as you are on the bus or train between destinations.

That said, I don't know how viable the platform is for the mainstream market. Panasonic revved my model to drop the sim. So I think they saw sales were weak. The introduction of the Moto Z with the Hasselblad lens and now this Kodak model gives me hope as I love, love, love these camera/hotspots.
I don't see this as a negative thing having witnessed someone terminated before in part due to misalignment with values. It can be a very useful tool for getting rid of someone who is quite obviously causing damage but might be hard to get rid of for other causes.

Values dictate how a company should operate and how employees should treat each other. It is a way of codifying the culture and can serve as part of the company's immune system to expel threats to that culture.

Making sure I understand and align with the values of companies I work for is something I've found to be tremendously helpful in ensuring I enjoy working there.
This is serious problem. In some banks having access to a phone allows the attacker to login into a web client and transfer money from the account. And many web services rely on SMS as a method to restore the password.
Django development and debugging
Hi Everyone, I'm the author of a Python plugin for the VS Code editor (https://github.com/DonJayamanne/pythonVSCode). Basically it provides intellisense, code navigation, debugging (django, multi threads, etc), data science and the like.

When it comes to debugging django applications, today the extension disables (doesn't support) live reloading of django applications.

I'm thinking of having a look at this particular area. Before I do so, I'd like to get an idea of how developers actually develop and debug django applications.

Most of the people i've spoken to say they develop as follows:
- Fire up the django application with live reload
- Start codeing
- Test in the browser
- Very rarely would they debug an application
- i.e. majority of the time they don't launch the application in debug mode

How do you work on django applications?
This is the "quick installation": http://docs.ceph.com/docs/master/start/

It really shouldn't be this complex. I would love to just be able to boot an executable with a simple config file and be done with it. SeaweedFS shines a light on how this could be improved: https://github.com/chrislusf/seaweedfs
Naive. There is no malice here aside from the one you project. Why are you conflating legality with morality? The father is clearly self destructive and going through legal ramifications to prove it does not serve anyone but the government, or one's self to cover their ass. Who cares if it's a father, mother, grandfather, boss, elderly person you care for, sister or other relation. That has little to no bearing on how one treats self destructive behavior.

Letting him have his money because he's your 'father' is no different an argument than letting X do Y because he's Z relation. It's a piss poor argument and doesn't hold.

"I'll let my alcoholic father drink some more because he's my father, and if I take away his drinks, well that'd be indefensible because I'd be stealing! He should be allowed to drink however much he wants. If I want to take his alcohol away I need a court order to prove that this is a morally acceptable act, because moral authority resides with the government! In fact, I'm worse than the punks around the corner who regularly steal alcohol from under his nose because they are unrelated despite crappy intentions, whereas my good intentions for his health and my relation as his son and son's should pay deference to their elders makes my act oh so terrible. " /sarcasm
Ah, the No True Software fallacy
The problem is with the function `second` that I get from the other crate. If I replace the `second` function with my own implementation it works. But for the `second` implementation from tool.rs to work, Rust needs better higher ranked lifetime support.

It would also work with a closure, but I wrote my code this way to avoid closures in the first place (I was going for point-free style).

I basically just have to write my own function:

https://bitbucket.org/iopq/fizzbuzz-in-rust/src/58bfa4c58c80...

this compiles, but it seems kind of pointless since I can only use this particular function in my case (because of the extra levels of references)

if I could use the tool.rs version, it would automatically generate all the implementations I need using macros
+1 same.
Rssponses like the one you just replied to completely drive me nuts. If you don't think it'll be useful for me then let me disable it. Don't use it as an excuse.
I imagine adding a phone number to your Google account is more about Google having a particular phone number explicitly linked to an account for their information graph rather than for security reasons.
We can wear jeans and t-shirts, but the new professional standard requires pretending to have passion for the CEO's vision because plain old performance with a good attitude isn't enough anymore. Thought codes instead of dress codes.
https://news.ycombinator.com/item?id=12752190
Did you even read my comment? The most important scenario I just referred to was AFTER the password is typed correctly. Not before. I'm pretty damn sure botnets aren't going around entering my password correctly.
I didn't see any mention of Rhino. Does he know that existed (exists?)?
Microbial life on Mars: The possibility must be considered
If there isn't any evidence why would you be inclined to believe it?
Isn't that like saying I'm not an architect so I don't really care what kind of foundation my house is built on as long as it hasn't fallen down yet? They're all held up by the same laws of physics anyway.
It would appear that the creators of the web site are not even affiliated with the people who found or fixed the bug.

"Dirty COW is a community-maintained project for the bug otherwise known as CVE-2016-5195. It is not associated with the Linux Foundation, nor with the original discoverer of this vulnerability. If you would like to contribute go to GitHub."

Seems fishy.
Stripe put my startup out of business before I launched
Last time I will post this as have linked to this all over the shop in the last week.

At no point in the official statement [0] is Russia EVER blamed for the DNC hack and subsequent leaks. This statement has given the media carte blanche to make the accusation themselves.

When previously posted, numerous people have said it does accuse the Russians of this. I would urge you to read the statement extremely carefully. The amount of intelligence and man-hours that go into crafting something like this is huge. There is a reason why at no point, is any current official coming out and explicitly accusing Russia of the DNC hack. Note that at no point has POTUS, Earnest during press briefings of Clinton ever accused the Russians of the DNC hack. Every time they refer to the matter they take great time and care to get their wording right.

[0] https://www.dhs.gov/node/23199

edit: What I am saying is not far-fetched or crazy. For those down-voting I hope you get a lawyer before signing any important legal document.

Do not forgot Bill Clinton during his trial at the Grand Jury :"It depends upon what your definition of is is."
https://news.ycombinator.com/item?id=12748304
> > The filing described Mr. Martin as computer genius who easily outsmarted government efforts to protect secrets and said he possessed an advanced understanding of how to encrypt messages and hide information in cyberspace.

> They are certainly lying in terms of how capable he was with the "genius" implications.

Yes. It's hard to wrap my head around the characterization of him being a genius at cybersecurity, but he's leaving materials obviously marked "top secret" sitting around in his car. It seems a little convenient, almost like a movie plot.

If this guy had decent opsec at all, he would not have been caught with any detectable materials in his house or car; a raid of his house would have uncovered nothing without his cooperation.

Perhaps they had been tracking him for a while and this was a sting that launched at a particular time. Otherwise, I don't understand why he'd have any printed materials in his car, much less with tradecraft instructions on them! Sheesh.

Why would you ever have printed materials with you with secrets on them? Transmit the information digitally protected by encryption. If a skilled operator needed to recover information on printed documents, then I would expect them to expeditiously scan them and destroy them, not keep them sitting around in a car unattended.

The story does make a bit more sense interpreted through the lens of him being a hoarder with not particularly good opsec. Either that or he's a sloppy spy that they've been tracking for some time, and chose to execute a sting at the right time when he was undertaking vulnerable activities like transporting material or preparing for a drop.

But, the idea that this was a sting does not resonate with the fact that they did not arrest him while serving the search warrant on his house. ... unless they deliberately left him free while observing him, in the hopes of discovering how he contacts his handlers. </speculation>
The one thing I kept looking for in the article was "How Hackers Broke into John Podesta and Colin Powell’s Gmail Accounts", but despite the title, the don't say exactly how and it probably wasn't a hack. They just entered their passwords after clicking a phishing link as far as I can tell now.

Also, I think I have the technical knowledge to understand the evidence and I certainly want to understand but it is still unclear to me. What a strange article.
Extortion in the form of ransom-ware, theft in the form of stealing bitcoin from exchanges. (Mt. Gox, and a more recent case.)

Legitimate businesses in the bitcoin space make small margins on each trade/transaction/etc. (Drug dealers are obviously a little different, but they are in the business of unlicensed pharmaceuticals, not the business of Bitcoin.)

Thieves, on the other hand, will take the whole thing, and run.
It is not common, easy, efficient or idiomatic, but you can:
Imagine that in each event handler, instead of doing something, you just update some state somewhere, and after that call a common "draw" function.
Inside the "draw" function you redraw all your UI: apply effects, etc.
That's it, you have it.
Depends on the algorithms you are using. In machine learning, bigger data sets can trump better algorithms.
How does this relate to Nashorn?

With something like Avatar-JS [1] you can even run some NodeJS apps without modifications on the JVM.

[1] https://avatar-js.java.net
It probably depends on your IP address, country and maybe something else. Some time ago I was unable to register on youtube without providing a phone number, and earlier I have registered a Google Account from Android emulator that was instantly blocked. Maybe it is because of spam, or maybe because lot of people are using the same IP address.
AFAICT, and this is supported by the Google screenshot shown promoting the feature, Google doesn't say the phone makes the account more secure, it says that it makes the account more usable, since it provides a way to recover from lockouts. This is one of many cases where usability and security aren't aligned.
I pay for Google Drive, in part because it seemed like the closest I could get to paying for GMail, I don't suppose that counts...
i don't see any pictures in the link.
How Much you think the Nintendo Switch will cost?
Congestion pricing still on the table, the problem is that San Mateo county wants a cut since they are not as landlocked as SF and would lose out on 101/280 drivers hitting local roads.
I work at Fitbit and I think our founders believe in the company's values.
> One metric that I'll measure a framework by is the likelihood of finding an answer to a query that is not articulated in the concepts and terms used by the framework.

It's also important to measure the likelihood to have to find an answer in the first place. There are vibrant communities around many frameworks, but it doesn't make them all good.

Speaking as someone who went from DRF -> Rails -> back to DRF, I can say that DRF is sufficiently confusing to understand and get started with. The problem partially exists within Django itself, but DRF doesn't exactly help. It can feel like pulling teeth to create a simple API with DRF. And, as the another HN comment explains, DRF does a ton of "opt-in" work that can end up doing more than you intended.

My biggest gripe with DRF is how coupled it is to the Django ORM. All of the nice ViewSets are only useful if you have cookie-cutter Django models, but we all end up changing them.

I tend to enjoy working with Ruby Grape APIs:

https://github.com/ruby-grape/grape#basic-usage

No need to deal with 100 types of ViewSets, Serializers, Renderers, Parsers, and so on. You just need to understand that data is being passed back and forth. If you need something more complicated, just add it yourself.

I wish Python had something similar. Something that's between Django & Flask in terms of complexity.
Lots of strong opinions in this thread...
Nobody except the eight cameras on the car
>they've got a less-than-stellar reputation for support of paying customers

I've actually had surprisingly good support from the $150/month plan for their cloud products. They get back to me quickly and give good advice (with custom code samples when needed).
Scott Aaronson's thoughts on this align closely with my own: http://www.scottaaronson.com/blog/?p=2931

The hubris of declaring someone untouchable for aligning with a politician supported by half of the American electorate is mind-bogglingly elitist and short-sighted imo.
Ionic as in comfy? I find it ugly to be honest...
I always think corporations are run like communist states: central planning, ideology, thought control.
I agree with you that NSA security appears to be a total clusterfuck and that this is an instance where Walter Peck is fully justified in coming in and shutting down the Ghost Containment Unit.

A lot of people that know more about this stuff than I do disagree pretty forcefully. Dan Guido on Twitter just reminded me that Martin was specifically read into extremely sensitive programs at NSA; he was one of just a few hundred people with this access.

The court filing is pretty damning. For instance, there's the email he had prepared to send his team in 2007, noting that "they" are "inside the perimeter" and threatening to bring his coworkers "into the light". The emails, the hoarding, the guns, the weird handwritten notes... this looks extremely bad. Keep in mind that he could have been trying to do some terribly stupid things.
Refactoring React Components for Redux Performance
There are 2 factors here. 1) If he's simply a mediocre IT jockey and then his NSA contractor status resulted in him pulling in $200+k a year, that's a bad look. 2) If he's average and he somehow managed to defeat the NSA at what the NSA does, that's also a bad look.

Now it's likely a policy problem, that contractors can access these quantities of data with access to physically removable media and such seems like a policy problem. On the other hand if he's some kind of computer super genius then he was given a little trust and took advantage of it.
> It's probably possible to sanitize all external inputs used in the browser extension such that privilege escalation isn't possible, but the Angular team has tried hard with their sandbox solution with no success. Extension developers will hardly do much better, so it makes sense for Mozilla to ban the whole library.

Sandboxing in JS should be possible these days. Spin up an iframe, add the sandboxing attribute, load javascript into it, postMessage the code you want to execute to it, await the return value. voila, you executed untrusted code in an isolated origin context.
Show HN: Send USPS Mail right from your Android phone
I'm in MN too. What is the restaurant called?
Ask HN: Care to share your web dev resume that got you hired?
I'm working on my resume. I'd like to see how you guys presented yourselves as I'm bad at doing that. I have a portfolio as well but I have to work on that. I have some code on GitHub but I haven't collaborated with anyone yet. I have done/in progress some freelance jobs which I can use for experience. I'd love to get hired as a junior front end developer though I do both front and back. I'm only. A LAMP developer at the moment. I have yet to use/be thoroughly knowledgeable of Angular, React, Mongo, Laravel, Node, etc...

I still use VPS/non-cloud server setups and I still have to finish building my first restful API as I'm working on figuring out JWT/oAUTH

I don't know if I have much to sell. A lot of the jobs I've seen have steep requirements.

While I freelance. My problem is I don't value myself.

I've been working on a project which involved building a responsive site with double recaptchas. Emailing, order processing. SSL application, built an admin panel with PHP-to-excel export, I built a hover-zoom for photos. I'm in the process of building a custom CMS as well. This job I agreed to do for $20.00 it has since gone up to $150.00 due to my griping. The project has been going in for four months.

However finishing it, this would be a nice addition to my portfolio as far as capabilities go however I've been told that my design looked old, and had I used frameworks I would have built the site faster.

Your thoughts?
This is another example of attribution error. People who work in TAO aren't super-spies. They're people with access to a lot of weird random exploits and with very peculiar collections of very deep knowledge into things like the operating systems of Chinese Internet gateway routers and the DLL offsets of whatever versions of Windows Russia is still using.
Assuming you don't want to transform data, provide your own custom serializers, provide pluggable auth modules and authentication methods, CRUD viewsets, accepting and receiving multiple response types, then yeah.
> that was then undone due to problems on s390

An interesting counter-example to the idea that "more architectures expose problems that would hide in a monoculture".
If you are a client of such a busines you would have to care too.
> Does it depend on the GC?

Rust has no GC.

I am not sure about your other questions, as I haven't used them directly, I just know they exist. :) The former is possible, but I don't know if the authors have done any work on that.
that comparison accompanied the mention of snapseed. wtf? It's the same set of processing potential that anyone with iOS and Android can accomplish.

Shuldnt they tout the expected superior output from the sensor compared to leading camera smartphones? Galaxy S7, iPHone 7?...
The downvotes are pretty hilarious. I guess many people don't realize that "fiscally conservative but socially liberal" is not an internally consistent political stance.
Along these lines, this is why Dan Abramov's Getting Started with Redux[1] is one of my favorite tutorials to anything, ever. The concepts are simple, and half the tutorial is walking through creating a naive implementation of Redux. The actual library, of course, involves performance optimizations and better edge case handling, but at the very least, having a "this is sort of what the innards look like" is a really nice start to approaching anything.

[1] https://egghead.io/courses/getting-started-with-redux
> Perfect Dark is still playable though.

Especially the version on the Xbox360, or, as I call it, "that big white box I own solely to play Perfect Dark on". A straight port with upgraded graphics, better framerate, modern controls, and (or perhaps this one I'm imagining) subtly rebalanced difficulty to account for those other changes. Nothing like that garbage trying-to-be-Call-of-Duty-and-failing-miserably Goldeneye reimagining a few years back.

Still unmatched in terms of gameplay options. Coop single player, versus(!) single player, the great multiplayer of course. The way the difficulty settings changed objectives and even starting location(!) in addition to damage values and AI. The fun "cheats" you unlock with speedruns. Brilliant game.
I am not doubting that. I am just saying that the vast majority of people that use gmail will never have a case where someone wants what they have so much to go to the effort to social engineer their wireless company. Ntim but to mention that there is a bigger risk of getting your house broken into or a host of other things or identity theft. Plus this requires certain bad behavior and failure as well on the part of the phone company. [1] It's not clear how easy this would be for a normally determined hacker to pull it off.

[1] So we have two probabilities at work.
Privasee sunglasses, by BigFacialDetection Corp.
I have my doubts as well, but this seems pretty direct:

> The U.S. Intelligence Community (USIC) is confident that the Russian Government directed the recent compromises of e-mails from US persons and institutions, including from US political organizations.
Compared to the autopilot I've experienced in my model S, this video shows these features (and probably some more I missed):

- following a path from a map instead of following a specific lane of traffic.

- turns

- recognition of stop signs and light signals

- highway onramp and offramp

- self-parking that finds its own parking spot and works without driver in the vehicle

- better music than I have on my playlist
There is a legal process for declaring somebody in your family (elderly parents, developmentally disabled persons, etc) incompetent and taking charge of their financial affairs as power of attorney, have you talked to a lawyer?
http://butterflyhaptics.com/maglev-haptics/
"Corporations are people, my friend."
I think it's meant to compete with Kodak DSLR cameras.
Argh... For a second or two I thought to myself: perhaps this camera phone will have a lens with a sane focal length!

But nope, massive wide angle at 26.5mm equiv once again. How about an actual general purpose lens at 35mm (or above 35mm) equiv for once? Some of the older iPhones were around 33mm if i recall things correctly, but all the (one lens) iPhones that now supports shooting DNG are stuck with a ~28mm lens.

/Frustrated photographer
Not so far from it, they're discussing it at the evening news. Somehow SF is great as a story (or a movie) but as a place to live, I'm pretty much good with wood cabin and hill view (and the occasional medical tech).
A Nasdaq Speed Upgrade Is Threatening IEX
>The existing anti-transit, anti-growth cabal... have been able to grab too much power, and will always vote to side with NIMBYs over modern urban growth and planning. Even the next cohort of supervisors will hold the same values, because the voters will put similar people into power once they term out...

Seems like the people of SF are getting a board that represents their desires. Is that not an example of functioning government? Seems to me it would be far worse if the board consistently voted _against_ the wishes of the populous.
Didn't bother reading. The bold font and lack of proper line height did me in.