Better HN
topnewbestaskshowjobs
Log inSign up

jeeeb

534 karma · joined Feb 23, 2021 (5y ago) · 195 submissions

Submissions

comment 11mo ago · link · parent

The idea in Java is to let the JIT optimise away the logging code.

This is more flexible as it still allows runtime configuration of the logging level.

The OP is simply pointing that some programmers are incompetent and call the trace function incorrectly.

comment 12mo ago · link · parent

I really hate all the AI filters in videos. It makes everyone look like fake humans. I find it hard to believe that anyone would actually prefer this.

comment 1y ago · link · parent

Couldn’t you say the exact same about the human mind though?

comment 1y ago · link · parent

Also the worlds most popular web browsers

comment 1y ago · link · parent

Superannuation is not a tax. It’s a compulsory retirement saving/investment scheme.

However to calculate total income taxes you do need to include the 15% tax on superannuation contributions.

If your pre-tax take home salary is $100k AUD, then your total salary package is 111.5k including the 11.5% compulsory employer superannuation contribution.

You’ll pay regular income taxes + 2% Medicare levy on $100k and your $11.5k super contribution will be taxed at 15%.

So your total income tax including the Medicare levy (but assuming you don’t pay the Medicare surcharge or claim any deductions) will be $24,513. Giving an effective tax rate of 20.2%

There are no state or local income taxes in Australia so that’s it for personal income taxes. However states do charge payroll tax on most companies payroll (e.g. 4.85% on annual payroll over $1M in the state of Victoria for companies in the Melbourne metro area).

comment 1y ago · link · parent

At least in the systems I’ve experienced (Australia and Japan). You can just go to another doctor.

There’s no “insurance networks” and no visitation limits. You can go to _any_ doctor nationwide.

I’d be curious to know where you had that experience and what the limits are on finding a different doctor ..

comment 1y ago · link · parent

Ummm no… This is total fantasy.

Takaichi is a slightly right of centre nationalist. Pushing a mild tightening of some immigration rules to maintain the social contract around immigration, and fend off the right wing populists. Her policies amount to things like tightening foreign land ownership rules and refusing visa renewals for people not paying their health insurance or pension (which is mandatory by law for all residents).

She’s had friendly relations with SK so far and recently met with the SK President and bowed in respect to the Korean flag.

Her “provocation” of China was to state, when asked in parliament, that an armed invasion of Taiwan by China would be a case of a potential existential threat to Japan.

Which frankly is utterly obvious to anyone, including of course China. Japan hosts American military bases. If China attacked Taiwan, triggering an American repose then there would at the least be Chinese missiles aiming for Tokyo (Yokosuka) and Okinawa.

comment 1y ago · link · parent

Roblox apparently was at risk of being banned but worked with the government to implement extra controls

comment 1y ago · link · parent

I just wanted to say I had exactly the same experience this month.

I was diagnosed with LADA type 1 diabetes. First in my family to have it.

My immediate reaction was wanting to put together something to track my diet, blood glucose weight and so on.

Thank you for sharing your experience.

comment 1y ago · link · parent

After comparing Gemini Pro and Claude Sonnet 3.7 coding answers side by side a few times, I decided to cancel my Anthropic subscription and just stick to Gemini.

comment 1y ago · link · parent

Ahh I see. Thank you for the explanation. I didn’t realise their was user input straight after the system prompt.

comment 1y ago · link · parent

Wouldn’t it be the other way around?

If the instructions are at the top the LV cache entries can be pre computed and cached.

If they’re at the bottom the entries at the lower layers will have a dependency on the user input.

comment 1y ago · link · parent

They’re offering to fund 160 million euros to bootstrap private enterprises providing launch services to the ESA. Of course they want to review the business plan to make sure it’s viable before dropping a bundle of government money on some random company.

comment 1y ago · link · parent

> It’s not the only reason but an absolutely crucial factor is that EU states protect their domestic auto industry via tariffs and industrial policies/subsidies.

The same is true for America.

comment 1y ago · link · parent

The Apache Arrow libraries are a good alternative for reading parquet files in Java. They provide a column oriented interface, rather than the ugly Avro stuff in the Apache Parquet library.

comment 1y ago · link · parent

From the first paragraph of your linked article:

> BEIJING, March 31 (Reuters) - China, Japan and South Korea agreed to jointly respond to U.S. tariffs, a social media account affiliated with Chinese state media said on Monday, an assertion Seoul called "somewhat exaggerated", while Tokyo said there was no such discussion.

comment 1y ago · link · parent

Just like it’s applied to domestically manufactured goods as well …

The fact is the tax does not discriminate based on origin of the goods. It’s a tax on consumption.

So from the US perspective it matters to the degree that using a false premise to impose import tariffs might harm US interests.

comment 1y ago · link · parent

