skysight-inc/HackerNews huggingface dataset:
>The Lisp community likes to solve lots of problems with macros. The Python community doesn't. For 95% of the usages, neither approach is better than the other, they are just different

I'd like to interject for a moment.

As a software engineer with some years of using Python for financial software, and afterwards switching to Common Lisp, i diverge. In my opinion, Lisp macros make all the difference in the world, and I really miss them when using a language that doesn't support them. Sure, anything can be implemented on most languages including Python, but there is a big difference in the maintainability and clearness of the resulting code, as well as in effort.

So, are you abandoning us, Peter? If not nil, i will signal 'tears and no handler-bind will recover me from this condition. (joking of course)

Anyways, thanks for PAIP, it will always be in my heart.

(Note for the uninitiated: PAIP stands for "Paradigms of Artificial Intelligence: Case Studies in Common Unpython", a classic book by Peter Norvig who is part of the big PPP of Lisp literature: Paul (Graham), Peter (Norvig), and Peter (Seibel))
Shorthand isn't necessarily a good act to follow, as most shorthand requires a solid understanding of context, and it's not uncommon that the person who wrote the shorthand is the only one who can completely understand it in original form.

Personally, I'm familiar enough with Haskell to be able to slowly work my way through most code, but I'm not at the level where I would be confident in writing anything but simpler programs.

I find idiomatic Haskell suffers from what I call "have to limit my line length-itis" - i.e. "Ord" instead of "Ordered", using "x" and "xs" as identifiers instead of e.g. "first" and "rest". This makes for compact code, but not necessarily very readable code. And for anyone who wants to tell me that it's closer to mathematic notation, well, frankly, maths could take a few hints from modern software engineering about readability.

Then there's the dissonance between actually declaring an algorithm a la Haskell/FP, and actually describing how the algorithm works.

It is sometimes nice to declare algorithms compositionally. This thing I want is the max of this joined on to five of these filtered by this criteria. Lovely. But opaque as to the implementation.

I've found that in my experience with most software I write, the parts where the exact implementation isn't that important don't take a long time to implement. Immutability, idempotency, and removing side effects can work just the same in non-FP languages here. The other parts, which almost always involve some sort of IO, require very precise control over implementation, or state, or timing, and are often very difficult to declare with "is" - sometimes the only sensible way I can seem to think of them is a series of processes.

When I try to implement this sort of thing functionally it feels like a retrofit, and never as elegant as the simple imperative "do this, then this, then that".

I'm not trying to be anti-Haskell or anti-FP - I love and use FP principles every day. But I'm definitely in the camp that thinks "pure FP" is the best solution to only a small set of problems.

To me, where Haskell fails is that it has very little to offer for these imperative problems. Which, for many applications, makes it almost worse than even a crappy old imperative lang.
No, I think people on the left are quite aware that fascists aren't going to punch themselves. When Nazis are marching in the streets, someone will have to step up to the plate.

https://www.cbsnews.com/pictures/white-supremacist-rallies-i...

