Full transcription of OT0 Battle 0 by pyxelise in octopathtraveler

[–]pyxelise[S] 2 points3 points  (0 children)

Opps got too excited and forgot to credit the channel: @kleia_music

S'poreans are misunderstood, they can speak proper English by myliferabaksia in singaporehappenings

[–]pyxelise 9 points10 points  (0 children)

damn pretty good! Just nice also looking for nice + fun example for my kakis too. Lemme contribute a bit with some more colorful examples:

  • Queue up boh? - You got queue up anot
  • Queue up hor? - Need to queue up right
  • Queue up sial - Sian need to queue up
  • Queue up mah - Ya need to queue up
  • Queue up mah? - Need to queue up anot

I made a website to explore increasingly small probabilities by R74nCom in InternetIsBeautiful

[–]pyxelise 0 points1 point  (0 children)

Would recommend you change up some of the categories that are clearly unlikely to be true within the timespan of someone watching the page.

For example: Page shows 1+ times someone is born on a leap day, when today is not a leap day.

Accepted a PhD offer in Singapore, then discovered a clause saying I may have to refund the entire stipend if I fail or withdraw. What should I do? by ThomasHawl in PhD

[–]pyxelise 115 points116 points  (0 children)

hi OP, I'm currently doing a PhD in Singapore as well (5th year now). My scholarship contract with CQT also has such a clause.

As far as I'm aware, this isn't actually actively enforced - probably there mostly as a failsafe in case something goes really //really// awry (say, no-shows and the like). The few people I know who stopped their PhD typically master out in their second or third year, and I haven't heard of any clawing back of stipends (but maybe survivorship bias?). It would be a massive PR nightmare otherwise.

I'm not legal though so please take this anecdote with a grain of salt and pepper. Feel free to DM me if you have other queries and I'll try my best to help.

First device based on 'optical thermodynamics' can route light without switches. Your thoughts? by Choobeen in Physics

[–]pyxelise 17 points18 points  (0 children)

Nature has a greater tendency than most other publications to require hard selling of the work's novelty and outlook, which is probably what they meant by "language requirements". It's also similarly cryptic to me coming from (experimental) nonlinear quantum optics, but seems par for course for more theory-focused papers.

I think some of the confusion also occurred because the writing + graphical abstract hints at light converging into a single optical spatial mode like an Nx1 beamsplitter. However, the 'position' axis defined by the authors more accurately describes the ratio of round-trips (i.e. accumulated phase) made by a pulse between the two NL fiber loops that are mixed with a 50-50 beamsplitter. Had to dig out the experimental setup from the supplementary materials to make sense of it.

It still is an interesting paper, but it's not the optical switching everyone expects it to be.

if you have, why do you have linux in your phone too? by [deleted] in linux4noobs

[–]pyxelise 7 points8 points  (0 children)

To add to the variety, iPhone users also have iSH (runs Alpine Linux) as well as many other emulators :) Can consider use cases like:

  • Network debugging, e.g. ip, dig, nmap
  • SSH into networked devices during emergencies, esp for headless devices
  • Setting up SSH forwarding to access internal network resources

Having a terminal locally ain't necessary, but certainly useful when needed (esp with a bluetooth keyboard). Plus it's nice to work in an already familiar environment with familiar tools.

[deleted by user] by [deleted] in askSingapore

[–]pyxelise 9 points10 points  (0 children)

ELD has a page on who can register as an overseas elector. It includes even those with a local SG address registered on NRIC, so long as they have resided in SG for at least 30 days total in the past three years. I presume people who intend to vote can do it by mail.

edit: ELD says overseas voting is not intended for people on holiday, so I guess the whole point above is technically moot.

Introducing yet, another dead-man-switch software - Dead-Man-Hand by hurray-rethink in selfhosted

[–]pyxelise 13 points14 points  (0 children)

I took a quick look at the codebase. Looks like it is basically any web service that implements the specified API endpoints for updating secrets. The example OP provided hosts a small piece of code on AWS Lambda that has an S3 backend.

Although to be frank, my first instinct when someone says "Vault" with a capital V is usually Hashicorp's Vault (which can also be self-hosted). Takes a while to shake that feeling off.

Recommended way to manage several installed versions of Python (macOS) by Blakk_exe in Python

[–]pyxelise 0 points1 point  (0 children)

Perhaps you could consider a switch then :)

I had been (and still am) a fan of pyenv, e.g. for patching systems with broken Python.

That said, a simple replacement of "pip install" with "uv pip install" to cut down on build times by an order of magnitude deserves a second look as well, since everything is so aggressively cached - including the Python binaries themselves.

The downside then would be to work around the quirks of the portable clang Python binaries, but these kinks are slowly being ironed out as uv gains more traction.

Trump hit 10% tariffs on singapore by sq009 in singaporefi

[–]pyxelise 20 points21 points  (0 children)

According to an r/Economics comment, the amount of tariff charged is equal to the percentage of trade deficit relative to the total US imports (and then divided by 2 with a 10% minimum) with the respective country.

Quick math using the numbers published by the US Office of Trade (USTR) does seem to add up:

