HNHacker News
TopNewBestAskShowJobs

modells

123 karma · joined July 18, 2018

Fresh dressed. Deep in Brooklyn, I ride the L.
submissionscomments
modells··on A PhD should be about improving society, not chasing academic kudos
The two aren’t mutex. And publish or perish. The suggestion is that academia should be utilitarian and short-term focused. This will never happen. It’s tantamount to saying “we should get rid of archeologists because they aren’t a profit-center department.”
modells··on A Dutch first: Ingenious BMW theft attempt
Did you even read the article? They knew enough to disable SOS and interior car alarm sensors in a seemingly subtle way most people would dismiss. Maybe they should’ve taken their time and waited around for police?

What’s unsophisticated is stealing a radio or nav by slashing the back of the wiring loom, and then the owner having to replace the entire loom at the cost of many thousands of dollars. It sucks but that’s life. Car thieves aren’t your friends, DGAF about damage, and those that don’t operate on a “speed is life” principle get caught. Maybe you should show a little respect to the knowledge and tactics demonstrated?

modells··on Manners in Early Modern England
My hypothesis on manners is that the strictness of norms are proportional to hierarchicalness, and permissibility and propensity to violence.
modells··on The $250 Biohack That’s Revolutionizing Life with Diabetes
Growing up, my dad had type 1 from agent orange (dioxin) exposure. Eventually had an insulin pump but it wasn’t a closed feedback loop because of caloric, time-of-day and finger-pricking measurements. The strips were expensive and created biohazard litter. For the safety of others, I wish diabetics would use old strip bottles to contain used ones instead of just binning them bare, because they seem to magically leap out, get everywhere and multiply.
modells··on Utah expands public transportation with rapid bus transit, free until 2021
It often takes 2 hours to get by bus or light-rail from one end of Santa Clara county to the other, while driving typically takes an average of 20-25 minutes. Also, VTA is expensive for low-income folks with a minimum of $2 for a single ride, and it takes up to 4-5 rides to get somewhere each way, and so the daily passes are $7.. Which is also a lot. Yearly passes for kids and disabled are $330, $880 for adults and twice that $1760 for express buses.

http://www.vta.org/getting-around/fares

modells··on A timesyncd failure and systemd's lack of debugability
It might be config and security fragile, but ntpd is a safe bet.

When religions preferences come up, I prefer s6 because it’s scalable like daemon tools/runit. Old-school upstart was meh and ancient style rc scripts rarely did process supervision.

Debugging and simplicity are prime requirements for init’s.

http://www.skarnet.org/software/s6/

PS: Logs aren’t files... they’re streams of structured messages often, that are unfortunately usually destructured into text lines. Log-rotation, logging to local files are horrible kludges that doesn’t scale for high-volume servers... log-structured log device, log sourcing or time-series structured db are more natural fits. Keeping log data in structured form instead of broken up in arbitrary line formats makes custom parsing unnecessary and log mining/transformation (ETL) much easier and usable. “Grepping” is simply looking at a text view of desired fields like a full-text db search. IOW, historical logs become random-access msgpack/protobufs streams while app logs are just always appending... and one string per log message for backwards compat, with a “logger”-type command for logfile-less 12-factor apps.

modells··on Laziness Does Not Exist but unseen barriers do
It’s easy for people whom work “hard” to unreasonably and ignorantly prejudge others to “get a job,” when there’s various individuals whom have invisible disabilities: can’t get along with other people, understand or perform traditional work. Some also can’t perform useful work because either accommodations would be costly/extreme or they have debilitating socio- or psychological conditions like psychosis, bad memories or are too kinematically-slow.

It’s even worse that in the US, Social Security disability is focused mainly on physical disabilities and randomly excludes certain social/mental imparements due to a patchwork of dumb laws. As such, people in social services are often unilaterally-declared (Abled-Bodied Adult Without Dependents) ABAWD, and have their food (SNAP) and other benefits withdrawn without mandatory participation in programs that basically ignore and discount the reasons why they got there in the first place. In California, for example, SNAP goes away for ABAWD’s for 9 months out of the year beginning September 1, 2018. IOW, penniless homeless people are having their food benefits cut off for most of the year if they’re randomly assigned this status.

This is what “falling between the cracks” looks like.

modells··on Why in Hong Kong people choose to sleep at McDonald's instead of going home
Happy Donuts in Palo Alto and Safeway in Menlo Park and Mountain View on El Camino have a similar phenomenon but it’s usually only students whom have a place but sleep while studying.

