HNHacker News
TopNewBestAskShowJobs

jzwinck

5,693 karma · joined December 14, 2011

submissionscomments
jzwinck··on Oracle allegedly underpaid $400M in wages to underrepresented employees
Companies will underpay by an amount related not to the cost of the immigration paperwork (which is low) but to the perceived value of the outcome for the employee (which for professionals from many countries may be closer to $300k than $10k).

The government might as well collect that surplus as tax.

jzwinck··on Road to OCIv2 Images: What's Wrong with Tar?
Using Zip archives on Unix doesn't feel right, but it can solve a bunch of these problems straight away, while remaining highly portable.
jzwinck··on Nike’s auto-laced future
I'm surprised a sport like basketball would allow players to wear apparel which improves their performance using electronics and a motor.
jzwinck··on More Data Is Not Better and Machine Learning Is a Grind
It will also make the flag of Côte d’Ivoire be perceived as that of Ireland.
jzwinck··on Getting an IBM AS/400 Midrange Computer on the Internet
Yes, the AS/400 9401 "Advanced Portable" is the size of a regular desktop PC. Some pictures are here: https://www.flickr.com/photos/31231773@N02/albums/7215762371...

I have one. Even at the time it was considered a toy, too small to do anything serious. Another 9401 model called "Advanced Entry" was significantly more capable, and was the smallest anyone would actually buy. Documentation (last updated in 2013, about 20 years after the machine was current): http://www-01.ibm.com/common/ssi/printableversion.wss?docURL...

The portable was more of a sales and training tool, with a base 8 MB of RAM (maximum 16 MB in 1994, 56 MB in 1995) and billed as a single-user machine: https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?appname=s...

IBM also claimed the portable could be used for "low cost kiosks." The starting price adjusted for inflation to 2019 was over $12k.

jzwinck··on Snowshoe hares found to routinely feast on their own dead
Maori make up just 15% of the NZ population. They do however have more obese despite fewer who are only moderately overweight. Since the BMI ranking is by arithmetic mean, extremely fat people will have an outsize effect.

Ref: https://www.health.govt.nz/our-work/populations/maori-health...

jzwinck··on Netheads vs. Bellheads (1996)
In that case doesn't it mean there are 40 bytes of TCP/IP headers and 5 bytes of ATM headers plus a mere 8 bytes of payload per TCP packet?
jzwinck··on Netheads vs. Bellheads (1996)
Aren't TCP ACKs 20 bytes by themselves? The 40 byte total includes IP, which would not be needed if running on ATM, right?
jzwinck··on Vespa, a 72-Year-Old Italian Star Barely Showing Its Age
The Piaggio museum in Pontedera (Tuscany) is impressive and I'd recommend a visit. https://www.museopiaggio.it/en/museo/

There you can see first hand a lot of this history. And unlike all the museums of car manufacturers in Italy, this one is free.

jzwinck··on Ethereum Plans to Cut Its Energy Consumption by 99 Percent
I imagine that means it's OK if my network connection goes offline 4% of every hour. But what if I'm offline for 4% of 90 days, all at once?
jzwinck··on Norwegian frigate sinking has far-reaching implications
Yes, AIS shows self-reported positions. Basically it broadcasts your GPS coordinates, your ship's name and other details, plus (unfortunately) any random messages you want to send.