(it's a sad sign of the times that "Nazis must be and should be stopped by force" is somehow seen as a controversial statement. Sometime, ask a WWII vet if they had any second thoughts about killing Nazis, let alone just giving one a black eye.)

What Antifa does may be illegal, but it's also morally correct. A lot of people have problems with confusing those two concepts.

Keeping torch-wielding supremacists from terrorizing innocents is not morally equivalent with those doing the terrorizing, even if both use violence.
We’ve Passed the Carbon Tipping Point
I agree with you that the example is quite extreme if a dog is what is really needed to treat the depression. But on the other hand, there are other ways that a person can solve a problem without having a financial strain. Here the problem is being isolated, depressed. They can go out, make friends, volunteer, work out, invest in a new relationship. Maybe there exist people who none of those actions would help or applicable to them, and the few solutions left are getting a dog or taking drugs. Then, in that case, you can blame that it's not their basic needs being met.

But I personally know many who are depressed temporarily because they just broke up and they always wanted a dog. Therefore, as the doctor suggests, they get a note from a doctor to get a dog and shove it to the face of the current landlord (and in less than a year, get kicked out and have to find a far away and expensive place from work that allows dogs). Did the doctor tell them that the only solution is to get a dog? I doubt so. To me, that's an excuse to get a dog, not a necessity to treat depression.
You could make the case that the murderous racist militarist ethnonationalism is compatible with some perverse extremes of the Left (and Right, tbf), but less so with the whole "the merger of state and corporate power" thing.

"First they came for the Socialists, Then they came for the Trade Unionists" sounds to me more like eliminating the left. When in that sequence did they come for the factory owners? Oh right, they didn't. Unless the owner was Jewish.
AIGA publishes a lot of info on this topic

https://www.aiga.org/how-to-hire-a-designer

The irony is that you may find the real titans of UX have little creative or artistic talent at all! They understand tech, strategy, human nature, deadlines, etc.
This. I work for a retail sales company that has many different business units that have different financial statement formats. I wrote a daily report that harmonizes the disparate financial statements, creating a consistent view across all units, and then highlight various sales and expense categories. It has grown to include forecasting and goal tracking, and in my opinion is easy to understand, yet to this day unit managers will contact me with basic questions regarding sales vs gross profit. How they got into the position where they run a $1.5M/month sales operation is beyond me...
The limit on iOS is 3 times per year.
>"I'm saying the law in Germany is unjust"

That doesn't matter in this context. When you visit a country, you respect their laws, no matter how unjust they may be.

However, you will find very few people who would agree with you that it is unjust for someone to face consequences for directly and provocatively insulting a policeman with his country's greatest shame in recorded history.

>"locked up for 3 months for making a friendly joke"

Shouting "heil Hitler!" at a German -- especially if it's an authority figure -- is not "a friendly joke". It's a grave insult. If you do not understand why that is, I would suggest you spend a little time researching 20th century history.

Your example with the tree cutter is false equivalence. In his case, it would be a tragedy, which could have been prevented through the use of specialized knowledge. Maybe he didn't know, maybe he was forgetful, maybe he was simply negligent.

If you wanted to make the cases more equivalent, a better example would if he climbed to the top of a very tall tree, and then sawed over the branch he was sitting on. Clearly stupid and with absolutely no common sense.
That line makes sense. You could've used better words though.
Very true. To be honest, it's a bit of a crapshoot, but in comparison to other asset classes VC managers are very well compensated for the mostly meager returns they deliver.

If you're a two person VC fund managing €50m, and you return 50% in 10 years on that money, you'll make close to €5M + a €1m management fee for 4 to 7 years.

The only reason why I assume that is, is because it's not super closely aligned with the performance of the stock market (well, it sort of is -- you often need public companies to acquire some of these startups).
There's no official API for Android, so you can request whenever you want. iOS added this functionality to limit review requests from apps.
I guess my point is that discrete observables can have continuous wave functions.
I think Facebook is reviewing ALL old apps at the moment in the wake of the CA data scandal. I have an old test app I haven't used for 8 years and I got a note from Facebook about it. So I wonder if there's a huge backlog.
That’s an interesting view. Do you own a business where you had to implement GDPR or is this theoretical? Oh, and did you know that GDPR also affects the work of teachers, solo entrepreneurs, doctors and the like?
The Hard Truth at Newspapers Across America: Hedge Funds Are in Charge
Creating Stateful Gmail Add-Ons
> GDPR also affects the work of teachers, solo entrepreneurs, doctors and the like?

You say that like it's a bad thing.
Show HN: Getting started with hapijs, Objection ORM, and the hapi pal toolchain
Dropshipping 101
"It seems to me the greatest challenge to thinking about potential life outside this planet is being mentally bound to the constraints of life on this planet."

I'm having a hard time finding all the people stodgily insisting that only life exactly like Earth's is possible through the hordes of people screaming about how it might not be. Everybody already knows that life might not be exactly like Earth life. Any illusions to the contrary have been shattered by Earth life itself and the concrete existence of extremophiles, which are themselves already not what most people imagined "Earth life" to be.
> I can't help but think that encouraging young people to throw away the best time of their lives being startup founders has been a massive mistake

The best time of any person's life is not necessarily on their twenties. If that were the case, most people should just call it quits never having achieved anything. Maybe I'm just telling myself this since I'm about to turn 30, but in the other hand, I just don't think being young is particularly good for anything interesting to me.
Killing Nazis is controversial because leftists have changed the definition of what a Nazi is to include up to half the population.
If you delete a font file from disk programs using it will instantly update - emojis gone from mail.app subject lines instantly!
FSEevents in action.
Show HN: Leantime – an opinionated project management system for startups
Modverify is optional and detects that.
Something of a one sided wet dream. If all those NPP's had been built there would have been ... well the article completely fails to mention any downside. And the conclusion: the screw-up was the need to "prepare environmental impact statements". hmmm
> If that's your personal belief then obviously you're entitled to your opinion, but have you seen any actual evidence that that is the case?

I can't speak for that other person but I've seen lots of evidence to that effect. I look at ~40 companies / year at the moment and a large percentage of those has issues. Usually not because of malice, mostly because of lack of resources or unfamiliarity with regulations.
> Do you have a source for this?

In case you're not a native English speaker: "for all we know" means something like "hypothetically". icebraining's point is that Siemens' behavior is not inconsistent with Siemens having a secret device that can reliably test on small samples, even if they don't sell it. icebraining did not mean to imply that Siemens actually has such a device.
They're doing 4U 24-disk rack servers. They're obviously positioning for secure storage, for one thing.
> you've effectively measured it as being in B

Doesn't sound right to me. Being in a superposition of A and B doesn't necessarily mean that the system is in either of the two states.
They're very proud of this incarnation of their notification injection system. There have been presentations and an RFC.

https://tools.ietf.org/html/rfc6108
You said this:

> I used to have a nazi symbol on my car just to rile people up

You can't then complain that people get riled up. It was your intention to provoke them; they were provoked; and now you suffer the consequences for provoking them.

If you don't wish to suffer those consequences you have the freedom to not behave like a fucking idiot.
He's run the company for nearly 10 years; couldn't be less of a pump-and-dump play. Built the only analytics product to rival Google Analytics. Gainfully employed 300 people. Earns tens of millions of dollars per year in revenue, from clients including BMW, Intuit, Samsung and Uber. Of course not profitable because it's insane to be profitable when there's growth potential. Few CEOs have ever done this well, at any age.
The Behavioral Tricks That Make Japanese Trains Run
"New climate modeling seems to change this view."

And this modeling was confirmed to be accurate... how, exactly?

This strikes me as a classic case of goosing the model until it says what you want it to say, and then getting in the news. We have no reason to believe these models. We have no reason to believe prior models, either. We have no reason to have any confidence in our ability to model a tidally locked planet, of unknown and arbitrary chemistry, around an unknown star, for unknown periods of time, with unknown orbital characteristics across geological time, with zero data points. We particularly have no reason to believe in any estimates of how long such a system could last; it doesn't seem to do life much good if there's a place for it to exist for a couple of million years, followed by freezing. The simulation is almost certainly unstable here; very small changes in the stability of this configuration will have massive changes to the result over even a few million years.

There's also more to life than just a comfortable temperature. Life is possible on Earth in part because we have a moon and plate tectonics keeping this stirred up, so some of our vital nutrients don't just sequester themselves somewhere chemically convenient after a couple of million years and then hang out there for the rest of the planet's existence. Do these types of planets have a solution for that? We have no idea. (One advantage of the Earthlike planets is that we do in fact have an idea... we know it's at least possible once.)
>And, from reading the article, the cost of the electricity comes out of the "finders fee". So those that charge them receive $5-$20 each, minus their cost of electricity to recharge them.

