skysight-inc/HackerNews huggingface dataset:
It might be helpful to link the repository in the introduction section of the documentation. The repository is one of the tools people can use to evaluate the software without installation.
1) You are not alone . Millions of young people go through such stage all over the word

2) Talk to people . Your parents , your siblings , your teachers. When you discover people around you , you will find someone who can listen more and answer you .

3) GET A HOBBY . one in SPORTS and one in music or Art. This will help you get away from endless talks in mind . Basically depression is nothing but THINKING same thing AGAIN and AGAIN

5) Set yourself goals to achieve . That will give you confidence and strong spirit. AND that will give you everything

6) Learn to meditate . and read BHAGWAD GEETA . Einstein to STEVE JOBS to Abdul KALAM all have read it and found peace . Its not a book of some God, in my opinion , its a book of Spiritual life

Taken from here - https://provlem.com/i-need-help-im-depressed-because-i-think...
I am not sure why your comment was downvoted. I thought it's well known how the IMF ruins countries and I feel the modus operandi of the IMF isn't that much different from perhaps what China is doing right now. Except, now it's not the Western world / the US (through the IMF) that indirectly is pulling the strings anymore.

I feel the Western world is not in a position to judge China in this while the IMF is preventing third world countries from developing through its policies in much the same way.

Read also this: http://www.globalissues.org/article/3/structural-adjustment-...
I posted this earlier in an Electron discussion, but there are a couple of libraries that take this approach cross-platform, like zserge/webview [1] and Tether [2].

[1] https://github.com/zserge/webview

[2] https://github.com/quadrupleslap/tether
Saudi still has connections with the big names in SV.  Disgusting
I wrote the first version of this deck back in 2013: https://www.slideshare.net/AmazonWebServices/scaling-on-aws-... and it since then went on to become one of the most delivered talks by AWS across the world. I thought I'd pop into this thread and answer some questions/help provide guidance as to why it exists. Note that first deck was mostly tossed together while on an Amtrak from NYC to Philly in an early morning, so excuse the typos and graphics glitches.

Generally speaking we've/I've seen a number of customers struggle with pre-optimization of their infrastructure and/or just not knowing what they should think about and when, when it comes to scale and architecture patterns. Think of this deck as an 80/20 rule for the most general and basic of people. Also, 2013 was a very very different world in the cloud and in infrastructure than today.

This deck was all pre-Docker/k8s, pre-Lambda/FaaS, pre-alot-of-cool-db-tech. However as a general starting point a lot of it still holds just fine. You should probably start with a relational DB if you have a more traditional background using them. You probably don't need autoscaling Day 1 (but it's nice via things like ElasticBeanstalk).

Someone commented that metrics/logging/monitoring is a Day 0 thing, and it absolutely is, but it is the kind of thing most companies skimp out on until very late in the game. Not pushing for excellence in this area will block you from success down the line. The same is hiring someone with dedicated Ops/SRE responsibilities, and/or making sure someone on the team has the right experience in that space.

DB growth/scaling is now a lot more transparent than it used to be, but I still see people doing less than ideal things with them. This is an area the industry needs to be sharing more best practices on (while still respecting some of the best practices from decades of SQL).

On costs; today some of the biggest sites in the world run on a public cloud. They do that for many reasons, but cost effectiveness at scale is pretty well proven when measured the right way. Most math ignores people and opportunity cost and that's what get's you more than metal and power. There is also now today the wealth of managed services that equate to replacement of people with a returned value greater than the people cost (essentially the ROI on managed services outpaces the value of you doing it yourself greatly). The SaaS ecosystem is also vastly larger than it was in 2013. I hope to never run a logging cluster, monitoring systems, backup tools, etc, myself again.

Anyway, glad to see this deck still kicks around and that people are discussing it. Happy to try and answer more questions on this. - munns@
It is definitely not whataboutism. Here's a definition for you.

https://en.wikipedia.org/wiki/Whataboutism

