HNHacker News
TopNewBestAskShowJobs

wazokazi

198 karma · joined November 4, 2014

submissionscomments
wazokazi··on Orchestrating 5000 Workers Without Distributed Locks: Rediscovering TDMA
The workers sit idle for n-1 out of n time slices. As n gets larger, amount of work being done approaches zero.
wazokazi··on Liquid Foundation Models: Our First Series of Generative AI Models
I got this >>

To determine the winner, we need to calculate the time it takes for each car to complete the 100-mile race.

For Car A: Speed = 10 miles per hour Distance = 100 miles Time = Distance / Speed = 100 miles / 10 miles per hour = 10 hours

For Car B: Speed = 5 miles per hour Distance = 100 miles Time = Distance / Speed = 100 miles / 5 miles per hour = 20 hours

However, Car B has a 10-hour headstart, so we need to subtract that from its total time: Adjusted Time for Car B = 20 hours - 10 hours = 10 hours

Both cars take 10 hours to complete the race, so they tie.

wazokazi··on Testing the F-35C Tailhook
Was there ever any consideration given to building a "testing harness" to physically simulate the F35 landing? Something like the "dead load" testing that the EMALS undergoes. Just in reverse. Anyway, that was great read.
wazokazi··on Tesla Cybertruck Pricing and Specs
A different comparison would be the following (from the manufacturers sites)

----

  Ford Lightning Pro: $50K
    240 Mile EPA-Est. Range – Standard-Range Battery and RWD171
    0-60 MPH in 4.1 seconds - Standard Range Battery\*
    Wireless Integration with Apple CarPlay® and Android Auto™
    12-inch Touchscreen
    Mega Power Frunk

  CT Rear-Wheel Drive: $61k
    Available in 2025
    250 MI. Range (EST.)
    6.5 sec. 0-60 mph
very similar ranges and specs, but and CT is 10k more. Also, ships in 2 years.
wazokazi··on Lex Fridman Podcast: John Mearsheimer [video]
Mearsheimer was prescient when he advocated Ukraine be allowed to keep a strategic nuclear stockpile in the early 90s when the US admin was pushing to disarm Ukraine, post breakup of USSR.

  The Case for a Ukrainian Nuclear Deterrent

 Most Western observers want Ukraine to rid itself of nuclear weapons as quickly as possible. In this view, articulated recently by President Bill Clinton, Europe would be more stable if Russia were to become "the only nuclear-armed successor state to the Soviet Union." The United States and its European allies have been pressing Ukraine to transfer all of the nuclear weapons on its territory to the Russians, who naturally think this is an excellent idea.


  President Clinton is wrong. The conventional wisdom about Ukraine's nuclear weapons is wrong. In fact, as soon as it declared independence, Ukraine should have been quietly encouraged to fashion its own nuclear deterrent. Even now, pressing Ukraine to become a nonnuclear state is a mistake.


  A nuclear Ukraine makes sense for two reasons. First, it is imperative to maintain peace between Russia and Ukraine. That means ensuring that the Russians, who have a history of bad relations with Ukraine, do not move to reconquer it. Ukraine cannot defend itself against a nuclear-armed Russia with conventional weapons, and no state, including the United States, is going to extend to it a meaningful security guarantee. Ukrainian nuclear weapons are the only reliable deterrent to Russian aggression. If the U.S. aim is to enhance stability in Europe, the case against a nuclear-armed Ukraine is unpersuasive.
[1]

But, he does give Putin a pass on the invasion itself. Couldn't Putin have won the desired concessions with just sabre-rattling and having a skirmish on the border instead of a full on invasion, which is slowly destroying both Ukraine and Russia.

[1] https://www.mearsheimer.com/wp-content/uploads/2019/07/Mears...

wazokazi··on Marc Benioff: “I don’t work well in an office”
Remote is ok if your personality doesn't mesh with an office. And you are the CEO. This should do wonders for feeling of "ohana" at salesforce.
wazokazi··on Tesla’s Cybertruck has a serious problem that only a complete redesign can fix
10 micron tolerance on body panels sounds like a typo. Coefficient of thermal expansion of steel is 6.5 microns/in/F. So, a 2 degrees F change in temperature will put parts over an inch out of spec. Imagine a 3 foot (36in) body panel going from a 80 degree stamping area to 75 degree assembly area. It will be out of spec by over 1000 microns!
wazokazi··on Do Graviton instances lower costs for Spark on EMR on AWS?
The total cost($) vs total runtime(s) graph doesn’t look correct. Longer runtimes should cost more, so the dots should cluster in the top right quadrant.
wazokazi··on Ask HN: How to handle financial calculations precisely?
I would encapsulate the set of supported operations in a class along with the rounding mode and scale.

