skysight-inc/HackerNews huggingface dataset:
Free exchange of ideas. This is by far the most important right. You must imagine that someone in power has enacted harsh laws that you oppose. These laws should never prevent your ability from finding other people who oppose these laws and having a means to democratically over turn them. This is the most important part of freedom.

Everything else you mentioned can be democratically overturned if enough people support it.

> woman's right to choose

I consider myself on the right, but I support women's right to choose. The religious right is on the way out. Yes, it use to be a big issue, but its not anymore. It was not a campaign issue, and Trump says he will "leave it to the states".

> freedom to assemble and protest

Can I have examples of this? We 100% support your right to peaceful protest and assembly. Can you provide some examples of ways Trump's administration is cracking down on this?

If you are talking about non-peaceful protests like blocking highways, preventing people from getting to work, ANTIFA wearing masks and attacking people at rallies then this is not acceptable and I support laws to crack down on this more.

> freedom from religion

Tick.

> freedom of the press

Examples that are not fake news please?

> freedom of movement

What do you mean here? US citizens who are not under parole or incarcerated can move freely anywhere inside the US.

> freedom to use the bathroom associated with your gender

What about freedom to use the bathroom associated with your own sex (physical M/F)?

Two sides to every "freedom" issue.

> freedom to use drugs recreationally

You want crack made legal? Weed legalisation is non-partisan now.

> personal freedoms

If these personal freedoms you talk of prevent you from being able to assemble and vote, then I support them.

Otherwise, laws should be enacted based on debate and democratic processes.
Instant messaging in 2017
Lock the encryption to RS512 and the standard is fine. I do a test against that and I also include a key relevant to and content I send with the token. This make the signature per request and considerably more difficult to forge. Maybe using JWTs for sessions is bad, using them for APIs is awesome with the specific caveats.
Just curious - why not define a macro for some of those? For example DI_FLAGS_TYPE that resolves to DINode::DIFlags / uint as needed? It seems there are some similarities that could be abstracted.

Also a cleanup could be simpler later - find/replace the macro.
If you don't have any personal connections related to your current job, I'm guessing that you'd need to do some cold calling/emailing(with examples of your work) to any potential clients and agencies.

And then there's also those business connections meetups. You could attend a few of those and see if you can find anyone who needs help.
Here is an interesting article on EU and non-EU immigrants to the UK.

http://www.independent.co.uk/news/uk/home-news/european-immi...
> Also, what if the URL of the image has the word "500x" or "resize" in it?

I'm supporting images that end in .jpg, .png, or .gif. So currently I know that anything after the extension is parameters.

> 1. Take the domain, and change any dots to dashes. What if there's a subdomain, or three levels of subdomains? 2. Add the domain as a subdomain on imagekick.io 3. Take the rest of the URL and add it as the path 4. Add the transformations on top of it

The rationale was that to create a resize/manipulation URL you only had to change the domain. For instance:

//example.com/image/dog.jpg becomes: whateveryouchooseassubdomain.imagekick.io/image/dog.jpg

Also, if you don't add parameters the image is served via a CDN, so potentially one could use this just to easily add a CDN to his images.

> Heck, support both.

Yes, I thought about that as well. It could be kind of confusing to explain, though. I'd rather pick the best way and just do that.
So where will my blogs be published?
> At Facebook, everything builds with Buck

Looking at https://github.com/facebook you seem to be using all sorts of build tools...
I wonder if he will keep the weight off. Most morbidly obese people regain it.
I am rather conflicted to read this advice. I think we all want to do this; on the other hand, I think we also generally cannot afford the time to do it. In the project that I run, many major subsystems have been obsoleted by other algorithms, changes in the underlying hardware, etc. Every hour spent not writing beautiful literate code to communicate with other humans in these cases is an hour saved.

And yet, and yet.
> In a couple of months Onyx is going to start production of Max Carta (same Max but with higher resolution Carta screen). Onyx Max 2 is in work and is expected later this year.

https://www.mobileread.com/forums/showpost.php?p=3487807&pos...
Ask HN: Please recommend some good documentaries to watch
>internationalization, http calls or routing are separate concerns.

