Better HN
topnewbestaskshowjobs
Log inSign up

LeftHandPath

1,023 karma · joined Sep 5, 2019 (7y ago) · 298 submissions

The name is based on a Gilfoyle quote from Silicon Valley.
Submissions

comment 2y ago · link · parent

Hah, I’m currently trying that tactic to get us on Bookstack for our SOPs. Never thought about doing it with Laravel. Could work!

comment 2y ago · link · parent

Small aerospace company. We had a really old school CEO at the time the project was started - didn’t even want us using GitHub since it was on the cloud. Everything runs on an on-premise IBM i Series (AS400 / IBM Mainframe).

I pushed hard and was able to get us to the point where stuff runs in PASE with modern languages (like PHP).

It’s not any specific licensing issue, just organizational distrust of anything that isn’t paid for.

comment 2y ago · link · parent

Interesting. I’ve rolled my own PHP ORM at work (forbidden from using FOSS libraries like Laravel) and found hooks to be extremely useful. Notably, my programming experience started with PHP for Wordpress which used hooks extensively, so maybe I’m biased.

Mine has a table spec that can translate into a SQL definition or spit out a nicely formatted HTML form. There’s a separate controller that handles all DB connections / CRUD operations, with before- and after-hooks that can easily cross reference with other tables and constraints if needed.

It all works pretty nicely, although I would still switch to Laravel in an instant if I could.

comment 2y ago · link · parent

This Forbes article from 2017 seemed to hit the nail on the head, regarding their outsourcing to India being a major problem: https://www.forbes.com/sites/panosmourdoukoutas/2017/10/06/i...

comment 2y ago · link · parent

Interesting perspective. Enjoyed the discussion.

comment 2y ago · link · parent

> Rego emphasized the need to lean into life “with your hands, senses and via others.” To allow the prefrontal cortex to rest, he suggested doing hands-on activities, such as arts and cooking, and indulging the senses — especially in nature — and talking to people often.

In my hardest semester at college, I wound up spending a somewhat unreasonable amount of time in nature. I would walk 3-5 miles a day and up to 20 miles on the weekend. I had a wetlands preserve across the street (well, highway) from my apartment, and a great state park about 10 minutes away. My workouts got more intense as I was more stressed as well.

It all seemed to balance out and I've been trying to get back to that sort of balance of activities since I graduated.

comment 2y ago · link · parent

It sounds like you're working with a base assumption that increasing usage of cars is bad.

My base assumption is that moving people around is good. Freedom of movement and time-efficient movement. The car reigns supreme over trains, planes, and buses in those terms.

> the net impact was a slight time savings for suburban commuters for about six months, after which traffic was worse than before because more people were driving.

By the sound of it, more people were able to get where they were going because of the the Big Dig.

> Getting those people onto trains would be far more effective and cheaper

A breakdown of the numbers here would be great, but I'm not sure how much more time either of us want to spend lol. I like trains, but I'm cautious about them because they generally can't take people directly to an end destination the way an independent vehicle can. The US has also generally failed to use rail in a way that could replace cars in a meaningful way, despite rail having a decades-long head-start over the automobile.

> Similarly, delivery and garbage trucks aren’t affected at all by calming measures

I was under the (perhaps mistaken) impression that you wanted to remove or replace roads in cities to make way for alternative transportation. That's based on the statement in your original comment:

> Outside of freeways, we shouldn’t dedicate millions of dollars in public space to private car drivers,

I was not referring to traffic calming measures when I said that would be a logistical nightmare. I more meant that private cars share common infrastructure with a number of critical services; reducing their share of public space would harm those other services.

comment 2y ago · link · parent

See the Solomon Curve - https://en.wikipedia.org/wiki/Solomon_curve

We absolutely should consider the entirety of drivers and their existing behaviors when we design roads, instead of wishing they would behave differently.

Moreover, reducing accommodation for motor vehicles in cities leaves the non-urban population behind - and neglects that private vehicles aren't the only users of the roadway. Truck deliveries, garbage collection, and mail become a lot more difficult if roadways are reduced.

comment 2y ago · link · parent

Google maps was putting my speed in red today because it still had a road marked as 35 MPH, that had been re-rated to 50 MPH after construction ended.

Honestly it seems dystopian. Like requiring a breathalyzer before you can turn the key in every car. Treatment like this is supposed to be reserved for those who lost their freedom through egregious actions -- not the entirety of society.

comment 2y ago · link · parent

I think a better solution would be to re-evaluate how we set speed limits.

Clearly, the design of the road has an incredible influence over what speeds drivers feel comfortable - and uncomfortable - going.

There is a road near me (SWFL) where everyone routinely goes about 50 MPH, despite a 35MPH limit. The road has three lanes on each side, ditches on either side, a wide median, and dedicated turn lanes to get on and off. It's uncomfortable - and often dangerous - to follow the posted speed.

For any major road, it seems like the best approach would be to build it, then test what speed the majority of traffic goes on it before setting the limit. Get the average speed, add 5, and post the sign. If the speed is too high for the type of road, it should be redesigned. Surely it'd only take a couple of tries at the process before we figured out how to make a road where most people would drive the speed we intend.

