News for hackers. Stuff that matters.

kowdermeister

Re:Microsoft is investing $1B in OpenAI on Monday July 22, 2019 @12:30PM (#20499613)
macleginn's complaint was that we haven't even modelled simple behavior and I brought these narrow AI examples as a counter argument since they demonstrate that we can, even complex ones. Domain specific? Yeah, bummer.

Nowhere I have stated this is the clear path to AGI and you are right, we are missing key building blocks. But I feel like there's too much skepticism agains this field while the advancements are not appreciated enough.

I don't know either what will lead there, but I see more and more examples of different networks being combined to achieve more than they are capable of individually.

Re:Browsers are pretty good at loading pages on Monday July 22, 2019 @03:21AM (#20495919)
> companies deploy them to avoid separation of responsibilities and turn every employee into easily replaceable "full-stack developer"

SPA-s are much-much harder to develop if more teams are working on it. So your first sentence makes little sense.

> companies move everything to client-side in order to reduce Amazon bills

This is never the reason why it happens. Seriously? The cost are not saved, just moved around. SPA-s are developed because they could provide a much better UX. As a side benefit, server side development becomes simpler by providing some REST or GraphQL API. You don't want to be in a place where tens of thousands of lines are generated backend side by backend developers.

> client-side scripts are poorly optimized and contribute to global warming by causing hundred thousands machines to spin up their CPU fans.

I appreciate your sense of humor :D

Or it was that kind of bug report where the reporter made a normal thing sound dangerous. I remember one case when someone suggested that JS should be turned off by default because "arbitrary code execution" :)

Edit: with chrome extensions, I can inject a script tag from any domain to any page. I used that to inject a lib from CDN JS, but recognized it's silly and imported the package instead.

Re:Browsers are pretty good at loading pages on Sunday July 21, 2019 @05:03PM (#20493651)
Like plotting an equation to canvas? Editing video? Handling drag and drop events?

I've seen that blog post where a guy demonstrated that many UI elements can be done with CSS, I like that. I try to do that myself as much as I can, but let's not pretend that CSS is a programming language and it can replace ANY JavaScript.

Re:Browsers are pretty good at loading pages on Sunday July 21, 2019 @04:53PM (#20493590)
What if there's no content to download? The client could have the same algorithm that the server could render.

For example create a melody with seed: 4564342

The client can render it and if you access it from the server the server does the rendering with the same seed.

Caches also exists, now with PWA-s offline modes would benefit from the History API.

Re:Browsers are pretty good at loading pages on Sunday July 21, 2019 @04:50PM (#20493573)
The back button would do the same as it would do after you click a [next image] link :)

Not sure about your point, the history API improves UX if you do it right:

https://developer.mozilla.org/en-US/docs/Web/API/History_API

It does everything as hand written, pure HTML page would, just do it faster.

Re:Browsers are pretty good at loading pages on Sunday July 21, 2019 @04:45PM (#20493545)
There are many good ones, but after a quick bookmark search, this shop is done really well, imho: https://www.shopflamingo.com/
I would just render text to a canvas and use it as a texture in your Three.js scene. That's how I do it in my side project and it works without any extra dependency.
Is that so? Worst case I can imagine is to have the same compiler emit app-firefox.wasm and app-chrome.wasm binaries from the same codebase, but I think this is highly unlikely.

But there probably always will be a safe flag that generates everywhere running binaries.

> Why do we - developers fall into this trap?

Regardless of is this a trap or not, it's obvious to me that developers want simplicity and consistency. WA provides both so don't wonder why it's taking off.

> So instead of Linux/Windows/OSX we will have Firefox/Safari/Chrome/Whatever all with their own implementation gotchas

I let the compilers worry about this :)

Electron apps can already access the host OS, spawn child processes:

https://github.com/martinjackson/electron-run-shell-example

Re:What every computer science major should know (2011) on Wednesday July 17, 2019 @06:04AM (#20457931)
9 to 5 engineers don't need to deal with accounting. Really, who the hell cares about double entry bookkeeping? It's frustrating stuff that gets into the way of engineering.

> And worst of all, your feathers will get plucked by people who do, and you may never even realize it.

As someone who has little clue about accounting, what does this even mean? You mean I can be easily ticked by a shady partner?

By the way you are right, my side projects are stuck at the part when I have to ask for money :)

This is the right way. People know interrupting is rude and if you call them out immediately you can just continue. Adding some gesture helps too, like raising the pointing finger :)
Re:'My son spent £3,160 in one game' on Monday July 15, 2019 @07:00PM (#20446091)
I have no self control to pay it back on time.
Re:A new book critiques medicine on Monday July 15, 2019 @07:33AM (#20439792)
You are shooting at one sector of tech (researchers) and expecting innovation from another market focused segment (startups to bio tech firms), not really fair :)

Probably the huge amount of bureaucracy and regulation keeps medical focused IT in its shit pool of separate islands.

Maybe you should campaign for state regulation mandating to create a HMTL / W3 like standard for data sharing that's mandatory to use.

Re:I was wrong about spreadsheets (2017) on Friday July 12, 2019 @01:56PM (#20422807)
I can't not remember now the Salesforce for developers article :)
Re:Dear Google, I'm Blocking You from My Website on Wednesday July 10, 2019 @03:36PM (#20405640)
Am I missing something? The article is about AMP. It's fine to dislike it, but your blog content is not displayed via AMP if you do not enable so blocking the Googlebot is totally unreasonable to me.
Re:Rust async-await status report 2 on Wednesday July 10, 2019 @11:25AM (#20402862)
Thanks btw for the warning, I'm learning Rust slowly by going through the awesome Rust book.
Re:Rust async-await status report 2 on Wednesday July 10, 2019 @11:00AM (#20402576)
> promises start running upon creation...

> ...until you submit it to an executor

That's not much different. Don't call the function then which returns that promise :)

Or you can write:

    sendRequest(thingThatReturnsPromise);
Oh hai Max, I remember you from the TC comment section :)

Here's a Hacker News card:

https://imgur.com/a/vFI9CGw

What reinstall feature?
Re:A 17k sport car made in France on Friday July 05, 2019 @05:28AM (#20361091)
Still worth it IMHO. Yes, it's a 10 year old car, but with a semi decent salary it's affordable.
Re:A 17k sport car made in France on Friday July 05, 2019 @02:26AM (#20360283)
Or a used BMW Z4 :) I'd buy one if I hadn't live in the city center.
Since you don't need to verify your true identity, such rule would be totally pointless even if it were there.
Aha! So game developers do write tests after all :)
> Will we only wake up once we no longer have the choice to opt out?

yes :/

Many commenters say that your data / picture is in the system already, which is fine, but your passport photo can be 10 - 15 years old and these systems record how you look now. That's the question if you are comfortable providing it.

What you can't do anything about is CCTV and I think it's a safe bet that they are already equipped with facial recognition and other ML tracking technologies. It's just a question of which database you can avoid being registered in.

Older »