Better HN
topnewbestaskshowjobs
Log inSign up

programmarchy

1,892 karma · joined Apr 15, 2012 (14y ago) · 1,207 submissions

Submissions

comment 4y ago · link · parent

Looks slick and feels super fast.

One thing I like about Linear is having multiple accounts/workspaces and easily switching between them. As someone who manages multiple Gmail accounts and projects, this would be a nice feature. Totally understandable why it's not in the beta, though.

comment 4y ago · link · parent

Moral of the story is that sometimes social engineering is much cheaper and more effective than software engineering!

comment 4y ago · link · parent

I’ve done a bit of PDF wrangling in Python, so figured I’d describe the lay of the land.

PyPDF [1] is great for reading and writing PDF files, especially dealing with pages, but it’s not great for generating paths, shapes, graphics, etc.

However, reportlab [2] has a great API for generating those things, but is lacking in the file IO and page management department. But the content streams it generates can be plugged into PyPDF pretty easily.

Finally, there’s pdfplumber which does an amazing job of parsing tabular data from PDF structures, and pytesseract which can perform OCR on PDFs that are actually just image data rather than structured data.

There’s not really a one-stop-shop for PDFs, but some pretty good tools that can be combined to get the job done.

Will be curious to see how this project develops!

[1] https://pypi.org/project/PyPDF2/

[2] https://pypi.org/project/reportlab/

comment 4y ago · link · parent

Willing to bet there’s more to this story. From the article:

> Heather Wallace's oldest son, eight-year-old Aiden, was driving his two brothers crazy in the car as they all returned from karate one afternoon in October 2021. Wallace asked Aiden to walk the rest of the way home—half a mile in quiet, suburban Waco, Texas—so that he could calm down.

It’s not like the kid was happily strolling a mile home from school or the park. The article is downplaying the situation.

Sounds like she kicked her kid out of the car, and I have doubts that went down peacefully. She was probably angry and her kid was probably crying and panicking. From the neighbors’ point of view it probably looked very cruel, and perhaps even dangerous depending where he was left. (Many suburbs are polluted by “stroads” which have no sidewalks and lots of traffic.)

Granted, a felony seems extreme, even if the Mom was raging at the kid. But I’d want to hear the neighbor’s testimony before offering my sympathy.

comment 4y ago · link · parent

Yes, and I also know the difference between a request from an end user client and a server-to-server RPC which was referenced in Musk’s tweet. The Android engineer is confusing the two, and so are you apparently.

comment 4y ago · link · parent

So, are there 1,000 RPCs needed to render the timeline or not?

The Android engineer didn't seem to know the difference between an RPC and a request from an end user client. The former timeline engineer disabled public responses to his tweet and has refused to elaborate. Neither of them backed up their contradiction with a rebuttal.

Edit: Was curious so did some digging and found more:

> @elonmusk:

> I was told ~1200 RPCs independently by several engineers at Twitter, which matches # of microservices. The ex-employee is wrong.

> Same app in US takes ~2 secs to refresh (too long), but ~20 secs in India, due to bad batching/verbose comms. Actually useful data transferred is low.

> Part of today will be turning off the “microservices” bloatware. Less than 20% are actually needed for Twitter to work!

> And we will finally stop adding what device a tweet was written on (waste of screen space & compute) below every tweet. Literally no one even knows why we did that …

comment 4y ago · link · parent

Was it ever the main storyline?

Clean energy isn't sexy compared to the low rumble of a gas-powered V8. Heck, even "safe" cars aren't sexy. "My car has the highest NHTSA rating, m'lady!"

But fast cars are sexy, and so are high-tech self-driving cars. So of course that's the storyline used to build hype. The promise of FSD is an acceptable "noble lie" to drive adoption of green tech.

comment 4y ago · link · parent

Getting people hyped on green technology has a ton of value.

comment 4y ago · link · parent

I tend to agree, and if you add to that infrastructure essential to national security like chip manufacturing then sophisticated Republicans can get on board also.

comment 4y ago · link · parent

Personally, I find the person who delivered on electric cars and reusable rockets more credible than a random anonymous account.

comment 4y ago · link · parent

More importantly his analysis describes this inflation as the result of structural changes, not cyclical changes. He describes how the managerial class is overpowering the financial class, and what the results are likely to be in the short term (capex boom) and long term (stagflation).

282.

We will see the return of capital investment on a massive scale(themarket.ch ↗)

81 points · by programmarchy · 4y ago · 43 comments

comment 4y ago · link · parent

He might. Shortly after firing them, he tweeted:

