skysight-inc/HackerNews huggingface dataset:
While smoking marijuana is victimless crime selling it is certainly not. There are a lot of laws one might need to break to successfully sell drugs. Also a lot of convicts financially supported Mexican cartels and bear some responsibility for their crimes.

At the end of the day they new all the risks, chose to play this game to make fast easy money, and they lost. It is like casino where you could win $5M or lose and spend 5 years in prison. Now letting the winners to keep the money but let losers go would not be exactly fair.
Fixed now: https://github.com/wpearse/wemos-d1-garage-door-wifi/commit/...

I think.

edit: updated link because left creds in the commit :-/
Oh man that’d be fantastic. Though I don’t know how it’d work through Central. I used to ride from the Valley to Red Hill for work every day, and even that felt too sketchy, which is sad :( I love Brisbane, but there’s a lot of room for improvement.
I’m keen for an understanding of how this would affect me, can you elaborate? I would assume the performance would need to be better for them to make the change + battery life.
Evolving Browsersync with the 200th Release
I've heard many say puns are the lowest form of humour, including a close friend's mother, but anyone who thinks as much has fixiated on the wrong thing. It's a classuffocation error, like saying steak is the unhealthiest type of vegetabull. Puns are like oxygen to me. They are an art. Without that art I choke. Anyone who tries to gag my puns ought to be trampled by a Belgian Blue, in the face. I don't know what their beef is, maybe they tried out at a pun meet, didn't make the cut, and can't shoulder it. Let it go. Take a deep breath. Become a vegetarian. No need to go through life choking down burnt rump when you can have a breath of fresh lettuce spun. Let us pun.
I'm thinking of going from android to iPhone for privacy reasons. But, whenever I hold an iPhone that list of notification puts me off, in android they are grouped, meaning 3 new exchange mails is 1 notification, I can pull on the notification to expand the 3 and then even more for every email. Short replies can be done inline in the notification even. I use that constantly. You can also swipe away a notification group. In iOS apparently everything is one notification, that really increases the amount of work handling them significantly.

I did try google-less Lineage [0], but it's pain. Installing and keeping apps up to date is more work and some apps don't have notifications.

So for now I'm on lineage with the nano Gapps package.

I am curious though, with android I can easily ssh into my server, and make tunnels (use it as proxy), use vnc etc. Can you also do that with iOS?

[0] https://lineage.microg.org/
Anything side-effect-free is idempotent too, I suppose
I find this area the single most useless display of information on an iPhone.

Yes, you can see which app takes how much space. Then what? There is no way to control or clean up that space. You can hope that an app has a setting somewhere that let's you delete old data, and that's it.

The biggest offender? Apple's own Photos app especially with iCloud and Photo Stream: there's exactly zero ways to make it give up space (unless you "want to delete photos from all connected devices")
Blockchain in Python from scratch
Yeah, did wonder about that. My thinking at the time was that the device was on the local WiFi network, not exposed to the internet, and there would be easier ways of getting into the garage if you really wanted to.
Though we do lack a word for village, it doesn't address the issues with urban/rural.

That said, a village with a hundred people doesn't guarantee rural, The City of London's 10,000 residents for example.
I hope that's not your real password!
I have definitely known too many people to experience issues with missed calls on iPhones to ever consider buying one. I have had android phones since the HTC Dream and I have never had something as simple as that go wrong - although the 911 bug seems far worse; I've just never met anyone with that problem.
TaskRabbit Account Security Update: A Message from Our CEO
Aren't you allowed to have your "click to unsubscribe" button lead to a page with a button that does a POST that actually unsubscribes? I feel like I've seen that approach in use.
I like the idea of a justice system where all trials are public and you're tried for the crime you actually committed. But that ship sailed a long time ago, in the US -- it's something like 95% plea deals now. Only we pay lip service to old ideas.

Under the current system, it seems to me that plea bargains act as contracts "I agree to serve X years & not go to court", despite being phrased as "I admit guilt for Y crime" on paper.

Of course people actually convicted of crime Y also exist. I'm just surprised that this whole thread assumes that only they exist.
It could, but that's not how it does, they store the (encrypted) media in their servers so that both phones don't need to be online at the same time, and also to avoid having to upload multiple times when you send to a group.

That said, they shouldn't need to keep them around for that long, unlike FB and similar.
Sorry, did I say that out loud??
In this case the use of macros may increase the readability or assurance of the code, still there are a lot of cases where macros can easily lead to bugs:
https://wiki.sei.cmu.edu/confluence/pages/viewpage.action?pa...
Want a More Equal Society? Universal Basic Income Might Not Be the Policy
EDIT: it's actually his address, I thought it was just a coincidence but you can the house on Street View... I removed the actual name as doxxing isn't great, sorry.
If he can TEACH them a lesson for 500$ and prevent them from paying 5000$ to an other scam - isn't it BENEVOLENCE? Sometimes ADVISE is not enough and the lessons need to be painfull/costly or they are no HELP.
I'd just like to clarify that what you have described here is "safe" rather than "idempotent" [0]. Easy mistake to make, made the same mistake myself, idempotently (that is to say you only make it once ;)

Get, and NOOP, are both "safe" and naturally "idempotent" since the former encompasses the latter.

[0] https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html
No. A function which multiplies a number by two is side effect free, but is no idempotent.
There's not just "private company" and "the government". There's "informal group", "association of people", "single person hosting their own stuff".

In the world I dream of, I could easily (and "easily" is the key word wrt the fact we're not there yet) host my own stuff and it would be visible to other people without a company or a government as intermediaries (except maybe for infrastructure, but that's something that can be solved, in the abstract, by mesh networks).

Of course we're not even close to having that, but the point is we should (IMHO) point our efforts in that direction. Is there money there? I don't know. Should I care there is no money there? I'm not sure.
Looking at the article - this is related to the Cellular modems in their telephones as opposed to the CPUs running in their Macintoshes.

Judging by Apple's success in creating powerful low energy ARM processors I'd be quite interested in seeing how they can do in designing their own 4/5G modems.
That's the etymology of "incel", but in practice it's not just a definition, it's a community identity with a lot of associated baggage. There are plenty of lonely young men who don't consider themselves "incels", often because they don't want to associate themselves with that community.

And if you examine the community, you'll quickly find that they don't think sex work "counts". Because what they want isn't sex, it's the status they imagine it confers, and if you had to pay for it, you didn't "earn" that status.
Amazon to drop support for Domain Fronting
From the article:

"Ethereum transactions' amount has increased during the past several decades,"

I had no idea!
Well according to Google it’s an address in Auckland NZ so I hope it’s not his address either.
The war against cars will ultimately be won – and that's good for everyone
I like the one-click URLs though. It irritates me to no end to click unsub, then wait for a page to load then repeat my intention.
And that quote is immediately followed in the article by—what else?—an ad. I have to wonder if that bit of irony was deliberate.
The amount of extrapolation seems a bit extreme - one deleted job opening shouldn't mean anything. But I guess in the age of clickbait journalism everything goes.
Medium tries to prevent people reading deleted articles on the Wayback Machine?
IIRC, the rfc uses “safe” instead of “side effect free”, which is very similar, but not exactly the same.
How Ferrero Rocher Chocolates Became a Status Symbol for Immigrants
You're a clever bastid
Responding to a suggestion to use smart pointers with a suggestion to RAII instead doesn't make sense because smart pointers are themselves an example of RAII. I assume what you meant was using stack allocations to avoid heap allocations except (presumably) via library containers like the STL.

This is a good idea where it can be done, and it's worth noting that move semantics replace some uses where a unique pointer would've have been necessary pre-C++11. But there are plenty of applications where it's really not possible. A big one is that if you're using inherence and virtual methods (out of fashion though they are) then you'll almost certainly need a pointer. Plenty of large complex applications cannot avoid object lifetimes with complex rules, which shared pointers track nicely, usually because objects are shared between threads or network requests. For example, if you're using ASIO (which is the basis of standard library networking in C++20) it's hard to imagine how you'd avoid using shared pointers.
I've run CopperheadOS a while ago (https://copperhead.co/android/) and in my opinion it's only gotten worse. As someone else mentioned; the "Google Play Services" are an essential part of apps these days. So expect any "mainstream" app not to work. You're forced to use open source alternatives from F-Droid (https://f-droid.org/en/)

Yes it's possible, but i wouldn't call it a "high quality android experience"
Facebook Messenger has the same problem, for a while my friends and I couldn't figure out why our referral links for a service weren't working, turns out Messenger was "using them up" for us.
xmpp seems to have good syncing
> It worked quite well actually.

Apart from the problems mentioned in the comment you replied to. You don't seem to have a point other than being contrarian (as a state).
> the borrow check is still active even in unsafe blocks

When you deal with pointer-based structures (trees, graphs, etc.) you’ll use raw pointers for them. Raw pointers are not borrow checked, and the complete list of pointer-related potential bugs applies to unsafe Rust, you can use after free, double free, mess with pointer arithmetic so you’re out of bounds, etc.

> In C++, however, the complex rules around when destructors are called, combined with references, are a constant use-after-free footgun that you can never eliminate.

C++ ecosystem has lots of stuff that help writing correct code despite unsafe language. Debug builds use special version of heap that fills freed memory with a magic number, this help to catch most UAF bugs very early in the development. There’re runtime tools like valgrind and asan. There’re static analysis tools like PVS studio, clang static analyzer, and coverity.

Unsafe Rust has none of them. Not even a debug heap.

> Rust projects that use unsafe code are empirically safer than C++ projects.

Survival bias: people who need raw pointers and other performance-related features like SIMD and manual RAM layout don’t pick Rust for their projects.
It's absolutely not ready, as I made clear in several comments :) I just said pipenv is the most promising one.

I agree it's frustrating. I'm planning to donate some of my time to the project to help the situation. I hope others can too.
What Is the Best Time Management Software?
Sign Up for My Sprint Service Online – Www.sprint.com Register
True, but if the Cobol market is for 10k developers worldwide, not many people will venture there, even for higher pay. Cause if you get fired from your Cobol job and there’s no openings for Cobol devs, your market value just plummeted to $40k as a Junior Javascript dev ;)

