skysight-inc/HackerNews huggingface dataset:
First class functions are a lot less interesting without functional data structures, with methods like map, filter, reduce, etc. These were added in Java 8, but Go has always been against them. This may change with generics, people can certainly write their own now, but I’m on the fence about whether they’ll catch on. I think they still won’t be overly nice to use in Go because:

- Go’s lambdas are extremely verbose. “Concise but clear” is a big part of what people live about functional data structures, Go won’t have the concise part

- Go will still have almost no support for immutability, which works beautifully with functional data structures

Code like this is nice to write:

users.map((user) => user.id)

While code like this isn’t:

users.map(func (user User) string {
return user.id
})
Fact-Checking the Fact-Checkers
The use to pirate stuff all the time. Now it's actually more convenient for me to buy it.

But the philosophy I always had was that as long as there were enough people like you paying for software, I wouldn't have to.
It doesn't help anyone's edification to make up your own definition of common words.

https://www.merriam-webster.com/dictionary/understand

Definition of understand

1a : to grasp the meaning of

b : to grasp the reasonableness of

c : to have thorough or technical acquaintance with or expertness in the practice of

d : to be thoroughly familiar with the character and propensities of
Elderly heart and diabetes related deaths were way up so clearly we did a poor job of managing those conditions for them in isolation. I guess this is why the health officials were (in part) so slow to adopt any new measures: everything has externalities.

I'm curious why the rate of increase is like 2x for alcohol as compared to drugs. As a layman, I'd perhaps naively assume those would closely track. Homicide and alcohol related deaths being way up is distressing but makes sense in the context of social stress, just curious about that drug/alcohol difference.
Worth noting that Washington Post is a national newspaper (peer to NYC in reach and stature) and is thus under much closer scrutiny than the thousands of local news outlets that are owned by the moneyed elite and do in fact refrain from reporting negatively on their owners or their business interests. While its great that WaPo isn’t corrupted by billionaire ownership, that should be the minimum expectations of press freedom in the US.
There was a police shooting where the officer that did the shooting was fired, then secretly rehired 2 years later, then retired 42 days later with a pension. The public only found out a year after that.

https://en.wikipedia.org/wiki/Shooting_of_Daniel_Shaver#Bank...
Doing a thing „A“ is not the same as not doing a thing „B“ that looks like the opposite of A. E.g.: not healing your broken leg is very different from breaking your leg.
Regardless of billionaire influence, WaPo has some questionable ethics and reporters:

https://twitter.com/PalmerLuckey/status/1533622885306503168

I've never seen them as a highly trusthworthy and informative source.
Very late reply but...what I gain is basically nitpicky adjustments to lane and speed control. I'm extremely active in the sense that I am constantly observing near, medium, and far distances while driving, but I'm just not providing minor steering inputs directly.

I think that I can better observe the conditions if I'm not providing those controls, even though I need to keep a model of autopilot and its abilities running in my head. Having said that, that model is simple - dump out of autopilot as soon as there is any kind of complexity added to the environment.
Ask HN: When’s the Right Time to Incorporate?
Is it necessary to incorporate if someone’s a solo founder and doesn’t have investors? Can the revenue coming into the ‘company’ be accepted into a separate account created by the founder in their own name? How will investors in a future round judge this?
In the app go to settings, then select your thermostats at the bottom, then turn Auto-Schedule off (and maybe some of the other smart options).
And if you didn't pay taxes on your illegal income the feds get you for tax evasion too, like how they got Al Capone.
“I’ll pay $1000’s to get all setup and running with everything I need, including a bunch of stuff I don’t need, but not the last $90 for some productive software to make more money”

Yeah ok.
> keep in mind the dam was originally built for the purpose, at a time when the country desperatly needed hard currency

Yeah - 1971. Paid for by the government I think.

And $600 million to connect it now into the grid is not chump change so there is that. But the transmission line from Manapouri to Tiwai can’t have been cheap either. Then again, it isn’t clear how much of that modern $600 million is to handle natural growth in Auckland (the DC link has already been upgraded).

Meanwhile I’m guessing NZ imported oil during the oil crisis to run power stations up North!! I am guessing because the linked spreadsheet only goes back to 1974. The question is would NZ have been economically better off without the Smelter? Should it have been shut down long ago? What is the total ecological cost? E.g. https://www.rnz.co.nz/news/national/436877/smelter-stockpile...

Was Tiwai “justified” this century because of sunken cost fallacy?
It's more than that though. There is just no standard library to be spoken of. I mean things like the most basic string processing methods, etc., are left to the programmer to sort out themself. Every time I've done contracting work on Go projects, I'm shocked by the things I have to implement from scratch (not that it isn't fun) that we take for granted in every other modern compiled languge I've tried (Rust, Crystal, Nim). I know this is more of an environment thing than a language thing, but in practice, language and environment are so intertwined it's pointless to not consider them together.
> My neighbors are not well off. I am not well off. The people I know are mostly below or hovering around the federal poverty guideline. Far from making great sums, and it's been this way for a long time.

