Better HN
topnewbestaskshowjobs
Log inSign up

ipodopt

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

Submissions

comment 5y ago · link · parent

If hardware variance is a distraction in a software project. As indicated by this project. Would a VM work as well or would there be shortfalls?

comment 5y ago · link · parent

https://github.com/ossu/computer-science

comment 5y ago · link · parent

In the vein's shadow:

[audio books] http://audiobookbay.nl/

[books] http://gen.lib.rus.ec/

[research papers] https://sci-hub.do/

comment 5y ago · link · parent

In the same vein: https://github.com/ossu/computer-science

comment 5y ago · link · parent

And here I am waiting for a useable open source RISK-V CPU and OS combo.

Wasn't there some news as to Microsoft getting into the silcon game?

comment 5y ago · link · parent

It works fine nowadays in general for software development with: https://docs.microsoft.com/en-us/windows/wsl/about

You can even have VS code running extension on it and such: https://code.visualstudio.com/docs/remote/wsl

Source: I did software development on a window machine recently for a job.

comment 5y ago · link · parent

It is true that they are more pragmatic. But still no dice for me. Perhaps, I should be more careful what I wish for, haha.

Both System76 and Purism have a "We teach you to fix it" support attitude. So when you run into trouble you are going to have to expend effort. They both have their share of bugs.

All I want is something that gets out of my way and works. I don't need the latest specs. As long as they hit a reasonable base the more ethical the better. I do software development on Linux. I don't feel like that is a big ask to have a trouble free Linux laptop.

And I knew this when I was making my purchase. At the time Purism was advertising a "luxury" laptop experience coupled with the equivalent price tag. But I got it and 7 days later it wouldn't boot because of a rather nasty software bug (which I am not sure has been resolved [I think it is a rather nasty race condition since its happens indeterministically]) due to their specific configuration. They also lied about the battery life on the website (I get less then two hours and they adv. five hours). And the WiFi doesn't really work no matter what you do as the chassis severally attenuates the signal. Which for me, as a "digital nomad" in SA at the time really really hurt.

If I where to do my laptop purchase again ATM I would get a Dell. Something like this:

https://www.dell.com/en-us/work/shop/workstations-isv-certif...

comment 5y ago · link · parent

I recall running into issues with WiFi firmware from Purism. I installed the prop. driver and got some improvement. Although, I ended up upgrading the wifi chip altogether in the end.

comment 5y ago · link · parent

A brick respects your privacy but it is not a very useful computation device.

I bought a laptop from them and after about 6 months of struggling with PureOS I installed Ubuntu and it has been smooth sailing. One software issue I had with the PureOs install was a hard freeze during the booting about 60% of the time.

I hope there is a newcomer to privacy crowd that is willing to air on the pragmatic side of things. Like somewhere between apple and purism.

comment 5y ago · link · parent

<Sigh,> your comment led me here to Yves's wife's wiki page:

https://en.wikipedia.org/wiki/Kay_Sage

comment 5y ago · link · parent

Yes, you are correct. Thanks for pointing that out to me.

With compression and the multiply/divide extensions very similar to the ARM-M Thumb variants in code density.

https://riscv.org/announcements/2016/04/risc-v-offers-simple...

https://riscv.org/wp-content/uploads/2019/12/12.10-12.50a-Co...

Really fun time to be working on this part of the stack.

comment 5y ago · link · parent

I find that a bit surprising since my understanding is RISC-V is more minimal (has fewer higher level instructions) (ATM, that will change with extensions) then ARM.

This paper refutes your point and is inline with my understanding: https://carrv.github.io/2020/papers/CARRV2020_paper_12_Perot...

One counter point is the simpler the ISA the more work the compiler needs to do. So x86 is may be easier to write an optimize compiler for given it does some of the work for you (despite the bloat).

I wonder how much benchmarks on the current ARM and RISK-V chips will change over time due to compiler improvements. ARM probably already has alot of investment in some workloads...

EDIT: This presentation show code size comparisons with a RISC-V extension that adds multiply/divide and it get really close to ARM: https://riscv.org/wp-content/uploads/2019/12/12.10-12.50a-Co...

comment 5y ago · link · parent

The RISC-V ISA would be the better bet.

a. They start investing now and they can have some leverage in the spec.

b. The spec is minimal and open to expansion that it sets itself up for more domain specific processors. Which we will be seeing alot more of thanks to the slowing of transistors per dollar growth.

c. There is a pretty big theme of moving toward more open and democratized standards in tech.

d. They would be the big dogs in RISC-V where as ARM already has big players.

e. In both ARM and RISC-V they would be saving the need for extra transistors. My understanding is that there are extra transistors that basically translate x86 machine code to some internal RISC ISA for performance reasons on x86 processors. Due to the slowing of transistors per dollar growth and the maturation of external Fabs Intel and AMD will no longer be able to 'hide' this deficit.

f. No royalties

comment 6y ago · link · parent

I get the sense that a better solution would be to make home ownership as simple as renting. A few ideas:

- One page contract

- Ban loans for private home ownership (or socialize them but you would have to do that in a a very particular manner)

- No property taxes for up to two homes

comment 6y ago · link · parent

My understanding is that pollution has a short term (~weeks) cooling effect due to global dimming, and a long term (~decades) warming effect due to the greenhouse effect.

