HNHacker News
TopNewBestAskShowJobs

PEJOE

249 karma · joined April 28, 2019

submissionscomments
PEJOE··on A jelly-like material that acts like hard, shatterproof glass when compressed
Not sure what you are trying to say here, but non-Newtonian (non linear shear stress vs viscosity) fluids are common and studied.
PEJOE··on Bitcoin is largely controlled by a small group of investors and miners
I thought Bitcoin was the money?
PEJOE··on The dark patterns of Network Solutions
The article actually misses a Network Solutions dark pattern that really struck me: all monthly rates are actually 4 week rates, meaning you are billed 13 times a year.
PEJOE··on GoDaddy is cutting off Texas Right to Life’s abortion ‘whistleblowing’ website
Where is the line? The defense production act?
PEJOE··on The Descent to C (2013)
That you can do functional or OOP in C does not make C either kind of language, it just means that C is flexible enough that you can make the computer do things the way you want it to, no matter what that means, and other languages purposefully prevent you from doing what you might want to do.

C++ is object oriented not because it has compile time support for polymorphism or any of that other bad programming practice, but because classes have code sections that live with them, whether on the stack or in the heap, that can operate only on memory belonging to that instance of the class.

Object oriented programming is a coding style and choice. Some languages make it a first class part of the language design. It is purposefully not part of C.

However you can do OOP like things in C: a popular paradigm is to pass around pointers to structs that (should) live in the heap, and to have a number of functions which work on these structs. This is very similar in practice and mental modelling to OOP as users of C++ might know it, but is distinct in that no code ever lives in the stack or heap, and no code is restricted from operating on any of the program memory.

PEJOE··on New Ways to Be Told That Your Python Code Is Bad
Did you read the second half of my post? Did you read the authors post at all?
PEJOE··on New Ways to Be Told That Your Python Code Is Bad
I agree, but to fair to the author I do not think the vast majority of people are implementing thread pools in python.

I also think there were good reasons the author's linters were left as optional, and its probably not because everyone thought they were great ideas.

PEJOE··on China on the Cusp of a 'Profound Transformation'
Obama's TPP was a much better counter to China than anything the Trump administration accomplished. Too bad your "tarred and feathered," President didn't have the vision to take effective steps, and instead took loud, boisterous, and largely ineffective measures instead.

