skysight-inc/HackerNews huggingface dataset:
Ask HN: Using React with Golang? and does it make sense?
Correct me if I'm wrong, but in serving web apps and sites.

Golang simply fills in the blanks for predefined templates on the server with the response replacing the content in its entirety on the client.

React appears to be a bit more complicated requiring the creation of JavaScript/JSX classes representing the view. Having that rendered on the server and the difference applied on the client.

To combine the two, do I need to run Node.js on the server to process the React/JSX classes before piping the results to Golang for responding to the client? So Golang would be the conduit (or middle-man) filling in for Express.js here.

Does this even make sense? If I'm already running Node.js, does the use of Golang feel superfluous?
I use it because I don't want google to snoop on my browsing habits, and Firefox is the less shitty FOSS browser to my knowledge.
I think he means that even if you have the money, you need to be a member of a financial institution to be allowed access.
IIRC, the Anova cooking was originally one guy at the lab devices company that saw the Nomiku or Polyscience and said, "we can do that" and started basically doing this as a side business.

I hope he got a bonus at least.
The amount of money they made from that data is probably orders of magnitude more than the paltry $2.2 million penalty.

I hate to get all paranoid, but it seems like every day there's news of a company's data being hacked, and what information isn't being hacked is being actively sold.

What can an average citizen do (short of living Ron Swanson-style in a cabin in the woods) to protect their privacy?
You said you ate mostly bacon. Bacon is a processed red meat.
I'm currently in Buenos Aires and went to a pub last night. It was packed and the game was on. So yes, people watch it abroad.
I put the distinction at "more than 1" because that's the point where you need to deal with code that isn't your own.

(In theory of course your buddy could use a style and feature-set really close to your own and make it all a nice abstracted API so you don't need to look inside etc, but you get my point)
>> university costs 150$ for 6 month.

This is not a German miracle, its simple demographics, most of the Germans are in their productive years of 40s and 50s and their population in teens and 20s is tiny, so their investments are low even though at per-capita level they look tremendous. This is the reason why Germany's hope is automation. They are demographically not in a great place. of course, this will come home to roost in 20 years or so.

[edit] Demographics link: http://www.indexmundi.com/germany/age_structure.html
They were all garbage collected, which is a dealbreaker for some applications. Rust aims to fit that niche (though if the Rust Evangelism Strike Force is to be believed, Rust fits every niche). Substructural type systems akin to Rust's affine types have been relegated to research for a while.
I'm honestly not sure, I thought it was a canonical abbreviation as a lot of the training docs I've seen use it.
A good link will get votes, and rise to the front page. You have to have faith in that process -- and in the link.

Also, Hacker News readers tend to have a really narrow focus on the world of professional programming. I think part of submitting links is accepting that the community may just not be interested in every link, and being okay with that.
I can't speak to personal experience since I've only dabbled in Rust, but I have followed it for quite a while and lately I have read more and more how how Rust forces you to structure your data and program in such a way that is more maintainable.
Call (not email, not Twitter) your Congressional representatives and remind them. Agencies act within laws which make certain things easier or harder and they're probably going to settle if the alternative is a lot more work.
it more like 99% of the time and as long you don't go near new or malloc you generally can't leak.

Then with RAII you can clean up any kind of resource. Most languages have pretty rudimentary tools for closing files and worse for releasing mutexes. These tasks are almost easy to get right in modern C++.
Sometimes "fuck" isn't emotionally charged. Sometimes it's just the more accurate term.
Understood, and makes sense. But even variable rate mortgages in US do not require maintaining equity threshold, do they? Maybe also consequence of govt guarantee. Though I wonder what Canadian central bank would do if it finds itself in the same situation of mass mortgage defaults/underwater mortgages as happened in US - I suspect they would also opt for one or another form of bailout, thus implementing implied, if not explicit, guarantee.

Tax breaks of course is another thing that massively influences US mortgages. I probably would never take my current mortgage if not the interest tax break.
Nowadays, if the ads are your draw, just watching them on YouTube is a lot easier.
http://www.myce.com/news/users-fix-samsung-smart-tv-time-two...

( See comments about said Samsung TVs ) - https://news.ycombinator.com/item?id=13581771
Pretty sure F# adoption dwarfs rust.
No. No. No.
:-)
I like my action sports, but I do find curling really compelling to watch, it's extremely tactical. Curling is the only sport I care about in the winter olympics.
Non-Rust-user here. I tried Rust about a year ago and gave up on it as not ready. Unfortunately, I don't think this roadmap addresses the problems that made me reject it the first time around.