So this may cause a short term spike in global temperatures over the next few months. If this goes on long enough it could paradoxically accelerate climate change.

Maybe we need a well place and timed nuke on the moon to compensate.

EDIT: On the other hand increased sunlight may boost photosynthesis. All in all should be intresting to see the effect. Because it may show that we need to be more careful about mitigating certain types to pollutants (CO2) first and leaving others for later.

comment 6y ago · link · parent

Nah, I got another theory.

Basically, people that tend to be more 'intelligent'/'successful' are better at learning. You optimize learning in a similar fashion to a start-up. By failing fast.

In general I think you tend to hear alot of silly thoughts from very 'intelligent'/'successful' people because they tend to speak their thought often and early (even if they do not have a grasp on it yet). Which leads to quick correction and refinement. Or in other words faster learning.

comment 6y ago · link · parent

I built a web prototype in Flutter. I started in May and was using a web specific branch then Flutter's master branch. Doesn't run well (and I haven't optimized anything) but I am on stable now and its getting better.

Sent you an email with a link to it.

comment 6y ago · link · parent

The idea rubs me the right way but why not 1, 2, 3...

I think a more modular versioning standard might be good as semantic versioning can be very helpful in certain projects like libraries.

Like if your project has x abstract property then include x. and y for a x.y versioning scheme.

comment 6y ago · link · parent

Flutter is a very good bet IMO. It uses Dart was designed from the ground up to be a solid front end language instead of building on top of JS. The underlying architecture of flutter is clearly articulated and error messages are informative. Still seems a bit slow and bloated in some aspects but it is getting better every day and I think their top down control of the stack is going to let them trim it all the way down.

comment 6y ago · link · parent

I will spend less time browsing reddit and hacker news to spend more time focused on my interests.

comment 6y ago · link · parent

But also, isn't great that someone is working on it? I am sure it will get better with time.

comment 6y ago · link · parent

Merry Christmas! :)

comment 6y ago · link · parent

Well, let's see. I am going to exaggerate a touch here but here is what I see at my workplace:

a. They will write an inline script. Solution: Rip it out into a file.

b. Each Job is using a different container. Solution: use Docker with mapped volumes or we all have the same machines (this might not be possible for some workloads) and only use a single container. Why not run the shell directly you may ask? b.1 Each container has a different environment and my machine has one. b.2 Some things do not run natively on my machine that do on theirs.

c. Variables are defined in the yaml instead of the scripts. Solution: Make a local .env file see b.

So sure, a local gitlab runner us probably best patch here. But I am imagine if someone made a container runtime specifically for this then wrapped that in a CI config it could be very ergonomic. Which is what I would explore if I where to write a IC today. I am sure some build system today already does this...

Things outside (kindof) of Gitlab's control that I might as well complain about while I am here:

d. And regardless, there are transient dependencies everywhere (which I blame the all language creators for really, mfs :P ). So everything gets fucked eventually anyhow. Wouldn't it be nice if you could whip out a three year old project, run the build, and its exactly as you left it?

e. People thinks all right to allow for mutable versions so I have to asdjnasdaskdjasdlasjdl;askjd;asldkj = asdasdljkdasl;kdjlaskdjaslkjd some non-human readable hash if I am feeling paranoid.

d. and e. are firmly in the language creators hand I believe. But Gitlab does offer artifact repositories (which are non-portable and could also easily could be). Gitlab could also save dependency trees in different languages. But really I would gripe to the tool/language creators.

comment 6y ago · link · parent

Right, my point was that I shouldn't need to enforce this. Gitlab yaml allows and often goes out of its way to encourage non-portable practices.

comment 6y ago · link · parent

I am particular about how I code my builds so they are portable. I like debugging locally, its faster. Gitlab-Ci does not encourage this and I usually end up refactoring my colleagues code all the time to this end.

Not sure if having a runner is the proper solution to this problem. Off the cuff I feel like there are better ways to go about it if I where making a CI server from scratch. Like only allowing single Docker commands per action? Then you would just those and have a nice portable and consistent environment. But Docker isn't very friendly as development tooling as you have to go through length to persist file artifacts and such. Would seem like there is some room in the space...

comment 7y ago · link · parent

And SQS rolled into one with lots of click and play integrations

comment 7y ago · link · parent

Pretty sure AWS is late to the party and just now achieving feature parity with Azure. Azure Event Grid came out at the beginning of 2018.

However, I suppose from an AWS cloud standpoint this great news :)

I would imagine this replaces a lot of SNS and SQS combo architectures in AWS?

comment 7y ago · link · parent

https://docs.microsoft.com/en-us/azure/media-services/latest...

comment 7y ago · link · parent

"An hour-long project ensued extracting data from our code review tool and correlating number of reviewers with time-to-review. Turned out the optimal number of reviewers to minimize time-to-review was between 1 and 2. Any more reviewers and delay grew substantially."

This is off topic to the point he is making but it bothered me that he assumes correlation implies causation, haha. When a code review isn't already going through is when I see people tossing on lots of reviewers.

Regardless, the article runs through some fun thoughts :)

comment 7y ago · link · parent

You may like these: https://puri.sm/

I recently was frustrated with Apple because my past two Macbook Pros broke and they refused service on the known issues because I had missed the recall windows (one was brought in before there was a recall and after).

1234