There are many more homeless people whom have no options for housing or refused Section 8, and so seek shelter during heat of summer days or less frequent cold winter nights.

There must a nonzero fraction of thousands whom consciously choose to be leather tramps and live rough... not all homeless people are in unfortunate circumstances, crazy, on drugs, criminals, peter pan’s or defective. You’re reading from a rubber tramp right now. :)

modells··on iOS 12 uses Lua code downloaded from Apple's servers
I wouldn’t blame capitalist conspiracy just yet what can be attributed to practical intentions for reasons:

0. Trying to prevent average developers from shooting themselves in the feet too often by having apps that depend on external servers to run, then having a big security incident and Apple being blamed for allowing insecure, third-party code to run.

1. Trying to keep tabs on devs pivoting too far without a re-review. Can’t sell a Farmville app that then becomes a bitcoin wallet which then steals said bitcoins.

2. Keep the quality of apps up by curating through review rather than allowing free, unlimited publishing of random/broken apps. It’s a small barrier to entry and proof that someone invested to make something worth publishing.

3. Malware for old/jailbroken iOS existed way back, but it’s not really a thing, anymore because 0days get mostly either reported to Apple or sold/auctioned off.

https://www.theiphonewiki.com/wiki/Malware_for_iOS

modells··on Linux Kernel TCP Vulnerability
Seems like another good, DiD reason to sanitize external traffic using network gear or a secondary os transparent proxy/router like one of the 3 BSD’s.
modells··on Women Die More from Heart Attacks Than Men Unless ER Doc Is Female
In addition to a tendency towards arrogance, doctors hold unconscious biases like everyone. Unsurprising.

Anecdotally, I recently had a same-gender doctor recount his glory day (just one day) in the ER solving a hypertensive crisis by syringe bloodletting onto the floor and tell me that my autonomic dysreflexia was “all in my head,” and that fixing stress was the panacea. Meanwhile myoclonus, nystagmus, anhedonia, (autoimmune?) inflammation/swelling, tremors keep getting worse. Thanks doc, you really solved everything.

modells··on Barnes and Noble says books on anxiety are soaring
Pack more people closer together, damage the earth more and more and reduced resources, life for the average person will be a greater and greater struggle: depression and anxiety will likely be the norm, not the exception. Likely explains the emotional aspects of the opioid crisis as well.

I humbly suggest having a homestead somewhere like Oregon and alternate two weeks of telecommuting, if just to release anxieties about the future, microfarming and gardening are more satisfying than one can imagine.

modells··on Loss aversion is not supported by the evidence
With the paradox of choice, most people are hypersatured with (the paradox of) choices, opportunities and distractions... so any “loss” seems inconsequential at the time because no one seems any more valuable than another. The key fallacy of this attitude is that the world is a small place, life is finite and will end. It doesn’t imply feverishly hustling every tiny opportunity, but filtering and carefully exploring choices with a sound decision framework.

Also, most people rarely make rationally-beneficial decisions based on other a myriad of fears, prejudices, laziness, negative cognitive distortions, distractions or inadequate future-planning. Worse, most people are sold on hype, feelings, gossip, peer testimonials and appearance when they can’t be bothered to do due-diligence.

OTHO of gain avoidance/scarcity: You can put a “free” sign on a decent household good, set it out, and it won’t move... put a price-tag of $100 on and watch it get “stolen.”

tl;dr: The human condition is messy and imperfect... there’s no firm solution except thorough qualitative hypothesis testing via experiences.

modells··on Venezuela President Maduro survives 'drone assassination attempt'
Yeap. “Perfect” (imposed and/or theater) security isn’t desirable in an “open” society because of the loss and abuse of individual freedoms.

Back to WW2 barrage balloons, or at least sturdy nets to keep out drone-bombs.

https://en.wikipedia.org/wiki/Barrage_balloon

modells··on Pilots who risk their lives flying tiny planes over the Atlantic
Dead reckoning needed probably because they lost vacuum and gyro power to instruments, which then spin down and float randomly if there’s no battery backup

Inertial Navigation System... a mechanical system which maintains position by double integrating acceleration, which means infinitesimal errors grow to dominate over time, and so need to be recalibrated often.

    a, v0 maybe vectors; x maybe a point insead of a number
    x(t) = a(t)*t^2 + v0*t + x0