And despite what we may think, except for the big tech companies, everyone else doesn’t really hire generalists. You could have 20 years experience as a programmer in 10 different languages, HR still wants a Java programmer with 5 years of Java experience.
ABC has long stood for Anywhere But California

How they expect to stem the flow of businesses moving out of the state while not honoring simple contracts is beyond me.
Crashes my Firefox Mobile 59.0.2 instance every time before page even renders. That must be one sweet animation.
The first comment I see is:

> Mark Zuckerberg

> Jan: I will miss working so closely with you. I'm grateful for everything you've done to help connect the world, and for everything you've taught me, including about encryption and its ability to take power from centralized systems and put it back in people's hands. Those values will always be at the heart of WhatsApp.

Given what's discussed below about the business wanting to introduce features for Enterprise that would weaken encryption it's interesting to see this. Although Zuck only talks about encryption, not e2e encryption. It also strikes me as if he's talking as much to people viewing it as to Jan, and Jan didn't reply, whereas he has with other comments.
Classic case- ui-paradigm shift in the middle of the programm- for once the right click does not present options - but does something else entirely that undoes work.

Its strange- but usually this is found on components that had a developer-UI attached to it and where stand alone. Its easy to craft a pre-mature UI-decision into the working of a component- and run out of time for a redesign.