> Wachtell & Twitter board deliberately hid this evidence from the court. Stay tuned, more to come …

https://twitter.com/elonmusk/status/1586885887341645824

comment 4y ago · link · parent

Are you your own sibling?

285.

Reverse Engineering the Apple MultiPeer Connectivity Framework(evilsocket.net ↗)

2 points · by programmarchy · 4y ago · discuss

comment 4y ago · link · parent

Sounds like this plan was in place before Musk’s offer, but one way to do this would be to “authenticate all humans” as Musk said he wanted to do in order to remove bots. That would drastically reduce the content moderation workload.

comment 4y ago · link · parent

Check out CG Cookie https://cgcookie.com

comment 4y ago · link · parent

Right? Intuitively it seems like there's some kind of vortex dynamic happening that would be better represented by something like fluid dynamics or harmonics, but we're trying to classify different kinds of ripples and eddies as "particles".

Hawking predicted low mass objects could form a black hole, and while the proton has less mass than the minimum bounds he calculated, it is extremely dense. Perhaps it's dense enough to where it's close to a micro black hole such that it "sticks together", but information can still be exchanged at its edges? If it's acting as some kind of interface between our spacetime and a gravitationally collapsed state, then this could possibly explain phenomenon like how quantum entanglement is possible, with information being exchanged across spacetime via these quasi black holes. Just my layman speculation!

comment 4y ago · link · parent

Super interesting from a psychological perspective, especially in contrast to predictions by economists that the opposite would happen. I think it shows bravery and optimism.

290.

FBI Raids Star ABC News Producer’s Home(rollingstone.com ↗)

68 points · by programmarchy · 4y ago · 29 comments

comment 4y ago · link · parent

Sounds like they had a control for this, though, because they claim to have investigated whether the teacher was male or female. Only differences seemed to be class size and whether the school was technical/academic or vocational.

My pet theory would be boys tend to have worse handwriting. So it could be that the worse handwriting is more frequently misinterpreted or simply marked as wrong by teachers.

comment 4y ago · link · parent

There’s really no functional difference between malice and incompetence, or even between evil and weakness. The problem is when incompetent people are given power to force their erroneous beliefs upon other, more rational, people.

comment 4y ago · link · parent

From the Aubrey de Grey Wikipedia entry [1]

> Both women describe situations in which de Grey, {...} explicitly spoke with them about sex. According to Halioua’s account, he even told her that it was her responsibility to sleep with SENS donors to encourage financial contributions. Deming was only 17 when, she alleges, de Grey told her he wanted to speak with her about his “adventurous love life.”

What might be even worse is the response by SENS:

> In March 2022, the SENS Research Foundation released a statement regarding de Grey's employment affirming that while his actions "did substantiate instances of poor judgment and boundary-crossing behaviors, Dr. de Grey is not a sexual predator."

I’m also the father of a daughter and this makes my blood boil.

Relating this back to the topic of life extension technology, one effect is that evil people will live longer. I’d wager that life extension technology would create an evolutionary advantage for evil people because they are more prone to power-seeking ideologies and therefore more likely to adopt the technology than conventionally morally good people, who would be more at peace with death.

[1] https://en.m.wikipedia.org/wiki/Aubrey_de_Grey

comment 4y ago · link · parent

A “problem” is the metrics for that goal are unfalsifiable.

However that problem becomes a feature if the actual goal is not the stated goal.

comment 4y ago · link · parent

In the second video, the modulated voice didn't sound very masculine, which makes me wonder how accurate the results of this experiment would be. The video in the FastCompany article did sound more masculine, though, so maybe it's fine.

If you want a voice modulator to improve your odds in an interview, then have it filter out uptalk.

comment 4y ago · link · parent

The use case is copy and pasting code, not learning how to write the code.

comment 4y ago · link · parent

This rings true. A lot of the outrage these days is manufactured, and seems like that would only be done as a distraction, since it's so damaging to the social fabric. It must be worth it to have the "serfs" chasing scapegoats to keep the "aristocrats" out of sight from public scrutiny. It's dangerous for them, because class is an issue that both left and right can align on.

In fact, we saw that alignment starting to happen during Occupy Wall Street in 2011, with progressives in the same camp as libertarians and the pro-labor right. If the country enters another economic downturn, it'd create the conditions for that to happen again. It'd be interesting to see how that would play out. There's a huge potential for change if people can tune out the outrage machine.

comment 4y ago · link · parent

Point of clarification: the original title has an exclamation point after “Fools”. Might want to at least add a comma ;)
1
91011
41