I'm not creating a false moral equivalence between European Imperialism and China, I'm refuting it.
UserCV is Launching it's own Virtual Currency under custom Blockchain
All interesting, but if we're talking about typical laptop/desktop users, beside the point, I think. The reality is that the entire computer's performance is not the bottleneck, for most of what a typical user is doing, most of the time. The limitation on performance is either:
1) in the user's head (e.g. a word processor and an author)
2) in the network the computer is attached to (much of what is done on the web)
Getting faster/better performance out of your laptop/desktop won't help any, for the reason that your computer's performance is already not the limiting factor, for most of what a typical user is doing.
Although, this does reinforce the point that adding even more cores to a typical user's laptop/desktop, isn't really accomplishing much, but for much simpler reasons than the issues discussed in the article.
WkWebView is a huge improvement over UIWebView on iOS or WebView on macOS.

However on macOS it is missing one important feature (to me at least) that used to work with WebView:

You can't capture the image of the web browser window any more.

You used to be able to go something like:

NSBitmapImageRep *bitmapdata = [view bitmapImageRepForCachingDisplayInRect: bounds];
[webView cacheDisplayInRect: bounds toBitmapImageRep: bitmapdata];

Or:

[NSView cacheDisplayInRect:(NSRect)rect toBitmapImageRep:(NSBitmapImageRep *)bitmapImageRep]

But that's a synchronous API, and since WkWebView runs in another process, it requires a remote procedure call, so Apple simply returns a blank image from that call now.

https://stackoverflow.com/questions/31969950/wkwebview-cache...

I think the iOS way of capturing a screen snapshot from WkWebView still works, though, but I can't remember off the top of my head...

However, Apple added a new method to Safari, but last time I checked it was only in the beta Safari and not supported in the version installed on the operating system. (When you make a WkWebView it uses some specific framework that's not necessarily the latest beta version of Safari you've installed.)

//iOS
func takeSnapshot(with snapshotConfiguration: WKSnapshotConfiguration?, completionHandler: @escaping (UIImage?, Error?) -> Void)

//macOS
func takeSnapshot(with snapshotConfiguration: WKSnapshotConfiguration?, completionHandler: @escaping (NSImage?, Error?) -> Void)

But the problem with this method is that it takes a totally different rendering path ("this is a software painted snapshot"), so some stuff may look different, and WebGL stuff doesn't appear, and it's a whole lot slower than cacheDisplayInRect used to be).

https://stackoverflow.com/questions/46842384/wkwebkit-takesn...

This bug describes the problem and the issues and the less-than-ideal solution:

https://bugs.webkit.org/show_bug.cgi?id=161450

Summary: [Cocoa] No reliable way to get a snapshot of WKWebView
In the US I believe this is required to be provided by the dr. At least I had no problem finding it. They also have to provide their success rate.

At the time I did it, the cost was about 5k for the high end drs with very high success rates. It was only about 0.5k for the “factory” drs. But they have a much lower success rate. I suspect the higher success rate is due to high candidate rejection rate so they have fewer patients in the queue but charge more. My dr side about 3000 procedures a year. To me that seemed like enough to not be burned out but also be in good practice.

Note that the vast majority of failures means only mean that you still need to wear glasses, not something catastrophic. Also most failures are elegiable to get a second procédure at no cost once they are fully healed (about 6 months).

5 minutes after the procedure my vision was Better than before and continued to improve for about 2 months. The one side effect I had was dry eyes for about 6 months. I just needed eye drops 3-4 times a day.
I quit for a year. Being super gradual is key.

I started measuring my coffee grinds during preparation to the half teaspoon and each two weeks I went down half a teaspoon. I filled in the rest with decaf.
It's rumored to be returning to iPhones via in-display sensor, as that technology matures.
Scheene Weihnachtn from Munich, Germany!
SQL vs. Excel: Cell Reference Syntax
Ran into this type of thing last year. Definitely a weird one to debug by looking at things, but easy to figure out when you print out the dates or read documentation.
Maybe YYYY should be changed to IIII minimizing confusion.