Another classic there- you have a UI and suddenly it gets terminal- as in you have to enter commandline shortkeys to archive efficient workspeed with it.
> What else should he do?

That really depends on what was stated in the terms of acquisition. At the most extreme sue to demerge.

But is that a fight he is willing to accept?
When I was in high school in chemistry class I accidentally picked the wrong bottle of sulphuric acid to use in an experiment - I remember thinking "this stuff actually seems to be viscous" and "why is everything getting so hot" before the explanation dawned on me....
What makes puns so annoying is the punner expecting to be told how clever they are.
> If you can't provide your main business without this set of people, then those people are probably your employees?

This doesn't make any sense. Farmers are not employees of grocery stores. Factory foremen are not employees of drop shippers. Amazon warehouse staff are also not employees of drop shippers. Comcast cable layers are not employees of YouTube.

You think farmers aren't employees of grocery stores because the stores could buy the same food from different farmers? That's just as true of the IT company and its contract developers.
The Elite of Poland Blown Up in Russia in 2010 [pdf]
The Hole Hawg
I have a small (golang) agent that runs on over a thousand raspberry pi class machines (not on the open internet).

The agent has a GET /reboot api because it is really convenient to be able to just hit that url in a browser window when we need to.

Adding all the no-cache headers to the response seems to have worked well enough to prevent browsers from randomly hitting the url.

