Better HN
topnewbestaskshowjobs
Log inSign up

bArray

7,485 karma · joined Mar 14, 2016 (10y ago) · 2,314 submissions

Why jump in one pond when you can dip your foot in many?
Submissions

comment 6y ago · link · parent

> After 18 months engineers began an investigation after a

> cable replacement programme failed to fix the issue.

That sounds like the typical runaround you'll get from network engineers in the UK. It's shameful that an entire village was without proper internet for 18 months. You might think "what does it matter", but remember people run internet businesses or keep in touch with family & friends. Imagine how bad this situation would be for folks during COVID.

For myself the internet used to go down for days at a time, perhaps every couple of weeks. We had BT of speed-dial and knew how to get through the bot automation by mashing the keypad. For maybe 5 years we asked for this to be repaired and got the usual "it must be your system" or "unusually high traffic" - sometimes they would send an engineer down to try and sell us some hardware we didn't need. We even got a business line, but BT couldn't keep that going either.

Eventually we even started collecting signatures of local people willing to buy a fiber internet connection if we paid for one to be fitted and pretty much everybody backed it. Initially we were only asking local businesses, but the demand was high from everywhere. We only needed something like 10% of users to buy in to cover the original costs. After this BT was suddenly motivated to fit fiber and because of the preparations we had begun to make, it was fitted just outside our house.

comment 6y ago · link · parent

@myraahio Given how quickly your site runs, I'm not entirely sure it runs a neural network - seems more like some weighted analysis based on some defined measures on simple algorithms? I'll take a wild stab and guess that you're doing some analysis, some manual labeling and k-means clustering?

I would really consider running a light weight network over a small image (down-scaled to something like 320x200), if you're only binning classes then you should be able to get it to <1ms on a low-power CPU. Given how much web pages vary, you'll likely need upwards of 10k training images.

Consider having some feature on your site to allow users to help rate pages (with moderation oversight).

It's a good start anyway! I look forward to seeing this in the future!

Edit: Also consider some expansion opportunities - rating screenshots of software interfaces, mobile phone apps, etc, etc.

comment 6y ago · link · parent

I meant the original post, "depends on the person" was the clue. Not the most straight forward language ever devised though.

comment 6y ago · link · parent

I think you all misunderstand, I believe @augustk means a person to speak at an event.

comment 6y ago · link · parent

A 50cc moped is 16 in the UK.

comment 6y ago · link · parent

> I think you should be think in terms of relativity though.

> Think about how much a "10 MB" only browser took up in main

> memory back in the day.

This is exactly the point, software has swelled to use the resources available to it, so with each new iteration your machine gets faster but what it runs gets slower. It doesn't feel like this is something we should settle for.

comment 6y ago · link · parent

> Use dillo from HG, it has better CSS support.

Here? https://hg.dillo.org/dillo/

Seems to be still pretty old...

> Edbrowse has JS support thanks to duktape.

Huh, very interesting: https://duktape.org/

I initially assumed by ducktape you meant "barely held together"!

comment 6y ago · link · parent

I've used Dillo, but unfortunately most web pages are seriously malformed. Would be nice if it was possible to get some better CSS support.

I would like to see better JS support, but the scope of JS is simply insane for such a small browser. It's unfortunate much of the web is completely unusable without running JS. Perhaps it's possible to first run the page through a larger browser engine and then send the processed content to the small browser (such as Dillo), that would massively widen the scope of what it could display.

comment 6y ago · link · parent

> I've long observed that almost everything we are doing with

> our GHz computers, we were doing previously with old MHz

> systems.

I do also, but then I do have to pinch myself and remember some of the cutting edge software that really does make use of the hardware - i.e. games, video editing, neural networks, etc. I know we could already do these things on lesser machines, but there is no doubt that the level of which they are currently done could not be replicated on a lesser machine. And also remember the efficiency of systems such as web servers, todays average usage would be a DoS attack of the past.

I do look in disappointment though at text editors, window managers, file viewers, etc - that despite having much more computing power, offer not many more features but still eat tonnes of resources.

I'm currently (slowly) working on a Window Manger for X11 which tries to bring back some of these ideas but for modern devices: https://github.com/danielbarry/oakwm/ It's built on top of wm2 (which itself has roots going back to Bell Labs plan9). A lot of the work is in ripping out the unnecessary features and making it touch friendly. The idea is to run it on the PineTab Linux tablet.

comment 6y ago · link · parent

I really like this! I want to see it get a little easier to be carried around, but I want to build one! I'll be able to use my Sony Mavica to take pictures on floppy disks and my floppy-walkman to listen to music from floppy disks!

Now I also wonder what other horrendous uses of floppy disks there could be... I'm thinking it could be fun to store server web pages (without caching)... Or maybe to play some video feedback?

comment 6y ago · link · parent

Agreed, there are plenty of retired machines out there. Hell, if they organized properly I am sure office companies would happily give them computers when they do their cycling every few years. I imagine their local firms probably refresh at least every 5 years.

