skysight-inc/HackerNews huggingface dataset:
I totally understand your frustration with Haskell.

I understand the tutorials and have read though the books available, but when I try to use the language on a small real project, say a 2d barcode generator, I have trouble getting off the ground. Its not even clear to me which set of features are recommended for the language. It seems like different users program in different, incompatible, languages! Here is a list of optional language extensions supported by GHC:

Cpp

OverlappingInstances

UndecidableInstances

IncoherentInstances

UndecidableSuperClasses

MonomorphismRestriction

MonoPatBinds

MonoLocalBinds

RelaxedPolyRec

ExtendedDefaultRules

ForeignFunctionInterface

UnliftedFFITypes

InterruptibleFFI

CApiFFI

GHCForeignImportPrim

JavaScriptFFI

ParallelArrays

Arrows

TemplateHaskell

TemplateHaskellQuotes

QuasiQuotes

ImplicitParams

ImplicitPrelude

ScopedTypeVariables

AllowAmbiguousTypes

UnboxedTuples

UnboxedSums

BangPatterns

TypeFamilies

TypeFamilyDependencies

TypeInType

OverloadedStrings

OverloadedLists

NumDecimals

DisambiguateRecordFields

RecordWildCards

RecordPuns

ViewPatterns

GADTs

GADTSyntax

NPlusKPatterns

DoAndIfThenElse

RebindableSyntax

ConstraintKinds

PolyKinds

DataKinds

InstanceSigs

ApplicativeDo

StandaloneDeriving

DeriveDataTypeable

AutoDeriveTypeable

DeriveFunctor

DeriveTraversable

DeriveFoldable

DeriveGeneric

DefaultSignatures

DeriveAnyClass

DeriveLift

DerivingStrategies

TypeSynonymInstances

FlexibleContexts

FlexibleInstances

ConstrainedClassMethods

MultiParamTypeClasses

NullaryTypeClasses

FunctionalDependencies

UnicodeSyntax

ExistentialQuantification

MagicHash

EmptyDataDecls

KindSignatures

RoleAnnotations

ParallelListComp

TransformListComp

MonadComprehensions

GeneralizedNewtypeDeriving

RecursiveDo

PostfixOperators

TupleSections

PatternGuards

LiberalTypeSynonyms

RankNTypes

ImpredicativeTypes

TypeOperators

ExplicitNamespaces

PackageImports

ExplicitForAll

AlternativeLayoutRule

AlternativeLayoutRuleTransitional

DatatypeContexts

NondecreasingIndentation

RelaxedLayout

TraditionalRecordSyntax

LambdaCase

MultiWayIf

BinaryLiterals

NegativeLiterals

DuplicateRecordFields

OverloadedLabels

EmptyCase

PatternSynonyms

PartialTypeSignatures

NamedWildCards

StaticPointers

TypeApplications

Strict

StrictData

MonadFailDesugaring

I've seen different subsets of these extensions recommended. Is there some canonical subset recommended by anyone doing real work in Haskell?

Even more off topic: in reference to your note about the word "stubbornness", the word "bookkeeping" has three consecutive doubled letters. I believe that there are no examples of four consecutive doubled letters in any ordinary English dictionary, but I ought to grep the longer lexicons I've got at home.
Honest feedback here, the choice to use the fade in effect on every single element on the home page resulted in me leaking out of the funnel at the very top. I just couldn't stand reading it, it was frustrating to swipe up a screenful and have to pause to read. Please know I present this constructively. Best of luck.
Yes, it is stated on the page

> As usual for minor releases, Scala 2.12.3 is binary compatible with the whole Scala 2.12 series.
> You can't explain things you don't understand.

But you can follow up on them, especially in an article where the first-person account is part of a larger story about cyberstalking.

E.g., "We then contacted a lawyer who specializes in stalking, who told us that..."

E.g., "I emailed the professor mentioned earlier in the article to find out if criminal/civil settlements ever result in such an arrangement in cyberstalking cases."

Or, "While the lawyer couldn't reveal the nature of his relationship with Danny, I certainly was under no such obligation. We hired a private investigator to go through the records I had kept of the cyberstalking and harassment, to try to piece together who other potential victims may have been."