Related article (heavily discussed on HN in the past):

http://rachelbythebay.com/w/2018/04/20/iso/
American's are largely unaware of the IMF and World Bank. It's not something that is mentioned in any huge way. I'd be surprised if more than 15% of the country could give a broad definition of each organization.
Same here, I lived where there is no snow / seasons. Two years ago, I learned snowboarding and I eventually became decent at it. After a trip to Colorado and experiencing the powder, I felt in love with the sport.
This became my favorite sport, it's more efficient than meditation, I'm at peace when going down the slopes. I'm trying to move to Colorado (or California) to be able to practice more.
I feel that the biodiversity is still there, maybe even growing. It’s just that jobs inevitably become obsolete over time.
> They said they could have one of their full time people do the work.

> why might they be so insistent on changing to a flat rate?

It's cheaper for them? Why not just ask them?
Oh! The first look to website - I love it.

I don't think at all, this is waste of time. It's wonderful initiative and I feel this can go long way!

All the best! Let me know, what help are you seeking for? Will share to people on my network. Also sharing this website on our blog.

Cheers
Unfortunately, Rust kept nearly the same design for its `std::io::Read` trait. It only separates the two "error" cases from the three "success" cases, so you still have to check for `ErrorKind::Interrupted` in the error case, and for `Ok(0)` in the success case (and when the passed buffer has zero length, you still can't distinguish between end-of-file and success, though that's not Rust's fault). A better design could have used a return type with more alternatives than just `Ok(n)` or `Err(e)`.
You can always eat more calorie dense foods. I could eat three pints of ice cream on an empty stomach. That’s 4500 calories.
Kids have to wake up very early in America to go to school. 8am start time means you typically have to be ready to walk out the door at 7:30, and that's a pretty good scenario. If you have a longer commute to school, you might be getting up before 7am.

It's pretty tragic, imo, and it's one of the biggest reasons I want opening hours to shift later.
We use graphql-code-generator to make Typescript. We also upload versions of our typescript-query files (written separately from other client TS code) for each published version/branch (e.g. 1.1, 1.2, dev) and then can use an eslint plugin on the graphql server to validate it doesn't break backwards compatibility with existing client-side code (unless intentional). This has definitely saved us more than once.
If you want to dive into some dense research, I recommend learning about afine type systems. Maybe play with Rust a bit too.
its amazing to watch the media try to deflect attention from the true, far more worrisome underlying issue: the Fed has spent twenty years fighting the problems of artificially low interest rates with more and longer durations of low interest rates.

the current meltdown is the result of the economy binging on debt and becoming too reliant on asset valuations. if the Fed raises rates it will crash asset prices...if it fails to raise rates then hyperinflation results

either way the everything bubble will be a crisis for the dollar itself

in late 2019 the Fed will do one final massive round of quantitative easing which will ultimately destroy the dollar

or you can believe this is about Trump or machine trading...if the economy could be saved by powering down some trading boxes, it would have happened in October
How exactly do you find gigs on linked in?
Greece already leases the port of Piraeus to China.
Didn't help much, our country's richest families are shipping magnates.
It would be nice if anywhere at the beginning of the post or around it the author said it was about swift, or that the blog is focused on it.

I understand other languages may have similar problems, but they will certainly have very different formats.
Oh yeah no, I'm not saying I'm done. Just that we have both our sons now and no plans for more. Parenting isn't always hard but it's constant.
It sells the dream of using web developer skills on the desktop, for those who want to develop native apps but don't want to learn new tools/languages.

Square peg, round hole. Electron just gives you a hammer to make it fit anyway :)
Where to share your app promo codes
>China needs a port for their Navy

China already has a naval base in Djibouti near the American one.

And it's not like if China want to use the port to park their military vessels, Kenya somehow would refuse them.

I mean China literally operates their vital railway and terminals.