--

As for electronic speed monitoring, there is another nearby road that's posted at 50 MPH that google maps insists is still 35 MPH. If electronic speed monitoring goes to its natural extent, that sort of mistake could result in hefty, unjustified fines or even jail time.

In any case, I have a feeling that this is a band-aid solution that will further discourage the average consumer from purchasing new cars.

comment 2y ago · link · parent

I’ve noticed that my ads get far more specific when I have mic and camera access enabled for Instagram (which is required in order to post stories with certain features). In fact, I’ve often (correctly) realized I accidentally left access on after posting due to a hyper-specific ad relating to a recent conversation.

comment 2y ago · link · parent

I did a 12.61 mile hike in Algonquin with ~1520 feet of elevation gain back in July. The total time was 4 hours and 36 minutes - and my hiking partner and I were both exhausted afterwards. My heart rate ranged from 93 to 195 BPM, with an average of 154, according to my Apple Watch.

We were doubly motivated by mosquitoes and the fact that my grandmother - aged 99 at the time, who has since passed - was going to leave without saying goodbye if we weren’t back by the right time (something we weren’t aware of until midway through the hike). Would have been much slower otherwise.

I’ll definitely be using this rule in the future to sanity check the AllTrails estimates.

edit: a more recent hike in Kansas - 20.04 miles with ~1600 feet of elevation gain - I did in 6:45:28, according to my watch. A bit faster than the 7:28 estimate I come up with using the rule.

comment 2y ago · link · parent

It looks neat. Reminds me of a lot of ideas I had of making a way to tightly couple classes/logic between PHP (server side) and JS (client side) when making websites and web apps.

It came up a lot when making HTML-based forms. I’d define them all in PHP, but the experience is best without a page load, so typically I define some typescript object to send the form via Ajax. I got tired of having to define all the field names in both places (awful for maintenance), so instead typescript uses AJAX to ask the server for the list of inputs it needs to grab and send.

It sounds like Haxe could be a much nicer way to do stuff like that: https://haxe.org/use-cases/web/

comment 2y ago · link · parent

I wondered why this sort of thing didn’t already exist. I had to develop for IBM Db2 (for i Series) on a Linux environment (using MariaDB) due to the licensing that stopped us from having a test env.

I wound up writing a very ad-hoc C++ program that would parse a base SQL file and generate the appropriate DB2 and MariaDB dialect versions. Not flexible enough for reuse but it got the job done.

comment 2y ago · link · parent

I remember reading about how the TSA was very unsuccessful in catching errors, because they faced a large number of true negatives day in and day out. The alarms barely ever went off, and when they did, it was usually a false positive. The natural human tendency in that situation is to optimize / reduce energy expenditure by letting your guard down and paying less attention.

In security, "covert tests" that replicate rare events (like attempting to sneak a gun through a checkpoint) more frequently, seem to increase the chances of success in detecting real threats [0]. If only we could do the same for our legal system.

[0]: https://www.cmu.edu/news/stories/archives/2013/november/nov4...

comment 2y ago · link · parent

We're cursed by our own creativity. The tech has a handful of positive use-cases, and a seemingly infinite number of nightmarish abuses that even its inventors are terrified of. But they will continue to develop the tech, or someone else will in their place. It's a huge, exciting, valuable advancement that could change the history of our species - not exactly the sort of thing anyone would want to just walk away from.

It's not the most dangerous thing that man has ever built, but it is dangerous, and it's probably the most uncomfortably personal.

The following was encouraging:

> In late 2021, the scientists began to run new experiments. First, they were curious if an algorithm trained on one person could be used on another. They found that it could not — the decoder’s efficacy depended on many hours of individualized training. Next, they tested whether the decoder could be thrown off simply by refusing to cooperate with it. Instead of focusing on the story that was playing through their headphones while inside the fMRI machine, participants were asked to complete other mental tasks, such as naming random animals, or telling a different story in their head. “Both of those rendered it completely unusable,” Huth said. “We didn’t decode the story they were listening to, and we couldn’t decode anything about what they were thinking either.”

comment 2y ago · link · parent

That sounds a lot more livable than my solution of throwing pajama pants or socks over every LED before I go to bed. My dell laptop power connector and google router are the worst offenders.

comment 3y ago · link · parent

This is incredibly similar to a paper one of my professors was working on a year or two ago: [0]

> Neural Trojans embedded in pre-trained neural networks are a harmful attack against the DNN model supply chain. They generate false outputs when certain stealthy triggers appear in the inputs. While data-poisoning attacks have been well studied in the literature, code-poisoning and model-poisoning backdoors only start to attract attention until recently.

While I agree with other commenters here that it's hard to imagine it being widely implemented at the moment, I think it's only the beginning of this type of tech. In a few years, maybe this type of data poisoning could be as ubiquitous as SSL and as subtle as webp compression artifacting.

[0]: https://dl.acm.org/doi/abs/10.1145/3548606.3560678