How many Windows/Linux laptops are as locked down as the iPad anyway? It seems that right-to-repair is specifically a war with Apple at the moment as they make vendor specific components and glue the thing together. Most off the shelf laptops use off the shelf user replaceable parts? To be honest I don't think we should encourage children into the Apple ecosystem until they sort their shit out.

With so many credit-card sized computing devices, I don't know why we're not yet building laptops where you can just drop in some semi-standard computing device into the middle and simply plug in a HDMI screen, 5V USB power connector from a battery and USB peripherals. Kids don't need the slimmest, fastest computing device ever created, they need something robust and reliable. Maintaining these machines is often as simple as just having the ability to swap parts to build working machines - make it so that somebody not trained in tech can do it.

comment 6y ago · link · parent

I distinctly remember that Scientists researching Ebola ended up getting Ebola - and perhaps the same for Zika too. I also know many people who work in the field of Psychology whom have the condition they research to some degree.

I have zero idea how ethical any of it really is, but, it exists out there. It seems like something that should at least be declared in any research outcomes.

comment 6y ago · link · parent

The same reason you might use a VPS rather than build your own cloud infrastructure - sure you might save some money, but maintenance is then your problem, scaling down or up is harder and you lose flexibility to move provider.

Also there might be some tax incentive if you can put the building down as an ongoing cost to your company.

comment 6y ago · link · parent

> For the uninitiated, nuclear power is actually much, much

> safer than it was in the previous century, and fossil fuel

> power plants have killed exponentially more people through

> pollution than all nuclear power accidents combined

I think that nuclear waste will be the next big problem with nuclear energy, with storing it safely for the thousands of years required just being a problem we're kicking down the road. It only needs to leak into the water supplies and suddenly you have a disaster on a scale never seen before (human & animal consumption, contaminated crops and land, etc).

To be honest, renewable energy sources such as solar, wind and hydro are really the way forwards. I would favour solar and wind though, as a failure to invest in infrastructure just means they break - whilst a failure to invest in hydro has some very serious consequences (dam collapse, etc).

In the next 10 years or so I want to see solar panels being recycled if they really are to play a large put of our future energy production. Otherwise there is always the method of pointing mirror arrays at a single spot to heat water.

comment 6y ago · link · parent

IMO the tough part isn't in finding some game/physics engine (there are many out there), but in getting/creating suitable assets.

comment 6y ago · link · parent

Well, I'm also happy this doesn't happen! RAM is designed to be stable!

If you have the resources, have you considered getting a source of radiation and putting it by the RAM? In a plane for example, background radiation can be 30x or so. It might also reduce the time to see a flip...

Other considerations:

1. The act of checking the RAM (I believe) refreshes the memory cells.

2. I suspect the act of regularly changing the RAM bits to have an effect on the data stored. I think when the bit transitions from a 0 to 1 or vice versa, some inconvenient piece of solar radiation could bias it to a different state. That said, you would have to separate that from accidental row-hammer events.

3. You would think that higher temperature RAM was more likely to bit flip (the Scientific term is more wiggly electrons).

4. RAM clock speed. The higher it is, the less time it has to stabilize at the transistor level.

5. Memory cell size. The smaller it is, the more likely it will be affected.

There are probably tonnes of variables, but these are the ones I can think of for now.

comment 6y ago · link · parent

> Also memory speed (both Hz and cache structure) is much

> more of a bottleneck than CPU clock. Specially with 16

> cores!

Very good point! Packing more cores onto a die is not enough... Again it would be good to see if those benchmarks were single or multi-core performance.

> They will need many years of improving the software stack

> though, so they have a long uphill battle waiting.

Yeah... Getting kernel support, etc, takes some time. They'll also probably want to build out some dev board platform if they haven't already.

> Finally the chips will probably be manufactured for peak

> performance and longevity but they wont be sold, only

> rented!

I see it going either way, either cost per chip will become so low that they become an expendable product with a short life span, or the cost of perfecting them rises so high they are rented. Somehow the rented market for CPUs seems less likely, a release from your competitor could see your entire stock become un-rentable.

> About cooling, the right heatsink is the solution

Maybe, but you're not putting a passive cooler on solutions that go much higher than 10 watts at full chap. Assuming these cores match the ARM cores (power consumption and computation), they have double the number of them, therefore probably double the heat output. In reality it's probably even worse as the cores act as insulators to one another.

In 2+ years, let's see how they perform in the market. I guess irrespective of how good they are, the Chinese market is stuck with them unless tensions improve.

comment 6y ago · link · parent

> Way to miss the point.

The point wasn't so clear, but I see what you're saying now. Maintainability is normal code review though.

> It's also about making sure the code is maintainable. [..]

> Kernel developers rightly need to be concerned about how

> difficult it will be to extend the NTFS driver to handle new

> NTFS features that Microsoft introduces.

Maintainability is one thing, extensibility is another. Preparing your code to implement some changes completely outside of your control seems like a waste of time and something that might bite you later on.

comment 6y ago · link · parent

It's impressive. But there's a few things I want to see:

1. CPU performance over power consumption and heat dissipation. The A73 pushes for power efficiency, how does it perform in that arena [1]?

2. We've seen "experimental results" from hardware manufacturers before, let's see them independently verified. Those numbers could be margin-of-error [2].

