News for hackers. Stuff that matters.

bornelsewhere

Re:We're bringing Pebble back on Tuesday January 28, 2025 @06:01AM (#42851009)
Great news!

Is there a smart watch that would connect to two phones at the same time? I’d immediately buy one which showed notifications from my personal and work phones.

Re:Optimizing Ruby's JSON, Part 1 on Wednesday December 18, 2024 @06:43AM (#42449721)
Thanks!

Sorry about misuse of “intrinsics”. There is a simdjson library that uses SIMD instructions for speed. Would such an approach be feasible in the ruby json library?

Re:Optimizing Ruby's JSON, Part 1 on Wednesday December 18, 2024 @06:05AM (#42449560)
Does ruby json use intrinsics? Could it?

Also, how does this play with the various JITs?

Re:OxidOS Automotive on Sunday March 17, 2024 @04:24PM (#39737724)
After build you have bare metal, no rust remains.
Re:What Happened to EVs? on Thursday January 04, 2024 @02:44AM (#38864285)
> I refuse to live my life as if these things aren't important to me. I refuse to average my entire life style down to my median day. My median day is boring.

Surprised nobody mentioned externalities yet. Carbon tax, and then you can take a more wholistic view when planning your life.

By the way, landscaping as a hobby does not automatically imply trucks, not outside US at least. Unless you actually do it often and need to transport large loads—then yeah, go for it. You’re part of a small minority that might actually need a truck.

Re:Hypermedia Systems on Monday December 26, 2022 @03:35AM (#34135843)
We do not test because of a language used but because there are assumptions expressed in code. “Clicking a button validates the email address” is a test you need to have regardless of if it’s implemented as `hx-get` or `onSubmit`. I would argue having good test coverage for the former is more important because the action happens further (another controller+template instead of the same React component).
Re:Hypermedia Systems on Monday December 26, 2022 @03:14AM (#34135747)
An important topic I do not see discussed on HTMX and other such tools is testing.

Frontend frameworks all have a way to unit- and integration-test their components without resorting to Cypress or Playwright. How do you integration-test the effect of your hypermedia enhanced applications without a (headless) browser? Using Chrome for a few end-to-end tests is fine. But it is not a replacement for in process RackTest (to give a Rails specific example).

From a quick glance testing is not addressed in this book either.

Nikola is one of Crystal lang largest sponsors[0]. I wonder if this is going to have repercussions. It's no fault of the Crystal community but might cast a shadow nevertheless.

[0] https://crystal-lang.org/sponsors/

Re:Crystal 1.1.0 on Wednesday July 21, 2021 @05:59AM (#27904265)
The example is syntactically incorrect Crystal. Should be

  nine = while 1; break 9; end
  puts nine
And yes, it prints "9".

Older »