If this were a blog I wouldn't have commented at all. I can understand if the author took the call from the lawyer as a potential signal that the harassment was over and wishes to devote 0 more time going forward to dealing with this person. But it's not a blog-- it's a journalistic story about a person using every legal avenue available to stop the harmful behavior of an abuser that spanned decades, and how every single avenue fell short of stopping the abuse. That story is frustratingly incomplete because we don't know what it is that actually put a stop to the abuse, and it appears nobody took further steps to explain it.

Edit: added word "journalistic" for clarification
5.3 already runs perfectly for me on Wayland (native, not through Xwayland). So I guess 5.4 will be the same :)
http://enwp.org/Lightning_talk

Good conferences offer a lightning talks session (i.e. strict time limit of 5 minutes for each speaker) where any attendee can give a talk on short notice. It is the ideal setting to get one's feet wet as an absolute beginner because to fail is forgiven by the audience, and the constraints work out in favour because they help focus.

If you succeed at one, congratulations, you have seen the proverbial elephant and you now have earned the courage and perhaps the experience to do a longer session talk. If you don't do well, at least it was over quickly.
The coming impact of GDPR on digital businesses – SD Times
> Trees don't go well with functional programming

What? Building trees is easy as pie in typed fp

http://hackage.haskell.org/package/containers-0.5.10.2/docs/...

> Ever heard of a zipper?

https://github.com/soupi/purescript-list-zipper/blob/master/...
So, yeah, I was just complaining about some of the issues that this thing has as compared to just dropping packages off at the door like a lot of other companies did already and continued to do after these lockers were installed. It's more steps (literally) than before and doesn't make a lot of sense. Like, to me, it felt like yet another unnecessary middle-man just waiting for you to screw up so they could take your money.
Yes, that's the one, thnx
And the price difference is similar for apartments. I'm paying $1000 for a ~1000 sqft apartment on the cheap side of the bridge. I have a coworker paying $2500 for a smaller place in DC. The difference in commute time is 5 minutes.
I suppose you're not very familiar with BTC-e. It had a reputation of taking funds from users -- there was nothing effectively stopping them (until now) from locking users out of their accounts randomly, or disappearing user's funds.
Another interesting option is TaguaVM, whose lead developer is now employed by Automattic (the company behind WordPress). More information here: https://symfony.fi/entry/exotic-php-implementations-hippyvm-...
Single-Use Tokens with JWT
Here you go: https://en.wikipedia.org/wiki/Columbia_University_rape_contr...
I agree, to an extent. In some crash scenarios, an airbag is useful. In others, it's actually more harmful than good.

I reckon what's more useful than an airbag in all situations, though, is a good restraint system.
Fascinating approach and re-thinking of a utility vehicle. I'm thinking the 10,000 - 20,000 units is pretty ambitious. Hence why The Verge politely just mentions that Bollinger hasn't figured out a "final price" yet but fails to mention what a "current estimate of final price" might be.

When I think of utility vehicles, I think of Defender 90 and Toyota Hilux type vehicles - spartan, proven, reparable in many parts of the world. When I think of a new car model, even from large manufacturers, I get the jitters of being a first-adopter. So much gets learned and shaken out by real-world, human use. Nice idea, but I'm a dreamer at heart and through receiving lots of pragmatic feedback, I kind of see this through the same lens.
I meant to say if you believe the narrative that he doesn't care about this scale of money to the same degree as a typical person.

Personally, I do believe that's true. I don't think that precludes him from still using his money for some fun stuff.
It's says they actually get WordPress running before releasing it. Not that I want to undermine project achievements, but WordPress likely going to work even on PHP 5.2.x that almost 10 years old.
> you need to be unsafe if working with memory mapped structs

Perhaps when defining their address and layout, or if they are a hardware structure that affects memory like a page table or TLB or a DMA controller, but beyond that, why? Or is that just the main use case you're describing?
> You might consider Silly Valley salaries to be market rate but they're not.

I don't work in the Bay Area, NYC, or a similar location. I'm comparing my current location to Atlanta.

This is now the third time I've repeated this ITT, including the OP.
https://news.ycombinator.com/item?id=14800579

