News for hackers. Stuff that matters.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by st3fan on Wednesday July 01, 2020 @10:28PM (#23709328)
Take the code from Firefox iOS or Android-components. We spent a lot of time on these and it is all on device.

https://github.com/mozilla-mobile/android-components

https://github.com/mozilla-mobile/Firefox-iOS

Re:DuckDuckGo browser seemingly sends domains a user visits ... by antpls on Thursday July 02, 2020 @02:58AM (#23710671)
I wonder how many lines of code from big open source applications are generic enough to be reused in other projects.

Firefox and Google Chrome probably have the equivalent of many small high quality libraries embedded in them, implementing 'business' logic or protocols, that could be reused in more places.

I guess a large scale study on github could be done, with a graph analysis to show potential "cut off" points in codebase.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by st3fan on Thursday July 02, 2020 @07:23AM (#23712031)
This is one of the goals of our Android-components project. Take a peek. Many components are reusable across browsers/applications.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by jan_Inkepa on Thursday July 02, 2020 @05:11AM (#23711377)
One issue is that if a bunch of code of a similar theme can be broken off, many times it will be (depending on the culture of the software team). Is looking at the source code of a big project with a hundred dependencies that were all libraries spun off to support the project different to looking at a project where people tried to keep everything monolithic (where you’d expect better re-use potential per line-of-code?)
Re:DuckDuckGo browser seemingly sends domains a user visits ... by sillysaurusx on Thursday July 02, 2020 @04:18AM (#23711075)
Yeah... the gesture is nice, but good luck extracting any code from a massive project. Might as well say “Here’s some free oil; all you have to do is dig for it.” Unlike oil, this might not be worth the excavation.

It’s a bit telling that they linked to the GitHub repositories rather than specific lines of code they were talking about.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by _hl_ on Thursday July 02, 2020 @05:15AM (#23711397)
Here's their kotlin implemenation, looks fairly straightforward/self-contained: https://github.com/mozilla-mobile/android-components/tree/ma...
Re:DuckDuckGo browser seemingly sends domains a user visits ... by st3fan on Thursday July 02, 2020 @07:33AM (#23712076)
Android components is a foundational technology for our browser products on Android but also for many other applications. We’ve designed things in such a way that you can pull in just those things that you need. If that is not the case, file an issue and we will take a look at how to improve things.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by jan_Inkepa on Thursday July 02, 2020 @05:11AM (#23711380)
Looking at the iOS project linked, https://github.com/mozilla-mobile/firefox-ios/blob/76faae8c6... , other than being written swift, it looks pretty self-contained/ok?
Re:DuckDuckGo browser seemingly sends domains a user visits ... by st3fan on Thursday July 02, 2020 @07:35AM (#23712085)
There is also a content script I think and storage for these icons and their meta data. It is probably less generic on iOS than on Android but should be fairly simply to take some big chunks for reuse.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by bad_user on Thursday July 02, 2020 @05:05AM (#23711346)
Yeah, let's violate privacy instead.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by nexuist on Thursday July 02, 2020 @12:21AM (#23709990)
What a world class reply. This is what makes open source valuable.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by weinzierl on Thursday July 02, 2020 @05:35AM (#23711491)
Yes, apart from Chrome's implementation there is probably no better tested and more mature implementation. Still it seems to be a non-trivial problem because Firefox sometimes shows me a favicon from another site I used.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by dTal on Thursday July 02, 2020 @05:49AM (#23711575)
Why don't they just take the code from their "internal favicon service"? The whole thing smells.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by ldoughty on Thursday July 02, 2020 @06:42AM (#23711845)
If you don't visit the site explicitly, just have the site somewhere in a list/bookmark/whatever, that site now has your IP address and basic header info when it needs to go retrieve it. By going through DDG, the site has a bot hit.

To me it looks to be trying to uphold your anonimity until you commit (click) through to the site/link. But certainly other ways they can approach this if it really bothers people.. I'd prefer DDG doing the lookup.. or having no fav icons.. over my computer going and downloading all my bookmark or other source icons

Re:DuckDuckGo browser seemingly sends domains a user visits ... by wizzwizz4 on Monday July 06, 2020 @07:50AM (#23746898)
It's probably not written in Java.
[dead]
Re:DuckDuckGo browser seemingly sends domains a user visits ... by smolder on Thursday July 02, 2020 @03:02AM (#23710699)
I think you're being downvoted because you chose to piggyback your comment on a seemingly unrelated one at the top, are being vitriolic, and didn't back up your claims with respect to their intent and refusal to change this.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by hst-m on Thursday July 02, 2020 @03:04AM (#23710706)
Well it's related because Mozilla actually cares about your privacy vs DuckDuckGo which obviously could care less from their reaction to this issue. Their refusal to change this is all the proof you need to know. I dont even use DDG I use Google I just think its funny they have a "Privacy browser" that sends all the sites you visit back to their servers
Re:DuckDuckGo browser seemingly sends domains a user visits ... by arghwhat on Thursday July 02, 2020 @03:43AM (#23710887)
It is not relevant to this sub-thread, and should have been a new top-level comment.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by cheesecracker on Thursday July 02, 2020 @04:21AM (#23711090)
It's a direct reply to a comment on the sub-thread.
Re:DuckDuckGo browser seemingly sends domains a user visits ... by st3fan on Thursday July 02, 2020 @07:30AM (#23712061)
This is nonsense. DDG cares deeply.

We all, including Mozilla!, have made design decisions that in hindsight could have been better.

The important thing here is dialogue and change. And both are happening.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by reitzensteinm on Thursday July 02, 2020 @03:00AM (#23710684)
(parent edited comment, can't delete this)
Re:DuckDuckGo browser seemingly sends domains a user visits ... by TheSpiceIsLife on Thursday July 02, 2020 @03:09AM (#23710728)
That bit was unnecessary, and pretty tone-deaf given the current socio-political climate.

So let’s call them out on that, briefly, then get on with the argument.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by _hl_ on Thursday July 02, 2020 @06:16AM (#23711717)
It's not immediately obvious whether it is more privacy preserving if the client automatically makes a request to each site in the search results while scrolling through the results, especially since you're already trusting DDG when performing the search.

Maybe this should be an opt-in rather than an opt-out feature?

Edit: as pointed out by warpspin in another comment, this is about the DDG Browser, not search results.

Re:DuckDuckGo browser seemingly sends domains a user visits ... by st3fan on Thursday July 02, 2020 @07:29AM (#23712056)
Scrolling through results is not a good place to ping websites for their icon. Not from a technical perspective but also not from a privacy perspective.

This is mostly a UX issue IMO.