The main problem I have with Rust is that it's not up to the task of dealing with C APIs, particularly POSIX. The issue I got stuck on was https://www.reddit.com/r/rust/comments/47a0s3/dealing_with_v... . There are two possible things Rust could do that would make me give it a second chance: either commit to maintaining bindings for all of POSIX and libc as part of Rust core, or fold rust-bindgen into core and get it into shape.

Creating higher-level libraries like Tokio is nice for some use cases, but right now Rust doesn't have a working safety valve for things C can do that Rust can't. This greatly magnifies problems like lack of bindings for select() (see http://esr.ibiblio.org/?p=7294&cpage=1 ; I too ran into that problem, and lost a few days to it.)
RISC-V port merged into GCC
At first my distaste for AMP has been as a user: broken inertial scrolling, wasted space, and broken links.

But as I learn about it AMP becomes even more distasteful. Waiting for an intermediary to forward analytics to you is horrific.

What's going on at Google these days? Everything about AMP sounds like a bald-faced attempt to destroy the web. At every point there are horribly unjustified architectural decisions that hurt the web but also help Google.
Onimusha Dawn of Dreams: Oni Mode Gameplay Part 90 (Roberto Dark Realm 1-100)
Why would someone trying to learn Rust be interested in a web framework? I think they ought to learn how Rust works first, or they'll just be more confused.
In that case C++ has garbage collection too with std::shared_ptr. I guess 1 is a count too so also with std::unique_ptr.
As a business decision, it's outsourcing expertise of the platforms to Facebook, which has plenty of resourses working on the problem. True it's been the holy grail as long as I've been a web dev, but outside of a bit of platform lock in risk it seems like it's come a long way with relatively simple apps like Instagram. It's trading expense for risk.
There were a bunch of papers: http://www.sciencedirect.com/science/article/pii/0888613X949...
If this is the related the Cisco clock signal component issue. Cisco is handling it in a really poor way. No replacements unless its under warranty even though its a known issue.

http://www.cisco.com/c/en/us/support/web/clock-signal.html#~...
Where did you watch the stream? We watched it on the Fox Sports Go app on our Roku and it had all the commercials. It was identical to watching the game on Fox.
If you're waiting for employees to leave, you're waiting too long.

Raises, bonuses, cost of living adjustments; all are part of how you attempt to retain talent. If you're hiring coding cogs, then no, you don't need to give any raises. Just hire at the market rate and plan for 50% attrition every year.

But if you want to keep your employees for more than a few years, you pay them more than the market rate. You match the cost of living increases, you give them performance bonuses, and you give them a minimum of 5-10% raises annually. Bonus points if you recognize that ass-in-seat time is not a good proxy for performance.

Do that, and they won't leave because they aren't getting paid commensurately with their skills. Still need to give them interesting work, though.
But once you've optimized those sections, the rest of the performance problems are left scattered through your code. I've had to rewrite a system in C++ just a few weeks away from shipping because even after optimizing all the performance-critical sections, we still needed that extra 15% or so of "ambient" performance.
Because OpenVZ has a philosophy of the container as a simple VM running many processes just like a server does, but Docker is being developed as a container which runs one process which only communicated with other processes through defined interfaces which you configure when you create the container. Docker makes it easier to scale up and down, and to move stuff bewteen servers, but you need to do more work up front.

There never is one true solution that works for everything. Typically, there are solutions which work well for all the small stuff but not so good for a few big things. Docker works great for all the small stuff. A mission critical database is often the one big thing that is the exception.

Also, Docker is not the only way to handle all the small things. LXD works well. Some companies can live on AWS Lambda Functions. Looking for the Holy Grail of one ring to do it all and in the darkness bind them makes for an interesting lifelong quest, but IMHO you will never get there.
The younger generations don't purchase cable television. It's netflix and youtube for almost all video.

The NFL comes with a heavy price that most consumers won't pay unless it comes in a standard package.

NFL needs to end their exclusive deals with satellite providers and find a mainstream platform to stream on if they're going to be relevant in the future.
Epilepsy trigger warning.
Traditional blogging.

Hence why we're working on improving the blogging experience that hasn't changed and/or improved much in almost 2 decades.

Our "manifesto" explains it in full here: http://blogenhancement.com/?to=manifesto
> But this is exactly my point. The fact that our observations have finite precision doesn't say anything about the underlying reality. That's the part that you're asserting.

I'm not sure what you think I've asserted, but my only actual assertions are that all of modern physics requires only computable abstractions, and thus, continuous abstractions aren't strictly necessary.

I can certainly make the case that a continuous ontology requires more ontological commitments than a discrete ontology, but I haven't said anything along those lines thus far.

> If it also turns out that assuming the underlying system is continuous results in much more compact theories than assuming otherwise, why is the obvious conclusion that spacetime is in fact discrete?

What is the meaning of "compactness"? A proper comparison of theoretical parsimony requires comparing the Kolmogorov complexity. Compressing ontologies positing reals and/or rationals are definitely less parsimonious than ontologies positing only naturals.
There is unofficial Realm Cordova support being done by the community: https://github.com/airamrguez/cordova-plugin-realm
It's pretty much the reason for segfaults and use-after-free issues (which manifest as either memory corruption or security vulns) in reasonably sized codebases - without a good understanding of ownership, it's non-obvious when a pointer is supposed to become invalid, and if that doesn't match up with when the data is actually freed, you have an issue that's hard to track down later.

If you're using a language with garbage collection, it's obviously not going to result in segfaults, but you can still run into logic errors when part of your code assumes that it's done dealing with a piece of data and another part has a different idea. More generally, if your object is stored in multiple places in your code, you have to remember to clean up all references to it properly, in all the different states your system can be in, and your compiler can't verify you're doing that correctly without a borrow checker.
Kodi 17 released with new UI
Cool, their logo even looks like my map. Nice to see they didn't have Stockholm, I hate it when I make something only to discover theres a nicer one out there already...
It seems he forgot about one aspect: security. How do you limit the data-stream to agents which should not have access to the full data, while still allowing them to read/write to parts of the data they should have access to?
This is not what people are talking about when they say it doesn't have a garbage collector.
I watched the Superbowl last night for the first time, and I can assure you that even the worst football (yes, football) matches have nowhere near as many ads.
It's definitely niche in the US.
The Avoton? Shame, really, it seems like a great board otherwise.
A "refinance" means someone (which may be your original bank or someone else) lends you the balance to pay off your old loan, and you pay the new loan.

There's not really a loss, since the terms of your old loan allowed the early repayment.
Experience would suggest the chances of the data being encrypted are very low.
> I wonder how many technical teams are scrambling to undo their spying now

I bet the one that truly have to worry in terms of size calculated that the cost of undoing it will overweight the cost of eventual penalty, underscoring word "eventual".
> and gun rights are literally part of the foundation of the U.S. There's no reason to fight it.

This is a horrible way of thinking. Times change, just because something made sense in the 1700's doesn't mean it makes sense today. Every generation has a right to change the laws it lives under to better reflect the reality of the world they live in, the Constitution is not a sacred text that can't be disagreed with, it's just laws, and it's changeable. There is every reason to fight that which no longer makes sense. The second amendment was written in an era where muskets were state of the art; unrestricted access to arms hasn't made sense in a hundred years.
I need something similar to Coinbase where I can attach a card and just buy some BTC without all the KYC BS you see in Coinbase. There has to be something like that which is heavily vetted by the BTC community? I've seen local bitcoins, but I want to keep everything as virtual as possible.
It's not worth buying any of these 'Smart' TVs. I don't know whether it is a shoddy developer experience provided by the likes of Samsung / Vizeo etc or if it's the developers themselves (Hulu I'm looking at you) who do not maintain their apps which are constantly bug filled.

