HNHacker News
TopNewBestAskShowJobs

dalf

242 karma · joined April 15, 2017

alex.andre [at] al-f.net
submissionscomments
dalf··on Microformats Wiki
http://webdatacommons.org/structureddata/#toc3

The Web Data Commons project extracts all Microdata, JSON-LD, RDFa, and Microformats data from the Common Crawl web corpus

dalf··on DuckDuckGo's Privacy Abuses
You can self-host and use a mobile 4G/5G modem for the outgoing connections from SearXNG: the IP address is going to be shared between different users (at least with IPv4).
dalf··on Self-calibrating USB Paper Tape Reader
Some have created "printer" for tapes for music boxes: https://youtu.be/w7nJak1tcmA (Labels are in French but the video is mostly self explanatory).
dalf··on Ask HN: Why do search engines not let you blacklist spam domains?
SearXNG allows to remove domains: https://github.com/searxng/searxng/blob/d1334beb4fb16beec298...

As far I understand, an improvement is to allows an URL like https://raw.githubusercontent.com/h-matsuo/uBlacklist-subscr... in settings.yml, so there is no need to update settings.yml.

Disclaimer: I am one of the maintainers of SearXNG.

dalf··on I enforced the AGPL on my code (2020)
For what it's worth, this is what is done for SearXNG (AGPL 3 license, rolling release): https://github.com/searxng/searxng/blob/master/searx/version...

It doesn't prevent people to hide / change the information, but at least by default it works even in a fork.

dalf··on I enforced the AGPL on my code (2020)
What if the code calls

git rev-parse --abbrev-ref @{upstream}

when the server starts and then provides this link in the web pages?

The link will be updated automatically in the forks.

---

About the version, call "git show -s --format='%cs-%h'" to get the current commit.

dalf··on Cheezam – Shazam for Cheese
Reblochon is seen as Cantal (quite sure).

How huge is the dataset?

dalf··on ABit BP6 Dual Socket370 Motherboard (1999)
I used it with Windows 2000 and Linux.

It was imcompatibled with the Alcatel Speed touch USB (ADSL modem): after few minutes, the PC was rebooting. The driver was not SMP compatible. It took some weeks before I could change the modem, "hopefully" a friend in the same school year had the same motherboard and the same issue.

dalf··on Searx – Privacy-respecting metasearch engine
Thank you! To ping, see my profile or @dalf at GitHub
dalf··on Searx – Privacy-respecting metasearch engine
> I wish there was a possibility to blocklist certain domains

You can do that in this fork: https://github.com/searxng/searxng/blob/e839910f4c4b085463f1...

dalf··on Searx – Privacy-respecting metasearch engine
Did you renew the mobile IP from time to time?

Note: since the version 1.0, searx stops sending request for 1 day when a CAPTCHA is detected which might help a little.

