skysight-inc/HackerNews huggingface dataset:
In my experience if the application state is overly complex then that is a result of the design, and that usually leads to a bad experience for the user.

Though it is possible to overengineer this, you're probably underestimating ho seemingly simple apps can justifiably have complex state.

Say you make API calls. Your application state just grew to reflect

1. Pending request
2. Request succesful or failed
3. Request result or error
4. Finished request.

Redux apps track all of this explicitly. The alternative to this is not reducing statefulness. It's just ignoring it with all the brings.
A CLI tool for gathering peer feedback on your frontend
So it's a package, not a language issue?

Here's a revamp based on protocols https://github.com/apple/swift-numerics
Tried to respond a while back but was blocked, probably due to being nicked on a couple of my comments (probably from those who disagree - that’s fine). Just because an institution doesn’t go out and away to placate a minority’s concerns does not mean it is intentional or nefarious. Probably just means they’re focused on more than paper work.

Demanding they do so, and that others don’t seems rather suspect though. Why treat one religion different than another? There are plenty of people abusing the system. Proposing that all these institutions be placed under the same burden. It would be fair.
I mean, I'd like them to work like Python, Ruby and TypeScript, but you're right to say I can't describe why I want this.

Is there some guide I could read about structuring a large Julia project? It was pretty easy to intuit with Python, wherein I would put related files in a folder. But with Julia, everything is everywhere and I'm baffled.
> Copying could as well be taking a picture of them.

These are very different things and regulated in different ways. This is some weird version of strawman.
Sailing has really helped me get away from it all; 'it' being the stresses of work and life. Besides the allure of open waters and beautiful sceneries, getting out of a marina, unfurling the sails, killing the motor, and then just using the wind and the water to propel a boat towards a destination is one of the most gratifying feelings I've experienced.

And then there's the myriad terminology and theory, with the various points of sails, different types sails, fine-tuning their shapes for optimizing speed, navigation rules, man overboard procedures, various knots, etc. Those, with the occasional spray of salt water, the feel of the rudder, the way the boat reacts to minor adjustments keeps the activity exciting enough to not get boring and monotonous.
>> They always do that, threaten people with insane penalties if they don't accept so shitty plea deal and if you are not super certain that you can win, you will likely accept that one, just because it seems "safer".

Actually they don't.

What they do is tell you the maximum amount of jail time you can get for the crimes for which you are being charged with. If you're good and cooperate with them, then the DA tells the judge that and they work to get you a reduced sentence. Be a prick or attempt to impeded their investigation or fall on the sword for your "homies" and they have the authority to go after the stiffest sentence possible. Even then its up to the presiding judge to ultimately take into account what the DA has told them and what the defense presents for its part and decide sentencing along predefined guidelines.

Your entire comment is completely false and shows a total lack of knowledge of the US criminal justice system.

>> Innocent people plead guilty because they don't have the wealth and resources to win in court. USA is a shithole when it comes to law enforcement. Medieval and sad. Land of the free (as long as you are rich, that is).

You have the opportunity to be represented by a court appointed lawyer if you can't afford one. Depending on your case, if you actually do your homework, its pretty easy to find an attorney who will take your case for free. I've seen many, many low income defendants retain a real defense lawyer to try their case.

Also, you do not "win" in a criminal case, you are either found "guilty" or "not guilty".
This comment reminds me of this meme image that I saved a few years ago:

https://i.imgur.com/JG7I2hu.png

Odds that it's even worse since this was created?
Pencils are not a modern invention [0], which is why it doesn't fit the question. The ballpoint pen, as an example, is a 19th century patent [1], so pens in general might fit.