If you view Angular as a UI framework then they are separate, but when you're developing client side applications they are not separate at all - and since Angular is an application framework it ships with those.

>XAML than Angular actually is with its string templates.

String templates ? XAML comparable to React ? Have you actually written a WPF app or worked in an enterprise framework ?

Sounds like you want to argue for sake of arguing or don't understand what you're talking about.
The mid-to-high-end watch market (in the $1K-50K range) is going through a _major_ crisis right now.

For past several years they've been aggressively raising prices due to steady Chinese demand, which now has been all but extinguished by a combination of several factors. So the watchmakers are now is a pickle of situation - watches are massively over-priced, their "normal" customers are well aware of that, but they can't lower prices without damaging their "lux" image and upsetting those who bought at a current price level. Some try and introduce cheapened models (like steel Pateks), but it doesn't seem to be working well for them. Fun times.

http://wornandwound.com/bloomberg-reports-swiss-watch-export...
Yeah, that's a good bit of context. I expanded this blog post into a conference paper last year, and that version of the article does mention the Marvin Glass & Associates connection, along with a few other interesting historical things, like the fact that Bally/Midway chose to Budweiser-theme it mainly for distribution reasons, as they were hoping to get it sold through Budweiser's distributor network (many people assume it was an advertising game commissioned by Budweiser, but Budweiser basically didn't care either way, letting their name be used but not otherwise getting involved or funding it).

Here's the paper version [PDF]: http://www.kmjn.org/publications/TapperPatent_DiGRA-FDG16.pd...
That's why we always use bit shifts for division. it doesn't matter if we're using an exponential algorithm instead of a linear one: the thing we should care most about is how fast that division is.
In principle that could happen, but LLVM IR is really not designed for anything other than being transformed by LLVM. One could define an abstract risc machine, to be jitted at either side. LLVM is not quite suitable for this purpose: It assumes quite a few details about the target. Also, this requires a huge amount of co-operation. So far this has only happened in the browser with e.g. ECMAScript standardization, asm.js and WebAsm. The JVM tried to do this, but it's not a good compilation target for languages like C/C++. Therefore, I think will happen eventually: The web browsers will develop the tools and specifications to make this stuff, then it will get broken off and used outside of the web (I hope, god forbid all software has to be distributed via the web using overlyHypedWebScale.js v2)
I don't think so. There would always be a need for specialists.

Maybe full-stack engineers would have an easier time finding employment(as requiters keep on piling up those needs-to-know requirements), but some shops will always value someone who's shit-hot at one specific thing in particular, as opposed to merely competent at a lot.
Is this too complex and/or insufficient? https://www.gnu.org/software/automake/manual/html_node/Multi...
You almost certainly have had to debug a Gödelian paradox in your day-to-day programming. It's just that programmers call it "nontermination" or "infinite loops".

In 1952 the logician Martin Löb invented something called "provability logic" as a way to formulate Gödel's theorem more abstractly, so that we could see how the proof worked without having to work with explicit numerical encodings of formulas. (Think of this as the difference between working with strings versus abstract syntax trees.)

His version of the proof is now called Löb's theorem, and its structure is almost identical to what logicians call Curry's paradox, and which (via the Curry-Howard correspondence) programmers know as the Y combinator. The Y combinator is used to implement recursion in the lambda calculus, specifically including the ability to go into infinite loops.

I blogged about this last year:

http://semantic-domain.blogspot.co.uk/2016/05/lobs-theorem-i...
:-). I think GCC has/had IR's that are LISP like.
How many of them are in commercial use today? Where?
I asked this question months ago (being based in Europe too) and the reply was that I will indeed have to pay my local VAT and import toll when receiving the product.

When I explicitly followed up with whether this means they will ship from China they followed up with saying that it is very likely, but not set in stone yet.
U.S. Border Agents Can Search Your Cellphone
> England has signed of on Scotland leaving the UK first

