News for hackers. Stuff that matters.

data37

Re:You’re How Old? We’ll Be in Touch on Monday September 05, 2016 @09:41AM (#12430226)
You! - you are my master!! (bows to you)

Ask HN: Can a blockchain do this?

I'm checking if a blockchain is applicable to our project.In our requirement, a supplier and a buyer get into a work agreement. Later, supplier could claim that they have delivered according to the contract. But buyer could say that the delivery did not meet the quality norms as per the agreement.I guess such situations are taken to court if big money is involved. Instead, can a technical...

( Read More... | 3 comments | 2 points | on HN )
Re:Don't start a tech product startup on Sunday August 28, 2016 @12:10PM (#12377062)
You think YC Combinator is not motivated by money or fame? Then what is it? What drives it? Desire for anonymous charity?

The point of that blog was to give a down-to-earth assessment of life's choices and guidance on gambling on those choices. Do you know how big is the percentage of youngsters slogging in those exciting startups due to lack of access to truths and guidance? Do you still believe the work-life in these startups is the life to dream of?

We are talking about an average and most common startups which keep trumpeting forever to its employees about the bright future just around the corner. Not the already-successful ones.

Re:What Golang Is and Is Not on Sunday August 21, 2016 @12:46PM (#12331542)
Java is battle-hardened and has seen almost every situation in the business programming. Go has miles to go before it can even be eligible to be compared to Java in terms of productivity and maintainability.
Re:Ask HN: What web framework should I use nowadays? on Saturday August 20, 2016 @11:22PM (#12329242)
Sure - Will publish to github and post here. For a brief note, the java servlets use Google's gson for interfacing wih web requests. Beyond that it is all plain old JDBC with sqlite. That is all to the "API" part of our service :-)
Re:Ask HN: What web framework should I use nowadays? on Saturday August 20, 2016 @11:03PM (#12329212)
It depends on what you mean by a "website". You need to understand that a web application need to have a client-side (managing user interaction) and a server-side (mostly fetching data). Java is still more popular than any other technology for the server-side part. May be you should read more. And think more.
Re:Ask HN: What web framework should I use nowadays? on Saturday August 20, 2016 @11:04AM (#12326897)
NodeJS rev proxy allows custom logic after intercepting requests - all in javascript. Not sure if NGinx would allow that. But yes, I would probably move to Nginx in near future for its tomcat-like robustness.
Re:Ask HN: What web framework should I use nowadays? on Saturday August 20, 2016 @09:04AM (#12326388)
Here is what I settled with for my website after trying a few things over the years. In the process I have discarded nodejs, JAX-RS, maven, Undertow, JQuery, bootstrap (partially) etc.

Currently, pure java servlets serve json over REST-like API. The jar dependencies are servlet-api.jar, a couple of json-related jars and an sqlite jar. Multiple fine-grained sqlite files for data. Tomcat as the servlet container with no static content.

A nodejs reverse proxy forks the API and static web requests between tomcat and another nodejs static webserver. The static content is angualrjs + html + css with minimal and reusable js files mostly fetching json data. I also have a little bootstrap dependency for forms.

I have an apache ant build file that copies the ~60kb war file and static content directly to the production from my dev system. Tried maven before but Ant seemed much simpler and more than enough for my needs. The ant build does a lot other things also.

I use Eclipse for the easy navigability across the code and other nice refactoring features. Ant does all the build work.

Earlier I tried pure nodejs (no java), then JAX-RS and then Undertow container etc. Nothing seemed simpler than the current setup. By the way, the site is https://worktheme.com

Re:Idea thread, share your product ideas here on Sunday August 07, 2016 @10:01AM (#12242094)
Make a product that keeps reminding and preaching people to be people - the biological creatures. To try to break the shackles of dependencies on technology, knowledge, awareness, reputation and more importantly, perfection.
Re:Hello from Orkut on Sunday August 07, 2016 @07:04AM (#12241742)
People don't need more connectivity. Excess of anything is bad. Social networks and connectivity is already in the realm of being evil and eating away all the time from people's lives.
Re:Ask HN: How to easily check if two words are too close on Friday August 05, 2016 @05:15AM (#12230926)
aha - got another idea. I'll just use a different format to display the admin comments. So the imposter can't mimic the format, though they can use the same username.
Re:Ask HN: How to easily check if two words are too close on Friday August 05, 2016 @04:03AM (#12230714)
Yes. I'm actually looking for simpler implementations for use at https://worktheme.com

Ask HN: How to easily check if two words are too close

I have a comments section for my web site. But I didn't setup a signup or email validation for posting comments.Now the issue is, when people ask questions I would like to answer as the site admin, but what if someone else also posts a comment using my username?The strategy I'm thinking:If someone tries to post with the site admin username, the code rejects it saying that the username is...

( Read More... | 5 comments | 2 points | on HN )
Re:Summarizing service for Mongodb log files on Wednesday August 03, 2016 @01:18PM (#12219654)
Updated the service to include the recent feedback from several HN users. By the way, this is a mongodb log file summarizing service. It provides full visibility into several aspects of the query performance, such as most impacting queries and slowest queries.
Re:Show HN: What do you think of my Mongo Logs Utility? on Friday July 29, 2016 @10:04PM (#12191306)
No setup is required. After signup, just click on "add a log file" and select a log file. The log lines will be parsed inside the browser itself (javascript) and the query profile info (query time etc) is used for creating the reports.

Thanks! I will see if anything else need to be added to the FAQ, and definitely add more screenshots.

Re:Blockchains can’t stop counterfeits on Friday July 29, 2016 @09:09AM (#12186553)
The problem is, blockchain has little role to play in connecting the physical world to digital world in a full-proof way. Attaching a digital identity to a physical object and verifying it, is still a huge problem.
Re:Show HN: What do you think of my Mongo Logs Utility? on Thursday July 28, 2016 @11:20PM (#12184858)
Just a little tool to get summarised views of Mongo log files to quickly understand what's going on.

Haven't added any graphs yet, but I'm already very dependent on these reports in my consulting work. So thought others could find it useful too.

Thanks!

Re:Blockchains: Past, Present and Future [video] on Sunday July 24, 2016 @01:16PM (#12153867)
This guy has no clue about how it works. Only aware of all the hype around it and presenting the hype as facts.

Does he understand about the blockchain size and the need to replicate it in every singe node? Does he understand why a blockchain can't be a database? or even an app platform?

Blockchain as application platform. Really?

1. What do applications require in a Platform? 2. Which of those requirements are met by a blockchain?I don't want to go by the hype being created by the software biggies, bank consortiums or some optimists who go to the extent of saying that blockchain solved all of the remaining unsolved problems in computer science.I can see that the "XXX-as-a-service" guys just want to be in a position to...

( Read More... | no comments | on HN )
Re:How Does BaaS (Blockchain as a Service) Work? on Sunday June 12, 2016 @12:23AM (#11886634)
I thought the blockchain boundary is limited to the provider (IBM, MS etc), not to the transaction type or business domain (shipping, bonds etc).

If the a blockchain is specific to a transaction type, does it mean all providers will use the same copy of the blockchain for that transaction type (shipping type etc)? But in that case, since blockchain doesn't belong to anyone, the BaaS providers would be similar to mining pools. Isn't it?

How Does BaaS (Blockchain as a Service) Work?

I hear that all biggies (MS, IBM, Amazon etc) are jumping in with their own BaaS offerings. But I'm puzzled - if these providers each maintain their own blockchain, how can a transaction involving entities which exist in different blockchains, succeed?

( Read More... | 3 comments | 2 points | on HN )

Older »