I much prefer my old dumb TV that has a Roku plugged into it. Oh yeah, and I know it's not WATCHING ME.
Now that we know what they did the class action lawsuits should follow. If your concerned about privacy don't connect your TV to the Internet. Treat it like the dumb screen it's supposed to be and just cast or route content to it.
Did you try the nix crate? It looks like maybe not. It should have all of that stuff already wrapped for you. For example: https://docs.rs/nix/0.7.0/nix/sys/termios/fn.tcgetattr.html (select is in there too https://docs.rs/nix/0.7.0/nix/sys/select/fn.select.html )

rust-bindgen has been improving a ton, and it is in fact on that roadmap, under

> Integration with other languages, running the gamut from C to JavaScript.
I see DNS issues with SmartHub, etc.. but I don't see anyone suggesting that Samsung is capturing image data and sending it back? Not saying they aren't, but as an owner of two Samsung TVs, I'd be interested in any real evidence of them doing this type of thing..
Why wouldn't that data be encrypted?

Because manufacturers are rubbish?

http://www.theregister.co.uk/2015/02/17/samsung_smart_tv_pri...
​Obfsproxy can get around the great firewall of China's DPI. I assume it would work for this use case.

I imagine this would work in the same manner as long distance cards back in the day. The VPN provider would buy "fast lane" access and sell connections to it's users.

