News for hackers. Stuff that matters.

Kwastie

Re:German court declares Do Not Track to be legally binding on Tuesday October 31, 2023 @05:59AM (#38082410)
I am not sure this is even required. A (German) legal court order could also be used across the EU as a case law.
Generally expensive watches are associated with longevity, but I can't imagine someone buying this and expecting lifelong support.
Re:Ice cream machine hackers sue McDonald's on Wednesday March 02, 2022 @10:47AM (#30528612)
This great (mini) YouTube documentary gives some background what lead up to the lawsuit. (https://www.youtube.com/watch?v=SrDEtSlqJC4)
Am I assuming correctly that this only applies for type 1 diabetes?

With type 2 diabetes the body is in general less sensitive to insulin, more insulin producing cells won't fix the underlying insensitivity issue, right?

Re:Deploying a ReasonML React app with Docker on Tuesday February 06, 2018 @06:35AM (#16315600)
With pure Reason (No JS bindings) it should be possible to skip Node / Bucklescript on the server and compile straight to binary.

This should be possible with something like bsb-native (https://github.com/bsansouci/bsb-native)

I haven't tried this because I don't have a pure Reason project

Re:Rust: Enable WebAssembly backend by default on Sunday November 26, 2017 @03:08PM (#15782717)
Minifiers don't output any readable JavaScript anyway. Yes, it can be "decompiled" back to something readable, but so can WASM.
Re:Disabling the Intel Management Engine on Tuesday October 10, 2017 @04:35PM (#15445114)
interestingly enough some implementations are broken because of buggy UEFI (AMI) https://embedi.com/blog/bypassing-intel-boot-guard
Re:React 16 on Tuesday September 26, 2017 @12:37PM (#15340260)
Even though React 16 is almost a complete rewrite, it's amazing how they kept an almost complete compatible api between releases.

Congrats on shipping!

Re:It’s time to kill the web app on Saturday September 23, 2017 @05:05PM (#15321715)
I agree, this article doesn't make any sense without proposing an alternative. Sure, I think most people would agree that the web is still a bit rough for (large) apps. (compared to desktop apps) But nothing that can't be fixed, right?

I can't imaging that native phone apps will still be popular in 10 years. I think that they will be replaced by the web in a similar fashion as web-apps have replaced desktop apps.

Re:Traceur – A JavaScript.next-to-JavaScript-of-today compiler on Saturday December 10, 2016 @12:01PM (#13146545)
I guess Google put more effort into TypeScript, this project seems like it's almost dead.
Re:Facebook React.js License on Wednesday October 12, 2016 @09:55AM (#12692823)
I am not a lawyer, but "not bringing a patent infringement lawsuit against Facebook or its affiliates" suggest that anyone using React can't file a lawsuit against Facebook over patents and NOT vice versa as you suggest.
Re:The GitHub GraphQL API on Wednesday September 14, 2016 @03:38PM (#12500514)
Since the announcement of GraphQL I've been waiting for some 'real world' apis. (Sure the Star Wars GraphQL apis are fun)

Does anyone know any best practices if you want to adopt this is in an existing application using a relation database (i.e. PostgreSQL). I don't know how to implement this without causing N+1 queries. (or Worse).

For example:

{ Post {

    title,
    content,
    Author {
      name,
      avatar,
    },

    Comments(first:10) {
.. } } }

A naive implementation would cause a lot of query, for each "edge" a query.

Re:Scientists can’t agree whether salt is killing us on Thursday February 18, 2016 @07:22AM (#11125231)
Why does a respectable news outlet/paper like the Washington Post lower itself to clickbait titles.. I don't get it.
Re:My Reaction to React on Wednesday January 27, 2016 @02:24PM (#10982346)
> manually updating the DOM is as optimized as you can possibly be.

Optimized in the sense that it uses less memory and cpu. But the code isn't optimized for humans to reason about (not to mention changing it.)

React was never about performance, it's about maintainability, readability and reasonability.

For me readable and maintainable code is (almost always) more important than fast code.

Re:Argon2 for node on Monday January 18, 2016 @04:35PM (#10927150)
Sorry about my kinda harsh comment, good to see you fixed it!
kindly check the attached LOVELETTER coming from me.

LOVE-LETTER-FOR-YOU.TXT.json

I like the idea of building apps in a drag-and-drop ui-builders for prototyping. But I can't imaging using this for real products other than maybe a static app. How do you even connect to an existing backend? The 'demo' video suggests connecting directly to a database... So much for security.
Re:Argon2 for node on Friday January 08, 2016 @04:20AM (#10863791)
I love how the author exposed every 'hash' function as 'encrypt'. Clueless
Re:Angular 2 versus React on Wednesday January 06, 2016 @04:39AM (#10849523)
My comment is about React. I am not defending AngularJS.
Re:Angular 2 versus React on Monday January 04, 2016 @02:30PM (#10837881)
>lack of best practices

How many 'best practices' do you need? What about 'higher order components'? Use proptypes in development? 'Avoid local state'?

>constantly breaking changes

I call bullshit, what was the last breaking change? Every large release still supports the old deprecated syntax, but with warnings.

>Every tutorial before the last month is already outdated

That is a big exaggeration; I wouldn't advice anyone to use 'pre es6' tutorials, but the concepts still apply.

>everybody has a different way of setting up webpack / isomorphism / templating.

No they don't, maybe a small differences and what do you mean with 'templating'? It's not Angular.

Re:Angular 2 versus React on Monday January 04, 2016 @02:00PM (#10837649)
Why did Google create Polymer? Google isn't using it. This is almost the same 'problem' with "AngularJS by Google", it's almost never used by Google.

Edit: The reason I like React more is the fact that Facebook uses it in a high traffic production setting.

Edit 2: I think the whole Javascript (or framework) fatigue is just a 'transition problem'. Old tools are getting replaced by new tools, causing confusion..

Re:ELK stack deployment with Ansible on Thursday November 26, 2015 @03:58PM (#10634685)
This is general question, not directly related to this post (Sorry)

I get the feeling that "full Configuration/Deployment" tools like Ansible (Puppet, Chef and Salt) are getting eclipsed by tools like Docker.

For me Ansible was just a "half-way" station. 1. Manual software installs 2. Script assisted software installs 3. (some) server Configuration/Deployment with Ansible 4. Docker (Rkt, appc) 5. ??

Is this a fair assume that tools like Ansible are on the way back out? Or should you keep it to configure the Docker hosts?

Re:Java 8’s new Optional type doesn't solve anything on Monday October 26, 2015 @06:21AM (#10450445)
The author is missing the point. The fact that Optional can result in a nullpointer doesn't mean you should use in the same manner as null-checks.

You shouldn't replace:

  if(x == null)
  {
    y = x.doSomething();
  }
with

  if(optionalX.isPresent())
  {
    y = x.doSomething();
  }
You should replace it with:

  y = Optional.ofNullable(x)
    .map(ClassX::doSomething)
    .orElse(null);
Re:React Native for Android on Monday September 14, 2015 @05:22PM (#10217550)
To be fair, nobody will choose React because of the virtual dom. The virutal dom is just a tool to make React perform faster.

You should choose React because it makes building reusable (web)components for applications much easier.

Re:React Native for Android on Monday September 14, 2015 @05:13PM (#10217498)
It works quite well actually, I tested it for a bit using the tutorial. I haven't found any real issues. Only the chrome inspector isn't working for me, but that might be caused by the Android emulator.

Older »