skysight-inc/HackerNews huggingface dataset:
> I don't get the point of those settings. You seem to prefer white-on-black text, but the "Only with High Contrast themes" override means that it will almost never apply.

The idea of defaults is to be default. I don't mind sites specifying the use of particular colours, and it's useful e.g. for syntax highlighting, for text above background images, for transparent images assuming a particular background colour (e.g. pre-rendered LaTeX images, like those on Wikipedia), etc.

The problem is setting either the foreground or the background, but not both.

> I tried setting this in my Firefox and visited a bunch of sites. None of them showed me white text on black background, because almost every site sets both background and foreground color styles, which override the preference setting. In fact the only site that was affected was the BMFW.

If only that were true. Many sites set either just the foreground colour, assuming the background will be white; or just the background, assuming the foreground will be black. I've emailed many sites about this over the years, ended up opening countless others in a separate browser with different settings, and just rage-quitted many more.

Last week I emailed ticketmaster.es about the black-on-black text in their registration form (amongst many other issues; their service is terrible, I recommend avoiding them if possible)

This is also the reason I stopped using Yahoo Mail back in 2007 when they switched off access to their old Web UI (with no option to use IMAP or POP without paying) http://2.bp.blogspot.com/_6BhjMzysLTs/Rg1mh0pLjMI/AAAAAAAAAA...

I've even tried fixing pages with custom Javascript http://chriswarbo.net/blog/2015-10-01-web_colours.html with mixed success. I also have a key bound to `xcalib -invert -alter` so I can quickly invert my screen colours.

The MFW concludes with the following:

> What I'm saying is that all the problems we have with websites are ones we create ourselves. Websites aren't broken by default, they are functional, high-performing, and accessible. You break them. You son-of-a-bitch.

In their attempts to be "better", BMFW's authors broke it. Sure, it can be argued that light-on-dark default colours are an edge case; that the authors say they were "going to" add a background colour but didn't; etc. and those are all perfectly reasonable arguments. But those are exactly the arguments MFW and BMFW are disagreeing with, only with "light-on-dark default colours" instead of "disabled Javascript" or "out-of-date Android browser" or "retina display", etc.; or with "background colour" instead of "server-side rendering", "error handler", "CDN", etc.
Quite a fluke for Wyoming. It's generally a very libertarian political climate... I guess that's what happens with climate changes. [pun intended :P]
One thing is for sure. The CIA could have killed him, could kill him now, if he truly posed a threat to national security. The fact that they don't indicates they don't feel he is a threat. I'm confident that whatever goal posts you claim Snowden set back, I can explain as ultimatley serving US interests. That's the barometer. Has he hurt US Interests? Seems US interests are doing fine to me. Would things be better if he has revealed nothing? Probably not. His revelations are great distractions.
Ask HN: Does code style matter to you?
When working in company, where more than a couple of people share the same code base, should we enforce a code style?

Is it fair to ask someone to fix a style/comprehensibility issue like: change a variable name; prohibit lines longer than N chars, ...

or should you just focus on the feature/behavior the code should implement/fix?

What are you doing in your current job:

- Do you have a well defined code style? Is it public? Where is it?

- How do you enforce it? Comment on commits/ pull requests?

- Are you automating style reviews? How? Are you using tools like JSCS, Scalastyle etc? Are you using services like Codacy?

- How do you think a well defined code style is helping your code/work?
for what dollar figure, distance and speeds? anywhere from $300/link (a pair of ubiquiti powerbeam AC 5 GHz) up to $20,000 for 1 to 10GbE licensed.
You don't need to verify these claims. You found a critical vulnerability, you are not the only one.
Also: how are you going to make this app _the_ way people do group scheduling?
Thanks for replying with clarifications for this article. I tried to imply that while I know Apple rarely responds to public or press inquiries, the question still remained on how long has elapsed before the author (you) moves forward with publication, but as a general sense applying whenever the author includes that language, here and on hundreds of other sites and applying not only to Apple, but to any company they are trying to get information and clarification from.