https://blog.torproject.org/blog/obfsproxy-next-step-censors...
I still love 'with-open-file and its sisters in LISP. Get that resource in one line and it's guaranteed to be cleaned up right without ever thinking about it again. Then you have total freedom to use it however you want and the results destructure themselves.
The criticism of AMP I keep seeing is that "because it uses weird HTML, it must be proprietary and designed for lock-in". But because WebComponents allow you to extend HTML by introducing new elements, it's actually completely standards compliant in HTML5.

Based on the parent comment's criticism that it's designed for "lock-in" (without any elaboration), that's the argument I was addressing.
CIA Declassified Coldwar Russian Jokes [pdf]
I also donated... I haven't been able to use it in a workplace project (yet), but have to say following several of the issues/resolutions, it would be my first choice today for most scenarios.
Since you mentioned union fs then you are not using upstream kernel, most likely you are blaming your non-enterprise distribution choices on containers technology.

Fact #1 redhat do have enterprise docker container based solutions. Check project atomic and openshift

Fact #2 cloud providers like google, azure and amazon do have container basef solutions

Fact #3 coreos do have production grade docker based solutions

Fact #4 kubernetes do support pet pods aka stateful pods and can get data volume from reliable ebs or ceph
This is why you do not use a smart TV: Nefarious data collection on what you watch and Samsungs are known to demand to show ads or else. https://news.ycombinator.com/item?id=13585132 https://www.extremetech.com/electronics/241500-samsung-smart... http://www.techtimes.com/articles/190222/20161227/samsung-sm...

I'm also, for political reasons, suspicious of the FTC's willingness to pursue such cases in the future.
That's what I was doing, because I hate scrolling on AMP pages.

However it also made Google useless. I may see an interesting page, but then notice that it had the AMP stamp, and no (visible) way to get the non-AMP page.

AMP made Google useless for me. Then I discovered DDG. And now I use DDG as the default search everywhere, because I get more relevant results than with Google! So I guess I should thank Google for ruining their search with AMP and opening my eyes to alternatives.
You're supporting the GP's thesis - he's saying that right-to-work laws depress wages...
Do you really think there's much expense to having two code bases for simple apps (as you said) like Instagram?

If these apps are written properly most (all) of any custom logic is done server side and they are just presentational only.