3. Are those tests single or multi-core performance? If it has more cores and only just about edges ahead, that's not so impressive.

4. Does it need cooling? If not, how long can it sustain performance without throttling? That'll surely limit applications if so.

[1] https://en.wikipedia.org/wiki/ARM_Cortex-A73

[2] http://3s81si1s5ygj3mzby34dq6qf-wpengine.netdna-ssl.com/wp-c...

comment 6y ago · link · parent

> In what kind of context? The Linux kernel?

Not the Linux kernel, but a large embedded system.

> Filesystem code is pretty tricky to begin with, and prone

> to very subtle bugs with very not-subtle consequences.

This code has been running in the wild for quite a while now, it has had a trial by fire. And there's no way around testing, subtle ext4 bugs still crop up despite the maturity of the filesystem.

> And this isn't greenfield development of a new filesystem,

> but an implementation that needs to remain highly

> compatible with Microsoft's version.

No amount of code review will stop Microsoft from adapting their version. Also, I doubt Microsoft themselves will change too much about the filesystem given the compatibility they themselves have to maintain with cold storage NTFS drives.

> This FS driver has to be maintained to track changes to

> two operating systems.

You make it sound as if Microsoft have a hand in any of this. Also, have you seen the state of the current NTFS driver? It's a bit flakey (no disrespect to the maintainers).

comment 6y ago · link · parent

27k lines isn't that crazy. I've merged larger patches, it just takes a while. This is a very negative view of an open source contribution.

comment 6y ago · link · parent

And the fastest implementations aren't the fastest either, I was able to knock about 10% off one of the Java examples from 2010. I suspect the C# folks were a lot more motivated to "prove" that C# was no longer slow.

As others have pointed out, if you want to test C#'s ability to call C-functions in an unsafe way, then fair enough. Otherwise, with memory safety enabled, they are roughly comparable.

That said, I did port the C# version to Java and it added about 20% extra time, even with some of the cheats (algorithm optimizations) it has implemented.

comment 6y ago · link · parent

I suspect Ryan Gosling might be the perpetrator in many future crimes!

Almost as scary as the prospect of an AI that can "predict future criminals" based on their facial features!

comment 6y ago · link · parent

I love all the game engines in there! Really makes me feel like hacking some game together to test them!

comment 6y ago · link · parent

A slightly different spin has been working on some 20+ year old C/C++ code that is relatively nicely written, such that you can still expand on it today.

I had a lot of joy recently reading the Voyager 1 image decompression routines and some X11 window manager sources.

comment 6y ago · link · parent

Some code I wrote in a drunken haze has been running continuously for 7 years with zero downtime - it was only meant to be temporary!

It has zero comments, the code was inefficient, the variable names are things like "theThing" (it's the best I could do at the time) and "database" is just a series of text files carefully read/written to on the disk.

comment 6y ago · link · parent

Instead of deleting the pages, why not premise them with something like "This page may contain outdated information" after some timeout condition? It seems like this solution would really solve this problem...

In general, what's worse than having outdated information is having information vanishing, so that you have no way of validating how appropriate it is. Out of date information, whilst not spelling out the correct process, may give you an idea of the steps involved.

Anyway to implement this you would probably do something like:

    git log -n 1 dir/file
Check the date, if it's larger than some amount and grep doesn't show some existing warning, throw a warning in the header of the file.

comment 6y ago · link · parent

> why DIDN'T you post reports of large scale verifiable

> oppression instead of a posing model?

I'm not OP, I didn't post that particular link, I just commented here on the subject.

> for whatever reason you chose the news report that was

> about as credible as Trump

I don't see why you are comparing the social media model to Trump.

comment 6y ago · link · parent

> But can you trust the source.

His family haven't heard from him in 5 months, it seems quite extreme for a small amount of popularity.

> Perhaps find a more credible source to support.

Just to name a few: [1] [2] [3] [4] [5].

[1] https://www.youtube.com/watch?v=inmP0LvZEhY

[2] https://www.youtube.com/watch?v=WmId2ZP3h0c&feature=youtu.be

[3] https://twitter.com/BBCPolitics/status/1284784810200838145

[4] https://www.bbc.com/news/world-asia-china-50511063

[5] https://www.nytimes.com/2020/07/06/world/asia/china-xinjiang...

comment 6y ago · link · parent

> So to go back to my question, if it's actually the people

> who support this, do you consider them the enemy too?

It's a tough one. There's a lot of misinformation and propaganda out there in China and until people have a balanced idea of what the various truths are, I don't know if it can be held against them. They are likely told that they are all extremists from the only authoritative source they have available to them, you can understand why they hold the views they hold (even if we would agree they are not nice views to hold).

That said, there are people out there that hold extreme views I don't agree with (in many different social circles/cultures). As long as they don't act on these ideas and are able to be productive members of society, then it's enough to agree to disagree.

In general we need a better approach towards radicalization, and for that in my opinion we should try to solve problems internally first. Western society for example has extreme far-right and extreme far-left minorities, it's not yet clear how we step these people back from the edge (i.e. violence).

1
474849
78