HNHacker News
TopNewBestAskShowJobs

pgorczak

293 karma · joined August 8, 2017

submissionscomments
pgorczak··on Choose your status game wisely
The parent comment hints at another interpretation of status, which is also used in improv. The status you “play” in your interaction with others, which can be different from your social status (https://www.respect4acting.com/status1.html)

This kind of status is much more dynamic and it’s also something you can choose to give or take, balance or clutch (although the latter might end up having the opposite effect).

It’s more uplifting to me to think of a “status game” this way. It’s a bit of a competition but we’re also the judges. Status doesn’t just manifest, it has to be granted by someone who is also playing the game.

pgorczak··on Depth of Field
As a sibling already mentioned, thermal noise occurs in the sensors. And there is also a range of cosmic background radiation coming in, including the cosmic microwave background which is just everywhere and is almost as old as the universe.
pgorczak··on Show HN: Open-Source 3D Location-Based Wireless Mesh Network
Regarding 3: pretty much, you can get the estimated channel impulse response from the device.

https://www.decawave.com/wp-content/uploads/2018/10/APS006_P...

pgorczak··on What Is IO Monad? (2018) [video]
Yeah, Promise really helps illustrating these concepts. Also while being less explicit in the syntax, the combination of Promise and Promise.then forms a functor that

- maps type x to type Promise<x>

- maps function x -> y to function Promise<x> -> Promise<y>

pgorczak··on How to write better scientific code in Python?
I get the author’s idea and I’ve been there before. When you’re still exploring a problem domain it’s really useful to abstract and compose because it helps you both understand the problem better and iterate more efficiently.

At some point you’ll want to come back to code that looks more like the first example, ideally with plenty of documentation that explains how you got there. Some other comment put it really well: you create a kind of personal mapping of scientific concepts to programming abstractions. You don’t want to have colleagues (or your future self) figure out that mapping to understand your results in terms of the science you’re working on.

pgorczak··on Robotics 501: Mathematics for Robotics
To expand on some of the other replies: maybe not QR and Gauss-Jordan directly, but understanding linear maps and subspaces is relevant in kinematics, especially kinematic chains like robot arms / manipulators.

You can formulate a task in terms of some nonlinear function mapping the robot's joint positions to a desired "task space" and set a reference point or trajectory in that space (e.g. keep a tool perpendicular to a surface while following a line on that surface).

Approaches for solving these tasks usually look at the Jacobian (inverse) of the task-function and use iterative methods to find a trajectory in joint-space that solves the task, either making a plan offline or as part of the control algorithm in real time.

The singular value decomposition of that Jacobian has a couple of applications like

- find the pseudoinverse for the solution

- use the condition number to detect (proximity to) singularities

- find a Tikhonov-regularized solution to avoid singularities (aka. "singularity robust inverse" or "damped least squares")

- find a projection into the null space of the Jacobian or that of a lower-rank approximation and solve lower priority tasks in that space

- use the range of the Jacobian to measure "manipulability" or agility in task space, e.g. as a secondary optimization objective

pgorczak··on Industrial ammonia emits more CO2 than other chemical-making reactions (2019)
While roughly 3/4 of total emissions come from generating energy (electricity, heating, moving things).

https://www.wri.org/data/world-greenhouse-gas-emissions-2018

pgorczak··on Python Communist Revolution
I think this distinction is worth mentioning whenever the comparison with fascism comes up. There is communist philosophy that we can discuss or joke about like OP that is somewhat disconnected from the brutal historical reality. This is not possible with fascism which is purely political (there are pretty much no fascist philosophical works).
pgorczak··on FAA Shows ‘Sample NOTAMs’ for Possible 5G Restrictions
Although when receiving a weak signal with strong out of band interference, you may still need a lot of dynamic range to successfully filter it out digitally.
pgorczak··on Static Duck Typing in Python with Protocols
I think it boils down to thinking in composition (x has a y) vs inheritance (x is a y). I’m happy about protocols because most of the times, coming up with some pattern or order of inheritance using ABCs really feels beside the point of what I’m trying to achieve (stating that an object _has_ a specific set of attributes).
pgorczak··on Static Duck Typing in Python with Protocols
You don’t need strong typing but good naming to avoid these issues. While a type system kind of requires everything to be named, it really doesn’t matter to the type checker whether these names are semantically correct or have any semantic meaning at all.
pgorczak··on Introduction to open source private LTE and 5G networks
LTE and 5G use something like pre-shared keys for both user and operator so no to the second option in most cases except emergency use (you can make emergency calls via any network).
pgorczak··on Introduction to open source private LTE and 5G networks
Rules are different in each country of course but most unlicensed frequencies can only be used with mechanisms that leave space for other users (networks) like listen before talk or restricted duty cycles. Cellular technology isn’t built with shared access to spectrum in mind although there is/was some effort to add it (LTE-U, 5G-NR-U).
pgorczak··on ShipMap
There are satellite networks that can pick up AIS broadcasts from almost anywhere on the planet. So you can track a ship in the middle of the ocean with a few minutes delay. Pretty amazing to imagine how many signals these satellites have to process at once and how weak they must be after making it all the way into space.
pgorczak··on USB 3.0* Radio Frequency Interference on 2.4 GHz Devices (2012)
Same here while working on a UAV even though the GPS module was mounted about 20 cm away from the single board computer. We looked at it with a spectrum analyzer back in the lab and the USB 3.0 ports really sent out some wide band interference that covered the GPS bands. Using USB 2 cables fixed it (apart from USB being really not great mechanically for a combustion engine powered UAV).
pgorczak··on Carbon: Create and share images of source code
Some of the letters in the comment do look like cursive
pgorczak··on TCP Sucks
I feel like the article cherry picks examples of TCP doing either too much or too little given specific applications. Of course we could always go by the end-to-end principle and tailor protocols from scratch each time we build an application but in a lot of cases the state handling provided by TCP is a pretty solid base to work with. Also, unrelated to the article, there seems to be some Dunning-Kruger peak of hating TCP that a lot of people pass at some point, myself included.
pgorczak··on Emacs' Org-Mode and Syncthing = Perfect (2017)
I've been using the same combo for a few years. You can run a Syncthing image off Docker Hub directly e.g. using compute engine and optionally persist config and data in volumes, making for a pretty easy setup.
pgorczak··on Work on these things
I felt this way too. At least one thing is blatantly wrong though: there is no discipline of institutional criticism. This is literally what political science deals with.
pgorczak··on Voilà turns Jupyter notebooks to standalone web applications
They haven't released 1.0 yet though which is probably why it hasn't been advertised more openly. Hope it happens soon so we don't have to install pre-releases to run new versions of Altair anymore (edit: Altair + Jupyter Lab is an excellent combination though so it's worth the extra steps).
pgorczak··on Show HN: End-to-end LTE example with Docker and emulated radio
They do and pretty reliably. The devs of the srsLTE stack even have this neat CI setup where they test the codebase against commercial hardware: http://www.softwareradiosystems.com/pipermail/srslte-users/2...
pgorczak··on Show HN: End-to-end LTE example with Docker and emulated radio
Not much actually. You need to make auth work which means knowing some secrets stored on the SIM card. You can buy your own custom cards or probably use eSIM (however I haven’t tried option 2).
pgorczak··on Show HN: End-to-end LTE example with Docker and emulated radio
Chiming in from GP: I think mobile setups like base stations mounted on drones or high altitude platforms are really interesting. We’re currently looking at providing cellular connectivity to rescuers and rescuees at sea using a fixed wing drone.
pgorczak··on Show HN: End-to-end LTE example with Docker and emulated radio
The https://github.com/srsLTE/srsLTE/ readme says they’ve tested LimeSDR too (I don’t know how well the smaller versions of Lime would work though)
pgorczak··on Show HN: End-to-end LTE example with Docker and emulated radio
If you wonder about real world use cases for open source LTE stacks like srsLTE: They’re great for deploying small ad-hoc cells e.g. in vehicular and rescue scenarios like in our work from earlier this year: https://arxiv.org/abs/1802.09262
pgorczak··on LTE Base Station Software
Haven't tried it myself but srsLTE's README [1] says they've tested their eNB with BladeRF and even LimeSDR frontends.

