skysight-inc/HackerNews huggingface dataset:
Ask HN: Python web framework in 2019
My friend and I are starting our end of bachelor project. We will build a SaaS for IoT security devices. We want to go with Python for our services, but we are not sure which framework to pick.

I explored some of the options: Flask, Flacon, Vibora, Quart, Sanic, hug
My current questions mostly are:
- Is async production ready and how are performances?
- Which framework is more likely to be maintained in the future (how good is their community)?
You can either use the developer build or compile Firefox yourself.
But otherwise it is a just show up event? Also if it is too late to give a talk, could one do a poster etc?
I gather this was Falcon 9's first EELV-certified mission, but to call it its first national security mission is quite the overstatement. Falcon 9s have already launched an NRO spy satellite, the Air Force X-37B, and the mysterious Zuma.
To be fair, it's pretty common for new Linux releases to make it to the front page.
How is an upgraded GPS satellite a “national security” mission?

Yes, I understand that precise and reliable global navigation is essential to fighting wars and guided weapons, but such uses pale in comparison to the billions of people who rely on GPS every day to do non-war, non-USA stuff. It is neither national nor security.

Or do they just mean “in the role of defense contractor”?
I was hoping for “I’m positive”
what is the before and after accuracy? how big of a training set?
Wenn speaking with some people experienced in C++ I often got feedback along the line of: " For a good C++ programmer C++ is as good as any other language, no maybe even better ... it's just that good C++ programmers are so rare that they are irrelevant for any company."

Or with other words: While there are many reasonable good C++ programmers there are view which are really good due to the complexity of C++.
Oooh, that sounds interesting. Where would be a good place to start with Crystal assuming I specifically want to use it for AI/data processing with Rails business logic / interfaces?
Vim is a perfect example of an insanely terrible user interface. That we all use it because it is powerful and also a shibboleth into devops/sysops/developers minds doesn't make it a good idea. It's just very convenient and powerful while also being the height of nerd cred.

Also the OP is right from an objective POV, the Blender UI is absolutely brutal. I use a lot of tools in this industry for my job but my job is not specifically 3d work, so I am not expected to have deep mastery of any of the tools nor does it even help me, really. This is where a decent UI that is intuitive and helpful is important, and Blender for my colleagues and myself is practically unusable out of the box.

It is, however, a great piece of software, as you all say. I totally agree there. But good lord the UI is horrific.
I guess you aren't missing anything. They do security releases for 5 years after the release of a minor version:

https://devguide.python.org/devcycle/#security-branches

Arbitrary, but not senseless or anything.

If you drill into the security releases, they are pretty small patches backported from later releases, not a huge burden.
They actually made another game to learn flexbox
https://flexboxfroggy.com/
Things look okay, now, to me.

https://www.whatsmydns.net/#A/qosf.org
Nobody really is.

However, a "democracy" where the intellectual/media/political elites decide what is good for the unwashed masses to hear or see yet they become corrupted by wrong ideology rubs me wrong way. Too many fools think themselves members of those elites.

OTOH I do recognize that Facebook is a great tool to manipulate! I'm not blind.

There is a simple solution: either 1) get off Facebook, 2) stop posting things on Facebook.

Facebook = phone book.

I don't post or reply to posts. I add people I cross paths with and I chat with them on Messenger sometimes or if we chat more often WhatsApp or Telegram or something outside FB itself.
Looks like an ‘n’ at first glance. Just as easy to type “pi”.
Could you expand upon poor man's solution (mdraid+LUKS+LVM+nilfs2)? I'm mainly interested in NILFS2 part. For the long time I intend to use it. I thought about /home for me and/or my father and lately just for an archive partition (a bit like Fossil from Plan 9). I heard that there is a disagreement on whether it needs fsck or not. It does not have it and theoretically does not need it. But I heard about unrecoverable errors that probably could be fixed by hypothetical fsck. I can't find it now, it was some kind of a blog post that summed up the disagreement.
Ask HN: Your predictions for 2019?
Similar to the previous years, predict what will happen in the next year.

