skysight-inc/HackerNews huggingface dataset:
Other comments have claimed that Go is intended for teams, but my personal experience shows that Go code is easier to maintain than Haskell code, even for a single developer. Though I've coded with Haskell for many years, I never reached an expert level. So, when I went back to an application after 6 month of break, my Haskell skills were rusty, and I struggled to understand what I had written. What's that pragma `MultiParamTypeClasses, TypeFamilies`? What does `<*>` mean in that context? And so on. A similar break happened last year, and I still had a hard time getting back to fluent Haskell, while modifying my Go code was still easy.

Still, I agree with some of the bad points. Like him, I would have liked more types with a stricter compiler that helps refactoring (sum types, zero values).

The official documentation of the language is also very disappointing, as noted by Eric S. Raymond in his conversion notes[^1] from Python to Go.
The author of this blog post criticizes the tooling for the lacks of features that in fact do exist[^2], but are hard to find due to the poor documentation (split over a a shallow "tour of Go", blogs, other official docs, with no links between them).

[^1]: https://gitlab.com/esr/reposurgeon/blob/master/GoNotes.adoc

[^2]: https://golang.org/pkg/runtime/trace/
That is already possible by exposing a `New` function and making the struct itself unexposed; are you suggesting syntax should be added to provide default values to struct fields? Because there is high resistance (which I agree with btw) to adding additional syntax and constructs to the language.
They are doing the lazy thing and configuring it for "lowest common denominator". Yes, it's irritating. The effort to integrate GPS and allow/not-allow would be low.

Maybe it's complicated for telephone conversations where you're not breaking a law locally, but are breaking a law remotely?
In fact, this is conventional for letters in general-- not only to Santa, and not only in French.
Pretty sure. Nature, being unconcerned with fairness, has little regard for per capita statistics.

If we want 8 billion people living in comfort, we need more energy. As always, I think we should have been building more nuclear plants back in the 90s. And again in the 2000s. And the 2010s. Maybe now we can go wind and solar. But we need lots of something.
> political intent where none is intended. Could this be what's happening to you?

Nope. You’ll notice I didn’t say anything about intent. It’s much broader with entire classes of ideas being oppressed and other bad ideas being accepted with refutations shunned.
I suspect that after a few years, a lot (if not most) of "regular" couples are de facto platonic and don't have romantic feelings. In a sense, these guys just skip the first step of sex, romance and infatuation.
Microscopic 3D-printed Star Trek Voyager can move on its own
Yes, patio heaters are very cheap. Such an infrared emitter would have been a very easy addition to this project, at the cost of doubling the power draw.
https://youtu.be/V6gX9SqctHY at 40:20 this guy talks about a trial he participated in. He seems to be pretty well-connected in these circles.
Rust is a great language, and Scala is a great language, but they are different. They optimize for a different thing. Rust definitely rocks at high-performance, resource management, fine grained control over all the aspects of the program, at the expense of developer's time. Scala rocks at developer productivity and building abstractions, sacrificing a bit of performance.

However, I must say that Rust is also a very productive and quite powerful language (albeit IMHO not as powerful as Scala) and Scala is actually not that bad at performance either - probably better than a vast majority of other languages out there (albeit not as powerful as Rust or C++).

As far as ecosystems are considered - this is really hard to say. Rust has the whole C (and most of C++) ecosystem at hand plus a few really amazing Rust solutions like Cargo. Scala is limited mostly to JVM and JS, which are great ecosystems, but it is not true they offer everything. And there are still some caveats when using Java tools with Scala (e.g. profilers, debuggers or build systems).
Linux and LibreOffice Migration at Eyüpsultan Municipality in Turkey
From the perspective of actually fixing the problem (which takes capital investment), the most pertinent graph would be per unit of GDP.

It acts as both an efficiency measure as well as an indication of whether those most able to solve the issue are doing so.
Having to learn a significant portion of the phonological/phonetic history of a language to read it is exactly something that can be considered difficult. In fact, most people don’t even know what a phonological or phonetic change is, and can’t give an example.
What do you make of an author who only provides tarballs?
Just wish the answer was hidden so I could have given it 10 seconds of thought without accidentally reading it.
Interesting, I didn't knew that. I helped write a couple immediate-mode GUI some time ago, but I'm not deeply familiar with ImGui.

If this is the case, then it seems entirely possible to have an "internal retained mode", and might even help with some extra stuff like focus management and accessibility.
While you're correct, you can still avoid handling an error and not get any feedback from the compiler or linters by doing something like:

val, err := something()
val2, err := somethingElse()
if err != nil // etc

You can - and all the examples usually do - reuse and shadow an 'err' variable, and tooling won't complain as long as something is done with it at least once.