[0] https://en.wikipedia.org/wiki/Pencil#History
[1] https://en.wikipedia.org/wiki/Ballpoint_pen
The tie between an Ordovician ice age, the Great Ordovician Biodiversity Event, and the L-chondritic Parent Body Breakup is completely fascinating. The Decorah, Iowa crater has even yielded a bunch of unique fossils: https://pubs.geoscienceworld.org/jgs/article/175/6/865/54850...
Like the (now past) Amazon integration in Ubuntu?
They’re great when they’re done well and obnoxious when done poorly. It’s easy to do them poorly and it’s a very fine line.

I think this particular example could use some fine tuning but for the most part does a pretty killer job of delivering low latency effects with consistent easing.
I am persuaded that invention effectiveness in the market is almost entirely a function of business acumen, and almost completely divorced from the technical capability. Although a total lemon will fail.
It is 2020 and everything is slow even on current gen technology. That is the most disappointing fact about the current state of technology.
> “never trust a turn signal”

I made the mistake of trusting a turn signal about 6 months ago. ALMOST got rear ended. I had to punch the gas and she had to slam on her brakes.

She still had her turn signal on about a mile later...
With names aready being dropped, here are some oldies: Clarke, Asimov, Stanislav Lem.
NEC SX-Aurora TSUBASA
Ask HN: Does disabling cookies save battery?
i've seen a shop start as a "no-framework" effort and it did indeed become an "internal framework" project. imo it was a strange choice, given how much effort had to go into maintaining and bugfixing the internal framework...mostly issues that would have been flushed out in something with wider support.

before being involved in mostly "modern saas", i was heavy in electrical/electronics mfg and there was always a tension between "not-invented-here" and "borrow-buy-build" camps. NIH would stress that all components in our designs should be in-house (electrical metering, data acquisition, etc) while the BBB camp would turn every effort into a 3rd party integrations exercise. at times this even applied to the factory floor. i seriously know a person who was like "hrm, lets build our own pick-and-place for the smt line..."
It means that if you would have hit a breakpoint in code that is run in compiled mode, the breakpoint doesn't trigger—because it's being run normally at full speed without breakpoints, not being interpreted in the debugger (which knows about breakpoints).
Wow. What a toxic community. I'd never build a business or platform around a community like that--any time I had a question I'd be constantly worried all the maintainers would bite my head off. Coupled with the fact that I can't be alone in thinking that, I'd also worry about the long term success of a project.

And yeah, OpenBSD has been around forever.... but you'd be hard to call them anything more than a tiny little niche operating system. Probably because of how toxic they are.
I think this is largely unnecessary, can't things like TPUs handle the inference?
Altruistic babies: Psychology study shows altruism may begin in infancy
More recently https://en.wikipedia.org/wiki/Mundaneum
People who assume predictions to be wishes are really tiresome.
Yes, I like a click top, though.
For a good drill you can replace the trigger. I've done it myself a few times. Same site that sells the trigger also sells replacement brushes for the motor, but I've not replaced them myself. I suspect a replacement motor would be as expensive as the new tool and so not worth it.
I'm renovating a sailboat at the age of 34, so it's never too late to start. My father had a sailboat he would take us up and down the coast with, but it's been a long time. And one thing that sailboats beat everyone else with: They don't make sound while you're sailing. You can just hear the sea, the birds and it's like nothing else.

See you out there.
I think the moral of this story is that people should be careful about their impulses to create emotional connections with strangers, which are not always welcome.
> Should the government prove that it followed the law when investigating a criminal?

They do, but only if the defendant requires them to do so.

What’s happening here is that the prosecutors told the defendant “look, we all know you did it, so plead guilty and we’ll recommend a light sentence. You have a right to make us reveal our tor backdoor, but if you do the plea offer is off and we will have the trial, and win, and ask the judge to send you to prison until you die.”

I’m sure the defendant is very interested in learning about the tor backdoor, but the idea of getting out of prison one day seems a little more compelling.
He was a gem, so it is good to see he found some Clojure.
>>Should we expect an epidemic bomb from Africa? what do you think?