Please use lists instead of paragraphs.

This is open for any kind of predictions (tech, politics, finance...)

Historical:

2018: https://news.ycombinator.com/item?id=16007988

2017: none?

2016: https://news.ycombinator.com/item?id=10809767

2015: https://news.ycombinator.com/item?id=8822723

2014: https://news.ycombinator.com/item?id=6994370

2013: none?

2012: https://news.ycombinator.com/item?id=3395201

2011: https://news.ycombinator.com/item?id=1970023

2010: https://news.ycombinator.com/item?id=1025681
His point is that he expects it to be worse or as bad because the same process that built Blender is the same process that upgraded the UI.
And still are. Its one of the oldest Finnish companies and their technological branch is still just a very young part of a longer history.
Remembering the startups we lost in 2018
This is how I've learned enough flexbox to get by, and it was a total blast
I use both. The Pixelbook hardware is unparalleled. I like it better than anything from Apple right now.

The Pixelbook of course does not support iMessage, so on it I would use OWS’ Signal for messaging... but they (OWS) discontinued their Chrome App version, and the Android/Play Store version is “incompatible with this device”, so I can’t use my Pixelbook to chat with anyone outside of Slack or IRCCloud (or other undesirable/non-e2e chat services like Hangouts/etc), which is super lame.

OWS really needs to support that platform better.
WQHD, but just for the color gamut. Using gnome with 2x scaling and xrandr scaling to 1.25 to get effective 1600x900 (I think). I don't have an external monitor.
Or more charitably, underallocates resources to keep feature parity. Yes, to sell more Chromebooks, but is Apple’s iWork suite available on the Chrome Store?
Any idea what software hashnode is running on? I like the features.

I'm looking to setup a private community and I'm not totally stoked on the features of mastodon and diaspora and I'm not exactly looking for a forum.

I suppose this could be an AskHN...
Hosters host the offending content on their equipment.

Search engines at least have specific knowledge of the content they direct to, and might have a (partial) copy.

But registrars don't have any of this. They provide a service that is completely independent from any content being served, and the offending content never touches their infrastructure.
« Thus the more dangerously radioactive stuff decays a lot quicker. »

If it decays very quickly, yes, it's less of a threat (except in case of a spill from the reactor, where people would get exposed to fresh material.) If it decays very slowly... well, the damage just might be spread out over time. I think a case could be made for that, at least...

But it's more complicated than that, anyway. Strontium, for instance, is a particular problem because it is similar to calcium, so people's bodies incorporate it into bones. Having it stick around in the body rather than flushing out makes it more dangerous than it would otherwise be. Similar for iodine, which is why nuclear meltdown preparedness programs involve having potassium iodide pills on hand—to try to saturate the body with non-radioactive iodine.

So the bioaccumulation potential must be considered as well, because what matters is how long people are in contact with radioisotopes.
Can you point me to a text analysis API that is not embarrassingly bad?

I have tried products from Amazon, IBM, Google and other companies and the one thing they have in common is they've never passed an acceptance test for me.

Language translation is a particular bad example of something where a "Clever Hans" effect can happen, where the reader's desire and capability for closure will fill in for mistakes the system makes and make it look like it performs better than it really does.
I am becoming far less a fan of "nearly unlimited freedom of speech", based on observing the results of nearly unlimited freedom of speech out in the real world. I'm quite all right forcing certain ideas underground these days. The degeneration of debate about society to "All things are opinion, and all opinions are equal" is demonstrably dangerous, and the desensitization of the public that comes with it is also demonstrably dangerous.

At a certain point, the welfare of society outweighs the freedom of the individual. And you agree with me. Hence the phrase "nearly unlimited".
> After long delays and frustration graphics group had to revert to C.

It was 1992.

C++ is old language, however the first version of C++ standard only appeared in 1998.