Modern human-portable INSes for adventuring/surveying use laser ring gyros, and GPS when available.
modells··on [dead]
As much as mandatory processes could suck, the downside of letting people do whatever crazy thing they want is dead kids. Disneyland and other venues and organizations with high-density occupancy (sadly) should require visitors to present valid proof of current vaccinations prior to admittance. Yuppie flus aren’t real, and society shouldn’t pander to snowflake nonsense; the only exemptions should be for legitimate, independently-reviewed medical situations. People can bandy about “democracy” and “freedom,” which they mean anarchy that impacts others with their externalities.
modells··on Actor Model of Computation (2010) [pdf]
I prefer the rapper actor model astronaut form of compuation, but hey, CSP and STM are cool too. Sorry, couldn’t help it. And RDMA is, and always will be, pure evil.
modells··on CPU cache misconceptions, and the MESI cache coherence protocol
Old ARM had software-maintained TAG RAM (CAM? state of cache lines), ICache and DCache.
modells··on CPU cache misconceptions, and the MESI cache coherence protocol
Not the whole story in the real world for x86_64 architecture, there are other states like Owned and Forward. IIRC, modern ARM uses AXI4 and ACE for CC.

https://en.wikipedia.org/wiki/MOESI_protocol

https://en.wikipedia.org/wiki/MESIF_protocol

modells··on France bans smartphone use in schools
tl;dr psa for everyone: configure your phone for grayscale, least animation, vibrate-only and turn off most notifications.

Smartphones are mental cocaine. Look around a city almost anywhere and most people are hunched over, staring at glowing glass and oblivious to almost everything... so much so the Dutch are putting crosswalk lights on the ground to keep people from walking into traffic while they’re getting their fix. It’s clearly unhealthy as focus, socialization and personal safety suffer.

modells··on To Persuade Someone, Look Emotional
Absolutely. Nonverbals likely bypass the rational forebrain and skip to the primitive reptilian parts of the brain that create emotions, judgements and snap decisions.

Some relevant books:

Words That Work: It’s Not What You Say, It’s What People Hear

Blink (looks almost like Freakonomics)

modells··on To Persuade Someone, Look Emotional
I would tend to agree with them since nearly all of most people’s worldviews, experience and information is carefully-manufactured chicanery via mass-/social-media so they take up certain preferences and attitudes. Libertarianism is a perfect example of a faux political centroid that cherry-picked from utopian views and sentiments against communism, but leads inexorably to unworkable, corrupt, extractive, inverted totalitarianism like the US has at present (ie public-private partnerships, destroyed govt departments, hundreds of vacant diplomat posts).

I would agree with sociopaths /narcissists skew towards seats of power because such people are more willing to take big risks, feel entitled to more and DGAF other than themselves. Also, the amount of wealth and prestigous title/s someone has tends to change them to behave similarly.

The main ways to bring balance back are to:

- forcibly remove the cancer of and vigilantly guard against corrupt political-wealth complex from all areas of government

- sensible wealth-redistribution; having millions of people whom are homeless living on the sides of highway on-ramps or can never retire is obscene

- more co-op businesses, employeee ownership and workers on the board of directors

- stronger unions that work

- US: single-payer

- more minimum vacation time

- even in times of hyper-mobility, community rebuilding, across all demographics, in a standard format people know about: something to replace church/atheist “church”... it’s unhealthy to have an anonymous, closed society of mostly lonely people with only fb friends and few/no one to talk to regularly.

modells··on Reddit Was Hacked
totp 2fa attack surface varies based on the trustworthiness of many factors between the server and the client... adding SMS seems to not add much when the client could store a totp and generate an OTP challenge locally.

Some standard, obvious (or not so) best-practices, based on defense-in-depth and security effort based on impact risk:

Hash passwords using a real pbkdf like argon2 in JS or native code client-side, using sensible mem-/cpu-/gpu-fpga-/asic-hard params, because passwords should never go over the wire in any form.

Use nonces where available.

Fixed-time compare hashes server-side, with exponential back-off.

2FA tokens should be stored server-side encrypted, only decrypted when needed to generate a challenge code and then securely erased, where available.

Prefer TOTP to SMS 2FA.

Lock down admin access to all production boxes to a dedicated private vlan or physical net behind ssh/vpn bastion (jump box) which has per-user ssh keyed logins.

Use gpg user-based, single packet authorization secure port knocking to allow access to ssh / vpn through bastion. Paranoia around admin access isn’t paranoid enough since a compromise would cost much time and money in many unforseen ways.

No root passwords, ssh keys only. If absolutely required, store N-keyed using something like vault.

Don’t give too many people access they don’t need, but also don’t micromanage.

No shared accounts or ssh keys for people; service accounts for unattended services only.

Audit and disable/remove creds/privs not being used.

