Friday, June 5, 2015

Ultracold atoms in optical lattices

Ultracold atoms in optical lattices: http://www.rqc.ru/education/summer-school/pdf/Demler_1_lecture%20EAD.pdf

Ultracold fermions in a honeycomb optical lattice: http://www.quantumlah.org/media/thesis/NCQT_LeeKeanLoon_PhDthesis.pdf


Identifying topological edge states in 2D optical lattices using light scattering: http://arxiv.org/abs/1209.2051

Artificial Gauge Fields and Spin-Orbit Couplings in Cold Atom Systems: http://arxiv.org/abs/1312.7486

Tuesday, March 31, 2015

My Favourite things (in no particular order)

Noncommutative geometry for three-dimensional topological insulators: http://arxiv.org/abs/1202.5188
Curved spacetimes in the lab: https://medium.com/the-physics-arxiv-blog/how-to-create-curved-spacetime-in-the-lab-c03107623468
Relativistic Bose–Einstein condensates: a new system for analogue models of gravity: http://iopscience.iop.org/1367-2630/12/9/095012/pdf/1367-2630_12_9_095012.pdf
Surprising Connections Between General Relativity and Condensed Matter: http://arxiv.org/abs/1010.2784
Casimir effect, gravitation and superconductors: http://casimir-network.fr/IMG/pdf/Bimonte.pdf

Condensed Matter Physics and the Nature of Spacetime: http://ls.poly.edu/~jbain/papers/ConPhysST.pdf
Ultracold fermions in a honeycomb optical lattice:
How to understand the emergent special relativity in the superfluid? http://physics.stackexchange.com/questions/63507/how-to-understand-the-emergent-special-relativity-in-the-superfluid

QURELSIM (Quantum Simulations of Relativistic Systems): http://cordis.europa.eu/result/rcn/57448_en.html

A relativistic optical-data model for inelastic scattering of electrons and positrons in condensed matter: http://www.researchgate.net/publication/223779547_A_relativistic_optical-data_model_for_inelastic_scattering_of_electrons_and_positrons_in_condensed_matter

Gauge Dynamics and Topological Insulators: http://www.damtp.cam.ac.uk/user/tong/talks/gtop.pdf

Massless and Massive Electrons: Relativistic Physics in Condensed Matter Systems: http://www.phys.virginia.edu/Announcements/Seminars/Slides/S2758.pdf

Dirac Equation For Cold Atoms In Artificial Curved Spacetimes:
http://arxiv.org/abs/1010.1716v2

Dirac Fermions in Solids — from High Tc cuprates and Graphene to Topological Insulators and Weyl Semimetals.: http://arxiv.org/abs/1306.2272v1

Relativistic quantum effects of Dirac particles simulated by ultracold atoms: http://arxiv.org/abs/1203.5949v1