Something like: ------

   class MathOps{
    public MathOps(RoundingMode mode, int scale) {
       this.mode = mode;
       this.scale = scale;
    }
   ....

    public BigDecimal add(BigDecimal x, BigDecimal y){
     return x.add(y).setScale(scale, roundingMode);
    }
   ....
    public BigDecimal divide(BigDecimal num, BigDecimal denom) {
       return num.divide(denom, scale, roundingMode).setScale(scale, roundingMode);
     }
   ...
   }
----- You can then either create a new instance when you need to perform a math operation or just create a singleton instance if scale and rounding mode are always the same.

For financial calculations in US, I would recommend using RoundingMode.HALF_EVEN. From the docs "Rounding mode to round towards the "nearest neighbor" unless both neighbors are equidistant, in which case, round towards the even neighbor. Behaves as for RoundingMode.HALF_UP if the digit to the left of the discarded fraction is odd; behaves as for RoundingMode.HALF_DOWN if it's even. Note that this is the rounding mode that statistically minimizes cumulative error when applied repeatedly over a sequence of calculations. It is sometimes known as "Banker's rounding," and is chiefly used in the USA. "

wazokazi··on Ask HN: Transfer Large Amounts of Data
Take a gigabit network switch over to your friends house and connect both the machines to the same switch. Use windows to discover the shared folder on your friends computer and copy it to yours.
wazokazi··on Ask HN: Movies to Watch on a Plane
[Snakes on a plane| https://m.imdb.com/title/tt0417148/] is a hoot!
wazokazi··on Divergent Association Task: Fast creativity test
I am an ESL speaker. That said, I did learn English at a very young age and it was the language of instruction at school.
wazokazi··on Divergent Association Task: Fast creativity test
Your score is 97.52, higher than 99.83% ———————- paternity chocolate snowblower troglodytes sediment dictionary ricochet ————————

This could be a fun wordle type game that one could play everyday.

wazokazi··on Ford Mustang Mach-E Was Norway’s Best-Seller in May – Report
It is supposed to roll out this quarter, they gave me a $100 rebate check for not having it available at the time of delivery :)

Edit: Forgot to mention, it is an additional $600 option to get hands free driving feature.

wazokazi··on Ford Mustang Mach-E Was Norway’s Best-Seller in May – Report
I finally got mine last week, took over 6 months after placing the order!

It is very well built, unlike any ford I have ever driven. Drove it for about a 100 mile trip in the Columbia gorge last weekend, it was a blast.

That said, even with 250+ mile highway range, my wife had a bit of range anxiety once the battery gauge dropped below 50%. Something that will hopefully go away with time.

wazokazi··on Ford unveils the F-150 Lightning, its all-electric pickup truck
Are incentives even necessary anymore?

Regardless, this just shows how well Ford understands the truck market. This will sell like hot cakes, and they will have trouble keeping up with demand.

wazokazi··on Tesla Q1 2021 Results
I bought a Ford Mach-e, after comparing the mileage, build quality and pricing with model Y. The Tesla drives better, performance wise they felt the same, but build quality and cabin noise is way better in the Mach-e.

Also, surprisingly actual road mileage is better in the Mach-e too[1].

Tesla felt like a car built around the software and ford felt like a car with the software as an afterthought. But I like driving cars (drive a manual right now), so, don’t really care as much about the software as others.

[1] https://www.edmunds.com/car-news/electric-car-range-and-cons...

wazokazi··on Covid-19: Oxford-AstraZeneca coronavirus vaccine approved for use in UK
>> How effective is the Oxford vaccine?

>> There are three figures doing the rounds - 62%, 70% and 90%. The first analysis of the trial data showed 70% of people were protected from developing Covid-19 and nobody developed severe disease or needed hospital treatment.