Perhaps that is true of you and your neighbors but US unemployment is at a low not seen in over a decade. That’s what the Great Resignation is about. The problem that is likely to wallop the Democrats is inflation, not unemployment. Things are going at least ok for a lot of people. They’re going well for quite a few.
For a brief period, journalism was a respected professional-class career. Social media and streaming video killed that, so it's back to muckraking. I have confidence that eventually new economic models will emerge that allow writers to better meet the demand for "real" journalism, but figuring that out will take time and more societal adjustment to technology.
YouTube accused of not tackling Musk Bitcoin scam streams
Rule of law isn't exactly fashionable these days.
Just remember the NIV translation of The Bible is property of Harper Collins, who is also amusingly the publisher of many tabloids and The Satanic Bible.

I used to distribute a BibleGateway-ripped copy of NIV as a plugin for the open source GnomeSword project and managed to upset both Harper Collins and the open source scholar community. It was absurd and I refused to stop. I dared them to sue me for sharing the Bible as open source... the headlines would write themselves.

FWIIW they never took the bait, but expect empty threat Cease and Desist letters from the Harper Collins legal team.
What we’ve learned from one year of Real User Monitoring data on GOV.UK
Read all your tech news in one place
I did a ⌘F of “cryptex” and didn’t find anything so I feel like the author might’ve missed that Apple pulled the shared cache out of the normal SSV and loads it separately, which might make it easier to update. On iOS there’s a separate cryptex containing just WebKit and associated frameworks so it seems pretty clear that this is to be the mechanism for rapid security updates, especially if you’ve been listening in to what the team has been talking about during WWDC. But you’d have to know the right people and questions to ask for that ;)
The problem of qualia is exactly that... a serious philosophical problem. The only evidence for sentience we have is our own experience. We assume other minds exist, but we have no causal factors that can demonstrate it.

https://en.wikipedia.org/wiki/Qualia

We live in a world of dualism mind and body, but this is typically unacceptable to most philosophers. Generally the problem breaks down to:

Materialism -> Consciousness is probably an illusion.

Idealism -> The material world is an illusion and/or consciousness is in everything regardless of material.

Modern NN tech views -> Consciousness is a material-independent orchestra of neural networks

Superstitions -> god(s) grants consciousness to specific beings and not others

That said, I think it's plausible to come pretty close to figuring it all out if we have enough time and experimentation. E.g. we now have very good evidence that most mammals have similar experience to our own through better understanding of language acquisition and evolution. This wasn't always the case. We don't know what we don't know, and something out there may provide a serious breakthrough in building a model of philosophy of mind that is convincing.
OK! Here comes a car with, say, 80 kWh battery. It's not entirely empty, so to reach 98%, it can take 60 kWh. It does so in 5 minutes.

This means that it gulps 60 kWh in 5 minutes; since 1 hour = 12 * 5 minutes, the power transmitted is 60 * 12 = 720 kW.

This is a scale of a neighborhood; a typical detached house is allocated 20 kW. And this is just one car.

Now let's imagine optimistically that the efficiency of the process is 99%, and a mere 1% is dissipated as heat. 7.2 kW take a serious cooling system to dissipate.

So no, I don't think it's fit for cars. For phones and drones, maybe, using a special actively cooled charging station.
According to some napkin math, those $500 are a bit less than half the monthly federal minimal wage for 40h weeks. In the US, one of the richest countries. So that's not really "budget".
People like him never really change.

Bill Gates did a good job of reputation laundering through his foundation trying to reinvent himself as a “friendly elder statesmen”; then the whole Epstein shit came to light, his wife divorced him etc.
Cal has the axe
It's this and the lack of draggable (or command-clickable) icons that first made me wonder if I've reached an age (in my 30s) where I'm just not going be as "good at computers" as I was in my 20s. Upon reflection I'm not worried about it, but the NSDocument model (while a bit obtuse at first glance) offered good end usability. The little animation delays and inconsistencies are unfortunate in the light of what used to be readily available.
I actually am aware of the difference between a web app and a document, and I used the correct word. Thanks
> Stanford’s new social order offers a peek into the bureaucrat’s vision for America. It is a world without risk, genuine difference, or the kind of group connection that makes teenage boys want to rent bulldozers and build islands. It is a world largely without unencumbered joy; without the kind of cultural specificity that makes college, or the rest of life, particularly interesting.

