HNHacker News
TopNewBestAskShowJobs

positivecomment

292 karma · joined November 1, 2016

submissionscomments
positivecomment··on XS7 – A compact JavaScript engine for embedded applications
I meant in the context of the GUI, then all data would be exchanged through the native bindings.
positivecomment··on XS7 – A compact JavaScript engine for embedded applications
This is very cool. I hope one day someone creates a basic DOM for this with good CSS support and then we'd have the mini-electron. I hope that a very limited subset of the features of a browser (no downloads, tabs, networking, security contexts and everything else which would be irrelevant for desktop apps) can be implemented with few orders of magnitude less lines of code.
positivecomment··on [dead]
The funny thing is, many people there believe that Turkey is one of the most advanced economies. The propaganda machine is amazingly successful. The person you are replying to has access to all the information to see how wrong those arguments are, yet simply ignores everything. I said funny but I mean more like a tragicomedy.
positivecomment··on [dead]
That would not be allowed in Islam.
positivecomment··on [dead]
Does it still look wonderful:

https://www.google.de/publicdata/explore?ds=d5bncppjof8f9_&m...

Also, I searched for the Kurdish support: https://i.imgur.com/bWnm5Sb.png

I can say that I wasn't surprised.

positivecomment··on Unknown Mozilla dev addon "Looking Glass 1.0.3" on browser
Could you please be more clear? I disabled all my extensions and still don't see anything there that is based on feelings?
positivecomment··on Unknown Mozilla dev addon "Looking Glass 1.0.3" on browser
Out of literally all the software vendors I know, including the one I'm working for, Mozilla is the one I'd have least expected to allow such a thing. I'm very surprised (Negatively, needless to say)
positivecomment··on Ask HN: Best tech for a web site 2018? (PHP, Rails, Django, Node, Go, etc.)?
I think everything was beta-quality until 2.0 - so yeah it wasn't easy. Nowadays it's smooth sailing.
positivecomment··on Couple Proves Facebook Listens in on Conversations with Simple Experiment
Custom CAs being ignored for the applications makes it a bit difficult so not trivial but possible by modifying the app.
positivecomment··on Face ID beaten by mask
This is the infamous "nothing to hide" argument in a different form.
positivecomment··on Ask HN: Best tech for a web site 2018? (PHP, Rails, Django, Node, Go, etc.)?
I made a prototype using .NET Core MVC + Entity Framework + Npgsql + Autofac (Probably better IoC containers available out there but I'm used to Autofac open to suggestions btw).

It was very easy to develop, test and deploy. Npgsql has support for most of the postgres features (except complex types but that's planned).

I deployed everything on Ubuntu servers and runs like a champ. (I'm saying prototype and it is indeed, but it has 100-something users across the globe testing their workflows continuously and it has a lot of CPU-intensive stuff which is child's play with .NET to manage asynchronously. A production app would have two orders of magnitude more users but I think I'll be able to get away with a single server if it comes to that).

positivecomment··on Face ID beaten by mask
> Because... we are the leading cyber security firm ;)

But you don't even use HTTPS. Why?

positivecomment··on Show HN: Orange Forum – Web 1.0 style forum written in Go
Here is one:

https://nodejs.org/en/about/

My point is, you can write any kind of app with almost any kind of server-side tech. If you don't like the culture, you may be right, but please be explicit about it.

positivecomment··on Sick of Ruby, dynamic typing, side effects, and object-orientation (2014)
I didn't say better. I said "more powerful" and I said that in terms of expressive power.

C#'s type system is usually better except from the times that I feel creative. Works perfectly for large codebases with many changes. Not fun for side-projects.

positivecomment··on Sick of Ruby, dynamic typing, side effects, and object-orientation (2014)
Couldn't agree more. And if you need to make it more concrete, Typescript gives you that and more. Well except the variadic generic types which they are planning to have.

I don't like node.js, but I occasionally use Typescript like a more powerful C#.

positivecomment··on Write tests. Not too many. Mostly integration
That would suck, on the other hand, the extension methods make people create huge chains continuations of which comes from who knows where.

Best solution would have been a pipe operator if you ask me.

positivecomment··on Netflix: Removing client-side React.js improved performance by 50%
A butterfly is way more complex than React.js.
positivecomment··on Netflix: Removing client-side React.js improved performance by 50%
You would be right but they mean the damn landing page :)
positivecomment··on Netflix: Removing client-side React.js improved performance by 50%
Today we learned: Removing an advanced library from a simple project increases performance.

Sorry for being sarcastic but don't you also find this too obvious?

positivecomment··on Write tests. Not too many. Mostly integration
> Shoot the reviewer

Duly noted! Although I'll try talking to her first, I'm sure there's more behind the decision :)

One of the methods that was inside takes a request, extracts the body and returns the parsed graph from the body. It's used by many controllers from many projects. I don't know where to put such a thing, hence the request extension.

positivecomment··on Massachusetts is considering leaving the Eastern Time Zone
Somewhere along the way to 10s, we lost the work flexibility. "I took care of my kids for 5 years" gets your CV discarded in an instant. So both parents, not always because they need the money, but very frequently because they're afraid to lose their career, choose to keep working.
positivecomment··on Write tests. Not too many. Mostly integration
> as much as you can into static helper functions and most of the rest into dumb private stateless functions

In our work we use C# and it is very hard, even next to impossible to make a static class pass a code review - given it's not for extension methods (which I hate... why not be explicit about the first parameter and stop acting as a part of the class </rant>). They just tell us to use IoC and move to the next point. I honestly don't know why. Our IoC library can treat a dependency as static or singleton, but those are also discouraged. Once I had a static class named GraphRequestHelpers* and the reviewer got really negative, FSM knows why. She told me that we need IoC to make everything testable and "Helper" in the name is a code-smell. Sounds cargo-culting to me but I have only 6 years of experience so who I am to know.

* Now we have RequestExtensions and everything is apparently perfect.

positivecomment··on Show HN: JSRobot – A platform game you play by coding in JavaScript
Exactly, the function should not be responsible to see if robot.action has any existing value. It should just return an action depending on the state.
positivecomment··on China Bans Foreign Waste – What Will Happen to the World's Recycling?
What percentage of recycling industry is owned by packaging industry? Are there any examples?

Why doesn't recycling fully work?

Is the garbage generated from packaging higher in the countries where more recycling is made?

Sources with data and numbers would be very welcome.

positivecomment··on China Bans Foreign Waste – What Will Happen to the World's Recycling?
He/she doesn't say that it does. I read the whole thing as "you sound passionate about this, I agree with your suspicions, why not bring some sources".
positivecomment··on China Bans Foreign Waste – What Will Happen to the World's Recycling?
I'm sorry but you're presenting us just some anecdotal evidence. Where I'm living, there's no obvious evidence to show that recycling doesn't work. These don't prove anything.
positivecomment··on F-Droid 1.0 released
Well, I do cloud-sync but it's super helpful. I don't know if SK would be SK without cloud-sync.
positivecomment··on Compute Engine machine types with up to 96 vCPUs and 624GB of memory
Could be useful if you wrote your neural net with Applescript, I guess.
positivecomment··on Limit Internet access until your child makes progress on educational sites
".org" domain suggests (to me, at least) that this is a free service, however, it won't stay free.

There is no information about how it works, let alone some technical aspects - interesting, especially considering the name. About link doesn't work as well.

positivecomment··on Britain Moves to Criminalize Reading Extremist Material on the Internet
Apparently "all the censorship comes from the left" is the new "there is no global warming".
Page 1 of 3Next →