203 karma · joined Mar 6, 2019 (7y ago) · 93 submissions
comment 5y ago · link · parent
Probably off the mark here but...
View -> Function -> Table (Atomic Permissions) - On Miss -> Rest Call to SpiceDB
RLS:
CREATE POLICY "Resources are updateble by certain groups of users." ON public.resources for UPDATE USING ( EXISTS ( SELECT FROM atomic_permissions_view WHERE (user_id = auth.uid()) and (action_enum = 'modify') and (resource_id = id) ) );
Where resources inherit from resources tables..
comment 5y ago · link · parent
https://translate.google.com/?sl=auto&tl=en&op=docs
https://www.google.com/search?q=%E5%8A%A0%E5%AF%86%E8%B4%A7%...
This seems like another step on a journey to maintain control over assets. So not the same thing as you have linked but nothing that should effect the market as China has been clear on its intentions.
I would be more curious about the larger game. A few front runner governments will establish there own ways to deal with crypto and then others will copy from a, b ,c. China's methodology is becoming more formal and therefore more copy able. I think we can already see the larger pattern and we already know who copies who traditionally... Would love to see a write up from this perspective.
comment 5y ago · link · parent
- https://github.com/openwrt/luci/pull/4994
- https://forum.turris.cz/t/wifi-6-ax-adapter/10390/77
I think the router might be my favorite open hardware piece:
- It was easier to setup then my old Asus router
- Schematics and source are easy to access.
- It has never not worked.
- It is made by a company that is a domain registrar with a good track record on open source projects (click the more button it the top right and you might recognize a few projects): https://www.nic.cz/
- And if you need to do something advance with it, you can. Mine is has Bird runing BGP.
comment 5y ago · link · parent
I also got the fastest SSD they had in checkout. Which I think contributed to the booting race condition. I never got a link to an upstream ticket so I do not know if it is fixed.
When I emailed them they said they do not have a laptop in that configuration to test, haha.
comment 5y ago · link · parent
Not the wifi card, the surround material like the chassis are attenuating the signal (the librem 14 should have fixed this issue). I swapped mine out for a well supported and performant Intel card and only got marginal improvements to the signal.
My "ten feet" was using it at coffee shops. I was traveling with the laptop. It was hard. The card switch did get it over the hump for this use case. Not an issue most of the time but still will have get a spot closer the router for video calls (like standup).
So the constraints for work were getting a seat close the router AND a power plug. I ended up USB tethering with my phone alot.
I do appreciate their contributions to the ecosystem but was wronged as a consumer. They need to be truthful.
I take it you have the v3 with the standard boot drive?
comment 5y ago · link · parent
- They lie about specifications like battery life (and other things). I get about 1 hour on my ~5 hour battery life when web browsing.
- My laptop had a race condition at boot that would prevent boot 50% of the time. There was a workaround.
- Wifi had a range of maybe ten feet (not joking).
I am sure there new laptop is better however I do not really trust them after my interactions. Especially for something more novel like a linux phone.
On the other hand, Pine64 is very focused on their hardware stack. All their products are running a very similar hardware unlike Purism. They are moving way more product then Purism and are better liked. Hence they have a stronger community. They are also much cheaper phone-wise for a similar feature set. And you can actually buy and receive the phone.
In terms of alternatives I think System76 is pretty good desktop wise right now. Laptop are alright. Waiting for their upcoming in-house laptop.
comment 5y ago · link · parent
Router: https://www.turris.com/en/omnia/overview/
Media Center: https://osmc.tv/vero/
Cloud (Use TrueNAS Scale): https://www.truenas.com/systems-overview/
Phone: https://www.pine64.org/pinephone/
Watch: https://pine64.com/product/pinetime-smartwatch-sealed/
Smart Thermostat: https://hestiapi.com/product/hestiapi-touch-one-free-shippin...
If you go this route all devices will be running Linux. The one OS route is kindof nice, hence the pinephone over open android alternatives (like Graphene OS).
I sorted from least to most technical. I also tried to pick the least technical challenging in each category. The Dell stuff should just work. The Phone will require some tinkering for the moment.
comment 5y ago · link · parent
Which is basically k8s but lets you use vms.
I was thinking of using Tekton to make a CI/CD service at one point but I would pretty much need to smash the whole k8s VM/Node every time I do something and only allow one participant at a time. There are ways to run vm pods instead of containers in k8s but there are other issues at play. It's been a sec.
comment 5y ago · link · parent
> And when building docker images in the CI, I use google’s kaniko to build docker images from within docker without any privileges (it unpacks docker images for building and runs them inside the existing container, basically just chroot).
You can also use standalone buildkit which comes with the added benefit of being able to use the same builder locally natively.
comment 5y ago · link · parent
So this board has an open source CPU: https://www.sifive.com/boards/hifive1-rev-b
This does not: https://www.sifive.com/boards/hifive-unmatched
Although, I get the feeling they will open source design on a rolling basis. Pure speculation.
comment 5y ago · link · parent
He co-founded WhatsApp with Brian Action. They both wanted cash but also felt bad for selling out WhatsApp.
So Moxie founded Signal and Brain contributed. A new clean room project under a non-profit with an endowment. Made as what WhatsApp should of been if they didn't sell out.
And to the commenter below he work for Jack Dorsey as the head of cyber security. And Jack supported this project from the get go. They probably like each other. Go figure.
I think this comment is low effort, malicious, and unreasoned.
comment 5y ago · link · parent
EDIT: End to end we do not give enough information from the application to OS to the hardware for perfect optimizations. We do not start with enough information and we lose too much down the stack. Especially around concurrency. I think that at the end of the day there is some atomic information needed by hardware and OS to make optimizes about all code running on the system.
I see the approach taken here in an effort to retain needed information by integrating compilation and OS level functionality. I think this is correct but we will see a shift to OSes having there own byte code as a translation layer between higher level languages. I also think high level languages lack some needed information in the first place...
comment 5y ago · link · parent
https://80000hours.org/job-board/?role-type=engineering&role...
comment 5y ago · link · parent
https://en.wikipedia.org/wiki/Variable_renewable_energy#Comp...
I remember my department had a few very large grants for solar and wind integration studies. There is always some x profitable level to integrate into some portion of the grid. Before you actually start to lose money. Used to be around 30% in most cases a decade ago. Imagine it is bit asymptotic without improvements to the cost of energy storage. I would guess 40% in most cases now.
Found this: https://www.iea.org/articles/will-system-integration-of-rene...
comment 5y ago · link · parent
Long term, I would hope that if Signal gets large enough market-share and stabilizes they would make the signal protocol federated.
comment 5y ago · link · parent
Touche, but if they were there before why aren't they "here" in popular adoption? I think, although it is perfectly technically feasible in a vacuum it is not in real life.
Because it requires that all your common contacts (friends, family) use it. The question isn't whether you can do but whether you can be easier to use and offer more feature then the competition. Most people don't care. You need to be competitive.
From a technical perceptive you will have to spend more, make less, and have decreased usability for privacy, and federation. So picking any one is already shooting your self in the foot. Pick two and you aren't going anywhere.
Simplified argument but Signal picks to minimum they feel they need to do to see change they want. And I am big fan of this method. I am tired of projects with good intentions not getting adoption.
comment 5y ago · link · parent
From a purely technical perspective. However, how organization is structured and who is in it matters:
I am in the camp that there are alot of things we try to solve (and sacrifice things like usability) at a technical level that we should be solving at a social level.
comment 5y ago · link · parent
I would try to get agreement on the people it would effect and nearly always rejected. Then everything I pointed out would go wrong but:
"This was completely unexpected"
"really interesting problem..."
At one point our ($100 million USD) security monitor product was down for a month until a customer noticed on our behalf and flipped out. Due to a several problems I had repeatedly pointed out (and fixing any one of them would of prevent it).
If I full sailed ahead then I would get alot of grudges. Culminating in "I found this bug and its your fault" (which was nearly always end up being because that very persons regression) or some other baseless attacks during meetings. It was tiring.
My managers always liked me however. shrug
In turns out almost every time my peers and betters actually never understood our discussions (but of course it would look bad if they actually asked questions). As my career went on I would start forcefully asking questions to confirm their understanding. And indeed this was nearly always the case. So I started making really nice layouts and explanations. And this got me a bit further. But if someone is missing years of required background you can't teach them in a realistic amount of time.
I am careful about who I work with now. I establish during interviews that your future team (or teammate) has the needed technical capacity for the problem set they have relative to their position. I think about the problem set the day before and discuss with them how they are solving it and it has saved me many a time. People are often critical of domain specific problems when given in an interview but I always start there and work my way down to the applicable fundamentals. The higher up they can answer the more senior. It also avoids the problem of asking out of scope questions/coding problems.
The structure (who is doing what, seniority, and how both are established) should always be crystal clear and changeable. Something to be aware of are non-formal structure in an org. Like a junior dev. on random team x has the CEO's ear. These are much harder to find and deal with. The worst problems an org can have IMO.
comment 5y ago · link · parent
> Still doesn’t really explain the contents of any of the linked courses or why you need to take them
That is the job of the course lecturer or author who know best. It is always done in the first lecture of any course and is provided in written form in the syllabus. All you need to do click on the links....