24 hours isn't terribly long, though knowing how fast Apple responds, if you don't get one in 12, then you probably won't get one in 72 either. For other companies though, what is a general grace period before moving forward with publication?
War stories from the Seattle housing market
Most new licensed band 6, 11, 18, 23 GHz radios these days are 1024QAM capable. For 80 GHz the hot new thing is radios capable of 16/64/256QAM at varying code rates.
I think that is great idea!
I look forward to personalize content for an individual user :-)
Noted. We're amid a homepage redo that will show these features better.

Here is a short overview video that we showed at a conference booth: https://www.youtube.com/watch?v=8iNoNLYmcQI
You're doing government contracting but allowed to use Slack...?
Player Two
>higher sample rate ADCs and DACs becoming more viable

Question, on optical networks doesn't this make dispersion more of a problem?
> The rest of the countries all get more sunlight (Guyana, Suriname and Sri Lanka for instance)

Guyana and Suriname have severe problems with their post-colonial status, very low income contrasted by wealth shown by western mining companies and their employees, a very big problem with alcoholism and very bad perspectives for most (soldiers turning barkeepers because they don't get paid, police extorting people in lieu of a living wage etc). I think the same reasons the author listed for Greenland might apply to those countries too.
This 100%. Snowden was so important because he brought this stuff mainstream. But, let's be completely clear that it was already mostly known in bits and pieces and many leaders in tech had already been sounding the alarms.

I am in no way downplaying Snowden or what he prompted everyone to do, but everyone knew it was happening. They just weren't motivated or felt no one else cared.

Its kind of like trying to get people to use PGP for normal communications: You understand why, and they might too, but they don't care enough. So it doesn't get done.
Anyone care to substantiate these downvotes?

It's ok for the parent commenter to say all American's are anti-environmental and have 'issues defending the environment' but it's not ok for me to defend the original opine that this wasn't a 'pro-plastic-bag' argument but rather a 'pro-efficacious-solutions' argument?

Why. Please elucidate me.

This has nothing to do with America or Germany. This is about what is best for this planet and I strongly disagree with the parent posters anti-nationalism. This isn't an issue with 'America' alone.
Whoa. Thanks for the heads up. New build going out now.
The reason the government builds their own version of many popular consumer products is to run on-premises behind complex firewall configuration. Because they either don't or can't trust a third party with the data.
While still ignoring Android TV/Chromecast, Apple TV/AirPlay, which actually account for a huge number of devices their customers own, who can't use them to stream Amazon Prime Video to their TV.
Typo in headline: Contactors

Edit: oops, already reported by someone else
Trello doesn't have checklist dependencies.
Rooms ~2:~n-2 of the wdfm are really an inspiring story of entrepreneurship, from garage startup stage through growth marketing to monetization and commoditization, surviving through economic collapses, and betting the farm on hugely risky projects (snow white).

I highly recommend it to basically everyone here on hn.
Yes, double this. These are people used to using ugly GUIs with either overly big or overly small buttons.
Some are GCFI which can detect abnormal current.
Tangentially, there's even larger public datasets coming out of astronomy. PanSTARRS' imaging survey will make 2 PB available online. They even have a picture [0] of the completed dataset in transit, if you wondered what 2 PB of HDD's on a flatbed looks like.

[0] https://archive.stsci.edu/mug/mug_2016/PS1_MUG_2016jan14.pdf...
It's individual, isn't it?

You've mentioned people - it's about relating with them.

The same with everything else - learning to relate to your body as it grows older, to people, to your work/hobbies of choice.

The times are changing and the old modes of relating have been shaken up. This can be seen as a blessing or a curse - you definitely have to put in the extra effort to find your way nowadays. On the upside, there's more opportunity than ever to do so. Plus the internet, that helps :)
Sort an array using only one local variable
Retirement is unnatural.
I understand your question, but I do not currently understand how to process your question.

If I look at something and it has quality A, is it any different to me than if I look at another, fake thing, that also has quality A?

If every way I examine it, it is the same, is it not the same? At least to me?

We are entering the realm of the unknown, perhaps the Great Unknown. Here we cannot reason. It's not rational. It's not irrational. It's trans-rational.

Sidebar: I'll note that you mention consciousness. There is a strong reason why I attempted to define consciousness ahead of sentience. The latter is dependent on the former. Both definitions are controversial.

ADD: It occurs to me that some kind of religion and alien contact are intractably linked, both from our side and from the other side. Interesting.
The solution is to view will power as a muscle and treat it as such: Use minor interventions regularly and strengthen it.

Saying just buckle up to a procrastinator is like telling a very weak guy to just squat 150 KG.
This is quite abstract. It would be nice to have more details about what stack they are running, what url pattern caused the problem, what code path was triggered and why did it use so much memory, what response did the clients get etc.

They don't say this was an attack, but it's not fully clear that it wasn't. And why did it start happening all of a sudden? So many questions...
Who Owns the Internet?
And when the power goes out for a few days, and Grandma needs to walk her dog from 60 floors up?
Unless you live in Canada
Fixed by fetching to prune first.
Sure. How much would you pay? What are your main challenges? What kind of tool specifically?

I agree with your sentiment, but curious to see what you ran into specifically.
Just because you don't understand the value someone provides to society doesn't mean they don't provide any. That's why planned economies don't work.
7-8 asleep/going to sleep/waking up
1.5 hour commute (incl to work and back)
7.5-8.5 hours working

wake up at 6 (shower here)
in work at 7:40
leave work 16:00 or 17:00
home by 17:00 or 18:00
bed at 22:00

so my free time is 4/5 hours.
True, but 15% of the roof in PV is a trivial cost, particularly on a multi-story building in SF.
Change a variable name, yes absolutely depending on context and the language in use, this can range from using foo_bar/fooBar through to inappropriate variable names (I've seen swearwords used as variables when someone has been doing debugging in code and needed to grab intermediate values, seeing "cunt is undefined" in the console is not going to do you any favours on the professional scale) or ones that lack clarity.

Prohibit lines longer than N chars, again absolutely, many languages have standards like Pythons PEP8, I find 80 chars constricting sometimes but I stick to the standard because it is the standard (de-facto or not).

--

I stick to standards where they exist, for PHP thats the relevant PSR's, for Python, PEP8.

I enforce it by using the IDE to flag non-conformance and auto format either on the fly or on save, since I'm the only dev I don't need to enforce it on commits/pull requests.

Style Reviews are not applicable since there is just me (see above).

I think coding against the languages 'default' styles whether de-facto or imposed (I wish all languages had gone the gofmt route so we could obviate this problem nearly completely) helps, it certainly requires less context shifting when jumping from code I wrote to third party libraries in the same language.

In the past when I've worked with teams I've found having a defined standard helps hugely since it settles the inevitable bikeshedding arguments that crop up when programmer A wants to do foo and B do bar, often there is no clear winner so just picking one and adding it to the standard kills the argument dead the next time.

Personally I've always preferred :-

if foo()
{
stuff();
}

to

if foo(){
stuff();
}

but since PSR2 says not to do that I stopped (or more correctly I let the IDE handle it till it became habit to do it PSR style).
Given the limitations of computation over large inputs and large spaces, the question is, could sentience be a prerequisite of solving those kinds of problems? All we know about machines and computations is the harder the problem the more their computation is aligned with biology.
is the act of describing something as combative itself a combative thing?
Tipping is an awful and awkward practice that shouldn't ever be encouraged. I found I was way happier about paying for any kind of service in parts of the world where tipping isn't expected or even frowned on. Pay your employees properly. If you are self employed, roll gratuity into the fee for your service.

This is taking one of the best things about Uber and Uber-like services away. Ignoring the surge pricing BS, I don't have to keep an eye on the meter, I don't have to argue with the driver about the fare, I don't have to worry about the tip, I don't need cash on hand, etc.
Code style doesn't matter but tools like Eslint (or other linters) that can enforce some unimportant stuff, can also be very huuuuuge help for JavaScript programming. They can point most JS errors, for example.
http://projourno.org/2013/12/bag-in-the-ussr-a-revived-job-g...

"In the Soviet Union, there were almost no plastic bags. Under communism, a plastic bag was so prized, people were rumored to wash them after use. Instead of plastic, most people had one of those string bags that look like miniature cargo loaders for ships and that you can’t keep small things in."
New MIT Scanner Finds Web App Flaws in a Minute
The point you've raised about different types of data being stuck in different services across teams is a real pain point, especially for startups as we tend to embrace brand new tools.

Segment (https://segment.com) is one attempt to be the "customer data hub". It never quite did everything I wanted personally. If it works for you, then you can hook it up to something like Keen (https://keen.io) and get a dashboard with nice realtime charts very easily.

My most common approach is to let the data sit in third party services, then pull it together via APIs for reporting.
Managed switch or linksys router how the hell is it so easy to push that much money around even if I work in that "room" and give you access to my computer for a hour there should have been some software to notice somethings going on. The switch is could have been a $10,000 switch and it still sounds to easy. I'd say inside job unless scanning the up range screamed out the company name and some easy vulnerabilities/old software versions which could have also been the case.
I personally find it a little difficult to believe that this was a security researcher. Exploiting a vulnerability (against the rules of engagement), _and_ uploading a web shell?

Seems more likely that Facebook wasn't thrilled that Orange included the details of an existing, unknown Facebook compromise in his write-up.
it's not the size of your library, it's how you Use It.

UI being very weak for Amazon Video, they need to ditch the shopping templates and create something more useful. i have prime; I won't watch one movie on it until they make significant improvements to the user experience.
87 line golang smtp server that just writes emails to a txt file
I'd say yes but don't get too strict about it. It is common sense and the key point is readability. Long lines are hard to read, avoid them. Meaningless variable names are hard to follow/read, avoid them. Un-indented code is hard to read, avoid it. Shorthand statements are hard to read, use them but train your programmers to use them. Break long/big functions into smaller ones. Agree on files/directory structures. In my company we've never used hard rules, mostly common sense, and I think it's working.

As long as readability is working for everyone, rules that are too picky like camel case vs underscore, indent with tabs vs spaces, etc, will just add overhead.
I mean code style doesn't matter in JavaScript world. If I was developed in Python I would follow PEP8. But this just proves the point - code style doesn't matter to me much, so I could follow some other's codestyle, just to keep standards.
I'm curious why the technology industry in the only one pushing back on this? This must be affecting other industries too. Or are we just the only ones who give a shit?

The total lack of push-back from the banking/finance sector is what I find interesting, they have no shortage of lawyers. I get the impression that nobody ever expected them to not be totally submissive to gov requests.
Ok, thx for the video link. It does show a little how it works. Now, question:

How is this better than a notebook and or an excel file?

That's what the people I know use (for years) and they hardly have issues with shifts. I even looked into building them a "better solution" because I thought I was smarter than them. But nothing I did was better that their own system.

By the way, I'm not grilling you publicly! Just really interested in what you came up with. :)
Yep.

When the Chicago Tribune posted an article on how they started a lawsuit for Rahm's email/text records, I almost immediately called them to tell them about the lawsuit I'd filed for his phone records about a month prior after a year long battle with FOIA/IL's Attorney General.

You'd think the person writing the article would have cared about the subject. Nope. He was just doing his job. He forwarded me to the person who did the research/foia. Left a voicemail, sent him emails.. nothin'. No response.

I then called the journalist from the reader who did the red light camera work to see if they would be interested in it. The guy was completely turned off by the fact that the answer to his, "What's making you do this?" was more or less, "It's the principal of the entire matter." and ended the call about 20 seconds later. Bah humbug, I say.
I left < a year ago and never heard of ion.
We built something like this for our our data science platform (https://civisanalytics.com/products/end-to-end-data-science/), but the containers run on a group of workers that are isolated in one VPC per customer. And even that is for enterprise customers where you have some layer of accountability - I can't imagine opening it up to the wild internet.
Whether or not Amazon is the best place to buy something depends on your sensitivity to price. You can almost always find a better price somewhere else, and that's been true for many years. Amazon's selling points are convenience and selection.
This is his last blog post, but according to Github, he's still actively contributing code and comments as of 7 hours ago:

https://github.com/hintjens?tab=activity
Know of any podcasts that actually make a sizable income from merchandising? Or if they have multiple revenue streams, if merchandising constitutes a sizable percentage compared to donations, events, subscriptions, and ads?

Not too many podcasts release revenue information publicly, so its hard to find.
There's an easy answer to this: The government provided the list of books and movies that were allowed to be sold. And Apple realized they couldn't make money selling only this list, so they dropped out.
No, they can't kill him now. They're not allowed to by one of only players on Earth they try not to push too hard: Putin, head of Superpower No 2. They weigh the risk against the fact that damage is already done and all they'd protect is further image problems. They're countering that seperately.

Re damage. Tens of billions to economy that military-industrial complex worked hard to get. Push-back against police state legislation. NSA ops and methods blown. Large uptake in products that reduce SIGINT. Businesses moving overseas. All with no benefits on the table for intelligence agencies.

Far as distractions, that's the media's job focing on mass shooters, North Korea, ISIS, etc instead of pending legislation and schemes by government.
Interesting, in Atlanta, I do must of my shopping with a backpack and haven't been asked to leave it at the front of the store or have it checked for years.
^ This comment covered everything exactly.

If you are concerned of the size of your personal or smaller site, run it against a popular performance testing tool.

The three that I use regularly are: (1) Yellow Lab Tools, (2) Google PageSpeed, and (3) WebPagetest.

Here's how my small personal site (https://www.tedmiston.com) performs on each. I use jQuery 2 and not Bootstrap but Pure, though I am currently migrating to Bootstrap 4.

https://developers.google.com/speed/pagespeed/insights/?url=...

http://yellowlab.tools/result/edfg8pjjkt

http://www.webpagetest.org/result/160403_JS_GX7/
Political.

Amazon doesn't open source things, as a general rule. It can be done but it is a lot of jumping through hoops and they generally need good reasons to do it (as opposed to a lack of good reasons not to).
Most of the "oldbiz" buy the goods and sell them from their own corporation -- this is because they have actual retail stores. Amazon does not.
I do not know how much their rake is for 3rd party online goods though -- I see "Sold by Pharmapacks", etc.. often on Walmart and the price is usually not competitive at all compared to "Sold by Walmart.com" items. Mostly has to do with the shipping price.
I used to tell people that I was an atheist, and my wife told me I was more of a "fundamentalist atheist" because I wanted everyone else to be too.

Now I call myself a "Reformed Fundamentalist Atheist" because it captures that I don't care anymore (reformed), and it sounds enough like a real religion that people seem to accept it as one.

In the spirit of many of the good things on the internet, the Reformed Fundamentalist Atheist church (RFA) is of course an open source religion, under the MIT license :)
Even if you have an Apple TV (like I do), chances are you're just an HDMI input switch away from Prime Video on your game console or your TV itself. The $35 Google dongle aside, pretty much the only mainstream AV device that doesn't have Amazon is the Apple TV.
Well, you can "run out" and buy a 180TB 4U backblaze storage pod assembled for about $10,500. For $21,000 you can buy two and have 60TB to spare. $8,500/ $17,000 if you want to DIY. Not too bad:

https://www.backblaze.com/blog/cloud-storage-hardware/
>Amazon is the only place I have seen blatant user-targeted dark patterns. "Order within the next hour to ship today". Four hours later: "order within the next 2 hours to ship today".

That could be a reaction to facts on the ground. To give you a guaranteed shipping window, they need to estimate sales. If sales come up lower than expected, the cutoff moves a few hours.

You see this kind of thing all the time in airline seat pricing.