If Go wants to enforce not ignoring errors, it still has a few holes like this to fix.
And it still doesn't mean squat if the US Senate does not approve.
goto https;

// nothing to see here
Then you would be charging people who have no control over the production. The producer nation sets the laws and standards for their facilities.
I wonder if legal obligations surrounding responsible disclosure and treatment of security researchers should be brought in. GDPR-sized fines for treatment like this, as well as negligence in fixing reported vulnerabilities, could go a long way to improving the lives of security researchers wrt security of their livelihood, and improve the security of the digital world for all of us.
‘Landmark’ study resolves a major mystery of how genes govern human height
Meanwhile, awareness/disclosure of climate risk is rising sharply in large publicly traded companies, measured by counting the percentage of companies reporting "climate risk" in their 2019 annual reports:

- 26% of companies in EU

- 9% of companies in APAC

- 7% of companies in US

Still a long way to go obviously, but these numbers have doubled compared to fiscal 2017.
I agree that being able to reason about mutability and other effects is useful. However, that doesn’t necessarily imply an all-or-nothing approach where either you’re in a pure function or you can do anything with anything. In a sibling comment, gwd mentioned const in C, which is one example of something in between. Rust’s ownership semantics and borrow checker are another.
I agree, seeing how much gargantuan computer power is available to us today is not something I learned until recently, even though I in theory knew it intellectually.

Watching ben eaters YouTube series where he constructs an 8-bit breadboard computer gave me a new perspective on just how integrated and complex my previously considered humble or even pedestrian computer really is.
The silver bullet is natural self-regulation. Mankind will shrink automatically after hitting a real ceiling.
> A comment that reveals more about your leanings than anything to do with reddit.

It can’t be both. Either Reddit is biased and I don’t lean the same way or my comment said nothing about my leanings. Figure out what point you’re trying to make before throwing vague statements out.

> Are you sure you're sufficiently equipped for a discussion about echo chambers and politics? Doesn't appear so. A moment of introspection might serve you well.

Says the person who was incapable of actually engaging in a discussion about echo chambers and instead engaged in a personal attack.
To a certain extend, absolutely. Much of the richer EU states cause and have caused quite a bit of pollution and without a serious shift in consumption, I don't believe we can achieve our goals.

However, industry is without a doubt a massive resource user. Modern methods in manufacturing can save significant amounts of energy, water, and more. As China is the main producer in many instances, a change also needs to happen there to go from heavy polluting to less polluting methods.
> we have to remember that once upon the time the mainstream physics people didn't think that heavier-than-air flying machines are possible while nowadays they have wasted countless billions on their fusion experiments and achieved close to nothing

Challenging authority gets you cool-guy points, but does nothing for actual understanding. “The experts don’t know what they’re talking about and are blinded by tribalism” is rhetoric of the 20th century. Physics has moved on.
Regulatory Capture at it's finest.

I'm getting a vibe that this may be the end of California dominance.
If you say 'cancelled clown' three times in Burger King restrooms in Sweden
It helps to read past the headline.

Letting someone else define what you found “cool“ was definitely uncool
US entrepreneurism kickstarted the electric vehicle transition (thx Elon1). Batteries prices are falling. PV is already incredibly cheap and getting cheaper. Coal is becoming increasingly uncompetitive. Nuclear is making a comeback, also thanks to US entrepreneurs.

Science, Capitalism and entrepreneurship will be the unstoppable force that will solve our energy crisis, if western governments let them.

Africa, India and China will be the biggest factors going forward.

UPDATE: To be clear, I'm not arguing for laissez-faire capitalism. Government incentives are required to develop markets, as Germany did with PV, and US does with EV. My point is that the US being part of the Climate Accord or not won't matter much, the move away from coal and ICE cars is inevitable due to already existing market forces. A bigger lever would be to de-regulate nuclear where it makes sense, as that is where the biggest cost lie.
>vindictive, corporate withdrawal from the state

Companies withdraw operations when they are unprofitable. That's how business works. Capital get allocated based in margins. The AB5 restrictions make profitability unlikely. That means uber/lyft jobs simply won't exist. Is that a better outcome?
You know what data exists? For traditional families (divorced included).
It is extremely likely that the legislature will take up this law in the next session and amend it; to extend the deadline, ensure security for the data, and likely negotiate a compromise with automakers.

The 2013 right-to-repair law resulted in a nationwide change to allow OBD access after negotiations with the state legislature.
I have a smallish Brother inkjet MFD, that absolutely can be left idle, unless you pull the power plug (clogged a few nozzles by leaving it without power)

It periodically, uh, does that printhead thing, was idle for a few months, no new clogs.