Thread on Coping with Loneliness that I asked awhile ago, has some very valuable and applicable answers. I'm sorry I cant be of more help.
This is absolutely true. Check Glassdoor.
Wasserman Shultz's Top IT Aide Arrested at Airport Trying to Flee to Pakistan
Do not apologize, this is an excellent resource. Thanks so much.
A Tesla model S fits 10' lengths of lumber. Just protect the dashboard from scuffing with a blanket.
True, I get that. But other companies were already, and continued to, just drop packages off at the door. Like I said in another reply, it felt like another unnecessary middleman waiting for me to screw up and then gank me. They succeeded, and now I really dislike these things, especially when (for me at least) the 'normal' method was better.
Wrong. I'm a BSCS student with no work experience.
Not the OP, but one justification is that they aren't consuming gasoline and taxes on gasoline are primarily how roads are paid for. I wouldn't go as far as the OP, but instead I would hope the government finds some way to tax electric vehicles equitably or change how road funding works.
You are probably not aware of the issues related to Microsoft Office files, which are intentionally bloated with useless XML contents to make interoperability almost impossible. A cleaner XML improves interoperability, even if you do not think it helps. The reality is that until people will consider Microsoft Office files as a reference, anything else will fail WRT interoperability because those files are developed to kill interoperability.
Try "A funny thing happened to me on my way here tonight..." then pull your braces a few times.
> Why bother with installing another "universal communication platform"

I haven't installed Skype, WhatsApp, Facebook, Snapchat, Instagram, Telegram, etc. precisely because they're proprietary (the client and/or server). Hence I'm already only able to communicate with a small subset of my contacts. Ring looks rather nice as a fancy way to communicate with people, which previously I've been unable to do whilst preserving my freedom (and I prefer freedom over fancy communication tools). Being p2p also makes it more appealing to me than client/server systems, federated or not (which is why I never got around to setting up matrix, for example).

In that sense, this is rather like GNU being "yet another Unix".
Atlanta's Midtown, which borders Georgia Tech and is a mixed business / residential district.
To me it seems similar to running Ruby on the JVM (JRuby). Perhaps you like php but have a lot of .net code to interop with. I bet writing business logic in C# and web tier code in php could possibly be a satisfying experience.
I just use the libreoffice in App Store. It's older but for my needs it suffices.
On average, every average developer is average. Apply!
The best thing that Uber has done (whatever its other flaws) is challenge the Taxi/Union/Government monopoly.

More taxes and regulations are NOT good things.
How is Brave New World really all that dystopian? If you're highly conservative and think having big families and lots of babies is your life's goal, then sure, BNW is going to seem hellish. But considering today's low birthrates, and the fact that so many children in rich nations are born into poverty, BNW seems to offer a better society in many ways.