To be picky, since these chargers/gathererers are largely teens living with their parents, the cost for recharge comes from the household utility bill (not paid by the kid).

Surely it is a trifling amount, but to it you must sum the miles with the car/minivan used for the search and pickup (which costs is as well at least partially subsidized by the parents).
I agree, especially around subscriptions. Too many light burnings already.

I use and love 1Password, but there's no way I'm switching to the subscription model. When my version stops working (either through incompatibility or serious security flaw), I'll begrudgingly find something else to use.
That's so sad :( was it so long ago? Or maybe you can still recover from it
Open Sourcing Coinbase’s Secure Deployment Pipeline
But can you solve the same task in a more straightforward way without CTE?
https://support.xfinity.com/svp-contact-form

This is another path to the Executive Escalation team. IME, they respond quickly and get stuff done.
I don’t understand this rejoinder. Are you suggesting that it’s impossible to be a responsible and law-abiding landlord?

This city is full of landlords who got rich with the existing rent control system. It’s just preventing some of them from getting mega buck wild rich. So sad.
Mapping the Retail Apocalypse
The book describes how the board vouched for the initial integrity of Theranos and Holmes. Because of the high calibers of the board members they were taken as character witnesses.

The boarded included:

* former Secretary of State George Shultz

* William Perry (former Secretary of Defense)

