Better HN
topnewbestaskshowjobs
Log inSign up

teps

43 karma · joined Oct 1, 2015 (11y ago) · 13 submissions

Submissions

comment 10y ago · link · parent

What people think of generic package instead of fine grained generics? https://docs.google.com/document/d/1vrAy9gMpMoS3uaVphB32uVXX...

I think they would really fit the language well. The good part is:

* Only the package and import statement change, the rest of your code stay the same and is not cluttered

* They are easier to reason about as it is more coarse grained

* They do not break the compatibility

The the bad part is:

* You cannot implement filter/map/reduce (but being able to implement them would conflict with the orthogonality of the language)

* It could lead to code bloat, but not more than manually copy pasting the code.

comment 10y ago · link · parent

Hardware wise, I can't really find what I want with an ubuntu phone: I like the spec and the price of the Aquaris E5, but the bezel is really huge. The Meizu mx4 lack of a SD slot and the Meizu 5Pro is too costly :(

I would miss whatsapp too... Not that I like the app, but it's commonly used within my group of friends.

Fix the two points above and you've go a buyer :)

comment 10y ago · link · parent

Did it ever occur to you that you certainly wasn't interested at all in that music?

I know some people who where only interested in metal because it made them more rebellious. Their interests quickly fade always as they grew up and now they are the first to tell everybody how it's a music for teen. I remark that your souvenir is about your idols and how they acted/are dressed and not that much about the music.

But some people are genuinely interested in metal and if you happen to be a bit curious, it's easy to see that it's not more rigid, codified or stalled that any other genre.

comment 10y ago · link · parent

That's a good story about authoritarian state, but I'm not sure about the self driving car. In such state, a today taxi driver would report you to the police with the press of a button and the police would be waiting at your destination.

comment 10y ago · link · parent

What I don't understand is why Apple could create such software but a hacker could not exploit it. I feel like that mean that there is already a backdoor.

comment 10y ago · link · parent

Could Vulkan be the opportunity to build a small and simple API for people to learn graphic programming? I did learn OpenGl 10 years ago but it was already a big mess and each time I were searching for some information I could only discover mountains of hacks. I'm quit sure it's worse now.

comment 10y ago · link · parent

It would be interesting to see if it's possible to recognize people in films. I'm not sure if it's much harder or not. In a way, a video is more complicated than an image, but you have way more data to recognize a face. Someone know if there is any work in that direction?

A plugin for vlc that can show you the name of any actor when you ask would be really fun!

comment 10y ago · link · parent

I don't understand how the simulated annealing is helping.

I quote the explanation of step 4:

  If the candidate tour is worse than the existing tour, still maybe accept it, according to some probability. 
  The probability of accepting an inferior tour is a function of how much longer the candidate is compared to the current tour, and the temperature of the annealing process. 
  A higher temperature makes you more likely to accept an inferior tour
Why would you need a simulated annealing for a seemingly so simple function?

comment 10y ago · link · parent

The author list features, shows you can't solve them easily with go and then conclude that go is not good.

With similar argument, I could list every feature of xml, show that they are not easily solvable with json and conclude that json is not good.

comment 10y ago · link · parent

When I go have a beer in a bar, I often give between 0.2 and 1$ tips. Why? Because it really easy and require no effort. I would with no hesitation give 0.1$ to a interesting article if it were only one click away. I would easily give 0.5-1$ after a good episode of a TV show if I only had to do one click. Yes, that include pirated TV shows.

The problem is that there is no way to easily give a small amount of money to a content creator on its creations.

comment 11y ago · link · parent

I'm not sure about the workflow, but Elsevier ask for scientist to peer review the paper no?

Couldn't the scientist refuse to peer review non-openly published papers?

comment 11y ago · link · parent

I'm not sure I've used the right terminology, so please forgive me if I misuse some terms.

As an example in Switzerland most online retailers allow you to pay with a Postcard. ( https://www.postfinance.ch/en/priv/prod/card/pfcard/direct/o... ) I would have hoped that PostFinance, the issuer of the card, would be able to implement some standard that would allow it's client to pay retailers that implement such standard.

Switzerland has only 8 millions inhabitant, It's certainly not enough to convince big tech companies to add it as a payment option.

comment 11y ago · link · parent

Is it supposed to help people which have a distinct set of payment instrument than the retailer? Is it one the roadmap?

For me, one of most important problem is the inability for small payment processor to enter the field because now if amazon, eBay, steam, etc... don't include your payment scheme you're better be ready for a though (impossible?) battle. That's one reason the payment industry stagnate so much.