Before it happened, the quality of the compilers was mediocre. Early in my career (but much later than 1992) I have used VC++ 5 and 6, they weren’t good. They were good enough C-with-classes compilers, but try slightly more complex C++ and they just crashed.

The standard library wasn’t there either, instead there were multiple incompatible STL implementations.
I don't know what the title was when you saw it, but the On Switching from an iPad Pro and MacBook to a Pixelbook title I see now seems to match the article -- it's about the reasons why IOS isn't meeting his needs. I didn't expect it to be about the virtues of a Pixelbook.
your life wont change at all ... but its not too difficult
I suggest you take a look at some of the submissions in e.g. the Underhanded C Contest. Where it can be excruciatingly hard to figure out where the backdoor is even though you know that the code has one.
Patterns beyond Faraday waves
Reasons of why to migrate a website from HostGator to AWS (2018 Update)
How to maximize your misery
> I can totally imagine new devs just trying out non-ascii variables, see it not crashing and then actually writing all their code using constants.

Ruby already supported non-ascii identifiers for variables; 2.6 added support for non-ascii first characters of constants, which must still be capital letters, as had always distinguished constants from variables. It doesn't make anything non-ascii a constant, it just makes constants consistent with other identifiers in terms of non-ascii support, while preserving the “initial capital means constant" rule.

And, as sibling comments note, reassigning a constant produces a warning, so devs making a mistake and using constants for variables (regardless of ascii-ness) will quickly be informed of their error.
But what does it mean to be "social"? I've been thinking about this alot lately and it's not easy to define. But social media's version of social is making me more and more uncomfortable. I have so many unfinished thoughts around this but here goes..

I can say that a good social experience is usually in a very small group, dynamic, immersive, thrilling, you can feel it in your entire body, you loose your sense of time. On some social media the interactions are relatively slow, shallow, fragmented, in some sense performative because you know potentially alot of people can read what you're posting. It's like a totally different kind of social, which of course can have it's value but it becomes a problem when most of our social interactions are like this.

Take the experience of sharing your vacation pictures. On social media it is like you are packaging your memory to present for a broader audience. Imagine, in contrast, how you would invite your friend over and share your (printed) pictures over a coffee. Depending on what your relationship looks like you will present your trip differently. This shared memory will be woven into your relationship in a unique way, giving it yet another layer.

It's like the word social has been hijacked. It was never about making a "social media". It was about changing our idea about what social means..
same! I had to go back and look because I would have sworn there were no images at all! Now I realize my brain had classified them as ads and simply edited them out of my conscious awareness all together.
>Need to access the request? use `req`

Well, I don't see what's especially difficult about this?

from flask import request

@app.route('/login', methods=['GET', 'POST'])
def login():
if request.method == 'POST':
return do_the_login()
else:
return show_the_login_form()

I would actually argue that this is better, since I have to type "request" only once.

Although I have to admitt, the middleware thing looks quite composable.
What is unsupported in what i have said?
"Increasing engagement" is probably a KPI in nearly every consumer-facing product these days. And as time goes on, it becomes more obvious, desperate, and frankly, annoying. Like when I receive FB notifications since I haven't posted in awhile. Really de-values the functionality of what a notification is, and now I don't care about them much since receiving a notification doesn't mean I've had an interaction with a FB Friend.
I can’t imagine using ChromeOS for anything. I can barely use Chrome, and it has massive memory leaks/eats up my free memory. I wonder what memory leaks OS is like.
I always thought the deductive power of prolog would be perfect for a mystery game (it need not expose the user to the language). Or for that matter, any sort of game involving story-telling. It becomes particularly interesting when the deductions are chained 3+ levels deep.
Which would be funny, because driving through the nearby Santa Cruz mountains can be reminiscent of the part of Appalachia where I grew up. Complete with trashed cars in the front yard and trash strewn about.
Even with this new update?
I really wish they would add mouse support to iOS as it would allow me to work on gslides presentations. I could then leave the MacBook at home a lot more.