* Henry Kissinger (former Secretary of State)

* Sam Nunn (former U.S. Senator)

* Bill Frist (former U.S. Senator and heart-transplant surgeon)

* Gary Roughead (Admiral, USN, retired)

* James Mattis (General, USMC)

* Richard Kovacevich (former Wells Fargo Chairman and CEO)

* Riley Bechtel (chairman of the board and former CEO at Bechtel Group)
Japan Has the Most Powerful Passport in the World
https://thejtstore.pissedconsumer.com/review.html
John Ruskin: Fit the First
And this needs to be 2, 3, or 4 letter acronym because?
This isn't surprising at all. Amazon's return policy is prone to social engineering. And there is a cottage industry out there taking advantage of this situation to con money out of Amazon.

A friend's account was hacked last year and his account information changed. Then the hacker proceeded to request a gift card refund on a previously purchased laptop. The gift card was then used to buy another laptop shipped to a freight forwarder. Couple of months later, Amazon banned the account.

Amazon actually needs to improve its fraud detection capabilities. But until the time it does that, blaming customers for too many returns seem to be the go to strategy.
Amazon is the only one knowingly selling counterfeits. Allowing to return this stuff is the least they could do.

https://www.theatlantic.com/technology/archive/2018/04/amazo...
Is it me or the person that wrote that post has no idea what SQL inject actually is?
"It's a picture of a woman."

Yes. And Merkel has forbidden the publication of exactly this picture, as you can read in the Spiegel article (a major German left wing magazine). Now you have to do some mental acrobatics, but I try to spell it out for you: YOU CAN ONLY CLAIM PRIVACY RIGHTS ON YOUR OWN PICTURE. Is this so hard to understand?

The picture was taken in front of the house of dissident Havelman. This fact is not disputed by Merkel. I checked online, I think from Berlin Alexanderplatz it takes 2 or 3 hours to go to his former house by public transport. He lived here:
https://www.google.com/maps/place/Burgwallstraße,+15537+Grün...

The street was heavily guarded, no one could just "walk by there by chance". SO WTF was she doing there?

> How do you know it's Merkel?

See above.

> How do you know it's even a Stasi agent?

Supposedly her agent name was "IM Erika"

> Where is your credible proof? This is all idle speculation.

Yes. Because even that Merkel did not deny that this picture is showing her and that she forbid the publication is "idle speculation that it is here" for you. A fact, published by the major German news magazine.

You can even buy a T-Shirt :-)
https://www.amazon.com/Federal-Chancellor-Government-Treason...
Some jobs can't be done on the front-lines and giving too much focus on the little things will most likely inhibit you from dealing with larger strategic concerns. You need to have a good team who can synthesize and summarize the poignant insights from the details and allow you to make big decisions.