As for their culture, I'm afraid it's already done.
https://www.nytimes.com/2017/11/05/world/africa/ethiopia-gov...
What Is Pattern Recognition and Why It Matters? Definitive Guide
Does optimum productivity mean that products get built quickly and efficiently? Or does it mean that the products that get built are loved by customers and drive business success?

It's really the latter that in-person collaboration is supposed to help, and I'd argue it is also the latter that is more important to long-term business success.

That said, at some point decisions have to be turned into work, and work benefits from fewer distractions. And IME remote work is better for managing distractions.
A glaring omission in AWS offerings is a NewSQL database that let's you start with SQL, have redundancy and scale horizontally having consistent reads the whole time. Scaling to 10M+ users and then switching datastores makes for good story writeups because it's hard. It's also avoidable.
Ultimate Guide to Web Scraping with Python
I was just thinking something along that vein last night: I was watching Stanley Kubrick's Barry Lyndon and early on there's a part where the main character deserts from the British Army by stealing the horse, uniform, and identity papers of an officer. The identity papers were the interesting part, because it was before photographs, so presumably the only biometric information they contained could have been height, hair color, etc. Once we got photographs, they must have had a huge chilling effect on that sort of thing, much like the spectre of facial recognition that we're facing today, but it's one that's already come and gone. (And by "gone" I mean "wedged itself so firmly in the status quo that we never think about it".)
I'll go ahead and voice some support. My position isn't as extreme, but I do think that case-sensitivity is overused and should not be the default. There are places where it makes sense and should be used, but not many compared to how much it's used in the wild.

This is especially true for programming languages. Case sensitivity means that fooBar and FooBar can be valid identifies in the same scope but refer to different bindings. I see many ways where that can produce an errors and very few (possibly none) where it can help create well-structured code. If the names shadow, clash, or override then the error cases become much easier to see and diagnose.

Honestly one of my favorite tiny things about programming in Lisp is the identifier rules. The caps insensitivity, plus '-' being available because there's no infix operators, means that multi-word identifiers are easier to type (no shift key) and IMHO more aesthetically pleasing than underscores or snake case.
> It's because it's very clear that China's intent with such loans is to create a casus belli for such seizures or create complete economic reliance.

Do you have actual evidence that this was the intention?
It's entirely appropriate. HN should fix its attitude on this issue.
Fallback for Blocked Iframes: A (Crude) Solution with Vue.js
Google Duplex

https://arstechnica.com/gadgets/2018/06/google-duplex-is-cal...
Guitarrist here, played hundreds or thousands of standards gigs.

It's true that you can assume that good musicians will play a tune in any given key.
However, I think in the real world nobody plays equally well in all keys. Also, even for instrumentalists, things don't lay the same way in different keys. Sometimes people intentionally call tunes in uncommon keys to force them off the beaten path, which is telling.

I think singers should be able to sing in all keys, just like everybody else.
That said, in a jam session, student practice or other informal setting it's recommended that the singer brings sheet music for everyone for other keys than the "usual one". Also nowadays people will reach for their cell phone and "real book" app.

On the other hand, I won't be caught reading standards off the paper in public, so there's that too.
That's where the subcontractor community is problematic.

If Amazon.com has compliance problems, it will get fixed. If Joe's Delivery Service has problems, they vanish and Joseph's Delivery Service pops up.

This became apparent when Chinatown busses were at their peak problem -- the "Lucky Dragon Bus Company 43" would replace the "Double Happiness Bus 24" within hours of regulatory action.
Because IP is so much more valuable than lives the Chinese helped save while the west offered nothing (except for even way worse deals through the IMF and WB).
Well that's what I would call

> not perfect

They have potholes and narrow lanes, but I've seen potholes you could sleep in some places outside the UK.
Just use gtk WebKit or qt WebKit and you’re good to go.

For the record, WebKit originated from KDE[1].

[1] https://en.m.wikipedia.org/wiki/WebKit
The Role of Trust in Simulation
Thank you for pointing out.
I haven't used such tools, but with editor support we can do furthermore.

