News for hackers. Stuff that matters.

biddlesby

Is there a list online somewhere of all the crazy shit that can legally happen to you in the US? How long you can be detained for, what data can be extracted from you, and so on? Like if you had a really bad day and the authorities exercised all of the powers over you they legally have.
Re:Math.min(Math.max(num, min), max) on Thursday August 20, 2020 @05:06PM (#24228982)
It’s amazing what a difference it makes when you just good names and formatting
Re:How to contact Google SRE by dropping a shell in Cloud SQL on Thursday August 20, 2020 @06:56AM (#24221949)
Thank you! The article lost me after the reverse shell, but your explanation helped me to understand.
Re:How to contact Google SRE by dropping a shell in Cloud SQL on Thursday August 20, 2020 @06:53AM (#24221934)
> Not long after we started exploring the environment we landed our shell in we noticed a new file in the /mysql/tmp directory named ‘greetings.txt’

I interpreted the "new" as meaning that it wasn't there before

Re:The Consortium for Python Data API Standards on Tuesday August 18, 2020 @10:17PM (#24206519)
This strikes me as a bit pessimistic. I think you are mostly against _bad_ standards than standards per se.

If the consortium does its job well it will produce a good standard that all the major libraries like: from a UX as well as a performance viewpoint.

If it produces a bad standard, all that will happen is that nobody will sign up. No libraries are going to be _forced_ to do anything.

Re:Microsoft Put Off Fixing Zero Day for 2 Years on Monday August 17, 2020 @08:21AM (#24186504)
I see. Thank you for the explanation!
Re:Microsoft Put Off Fixing Zero Day for 2 Years on Monday August 17, 2020 @05:06AM (#24185402)
Yeah, it’s really confusing. Unless I don’t understand the term, it hasn’t been a zero day vulnerability for the past two years...
All good, just make sure to restart your computer at the next available opportunity
Re:You don’t need reproducible builds on Wednesday August 05, 2020 @02:35PM (#24064027)
Completely agree! The article is blinkered to the security aspect. But imagine if compilers didn't create reproducible builds. Debugging would be a nightmare!
I find the tone of this Twitter post exhausting. He talks as if his work revolutionized the world and Jeff Bezos is a god among men.

They made a fairly useful gadget that sold well. Seriously, come back down to earth.

Re:Tired of note-taking apps on Sunday July 19, 2020 @10:40AM (#23889656)
Totally agree. Having to think about how I need to organise my thoughts as the same time as coming up with the thoughts themselves always seems like a burden!
Re:Amazon soya and beef exports 'linked to deforestation' on Saturday July 18, 2020 @07:17AM (#23880589)
I'm inclined to agree. Framing environmentalism as a problem that individuals need to solve isn't going to get us anywhere. It's a problem with the rules of the game, it requires political willpower.
Re:Amazon soya and beef exports 'linked to deforestation' on Saturday July 18, 2020 @07:14AM (#23880573)
Just because there's no objectively correct measure, I wouldn't say that means it isn't wrong. There's nothing objective in ethics.

In your example of people not caring about their health: the environmental impact of diet is in a different ethical class for me. If you choose to ignore your own health that's your deal, but if you make choices that negatively impact the lives of millions I think the ethics are different.

Re:Amazon soya and beef exports 'linked to deforestation' on Saturday July 18, 2020 @07:10AM (#23880563)
I wouldn't say soya is out. It's about relative impacts: soya has a vastly lower environmental impact than meat.
I didn't know about RETURNING and enjoyed the post. It's a much nicer way to learn than via a textbook. A blog post doesn't have to be novel to have value.

That said, I'm with you on the clickbait title. That really grinds my gears.

Re:Is Dark Mode Such a Good Idea? on Friday June 12, 2020 @02:54AM (#23496730)
I wouldn't agree with that. People may have made their choice based on incorrect research or incorrect assumptions: there is value in discussing the latest research.

It's like saying discussions about whether cigarettes are good or bad for you are pointless, the important thing is that people are able to buy them if they want.

Re:Cantor function, a.k.a. devil's staircase on Friday June 12, 2020 @01:53AM (#23496432)
I can sympathise with you on that. The whole of pure mathematics seems to be about making definitions and seeing what weird places and surprising connections you get. This isn't as exciting as seeing how mathematics can describe and predict phenomena in the real world.
Re:My mission to (almost) eliminate code comments on Thursday June 11, 2020 @05:01AM (#23486651)
This is a great point. You might take a different approach depending on when you expect your reader to already be proficient in the language or the framework, compared to whether a non-developer might be reading the code.

One argument against these kind of comments is that they aren't the right place to teach somebody a programming language. However I can definitely see cases where they are justified.

Re:A ‘Useless’ Perspective That Transformed Mathematics on Wednesday June 10, 2020 @02:38PM (#23480536)
That sounds really interesting - thank you
Re:No Recent Automation Revolution on Wednesday June 10, 2020 @01:50AM (#23474353)
To be fair, "the centre of the distribution catching up" is exactly the fear that the article is criticising. The fear isn't that one company is going to make some huge leap in AI - it's more about what happens if that leap gets adopted en-masse by the whole economy.

I think the OP's comment is very relevant.

Re:A ‘Useless’ Perspective That Transformed Mathematics on Wednesday June 10, 2020 @01:29AM (#23474264)
Ever since my undergraduate I've wanted to understand what representation theory is and the rough outline of how Andrew Wile's proof was constructed.

This article gave me both in a very understandable and engaging way. Thank you to the author!!!

Re:We’ve built a towering pile of shite on Saturday June 06, 2020 @08:28AM (#23438684)
I see this argument a lot: in the "good old days" there was Unix and apt and it was brilliant, now we have hundreds of toolsets and libraries that are flaky and need updating every year.

I think what these arguments miss is the upside of today. The "good old days" of brilliant developer experience was only brilliant for a small number of people. You had to learn right way of thinking, invest the right amount of time to learn good principles, how Linux was architectured, how not to re-invent the wheel, and so on.

This was a huge barrier to many people getting started with coding and the economics demanded getting more new developers ramped up faster. This pressure caused people to try to quickly develop little "get started quick" ecosystems.

Now we are in a situation where from a pure software engineering perspective we do have a complicated stack of teetering and shifting frameworks, I agree. But on the other hand this has come with enabling an awful lot more people to quickly get started toying with apps and coding.

What I'm trying to say is, these days its quicker to go from Level Zero to Level One, even if that means you've shot yourself in the foot going from Level One to Level Two.

Totally agree with you.

Given the title I expected to find an interesting article on what can go wrong if we overly rely on quantitative methods in the humanities. But this article doesn't distinguish between badly-applied quantitative methods and where the limits of those methods are even if they are executed well.

For example:

> We look at instances where the effect exists and posit a cause—and forget all the times the exact same cause led to no visible effect, or to an effect that was altogether different

This just sounds to me like bad quantitative modelling.

There is a huge argument to be made for qualitative research, and there is much-needed criticism of the idea that "hard" methods are more valuable than "soft" methods. I think this article manages neither.

Re:The Hard Part of Learning a Language on Saturday May 30, 2020 @07:10AM (#23360285)
Yeah, definitely agree. Reading is a much more efficient way to absorb information
I'm not convinced by your argument that since nothing evil has happened in the last 20 years, we are safe in the future.

It's about power dynamics. If you get a consolidation of power, that's going to be open to abuse. Maybe not now, maybe in the future, who knows. Democratic systems have checks and balances in the public domain. Google doesn't have this.

Re:Why is AI so useless for business? on Tuesday May 26, 2020 @04:11PM (#23315865)
I'm not so sure. I think the task is to find a treatment and a point in time where the treatment was considered alternative medicine, was then proven to work, and thereafter was considered medicine.

The conclusion then is that there are things we consider medicine today that used to be alternative medicine.

Re:Can 1/3 and 1/3 = 2/6? It seemed so on Tuesday May 26, 2020 @04:00PM (#23315759)
I would say it was a mistake to introduce the concept of adding fractions from two different "wholes". Instead, teach that in order to add fractions, you first have to get everything into the same "whole".

Like, you can add Jack / 3 to Ben / 3 because they were at the same table. But adding the boys from one table to another is quite a different thing.

Instead, you should teach that you should first make the fractions with both tables as the whole. Only then are you allowed to add. This could come as a later concept

Re:Simple Personal Finance Tracking with GnuCash on Wednesday May 20, 2020 @02:19AM (#23243827)
I would love to do this, but I live in a country where cash isn't a thing. It's explicitly not accepted in most places.

How can I spend the same effect if I only have a debit card? I am wondering if two accounts or a currency card is a good idea. But it's just not the same as having a physical pile of cash that you can judge how fast it's going down and how much is left

Re:Uber cuts 3000 more jobs, closes 45 offices on Monday May 18, 2020 @03:55PM (#23227575)
Reminds me of Douglas Adam's "Crisis Inducer" :)
Re:Timeline of the Far Future on Sunday May 17, 2020 @01:51PM (#23213714)
Not being facetious, but how do you define progress?

Older »