HNHacker News
TopNewBestAskShowJobs

JulienSchmidt

376 karma · joined March 7, 2013

Contact via hn at julienschmidt dot com

GitHub: https://github.com/julienschmidt

We're hiring! https://grnh.se/a27fea202us

submissionscomments
JulienSchmidt··on The end of Academia.edu: How business takes over
I really appreciate your efforts. One of the most frustrating things to encounter as a student doing research is a pay-wall.

Regardless if such kind of search was available before or not, many people, like the author of the linked article, will encounter this pay-wall during their research. I think you could benefit, and especially grow, a lot if academia.edu becomes a place where students actually start their research instead of landing there through an external search engine.

In 2017 fulltext search should be considered a basic feature, which according to your business model should be free. Even the online library of my university offers it, even though on a much smaller data set.

If it is true that other premium features are more heavily used than "advanced" search, then you still have enough reasons to legitimate your premium accounts without it.

I think you could find other ways to generate income and become sustainable. For academia.edu it might be premium accounts offering additional services and maybe sponsored content like placed search results, job offers etc. Use the information you generate (but please don't just sell it to a 3rd party).

JulienSchmidt··on Effectively Using Android Without Google Play Services with Gplayweb in Docker
You can probably find a more accurate description somewhere else, but here is a TL;DR version:

In order to receive notifications without a push notification service like Google Cloud Messaging (GCM), every app would have to

a) poll for updates, meaning that the app establishes a connection repeatedly and asks a server for update. In the worst case, there is a delivery delay as big as the period between two polls. That also means that the app has to be running and thus the phone "awake" every time an app tries to get updates

or

b) keep a connection to the server open. That also requires that the app is running and sending something like keep-alive commands to avoid timeouts

In both cases it means that it doesn't scale at all. The phone would be awake a lot just to fetch updates, it would drain the battery and cause unnecessary much network traffic. Unnecessary, since there is a better solution: register with a 3rd-party service that handles the updates instead, in the case of Android mostly GCM. It basically works as follows: GCM keeps one connection to the Google servers open the whole time. Apps on the phone can register with the GCM client. Instead of sending the updates directly to the app on the phone, the app backends send the data to google instead, which then sends it with very little delay and overhead to the GCM client on the phone, which then in turn wakes up the respective app and passes the payload data.

If all these services just use GCM instead of handling notifications on their own, using WhatsApp, FB Messenger, Telegram, Signal, Skype, WeChat, Line and Viber at the same time is suddenly not such a bad idea anymore.

GCM it often unavoidable, since very little apps support alternatives to it. E.g. in China several alternatives exist, since connections to Google are blocked. I think also Amazon runs its own push notifications service.

JulienSchmidt··on Effectively Using Android Without Google Play Services with Gplayweb in Docker
> Can you elaborate, please?

Are you asking how it is unavoidable or how it is sending only minimal identifying data?

JulienSchmidt··on Effectively Using Android Without Google Play Services with Gplayweb in Docker
https://github.com/microg/android_packages_apps_GmsCore/wiki...

Wearable and Cast are often missed APIs. Contacts and Calendar sync is also not implemented yet. I can't think of any app that I personally used that doesn't work. That includes Google Maps and the Play Store. There were some crashes in the past, but microG became a lot more stable since then. However, I completely rely on my own infrastructure for mail and contacts / calendar sync (using DAVdroid).

JulienSchmidt··on Effectively Using Android Without Google Play Services with Gplayweb in Docker
Time to mention https://microg.org/ / https://news.ycombinator.com/item?id=12864429 again. It's a FLOSS re-implementation of Google Play Services. It offers e.g.:

* Optional completely offline geo location service via an on-phone database which often preserves battery and even works when no internet access is available. Online backends using e.g. Mozilla Location Service are also available

* The often unavoidable Push notifications via Google Cloud Messaging while only sending minimal identifying data

* The Analytics (tracking) and Ad parts are simple stubs which avoid app crashes but do nothing else

JulienSchmidt··on MicroG Project: A re-implementation of Google's Android apps and libraries
I live in China and I use MicroG / NOGAPPS since the early days. But I really don't see why it should be of any interest for the average Chinese user? The is a very healthy Android ecosystem here in China, independent of Google. For example apps usually depend on Baidu Maps / 高德地图 for viewing maps. There is simple no reliance on any Google apps here. Payment is usually done with WeChat Pay or AliPay. I would actually say it is more seamless than in the West.

The only strange thing is, that for app downloads usually the APK is directly linked - while still using the Play Store logo. That is because there are many different app store providers. However, as soon as the app is installed, it gets updated by that respective app store.

JulienSchmidt··on Overhead of Go’s Generic Sort
The problem is that it operates on an abstract interface but it is NOT generic. With any Generics implementation that generates code for the specific type under the hood (e.g. at compile-time like C++ Templates or Rust Traits, or just-in-time), there would be no overhead.
JulienSchmidt··on MacOS Sierra Beta
GPGTools (MailGPG etc) and rustc / cargo stable are broken with macOS Sierra.

Moreover there seem to be a few memory leaks. Finder eats up more and more RAM until it requires a force-relaunch. Unfortunately the same seems to be true for the kernel, which therefore requires a sporadic reboot. I also encountered the calendar notification service using 100% of the CPU a few times.

I'd wait for a later beta release or the final version.

JulienSchmidt··on Why we challenge Microsoft’s battery test
I think it would still be interesting. Win10 + Edge vs macOS + Safari.