England doesn't 'sign off' for whether Scotland is in union or not as that is Scotland's choice, not England's. England acknowledge this and would never say otherwise.
I have thousands of images that I need to load dynamically at runtime. I shouldn't be expected to import them all by name.

That's not my idea of a filesystem API.
ISO 8601: https://www.iso.org/standard/40874.html
Hi, long time trading systems hacker and originator of SpreadServe [1] here with some background: I was inspired to build it after finding myself in a meeting in a London Investment Bank in 2014 hearing a manager say "the traders have defined the accrual calcs in a spreadsheet, now we just need a couple of C# devs for a few months to build a real server to do the calcs". I realised I'd seen that pattern repeat time and again over the ten years I'd spent working on London trading floors. By hacking together Excel Addins in C++ myself I'd enabled an options trader to build a program trading system in Excel by plugging his pricing sheets into Liffe's ETO limit order books. I put an exotics trader on Bloomberg by connecting
his huge 30 tab sheet to my etrading gateways, then gradually replaced the spreadsheet with C++ pricing servers. My own XLL Addin was running on hundreds of trading desktops, and I'd helped any number of traders lash together ad hoc pricing and risk spreadsheets with XLLs connecting them to market data, prices and quotes [2]. The same cycle kept repeating: trader whips up spreadsheet, sheet becomes business critical, trader tires of manual keying of data, hitting F9, and the flakiness of huge Excel sheets and demands the dev team replace the sheet with a scalable service. Then the dev team takes months to replicate the spreadsheet functionality in a C++, C# or Java server, and the trader gets frustrated by lengthy change cycles.

I realised that we can escape that frustrating cycle by building a server runtime for spreadsheets. Just as node.js took JavaScript to the server side, SpreadServe is "node.xls": an asynchronous scalable server side runtime for Excel spreadsheets that supports XLLs, RTD & VBA as well as a REST API, RDBMS integration and websockets subscribers. As Felienne says [3] "spreadsheets are code". But that code is trapped in a desktop IDE for grid based visual functional programming: Excel! And that's not the right environment for reliable automated operation. So SpreadServe's aim is to separate the development and rumtime environments for calc heavy spreadsheets: Excel for rapid change cycles by tech savvy power users like traders, then SpreadServe for production scalability, resilience and audit logging.

[1] http://spreadserve.com

[2] http://babbingtonslade.com/industries/

[3] https://etrading.wordpress.com/2015/08/13/spreadsheets-are-c...
Not sure about that - there are at least two Iran vs. Saudi proxy wars being fought in Yemen and Syria.
Seems like a popular project :-)

http://imgur.com/a/ljZqs

I used a raspberry pi 2. I was tracking the movement of a plant in my apartment http://imgur.com/a/hoEwO

I used a simple cron job to capture photos in the waking hours of the day and upload to a cloud drive. Was definitely a fun project. I was hoping to eventually expand the project to include image detection so I can keep track of the various animals roaming my apartment. Also, create a mobile app that would allow me to snap pictures or videos remotely, but haven't gotten around to it yet.
Sure but after evaluating, and deciding that one option is better, a leader should make that opinion known strongly.

Cameron and Corbyn standing together and saying "this is dangerous and stupid" would have sent a very powerful message.
From the FAQ:

Q) What Python versions are supported?

A) PP was tested with Python 2.3 - 2.7 on a variety of platforms.
Too much sleep can also cause depression. I would know I sometimes sleep during the day and when i wake up i get upset that i did accomplish the things i wanted to do during the day.
Should we use Hawk + Oz[1]?

[1] https://hueniverse.com/2015/09/19/auth-to-see-the-wizard-or-...
Is using none a bit like using http instead of https? The standards support it, but it's 2017 so we shouldn't do it.

What I like about JWT's concept is it's completely distributed authorisation: there's no call to a central identity provider. Thus a SPA can pull initial security info from its server, and then fire out requests to different APIs. As long as the API endpoints have the SPA server's public key, they can verify everything without calling it or another central server.

Having said that, I'm not able to discern whether it's secure enough to be workable, so I only know to mandate a list of good algorithms on the API endpoints and to use SSL :) I'll have to read about this session stuff.