Once his advisors realized the reality in , they begged to get back into the TPP at the original terms, but that ship had sailed. [https://www.ft.com/content/bc65dd72-3f2d-11e8-b7e0-52972418f...]

Nothing trump did China wise ever made up for this disastrous failure, and all of his tariffs hurt Americans even more than they bothered China.

PEJOE··on Reddit raises $410M in new funding
Can you please provide more evidence to support this claim? From where I'm sitting, TikTok's and Instagram's businesses would disagree strongly.
PEJOE··on Rep. Takano Introduces Legislation to Reduce the Standard Workweek to 32 Hours
> worse heavily discriminates against the older folks

The ACA is actually a wealth transfer from the young to the old, like social security, because the young pay much more than their portion of healthcare costs, while the old have a ceiling on their healthcare costs.

Whether this is good policy is for the think tanks and politicians, but after the ACA it is not true that health insurance discriminates against older Americans.

PEJOE··on Why is the university of California dropping the SAT?
You're losing the forest for the trees. Wealthier parents most often send their children to good private schools, and their children have lots of options for college if they are talented and hard working.
PEJOE··on Show HN: I Debian-packaged my Wiki Server
I discovered a really exciting program today: checkinstall

Running sudo checkinstall after building with make does several things: 1. “Installs,” the compilation product 2. Packages it into a .deb that makes it easy to install anywhere 3. Allows you to use dpkg to uninstall a compiled project, e.g. “sudo apt-get uninstall ffmpeg-v4.5-source-aarch64-github” assuming the latter is what you named your package

Obviously this isn’t an end all be all, but is already saving me a lot of time

PEJOE··on Can a passenger plane land own its own?
Carrier landings are often heavily automated in planes like the f-18.

I worked with someone who had been the navigator in a growler, and he complained that they would always get lower scores for their landings while the f-18 pilots would auto land and get full marks

PEJOE··on The History of Nuclear Secrecy in the U.S.
Also one of: France, Israel, and or South Africa [0], of whom the latter two were signatories to the 1963 agreement.

[0] https://en.m.wikipedia.org/wiki/Vela_incident

PEJOE··on Ask HN: Do any beginner coders or those interested in tech want a free mentor?
Hi CJ,

Mind if I send you an email as well?

PEJOE··on Submarine Cable Map 2021
My father was one of the inventors of the undersea fiber optic cable, and joined many of the cable laying missions, including the original Australia mission and several japan missions. (I forget the cable names)

Our house growing up was full of cable segments, superconductors, lasers, and microscopes. I remember one day he brought home a $100,000 microscope that had been thrown away, which I proceeded to use to look at banal things like leaves and insects, but was designed to look at the ends of cut fibers.

Anyway, its incredible to me how much these cables have transformed the world, and how invisible it is to all of us. Imagine if trans-continental communication relied on satellites? The global internet we have today would be much more isolated, with fiefdoms based on proximity.

For those interested in a fiber science story:

He once was asked to calculate the rate of seawater diffusion into glass, which he and the team found ridiculous, but I suppose it was unknown if water could soak into glass in an appreciable way over long periods of time. (Water is an important impurity to try and control)

How would you measure such a thing? There's no good way to increase the rate of diffusion of water into glass, but what you can do is make fiber with excess water in the core, and heat the fiber while measuring the diffusion of water out of the core into the outer portions of the fiber.

Then simple rate relations imply the rate of diffusion at sea floor conditions.

I believe the result was that you would see a 1% increase in the water concentration in the fiber over a period of 10,000 years. So his instinct, that it does not matter, was incredibly correct.

I hope nobody else has ever had to repeat such a measurement!

PEJOE··on How Not to Redact a Warhead
I had the exact same thought. And why make it easy for an adversary? The game is about staying ahead, and part of that is making sure they don’t know exactly what you’re working on.
PEJOE··on S-500: How Russia Plans to Kill F-22 and F-35 Stealth Fighters in a War?
I think you are missing one of the key ingredients to anti-stealth radar, and why we have shifted to a strong focus on RAM. That would help answer your own questions. I won’t say it here, but separately it certainly is possible to train against targets which would produce returns analogous to an F-22 or F-35 type aircraft to various radars.

On another note, US anti-air capabilities are already far behind the S-400. I understand we don’t have an immediate use case ourselves, but the lack of a credible AA system pushes potential partners like India and Turkey to fight with us for the right to buy the S-400.

PEJOE··on The rise of crypto laundries: how criminals cash out of Bitcoin
> I get the impression that they have no idea.

I suspect this is the case; I used to really enjoy the FT but think the spark has gone since the Nikkei acquisition.

PEJOE··on SARS-CoV-2 infection induces long-lived bone marrow plasma cells in humans
The long tail of the distribution combined with the media’s search for interesting stories ensures that unlikely events will be featured more prominently in your observations of the world than they would deserve according to their probability alone.
PEJOE··on U.S. Backs 15% Global Minimum Tax to Curb Profit Shifting Overseas
Sure, but both of those will have other, potentially unwanted consequences. Besides, this isn't just "US hegemony," most of the EU wants this as well (except Ireland), as they want to tax the local profits of multinational tech.
PEJOE··on What Python creator Guido van Rossum thinks of Rust, Go, Julia, and TypeScript
You must be a newer human. Slashdot is a venerable news site of old, with a very interesting comment and moderation scheme.

Just because something is different does not make it horrible. I actually rather like /. and think many others do as well.

PEJOE··on Consumer prices increase 2.6 percent
Yes, if prices relax, then we will see the deflation reflected in the numbers.

A shift of both demand and supply, resulting in increased prices, is one way inflation can happen.

What is important in CPI inflation are the prices consumers pay.

How that fits into bigger picture money supply * money velocity is a different conversation

PEJOE··on gRPC benchmark results
That doesn’t explain C++’s poor tail performance, unless it’s just poorly optimized like the top comment suggested
PEJOE··on gRPC benchmark results
Looking at the 99% times and memory usage, it looks to me like rust came out on top if you’re looking at best worst-case performance. Any idea why the tail latency was so much better for rust vs Java or c++? E.g. specific work that went into it or language optimizations?
PEJOE··on Ask HN: How to return large response over an API?
If you know the structure of the file so that you are comfortable reading it a bit at a time, and you’re confident the structure won’t change, C has several ways to control how much of the file you read in. You could just write a python module to handle this situation.
PEJOE··on Apple’s AirTag trackers made it frighteningly easy to ‘stalk’ me in a test
The problem is that the use case for tracking stolen items and the use case for tracking a person without their consent are identical, except for which side of the transaction the bad actor is on.

I cannot think of a resolution to this, but think the 3 day compromise is a fair start.

There are many, many more thieves than stalkers, but stalkers can do arguably much more harm per incident.

PEJOE··on Liberalizing Land Use Regulations: The Case of Houston (2020)
Unless the new development is writing premiums as well, I suspect you mean to say that the new development would ensure that there are cheap apartments to move to.
PEJOE··on Flu has disappeared worldwide during the Covid pandemic
Influenza is not a coronavirus
PEJOE··on Modern C++ Won't Save Us (2019)
C is still a widely used and beautiful language. It is "safe," in the sense that the machine does more or less exactly what you ask it to. Allocate memory when you need it, and free it when you consume it / are done with it.

You do not have to use these features if you do not want to.

C++ is very powerful, and has an amazing world of libraries available, but sometimes I feel like it is at least two languages at the same time.

For example, one benefit of using C++ over C is writing C style programs with modern libraries and convenient containers in the STL, but you quickly learn that C style programming isn't supported across the board, and hitting that wall can be jarring and unexpected (Looking at you openCV - just try to allocate space for a struct containing a cv::Mat)

Page 1 of 3Next →