I know that lot of racist/black haters are praying for that could be the case. If ever happens that there is a coronavirus in Africa, that would be a manufactured "epidemic bomb" by the African haters
What's the purpose of linking this? It's chocolate...with an emoji stamped on it. There's no app.
If so, it would be such a minuscule amount that it simply doesn't matter.
less ubiquitous in a bio-available way. Nitrogen is most of the atmosphere.
Blokada – the best ad blocker for Android, free and open source
I never said they were-- those are new licenses, and accounted for by Microsoft as OEM sales.

I'm asking about Windows upgrade SKUs-- the kind that you'd buy in a box someplace like Best Buy or Circuit City or Office Max back in the day, completely separate from a computer. Were those ever a meaningful fraction of sales? Or, phrased differently, is Microsoft actually leaving any money on the table by making Windows 10 upgrades (both the Windows 7/8 to 10 and 10 feature releases) free for consumers rather than paid?
>So much technology has come and gone since 2000. If innovation continues to accelerate I'd be hesitant to predict what 2040 will look like.

Not much core technology -- e.g. programming languages and their ecosystems.

Frameworks, or specific business cases or tools ('grid computing', 'big data', 'no sql' etc) sure...
Sort of a tragic commentary that the one link the author provides to a possible solution in the space currently 404's.
Why I’m Leaving San Francisco: Meta study
I know very little about the technical and business side of DNS and Domain Registrars. That being said, have things actually gotten more expensive for them to operate?

I'm pretty confident the answer is no and these price increases just reflect the need for a handful of entities to charge more for an essential service with no viable alternative.
Maybe a reference to Sun's Locking Glass project ?

https://www.youtube.com/watch?v=JXv8VlpoK_g
I'm not so sure, if todays animation really have a clear purpose. Remember, when the animations on the Iphone calculater was so long, you often got the wrong result, because it did not get each pressed button (because the animation was so long). Also it can be very frustrating, if you are in a hurry.

And in Win 95 you still could choose all colors by yourself. Now you can say bright or dark an almost no app listen to it.
Lise Meitner – the forgotten woman of nuclear physics (2019)
And we've known this for a very long time - some of the SR-71 jigs were intentionally destroyed after the planes were built which was typical for secret projects. If we wanted to build more we'd essentially have to start over.
EDIT2: Basically any government that wants to improve investment into STEM should start by including those and similar books into the school reading program.
Cellular data--or at least widespread WiFi--was pretty much a prerequisite for this class of device. That's one reason that the Palm Pilot was always something of a niche device. The need to constantly sync it made it a lot less useful than it would otherwise have been.