That being said, this isn't the preferred career path for many (especially for those on HN, based anecdotally on the comments / attitudes I generally see in these types of threads) and that's fine. Not everyone wants or needs to be a CEO much less a strategic leader.
I don’t understand at all what the difference is between the two functions.
No, it would make less sense to Bird to do that. They are shifting the costs to freelancers. Purchasing double the number of battery packs costs Bird.
I’m sure that there are lots of people who reach success and think that my feels are “bullshit”. The question is how you love that new thing when usual product of it is pretty average.
I really hope you didn't mean GarageBand, which is just entry-level music production software.
Yes - most other DBMS don't do this. If you have a filter on a derived table that uses a CTE, Postgres will not be able to push it down to the CTE. If the CTE is expensive to calculate (a lot of rows, or joins, or complicated functions), but you don't need many rows from it in the final results, performance is likely to be very poor compared to rewriting as normal subqueries. You should be able to see this on the plan if you see an expensive CTE subquery with limited row results being used.

This is unfortunate as it can reduce readability significantly. There's resistance to fixing this as it is considered a breaking change apparently, which it may be for CTEs used for data manipulation (INSERT / UPDATE / DELETE can operate using CTEs), but it shouldn't be for plain SELECTs. however no obvious plans for this to change.

https://blog.2ndquadrant.com/postgresql-ctes-are-optimizatio... has more.
When it's a cultural norm to not talk to other humans, and the go-to solution is to breed non-human animals to replace that companionship, I would suggest that the major problem is the society of isolation. To say that people can't afford to mitigate the harm of their toxic environment, and that's an economic problem, misses the point in my opinion.
It's completely premature preparation and many believe leads actually a much less independent person later, and on the extreme someone with severe anxieties. Imagine asking a toddler to cross the street by themself, do you just risk them getting hit by a car just so they know not to? No, more sensibly you'd be there with them to guide them until they're truly ready to do it alone.
I agree, especially when we incarcerate kids for having an ounce of pot for years. It really feels like a war on the poor sometimes. Other countries have laws with much bigger teeth than here and it is sad.

I think the solution is a much bigger whistle blower program where people are encouraged and financially rewarded for stepping forward and preventing systemic corruption and fraud in our companies. This also helps to give direct evidence of who ordered what and then prosecution becomes a lot easier.
I wasn't talking about the Nazis at all, I think your post covers that very well, I was making a more general point.
Show HN: Beginner’s Guide to Cryptocurrency and Blockchain
What would you like to see most in minix? (Linus – 1991)
>We have no reason to believe these models ....

What is your level of expertise or knowledge of planetary astrophysics and climate modeling?
surprisingly there are low-tech ways to reverse the heating.

watch Gwynne Dyer‘s closing arguments:
https://youtu.be/Mc_4Z1oiXhY
very interesting, thank you for taking the time to respond to me.
How is this going to prevent a sql injection?
Nah. Just do a slingshot around Jupiter to turn Around.
The First Political Attack Ad Against Bitcoin Just Aired
Keep in mind you do get charged a "modem rental fee" or whatever, and in most cases its $10-20 dollars monthly. For you that might be worth it, for others who already feel like their ISP is a sham and charging way too much, it might cross the line.
I am not an expert in video encoding. Just curious, what does Hwang offer that ffmpeg doesn't?
Given how important this topic is, this has to be classed as a very poor article. Maybe 6 paragraphs of news, followed by over twice as much scaremongering and speculation.
Bitcoin Could Be a Problem for U.S. Security Clearances
Lots of sunlight = outside a lot = lots of far objects to focus on

Staring at a screen all the time = eye constantly focused close

It doesn't seem like rocket science to me. Blue light seems like a very odd explanation, unless you're selling something...
The second function only accepts strings defined at compile time, meaning it can't be called with strings created at runtime (i.e. any string containing user input).
Well they is when you view something as art. I consume a lot of movies, but I spend a lot more time with Christopher Nolan's film, and rewatch time in some cases multiple times.