skysight-inc/HackerNews huggingface dataset:
> So while FP is just another tool, it's also a framework for thinking that helps people make better choices

I’ve been getting more into functional programming this past year (via Clojure, though my day-job is mostly JavaScript/TypeScript) and this is the big takeaway for me.

Type theory and monads may have their place, but thinking about separating logic from side-effects is, I think, the most valuable aspect of functional programming.

That is a thought process that you can apply in pretty much any language that will give you the biggest bang for your buck.

Edit: Here’s some great examples of the benefits of functional thinking without going off the deep end.

1. Boundaries by Gary Bernhardt - https://www.destroyallsoftware.com/talks/boundaries

2. Pits of Success by Mark Seemann - https://youtu.be/US8QG9I1XW0

3. Grokking Simplicity by Eric Normand - https://grokkingsimplicity.com/
I’ve switched from mason jars to Weck jars and won’t go back. It probably wouldn’t make much of a difference in this situation but if you’ve not seen them / used them you might find them interesting.

It seems like it would be more than the seal since recorking a bottle still creates a decent seal (but traps all the air).

Yea I had another comment agreeing with another OP downvoted. Seemed odd to me as well.
> I don’t know for sure why Facebook disabled my account.

THAT should be illegal. Suspension should provide a clear statement of the exact reasons for suspension of the account (a generic 'it did not follow our Community Standards' is far from exact. It's a totalitarian standard), and should offer a path to satisfactory resolution. (And not an 'adjudicated' one.)

Disabling should only follow a refusal to abide by those standards. Else, probation. Companies that profit from operating in democracies need to be strongly encouraged to follow democratic principles or move elsewhere. Otherwise they are disruptive agents.
Why argon instead of CO2 ?

I displace air from primary fermenters using CO2 and have had good success ... I would be open-minded to switching to argon but wonder if there is a reason ...
my experience is that there is FAAAAR more time theft in the office. coffee, extended breaks, walks, catching up, meetings running long to shoot the shit, " oh hey, did you see this happen last week", those quick "what do you think about... that turns into 30m convos. I clocked over 2 hours of wasted time every day for the average person for the 4 teams I am able to observe from where I sit. all expectations were met, and on time and on quality with this 20% time wasting.
wfh has freed up 1.5 to 2h a day for me because people don't walk up to my desk a literal 6 times a day to go get coffee or see what's up. also the volume of "can I run something past you" had plummeted to only 10% of what it use to be. that use to happen once or twice daily, and now happens like once a week. if people don't see me sitting there, they don't ask me how to do their job. it's amazing.

not to mention I can now walk on a treadmill while at my desk, save time commuting, save money on dry-cleaning and gas, and I can be productive with my life during all those meetings you are forced to attend but don't involve you in any way. wireless headsets with the camera off is great. I can talk when needed, mute myself for 50 of the 60 minutes, and do a mindless task like vacuum, dust, dishes, fold laundry, etc, while listening to people debate pointless shit.
DOULTON-w9123053 10-Inch UltraCarb Ceramic Filter Candle

https://smile.amazon.com/dp/B009EQM3RY/
Law enforcement isn't going to tell you their capabilities or what behaviors put a red flag on you. This "cell phone pinged near the capitol" is the kind of language I expect them to use in a press release. It's generic enough and close enough to true that it conveys the basic idea without revealing secrets.

Another recent example is how the FBI was asking people to help identify people who entered the White House on Jan 6 by their pictures. I'm sure the FBI has some of the best facial recognition software on the planet at their disposal and they knew who those people were in real time during the event. Asking the public to help identify people serves two purposes. First, it doesn't reveal their full facial recognition capabilities to other threat actors. Secondly, it trains the population to snitch on each other.
Python 4.0 is not coming out, the next release is 3.10
The CPI takes into account housing, specifically the carrying costs (which is 'rent equivalent'). Housing itself, like stocks, is considered an asset and is not part of inflation.

> [Young people] will inherit the national debt as well.

You know who else will inherit the national debt? Their children, and grand children, and great grand children, and great-great grand children. Not too long ago the UK rolled forward debt from the South Sea Bubble (1700s), Napoleonic Wars (early 1800s), Crimean War (late 1800s), and WW1 (1910s):

* https://www.theguardian.com/business/2014/oct/31/uk-first-wo...

As long as economic growth is higher than the interest rate of the debt, it's generally not a problem. And interest rates have been, with some gyrations, dropping for over 700 years:

* https://www.visualcapitalist.com/700-year-decline-of-interes...
> it’s definitely shady to put this in your extension without users knowing

I don't think it would be an exaggeration to say that the number of "users" of extensions running these service that know that their computer is being used to make web requests on behalf of the highest bidder is 0. The number of Hoola users that know how it works is also probably below 10%.
Do we really need "progress" in software that just werks?
Those links don’t support your claim about Dahl and Nygard.

They are retrospectives written by other people talking about their work. Not papers by Dahl and Nygard themselves.

Just because you can find some people who are making the same retrospective mistake you are, doesn’t change the history.

OOP was defined by message passing.

What you are calling ‘contemporary OOP’ is a cargo cult based on a failure to appreciate that. The problems with this are increasingly acknowledged.

If you want to say OOP is class based programming, be my guest, but your statements about the history that I responded to are simply false.
I think the best part of doing test driven development (or similar) is that making your code easily testable generally also makes it architecturally sound.
No, but open source maintainers need something to upsell, to achieve sustainable income
The way you describe it, it sounds like the meta-problem is endemic corruption or incompetence in the Illinois Democratic party. That's a common failure mode for a complacent government/party. The Baltimore and DC city governments have struggled with that in recent years, and in a different way the U.S. nationally just got finished dealing with a cartoonishly corrupt and incompetent President given complete immunity by his party.

I suppose you and I are both desperately hoping the Republicans can get their act together and make an effort to help govern responsibly. How far would you go though to put a Republican in state office? Maryland Governor Hogan (R) is wildly popular (70-80%) across party lines [1], but according to Wikipedia, though Hogan shuts down the really extreme conservative stuff, he's otherwise a normal reality-based non-MAGA Republican. He also seems to be corrupt or at least shady [2]. Hogan claimed he wrote in Ronald Reagan in his 2020 Presidential vote so I guess that's the bar here: if you'd vote for Reagan today in the name of party balance or whatever, then go ahead and vote for Hogan or his Illinois equivalent when they appear. (Also the fact that over 70% of Maryland Democrats support someone who looks back fondly to Reagan should put away any notion that Maryland is some out of control liberal state.)

To your last point, as you know the GOP has played a long game since (here he is again) Reagan of sowing reflexive distrust in Democratic governments. Since you said it, I'll grant that the distrust here is justified due to Democratic misrule, but it's worth considering how much GOP fearmongering has made it so voters think the only solution is bringing in a Republican rather than attempting to fix the Democrats.

[1] https://en.wikipedia.org/wiki/Larry_Hogan

[2] https://washingtonmonthly.com/magazine/january-february-marc...
Yes, this is very common in beer brewing and wine making - filling up headspace in primary fermenters with glass marbles.

I don't like the idea as I don't need a 14th thing to carefully sanitize. Instead, I just displace the headspace with CO2 and have had good success with that.
Gait recognition is supposed to be as good as a fingerprint. Plenty of video footage to identify everyone there even with masks on and no phone.

https://en.wikipedia.org/wiki/Gait_analysis#Gait_as_biometri...
I hope you learn that not everyone thinks the way you do. Shaming (on average) doesn’t help people lose weight, it actually adds to their stressors which can lead to weight gain [1].

So if you continue to do it, fine, but be aware you’re being an ass, and not a helpful one.

1: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4236245/
"Self-hosting" in this case means running your own data center as well.
Digital Intelligence
Totally agree but in the meantime, I just noticed that she has the dates on the main page: https://jvns.ca/
That... I should have thought of that a long time ago.

FF is great but the "send to device" feature has not worked for me in years. I suspect it got confused when I migrated my Apple profile to a new phone.
The one thing great about WordPress is the massive number of themes available (and plugins, if you're not a programmer).

I wish very much that there were 10% as many attractive themes available for static sites. Yes, you can port them, but it's a pain. And yes, you can design them, but it takes more time and most programmers don't have the design chops to pull it off.
Refactoring is quadratically more difficult if you don't have tests.
I think it can be done right. My situation before I went fully remote a few years ago was a pretty flexible policy where you could wfh 2 days a week. I think you could extend this to 3 days a week or maybe even just have a mandatory 2 days at the office.

The effect is you spend most of your time at home but still get to go into the office. Think everyone is in office T W TH or T W F or something. I miss that setup and have since returned to that job and I hope I can go back in this year.
There's a whole possible scale of responses and of encouraged workflow though.

Wordpress and a lot of php community does actually like the "drop in some code and it usually works" approach. This encourages continuing on that path.

On the other side, the failure can be handled in many ways. "This module could not be loaded and will be ignored." is one. Ensuring some preparation / validation is needed before upload is another.

Let's not go to extremes like "you're expected to have a staging environment for your personal blog because the framework cannot possibly help you".
Have you considered using an inpainting GAN to deal with that instead?
I've long thought that Java write once, run anywhere, really was a desperate attempt to save Sun's legacy server market from doom.
> If we go down or worse that’s not some lost ad revenue but bilious to trillions on the line.

What products are exclusively traded on your exchange? If NASDAQ or NYSE goes down for half a day it’s just an article on WSJ at best. They shut down every night and for entire days on holidays. What financial exchange truly has a meaningful impact when it goes down?
>Forcing people to justify, out loud, why they want to use a specific technology or trendy design pattern is usually sufficient to scuttle complex plans.

Does that really work ?

Usually these guys read the sales pitch from some credible source. Then you need to show them that the argument is X works really well for scenario Y but your scenario Z is not really similar to Y so reasons why X is good for Y don't really apply. To do this you usually rely on experience so you need to expand even further.

And the other side is usually attached to their proposal and starts pushing back and because you're the guy arguing against something and need a deep discussion to prove your point chances are people give up and you end up looking hostile. Even if you win you don't really look good - you just shut someone down and spent a lot of time arguing, unless the rest of the team was already against the idea you'll just look bad.

I just don't bother - if I'm in a situation where someone gives these kind of people decision power they deserve what they get - I get paid either way. And if I have the decision making power I just shut it down without much discussion - I just invoke some version of 'I know this approach works and that's good enough for me'.
It was always dangerously hard to validate that the whole codebase was actually compatible, and there wasn’t some path through the code that would make things break (in production on the customers’ site while handling all their most critical data).

I can think of exactly one language who bungled the upgrade path worse and it’s Perl 6, which they finally renamed after 19 years of stringing people along like it would be the next big thing.
Thanks for finding this. I will investigate this and make sure it is fixed!
Academia doesn't have unlimited budget to do migrations that don't solve any pressing problems. I guess now there is a pressing problem, but more likely people will maintain the old version of pip locally.
Having worked with a huge Python 2 codebase recently, it's fine[1] but just becomes painful regarding dependencies. It just means you'll never have the latest versions of things.

My advice would be to gradually port what you can using six (https://pypi.org/project/six/)

[1] Fine in the sense that, the code will still work
""Whatever you do, please don’t buy a VacuVin or anything resembling such a device that allows you to “pump out the air from the bottle.” These devices just don’t work as advertised. Sure, they remove some air, but not enough to truly protect the wine.""

That may be the case, but I can assure you that a very inexpensive "brake bleed kit" with a vacuum gauge attached will, indeed, vacuum the headspace and maintain that vacuum.

Again, you have a gauge with mmHG or whatever and you can verify that the vacuum is unchanged.

I speak elsewhere in this HN thread about displacing air in primary fermenters with CO2 but I have also removed air with a hand vacuum (brake bleed kit).
> how that break/fix loop can supercharge your productivity by giving you those dopamine rushes as a reward for your effort

It's interesting to hear someone come out and say that there's a link between how "fun" a coding workflow is and how productive it is. I think most of us know it, but nobody ever talks about it. I wonder if it could be harnessed better.
That's one way to do it. I wish people would embrace the idea that an ecosystem moving forward does not mean that you need to move forward. It creates so much needless pressure in people's minds. In the absence of security considerations, updating software might actually be considered harmful.
The half bottle trick is great. 375 ml is a great amount for 2 to split with dinner. Lets you open a bottle any night and not feel bad about not finishing.
> even the safety of showering with tap water is questionable

Why is this?
Please don't give the MBAs ideas.
Dirty secret: There is plenty of multi-million dollar VB 6.0 software still running out there in the world.

I think it's not even possible to compile it without a Windows XP VM but the output still runs on Windows 10.

Microsoft honestly should have provided a compatible version of Visual Basic that would run in the .NET environment instead of VB.NET. That would have allowed much more software to move over than what actually happened.
I can imagine exploding bottles and some ‘memorable’ dinner parties.
Eventually everyone is a potential criminal and guilty until presumed innocent.
Yep, there also exists such a thing as "I learned language X and will not use it for my paid work but it made me a better programmer". One such example for me is Racket.
I feel like there’s a bit of a moral dilemma here. You’re charging for a full day’s of work but only working a few hours a day. How do you deal with it?
What about code people wrote before 2010 that were perfectly fine? Are you going to have people rewrite research algorithms whose original authors have long graduated?

Just because industry has a habit of rewriting the whole stack every five years on account of make-work job security doesn't make foundational scientific algorithms change.
It might be a negative experience for you but I believe sacrificing elegance in favour of accessibility is a fair trade to make when building something that will be used by a diverse group of people.

Accessible design is good design. Everything we build should be as inclusive, legible and readable as possible. If we have to sacrifice elegance - so be it. We’re building for needs, not audiences. We’re designing for the whole country, not just the ones who are used to using the web. The people who most need our services are often the people who find them hardest to use. Let’s think about those people from the start.

https://www.gov.uk/guidance/government-design-principles#thi...

In my personal experience however, using gov.uk has being a mostly pleasant experience and don't much care for opinionated "elegant" design.
Those Adaptec cards were fantastic products.
Do you code 8 hours a day, every day? I pretty much zone out for more than half the day multitask thinking how I'd architect something, but also not really "working"...
well said. That neutrino W+ stuff went over my head, because I'm not actually doing Physics by profession. And unless you just now googled all that, it seems like you're my superior, and I bow down to your excellency. :)
This is the reason why we see so many graduates that don't have the skills to do they job they trained for.

Universities need to keep up to date rather then just saying "but it still works" and sticking there head in the sand ignoring what the rest of the industry is doing to move forward around them.
This seems... incorrect.

First of all, deep learning absolutely is used in mission critical systems: https://www.techrepublic.com/article/intel-and-ge-healthcare...

Second, simply because designers use systems that are formally interpretable, that doesn't mean that designers know exactly what causes a given response in the model. Formal interpretability means you know what function the model is approximating -- there's a long way from that to a human-readable interpretation.

Finally, even if the designers can tell you what features cause a certain response in the model, they can only tell you that for features that are encoded in the data! There are plenty of features that aren't encoded in your data that can nevertheless affect the outcome of a model!
IME a PM takes time at the beginning of the project to define tasks, dependencies, and time estimates. After that, you meet with them formally once every 1-4 weeks as a team to update the schedule, along with an informal, individual chat as needed for critical tasks and late dependencies. It took a lot less time than the useless daily standup meetings I now attend.

Most of my experience with PMs was at smaller orgs with smaller teams. Now that I work at a large valley company with layers of antagonistic management, I appreciate my former PMs more than ever.

It's important to hire good PMs without huge egos or career aspirations. Being a PM is kind of a shit job and it's not about wielding power or authority over people. You also need PMs who understand the uncertainty baked into software estimates, and can cope with unforeseen problems requiring schedule juggling.
Not sure if I follow you. I thought a tool != an abstraction
According the English dictionary
A paradigm is a standard, perspective, or set of ideas.
A tool a piece of equipment == something is concrete
Can a mathematical expression or equation be considered a tool?
I read about MKLinux online at 14. I asked my mother to take me to Barnes and Nobles to see if I could find a book on Linux, as per the webpage that introduced me. No books on Linux in my Midwestern town at that time. I didn’t know what to do when it booted my Mac to a CLI, so I erased it.

I didn’t really get to a command line again until Mac OS X some years later.

I’m so jealous of today’s budding computer nerds. The world is their oyster. Info about how to use new things is very accessible. Damn kids /s.
How does this reconcile with the need to let a wine "breathe" before drinking it? Is that a myth?
First portrait of mysterious Denisovans drawn from DNA (2019)
How is taking more time to respond slacking?
I believe so. Because if it was one city then they could iron out all the edge cases there. And even with all the places it's deployed now, it is starting to get close.

But personally I think that Waymo is going to be a bit safer because it has the LIDAR which even if you don't think that matters, it can definitely see farther because of its position above the car.

And I think that Waymo will be deployed in several cities by the end of 2021 or 2022 at least. And I think it's great to have competition. Cruise will also probably be able to deploy.

But Tesla probably will force them to build systems that require less stringent mapping so they can add cities quickly.
> the main source of difficulty in Python 2->3 is all the foot-dragging in migrating to Python 3.

My main difficulty was having targets that ran python 2 and wouldn't get an official python 3 package unless a miracle happened. Meanwhile most systems supporting python 3 also had a python 2 package. Ended up porting a few scripts to a statically linked c++ binary, those should keep on working until we get 128 bit systems that drop support for 64 bit binaries.
In Europe, you can find "good" wine in box, the type of wine you'd pay 25 to 30 CAD per bottle here in Canada.

Boxed wine is ideal for that one glass you want with your lunch. I wish we had more variety of it around here.
It's kind of like a drug. I don't play any more video games - coding is my video game. I'm convinced that strategic use of those green dots is why I don't burn out much anymore, I just pushed through a month-ish emotional slog that in the past would have triggered full-on burnout but still wrote lots of code for work, my personal projects, and produced the deliverables for my job only a day-ish later than I said I would.
You can be imprisoned for up to 5 years for lying to a federal investigator. It's up to 8 years for offenses that "involve" international or domestic terrorism.

https://www.law.cornell.edu/uscode/text/18/1001

You want to be careful about that.
For a professional, being arrested for a major crime in America is a life ending event.

Proving one's innocence once the powers that be have determined one to be guilty will cost hundreds of thousands of dollars, will almost certainly mean loss of job, family and friends, etc. And you might still go to prison for the rest of your life anyway.
Common are they suppose to support python 1? Every languages has breaking change at some point. People needs to move on.
boxed wine can usually be improved (at least in altitude, if not in quality) by unboxing the bladder and pegging it to a hills hoist rotary clothesline
Reverse osmosis is the next goldmine opportunity. Every home will likely need one, or maybe there will be neighbourhood nodes. It's even good for getting clean drinking water from salt water.
Best Frelancer App Buddy
I love the simplicity of this. For you, Traindown may not offer much over what you have come up with. Here is what it would look like using the inline syntax

@ 2020/07/15; #r:hpu; #w:3; #c:3; #d:1; push: 14; 18; 14; 14; 14; 30
@ 2020/07/14; pull: 5; 5; 5; 5
...

Definitely not as human readable as yours for your use case. Thanks for sharing!