Maybe I'm just an old curmudgeon now, but this sounds like the direction the entire country has been heading for a long time now. For each individual choice between risky joy and safe ennui we have chosen the safe option, starting with the riskiest (or at least perceived to be riskiest) behaviors and continuing on. It's hard to argue against most of these choices in isolation, but the final result seems clearly undesirable to me.
I dunno I've been in plenty of situations where a department head will literally beg me to buy things so they can reach the same budget spend as last year so their budget isn't slashed (DoD), and have seen the same situation in VC-backed startups looking to come up with tax write offs. Businesses for the most part love spending money and would rather do that than pay taxes, which is definitely a problem with corporate society these days.
Even with god-tier timing, I would have had to invest an extremely reckless amount of savings (at the time) to make anything serious, so this calculator actually puts some of my FOMO to rest.
I really like that Kotlin, Groovy and Scala keep advancing the JVM ecosystem.

Java in my opinion should evolve by keeping the original approach (a better C++) and leave programming language experimentation to the big three.
I think most people in the industry pirated software when they were students or just beginning. But now that we make money it’s easier to just buy it.

Friend of mine pirated photoshop when he was studying and after he finished and started his own business he started paying for it.
I think what gets missed about greek life in general is that its just a group of students. It's not inherently more dangerous or not than any other group of college age students. In my experiences in undergrad, organizations like club rugby or even the marching band were where you seriously got hazed or had risky partying going on. Greek parties in contrast were regulated. Representatives from the interfraternity council would walk through and inspect that you had people staffing the party and supplies like water and food. Pledges would work as bouncers or watch out for people getting too ill. People who were misbehaving would get tossed out routinely for the parties open more to the public, and members showing poor behavior would also get removed from the fraternity entirely.

Its a much safer environment to party than at some random off campus house where there's no rules, no inspections, no one deciding not to party and be a bouncer, and therefore anyone is potentially wandering in off the street into the party. Ironic that the university would go so hard after these student orgs that actually do a good job managing things like underage drinking or keeping drug use from getting too out of hand, while turning a blind eye to the fact that most partying isn't even happening withing student orgs but just from random people throwing big parties in their off campus houses. Just goes to show they care more about optics and how easy it is for the media to write a hit piece on greek life than actually being pragmatic about safety.
You forgot the additional $1000 for a computer powerful enough to run JetBrains.
> My doubt is largely because they can just stop them existing and face little to no consequences. Why bother being cute?

If Amazon's workforce manages to organize outside of the penumbra of the company boot, then there absolutely will be negative consequences for Amazon. Why not just get ahead of that using a cheap, time-tested, and well-proven strategy that makes your position even stronger?
We pay $3500 every 2 years to have up-to-date hardware
That will be partly a tax decision, ie are your local tax authorities going to regard the separation of you vs business as clean enough. In the UK you could operate as a sole trader and maintain records well enough for that.

Your investors will likely want something that they can own a definite part of, and that is likely to be an incorporated entity. Again, as long as you can clearly enough assign the value (eg IPR) to that soon enough, everyone should be happy IMHO.
I second the recommendation of the help of a therapist if possible. You can certainly "work on yourself" but having the guidance of a professional can really accelerate things. It's also helpful to talk to someone who 1) is always in your corner and is your advocate and non-judgemental 2) is an expert in emotions, coping, relationships, and so on and 3) is not someone you already have a previous, possibly "tainted" relationship with. Good luck.
This isn’t true. Go has a basic standard package list. https://pkg.go.dev/std
> Any reason you think Amazon would not care about PB demonstrations?

Yes.

> Why are these groups operating in secret if they're supported by Amazon?

I’m not saying they’re supported, to be clear.

As to why they operate in secret, to the extent they do: they’re fascists. That’s somewhat more socially acceptable today than it was 20 years ago, but still generally frowned upon to admit outright.

> What an absolutely ridiculous thing to say.

Come stand out on the streets in company town and get to know some of the locals, I guess?

> This is like saying that Taco Bell employs racists. Yes, undoubtedly it does, because 200,000 people work for taco bell and at least some of them are bound to be racist. But how exactly are you going from that fact, to the idea that Taco Bell condones racists?

A fair point. I can’t tell you how many Taco Bell employees are also fascists, it’s bound to be greater than zero. I can say that the proportion of highly organized fascists are generally not slinging fast food.
I've looked at it before and I just don't get the appeal. UI doesn't feel sexy enough for me to spend 80% of my day in it.
Are there any other reasons to use this battery tech beyond rapid charging time? Does it have more charge cycles than other Li batteries when charged at a more reasonable rate? Is it denser or does it have better discharge characteristics(i.e. lower internal resistance)?
If the management wasn’t adversarial towards you they definitely were towards others in the non unionized workplace, you probably just happened to be in the blue team.
Yes, and it's missing tons of things we take for granted in other langauges. If you look at the "strings" section it's so short. There aren't even convenience things like string reverse.
It's usually down to your lawyers and who the judge is on the case. It varies a frightening amount.
> especially if you’ve been listening in to what the team has been talking about during WWDC