>> The figure was just 62% when people were given two full doses of the jab and 90% when they were first given a half dose and then a full one.

>> The Medicines and Healthcare products Regulatory Agency (MHRA) has approved two full doses of the Oxford-AstraZeneca vaccine.

>> However, unpublished data suggests that leaving a longer gap between the first and second doses increases the overall effectiveness of the jab.

This description of the results doesn’t inspire confidence.

wazokazi··on Shanghai stock exchange suspends Ant Group's A-share IPO
From what I can gather from public information, the loan volume is ~$300B/year and growing rapidly. If they have to hold a 3rd of that on their books, that’s a lot of capital they have come up with. And maintain a loss reserve. I guess, they are being asked to become a bank.
wazokazi··on Trump Halts U.S. Funding of World Health Organization
Could this not have waited a few months? In the middle of an pandemic, to cut off funding to the only organization that is coordinating the global response is just crazy. The pettiness of this administration seems to know no bounds. Even if we accept that WHO screwed up in their early response and yeah they could be critical of China, cutting funding is wildly disproportionate reaction.

China will offcourse make up the difference, and appropriately gain more influence. As it rightly should.

wazokazi··on Ask HN: Is AWS Backing Away from PostgreSQL?
It may have been a glitch. I can create new Aurora Postgres instances, with version 11.4 as the newest supported. RDS (non-Aurora) instances have support for 11.5.

None of the big 3 cloud vendors support PG 12 yet.

AWS generally is the first to provide support for newer versions, and they usually lag the PG release dates by 6-9 months for RDS and over 12 months for Aurora.

[Edit] GCP Versions: https://cloud.google.com/sql/docs/postgres/db-versions Azure Versions: https://docs.microsoft.com/en-us/azure/postgresql/concepts-s... AWS Versions: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_...

wazokazi··on BlazingSQL – GPU SQL Engine Now Runs Over 20X Faster Than Apache Spark
Is there support for loading data from Parquet files?
wazokazi··on Peloton raises $550M at a valuation of $4B
There is a "Just Ride" mode, hidden under the "Other" options. I use it often for quick rides.
wazokazi··on Amazon Aurora Postgres: First Thoughts
That was supposed to be comment on the parent/original post. Sorry about that.
wazokazi··on Amazon Aurora Postgres: First Thoughts
As mentioned in the article, the ability seamless failover to replica significantly reduces MTTR when the primary/master node fails. Also, Performance Insights (https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_...) is really helpful chasing down slow/resource intensive queries.

That said, building a large, scalable Database still requires understanding the workloads and testing them out on production sized datasets. No easy button yet!

wazokazi··on Microsoft's Productivity Future Vision
In college (many moons ago, I was a double major in Mech. Eng. and CS), I took drafting for a semester in my freshman year before we transitioned over to CAD. I do remember the initial feeling, hard to describe, almost claustrophobic, of going from a drafting table to the mouse/desktop setup. Overtime, you got used to it and I never looked back, but do wonder now if a freshman ME would feel the opposite when going from a mouse/desktop to a large, wacom "drafting table".
wazokazi··on Impala: a modern, open-source SQL engine for Hadoop
Apache Phoenix: http://phoenix.apache.org/ is another SQL engine on top of Hbase/Hadoop. If you have an existing HBase cluster, Phoenix is a much easier way to put a SQL layer on top by simply mapping existing hbase tables to Phoenix tables. The icing is the ability to use JDBC tooling to query the system (Squirrel, DbVisualizer).
wazokazi··on Making an app promo video: Lessons learned by an indie dev
A rough breakdown of costs would be really helpful. Just basic ballpark numbers would help some of us who are on the fence about hiring a professional to do a video promo.
wazokazi··on Solving the Mystery of Link Imbalance: A Metastable Failure State at Scale
" At a meta-level, the next time you are debugging emergent behavior, you might try thinking of the components as agents colluding via covert channels."

An insightful way of looking at a problem when the cause is not obvious.

wazokazi··on New Relic files S-1 for IPO
$37M in sales/marketing to generate $47M in revenue in first 6 months of 2014. Are there metrics for Sales and Marketing expenses for a SAAS company that could be used for comparison? Seems pretty high, but maybe ok for a fast growing startup.