EDIT: I wonder if in bigger projects, a message bus or in-memory cache could signal a token blacklist once the user logs/times out of the original server? Or as some others have said, just have short expiry times and ping the SPA server for new tokens every couple of minutes.
I love that dBase launched as dBaseII to make it sound like an established product.
The chase being what?

It takes no time at all to read a longAndMeaningful variable name, and no time at all to work out what it's doing.

Assuming you don't name variables a1 to z256, calling a variable something like "items" makes it context dependent, which is a little too much like building state into the syntax.

Long names provide an extra informal level of type safety. You should be able to see what a variable is doing by looking at it, and you should also be able to see that it provides a clean level of abstraction/composition instead of just being an arbitrary container with a label.
It's also interesting how many of these guidelines have malware-related rationales, though.
Don't forget the Scientific Method (it is Computer Science, after all)

https://blog.makersacademy.com/scientific-method-in-programm...
Wouldn't you need to assign your cookies to the TLD for them to be accessible to both subdomains?
Anti-propoganda? I am not sure of the reasons, but I recently read a book on the pirate radio stations that broadcast am from ships just offshore England a century ago. It was illegal to listen, but the broadcasters were in international waters. There was also a tv show set in WWII about illegal radio transmission, called Alo Alo. I also know the fcc had a list of countries the US Hams arent allowed to respond to. Seems emptied now http://wireless.fcc.gov/services/index.htm?job=about_2&id=am...
vietnam war was created to make money, it only ended after Watergate scandal and mass protests.

McNamara admits Tonkin incident which started US sending mass troops to vietnam never happend
https://www.youtube.com/watch?v=5AaGVAipGp0

2 million personel to vietnam, 58000 US soldiers dead. in about 10 years. and still losing

because of Rules of Engagement that were created to lose.

not allowed to bomb airfields, harbors, SAM installations, cities, dams, powerplants etc..

http://www.au.af.mil/au/aupress/digital/pdf/paper/t_drake_ru...
On the Paperwhite you can set it to refresh every fifteenth page turn, but I find the occasional flash of a refresh much more distracting than a flash every time, which I can get used to. In fact, these days I never even see the flash any more; it happens as I move my eye from bottom right to top left and so I'm hardly ever consciously aware of it.
Everything in React Native is "native" views. The issue is that the RN community seems to be pretty heavily divided with respect to exactly where the API boundary should be.

AirBnB's native-navigation library literally has native iOS and Android code to create views, transitions etc.

react-navigation on the other hand is mostly JS driven, instead using the core functionality of React Native, which does generate native views.

The problem with react-navigation (and many libraries using a similar approach) is that you don't get a true native feel once you start interacting with the UI. This is because the JS -> native bridge is async, meaning you literally can't handle events as quickly as they're dispatched in native code - particularly if the events are synchronous.

I'm a huge fan of AirBnb's approach. Doing things in JS just because you "can" is inherently broken (as described above). Checkout the following Github issue for a demonstration of the issue: https://github.com/react-community/react-navigation/issues/1...
Well, it's all over AQ Khan's wikipedia page: https://en.wikipedia.org/wiki/Abdul_Qadeer_Khan

What's not known is how much he was engaging in nuclear proliferation with the permission of the government, or which parts of the government were helping him. Pakistan's warring security agencies make the current US dispute between the CIA and FBI over Trump and the Russians look like amateurs.
Just tested it on an Android device and the performance is amazing. Congrats!

https://play.google.com/store/apps/details?id=com.wix.intera...
It's just a navigation library, it (on a basic level) lets you change pages when making an App with React Native. What's nice is that this works for both iOS and Andriod as the standard built in one has issues (from my experience) with Android. Also, I agree that sentence is terribly written.
Not everyone has decent Internet connectivity.

You can dump a bunch of films and tv shows on a USB stick and use that with a cheap laptop for travelling.
Session invalid is an issue with all Tokens.
> Is it the act of calling a homosexual person, gay instead of fag?

