News for hackers. Stuff that matters.

orestis

Re:Apache Superset on Tuesday February 27, 2024 @10:18AM (#39525073)
Can this work to give end-users/customers the ability to create their own reports/charts, respecting data access visibility etc?

I am in need of a "dashboarding" feature in our SaaS, but it seems there's a gap between PowerBI/Tableau/Metabase/Superset and various charting libraries. The former are too much "turn key" and the latter require a ton of work to setup all the chart-building UI and features...

FYI joker these days is completely replaced by Babashka.
I studied classical guitar for a few years, and let me tell you, scales on the guitar do not involve just moving a finger or a barre or a capo: look up the Segovia scales, that’s what I was learning and it’s physically demanding…
Re:Kaffeost – “Coffee Cheese” on Friday April 28, 2023 @02:32PM (#35745259)
Never heard of this before, but I have fond memories of my grandmother sipping Greek coffee with a piece of Cretan gruyere.
Re:XTDB 2.x Early Access on Friday April 28, 2023 @02:48AM (#35738260)
In Clojure-land, we are also using HoneySQL [1] which has similar characteristics. You are still working within SQL semantics so it's a bit more complicated, but we are doing great complicated things with just maps, no API necessary.

[1] https://github.com/seancorfield/honeysql

In Greek boating terms, we use just plain left and right. At sailing school we were taught that left means always the left side of the ship as it travels forward, and similarly the right.

We do use different words for the direction of the ship facing towards or away from the wind though.

Not sure if the ancients used other words though. We managed to avoid confusion for a few hundred years though.

Interesting, in the CLJS space we recently got two new libraries in this space:

https://github.com/squint-cljs/squint Which is a thin layer on top of JS

https://github.com/squint-cljs/cherry Which is closer to CLJS semantics and data structures but compiles to .mjs files without any advanced optimizations etc.

Re:Clojure Turns 15 panel discussion video on Monday February 13, 2023 @04:14PM (#34780634)
Obligatory shout out to Babashka [0] which is interpreted Clojure. You just download a simple binary and you can get going. Widely used for quick-running scripts, with a lot of batteries included.

[0]: https://babashka.org/

Re:Clojure Turns 15 panel discussion video on Monday February 13, 2023 @04:12PM (#34780593)
HoneySQL allows you to write SQL via data structures so you can compose that. Gives you a lot of power.
Re:Clojure Turns 15 panel discussion video on Monday February 13, 2023 @04:11PM (#34780567)
Check out Babashka!
Re:Chunking strings in Elixir: how difficult can it be? on Thursday January 05, 2023 @02:52AM (#34257154)
In a browser context, the built-in DOMParser (perhaps wrapped in dompurify) is the way to do this. No need to look elsewhere.
I haven’t seen a mention so far, but 30 bar pressure isn’t that big. Scuba diving uses helium (wellC helium and oxygen) at up to 250 bar (in small cylinders, 10-12liters) with no issue whatsoever. The cylinders aren’t even that big or heavy (for a heat pump).
Re:The Physics of Scuba Diving on Monday November 28, 2022 @01:57AM (#33770517)
Yes, the point is to keep the airways open, but that’s hard to demonstrate hence the suggestion to “make a stream of small bubbles as you ascend”
Re:The Physics of Scuba Diving on Sunday November 27, 2022 @02:39PM (#33765972)
For the people who might be tempted to skip scuba and just hold their breath: beware of the so-called free diving blackout, which occurs at the surface AFTER the dive, and is usually lethal if you don’t have surface support.

If you like the water but don’t want to deal with gear, do get free diving certified to be educated about the risks and mitigation strategies.

Personally, I’m hooked to Scuba, I find the focus on being calm, breathing and the feeling of weightlessness and flying are one of the most relaxing experiences in life. I surface after every dive just grinning like an idiot.

Re:Life in the Slow Lane: the slow cooker changed the world on Friday November 25, 2022 @02:01AM (#33739976)
I’m curious - here in Southern Europe we have been using pressure cookers for ages. They’re meant to be used on the stovetop (usually electric). The newer models (like in the last 20 years) are also quiet (no revolving noise maker). They also double as a plain deep pan.

Isn’t that common in North America? Why do you have to buy an extra appliance?

Re:Dear Spotify, can we just get a table of songs? on Saturday June 04, 2022 @08:23AM (#31619497)
Well sure, if we were building something towards general audience I’d say yes, let’s bias our UI towards editorial rules that can be enforced, since incentives align.

We’re building enterprise-internal software. There’s ton of jargon that is in play that we can’t really shorten or guide. It’s insane to think that the users, experts with decades of experience in their domain, should editorialize to fit a design goal. Sometimes, the users do know best.

Re:Dear Spotify, can we just get a table of songs? on Saturday June 04, 2022 @08:21AM (#31619484)
Supposedly there’s a classical version of Apple Music in the works, which should fix this.
Re:Dear Spotify, can we just get a table of songs? on Saturday June 04, 2022 @04:51AM (#31618306)
The truncated text is a huge peeve of mine with designers. I get that it’s hard to design a nice grid if you have to account for text that wrapped etc, but not everyone is called Tom Smith, and not all titles are 20 characters long.

A designer I know advocated that users should be coaxed into using shorter titles and descriptions so that the UI looks good. It just makes me seethe.

Re:Clojure 1.11 is now available on Wednesday March 23, 2022 @03:58AM (#30776110)
A nitpick: Your code will not run faster in GraalVM vs the JVM, it will start faster. If its small scripts where the startup time dominates, then of course it goes faster. For anything long-lived (even in the range of tens of seconds), the JVM has better performance.
Re:AVIF has landed (2020) on Friday March 11, 2022 @07:34AM (#30639039)
What would the best format to convert user-submitted images? We need to update our image pipeline soon, so I'm looking into various options.

It looks like you still have to keep jpg/png around for a few years at least. Even if you drop IE11, there's a few versions of Safari out there that don't support even WebP.

So the pipeline would be:

* png -> resize -> png/lossless webp * jpg/other -> resize -> jpg/webp

Where "other" is whatever format iPhone cameras use.

Is there anything I'm missing if I were to do this today?

Re:Understanding UUIDs, ULIDs and string representations on Wednesday January 05, 2022 @04:26AM (#29806904)
YouTube seems to use 10 characters for their video id, does anyone know what is the tech behind that?
Re:Open Source Ticker Tape on Tuesday November 16, 2021 @01:39PM (#29244650)
Huh, back when we were developing the interactive Timeline at https://www.edmstudio.com/portfolio/moad/ , we did something similar for the artistic effect: various speech bubbles floating across screens.

The way we approached was that each screen was drawing everything, but offset relative to the physical location, and to animate everything synchronously, one machine was continuously broadcasting UDP packets with just IDs and positions, essentially driving everything. There was some fancy code for failover (there was no central server) plus ability to interact with the speech bubbles (can't recall the details).

We did something similar many times and broadcasting positions with UDP always worked out fine, with a big assumption: a reliable wired local network :)

Re:Introducing the layer based SVG engine on Monday November 01, 2021 @02:48PM (#29071130)
Huh, we have a Thermomix at home and the UI is not terribly laggy but could certainly stand to be improved. No idea how and why they use SVG for the current UI, perhaps it's for upcoming features?
Re:Vinyl records are now outselling CDs on Saturday October 23, 2021 @07:12AM (#28967365)
The video was playing music and Vimeo took it down due to copyright infringement :(

If I was to do this again I’d do away with the Mac mini and use a raspberry pi plus a Spotify daemon. I still have all the cards I made but no time to figure out the physical stuff anymore.

Re:Vinyl records are now outselling CDs on Saturday October 23, 2021 @02:18AM (#28966199)
Re:Ask HN: Who is hiring? (April 2021) on Thursday April 01, 2021 @01:24PM (#26663508)
Nosco | Clojure Web Developer | Remote EU/EEA

NOSCO is a small, successful SaaS company based in Copenhagen, Denmark. We help our clients innovate by offering a well-designed and easy to use web platform for sharing, evaluating and developing ideas, as well as consulting services to help them run successful innovation campaigns.

We are looking for a full stack web developer to join our cross functional team that develops the Nosco Platform. As part of the developer team, you will be working on client-facing features, collaborating with designers, business analysts and customer success representatives.

For more information and how to apply see https://clojureverse.org/t/job-post-nosco-is-hiring-clojure-...

Re:Amazon: Not OK – Why we had to change Elastic licensing on Tuesday January 19, 2021 @11:52AM (#25835395)
As an AWS user, it bums me out how much vendors don’t integrate better with the marketplace and cloud formation stacks etc.

What I’m after is being able to pay a 3rd-party vendor to do all the work of setting up a cluster of machines, deal with HA, backups, upgrades, support etc - but stay out of my data, so that I don’t have to force all our enterprise clients to sign updates to our DPA.

I would gladly pay elastic.co for such a service. The only vendor that I’m aware that does is Cognitect with Datomic Cloud: https://docs.datomic.com/cloud/index.html

Re:The SOC2 Starting Seven (2020) on Sunday January 17, 2021 @02:15AM (#25808871)
We have many clients asking for certification. We just say that we don’t have one, but our major vendors (eg aws) have a shit ton of them, and it seems to work fine.

Usually it’s not the certification that will make or break a deal, at least in our case.

Re:Our Dumb Security Questionnaire on Friday January 15, 2021 @03:49PM (#25796229)
Ooh, I’ve done that, and I’m doing it with many such questionnaires I receive :) sometimes it makes sense and we do something about it, but many times you just don’t know what you don’t know, or you don’t know where to start, and it’s not a topic that comes up often on the various public fora.

I was looking for books, talks, guides - anything. I just read the latacora soc2 guide and it’s at least a starting point.

Re:Our Dumb Security Questionnaire on Friday January 15, 2021 @01:03PM (#25793900)
This is indeed much shorter than what I’ve seen around.

As a developer/team lead that might need to answer these questions to a satisfactory degree, what are resources that would actually help implementing this kind of security infrastructure?

Older »