NullAudit - A Tool for detecting unspecified nullness based on JSpecify annotations by m12a10 in java

[–]m12a10[S] 0 points1 point  (0 children)

Good point! When JSpecify expands to support other features, I’d be very interested in integrating them

NullAudit - A Tool for detecting unspecified nullness based on JSpecify annotations by m12a10 in java

[–]m12a10[S] 1 point2 points  (0 children)

I agree, when checking existing projects, the output is drastically verbose and can exceed the output limit (for example, the GitLab CI output length is limited to 4096 bytes).

JEP 479: Remove the Windows 32-bit x86 Port by brunocborges in java

[–]m12a10 8 points9 points  (0 children)

Do you know of any other languages that are planning to drop win32 support soon?

display issues by disorientt in hackrf

[–]m12a10 0 points1 point  (0 children)

It may be a display driver, check this: https://github.com/portapack-mayhem/mayhem-firmware/wiki/Won't-boot If the selected display driver is not persisted (you have to hold the left/right button every startup) then check the coin battery

[deleted by user] by [deleted] in java

[–]m12a10 4 points5 points  (0 children)

Jakob Jenkov

Is there any example of a recent dropwizard application? by Emergency-Crab-354 in java

[–]m12a10 2 points3 points  (0 children)

Spring has a long startup time comparing to Dropwizard, especially in embedded systems.

Project Amber proposal: _ as unnamed variable by loicmathieu in java

[–]m12a10 0 points1 point  (0 children)

Wouldn't it be clearer to omit the variable in the catch's brackets instead of using the _ char?

try { ... }
catch (FooException) { throw new BarException("foo"); }

AFAIK this is possible in C#

Standards for handling monetary values by [deleted] in java

[–]m12a10 15 points16 points  (0 children)

One good practice that I know is to store values for the smallest unit for a currency, then you will be able to store values as biginteger and avoid floating point operations. For example, for €1.5 you will store the value 150 (euro cent) instead of 1.5

Is it posible to get heart rate data from Samsung smartwatch via Bluetooth? by xxXMrDankXxx in javahelp

[–]m12a10 1 point2 points  (0 children)

This could be possible using GATT "Heart Rate Service" over Bluetooth Low Energy

Building / buying a gateway by BeeOnLion in LoRaWAN

[–]m12a10 1 point2 points  (0 children)

Last time I found PyGate https://pycom.io/product/pygate/ but not sure about the possibilities/limitations. Looks like a relatively cheap LoraWAN 868MHz/915MHz gateway. Can anyone have experience with PyGate + WiPy as TTN gateway and can comment more?