1,023 karma · joined Sep 5, 2019 (7y ago) · 298 submissions
comment 2y ago · link · parent
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
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
comment 2y ago · link · parent
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
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
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
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
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
comment 2y ago · link · parent
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 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 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
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
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 3y ago · link · parent
> 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.
comment 3y ago · link · parent
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
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 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...
comment 3y ago · link · parent
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
[0]: https://www.penguinrandomhouse.com/books/107178/1491-second-...
116.
The Joy of Losing Your Phone (2023)(thenewatlantis.com ↗)
1 points · by LeftHandPath · 3y ago · discuss
comment 3y ago · link · parent
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.
comment 3y ago · link · parent
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
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).