comment 3y ago · link · parent

See the nirvana fallacy: https://en.wikipedia.org/wiki/Nirvana_fallacy

It happens a lot. I think it's one of the big reasons that hyped-up video games and movies always disappoint.

comment 3y ago · link · parent

I saw someone on reddit insisting they were doomed because the hatch didn't open from the inside.

Opening the hatch? At 13,000 feet below sea level?!

comment 3y ago · link · parent

I think streaming services have had a bigger impact on how we consume media in general than we appreciate.

For one, very few people buy physical media anymore - but streaming isn't licensed like physical media is, so while you can buy the disk form of virtually any movie without any hassle, you may have to sign up for a specific subscription service or platform to stream. For example, I would need to sign up for Comcast to stream "Cannonball Run" - but I can buy it on DVD from Amazon.

It also means that anything that isn't available to stream, anywhere, doesn't get watched the way it might if we were still in the Blockbuster era.

And of course, missing bonus features and special cuts of films is yet another major change.

On the whole, I've been able to consume far more content that I love thanks to streaming than I think I've lost because of it. But it's worth noting the changes. Will definitely check out Criterion's service.

comment 3y ago · link · parent

I have worked with these extensively - my employer uses one for work, and I have written software both in the greenscreen / ILE languages and in the PASE environment / IFS to accomplish certain tasks (e.g. setting up an intranet site with PHP to present pretty-fied reports of what's in the databases).

I think one of my favorite things about it is actually IBM's Data Description Specification (DDS) [0]. You use it for the same reason you'd use a `CREATE TABLE` statement in SQL, but the syntax is much more legible / suited for that purpose, and the file is stored permanently (and used to spool up a "physical file" with the given format, where the data is actually stored).

Definitely encourage anyone who is curious about these / esoteric OS's in general to look into them - you can get hands on through IBM's "Cloud for Co-Creation and Enablement" (I believe it's been renamed) or PUB400 [1].

[0]: https://www.ibm.com/docs/en/i/7.3?topic=files-describing-usi...

[1]: https://www.pub400.com/

comment 3y ago · link · parent

I played RuneScape daily from 2005 - 2009 (I started playing with a friend after school every day when I was in 2nd grade).

Definitely gave me a leg up on things like spelling, social interaction, learning not to trust strangers who promise to guard you through the wilderness, etc. Arguably guided, subconsciously, some much later intuitions I had about psychology / economics / game theory. And it was probably also responsible in getting me interested in computers.

I could see it being part of a funnel that makes people more likely to wind up on HN.

comment 3y ago · link · parent

They have many options for the veneer - carbon fiber, aluminum, and a number of gorgeous wood options.

If I find the dough I really hope to buy one before they're forced to go all EV.

comment 3y ago · link · parent

Reminds me of some of the discussion in Charles Mann's "1491", regarding the agricultural techniques of the Indians (honoring his use of that over Native Americans) before the Colombian Exchange [0]. The natives in South America had figured out symbiotic relationships between several plant species and grew them together in "Milpas" [1] (and how this goes against the "pristine land" myth many mistakenly hold regarding the Indian's use of the land).

[0]: https://www.penguinrandomhouse.com/books/107178/1491-second-...

[1]: https://en.wikipedia.org/wiki/Milpa

116.

The Joy of Losing Your Phone (2023)(thenewatlantis.com ↗)

1 points · by LeftHandPath · 3y ago · discuss

comment 3y ago · link · parent

Honestly why not just make a database like GIFCT [0], for classified documents? You could make it possible to both preserve the current status quo (e.g. most social medias already run a check against some databases to prevent you from uploading terrorist content and CSAM) and stem the flow of classified documents. No need to ban E2E encryption, no need to have a watchful eye over everyone on the internet, no need for back doors to scan data on private devices or monitor private chat rooms.

However, somehow I doubt that we want to make a database like that given that, even if the hashes are irreversible, the database itself could be used to glean information.

Of course, a better solution could still be the one suggested in the article: stop over-classifying, and reduce access to classified materials overall.

[0]: https://gifct.org/hsdb/

comment 3y ago · link · parent

I recently got a rhodia notebook to go with my Pelikan Souveran FP and recently acquired MB LeGrand rollerball. I've been using the RB more and more because it's just a lot easier to keep inked and ready to go (and the size is perfect for my hands). That said, it skips a lot - not sure if I got a bad refill or if that's just the way MB rollerballs are.

Definitely invest in a good notebook if you get a nice pen. The pelikan is a pain to write with on regular paper.

comment 3y ago · link · parent

I can certainly understand the sentiment - most parts of most towns are like this.

But if you look, virtually every town of reasonable age has a walkable "downtown" area. Even in small Kansas towns - look at downtown Ottawa, Seneca, Lawrence, etc. Or, across the country - Rock Hill, Greenville, Savannah, Tampa, Orlando, San Diego... The only ones that lack walkable downtown areas are the most recently constructed communities (Nocatee, Florida comes to mind - recent construction, the "town center" is effectively a strip mall).

12345
10