Why it is not common practice for other brands?
Without China (which is a part of the accord, but doesn't have to cut its emissions until 2030, a loophole they're actively using to build insane numbers of coal power plants - whatever their CO2 emissions are in 2030 becomes their "baseline" from which to reduce) this was pretty pointless anyway. Whoever negotiated PCA should not be allowed to negotiate whatever comes after it, because they suck at negotiations.

https://www.wired.com/story/china-is-still-building-an-insan...
It wasn't going to solve the problem, so there was no point doing it.

That is not how steps in the right direction work.
The definition of comfort is the issue. There are simply not enough resources for everyone on Earth to live like an American. Maybe Europeans if we stretch with renewables and quickly cut down overfishing and stripmining agricultural practices. My money (unfortunately) is on a whole lot of death and despair from crop failures, drought, and mass migrations due to climate change even if we’re able to rapidly decarbonize energy infrastructure. We waited too long to change direction, and aren’t moving fast enough in the right direction.
Re: HTTP requests, you mean the exact HTTP response, which in your case is a JSON object that can be parsed via a different package; the two should not be conflated, and the HTTP package should not be polluted with assumptions about what (if any) data is being passed.

Re: caches, what kinda caches do you mean? For the most simple use case you have maps, which in Go are already generic. Of course, anything more advanced would be greatly helped with generics, since at the moment they (I presume) store `interface{}` types and the consumer has to cast them back to the real types. Or they use code generators, which is also pointed out in the article.