Do you have specific talk links? I'd love to dive in more but I don't know which sessions contain the most useful details.
Idiomatically in Go that file would be named `xyz-bsd.go`. All special filename behavior is triggered by `_suffix`.
If “pre-historic” means “doesn't take several minutes to start and require 8GB of RAM”, I guess that's a good thing.
> Most companies are only "progressive" inasmuch it lets them make more money.

What are they supposed to do then?
Why isn't Go good for large projects? Kubernetes is an example of a huge project built in Go
I’d love to have a settings.json and/or a good API for changing system settings. Something like VS Code has.

Currently I’m ductaping together crappy solutions with Hammerspoon and shell scripts to change the default browser or change screen resolutions.

I’ve always assumed this situation is better on Linux and *nix systems, but is that so?
This study on Singaporean children (https://bjo.bmj.com/content/bjophthalmol/early/2021/04/14/bj...) says that

> Singaporean children had shorter reported time outdoors and
lower light levels, relative to their counterparts overseas. In the
current study, reported time outdoors was 1.7±1.6hours/day
and average light levels were 458±228lux. In contrast, children
of similar ages in Australia and the UK reported time outdoors
of at least 2–3 hours/day.18 22 Likewise, higher average light levels
of 1072 and 1627 lux were reported in Australian (age 10–15
years)16 and American (age 5–10 years) children,20 respectively.
Differences in educational demands (homework load and afterschool enrichment classes),23 lifestyle and sociocultural factors
may account for the lower reported time outdoors and light
levels in Singaporean children

I can't remember exactly how many hours of exposure to sunlight the studies mentioned, but I think it was something like 2-3 hours --- and it might have to be more than just, e.g., being near a window. I'm Singaporean too, and that excerpt from that paper accords with my experience. I highly doubt that I and most of the people I grew up with had that much sunlight exposure per day.
This makes no sense to me. First time I’ve been confused about date formatting.
It varies by social group. Most humanities students I knew were interested in dating, whereas most engineering students I knew were more focused on studying and graduating. But anecdotally, every computer science student I knew was in a relationship, and also every math major I knew. The most technically and academically-accomplished people I knew who were the presidents of design teams were also in relationships. This was in a top-30 university in North America.

So, in my personal experience, I found dating to still be big in university. I think this is rational, as I anticipate it to be harder to find a long-term relationship through online dating in one's early-to-mid twenties, versus dating people knwon in-person.

However, for students anxious about economic opportunities (e.g. due to COVID), I do see the appeal to focus on studies and work experience at the expense of dating.
Yeah, "If I do <some obscure thing> in <chose any language>, and it doesn't work how I like, I don't think it's good"
What if the car battery is removed from the car and put into a charging station with cooling?
Wait wait wait - have you seen the Amazon interview process? The first assessment step is a completely automated LC test with no human on the other side. Either you pass the all the test cases including your algo being quick enough on large datasets or you don’t.

Yes they are this blatant about it nowadays.
Nothing to do with batteries or chemistry, it is some insulation on the wiring harness that can wear away.
Who goes for horse betting when you could buy powerball tickets?
The only problem with debt and CB debt monetisation is what the debt is used for. If its used to keep pensioners solvent, social safety nets functioning, food on tables, education regardless of social class and general access to healthcare - then its absolutely fine by me (and most Europeans, I'd wager.) It should continue and increase, as necessary, especially if sovereign debt markets fail. The one policy that counts (and it affects north and south EU) is climate change. Debt, as a license to run dirty industry (public and private) and maintain fossil fuels, will need to be heavily reined back in those sectors as part of the quid pro quo for sovereign debt monetisation largesse. More europeans working shorter weeks, travelling less, but still enjoying social mobility and all the social needs from high spending countries (supported by ECB) is absolutely OK, just build a low carbon future - no more debt for dirty industries, or dirty imports. Smart, healthy people, backed by possibly heavily indebted countries supported by ECB in perpetuity, is frankly no problem.
Static Twitter Embed
Is this controlled for the partially UV blocking effect of lenses though? I.e. is it the prescription in the lenses that does it or the lack of UV rat exposure?
I've read "Wabi-Sabi for Artists, Designers, Poets & Philosophers" by Leonard Koren 978-0981484600.
It's a bit pretentious, but helped me think about the concept on my own.
Sorry I meant to type $1000’s. Corrected it.

I ran JetBrains software on one of those 1.5ghz MacBook 12” and it was totally fine.

I don’t think it needs “powerful” hardware.

Not like visual studio. Now that’s a pain!
>I'm curious why the rate of increase is like 2x for alcohol as compared to drugs. As a layman, I'd perhaps naively assume...

As a naive layman I think I've realized my mistake. In absolute terms, drug deaths are much higher but alcohol deaths have seen larger percentage increase, but in absolute terms the relative number of deaths makes sense (to me anyways).