Better HN
topnewbestaskshowjobs
Log inSign up

ipodopt

203 karma · joined Mar 6, 2019 (7y ago) · 93 submissions

Submissions

comment 5y ago · link · parent

> For the latter, we've checked out Postgres Foreign Data Wrappers, but they don't seem portable to the cloud hosted services like RDS. We're continuing to look for clever solutions, if anyone reading this bumps into any.

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

Thanks! :)

comment 5y ago · link · parent

Looks good.

1. How does this compare with Ory Keto?

   https://www.ory.sh/keto/docs/
2. Can it be nativity (I can integrate in Postgres SQL) integrated with Row Level Security in Postgres?

3. Any interest in supporting TiDB as a backend?

Edit: Number questions.

comment 5y ago · link · parent

A more informed history might be built like so:

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

I made an example storefront a few months ago and jotted down a plan in a bout of procrastination. I have a few thoughts on a pragmatic lazy (in the cs sense) approach.

If you or anyone one else is interested email me: ipodopt@pm.me

comment 5y ago · link · parent

If you had the option of buying this hardware stack through an integrated third-party brand/storefront that offered support for the products and their integration would that make you feel differently?

comment 5y ago · link · parent

Yeah, I think the chopsticks makes sense. For the actual contact I would have thought a friction based solution (wide soft/grippy chopsticks) being easier in practice. Too bad the metal they are using is not magnetic.

comment 5y ago · link · parent

Might be a good idea to wait. It's coming soonish I think:

- 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

The v4 updated the screen which burned more power. I remember telling them my real life results and them proceeding to not update their product marketing page while admitting it was based on the v3. I feel like they were already stretching it to begin with with v3 but you would know.

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

Nothing quite like apple. The step down is short enough not to stumble though :)

comment 5y ago · link · parent

> Purism is using the only existing WiFi card that works with free firmware. It is less performant than typical proprietary ones. If you don't care about your freedom strongly, you can replace the card (they are very cheap on ebay). Also, check Purism forums for such questions. It works better than "ten feet" for me.

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

I have their laptop and do not recommend them. Honestly, I sort of regret the purchase.

- 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

Laptop | Desktop: https://www.dell.com/en-us/work/shop/overview/cp/linuxsystem...

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

https://code.visualstudio.com/learn/collaboration/live-share

https://code.visualstudio.com/learn/develop-cloud/overview

comment 5y ago · link · parent

I would look at how the major clouds are running their compute instances. This might help:

https://www.nomadproject.io/

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

Does RBAC not limit these by default? Does cert-manger not already give itself restricted permission on install? Do I need to fix up my cluster right now? If so, do you have any example RBAC yamls? :D

> 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

We should have abstracts instead of titles on here.

comment 5y ago · link · parent

Some of them are open source: https://github.com/sifive/freedom

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

It makes sense if you look at the founders history: https://en.wikipedia.org/wiki/Moxie_Marlinspike#Biography

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

I can finally put a face to the voice!

Nice to see money going in. Khan Academy has been very useful to me and I expect will continue to be a good resource.

comment 5y ago · link · parent

Thank you for the link!

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

In a different vein you could find a company to work for more inline with your goals. Probably with a paycut.

https://80000hours.org/job-board/?role-type=engineering&role...

https://signal.org/workworkwork/

comment 5y ago · link · parent

Not after accounting for load balancing. Depending on the situation. Weather, load profiles, etc. Hence cheap energy storage being a big deal.

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

People live on highway one. Maybe not the best example. I think the Blue Ridge parkway or that road in Rocky Mountain National might be better.

comment 5y ago · link · parent

Email is good example of something that lasted. I think piecing it apart in more detail picking another few cases could let me clarify and solidify my arguments but like you HN is probably not the place for a detailed analysis.

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

> I should add that successful & popular federated online messaging services are something we've had since the 1960s so I have yet to see any compelling reason to be perpetuating the walled-garden approach beyond a preference for a totalitarian approach to ecosystem control.

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

> Viber, WhatsApp, Signal, Telegram, Threema and Discord are all built on the same paradigm: accounts tied to a single service and thus the inertia of network effect makes vendor lock-in a real problem when acquisitions happen or Terms of Service change

From a purely technical perspective. However, how organization is structured and who is in it matters:

https://signalfoundation.org/

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

Yeah, I feel like this is my entire early career. Back when I was at the bottom of the totem pole. I would point out poor designs ahead of time and offer a solid simpler designs. Always on projects I was ether fully or partly coding.

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

The one I haven't launched.

comment 5y ago · link · parent

It gives you a complete minimally ordered set to high quality a CS education.

> 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....

1234