Most other dystopian sci-fi predicts a future plagued by wars, violence, a breakdown of the rule of law, extreme unfairness or gap between haves and have-nots, and other factors which generally lead to the majority of the population being downright miserable. 1984 had constant wars and ubiquitous surveillance by the state looking for "thoughtcrime". Elysium had a society where the elites lived in nice orbiting habitats and everyone else lived in squalor on the surface. The Running Man (the movie) had an authoritarian government shooting people in food riots and using a game show to pacify people and keep them from rebelling, with most people starving but a few elites living well (again, similar to 1984--the "outer party" members had decent standards of living but the "proles" didn't).

Honestly, BNW sounds like a step up from today's world: plenty of casual sex (lots of people already do this now), no worries about child-support payments, no kids raised by welfare mothers, kids raised by professionals instead of by asshole parents who disown them at 18 because they didn't turn out the way they wanted (honestly, I think I see one of these every day on /r/personalfinance), no failed marriages (because no one gets married: today's marriage stats show that it's a failure of an institution with less than 50% success rate, and today's singledom stats show that fewer people are even bothering to give it a first try). It's a big departure from traditional society to be sure, but all indications are that the traditional society of the past is no longer working for us.

From the article: "Today, we can define dystopia as 'an imagined place or state in which everything is unpleasant or bad, typically a totalitarian or environmentally degraded one.'" (This definition comes from the OED.) BNW does depict a totalitarian system, but not an environmentally degraded one, nor one where everything is unpleasant or bad. In fact, it isn't even completely totalitarian: people who don't fit in are allowed to opt out, and become "savages", living outside the society. Normal totalitarian systems don't do that: you can't leave, and people who try are usually shot, as became infamous in Berlin during the Cold War. The society of BNW may not seem wonderful to many people today, but to the people living in that fictional society, all indications were that they were quite happy with their lives.
"He just happens to be doing it in the middle of goddamned nowhere."

I left Southern California for this. My current employer is hiring software engineers in Sandpoint, Idaho.

kochava.com/careers
The Boycott That Wasn’t: How United Weathered a Media Firestorm
After all the massive down-voting I'm getting now, and all the pro-dick-joke comments, I've changed my opinion. Apparently American tech workers (esp. Silicon Valley ones, since they dominate the readership here) really are a bunch of sexist pigs. TIL. I didn't realize I was hanging out with such a bunch of low-lifes.

Honestly, between the frat-boy behavior of techies, and the open-plan offices, I really wish I had gone into the legal field instead. My girlfriend in legal has a wonderful (and quiet) office, and never has any problem with misogyny or blatantly crude and unprofessional behavior at work. The tech industry has really turned into garbage in the past couple of decades.
I'm wondering how anti-theft these are. I (and my neighbors) just lost some mail because some thieves pried open the cluster mailbox. I imagine these would be a really attractive target.
Howard Marks is an incredibly well respected investor, and this memo makes a lot of good points.

That said, his underlying criticism of crypto boils down to the usual ad hominem / appeal to authority kinds of attacks. I was hoping for a well reasoned critique, but there is far better criticism of the actual technology and economics on HN.

But his point isn't just that crypto is junk, he assumes that his audience will take his word on that and devotes little effort to defending that position. What he is really doing is using crypto as an example of how overheated and risk-seeking the broader market is.

Personally I think he's right about the market, including crypto prices. (Though I'm guessing that a growing number of people are hedging their portfolios with crypto speculation, and the jury is out on how the asset class will fare in a broad-based correction.) I think he's wrong on his dismissal of the technology and asset class.
Yeah, OK I understand your meaning a little more now.

That's one of the nice differences between Google Home and Alexa. You give your Google Home a location, and when you connect devices it asks you to assign the devices to a room.

So you can say "turn on bedroom lights" and any light assigned to the bedroom it will turn on.

To follow onto my original comment, placement of the device also seems to matter, and how fast you talk or whatever accent you have seems to impact it as well. At least from an Alexa standpoint.
Canada Post provides this service. My building has a parcel rack and they just put a numbered key in your mailbox when you have a parcel. No need for codes or phones.

For those who may not know, Canada's national postal service is the largest parcel carrier in Canada.
Disclaimer - Peachpie dev.
Some of the weird PHP constructs will never work - by purpose. In such case it will be reported in compile-time or at least in run-time. However, there is always a way of slightly changing the original code to make it running on .NET.
Classic KSP. An hour into a mission and you realize you never added batteries and you can't move your probe because the sun isn't hitting the solar panels.

Or even worse, you realize as your crew is barreling towards Kerbin that you forgot to add parachutes to your lander...
Why so much hatred?
I was looking to integrate payments on my website and contacted Stripe. Stripe referred me to another payment processor named PaymentCloud Inc.

A senior account manager, Mr. R, sent me an email asking to fill out an application.

Yesterday evening I got a call from Mr. R’s office. I picked the phone and realized that he had made the call by mistake, I also realized that Mr. R and his two women colleagues are having a conversation about my application. What followed was a real surprise to me. I heard them making racial and derogatory comments about India, Cricket, IT and my background.

The incident left me with couple of questions:

- Why so much hatred against someone who you haven’t met or even talked to for God’s sake.

- While filling the application I gave them my personal information including EIN, SSN, License. Now I am worried about that, is there anything I can do?
The quote is accurate, but the plot point is not. In Gattaca, they pick the best of each gene to make an optimized embryo, which is far, far more meddlier than picking the best whole embryo.
I stand corrected on that. From the US Treasury. Still, the fact that the treasury requires acceptance for "all debts, public charges, taxes, and dues" gives it value as opposed to say grass blades.

"The pertinent portion of law that applies to your question is the Coinage Act of 1965, specifically Section 31 U.S.C. 5103, entitled "Legal tender," which states: "United States coins and currency (including Federal reserve notes and circulating notes of Federal reserve banks and national banks) are legal tender for all debts, public charges, taxes, and dues."

This statute means that all United States money as identified above are a valid and legal offer of payment for debts when tendered to a creditor. There is, however, no Federal statute mandating that a private business, a person or an organization must accept currency or coins as for payment for goods and/or services. Private businesses are free to develop their own policies on whether or not to accept cash unless there is a State law which says otherwise. For example, a bus line may prohibit payment of fares in pennies or dollar bills. In addition, movie theaters, convenience stores and gas stations may refuse to accept large denomination currency (usually notes above $20) as a matter of policy."

https://www.treasury.gov/resource-center/faqs/Currency/Pages...
I wonder if the rise of electric vehicles is re-igniting the kit-car industry.

I still think about some of the kits from the 1970's.

For example:
https://en.wikipedia.org/wiki/Kit_car#/media/File:3-4Nose.jp...
Oh she did a great job at Yahoo! if you use the right measurement: shareholder value.
I've just started using Mailinator's API for a project (https://www.bartcrimes.com) and have to say it's very slick. The pricing is a bit too high for my needs (simple open source project, no profit), but otherwise a perfect way to scrape email anonymously.
Uh, it's men doing it. Male directors. Male cinematographers. Male Unit Production Managers.
I bring it with me to work and hiking, but usually leave it charging or in my work-pants when I get home and am with family for the rest of the day. On weekends, I think I check it maybe twice. Like, the phone is something I use to call people I want to call/txt. It's not something that others use to reach me. Yeah, it sounds like a jerk thing, but my life is pretty 'face-to-face' and not digital to begin with. As far as I know, people who want to talk to me don't have an issue with it.
I agree. They also are the reason most cars now involved in an collision where one goes off are totaled. We're a lot safer, with respect to potential fatality level crashes, but minor collisions that used to be a few hundred bucks at the body shop are now vehicle ending affairs.
There is a great documentary on Netflix about this marathon, it has some funny moments and it's pretty engaging. I don't usually watch documentaries and I'd highly recommend it.
Local microservices development with Edward
Local Meet Up groups and conferences are a great way. There are some groups that have a series of small 15 min talks, where you explain how to use a particular library or optimize with some techniques. These are a great way to get started.
Terrified.
/s means sarcasm, right?
Ask HN: Do any file storage sites offer start/end time restricted access?
I have a business need for allowing a user to upload a file to a central location, with the uploading user placing a time restriction on when the file can be seen and downloaded by other users. The time restriction has to include a start and end date and time. Does anyone know if something like this can be accomplished with Dropbox? Or other sites?

The users are not all technically savvy so a solution that offered a web based front-end is preferred. Or a solution that provided an API that I could put a front-end in front of would work.
Hey, you do you. And, sure, any time!
> one of the more respectable voices

This cannot be underscored enough if BitC* is to be used for anything more than modern day drug dealing. The paper trail is important for things like paying taxes, and obeying sanctions[0] that businesses follow.

[0] https://www.treasury.gov/resource-center/sanctions/SDN-List/...
If you're giving tech talks and interested to crowdsource questions from your audience, drop me a note. My company's product, Pigeonhole Live, let's you do that for free. If you need any of the paid stuff, happy to support you too.
(W)ine (I)s (N)ot an (E)mulator

It's a compatibility layer.
The solutions seem simple but not easy: learn the local language and/or start giving talks in places that speak English and/or your first language.
DEFCON is in town, and Las Vegas club's site gets hacked
I forget my phone all the time, heck, I forget my keys to my car all the time. My issue was that other companies already left things at the door, yet more steps (literally) were unnecessary and seemed like a middleman forced themselves into my life to make it less good.
There is a great documentary about the Barkley Marathon on Netflix (US) [1]. It does an excellent job of telling the stories of the origin of the race, the race itself, and the people who take it on. I highly recommend it.

[1] https://www.netflix.com/title/80076413?s=i&trkid=(null)