(I'd argue that background syncing over WiFi or cellular networks is also a reason why Podcasting 2.0 is a lot bigger than Podcasting 1.0 was.)
Languages like Python, Rust, C# or even Java have module systems that I find are more restrictive, but much easier to follow. You always have the pertinent information at hand. Each file containing code clearly tells you two crucial pieces of information:

1. Where the code fits in the greater picture

2. Where the dependencies of the code in a file come from

Python, whose module story is actually pretty poor, is still easier to follow than Julia, because it just matches the file/directory structure. You can reason about the hierarchy of a python library by just navigating the directories. In a normal python project, each file is one module and it's dependencies are clearly specified as imports.

Rust relies on the file system as well, and much better defined rules than Python. I find this great, because the file system is already hierarchical and we are used to the way it works. When I open a file in a Rust project, I know immediately where it fits in the hierarchy - because it is implied from the file system. Rust gives you a bit more flexibility in that you can define submodules in each file.

C# & Java qualify the namespaces fully in each file. While the file structure is not as clear anymore at the file system level, a single file contains all the information necessary to determine where the code fits in and where it's dependencies come from.

Now let's take Julia:

A single module will be often split across multiple files. Since they share a single namespace, the imports happen at the top level where the module is defined and includes all it's source files. When you open a source file, you have zero information where all the functions and data types are coming from (or where they are going for that matter).

I see the following pattern systematically emerge in Julia code:

- A function is defined in file A

- File A is `included` in file B, where it forms part of module X

- It is then imported into module Y in file C, but it is not actually used there

- As it is finally used in file D, which is `included` in module Y in file C itself

The problem is that there is no link from file A to file B, or module X for that matter. File A could be part of a dozen modules, or zero. Neither is there a link between the usage of the function in file D and where it is coming from. You actually have to find all the places where file D is included, and then check what flavor of the function does each location import. The relationships are established at some indeterminate level in the hierarchy.

Again, don't get me wrong, this is just a wart on an otherwise very pleasant language. I wouldn't be complaining if I weren't using it.
I always thought that was sort of the point of the business side of "Fail Fast".

Try it now, if it doesn't work, now you know something valuable and you can try something else.

As someone who suffers from a lot of analysis paralysis, distraction ... sometimes I find just making myself keep typing and trying things in order to fail quickly and learn from it leads to much faster / sooner successes rather than burying myself up in all the minuta and every aspect of something and... not doing it.

There was an old TV show called Connections where they tracked various inventions and progress over history, and IIRC it is telling that almost every positive step they note involve someone failing to do something else they were trying, but still finding out something valuable that adds up to the next step for something else and so on.

https://en.wikipedia.org/wiki/Connections_(TV_series)
What they've done in the past [0], is continually to delay the actual trial. The idea is to force the defendants either to avoid setting foot in the jurisdiction or to spend their entire net worth on defense attorneys.

[0] https://www.law.com/nationallawjournal/2019/09/16/were-now-o...
Top lithium miner seeks to monitor water scarcity in parched Chile salt flat
Withdrawing from Hacker News (2011)
Disabling them can waste time as you get to the portal and have to progress through pages to your landing page. Cookies are supposed to take you there by recalling where you left off.
Misuse of cookies?
yes, lots of thangs...
https://www.google.com/search?q=Misuse+of+cookies&oq=Misuse+...
The Iowa Caucuses Were a Complete Mess–and We Did the Math to Prove It
Some Creationists believe in microevolution though, such as myself. I totally believe that different subspecies (or even species) have developed since the point I believe God created them, since the difference between species and subspecies can sometimes be blurry. E.G. different dog breeds can look so different from each other, yet can crossbreed without much issue. Cockatiels and cockatoos have even been shown to have crossbreeding potential, producing fascinatingly beautiful hybrids, even though they're technically different species. What I'm saying is that I'm a Christian Biblical Creationist that sees microevolution and natural selection as a feature, not a bug. It allows species to naturally adapt to different environments, or changes within the same environment.
My friends Chrome extension has 5500 users from word of mouth; what do HN think?
Am I the only one who hates graphics on t-shirts? If the design doesn't serve a clear purpose in signalling something about the user, I want it gone. I'm not convinced that we've seen any meaningful advance in t-shirt design since Windows 95.

Ok, ok, I'm being dumb. And yeah, I tend to agree, but as a counterpoint: sometimes it's also just cool to have cool stuff. There is certainly a modernist fetish for superminimalism – HN being a locally favored example of a great social media website with no unnecessary frills – but I think your qualifier "serve a clear purpose" is not objective enough to be a good rule. What you and I think is a clear purpose are bound to be very different. I think a fade in/scaling animation for windows to appear and disappear is a better experience than just flickering them on and off – I think the clear purpose there is that it's cognitively less demanding when a window appears over the course of 200ms rather than 1ms. But hey, that's me.

What is the "clear purpose" of MacOS UI to have rounded corners, or the status bar to be translucent, or for the "genie" effect of minimizing an app. The truth is, animations have almost zero impact on the usability of an app or experience and only add to the perception of quality. Much like contrast stitching on the leather seat of your BMW, the reason it's there is simply because people think it's kinda nice to have and doesn't hurt anyone. Otherwise the only pants we'd be able to buy would be cargo pants... and no one likes cargo pants.

It's OK for stuff to exist that is "just neat".
Well, to be fair there was at least one poster who suggested that OP use SFTP instead of NFS... I mean why bother with a vegetable peeler when you could use a chisel instead?

So yeah, like you said--absolutely no useful information was conveyed in that thread. Besides any lurking bystanders learning those "in the group" are complete assholes.

http://openbsd-archive.7691.n7.nabble.com/nfsv4-tp18690p1871...
Industrial users have problems with electronics: the chip from a 60nm process still works fine, but the fab that makes them is closing and so they are forced to spend money on a new chip built on a 12nm process. (or whatever the latest fad is). The consumer mentality of replace with better is too big for the industrial users to count.
Imagine how surprised that guy would be if he figured out that if he got a raise he could buy lots of snacks and still have money left over for other things
https://ipfs.io has https://docs-beta.ipfs.io/concepts/ipns, but the names aren't human-readable- it still depends on DNS for human readable names: https://docs-beta.ipfs.io/concepts/dnslink

Basic IPFS support was added in Firefox 59
It's not for safety: it's because starchy rice sticks together and makes clumpy bad-tasting rice, it's also much more easily seasoned in my experience if you wash it first.
How many times does Microsoft need to get slapped with an anti-trust on this specific issue to learn their lesson?
That's a tough problem to solve, "Import your Address Book" has been a feature of communications platforms as far back as I can remember.
>Sure, some do, but past adoption is not a guarantee of future adoption.

Not a guarantee but still the best predictor.

>20 years in the future is a long time. Just look at Flash.

Flash had a lot of things against it. Proprietary (aside from niche implementations nobody really cared about or used), single vendor, not owing its platform (browser vendors owned it), and not really that useful (aside from casual online games its main other use was small animations and intro pages).

And even then, it also took the combined effort of 3 browser vendors to kill it, and its public ousting from its mobile platform from the biggest company on Earth...
Mailing list software should stop spying on subscribers
> Wouldn't it be better if that home was used by someone who was homeless and needed a place to live?

Yes.

> Why should I have enough money to keep a home empty?

Because the system worked for you. It doesn't for everyone - and let's not pretend hard work correlates to the system working for someone.

> that's why it's capitalism and the way it is here

Nobody is denying that, but your OP is arguing that that system is immoral. I happen to agree.

> And 'DNS' was not 'made to serve society'

If it doesn't serve society, who does it serve?

> that would not prevent something else that is lawful or legitimate

We can decide what is lawful or legitimate, that's kind of the point. "But law" as an argument doesn't work. We can change the laws to reflect our values.
The issue seems with moving responsibilities that the server handles really well to the client (namely, state and session management). I think it's less a matter of Javascript-framework vs no framework, and more a matter of SPA vs. non-SPA
In some kinds of proceedings, a guardian is appointed to advocate on the child's behalf. That seems much more sensible than asking the five year old directly.
Ask HN: Is Fortress programming language still in use?
And the iPad of the 80's would be the Apple //c as featured in the movie 2010. It was seen being used on a beach, complete with LCD screen, and this was 1984.

There's a couple of issues though, the //c did not run off battery power, so you'd need a long cord, and the LCD was terrible, I don't think you'd be able to read it in direct sunlight. But if you have a long phone cable to go with the power cord, maybe you could have sent a fax? Or at least a telex.
Android has system-wide animation speed settings intended for development testing. I set them all to double speed, so now my phone has nice animations and a decent response time. Results may vary with slower phones.
> banned as it is in many places

Is it? Where?
I don't understand type systems very well. When you say "check correctness" do you mean something beyond static linting with type-hints, like in Python? Or do you mean something deeper, like in functional languages like Elm and F#?

Also, is there always a trade-off between types and flexible meta-programming? Like, OCaml has meta-programming capabilities, but they make type-checking way harder, according to my PhD friend who's written extensively in Scheme and OCaml.