I just added a check for the x-purpose header as well, thanks for the suggestion.
Seems like a case of adding "ORDER BY number_of_previous_visits, distance" to a SQL query...
The "PIC" syntax for variable declaration is an amazing idea that should be more widely copied.

I'm also a fan of COBOL's use of '.' as a statement terminator instead of ';' like the ALGOL languages.
That URL doesn’t work at all—just redirects to #.
What are some ways around it as is mentioned in the article?
> Medium tries to prevent people reading deleted articles on The Wayback Machine

Please use the article headline. However, the automatic redirect makes this pretty close to the truth.
Archive.is doesn't seem to be affected by the redirect strategy.

article: http://archive.is/gPcBW
Why would there be? In that kind of environment the software is the business.
Probably disable JavaScript
On the General > Storage there are some options I have on my iOS (v 11.3):

- Offload Unused Apps

- Auto Delete Old Conversations

Or I can manually offload apps one by one.

I think you are referring to the iCloud Storage settings on the iPhone when talking about deleting photos from all connected devices.

Probably the confusion is because they decided to put two storages: General > iPhone Storage (managing local storage) and Accounts > iCloud > iCloud Storage.

The last one (iCloud Storage) manages the iCloud so if you delete something from iCloud it will delete it from all devices.

edit: formatting
Except if the domain is zero.
Undercover relationship woman wants officer prosecution
I use an app called Blink (http://www.blink.sh/) on iOS to manage servers on the move, has mosh support as well for areas with spotty cell service.
Perhaps we need a specific nomenclature for this sort of case: oddempotent!

After all, you get the same state if you do it 3,5,7,9,etc times as if you do it once, right? ;)
hey, I'm in Auckland,maybe I can go around and hack his garage :)
You make me want to give it a try. How does it compare to tools like Spin? I remember trying Spin to specify a distributed system I was working on but I didn't find it as useful as expected. If I remember well (maybe not as it was a while) the built-in concurrency model didn't really match what I was doing in my program or my programming language. It turned out my model was too far from my program to be really useful.
Beautifully crafted metaphor, almost a comparisong.
If you make messenger users pay anything for it, you’ll lose 80% of them on the spot.
http://blogs.sciencemag.org/pipeline/?s=things+I+won%27t+wor...
This post, as far as I can see, does not mention scala-meta-based macros (project called scalamacros I think) at all. What happened with this direction of macros development? Was it abandoned? Or is the new approach built on it?
> Every single piece of software starts with a single and easy to understand idea

I take it you're not a developer?
Is this an April Fools' joke?

Too much first person.

Also, Wayback Machine "is frequently used by journalists and citizens to review dead websites".

This isn't some fucking standard; it's Wayback Machine's responsibility to archive websites, not the other way around.
The speaker makes the pun even if it looks irrelephant in the context of the message.
I used HF to clean the surface of a copper scattering cell (block of copper with an internal chamber and some access ports, about 5 inches high and 4 across).

Burn cream on hands, two pairs of gloves, one silk one leather, leather apron and splash goggles. Comes packed in a plastic container which is secured to a small wooden pallette with the bottle held upright in a box with wooden batterns. Impressive warning signs.

