Better HN
topnewbestaskshowjobs
Log inSign up

dtech

8,715 karma · joined Feb 25, 2014 (12y ago) · 2,256 submissions

Submissions

comment 10mo ago · link · parent

You can always impose additional tariffs until it is ludicrous levels. Eg 100% or more like China has reached a few times before it was walked back.

comment 10mo ago · link · parent

This is an incredibly mid take.

This is a boon for any European manufacturing and tech company. Not "just" German car manufacturers but especially machining and pharmaceutical companies.

Farming is already incredibly subsidized in the EU, and has an outsized political capital for their importance based on historical momentum. This is also primarily bad for the beef industry, which is produced in the EU using very intensive and polluting (ammonia) methods which are also bad for animal welfare. They deserve no sympathy.

comment 10mo ago · link · parent

It's pretty simple: those people are the absolute experts in their field, similar to those top chemists or whatever. That field is societal power systems.

Of course someone who dedicated his time to climbing and understanding power systems will have more power than someone who doesn't.

comment 10mo ago · link · parent

It's less than 7 exactly so you cannot set it on a weekly rotation

comment 10mo ago · link · parent

They have blank cards. They're a minor pain to set up in their UI, you have to get the audio files from somewhere, and you have to print a sticker so it's a bit of work but very doable.

comment 10mo ago · link · parent

They only had positive samples, so they could and did only report true and false positives

comment 11mo ago · link · parent

I feel like you're giving too much credit here. I don't know if it was a leak or an urban legend, but I remember the awful win 8 "flat boxes UI" being that way because it could be designed by managers in PowerPoint that way

comment 11mo ago · link · parent

Many European nations contributed, it wasn't just the UK. The french were basically the only NATO members who didn't contribute

comment 11mo ago · link · parent

You can distribute your own code under Apache along with FFMpeg under LGPL in one download

comment 11mo ago · link · parent

I don't think those cables are in spec, and there are a lot of faulty devices and chargers that don't conform to the spec creating these kinds of problem (e.g. Nintendo Switch 1). This is especially a problem with USB C.

You can maybe blame USB consortium for creating a hard spec, but usually it's just people saving $0.0001 on the BOM by omitting a resistor.

comment 11mo ago · link · parent

I don't think DeepSeek could do that in the volume they need

comment 12mo ago · link · parent

Kotlin existed before Java 7 and kept support JVM 1.6 for a long time (mainly because of Android)

Even then, they benchmarked it, and inlining was still faster* than invokedynamic and friends, so they aren't changing it now JVM 1.8+ is a requirement.

* at the expense of expanded bytecode size

comment 12mo ago · link · parent

Macro's are compile time, there is no runtime codegen.

The problem was overly-frequent inlining generating enormous expressions, causing a lot JIT phase and slow execution.

comment 12mo ago · link · parent

Sort of true, but I often hear this take from Java programmers and it feels like "Blub" [1]/Stockholm syndrome to me.

Personally, I'm extremely glad to not have had to write .toStream().map(...).collect(Collectors.list()) or whatever in years for what could be a map. Similar with async code and exception handling.

For me one of the main advantages of Kotlin is that is decreases verbosity so much that the interesting business logic is actually much easier to follow. Even if you disregard all the things it has Java doesn't the syntax is just so much better.

[1] https://paulgraham.com/avg.html

comment 12mo ago · link · parent

That's a weird take. Even if true, kotlin has perfect interop with calling Java libs so there's not really a downside to keep using Java libs. There's not that much demand for kotlin-specific libs outside multiplatform which includes Android.

For what it's worth, Spring has first tier Kotlin support, I haven't noticed this bias.

comment 12mo ago · link · parent

Kotlin heavily uses the inline keyword basically everywhere, to get rid of lamdba overhead for functions like map. Basically every stdlib and 3rd part library function that takes a lamdba is inlined.

In general it's a performance benefit and I never heard of performance problems like this. I wonder if combined with Scala's infamous macro system and libraries like quicklens it can generate huge expressions which create this problem.

comment 1y ago · link · parent

> I think we ought to be keeping people trained and employed

I never understood this sentiment. We don't have a massive manual weaving industry anymore, 95%+ of people used to be farmers in 1900. Tech comes and replaces humans, and the transition can be extremely painful especially for the people replaced, but ultimately it's better than keeping people artificially employed in obsolete jobs.

(I don't think SWE will be obsolete, but even in this case I'd rather switch careers)

comment 1y ago · link · parent

Npm has weak security boundaries.

Basically any dependency can (used to?) run any script with the develop permissions on install. JVM and python package managers don't do this.

Of course in all ecosystems once you actually run the code it can do whatever with the permissions of the executes program, but this is another hurdle.

comment 1y ago · link · parent

There's a follow up linked a few times in the thread, and unfortunately he looks to be pretty villanous

comment 1y ago · link · parent

You can, you need to buy a codec from the Microsoft store for $1 or local equivalent. Most people won't know this.

comment 1y ago · link · parent

Out of curiosity, why was RBS so poorly executed and adopted?

comment 1y ago · link · parent

It was 64-bit Windows versions, 16 bit was never supported not even on XP 64-bit. I think W8 was the first 64-bit only Windows.

comment 1y ago · link · parent

Waterfall with short iteration time is not possible by definition.

You might as well say agile is still waterfall, what are sprints if not waterfall with a 2 week iteration time. And Kanbal is just a collection of indepent waterfalls... It's not a useful definition of waterfall.

comment 1y ago · link · parent

No, the MIT license is short exactly because it has so little restrictions. You simply can't encode the desired result of GPL into 160 words like MIT can.

comment 1y ago · link · parent

No, Heroku is just bonkers expensive

comment 1y ago · link · parent

Someone is making the tools to find these bugs. It's not like they're telling ChatGPT "go find bugs lol"

comment 1y ago · link · parent

Specifically the local group, so Milky way + Andromeda and some dwarf galaxies

comment 1y ago · link · parent

We as humans aren't good at it. Before AI it was already coined as the "Gell-Mann Amnesia" effect

comment 1y ago · link · parent

Note that your docs specifically mentions parquet was supported, but we found out the hard way some specific features turned out not to be supported with WASM + parquet. I did a quick glance at your docs and could not find references to that, so I'm not surprised it was missed.

It was a project that exploited a new opportunity so time-to-market was the most important thing, I'm not suprised these things were missed, and replacing the data loading mechanism was maybe 1 week of work for 1 person, so it wasn't that impactful a change later.

comment 1y ago · link · parent

My company tried DuckDB-WASM + parquet + S3 a few months ago but we ended up stripping it all out and replacing it with a boring REST API.

On paper it seemed like a great fit, but it turned out the WASM build doesn't have feature-parity with the "normal" variant, so things that caused us to pick it like support for parquet compression and lazy loading were not supported. So it ended up not having great performance while introducing a lot of complexity, and also was terrible for first page load time due to needing the large WASM blob. Build pipeline complexity was also inherently higher due to the dependency and data packaging needed.

Just something to be aware of if you're thinking of using it. Our conclusion was that it wasn't worth it for most use cases, which is a shame because it seems like such a cool tech.

12345
76