(I'm really interested by the results of your experiment)

dalf··on The Road to Self-Reproducing Machines
There are biosafety level laboratories, so why not similar labs for self-reproducing machines? But one mistake is not going to go well...

Another science fiction example: the Replicators.

dalf··on Wikidata or Scraping Wikipedia
DBPedia extracts data from wikipedia (infoboxes, tables) and other sources (wikidata). The circle is complete

http://mappings.dbpedia.org/index.php/Main_Page

https://github.com/dbpedia/extraction-framework/tree/master/...

dalf··on Wikidata or Scraping Wikipedia
(It requires the birth dates, so it is more than one page)

The HTML structure may change over time: if the request is executed few times over a long period, the scrapper may/will require more maintenance than the SPARQL request.

For example, the same wikipedia page 3 years ago is slightly different: https://en.wikipedia.org/w/index.php?title=Turing_Award&oldi...

dalf··on Wikidata or Scraping Wikipedia
About the Turing Award, after some trials and errors, I think this is the request: https://w.wiki/3wmY

Disclaimer: I follow https://www.youtube.com/channel/UCp2i8QpLDnWge8wZGKizVVw / https://www.twitch.tv/belett (mostly in French, sometimes in English).

Without these courses, I wouldn't have been able to write this request.

dalf··on Data-Mining Wikipedia for Fun and Profit
A lot of items don't have a wikipedia page, but all wikipedia, wikitravel, wiki* pages have a wikidata item (see "Wikidata item" link of the left side of the pages).

Some wikipedia infoxes are based on wikidata. I can't find an example, but here some links:

* https://commons.wikimedia.org/wiki/Commons:Wikidata_infobox_...

* https://commons.wikimedia.org/wiki/Template:Wikidata_Infobox

* https://en.wikipedia.org/wiki/Template:Infobox_person/Wikida...

There are lexeme too, and it is not based on wiktionary. Search the prefix "L:" (without quote).

Example:

* https://www.wikidata.org/w/index.php?search=L%3Acat&search=L...

* https://www.wikidata.org/wiki/Lexeme:L7

Also, there are a lot of tools on toolforge.org. One is reasonator which produce sentences from a wikidata item: https://reasonator.toolforge.org/?q=Q1339

dalf··on Data-Mining Wikipedia for Fun and Profit
Yes:

* http://www.entitree.com/en/family_tree/Elizabeth_II

* https://family.toolforge.org/ancestors.php?q=Q187114

Tools found on this page: https://www.wikidata.org/wiki/Wikidata:Tools/Visualize_data/...

---

Some SPARQL queries: https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/...

---

Out of topic: I wish wikipedia would provide an API to get the infoboxes (made using Lua or wikidata).

dalf··on We can do better than DuckDuckGo
FYI, searx implements the DDG bang searches (1). There is no autocompletion (for now), but at least you can all of them in one meta search engine. The syntax is slightly different: "!!g <text>" instead of "!g <text>".

(1) actually based on https://github.com/jivesearch/jivesearch/tree/master/bangs

dalf··on Wiki.js
XWiki:

* CKEditor: https://extensions.xwiki.org/xwiki/bin/view/Extension/CKEdit...

* Syntax: https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide...

Actually any wiki pages can define a Class and how to display this class and / or instances of a Class:

* https://www.xwiki.org/xwiki/bin/view/Documentation/DevGuide/...

* https://extensions.xwiki.org/xwiki/bin/view/Extension/App%20...

The Script Macro is useful to make some dashboards ( https://extensions.xwiki.org/xwiki/bin/view/Extension/Script... )

I've deployed this for the internal documentation inside a company I worked for (MediaWiki was a no-go even with a visual editor).

For each new feature, I was developing inside a clean new wiki, than I exported the changes once I was sure everything was okay. It is way more easy then to upgrade to the new XWiki version.

dalf··on Ask HN: A way to adblock “we're using cookies” popups?
From https://discourse.wicg.io/t/proposal-show-gdpr-popup/3433/4 (from https://github.com/whatwg/meta/issues/126 )

Quote:

> This puts browsers in the direct path of legislation in any given country’s demands. Features in browsers should be based only on user needs. Only when a law absolutely targets browsers should they do anything regarding legislation.

[Edit] remove the code block

dalf··on Germany, France launch Gaia-X platform in bid for ‘tech sovereignty’
Perhaps an out of topic comment.

I've been working for one of these CORDIS European projects : https://cordis.europa.eu/projects/en

The project was politically driven while most of the slides were selling dreams. As usual in this kind of project

- there was a schedule carved in stone

- the Conway's law gets a beautiful practical example

so the research becomes quickly a joke.

Some people:

- worked on out of topic subjects. At least no harm.

- criticized because of external/past/personal/out of topic reasons.

- criticized the work of others while doing literally nothing. My boss knew it, but since they are well known to wrote nice documents to get the fund for many years.

- worked very hard while being criticized through hidden communication.

- were here because of the data.

- were here to get the technology if by luck it ends up to be working project.

The usual burdens, I guess, but it basically kills the motivation (it is my experience in one specific project). In the end, people went to the different meetings to see Europe.

It seems some other projects are driven in the same way according to what I have heard.

It is only a sum up of experience. YMMV.

I sincerely hope that Gaia-X will be managed in better way.

dalf··on Aerogel from fruit biowaste produces ultracapacitors
An article that sums up the idea: https://www.popularmechanics.com/technology/design/a31114696...
dalf··on Key details of Galileo satellite summer failure emerge
So in a way, the Peter principle makes money ?
dalf··on Alibaba's Jack Ma says 12-hour work week could be the norm
Previous related posts:

- Alibaba’s Jack Ma Defends China’s 996 Schedule (12 April 2019): https://news.ycombinator.com/item?id=19645729 (scmp.com)

- Jack Ma defends the 'blessing' of a 12-hour working day(15 April 2019): https://news.ycombinator.com/item?id=19668671 (bbc.co.uk)

- Alibaba founder Jack Ma says staff should work 12 hours a day, six days a week(16 April 2019): https://news.ycombinator.com/item?id=19691793 (abc.net.au)

- China’s Grueling Formula for Success: 9-9-6(22 Feb. 2017): https://news.ycombinator.com/item?id=16573978 (wsj.com)

dalf··on The Simpsons is dubbed into two different versions for French markets
On link talking about the subject: https://www.cbc.ca/amp/1.5239185
dalf··on NeverSSL – helping you get online
Previous post (2017): https://news.ycombinator.com/item?id=13369038
dalf··on HTTP Security Headers – A Complete Guide
There is the Feature-Policy header too : allow and deny the use of browser features in its own frame. I've seen this header on a bank website.

Example :

  Feature-Policy: accelerometer 'none'; autoplay 'none'; camera 'none'; fullscreen 'none'
Documentation: https://developer.mozilla.org/en-US/docs/Web/HTTP/Feature_Po...
dalf··on MITM on HTTPS traffic in Kazakhstan
For reference

The code is here: https://github.com/caddyserver/caddy/blob/master/caddyhttp/h...

The paper: https://jhalderm.com/pub/papers/interception-ndss17.pdf

dalf··on Why doesn't Linux apt use HTTPS?
Previous post: https://news.ycombinator.com/item?id=18958679
dalf··on Pacman in 512 bytes of x86 boot sector machine code
From https://en.m.wikipedia.org/wiki/COM_file

> Since it lacks relocation information, it is loaded by the operating system at a pre-set address, at offset 0100h immediately following the PSP, where it is executed (hence the limitation of the executable's size): the entry point is fixed at 0100h.

← PreviousPage 2 of 3Next →