Are there any workarounds or markdown presentation apps I should check out?
Dicts now retain order now (in other words all dicts are ordered dicts). I support this, but I also guarantee this is going to bite me in the ass at least once sharing notebooks with someone on an older version of python as I expect to use this liberally. Ah well.
"x-mas" greeting card
By the way, I always thought that "Starship Troopers" were basically ancient Greece replayed in sci-fi setting. In Greece all citizens had to fight for the state, when the need arises (which was happening regularly and the threats were very serious). Sometimes they conscripted slaves, but the slaves were given freedom (or maybe even citizenship) after that.
What are you talking about? US-launched GPS satellites are owned and operated by the USAF, which last I checked, is a national security outfit.
You also only get one shot at the cow
Of course they do not want, so they do not want their views were exposed to everyone. Therefore they want an echo chamber for chosen ones. It is not a fault of Facebook, it is a direct consequence of authorian reign behaviour.
no employee protests against DOD projects :)
I don't think you got that index calculation right. -1 in array of 5 elements is located at 5-1 == 4, not at 1%5 == 1.
That seems like wrong revisionist history.

Blender spent the first 7 years of it's life as closed-source commercial software.
From what I understand most of the real costs in terms hazardous disposal for nuclear is that nuclear plants are designed to be dirty. They are designed to create weapons fuel, which means lots more of highly radioactive byproducts that are unavoidable if you want these refined fissionable materials.

From what I’ve seen of modern designs that can’t be used for weapons programs, there’s significantly lower costs associated with disposal and decommissioning plants.
I'll put it blatantly, without citation, and accept the downvotes with love: do not give your 2yo anything that has a screen. Just say no. And yes - licking the floor is order of magnitude healthier for them.
It’s actually broadly available on iCloud.com and works very well.
I'm stuck at level 21. This didn't work:

grid-template-columns: repeat (8, 12.5%);

Am I doing something wrong or is it a bug?
The reason GPS came to exist is because of the US military. That billions use it now for other purposes is a happy side effect.

Also it is very much “national” as the US taxpayer pays for the GPS system billions of people use for their non-war, non-USA stuff. And it’s definitely security because if that GPS system were to go down, there’s be a serious and immediate economic effect. Protecting and improving GPS is every bit “national security” as building a tank. National security is more than just waging war; it’s the promotion of stability both political and economic across the world.
So I shouldn’t be allowed to use Facebook because some people see ads and vote republican? Because I can post what I want whether or not it’s true or you agree with it?

The only authoritarianism here is your call to forcibly break up Facebook to silence speech you don’t like.
Yeah.

A "Flow" Battery's got the advantage of scale. To scale a flow battery, all you gotta do is build a bigger tank. A Lithium Ion battery requires you to build complex circuitry and chemicals throughout the whole battery.

In many ways, Lithium Ion batteries are like Solid State Drives: You got complex circuitry through and through. While Flow batteries are more like a Tape Drive: The drive is way more expensive to make, but "tape" (ie: Tank) is so cheap that the economics of energy storage eventually wins out.
What kinds of algorigthms you guys use to coordinate fleets?

Also, your story is quite fascinating, can you tell us more?