Using the term 'homosexual person' is not PC. Are you a homophobe or what? :P

http://americablog.com/2007/07/dear-washington-post-please-s...

https://www.quora.com/Which-is-more-appropriate-homosexual-o...

If I was on the left, I could make a big deal out of your incorrect use of the word homosexual, and I could make it look like you are as bad as someone calling someone a fag in an intentionally derogative way.

> Is it referring to black people as african-americans and not niggers?

Black people is not PC. Dude, are you a racist or what?

The correct term is person-of-color. But do not say "colored person" or you will receive a massive social media outcry.

"But I am not a racist you say?". Doesn't matter, once you say the wrong word, you are already one of them.

> Is it referring to Muslim people as muslim people and not ragheads?
> Is it referring to people of east asian heritage as Asian and not chinks?

2017 PC is not about using derrogatory terms.

> In 2017...its not much to ask for.

It seems like it is for you, because in your post you have used the incorrect terms.

Now, are you a racist and a homophobe?

The right would assume you are not.

The left will be keeping their eye on you, and now have material to take you down in the future if they want to.
Depends what you mean by front-end engineer. If you are interested in front-end work I would focus on brushing up on your UX and design skill. I have no particular need for someone who only knows how to implement a front end based on an exact spec, I would however love to have a developer on my team who can actually both come up with and implement a good looking, easy to use front end.
We only wanted them assigned to the subdomain that needed them (api.hostname.com), and we set it up that way to make sure we wouldn't accidentally expose cookies to other domains down the line.
Ask HN: What tools help you stay on top of SaaS market, tech, and design news?
I have a list of about 60 sites, blogs, medium collections and other random links that I like to follow. Some have RSS some don't - so I tried Feedly but gave up after most sites not offering RSS (VC portfolios etc). Also, I love checking Twitter regularly and I'm subscribed to what feels like 30 newsletters. I have product hunt notifications turned on on chrome and check out sidebar.io and dribbble for design news once and a while.
What is everyone else using or doing?
When you say validate login in a react app, what do you mean? Surely the only way to validate a login is to make a request. Or are you saying that your tokens never expire?
That's a horrible fix, introduces jank, and doesn't work cross device.

You normally want a CoreAnimation completion block ([CATransaction setCompletionBlock:^(){}], with an enclosing [CATransaction begin] and [CATransaction end].
Selfie de bebê sorrindo logo após o parto viraliza na internet
Been listening to this since I discovered it on HN this morning. A lot of it reminds of the Vangelis/Blade Runner OST. Great work!
Soma.fm has this for San Francisco police scanner radio traffic.

https://somafm.com/sf1033/
There's a distinction I've noticed ever since university CS:

The code-starers and the experimentalists. When debugging, the code-starers would, well, stare at the code and try to reason this out logically. There will be statements such as "this cannot be the case, because ...".

The experimentalists would run the program with variations in input and code and observe the effects in order to figure out what was really happening.

As you can probably tell, I am an experimentalist, and I find the code-staring approach puzzling: (a) the world is not as you expect it to be, so reasoning about what can or cannot be the case is of limited use, as your reasoning is evidently faulty (usually assumptions). (b) there is a real world you can ask questions, why would you not want real answers??

Philosophically and historically, I consider the move towards empirical science (Bacon etc.) probably the greatest advancement humanity has made to date. It certainly is dramatically more effective than any other method of separating truth from non-truth we have, whereas scholasticism...
It would be really interesting if that kind of technical detail leaked. With all of these leaks, I've never heard of a technical / mathematical document discussing the actual encryption algorithms leaking.

Makes me wonder if either

- This whole leak is a "fake" or at least no big deal for the TLAs (because there is not much surprizing inside)

and / or:

- Most encryption is broken in a fundamental way. I would never be able find out, because the four or five influential security experts I know and trust, and who tell me it is safe, are bought by the TLAs. Who knows, maybe all PGP does effectively is to mark my mails as really really interesting. "They" can trivially decrypt them, and then they employ thousands of analysts who just do parallel construction on everything they find out (so they don't leak their exploit).