Better HN
topnewbestaskshowjobs
Log inSign up

walrus

2,096 karma · joined Jun 6, 2011 (15y ago) · 382 submissions

Submissions

comment 2y ago · link · parent

Perhaps I'm being too cynical, but is this the "extend" step in "embrace, extend, extinguish"?

comment 3y ago · link · parent

This was my first thought as well. It is linked to from a .gov website, though: https://www.cand.uscourts.gov/notices/facebook-privacy-settl...

comment 3y ago · link · parent

It's fine as long as bike paths are physically separated from cars and are maintained to the same standard as roads. My college had a network of pedestrian/bike paths that they plowed in the winter, and I and many others had no problem biking year-round.

comment 4y ago · link · parent

Here's Seattle's network of protected bike lanes: <https://i.imgur.com/vEDhqoz.png>. Note that many of them are flawed in one or more ways:

* There are frequent car crossings at blind alleys and driveways, often every 20-30 feet.

* Many are "protected" by flexible posts that are easily driven over.

* When protected bike lanes run next to roads, drivers often turn across them at intersections without looking.

I generated the map with Overpass Turbo: <https://overpass-turbo.eu/s/1mT6>. To make it render nicely, check "Don't display small features as POIs" under settings. If you want to try it for a different city, drag/zoom it into view and hit "Run".

comment 4y ago · link · parent

The "trekking bike" and "safety" profiles seem to work pretty well. The safety profile produces routes I would take any time of day and the trekking bike profile produces routes I would take outside of peak road rage hours.

comment 4y ago · link · parent

> WTF is a bike doing in the middle of the road?

I used to ride as far to the right as possible on roads without bike lanes, but then I got hit by a driver trying to squeeze past me without changing lanes.

comment 4y ago · link · parent

What are some limitations of OpenCASCADE that are holding back CAD tools built on it?

comment 4y ago · link · parent

It appears to use C3D as its CAD kernel, which is proprietary. You can't build it without a copy of C3D. I'm guessing the source will be available for inspection, but the binary will cost money.

comment 5y ago · link · parent

In about:config, change browser.privatebrowsing.vpnpromourl to an empty string.

comment 5y ago · link · parent

F#

comment 5y ago · link · parent

The trackballs are listed as "completely open-source" on their website, but the mouse is listed as "open-source firmware". This is consistent with what's available on their GitHub page—the Altium and STEP files for the trackballs are available on their GitHub page, and the firmware for all their products (including the mouse) has been upstreamed[1].

[1] https://github.com/qmk/qmk_firmware/tree/master/keyboards/pl...

comment 5y ago · link · parent

A journal can publish a retraction.

The website Retraction Watch[1] aggregates these retractions and provides a database that you can query. Reference management software like Zotero[2] can use this to monitor your collection of papers and notify you when one is retracted.

[1] https://retractionwatch.com/

[2] https://www.zotero.org/blog/retracted-item-notifications/

comment 6y ago · link · parent

It depends what I'm doing, but I typically use one of the following (starting with the most frequent):

1. IPython with Pandas if I expect to do any in-depth exploration/manipulation of the data.

2. A short Python script like `python -c 'import csv, sys; r = csv.reader(sys.stdin); ...' <data.csv` if it needs to run on someone else's machine.

3. https://github.com/BurntSushi/xsv if I want to quickly munge some data or extract a field.

4. Gnumeric if I want a GUI.

5. https://github.com/andmarti1424/sc-im if I want a TUI. This is closest to what you were asking for.

comment 6y ago · link · parent

> Money laundering is the process of making illegally-gained proceeds (i.e. "dirty money") appear legal (i.e. "clean").

Someone should let FinCEN know that their definition is incorrect: https://www.fincen.gov/history-anti-money-laundering-laws

comment 6y ago · link · parent

I'm just speculating (and haven't read the paper yet), but it may be possible to achieve similar speedups on GPUs by pruning the smallest 20% of blocks of size ≥K×K to produce block-sparse weights[0], rather than pruning the smallest 20% of weights.

[0] https://openai.com/blog/block-sparse-gpu-kernels/

comment 6y ago · link · parent

The following instructions are for Linux or macOS. It may work on Windows too, but I'm not very experienced with Windows. No special hardware is required (you can run it on a CPU; no GPU needed).

Install pyenv[0] and pyenv-virtualenv[1]. Clone the repo and set up an environment:

  git clone https://github.com/taki0112/UGATIT
  cd UGATIT
  pyenv install 3.6.10  # [2]
  pyenv virtualenv 3.6.10 UGATIT
  pyenv local UGATIT
  pyenv activate
  pip install opencv-python==4.2.0.34 tensorflow==1.14.0
Download the pretrained weights from https://github.com/taki0112/UGATIT/issues/50#issuecomment-53.... Extract them:

  tar xf ugatit100.tar.xz
  mkdir checkpoint
  mv UGATIT_selfie2anime* checkpoint
  mkdir -p dataset/selfie2anime/{train,test}{A,B}
Crop your images in a 1:1 aspect ratio so that they contain only the head. Place them in the dataset/selfie2anime/testA/ directory. Run the program:

  python main.py --dataset selfie2anime --phase test
Open results/*/index.html in your browser to see the results.

[0] https://github.com/pyenv/pyenv#installation

[1] https://github.com/pyenv/pyenv-virtualenv#installation

[2] Other versions may work, but this is the version mentioned in https://github.com/taki0112/UGATIT#requirements

comment 7y ago · link · parent

My experience corroborates this.

I worked at two small ISPs, each with a fiber network spanning a few US states. They had their own databases to track this information, but as far as I know there was no central database. One of them used OSPInsight backed by a self-hosted SQL Server database. I don't know what the other place used.

comment 8y ago · link · parent

Yeah right. They'll find a way to sell it while claiming they don't share it.

comment 8y ago · link · parent

It's not the case that malloc always works under Linux. It may return NULL if the memory is not available. Try it out! Write a program that allocates half your memory, fills it with 0xFF, then sleeps. Run two instances of it. The malloc will fail in the second one.

According to [1], the OOM killer is a consequence of the fork syscall, and can't be removed without breaking backward compatibility.

[1] https://drewdevault.com/2018/01/02/The-case-against-fork.htm...

comment 8y ago · link · parent

I had the same issue. I disabled them in xmodmap for several years, then eventually decided I was never going to use them and cut out the rubber dome. Here's what it looks like: https://i.imgur.com/Bm6KtIN.jpg

21.

Clever ideas that failed (2010)(yacoset.com ↗)

159 points · by walrus · 8y ago · 24 comments

comment 9y ago · link · parent

zfec is an implementation of Reed-Solomon coding, the class of codes discussed in the first part of the slides.

comment 9y ago · link · parent

They are being recorded and posted to YouTube as unlisted videos. You can find links to some of them on Twitter[1] and ResearchGate[2]. It looks like highlights of the lectures are being posted to Twitter and the full lectures are being posted to ResearchGate.

[1] https://twitter.com/stats385

[2] https://www.researchgate.net/project/Theories-of-Deep-Learni...

comment 9y ago · link · parent

What is 'LexisNexis style querying'?

comment 9y ago · link · parent

Can you give a sketch of how you would like these examples to look? Any language is fine; you can pretend that libraries for GPGPU, backprop, and gradient-based optimization already exist.

I tried to do so myself and couldn't come up with anything significantly better, but I've been writing Python for a long time and might just be stuck in a local minimum :)

12345
13