I am very, and I mean VERY interested in working on something like that, but not sure how to transition out of the generic CRUD web programmer to your area... :(
Please drop acerbic swipes like "What are you talking about?" from your comments here. Your comment would be much better with just the second sentence.

https://news.ycombinator.com/newsguidelines.html
Whose lane is it? An analysis of bike lane blockages in New York
Authoritarianism is forcing Facebook to silence speech Democrats don’t like.

That’s authoritarian. Not people freely reading and writing.

I fear my fellow Americans have completely lost the plot...
LOL - understatement of the year (and it's been a long year). You might as well say kangaroos are ill-equipped to stop the spread of marsupials.

Awp, got a downvote from someone who doesn't believe Facebook is authoritarian. Its merely being a corporation places it among the most authoritarian social structures in history, hate to tell ya, but let's look at the characteristics of authoritarianism (paraphrased from britannica.com):

1) Blind submission to authority is prized over individual freedom of thought and action. The very first act demanded of you, upon first contact with Facebook, is to fill out a form and submit (the word choice is coincidental, yet apt) your personal details/data. By clicking, you're declaring you trust their authoritah. If you refuse and go your own way, Facebook users whom you know will make no bones about their disapproval. Oh you won't go to any gulag or anything. I'm not saying it's a government.

2) Power is concentrated in the hands of a leader (a.k.a. autocracy) or small elite (a.k.a. oligarchy) that isn't responsible to the people. This one is so obviously true of Facebook that I'm starting to feel foolish for starting this list. "In other news, the sky is blue." But I'll continue. For starters you can just ask yourself whether you were consulted about any of the endless string of privacy-policy changes. (Or where to hide and obfuscate all the opt-outs in the UI.) Or whether you approved any "sharings" of your data with some person or company about whom you had no idea. You didn't, because Facebook controls your data. And they control what you see.

3) Power is exercised arbitrarily and without regard to existing bodies of law. https://www.congress.gov/congressional-record/congressional-...

4) Leaders cannot be replaced by citizens in fair elections. If we take "citizens" to mean "users" or "customers" this is true. That's a characteristic of every corporation. If we take "citizens" to mean "shareholders," those people get a bit more democracy. Although at Facebook as I understand it, Mark Zuckerberg is the largest single shareholder, so I'm not sure how that all plays out, and am rapidly getting bored of this. Wish I knew more, or gave more of a shit, about Facebook... but I don't know what's inside a giant stinky turd either and I think I'm OK with that. Can anyone take over? I'm sorry this comment sucks.

5) Opposition parties or groups are limited or nonexistent. On this criterion, Facebook fails the "Is it authoritarian?" test. These groups are all over Facebook. (Generating data for Facebook and profits for Facebook.)
Probably easiest to talk about the NER for search keywords. I have found 1000-2000 examples per label is enough to get >80% accuracy. I don't remember the exact before/after adding pre-trained word vectors, but it was a 2-3% improvement and the current F1 score is ~86% I believe.

I have found it best to apply this to search tail queries (uncommon queries) because the relevance already sucks so any improvement is helpful. Often they are misspellings or unique wordings of common queries. If you have a product search engine, and you can recognize the product category then you have a much better chance of giving the user a relevant result even if the words are misspelled. If you can improve the overall relevance of tail queries, then revenue for the product search engine should increase as well.

I should also add that Spacy turns all words into vectors under-the-hood. Providing pre-trained word vectors accelerates the training process so you don't need as many examples (hopefully).
It isn't explicitly a Chrome app, but there are web versions of the iWork apps available through icloud.com, and they work pretty decently in a browser.
> Any source on that?

Personal correspondence with a nutrition PhD. Not going to identify for unrelated reasons.

> Wouldnd't the presence of an acid-neutralizing ingredient like milk negatively affect this process?

Milk is acidic in the first place. In either case, it doesn’t raise the pH of your stomach very much.

> Could you be a bit more precise when you say "short-term"?

Short enough that the effect is gone before you finish digesting the meal.

https://www.ncbi.nlm.nih.gov/m/pubmed/21462112/

From what I gather, there were some studies that claimed that calcium interferes with iron absorption, and it’s clear that it does, but it might not have much of an effect on nutrition.
I'll grant it's possible that there might actually exist enough evidence in the world today to conclusively answer your question in the negative-and-opposite ... but if someone actually published such a study it would probably have made the news in a big enough way that I'd have heard of it.
Once a month seems extremely low. We do one big shop a week, and that's with a lot of planning(we do a massive shop for all dinners and lunches for the entire week) and that's with using long-life milk and freezing bread so that we don't have to go to a shop more often.