News for hackers. Stuff that matters.

alanfranzoni

Re:Why Julia on Saturday February 23, 2019 @10:26AM (#19233690)
Yes, I got that. But the "good parts" according to this artcle derive from where it can work like a statically typed language.
Re:Why Julia on Saturday February 23, 2019 @09:24AM (#19233412)
So... The answer is fundamentally "statically typed", right?
Re:Linus Torvalds on Why ARM Won't Win the Server Space on Friday February 22, 2019 @07:16AM (#19224683)
Site is down. Anyone's got a mirror/outline?
Re:Single File, Editable Python Scripts with Dependencies on Thursday February 21, 2019 @02:59AM (#19215289)
Feel free to use what you feel is good for you. But this makes a lot of sense (to me!) for simpler scripts. Imagine cron jobs or other "internal" scripts, maybe things that you launch on a cluster via ansible or other tools for periodic or one shot tasks... things like that.

Virtualenv is "stateful" - you need a) to have it installed on the target system b) to deliver both your script AND the requirements.txt file c) to launch virtualenv d) execute your script via virtualenv.

Far more complex than just "run this script and you're done", right? If an "embedded virtualenv" functionality existed, something like

    import virtualenv
    virtualenv.install_requirements("asd==1.2.3")
    # from there, the software goes on with the requirements actually available
Then my snippet would make no sense.

Of course (but I don't know whether this was the real suggestion) I could evaluate using virtualenv (if available) instead of manually setting the sys.path. But I found that to be a bit more complex (virtualenv could actually be installed with a different Python interpreter since it allows the -p parameter, while pip is generally bound to each specific interpreter).

eBay has no warehouse. eBay has no printing service. But I'd say that eBay should offer a fake-reporting system (which AFAIK exists) and should report users engaging in such activities to police or other institutions.

The problem with Amazon is that they seem not to take appropriate action. How can you not be held liable for printing books in an unauthorized fashion AND selling it from your warehouse?

Re:What Happens When Techno-Utopians Run a Country on Monday February 18, 2019 @05:06PM (#19194917)
Well, they forgot to say that five star online platform - https://rousseau.movimento5stelle.it - is a php handmade webapp with a lot of security problems. Not a good point for the movement.

I think the wired article is decent, maybe it misses one important notion: the five stars movement has been critical at giving a lot of millennials some new interest in politics. For sure it's not the perfect party, but from a participation pov is the best thing we've had in Italy since decades.

Re:Skype contact lists may have been exposed (2017) on Wednesday February 13, 2019 @04:34AM (#19151709)
Sort feed by date -> OK. But the setting is not retained. Terrible.
Re:Ubuntu 18.04.2 LTS Released on Wednesday February 13, 2019 @04:10AM (#19151605)
Possible, but is it a good idea?

If the package is called "openjdk-11", I want JDK 11.

Re:Ubuntu 18.04.2 LTS Released on Monday February 11, 2019 @12:37PM (#19136277)
Jdk 10 is unsupported already.
Re:Ubuntu 18.04.2 LTS Released on Sunday February 10, 2019 @01:39PM (#19129247)
This looked like a decent idea when the package was created, but turned into a disaster, an example of how NOT to do things.
And how is that API call performed? To whom? To my device, via a specially exposed service? Or is it part of gsm/umts/lte specs, and every packet I send back to my carrier contains my gps data?
I understand a-gps from an end user pov. I don't understand how and when such data is retransmitted to the carrier. Carriers shouldn't have access to my gps data.
I do not understand. That carriers have my cell location data, that seems ok. But do they get my own phone GPS data along with it? The article seems to imply that such data is sent only when dialing certain emergency numbers... Not always!
Does anybody have an explanation about A-GPS? How does it work? I thought it was available to end users, I don't understand why carriers have such data.
I'm happy that 2017 is the date of the article, and not of the event.
Re:Pwn the LIFX Mini white on Wednesday January 30, 2019 @04:21AM (#19033735)
Not necessarily, if the private key is different for every device. What would you have done instead?
Re:The subscription-pocalypse on Monday January 28, 2019 @06:24AM (#19016617)
I think that the point he'd like to make (a bit clumsily, IMHO) is that we should NOT rely on SUBSCRIPTIONS only. We need more micropayments for single-shot buys.

When I was younger (but then, I'm from Europe), me and my parents subscribed to almost nothing, EXCEPT what we really and totally bought every single time - that was one (1) comic book magazine that I was buying every single week.

Newspapers? Sometimes my parents would read it at the local bar, sometimes at a friend's, sometimes at work, sometimes we would buy it, I'd say 2-3 times a week. But then: WE COULD CHANGE the newspaper every time! And, we DID switch what we bought, cycling between 2-3 newspaper we liked, so we had a kind of 360-degree view on what was happening.

Subscriptions prevent that kind of behaviour.

Re:What I learned from reading over 100 weight loss studies on Tuesday January 22, 2019 @08:56AM (#18968236)
As somebody who went from 240 to 180 lbs (I'm about 6 5" tall btw) and stayed there for long, the hard thing to cope with is homecooking. Once i had kids I had no more time for cooking, and hurried pasta/pizza dishes just drive me fat.
Re:Developers Are Not Idiots on Friday January 18, 2019 @03:02AM (#18937735)
Essential security practices (not advanced PT skills) should be basic software quality concerns. Full stop. "But it works" is not an excuse e.g. for doing sql queries without proper parameter binding.
Re:I Can No Longer Recommend Google Fi on Sunday January 13, 2019 @10:17AM (#18896964)
This happens because you use Google's own SMTP. If you configure an external SMTP (e.g. Amazon SES) then the gmail webapp won't tell your gmail address to third parties.
Re:A Daughter’s Disability and a Father’s Awakening on Saturday January 12, 2019 @06:59AM (#18890843)
There are many pre-natal tests available. I was specifically referring to nipt, which is usually priced around $200-600, and can spot Down and other DNA issues with great accuracy.
Re:A Daughter’s Disability and a Father’s Awakening on Friday January 11, 2019 @10:46PM (#18889496)
I have worked with people with Down syndrome in the past, and I must say they are amicable, nice, and with the proper education they can quite compensate for their condition.

That said, I don't know whether they're part of the "intended" human condition. They don't seem to hold any advantage over non-Down people, only disadvantages. If anybody is scared about similar thoughts, consider doing a non-invasive pre-natal test (NIPT) during a pregnancy; it's a test that checks the infant's DNA in mother's blood, and has a great accuracy.

Older »