Ships have radar too. But my point here is not about sensors--the problem is in the human-computer interface. We can see on the screen that a ship is (or isn't) on a collision course with us, but the systems commonly installed on civilian craft only tell us if another ship is inside our predefined circle. And we have to make that circle fairly small when travelling in busy areas, or there will be alarms at all times.

Another fun, dumb thing about AIS: it does not self-report anchor state. It is a requirement that ships display a shape on their bow to indicate if they are anchored. But there is no dissemination of such data in AIS. It would be hugely useful to know the difference between a ship 0.5 NM away at anchor vs underway. And just imagine if we are ourselves in a busy anchorage--we would want an alarm if a ship underway is coming toward us, but not if a ship we are anchored next to is still exactly where we left it.

It's not that we don't have sensors to know what we need to know. It's that the displays and audible alerts are not ergonomically advantageous, and are prone to fatiguing their users.

jzwinck··on Norwegian frigate sinking has far-reaching implications
> my several years old car will scream with alarms if I'm closing on an obstacle, and eventually even start handling the danger for me. I have to assume the same systems exist for a huge expensive warship. So not only was the AIS turned off - all collision alarms etc were too?

I don't know how the military systems work, but I have used civilian maritime systems like the AIS you mention, some of which are built by semi-military manufacturers. Let me tell you, AIS is no silver bullet.

AIS does indeed alert us when another ship is within a predefined radius. But it does not judge whether the distance is closing or widening. If a ship passes perpendicular to our course but less than the defined radius behind us, we get an alarm--exactly the same alarm as if it were directly in front of us and moving toward us. There is no feature like "alert 10 minutes before expected collision."

Also, AIS has a feature where you can send messages as a broadcast to all nearby ships. The message you send could be "SOS SINKING 12 SOULS" or it could be "SATURN MICKEY WELCOME TO SALVADOR PORT" (a real one I saw last week with the names changed). The alarm at receiving stations will sound the same in both cases.

In busy shipping lanes there are multiple of these messages received per day by passers by, and several obviously-not-dangerous proximity alerts at the very least.

You can imagine why people might be inclined to turn them off.

jzwinck··on After 48 hours we haven't seen any sign people are using Waymo's service
People don't want to be picked up and dropped off at freeway exit ramps or Cracker Barrels.
jzwinck··on FAA Issues Boeing 737 AOA Directive After Lion Air Crash
In a Boeing, absolutely. The designers know it is important, and they devote a slice of cockpit space to a comically large "trim wheel." It has a white stripe to highlight automatic movements, and a large handle to allow manual control.

See: https://www.quora.com/What-are-the-spinning-wheels-in-an-air...

jzwinck··on Project Volutus: Micro data centers at base of cell towers
That's because it is designed to be installed indoors. It's more of a prefab datacenter aisle, not a standalone structure.

They explain that the central exhaust plenum is to be connected to the building's HVAC, and say "the Vapor Chamber can rest just as easily on a slab floor in an equipment room as it can in a traditional raised floor data center."

jzwinck··on Mio – Cross-platform header-only C++11 library for memory-mapped file IO
Memory mapped I/O actually prevents the use of huge pages if the backing storage is an actual disk. See https://lwn.net/Articles/718102/

Do you know of a way around that, aside from building your own patched kernel?

jzwinck··on Massachusetts gas fires: Another technological tragedy
What about the 45% efficiency of a natural gas power plant?

Yes induction is efficient if you only look at the part inside your house. But most of the losses are outside your house.

If you live in a place with advanced wind or solar power like South Korea then electric probably is more efficient.

jzwinck··on Massachusetts gas fires: Another technological tragedy
Induction stoves are unpleasant and ineffective to cook on, not to mention inefficient. And if you want to use a wok, well, you can't.

They are definitely better in appealing to first time buyers who may not know or care about their shortcomings. They look great and are easy to clean. But if you are into cooking, gas wins.

jzwinck··on Trivial authentication bypass in libssh leaves servers wide open
"GitHub isn’t vulnerable [...] my guess is you’ll be left with a small handful of random sftp servers or IoT devices and little else!”

That sounds reassuring. It's not as if hacking some random IoT device is going to win the jackpot.

Oh wait, it totally can: https://www.washingtonpost.com/news/innovations/wp/2017/07/2...

jzwinck··on Business networking for nerds (2017)
"Do I need to bring a table or just my computer?"

She stared. "What?"

"I have a 21 inch monitor and I can bring a folding table," I said.

Still clearly confused, she asked, "Why would you bring a computer?"

Oh, that kind of networking party. "Never mind."

- a true story from university

jzwinck··on The hidden reality of ridiculously complicated algorithms
I too realized the author was looking at Jupyter when I saw In[3] and so on. Absurd. The author is conflating a typewriter with a story. And starting from such ignorance, I wasn't about to find out where it ended up.
jzwinck··on How Numba and Cython speed up Python code
> There's a reason most high-performance Python libraries are not written [with Cython], and core routines are just written in C instead.

Pandas, Scipy and lxml are large, very popular Python libraries that use Cython. The article even mentions them at the end.

jzwinck··on How Numba and Cython speed up Python code
You're right, apart from np.einsum() and numexpr which is a separate package (albeit less drastic to use than Numba, because with numexpr you don't write your own loops).
jzwinck··on Is Python the Future of Programming?
I would love to see that list. Have a link?
jzwinck··on Is Python the Future of Programming?
That's why I qualified it by mentioning a huge commercial product which uses it extensively.
jzwinck··on Is Python the Future of Programming?
Lua is far simpler, and still easy to learn. Yet it's powerful enough to be used in "real" projects (e.g. Photoshop Lightroom).
jzwinck··on Backblaze Durability Is Eleven 9s – And Why It Doesn’t Matter
Indeed. I once had critical systems routed via a large redundant Cisco switch which claimed to be 1+1. Turns out there was a single "supervisor" component which failed (after just a year or two) and made the pair of switches useless. Apparently the designer worked in a team where nobody does anything when the boss is out.
jzwinck··on C++: Is It Really a Cruel Joke? (2003)
The STL doesn't always live up to the standard of "zero overhead abstractions." The list is not high performance, many implementations of hash tables never shrink (and used to have O(n) erase!), and deque is a bad joke (no chunk size control, plus laughable fixed chunk size on some common platforms).

Many high performance projects use vector but few other containers.

If the STL had a lesson to teach us it should have been "iterators everywhere, including for your own algorithms and container types." Instead most people learned "C++ has all the containers you need built in, throw away your performance tricks and let it call malloc a million times."

jzwinck··on A one word change to the C standard to make undefined behavior sane again
What many people don't expect is that if the compiler can prove that some function invokes undefined behavior, the compiler can emit no code for it at all--before, during, and after the UB expression.

Saying that writing past the end of an array could modify any other variable is one thing. Saying that writing past the end of an array could make your entire program do nothing is quite another.

jzwinck··on Unexpected hanging paradox
There is a surprise on Thursday (if not before).

If the prisoner is alive on Thursday at noon he will either be surprised to find he is to be hanged on Thursday, or surprised to find it will be Friday. Before that he had 50% expectation for either, and there is bound to be a negative surprise with regard to one day and a positive surprise for the other.

← PreviousPage 10 of 34Next →