Better HN
topnewbestaskshowjobs
Log inSign up

btbuilder

452 karma · joined Feb 3, 2012 (14y ago) · 219 submissions

Submissions

comment 3mo ago · link · parent

Excellent improvement. The server-side complexity required to handle sessions has been a large burden both on infrastructure and on educating teams on its characteristics.

comment 7mo ago · link · parent

~1.5 billion train journeys a year is “functional”.

comment 10mo ago · link · parent

0C = Frozen!

comment 1y ago · link · parent

It’s hard to answer without specifics but languages shouldn’t require you to determine whether it’s safe to use an api in an async context or whether it will hang your app. I imagine some of the sharp edges you might have run into are because go has real parallelism and you have to address data sharing.

comment 1y ago · link · parent

This is fantastic progress for CPython. I had almost given up hope that CPython would overcome the GIL after first hitting its limitations over 10 years ago.

That being said I strongly believe that because of the sharp edges on async style code vs proper co-routine-based user threads like go-routines and Java virtual threads Python is still far behind optimal parallelism patterns.

comment 1y ago · link · parent

Right, in a 3rd-party library.

comment 1y ago · link · parent

Segfaults with no use of “Unsafe” equivalents in managed languages can give immediate indication it’s not a code problem.

comment 1y ago · link · parent

I believe the driver silently swapped the textures to lower quality ones that looked worse but gave a performance boost.

comment 1y ago · link · parent

That’s not my experience but it’d be interesting to from others on the matter.

comment 1y ago · link · parent

TR in the US makes sockets harder to use, but I have never heard anyone complain about TR in the UK, as the earth/ground pin is always present, and is physically longer than the live and neutral, so mechanically it is reliable and unnoticeable.

“Just baby proof” means remembering to keep those little plastic covers in place in every outlet. That doesn’t seem like superior usability.

comment 1y ago · link · parent

The shutter prevents someone (including children) shoving something metal into the live/hot. I have never heard of it failing. Newer US outlets (TR/tamper resistant) are way more finicky because of the optional ground pin. Sticking the little plastic covers over the outlet is a workaround.

The reason for a fuse is because of the high current capacity of ring circuits vs branch/radial. The fuse protects the power cable of appliances catching fire as they can’t handle the current available on the circuit .

Ring circuits are a thing due to minimizing copper usage when rebuilding after ww2.

comment 1y ago · link · parent

The switching of command and service in the argument order from the init script days still catches me out.

foo restart vs restart foo

comment 2y ago · link · parent

It at least has the virtualization framework now. There’s a product called Anka that plugs into Jenkins and lets you deploy macOS VM images as build agents on top of physical Apple hardware. While slower than containers, and limited to 2 VMs (?!?) you can have reproducible and sane build environments via VM images.

comment 2y ago · link · parent

I mean, it worked for Boeing[1] too.

1 - https://www.theregister.com/2020/04/02/boeing_787_power_cycl...

comment 2y ago · link · parent

There’s a link in the article but here it is with a time code for the start of the simulation.

https://youtu.be/07_m7HHiZRw?t=39

comment 2y ago · link · parent

Assembly of the phone or device using the processor.

comment 2y ago · link · parent

Do the chips get shipped to China for assembly?

comment 2y ago · link · parent

  input_string = "VMS"
  output_string = ''.join([chr(ord(char) + 1) for char in input_string])
  print(output_string)

comment 2y ago · link · parent

Pump filling times should be compared with DC-fast charging times as L2 is normally what you do at home when you don’t care too much about how long it takes. F150 will DC fast charge 15% -> 80% in “around 32 minutes”. Level 2 takes 10 hours as you point out.

comment 2y ago · link · parent

While it’s more how they are used, imo optional is abused to the point it adds complexity. You don’t avoid handling null, but now you have to deal with present or not. Therefore you’ve gone from 2 states to 3. Use of value or null is simpler to me and use of optional can be via Optional.of() rather than parameters and properties for the vast majority of cases.

comment 2y ago · link · parent

I always choose the “essential cookies only” option. This is normally harder than accepting all cookies, but it is getting easier over time. I rarely see a site that has essential-only.

comment 2y ago · link · parent

When looking for a reverse proxy that is performant on Windows and Linux around 5 or 6 years ago the options were very limited. Traefik is what we ended up using.

I haven’t checked recently but at the time nginx on Windows used select() and envoy was either beta or needed a recent version of the Windows kernel that not all customers were running.

We still use it today.

comment 2y ago · link · parent

Press F12 and dust off your Dabs Press BASIC WIMP programming for the Acorn…

A machine that you could code up a full GUI application with the BASIC interpreter in ROM, enabling children everywhere to which a C compiler was Unobtainium.

comment 2y ago · link · parent

Six Frigates is an excellent book about the origins of the U.S. Navy. It also gives a little insight into how quickly Britain and the U.S. aligned themselves, helped in part by the French Revolution.

comment 2y ago · link · parent

Meridian Audio have been making active digital speakers for over 25 years.

SPDIF input to every speaker with custom DSP to do digital crossover tuned to the cabinet and particular cones.

comment 2y ago · link · parent

I’ve been reading about negligence around controls of this process for over 15 years.

If folks don’t know already they should realize that section 702 was only passed after it became public that this surveillance was already happening with questionable legal authority.

comment 2y ago · link · parent

The kubernetes plug-in for Jenkins works well for us, and as the checkout/clone happens in the pod you don’t have the workspace bind mount problem. We are using docker-in-docker at the moment but looking at buildah. We do parallel windows container builds as well.

Jenkins is a bit like Perl IMO: there are ways to use it that avoid the majority of its sharp edges (eg putting logic in bash and just call bash, avoid groovy) if you know the perils that lurk.

comment 3y ago · link · parent

I bent a few pins in a VGA connector due to misalignment once. This was when the cable was hardwired into the monitor!

comment 3y ago · link · parent

Air sourced heat pump?
12345
8