To add some potential goodness coming from generics: Option types to avoid nil, Either types to replace the value/error tuples (which the article points out is a weird outlier, because you don't have tuples elsewhere in the language).

Those make me wonder if parts of the language and codebases written therein would actually improve compared to the weirdness of multiple return values and the like.
That “good light” is only all good if you paint the ground with vantablack, otherwise a decent amount if it still bounces back up. So you want to aim all the light downwards, yes, but it’s also important not use more light than necessary.
We need to pass laws that forbid retaliation against disclosure, and require bounty programs. It might even make sense to have disclosure go through a public agency to arbitrate, and bond companies to that agency, much like we do with contractors.
Dell Adding Hardware Privacy Driver for Linux
Thanks for sharing and sorry such a shitty action was the result.

More seriously, is it possible to get in writing that disclosure would not result in negative repercussions if there is no bounty program? Perhaps dealing with large banks in a security context requires a less forgiving mentality.

Did you have to return the $5k? At least maybe you gained that?
Does Walmart need the same automation as Amazon? Does Walmart even need pickers or are they just filling up trucks with pallets and merchandise already packaged?

Brick and mortar warehousing seems like it would be much different than online retail warehousing.
I guess people who say this kind of things don't believe they themselves will be part of the cohort undergoing the shrinkage.

This so called natural self-regulation will be ugly and painful. I don't envy the generation that will have to go through it.
What a terrible article. I clicked to learn why do printers suck, and ended up spending several minutes reading some absolutely non-informative ranting.
For what it's worth, my SD card is unencrypted so Android treats it as external storage, rather than encrypted and integrated into Android's "system" storage.

Anyway what's left of filesystem access for Termux isn't really a blacklist as in "you're forbidden to go here" but rather feels like a whitelist. There are a few carefully selected places you're still allowed to go, front and center being the DCIM directory.
https://streamingsites.com/ is the best movie resource on the Web. Period. Whether you want to search for films in the search field or you want to find films based on your mood, time available, setting, or reviews, the site has it all. I searched for movies based on my mood and followed that with a search based on my plot preference. Each time, films that I've watched and loved in the past, or that I haven't watched but definitely want to see popped up.
Copy-pasting a comment of mine from a related thread (https://news.ycombinator.com/item?id=24886260):

They might decide not to counter-notice, because there's a big trap in the DMCA counter-notice: as far as I know, for a DMCA counter-notice to be valid, the one doing the counter-notice must agree to be bound to the jurisdiction of an USA court. If the youtube-dl author is not from the USA (I think he's from the EU), that would expose him to legal risk.

(As a non-USA person, to me this is the most evil part of the DMCA take-down system: even a defective DMCA notice leads to a dilemma, either you keep the content offline, or you risk being sued in a foreign jurisdiction you have no control over. This is also why I believe one should always prefer to host in one's own country, so that any dispute can be resolved by the local courts.)
Tallying Votes Could Take Weeks Thanks to Common Core Counting Method
Very, very excited about Scala 3. Here are some of the things I'm looking forward to using:

* Generally a more clean language for everyday use, codifying existing patterns like newtypes (opaque types), typeclass derivation and extension methods

* Improved type inference & lots of other quality of life improvements

* A macro system based on the idea of multi-stage programming. This has a lot of potential for improving both type-safety and performance. An example: beating existing database systems query optimization with ~500 lines of Scala code [1]

* TASTY, a new intermediate representation (AST) for artifacts. This means that Scala will have a much better version upgrade / binary compatibility story in the future. (e.g. TASTY is used for facilitating 2.13 <-> 3.0 bi-direction upgrade!)

* Significant compile time improvements over Scala2 alraedy[2] (and we're only at M1 release)!

Scala has already been a wonderful language to work with professionally with many great tooling (linting, automatic migration, 2 good OSS IDEs), and I think Scala 3 will certainly push the state-of-the-art forward in many departments in the coming years.

[1]:https://www.cs.purdue.edu/homes/rompf/papers/rompf-icfp15.pd...

[2]: https://twitter.com/not_xuwei_k/status/1323643312230772737
I feel like this is a deflection and a critical reason why progress isn’t happening fast enough. Your house is already messy, and the need to clean it up is now. Not when China and a couple billion other people mess their house up.

My country’s ambitious plans are shot down by members of parliament going for the kneejern ”but India and China...” response, and the net result would be no action if they were in power. Luckily we at least have people some people in the government who are willing to make sacrifices. It’s about time the US as a developed country caught up (not just on the state level).
At the end of the day, it's always "user pays".
We've already hit peak child and longer lifespans is the only thing keeping the population growing. Assuming this trend continues then human population will start dropping within a lifetime.

(It's just a shame that renewables and other tech (plus the required behaviour changes) are coming in to maturity a couple of decades too late. Surely we just need to bridge the gap between demographic changes and adoption of cleaner tech. I might be overly optimistic on this front)
SBT is a fractal of awfulness and I have no idea why anyone ever uses it. But it's never been required. Just use maven and get on with your life.
Hacking the Goodreads Review System
The biggest issue with the Paris Accords is that China did not commit to begin any restrictions until 2030. ...and since they are both the world's largest CO2 emitter and world's fastest growing CO2 emitter, the Accords became a corporate strategy to just move more manufacturing to China (and other non-limited countries).

Frankly, I think the Paris Accords does more harm than good by giving anyone the notion that we were solving the problem.

The optimal strategy to combat Global Warming is to bring manufacturing back to the EU and US and regulate emissions strongly.
Doesn’t Apple get plaudits for Activation Lock that prevents an iPhone being activated? Why is Canon bad for making things secure but not Apple? Do you own your phone any more or less than you own your printer?
Barely qualifying as news, and totally contrary to the guidelines (https://news.ycombinator.com/newsguidelines.html):

Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon. Videos of pratfalls or disasters, or cute animal pictures. If they'd cover it on TV news, it's probably off-topic.
I would think some regulators may be interested in this
> The recourse is filing a declaratory judgement to establish the legality of the code.

Which is expensive relative to the resources of some individuals doing this as a hobby, so some kind of legal defense fund may be in order.

Of course, the other option is to put enough pressure on Github/Microsoft to get them to be the ones to defend it, since it's not that expensive relative to the resources of a trillion dollar corporation, and they could quite plausibly have more to gain in positive PR with developers (or in avoiding continued negative PR) than they pay to the lawyers they probably already have on staff.

We shouldn't forgive companies who do the wrong thing on issues like this, because the cost of people not forgiving them is a major incentive for them not to do the wrong thing.
There's a line between hyperinflation (spiraling out of control) and high inflation. My opinion has been and continue to be that to deal with the crisis, we would need to roughly double our money supply, and use that to prevent structural damage during shutdowns.

The alternative would have been to delay all fixed obligations -- loans, mortgages, etc. -- by the duration of the shutdown. No interest accrues for some number of months.

Those both would have required coordinated, thoughtful efforts. Neither of those happened, so hyperinflation is certainly possible at this point, as is economic collapse.

We'll see!
@tomatohs If it's not a secret, what do you use for audio to text conversion?
Holy cow the ads against this where something else. Most of them were saying something along the lines of "if users have access to the data it will be used to rape you."

The correct response to this is to make the data opt in with a strong warning about how it could be abused, not make it only abusable by corporations.
China may be on the accord, but they still have abysmal pollution right now. So currently, it would be a trade war with China too.

This brings up something that I don't understand. How can there be candidates that say they support the environment, support worker rights, and support free trade with places such as China? Laborers are treated like crap and pollution is rampant in China. Promoting free trade seems to oppose the other two positions since there's more pollution in the developing nations that we outsource out manufacturing to and that labor in our country can't compete with the lower wages of those developing countries, partly due to lower living standard but also due to fewer worker protections and even safety equipment.
Pentagon research office wants tools to spot influence campaigns
The first wall has an 8 mm layer of Be facing the plasma.
Having switched from Scala to Python recently, I must say Python has probably 5x more ways to do things than Scala and I can't see people complaining on Python's complexity.

This is something that really surprised me, because "one obvious way " was announced to be a part of Zen of Python.