In addition, a good developer/engineer/team that's properly focused on mobile (the size of the team of Instagram) should have absolutely no problem supporting two native codebases.
Firefox is fully open source, does what I want it to. Syncs where I want it to if I choose to sync it. Allows me to run extensions on my Android device (Chrome doesn't). Is more customizable. And it works better portably (not installed into ProgramFiles running from a USB device or synced cloud folder).

Chrome on Windows locks all your saved passwords, extensions, and extension settings to your current OS. If you upgrade to a new PC and copy your APPDATA over, Chrome will unceremoniously delete all your passwords and extension data with no warning.

Chrome on Windows also allows any website to download infected DLLs to the local machine's download directory without prompting. If you then download a trusted digitally signed installer and run it from that download directory, it'll use those infected DLLs unless it specifically hard codes their locations (newer versions of NSIS are safe from this, older versions of NSIS - which are much more common - are vulnerable).

IE and Edge... no thanks.
Contribute to Public Knowledge; the EFF and ACLU are good in their own rights, but PK has attorneys representing a consumer-friendly stance in pretty much every major FCC proceeding. They're the best suited for this fight.

As for Pai, do you remember how much pressure Wheeler had on him? When he wanted to do halfassed net neutrality rules, people were furious. Like, confronting him in his driveway furious. That same spirit needs to be kept here; apathy is going to fuck us pretty hard.

Also, find any FCC proceedings dealing with net neutrality as an issue, and file a comment; explain to them why striking down net neutrality is a bad idea. When they have commission meetings, they have to elaborate on why they didn't choose a certain way of doing things, and the more people who file comments, the harder that'll be. That makes it more likely for them to try and push the Communications Act rewrite the Republican party is planning through the Senate, which can still likely be filibustered.

Just remember though; a lot of the FCC employees are probably having the same bleak thoughts we are right now. We need to make it known they're not alone.
Memory management? Every ML implementation I know about uses GC, which is frequently just too slow. Along with many other reasons (http://www.podval.org/~sds/ocaml-sucks.html)
Onimusha Dawn of Dreams: Oni Mode Gameplay Part 89 (Roberto Dark Realm 1-100)
I am assuming this is coming from an Android point of view? If not, we do support passing what changed in the notifications for all the other platforms now. We call it "collection notifications" for example with JS: https://realm.io/docs/javascript/latest/#collection-notifica...

Android support is coming in a matter of weeks, so stay tuned.
A lot of that commenter's points are really diatribes without fully understanding RN, or the 3rd party environment around it.

The absolute biggest con with RN is performance. Redux and aggressive shouldComponentUpdates are your friends here. Airbnb's Lottie library (and FB's keyframes) can help with complex animations and the bad perf associated with those.

The dev tradeoffs are 100% worth it.

The end-product tradeoffs are 95% worth it.

We've had to do some things in-house to circumvent some RN bugs, but that time spent there pales by multiple orders of magnitude in comparison to the time saved by starting a cross-platform app from scratch with RN.
"orders of magnitude more" ? As in, ~$200m? No chance.

With a little bit of industry knowledge, I would posit that they made roughly the same quantum as the fine.
Local loop unbundling https://en.wikipedia.org/wiki/Local-loop_unbundling
But how does this compare to other professions say a lawyer or a medical doctor with the same experience.

I suspect in Europe and the UK in particular engineering is seen as a lower status profession - may be less so in Germany
> People are buying hardware synths (which are just computers running software) only because software on these embedded computers runs reliably, but VSTs crash, freeze every time and require hardware license keys plugged into parallel port.

I only know about guitar pedals, but aren't a good portion of these analog through and through?
> 50K€ have the same purchasing power of 150k$ in SF

You can't compare the entire EU to one of the most expensive cities in the world - in spite of what the media may have you believe, most people in the US don't live in San Francisco or New York.
The NFL is the only reason I still have cable tv. If I could get any kind of reception for over-the-air TV, I'd dump the basic package I still have, but I'm just far enough away from where Fox, CBS and NBC locals broadcast from to make that practical.