News for hackers. Stuff that matters.

iotscale

Re:Prime Down: Amazon’s sale day turns into fail day on Tuesday July 17, 2018 @05:00AM (#17548314)
When I was on-call for a big project, I jumped every time my phone rang. It wasn't a good experience at all.

"We are at the fair, I have 18 customers lined up but I can't take orders. Can you fix this now or should I start taking them on paper?"

You know the joke that atheists don't believe in god until the plane nosedives? That was the moment for me :)

"Oh, I... I need to see the error message before I can say anything. We don't have any errors logged. Hmm... Would you allow me to remote into your device?"

"Can't do that. We lost the internet connection here, sorry."

Ugh.

Re:Civ 5 AI battle – All 43 Civs on same map [video] on Thursday May 24, 2018 @05:11AM (#17142318)
This is my favorite mobile game of all time. The AI is also very weird (in a good way) and sometimes genius! It feels like the custom maps I used to create with "Age of Empires II" in which I let random units fight against each other.
Re:StreetLend.com shuts down, citing GDPR regulations on Monday April 30, 2018 @09:16AM (#16958297)
But the GDPR itself is written in legalese. There are many interpretations like yours, but then, without a lawyer, it's a dangerous game to play. The cost of the lawyer may be prohibitive to some small businesses, let alone side-projects.

I'm actually pro-GDPR but this needs to be kept in mind.

Re:Ask HN: Which is the cheapest TLD for 10 years? on Monday April 30, 2018 @09:08AM (#16958236)
I guess that depends on how many you want to buy. I can't come up with a reason why one would buy many domains with an obscure TLD, especially for private use but that doesn't mean that there isn't one.
Re:Show HN: VNote, a fresh Markdown note-taking app on Monday January 15, 2018 @09:15AM (#16150606)
I'm very happy it's not written in {insert technology unpopular among hackers to gather points}.

Nowhere is Electron mentioned and still comes the hate. A close friend of mine (not a web-developer, unlike me) has a very popular app (>10K users) which uses Electron and he got only around 30 performance complaints last year and all of them could be solved without rewriting the damn thing. The app has a giant "Feedback" button in the main view and there are at least 10 bug reports / suggestions per day (I manage the support desk).

This is getting to the levels of this silly Java hate because everyone thought the performance of Eclipse from years ago still is the state-of-the-art for Java development. There are many bad electron-based apps, that is for sure and completely normal because the barrier to entry is so low. Yeah and there is Slack, but don't complain if you gave up IRC for that incompatible piece of... Whatever.

Sorry for the rant.

I just thought, to a certain age, it may be required. I'm not a parent so I probably don't know what I'm talking about.
IMHO it's bad, as long as a lifestyle is pushed heavily from people who aren't immediate family. Doesn't matter if it's "hookup culture" or waiting for the prince charming to marry.
Given enough eyeballs, everyone becomes shallow.
Re:Illegal Prime Number? (2001) on Sunday January 07, 2018 @08:02AM (#16090728)
An illegal prime reminds me of the article "What Colour are your bits?" from Matthew Skala http://ansuz.sooke.bc.ca/entry/23
Re:NeuG USB True Random Number Generator on Friday January 05, 2018 @03:55PM (#16081548)
you can cancel out static noise with multiple readings
That is correct but we are not talking in the context of the emulation circles.
An old colleague of mine hated the word "awesome" because, in his words, "it's a word js-kiddies use to exaggerate their little accomplishments".

Guess how he reacted when someone used the phrase "isomorphic js"...

Why do they even market those new chips? It's the average performance that matters and you can wait 10 seconds to open an app, as, in the end it didn't change the average performance from the case that you would open it in a second and stare at it 9 seconds being stunned by its speed.
I try to write a first prototype without any regards to best practices. When I'm doing a rewrite (of a prototype, not a full product), by then I already have the structure in my mind and perfectionism then can't get in the way. For example I don't design unnecessarily complex sub systems just to get the flexibility I don't need.
Re:Razer targets perfect Linux support on Friday March 03, 2017 @02:00PM (#13785236)
it's the same brand, I think if they have the tendency to do this for their keyboard and mouse, who knows what they'll end up doing with their laptops.
Re:Razer targets perfect Linux support on Friday March 03, 2017 @01:38PM (#13784996)
Well, I think I'll refrain from buying razer because of this: https://mobile.twitter.com/internetofshit/status/83665111681...
Re:Miyazaki Tribute on Sunday November 20, 2016 @05:44AM (#12998218)
I just watched "Perfect Blue", it was really great. I'll keep watching more Satoshi Kon movies if I can find the DVDs. It's really hard to find them.
Re:Miyazaki Tribute on Saturday November 19, 2016 @07:20AM (#12993159)
My only exposure to anime is his films (friend suggested them, first I ignored the recommendation because they were "for kids" and some time later I watched "Spirited away" by luck and you know the rest of the story) and want to explore more, I thought maybe you could have some suggestions from your other favorites?
Re:Is Model-View-Controller dead on the front end? on Friday November 11, 2016 @04:46AM (#12929247)
AFAIK it doesn't, but I'm just learning. My understanding is the standard way of doing things work if you are creating the most boring CRUD apps but you need to "bend the rules" a bit to make it work for your use case very often - as long as you keep it newcomer-friendly.
Re:Is Model-View-Controller dead on the front end? on Friday November 11, 2016 @04:01AM (#12929073)
Correct me if I'm wrong but I think what you have is described as an "action dispatcher" these days.

For what it's worth, I think, we can define the whole Flux architecture in somewhat-skewed MVC terms. Not trying to downplay the usefulness of Flux here but if I'm not all wrong, it would've helped many people if we kept at least some of the terms from MVC or MVVM.

Re:H.264 is Magic on Friday November 04, 2016 @09:43AM (#12872446)
It indeed is, as long as we accept the first screenshot as the normal scale.
You most probably have some "coil whine"[1]. It's very unlikely that you are hearing ultrasonic signals (disclaimer: I'm no expert).

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

Re:Error Handling in Node.js on Friday November 04, 2016 @06:47AM (#12871593)
Try/catch is not async and exceptions do not bubble up through the async context, which makes sense as the caller moved on with execution. Try this in your console:

    try {
        console.log("see, ");
        setTimeout(() => {throw new Error("oops")}, 100);
        console.log(
            "I can't assume here that"
            + " the prev. line succeeded"
        );
    } catch(e) {
        console.log("error!");
    }
Re:Error Handling in Node.js on Friday November 04, 2016 @06:37AM (#12871554)
> Try and log, if you can't, fail silently without impacting the main purpose of the application/service/whatever.

Are you being serious? I agree that there can be "some kind of ancillary function that is non-essential" but in the case of failed logging you should try sending an email / showing some warning if you have a GUI / try other outputs / crash with a meaningful error especially if you are running under some sort of supervisor... etc.

Of course that doesn't invalidate your main point.

Re:Powerwall 2 and Integrated Solar on Saturday October 29, 2016 @05:29AM (#12823284)
1BR+office (home office with 2 always on computers), air circulation with filtering, around 80 square meters, 2 people, also Germany, 3600kWh/Year (~90€/month)

That could probably triple if we had AC. Far worse if we had electrical heating.

Re:Microsoft Chrome on Thursday October 27, 2016 @12:02PM (#12806252)
I guess you can do that even with a simple Windows Forms application that has a full size web view?
Re:Microsoft, I Forgive You on Thursday October 27, 2016 @11:50AM (#12806107)
I use Windows daily, and I'm not sure how to feel when I consider the daily attempts against my choices and privacy. It feels like they try to be nice but unintentionally mess up sometimes.

Feelings aside, they've done solid open source work, quality of which can't be overstated.

But... Powershell, really? The Linux subsystem exists now, you know :)

edit: the Powershell thing was just an opinion tease, come on everyone^^

While what they ended up doing is definitely worse, I wouldn't see them "taking it lightly" as natural too. After all, they've put the life of many in danger.

"Hey we messed up big time, here's the cause, here are the measures we took to prevent such things happening again. We also kindly ask everyone to consider the sensitivity of the issue regarding the affected customers" could be a good start.

Re:Microsoft Chrome on Thursday October 27, 2016 @03:42AM (#12803482)
Which didn't add any value for most people but made them remove the plus operator in its useful form, from Google search.
If we're considering just the availability, Google Maps has an option to cache a region for offline use, which works spectacularly good - given that you get your antenna on a good signal every once in a while.

Older »