In the end the user does not care which OS runs in the background, just which platform offers the best experience - in this case the longest battery time.

JulienSchmidt··on “PayPal has demanded that we monitor data traffic as well as customers’ files”
I use it whenever it is available. The process is seamless and as far as I remember I was redirected to my bank, to enter my data there. I never had to give my bank data to a 3rd party.

PS: The proper domain is paydirekt.de

JulienSchmidt··on Losing a credit card due to automatic user behavior
I lost my (German) credit card exactly the same way in Bangkok. Unlike the author, I never received my card back and had to order a replacement card, which takes ages to ship to the other side of the world. Never travel without a second credit card.
JulienSchmidt··on Philippines to Roll Out Nationwide Free Wi-Fi Service by 2016
If you are looking for a jumping-off spot for the Visayas, Metro Cebu is the place to go. It is a hub for the Philippine Nautical Highway and has the 2nd largest airport in the country, with cheap flights to everywhere in the Philippines and Southeast Asia.
JulienSchmidt··on Philippines to Roll Out Nationwide Free Wi-Fi Service by 2016
There are a few co-working spaces around Makati in Metro Manila and a few in Cebu. These are probably also the only areas where you will be able to find decent internet connection speeds.

Also OT: I'm a student from Germany who studied in the Philippines for a while. I'm always interested to go back for a few months. If you have an office in PH and looking for motivated developers, don't hesitate to contact me.

JulienSchmidt··on Philippines to Roll Out Nationwide Free Wi-Fi Service by 2016
You can already use Facebook for free on mobile. I don't think FB has big interest in providing free internet for everyone.
JulienSchmidt··on Russian antivirus firm faked malware to harm rivals, say ex-employees
More worrisome is what CAN be done. If they don't abuse it, someone else will eventually. Probably in a less obvious way, to hurt specific users only.
JulienSchmidt··on Show HN: No Ads. No Permissions. Just Drums
You should probably use the prefix "Show HN:" since you are promoting your own project.
JulienSchmidt··on Show HN: Realtime Server-Sent Events in Go
Gives me opportunity to showcase a tiny app I made for Christmas to remotely present photos over the web using SSE and Go: https://github.com/julienschmidt/remotephotoshow

It doesn't use Gin, but httprouter, which is also the basis for Gin.

JulienSchmidt··on A curated list of Go frameworks, libraries and software
Moreover the list contains some really outdated projects for some reason.

For example the database drivers section [1]: 3 out of 5 projects are abandoned, while current projects (listed in the official Go community wiki [2]) are missing.

1: https://github.com/avelino/awesome-go#database-drivers 2: https://code.google.com/p/go-wiki/wiki/Projects#Databases_an...

JulienSchmidt··on Show HN: Go HTTP Request Router Benchmark
Contributions are welcome ;)
JulienSchmidt··on Show HN: Go HTTP Request Router Benchmark
I'd recommend Goji to most users. The one I wrote has better performance, but also less features.
JulienSchmidt··on Show HN: Go HTTP Request Router Benchmark
For most web-apps this is definitely true. But an efficient router doesn't hurt either. If the router scales well, the routing part will never become your bottleneck. If the router is also memory efficient, it can reduce the amount of time the Garbage Collector needs.
JulienSchmidt··on Show HN: Go HTTP Request Router Benchmark
Revel is a bit too magic. It is hard to benchmark the routing alone.
JulienSchmidt··on A first-person engine in 265 lines of JS
<rant about no. of lines being a completely useless metric> <jquery in 1 line>
JulienSchmidt··on Web Framework Benchmarks Round 9
My guess is that Go, especially the database/sql package, uses too expensive synchronization.

Most of the pool management code uses mutual exclusion which can get really expensive when 40 threads compete for it.

JulienSchmidt··on Btrees are the new black
There are even better fits for modern CPU architectures and hierarchical memory systems (but not on HDDs) than B-Tree based structures, like the adaptive radix tree: http://wwwkemper.informatik.tu-muenchen.de/~leis/papers/ART....

I think B-Trees are mostly important for educational purposes, since this is a very important general way of organizing data. For real world usage, there are hundreds of different structures optimized for different use cases.

JulienSchmidt··on Google is the new Bell Labs
Somehow related: Has Apple Really Ever Invented Anything? http://www.youtube.com/watch?v=wFeC25BM9E0
JulienSchmidt··on A selection of proposed German words
Please note, that most of these words aren't real German words, but are constructed from other German words.

Some of these words make not the slightest sense even to a native speaker.

JulienSchmidt··on Go 1.2 Release Candidate 1 released
I don't think this should be the default behavior since you would end up writing a lot of boilerplate

  _ = myFunc()
code. But it would be nice if the vet tool had a (optional) feature to warn you about ignored return values.
JulienSchmidt··on Simplify Your Brand
I don't understand this "flat" design trend. Sure, complex 3D designs and skeuomorphism are too distracting.

But why do we only use a few loud colors, which give me eye-cancer, if we have 16.78 million? Is it 2000 again? Are the flashing .gif coming back?

I really prefer "almost flat" UI, like Google's websites or slightly-3D like Bootstrap 2.

JulienSchmidt··on Huge water reserve discovered in Kenya
http://www.bottledlifefilm.com/index.php/the-film.html

If you speak German, you can find a great free documentary here: http://www.ndr.de/fernsehen/sendungen/45_min/videos/minuten8...

← PreviousPage 2 of 3Next →