[1] https://github.com/srsLTE/srsLTE

pgorczak··on LTE Base Station Software
And a few more pure EPC implementations like NextEPC [1] and Pycrate/corenet [2–3]. The srsLTE eNB works pretty well with NextEPC for me :)

[1] https://github.com/acetcom/nextepc

[2] https://github.com/P1sec/pycrate

[3] https://github.com/mitshell/corenet

pgorczak··on LTE Base Station Software
With srsLTE you just need to run the srsenb and srsepc processes with their example configuration files while having a compatible SDR connected. If you want to attach your own phone you need to have the right credentials of course but an srsUE (also with the example config) would happily connect.
pgorczak··on The Fed stalls the creation of a bank with a novel business model
If I swap my labels wrong I can still go bankrupt though.
pgorczak··on The Fed stalls the creation of a bank with a novel business model
According to GP's linked article it's true when looking at the banking sector as a whole. For a single bank it seems like more of a technicality.

Also from the article:

> For example, if all of the deposits that a bank held were in the form of instant access accounts, such as current accounts, then the bank might run the risk of lots of these deposits being withdrawn in a short period of time. Because banks tend to lend for periods of many months or years, the bank may not be able to repay all of those deposits — it would face a great deal of liquidity risk.

← PreviousPage 3 of 4Next →