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

I like the idea, although I personally won't be using it, I really like that it exists.

From a "freedom" perspective, I think individuals are free to impose their own filters but generally the default should be unrestricted access. That would possibly be with the caveat of the provably vulnerable (children, mental disabilities, etc).

Keep up the good work!

comment 6y ago · link · parent

> genericcorporation.com

That domain is too good to not be snapped up.

Very cool, love the idea. One could make a fun game out of imagining and prototyping projects that could exist behind these domains.

comment 6y ago · link · parent

On my system the iframe is really small but the content is in there. I've seen a bunch of sites doing this recently and it's quite annoying.

comment 6y ago · link · parent

I really wish I thought of this, nice job :)

comment 6y ago · link · parent

I was nodding reading this and then:

> No libraries or frameworks (the exception being analytics)

There has got to be a better way of collecting analytics than to inject a bunch of crappy JS from some company (probably Google).

comment 6y ago · link · parent

I think there are some applications or problems that are likely to be favourable to native desktop apps for a long time. For inspiration, simply look at what hasn't already become web based. Some things I thought of:

1. Heavy lifting - As others have mentioned, running some code in a browser is quite a few times slower than locally. As Moore's Law comes to a screaming halt we're going to be need to get better at creating efficient software rather than relying on the underlying hardware to get faster.

2. Capability - Some things are inherently difficult to do in the browser, such as custom networking, calling kernel functions, accessing various hardware, etc, etc. You can always have your native app launch a web-based front-end, but going back the other way is not possible by design.

3. Hardware Access - Sometimes you need to access a camera, USB device, GPIO, I2C, SPI, run architecture specific instructions on the CPU, access the GPU, etc, etc. Again, the browser typically won't let you access these by default.

4. Security - This comes in a few parts: (a) You're able to bypass "most" security and do what you want within reason. As long as the user ran your application you usually have the same privileges. (b) Now that you're dug-in you can enforce a level of security that may not easily be available otherwise. (c) Features such as app signing mean that the user can more easily guarantee the app came from you, rather than relying on their ability to read the exact URL in some email at 2am. If I run `apt-get install <X>` or equivalent in other OSes there is a chain of accountability.

5. Memory - Put simply the browser adds massive overhead to any application and typically has inefficient data structures. Compare something like Atom [1] to any equivalent native editor for example. (There is some existing efforts in comparing editors [2].)

[1] https://en.wikipedia.org/wiki/Atom_Editor

[2] https://github.com/jhallen/joes-sandbox/tree/master/editor-p...

comment 6y ago · link · parent

Agreed, I try to encourage people to create their own blogs whenever I can, but very few see past the year. I think the main problem is that the temptation to buy into a centralized platform is very great - cost, maintenance, customization, out-of-the-box functionality.

comment 6y ago · link · parent

One of the side-projects was just a simple one to decode the Voyager images from NASA: https://github.com/danielbarry/OpenView

comment 6y ago · link · parent

I didn't see the "(2017)" when reading this and wasn't aware of the news at the time, so at the end I wondered about how things concluded.

Unfortunately Matt passed in 2017 [1] [2] and the company reportedly acquired by Uber in 2019 [3] [4].

My take-away from this is to not waste the precious time we may or may not have, to not have regrets, to have my friends and family know how much they mean to me.

A side note: It's a shame that the record of his death by his company only exists through a web archive link. It feels like the passing of a person should be more permanently recorded. It's a single marker that says "this person existed and they mattered". Of course this means a lot to those who knew him directly, but it also means a lot to those in the future trying to understand their family history or the history of our society.

For example, the people who were killed during the witch trials - although their deaths were tragic, at least there is some recording of the injustice done against them [5].

[1] https://www.geekwire.com/2017/mighty-ai-co-founder-matt-benc...

[2] https://web.archive.org/web/20171020053826/https://mty.ai/bl...

[3] https://mty.ai/

[4] https://www.geekwire.com/2019/uber-acquires-seattle-startup-...

[5] http://www.witchtrials.co.uk/

comment 6y ago · link · parent

Perhaps it could be output as an SVG with an embedded image in the background? That way you could still have the image and copy-able text.

EDIT: Seems to output SVGs, they just aren't well supported right now: https://github.com/carbon-app/carbon/issues/943

comment 6y ago · link · parent

> What are they talking about!?

You're missing the point with refresh rate, you could make the slowest implementation in the Universe have a snappy UI thread.

> What is this mysterious difficulty people have with editing

> ~100KB text files!?

Most editors will open the entire file into RAM, which is not such a problem unless is starts trying to index everything for searching, colourizing everything, etc, etc. What feels like a great feature for ~10kB source files starts to chomp away at CPU and RAM for some file >1MB as your editor tries to find patterns in some binary file.