Ssh/gpg/tls private keys must be stored securely.

Lock-down, audit, transparent proxy, SPI, scrub nearly all external ports/data.

Never trust external, unsecured data.

—-

HTH

modells··on Fastcat – A Faster `cat` Implementation Using Splice
There is a ruby gem for Linux called io_splice that does zero-copy IO. Hasn’t been updated in a while but it doesn’t have any dependencies other than modern Linux and doesn’t mean it won’t work. “Old” code that works still works, novelty, job-securitization and API churn be damned when it doesn’t add value.

https://rubygems.org/gems/io_splice/versions/4.4.0

http://www.bigfastblog.com/zero-copy-transfer-data-faster-in...

EDIT: source to current stable coreutils’ cat http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_p...

modells··on Teenager Finds Classical Alternative to Quantum Recommendation Algorithm
It’s doubtful that the results would rank well because they bin sort people into types of movies, which is what most algorithms likely did anyhow. In fact, the results are probably awful if it’s not built to be optimal for such a challenge. Deep learning / similar ML would take some CPU but likely outperform all brute-force or even non-ML quantum algorithms because it’s able to elucidate knowledge of likes and whatever else ephemeral metadata or movie semantic analysis can be shoveled in.

Unfortunately, this seems like a “look at this trained mammal can eat out of a plate, wow!” story. Kid probably had to endure those innane 6x6 and up IQ red/white triangle blocks tests over and over. He won’t get much of a high-school life or college dorm/party experience.

modells··on Everyone does not, in fact, have a book in them
This story is a duplicate of Practically everybody in New York has half a mind to write a book, and does. -Groucho Marx sometime between the 19th and 20th centuries.

I hope not everybody has a book in them, that sounds mildly annoying and not sure if someone could cough that up on demand, unless they need to book it to an appointment that they booked. ¯\_(ツ)_/¯ C’est la vie.

Disclaimer: everything should be taken reactively literally, no exceptions... straight to the gallows without a cigarette for a passive-aggressive send-off.

modells··on The Decline and Fall of the American Empire
Each fall of civilization is a tale of N cities... there’s rarely “the one magic” factor.

US has:

- situations leadership cannot (ie no immediate benefit for them) or will not (ie blind tradition) correct the rules of the current system in a way founders, whom understood human-nature, could adjust to make it work better.. instead the ship is falling apart:

- essentially unlimited private campaign financing.. resulting in corruption metastasizing into all three branches, from POTUS down to sheriff and district attorneys, which leads elected officials to dismiss the public good to mostly consider the rich’es and their good.

- disengagement through manufactured consent, learned helplessness, divide-we-fell polarized animosity and non-participation.. yes, and celebrity chefs.

- mass-media oligopoly.

- insane student debt bubble, just the latest bubble.

- largely morally- and ethically-unmoored, unregulated market chicanery leveraging complexity, obscurity and trade volume speculating to alter the worth of real capital.

- large, diffuse official workforce participating in inverted totalitarian wage-slavery and living in their vehicles. more co-ops employee ownership, shorter work weeks, higher pay relativr to the cost of living and workers on boards-of-directors are needed.

- “excess” labor due to automation and outsourcing. those “better jobs elsewhere” rarely materialized, hence opioid crisis.

- opiod crisis.

- undocumented workforce which subsidizes costs of many essential goods for the lower-income classes with their cheap labor.

- complex geopolitical situation in an ever-flattening, connected and population-stabilizing work (sans Africa).

Maybe in a million years Bezos will be the first quintillionaire Morlock and feast on the marrow of the Eloi while paying for everyone’s UBI since there’s no jobs left except Scruffy, the Janitor.

modells··on Ask HN: 55 years old and no experience, am I too old to get a job?
It depends. I had a sysadmin consulting co. in high school that serviced nuclear, mech and thermo engineering companies. ML/AI, scientific and other specialized software eng are rarely picky in anything but pedigree and experience. For general-purpose coding, I wouldn’t bother unless you’re hackathon-insanely productive... also such jobs are more standardized and therefore more readily outsourced.

Haskell (biceps emojis here)

modells··on Stockton, California to give $500 a month in basic income to some residents
Nice. Rent was $300/mo in my time, 15 yrs ago.

I still have $8k in student loan debt held by Edu secretary Betsy DeVos’ Navient (aka Mom Corp).

modells··on Stockton, California to give $500 a month in basic income to some residents
It might cover rent. Very low-income people typically have Section 8 housing, which is subsidized.
← PreviousPage 4 of 5Next →