Type information can be perfectly inferred from the schema. I agree though.
My experience is mostly in NYC, so I can speak to that. Our experiences sound basically the same, though I can confirm that NYC generally expects a level of proficiency higher than just about anywhere else.

Yeah, I am so happy with about the last +/- decade of jazz's development. The crusty OG's yelling "get off the bandstand!" are dying out, and like you said, there's so much more focus on original compositions, and thus actually having rehearsal time (instead of just showing up to a gig and being expected to read everything -- though that's still super common, even with originals, in NYC. That was why I got work: I'm a guitarist who's a good sight-reader) And there's much more support amongst the players (albeit above a certain level of expected proficiency -- you gotta "join the club" still).

Overall it's nice to see. Much more positive and supportive while making (IMO) way more interesting and better music, pushing the genre forward rather than wallowing in dick-measuring contests.
On Human-Computer Interaction
NativeScript is cool -- I really like it.

But as far as I understand it, there's a bit of a fatal problem going forward on iOS, last time I looked at it a year or so ago (I'd be thrilled if they've come up with a way to address this problem):

The iOS NativeScript bridge uses the old deprecated UIWebView and JavaScriptCore's Objective C integration stuff that lets you directly call back and forth between Objective C and JavaScript.

However, that Objective C bridging stuff is not supported on WkWebView, since it runs in a separate process, and has a different way of sending messages to the web browser, but not calling native code directly or passing pointers to objects or buffers in memory.

Why would you want to do that? To get direct access to an array of binary floating point numbers, or the pixels of a canvas or WebGL texture, instead of converting to and from JSON, or serializing images as data urls with base 64 encoded png files, for example. (Yech!)

You can send messages back and forth to WkWebKit, but that's vastly less performant than the direct calling UIWebKit JavaScriptCore bridging stuff, which operates in the same process and memory space.

And the NativeScript iOS integration layer is totally dependent (built on top of) on the way the JavaScriptCore bridging stuff works, and would have to be completely rewritten from scratch (and be much less efficient and require a lot more plumbing on both sides), in order to support that kind of out-of-process messaging to WkWebKit.

The great thing about NativeScript is that gives you has such an efficient high bandwidth interface to native code from JavaScript. But it just necessarily uses an old crappy JavaScript engine with no JIT.

One of the best thing about using WkWebKit is that the Just In Time compiler is enabled, so it's blazingly faster than running JavaScriptCore in the same process (which has it disabled, since non-Apple apps aren't allowed to write to code memory).

Of course it depends on how much of your application is written in JavaScript and would benefit from the JIT, and how much it depends on calling and sending data back and forth between native code and JavaScript. But the NativeScript way of doing things makes many assumptions that would make it very slow with RPC messaging instead of direct calling.

PhoneGap/Cordova is fine using WkWebKit because it uses a JSON messaging interface in the first place, not the more efficient higher bandwidth Objective C bridging stuff. It's JavaScript/Objective C bridge is much simpler than NativeScript, and people don't use it the same way that NativeScript is designed to be used.

NativeScript, as cool and amazing as it is, is deeply tied to old technology on iOS, JavaScriptCore and UIWebKit.
Colonisation has begun, all in the excuse of "one road, one belt"
Risky business: linking Toxoplasma infection and entrepreneurship behavior
The NBA on Christmas Every Year – Knicks Play Every Christmas Day
And yet I still think that computer programming, and solving computer problems, requires a high tolerance for boring drudgery...

Imagine teaching coding skills to an impatient friend. “Okay, today we’re going to learn about Node package management and resolving merge conflicts!”
6 months ago the target was Russia. Basically blamed for everything. Now it's China.

Funny that the China bashing articles started to appear more frequently at the same time the US government switched aim from Russia to China too.

Coincidence?
I mean Greece is selling EU permanent residency to Chinese for 250K euros (property purchse), you can take with you all your parents and kids, best of all, it doesn't require you to actually live there to get it.