> I mean, seriously: I'm playing Doom Eternal at 4K with a

> constant 60fps, no dips. That game is processing a decent

> chunk of a terabyte per second of data at that rate.

That's quite the powerful machine you have. Consider many people will operate with laptops and some of them are low-power, high battery life. Also consider that many will not just be doing that one thing. I know quite a few people now doing serious dev work from tablets... (They use build servers.)

Also, just because you do have the latest processor available doesn't mean that I expect a simple text editor to consume everything it has.

comment 6y ago · link · parent

> with enough time

I wouldn't want to overstate the effort, we're talking a day at most. The reward is a machine that you have a high amount of control over.

comment 6y ago · link · parent

The learning curve really isn't bad from Unix to Unix OSes and any of the additional stuff is really no different from the undertaking for learning about macOS.

You propose it's costing you $200 per hour, but actually you're also gaining real skills too that you may have otherwise paid for. Once you have a decent setup you really don't spend much time learning anything additional.

If you run into issues, there is a wealth of help out there and if you really get stuck you can simply peek under the hood, even make some changes.

comment 6y ago · link · parent

> Not only are they better built

In this case, but there are plenty of examples of a sub-par performance from Apple. Broken keyboards, display cable issues, shipping with overheating CPU profiles, removing buttons, useless touch bar display, removal of ports - to name a few. As Rossman says: "the only part on a MacBook that doesn't blow are the fuses".

> they also run macOS

Again, not been a fan of their recent work. I can get a very macOS-esque experience in Linux. It's not always a seamless experience granted, but it's really quite acceptable.

comment 6y ago · link · parent

It's not just a case of dividing performance numbers by price - obviously the Apple machine is better built. The real question is: Is it built a $1000 dollars better and built well enough to overcome the fact it's slower (in these tests)?

There are some pretty legitimate reasons to come away from Apple products now in my opinion, including some very competitive hardware at lower prices. I've been quite a happy Linux user for a long time now.

comment 6y ago · link · parent

Not much. Probably less to do with saving money and more about locking you into a specific amount of RAM. That way you spend the extra schmeckles in the first place rather than upgrading the machine yourself 2 years down the line.

comment 6y ago · link · parent

Far outside my wheelhouse here, but isn't this just superconductors [1]? Liquid helium forms below 5.2 kelvin [2] and super conductors can be formed ~4 kelvin.

[1] https://en.wikipedia.org/wiki/Electrical_resistance_and_cond...

[2] https://en.wikipedia.org/wiki/Liquid_helium

comment 6y ago · link · parent

I hope they are able to figure this out, I would be interested to know how long the sun could burn on oil or kerosene. /s

Legitimately though, assuming the sun is fake, how would one build an artificial sun? What could reasonably power it and give the impression to a planet within that it is real? Perhaps the problem could be even tougher if you're also trying to replicate the mass.

The plot could be some advanced civilization planning to steal a near-by star and replace it with a fake, possibly to build a Dyson sphere around it to cypher off the energy. Could you fool the less-advanced civilization into thinking they still have a real star? (Ignoring the logistics of the actual swap.)

A proposal for radiation: You could burn lots of fuel and radiate tonnes of energy out into space, but if you're only trying to fool a few planets, perhaps you could direct energy at them. I'm not entirely sure what you would have to do in order to make the light arrays appear correctly though.

A proposal for mass: It seems as though a sustainable black hole could at least be as small as 3.8 times the mass of our sun [1] and a valid star could be > 1000 times the mass of our sun [2]. There's more than enough wiggle room there that you could have a small black hole within an outer shell, so the orbits could continue as normal.

[1] https://www.space.com/5191-smallest-black-hole.html

[2] https://en.wikipedia.org/wiki/List_of_largest_known_stars

comment 6y ago · link · parent

I think there are a few reasons this works well (a simplification):

1. Ideally, you want everybody who wants to consume your product to do so at the highest price they are willing to pay (as long as that is above the cost of production and some minimum profit margin). People willing to spend a lot of money are willing to also spend less, but people who are only willing to spend less money are not willing to spend more. Therefore you target the high-buyers first and the low-buyers second, until you reach zero.

2. Value loss over time means that there is some non-infinite window in which to sell your product in order to maximize profits. The trade-off is likely market (people wanting to purchase), selling price and exposure (how many people even know it exists) - x axis is time and y is profit.

In relation to this story, the exposure was low and the market was lower as a result. Reducing price increased exposure and therefore allowed the visibility of the product to the market out there. Don't under value word-of-mouth!

I think this is why the film and music industry need to calm down about piracy. The EU for example withheld a study because it showed that piracy didn't provably harm sales [1]. How many people have had their internet shut off, been fined or worse because of piracy - when there's no proven victim. In fact, if anecdotes like this story are anything to go by - it may even improve sales.