> Also perhaps our more enlightened policies are helping us achieve that higher per capita GDP?

Singapore’s GDP per-capita is likely fairly inflated as it doesn’t correct for the effect of multinational tax planning by large corporations on the GDP statistics , unlike say Ireland.

See: https://en.m.wikipedia.org/wiki/Modified_gross_national_inco...

comment 2y ago · link · parent

It was ceased and the police determined it was a potentially lethal weapon on examination. The suspect was arrested on this basis.

Given the circumstances and confession I’m guessing this guy will be let off with a warning (deferred prosecution).

comment 2y ago · link · parent

Reading the original Japanese article.

Police ceased the coil gun and determined that it was a potentially lethal weapon. The suspect was arrested under current law on this basis.

From March next year it will be illegal to posses coil guns at all (regardless of lethality).

comment 2y ago · link · parent

From the discussion above it seems that browsers have changed their behaviour in the last 10 years based on that study.

See: https://news.ycombinator.com/item?id=42166914

comment 2y ago · link · parent

Toshiba fumbled the initial opportunity with NAND memory but went on to became a major player. The modern Kioxia is one of the largest makers in the world and a direct spin-off of Toshiba’s memory division.

They were motivated to claim that Masuoka was not the inventor of NAND because they would have owed him millions in inventors rights on the patents. Masuoka eventually sued and settled out of court.

Line wasn’t particularly innovative. It’s basically a WhatsApp clone. It was mostly developed in Japan, by a team of mostly Japanese engineers, working at the subsidiary of a Korean company. It succeeded because of good timing and execution, not because it was innovative.

The Mitsubishi Jet project had many problems. It was massively overtime and budget. Its design didn’t match the needs of foreign carriers. They didn’t have the right team in place to navigate the certification process. Seriously read the Japanese wiki page on it. It’s a good summary of where the project went wrong.

I don’t see how any of this supports the conclusion that Japanese people are “too capable for their own good” and “so capable they are incapable”, or “incapable of recognising good tools”.

There’s plenty of counter examples where Japanese companies have been innovative and pivoted. Look at Kodak vs Fuji Film.

Kodak invented much of the underlying technology for digital cameras but failed to capitalise. Instead their business was disrupted by Japanese digital camera makers, eventually driving Kodak to bankruptcy. Meanwhile Fuji Film saw the writing on the wall and successfully pivoted.

comment 2y ago · link · parent

I disagree with your diagnosis.

I think these are good examples of Japanese corporate culture being quite insular, often not just of the world outside Japan, but often of the world outside the same company. Product design often stumbles because it focuses on the needs of the company not the customers (not a uniquely Japanese problem; cough Google).

It’s not a problem of people not appreciating good products - e.g. smart phones rapidly displaced the old “garakei” feature phones in Japan. Japanese consumers clearly appreciated them, just like they clearly appreciate fruit peelers..

Rather the mobile makers that reached market dominance became complacent. They failed to innovate, failed to expand overseas and were disrupted by innovative products.

comment 2y ago · link · parent

Why? They seem to do the job they’re meant to do very well and generally very reliable.

The interfaces are simple. The touchscreens are instantly responsive. They support a variety of features.

Overall they seem better than the ones National ATM makes.

comment 2y ago · link · parent

Huh? Is this comment meant to be parody? Japan’s full of gadgets to help with everyday tasks, including vegetable peelers. Just visit Daiso or Loft or similar and look around a bit.

Or look around your typical supermarket. Instant noddles, pre-made curry mixes, pre-cut meat and vegetables, instant miso soup, precooked side dishes and so on. It’s not like this stuff cannot be prepared at home. It sells well because it’s convenient.

P.S. the skin is the best part of a good apple.

comment 2y ago · link · parent

I’m not sure how unusual it is internationally but KYC laws in Australia will generally require 100 points of identification, usually satisfied by showing your passport and drivers license. Other options include recent utility bills, your birth certificate, medicare card etc.

The system wasn’t really designed for the internet era and I think a lot of people would not be happy about handing all the personal info over to TikTok or Facebook

comment 2y ago · link · parent

This is necessary to prevent islanding.

If the inverter outputs when the grid has lost frequency then other inverters can respond by also starting to output. This creates a chain reaction and can generate serious currents in sections of the grid that are expected to be on outage, which is a safety hazard.

comment 2y ago · link · parent

Australia already has a research reactor in Lucas Heights, Sydney. It’s a significant production facility for radioisotopes used in medicine.

comment 2y ago · link · parent

Very area dependent. In more rural area cash only vending machines are more common.

comment 2y ago · link · parent

The main value proposition is being able to query the data in SQL. Personally I find that more ergonomic than Pandas for a lot of tasks.

It also works seamlessly with Pandas in Jupyter notebooks. You can query dataframes seamlessly and store query results back into dataframes for plotting etc.

1234567