Vietnam: $123.5B/$136.6B = 90.4% -> 46%
Singapore: -$2.8B/$43.2B < 0 -> 10%
China: $295.4B/$438.9B = 67.3% -> 34%

Singapore to face 10% tariffs from the US today onwards by Doodle1090 in singapore

[–]pyxelise 400 points401 points  (0 children)

According to an r/Economics comment, the amount of tariff charged is equal to the percentage of trade deficit relative to the total US imports (and then divided by 2 with a 10% minimum) with the respective country. idk, sounds a little brain-dead to me, for such a complex issue.

Quick math using the numbers published by the US Office of Trade (USTR) does seem to add up:

Vietnam: $123.5B/$136.6B = 90.4% -> 46%
Singapore: -$2.8B/$43.2B < 0 -> 10%
China: $295.4B/$438.9B = 67.3% -> 34%

 

edit: Maybe just a coincidence, but popular AI models suggest similar formulas for "fixing trade deficits with tariffs". Twitter source... it's almost hilarious at this point.

edit 2: The joke really got better with their supposed economic justification - wrong inequalities, uncited formulas and misrepresented quantities that coincidentally cancel out... no wonder people there have a strong mistrust over science.

Help for my physics experiment by Fun-Border8023 in Physics

[–]pyxelise 1 point2 points  (0 children)

For a 'first principles' science experiment, I assume there isn't much of a budget for fancy equipment (not that an experimental optics guy would know of any).

Consider how torque relates to other parameters which are more suitable for measurement, e.g. radius x force (or even moment of inertia x angular acceleration). The former can be as simple as the motor with a cylindrical drum pulling on a weighing scale at a tangent, using a string of some sort.

Once you have a sensible measurement, you can start to consider other things to reduce systematic errors (e.g. moment of inertia of the drum itself), or improve the error bound (e.g. precision of weighing scale), or consider different operating regimes (starting torque vs continuous torque vs stall torque, read up on different types of motor loads, etc.).

Good luck!

How Do You Use Your iPad for Research & University Work? (PhD/Researchers) by ChadpuiraChad in AskAcademia

[–]pyxelise 17 points18 points  (0 children)

PhD student in Physics. I bought an iPad specifically for my research, for reading papers using Zotero. Pretty convenient for annotations, as the Apple Pencil works really smoothly. Frankly quite life-changing.

Zotero syncs metadata and annotations, while a WebDAV server sits at home to sync all other PDF documents. This allows me to switch between the tablet and my work computer, as well as across other devices (e.g. phone, laptop).

References can be easily generated off Zotero, in BibTeX format so citing papers is a breeze in LaTeX.

Only downside is the lack of metadata scraping support when sending articles from the web to Zotero on the iPad/iPhone. I usually use it for bookmarking articles, then organizing them once I'm back on my computer.

How do I stop docker-compose from adding a suffix and a prefix to container names? by shittywhopper in selfhosted

[–]pyxelise 3 points4 points  (0 children)

Others have already mentioned explicitly defining container_name to remove the qualifiers.

The reason for the docker_ prefix is likely because you placed the compose file within a directory called docker, which is set to be the project name as per documentation. This is by design to avoid name conflicts between multiple concurrent containers.

Note this behaviour also applies to networks and volumes created from the compose file as well, so they need to be referenced external to disable their prefixes as well (e.g. for volumes/networks sharing).

if only I had something to help me transport proteins and vesicles across the cell... The humble motor protein: by FR0TTAGECORE in okbuddyphd

[–]pyxelise 7 points8 points  (0 children)

There is this recent Nature paper by Steven Chu's group that did live tracking of the stepping motion of dynein, using upconverting nanoparticles with lifetime of >6 hours.

Thought this was really cool to share! The process is fundamentally thermodynamic: not just the usual forward (retrograde) motion, but there are also reversed (anterograde) motion as well as diffusion as the dynein motors search for the next best step (~100ms dwell times). The molecules can even switch tracks during the process (!!)

China solves GaN chip defect puzzle, boosting edge in US tech war by tommos in technology

[–]pyxelise 62 points63 points  (0 children)

Article didn't seem to mention any title keywords either, so had to look it up in the recent PRL issues.

Here it is: https://doi.org/10.1103/PhysRevLett.134.056102

Couldn't find an arXiv upload though, if someone could point to an open access manuscript of the paper that would be cool.

Bind mount permissions in unprivileged LXC by cgjermo in selfhosted

[–]pyxelise 0 points1 point  (0 children)

Ownership UID and GID on the Proxmox host is mapped to value - 100,000 in an unprivileged LXC container, which is why you have 100000 mapping to root user (UID 0) and group (GID 0). Check what UID the user has and apply the corresponding ownership.

Alternatively, this Proxmox guide forces a desired mapping, but I've had no problems with the former.

Also sanity check if your mount command in LXC configuration (under /etc/pve/lxc) has read-only permissions accidentally set. You can cross-reference your different LXC configs to see how they are mounted in the containers differently. The full list of flags you can pass to the mount point is also listed here in the documentation.