My anecdote: After pirating the Matrix trilogy (in a time where I had no money), I ended up buying the films on DVD twice (each film individually and then the box set). I never would have purchased these films had I first not pirated them. Similarly, I found a PDF for a book on scrum before purchasing it - and then recommending my team do the same.

Side note: I remember interviewing for a company that did this kind of analysis and automatically adjusted prices for online websites. I don't think those guys actually had any clue (it was all very young programmers and no mathematicians/machine learning people) - but in theory it's entirely possible.

[1] https://arstechnica.com/gaming/2017/09/eu-study-finds-piracy...

comment 6y ago · link · parent

How Recursion Got into Programming (2014)

https://vanemden.wordpress.com/2014/06/18/how-recursion-got-...

comment 6y ago · link · parent

The results: I wasn't impressed with the results, it seemed like I could have done better using some OpenCV and first principle algorithms. The examples they give are excellent, but when trying them they are awful.

The viruses: I didn't see all these viruses people were talking about, the software worked "as intended" for me without the redirects. There was no advertising on the page either... I run with uBlock Origin in Chromium.

The dataset: Where do these images come from? These seem like the sorts of pictures that might be uploaded to some older social media website, like Bebo or something.

2 cents: Personally I would like to try and do some work with a dataset that has a 1:1 mapping of person to character, but that would require artists and quite a bit of money. I was thinking that you could build out such a database for free by randomly matching anime characters and real pictures together and have a human rate closeness - then train a network based on these ratings.

comment 6y ago · link · parent

Please mark 2018

comment 6y ago · link · parent

Huh, interesting idea... I guess such a thing could be quite interesting for some short form updates (i.e. live from a conference). You'd probably want that to go through some kind of editor right? I just assumed it would be a news-reader/viewer.

comment 6y ago · link · parent

What kinds of problems would you face in creating a news app? Surely content delivery is the same as that through the web page and for displaying the content you just use some cross-platform UI library?

(From somebody on the outside with absolutely no idea.)

comment 6y ago · link · parent

> I was very happy to see that it claimed that my old pal

> fluxbox is highly active, but the last three news items on

> the fluxbox site are from 2015, 2008, and 2006,

> respectively.

Many of these projects are quite old, but still compile fine and are usable. WM2 for example still runs perfectly fine on top of X11.

> I've never had anything but a good and responsive system

> with that approach.

Fast and gives you an appreciation for what is needed for a functioning desktop.

comment 6y ago · link · parent

Just take Ubuntu Server and throw a light window manager on top. Ubuntu Server is pretty lightweight as is and there are still some very nice lightweight window managers out there.

Something like WM2 is ultra low [1], but watch out if you're running a laptop as you won't get battery monitoring!

[1] http://www.xwinman.org/

comment 6y ago · link · parent

Not sure if it's related, but I have a nice bug with VLC where if I suspend my machine with it open, /var/log/syslog fills my main disk to the brim with error messages!

comment 6y ago · link · parent

"31% Can't Pay the Rent" != "31% Are Not Paying Rent"

"Can't" indicates they are unable, whereas I suspect at least some are taking advantage of the current situation [1]. Any situation where it's possible to take advantage, you can almost guarantee that people will.

This is not the way forwards - not paying rent will have a large knock-on effect for landlords (which, despite some sentiment, isn't necessarily the 1%). The US government needs to provide money if they are going to demand that people stay at home and not work.

Ultimately they either bring the economy to a screaming halt (entirely) or trickle money to those unable to work in order to keep things going. In my opinion stalling the economy is a bad idea - it can cost a lot of time and money to get it going again.

[1] https://news.yahoo.com/rent-strike-idea-gaining-steam-170345...

comment 6y ago · link · parent

> The newspaper is a great implemantation of this, but I also

> would like to have a large e-ink display for displaying b/w

> photographs.

I'm surprised that newspapers haven't picked up on this already, they could play the "we're going green" card, cut their own overheads and lock people into a platform.

Hell, they could even elbow their way into much larger markets, such as books, note taking, pictures, emails, document signing, etc.

Why the Amazon Kindle doesn't come with a newspaper is beyond me - it seems like it would be an absolutely killer feature for getting people to use their kindles every day. Doesn't Jeff Bezos own some newspaper already anyway?

comment 6y ago · link · parent

"That looks awesome!" * Looks at website * "$1,500!"

I'm really looking forward to this price point coming down.

EEVblog was talking about an interesting effect where LCDs can potentially become a cheaper alternative to "e-paper" [1]. An LCD panel of similar size is significantly cheaper due to products such as laptops, monitors, TVs, etc.

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

1
515253
78