OA has solved the mystery of why we had to use these precautions!
Yes probably should have used my own title. It's just difficult for me to accept a headline so lacking in pith.

Edit: have updated title
Thanks. Not the address with the WiFi garage thankfully.

I was actually thinking "better not commit that" ... before, y'know, I committed it :/
HTTP GET is nice because you can "debug" via browser. But I don't think it's a good protocol choice for opening/closing doors nor any other service not related to document requests.
Layers of REST that people get to:

1. GET is good for everything

2. Perhaps we should use POST too

3. Let's use all the verbs

4. Someone mentions HATEOAS

5. Some old guy says that you've got to use XML because that defines links and JSON doesn't

6. Someone else counters with JSON-LD and sends a link to the W3 spec

That's as far as I got. Mostly this conversation happens in my head.
What book are you referring to?
There is no kind of false wit which has been so recommended by the practice of all ages as that which consists in a jingle
of words, and is comprehended under the general name of punning.

It is indeed impossible to kill a weed which the soil
has a natural disposition to produce. The seeds of punning are in the minds of all men, and though they may be subdued by
reason, reflection, and good sense, they will be very apt to shoot up in the greatest genius that is not broken and cultivated by the rules of art. Imitation is natural to us, and when it does not raise the mind to poetry, painting, music, or other more noble arts, it often breaks out in puns and quibbles.

..I shall here define it to be a conceit arising from the use of two words that agree in the sound, but differ in the sense. The only way, therefore, to try a piece of wit is to translate it into a different language. If it bear the test, you may pronounce it true; but if it vanish in the experiment you may conclude it to have been a pun. In short, one may say of a pun, as the countryman described his nightingale, that it is a "vox et prczterea nihil"–"a sound, and nothing but a sound."
> everyone in Silicon Valley was using Linux, Apache, MySQL, Perl (LAMP) and HDDs

PHP, not Perl.
Well, a while ago I saw this code (on my own project!):
window.open("?controller=users&action=changePassword&name=" + user_name + "&password=" + password)

I was horrified, glad it isn't live yet, and I fixed it immediately. But I'm still wondering whether I was so sleep-deprived or drunk when I wrote this. It's over SSL, so it should not be that big deal, but still, GET shouldn't be used for such things.
Japan Demands Crypto Exchanges De-List Anonymous Altcoins
The link to Cryptographic Right Answers is really helpful and the kind of article that it would be nice to make the general "go-to" for those of us who know enough but not enough to do it ourselves!

What I didn't like was the continual reference to AWS as if it is the only provider available, without qualifying whether it is specifically an AWS product that solves the problem or whether it is an example of using a cloud service to transfer the risk. There are many alternatives to AWS load balancers and Key Management systems, so the advice is tainted sigh
Some thoughts I've had on "graphical based programming" (if UML can be deemed as such):

- Don't draw the product. Draw the organization that produces it. As per Conway's law, you'll be drawing the same thing in the end, but contrary to UML you won't face the problem of the representation of the product evolving faster than the ability of the organization to update it. The representation (the diagram) will just evolve as fast as the organization can represent itself. This require that:

- The diagram is the organization and the fundamental aspect of code is UI. There is no distinction between the primitives of the UI/UX system (clicking on that, moving this item from here to there, etc ...) and its computational primitives. This is the tipping-point that:

- a) makes this system homoiconic

- b) makes this system homoschematic.

Homoschematicity (same-representation/same-gesture in ancient Greek) is reached when the datastructure that is set in immediate relation to itself (typically lists in Lisp) is also what is directly presented to the end user and can be displayed as such, ie. immediately (lisp code is too ugly and limited for that).
But that is wildly different. A farmer provides goods that hold value for almost anyone. Once they have produced a bushel of apples, that bushel can be bought by anyone. On the contrary, once a software developer has produced some code, it only holds value for the specific company that order this specific piece of code.
Simple and featureful desktop app for Evernote available as a Snap