Relativistic dynamics and Dirac particles in graphene (Nan Gu's PhD thesis, 2011)

Spontaneous Symmetry Breaking and Nambu–Goldstone Bosons in Quantum Many-Body Systems: http://arxiv.org/abs/1001.5212

Fundamental quantum optics experiments conceivable with satellites reaching relativistic distances and velocities: http://arxiv.org/abs/1206.4949

Tale top particle physics with graphene:
http://www.mpl.mpg.de/en/imprs/people/advisors/advisors-detail.html?tx_imprsfeuserprofile_pi1%5Bview%5D=projectdetail&tx_imprsfeuserprofile_pi1%5Bproject%5D=31

Lectures on holographic methods for condensed matter physics: http://arxiv.org/abs/0903.3246

Holographic interaction effects on transport in Dirac semimetals: http://arxiv.org/abs/1403.3608

Spin-liquid phase and order-by-disorder of classical Heisenberg spins on the swedenborgite lattice: http://arxiv.org/pdf/1404.1787v1.pdf

Sunday, February 8, 2015

Broadcom BCM4313 802.11bgn WPA2 on Linux (Ubuntu 14.01 LTS)

Open source beats proprietary software, that's what's happening now. Ubuntu thinks to make a favour to their users by blacklisting the FLOSS b43 driver and installing Broadcomm's wl, perhaps believing that things might work more smoothly. Well, that's not true: for example WPA2 doesn't work.

This is what I did to make it work.

I basically deleted (or moved somewhere else) the blacklist file /etc/modprobe.d/blacklist-bcm43.conf.

Then I uninstalled the Broadcomm dritver:

apt-get purge bcmwl-kernel-source

I also commented out the relevant line in /etc/udev/rules.d/70-persistent-net.rules.

Okay, maybe you still need the proprietary firmware, b43-fwcutter or something like that, but it's at least good news that now everything works fine (after just a reboot) and I can use any modern Wi-Fi network.

I'm not sure all of the above is necessary. Certainly b43 works better than wl, as far as I can tell. Certainly Ubuntu does a great effort in tweaking GNU/Linux to give their users a better experience, but sometimes it's more of a problem than a solution. Perhaps it's just time to relax: the regular Linux drivers (the ones that the kernel or udev would automatically load by default), well, they... just work.

Note: in case you wonder:

# lspci -n
02:00.0 0280: 14e4:4727 (rev 01)

Sunday, March 23, 2014

Stop copy-pasting!

ssh user@machine sh -c 'cat >> ~/.ssh/authorized_keys' < ~/.ssh/id_rsa.pub

When you SSH into Linux from Windows/MSYS

Add the following to your .profile (works with BASH).

if [ "$TERM" = "msys" ]
then
        export TERM=cygwin
fi
Otherwise, vim, less, man, mc... won't work as expected.

Wednesday, September 25, 2013

FreeRADIUS Check attributes operators for users and groups (and a “reasonable” Fall-Through)

mysql> SELECT * FROM radcheck;
+----+----------+--------------------+----+-------+
| id | username | attribute          | op | value |
+----+----------+--------------------+----+-------+
| 14 | b        | User-Name          | := | b     |
| 36 | b        | Cleartext-Password | := | b     |
+----+----------+--------------------+----+-------+
2 rows in set (0.00 sec)

mysql> SELECT * FROM radgroupcheck;
+----+-----------+--------------------+----+-------+
| id | groupname | attribute          | op | value |
+----+-----------+--------------------+----+-------+
| 25 | abc       | Cleartext-Password | += | abc   |
+----+-----------+--------------------+----+-------+
1 row in set (0.00 sec)

mysql> SELECT * FROM radreply;
+----+----------+--------------+----+-------+
| id | username | attribute    | op | value |
+----+----------+--------------+----+-------+
|  4 | b        | Fall-Through | =  | Yes   |
+----+----------+--------------+----+-------+
1 row in set (0.00 sec)

mysql>

The trick is using  :=  operator in radcheck (users’ check attributes table) and  +=  in radgroupcheck (groups’ check attributes table).

That way, if a password is present in radcheck, it will be matched against user/NAS-provided data, otherwise the group password will be matched.

This holds true for other RADIUS check attributes (Login-Time, for example)..

Fall-Through = Yes in radreply is optional; but it’s necessary if you have

read_groups = no

in /etc/freeradius/sql.conf.

Of course it’s assumed that user b is member of group abc (radusergroup table not shown here).

References:


Update: User-Name := b in radcheck is unnecessary, but it could be useful in your frontend application (ahem) to create an attribute-less user i.e. a draft user to configure in a second time.

In the same way, Group := abc could be put into radgroupcheck. But, please, never use = operator, use :=. Otherwise FreeRADIUS would find it uncorrect and coerce it to ==, which means a Group attribute would be required, with that value, in the Access-Request packet from NAS, which is certainly not what you want (access will be rejected any time; see also this commit).

Thursday, July 11, 2013

Fix broken dependencies in a .deb package (the dirty way: extract and re-build)

Which is the only available way when you have no source packages available...

dpkg-deb --raw-extract mypkg_1.0.0-1_amd64.deb mypkg_1.0.0-1_amd64

#
# Edit stuff in mypkg_1.0.0-1_amd64/DEBIAN/control ...
#
# (Possibly create a backup copy of the original .deb)
#

# Re-build the package:
dpkg-deb --build mypkg_1.0.0-1_amd64 mypkg_1.0.0-1_amd64.deb

# Install it:
dpkg -i ./mypkg_1.0.0-1_amd64.deb

# Install missing (but now available) dependencies:
apt-get -f install

Now, the longer story.

Sometimes hardware vendors distribute monitoring tools, but they don’t upgrade them to support recent distro releases.

http://downloads.linux.hp.com/SDR/downloads/ProLiantSupportPack/Debian/dists/

In the specific case, hp-snmp-agents (browse|download) was designed for squeeze and depended upon libsnmp15, which has been replaced by libsnmp30 and/or libsnmp-base in jessie (and wheezy?). So the only solution was extracting the package content, editing Depends: row and rebuilding the package.

More explicitly, in DEBIAN/control:

Depends: hp-health, lib32gcc1 (>= 1:4.1.1), lib32stdc++6 (>= 4.1.1), libc6 (>= 2.7-1), libc6-i386 (>= 2.7-1), libsnmp15 (>= 5.4.1~dfsg), bash, ethtool, pciutils, snmpd

has been turned into

Depends: hp-health, lib32gcc1 (>= 1:4.1.1), lib32stdc++6 (>= 4.1.1), libc6 (>= 2.7-1), libc6-i386 (>= 2.7-1), libsnmp30|libsnmp-base, bash, ethtool, pciutils, snmpd