

You built a spambot?
You built a spambot?
The things the author mentioned drive me nuts about visual studio…. Especially trivial completions, like brace pairing, their thirst to add these newb-crutches leads me to backspacing and retyping over and over again, trying to figure out what the editor did that I didn’t even notice and how to undo it. For something that is literally a 20ms muscle memory action for any experienced programmer.
I gave up on cute or clever names a while ago; now I go with “storage0”, “router0”, “wap00”, “vmhost0”. Always with a numeric suffix because there will be a -1, -2 some day.
And most of the media went right along with wording such as “tariffs on China” rather than than “tariffs on US buyers”
A socket, pipe, or shared memory region?
A network connection to localhost?
Running the backend as a child process of the frontend, and using standard io?
Zigbee or Zwave temperature/humidity sensors are common. Add a 3-circuit relay box and you can simulate the behavior of pretty much any thermostat with a few rules.
HA or any other system that can toggle outputs based on sensor thresholds would work just fine.
there are some subtleties with real HVAC thermostats, like running your AC compressor at least five minutes and ensuring that it stays off for at least 5 minutes when it’s turned off.
Never good to intentionally pollute.
The kids on my street do come and knock, but they don’t know what to do then. The just stand there waiting - I’m like “what do you say???”, and they go “uhh, thank you???”
C’mon kids!
Is COBOL subject to buffer overflows and use-after-free bugs? I honestly don’t know.
I don’t recall the COBOL code I’ve read using pointers.
lol, right, this is terrorism!
If 10 people are sitting at a table…
When Russian citizens understand there are direct consequences to them, Russian citizens stop supporting Putin’s actions.
Personally I’m glad the sanctions have some bite. You can’t expect to just keep living your life as you wish when your country is obliterating its neighbors and disrupting stability worldwide.
Yeah let’s not forget the Common Lisp Object System (CLOS) which was more full-featured of an object-oriented language than most “current” languages.
The dynamism allowed both Smalltalk and CLOS to avoid a dark corner that will confound your typical OOP’er today - the circle/ellipse modeling problem; they allow an object to “become” a different type on its own accord. Take that, Java!
Could be a crypto key, or a randomly distributed 64-bit database row ID, or a memory offset in a stack dump of a 64 bit program
And then JSON doesn’t restrict numbers to any range or precision; and at least when I deal with JSON values, I feel the need to represent them as a BigDecimal or similar arbitrary precision type to ensure I am not losing information.
That’s because the nearest representable float to 0.99999999999999 is 1.0 - not because Python is handling rationals correctly.
This is a float imprecision issue that just happens to work out in this case.
It’s worth wondering why, if Python is OK with “/“ producing a result of a different type than its arguments, don’t they implement a ratio type. e.g. https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node18.html#SECTION00612000000000000000
How would you implement this in code?
JavaScript is truly a bizarre language - we don’t need to go as far as arbitrary-precision decimal, it does not even feature integers.
I have to wonder why it ever makes the cut as a backend language.
Don’t forget to pre-fill the new filter with fresh oil, otherwise bearing surfaces will run metal-to-metal for maybe 5 seconds before getting oil when you start the engine.