Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dvdkon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
601.
▲
by
dvdkon
5y ago
This is one of many problems with manufacturing products in the western world. Not only is shipping usually much cheaper ~than~ from China (and you have to get the parts from east Asia anyway, most of the time), you also need to deal with a
602.
▲
by
dvdkon
5y ago
Unless there's some weird hierarchy I'm not aware of, that is USP I S, not USPS.
603.
▲
by
dvdkon
5y ago
You can have plenty of LEDs and a reasonable switching PSU in an E27 lamp, it's just harder to cool them with the typical design. Most LED lamps use ridiculously few chips, you could fit multiple times more even on the one-PCB designs,
604.
▲
by
dvdkon
5y ago
Not sure about floating windows (I don't like them much personally, so that might be why), but I've been toying with the idea of building a UI for a web-based database that would allow you to drag links onto the sides of "int
605.
▲
by
dvdkon
5y ago
Well, there is FreeIPA, best compared to AD, but it's still much more complicated than what Chrome OS offers. I agree something as zero-setup would be great.
606.
▲
by
dvdkon
5y ago
I've got some thoughts on this. I've found that there are two approaches to centralised management of computers: Installing a pre-made all-in-one product with pre-programmed configuration options (Windows with mostly AD, GPOs) and
607.
▲
by
dvdkon
6y ago
I agree, more competition would be the ideal solution, but I'm not sure we can achieve that goal without drastic changes. In my opinion, having competition on details like "does it have a headphone jack?" or "is it repai
608.
▲
by
dvdkon
6y ago
Slightly relevant: I made a hack to write Ansible playbooks in Python [1]. It doesn't fix everything, for example runtime control flow still has to be described as attributes of tasks, but it does help with parametrising. It's a q
609.
▲
by
dvdkon
6y ago
Have you seen the kind of "config files" YAML is being used nowadays? Gitlab CI, Ansible, Saltstack, various low-code tools... It's no better than a scripting language, because it turns out if what you need is to encode logic
610.
▲
by
dvdkon
6y ago
So are you completely against self-hosting services or do you apply this only to closed (IoT) appliances?
611.
▲
by
dvdkon
6y ago
Why complicate your dev setup when you could get a powerful desktop (which is also useful for other things)?
612.
▲
by
dvdkon
6y ago
From what I can see, Zanzibar is also intended for "row-level" access checks. I also don't think it's such a separate problem. If you've got a set of authorization primitives, you should have some simple and foolpro
613.
▲
by
dvdkon
6y ago
Could you elaborate on "prior to the actual query"? Do you mean taking some rough queryable subset and then calling Zanzibar for each object in that subset? That's how I'm handling it right now, I just hoped others had a
614.
▲
by
dvdkon
6y ago
Please see my other comment: https://news.ycombinator.com/item?id=26983342 My concern isn't access to single objects, but rather filtering of complex search results.
615.
▲
by
dvdkon
6y ago
My model attacker is a limited user that has access to an advanced search function with filtering on number inequality and/or string patterns akin to LIKE. Such an attacker could send a search query such as "id = 4829 AND cost >
616.
▲
by
dvdkon
6y ago
I considered that, but it seems way too fragile to trust, expecially if you want to test complex relationships for authorization.
617.
▲
by
dvdkon
6y ago
I'm currently building an abstracted authorization system for PostgreSQL, and one problem I ran into were timing attacks. Granted, I only had an unoptimised prototype, but querying a table and only checking if the user has permission t
618.
▲
by
dvdkon
6y ago
Yes, and that's why apps on Android need to explicitly ask for permission first. Giving the app that permission is a declaration of trust by the user. Not letting people do that would be a disaster for user agency in my opinion. GDPR a
619.
▲
by
dvdkon
6y ago
I've got a device which I've bricked through CFE in a similar manner, I'm probably not going to unbrick it like this though :) Any tips on a cheap way to flash parallel NAND?
620.
▲
by
dvdkon
6y ago
That's because cryptocurrencies are typically much better than conventional currencies for speculation and crime. Some "coins" are also usable as standard payment methods, but they're either on-par with conventional bank
621.
▲
by
dvdkon
6y ago
In the past I made a map of train lines in and around Prague, which required quite a complex stack, since the information I wanted was in relations. How does Protomaps deal with relations?
622.
▲
by
dvdkon
6y ago
It's not copyright transfer, which actually isn't a thing here, but in the Czech Republic, there is actually a specific clause pertaining to work done by a student to fulfil his study obligations (i.e. a bachelor thesis). The scho
623.
▲
by
dvdkon
6y ago
There are many more WiFi channels in the 5GHz range and the signal drops off faster, so you should have both fewer APs "visible" and more room for them to spread.
624.
▲
by
dvdkon
6y ago
A lot of work has been put into accessibility on the web, and the "semantic HTML" document model that works so poorly for apps helped too. There's no reason accessibility needs to be bad for anything non-HTML, at least not wi
625.
▲
by
dvdkon
6y ago
I don't think Flutter uses native UI primitives anywhere, but you're right that web APIs have been designed for HTML documents/apps and will need modification for non-HTML apps. We aren't there yet, but I'm convince
626.
▲
by
dvdkon
6y ago
Yes, it's a lot of work to create a good GUI toolkit. But it's not impossible either, and Flutter developers have already put in a lot of work into getting things just right on mobile, so I think they have a good shot at doing the
627.
▲
by
dvdkon
6y ago
Why? At this point, the browser is mostly an app runtime, so I don't think avoiding HTML and CSS is necessarily a bad thing. With some tuning it could even be faster, although I don't think any project has gotten to that point yet
628.
▲
by
dvdkon
6y ago
Generally the Python codebases I've looked at have been more straightforward and therefore more immediately readable than Java codebases. You could write a simple codebase in Java, but if so many people use it to write complex monolith
629.
▲
by
dvdkon
6y ago
A lot of internal enterprise tools explicitly have "filter everything" as a feature, so in those cases you might as well use a super-generic API, since you'll need that flexibility anyway.
630.
▲
by
dvdkon
6y ago
If we're talking AMD vs Intel, then the biggest difference I see is cost (when the CPUs are in stock, anyway). Intel's performance is fine, but the CPUs can cost multiple times that of the competition. With Xeon, a small municipal
More ›