skysight-inc/HackerNews huggingface dataset:
> he was explicit that dependency/project management where very hard problems that Clojure didn't really attempt to solve.

For what it's worth, having used Clojure for work for a couple years now, and ditching leiningen for deps.edn (built in package and dependency management that hooks into maven), I've not had an issue with it. You just add the dependencies to your deps.edn, and run your program. If your namespace needs something from a package, you add it to the (:require ...) section of your ns declaration.

Here's an example ns from one of our messiest modules:

(ns profusion.core
(:require
[clojure.core.match :refer [match]]
[clojure.set :as set]
[clojure.string :as string]
[clojure.walk :as walk]
[clojure.zip :as z]
[instaparse.core :as insta]
[profusion.infix :refer [infix-to-prefix]]
[profusion.standard-library :refer [comparison]]
[profusion.utils :refer :all]
)
(:import
(org.jgrapht Graph)
(org.jgrapht.traverse TopologicalOrderIterator)
(org.jgrapht.graph
DefaultEdge
SimpleDirectedGraph)
))

To be clear, projects like this can be run with the base Clojure distribution, no additional tools required.

> I'm not aware of any Clojure tools that are best-of-breed for project management. Java has a better model for locking everything down (or maybe how the Linux Distros manage their repositories) and Python has a better model for just keeping up with the current state of things. I'm not aware of any half-and-half model that gives satisfying results.

deps.edn generally asks you for specific versions if you're getting things from maven, so you don't risk not "locking everything down". If you really want to lock everything down however, you should check all your dependencies into your source tree, this is an option that deps.edn supports well, through the :local keyword instead of :mvn/version for maven dependencies. That namespace declaration I showed you is from a subproject that we import into one of our other subprojects using the :local keyword, and the deps.edn for it just declares the source directories and and the dependencies, everything else is handled automatically.
Yeah, but the thing is that it's just unnecessary.

isNaN() has been in the language forever. And in case you really need Number.isNaN() (because it's weird for isNaN('foo') to be true), it's been there for quite a long time too. Not enough to be on IE, sadly, but certainly more than enough to be on the modern JS engines React Native runs on.

So, at least for React Native, the package number-is-nan shouldn't be necessary at all. But it's probably a transitive dependency, and that's basically the problem with all these sort of polyfill packages: you might not need them, but a library that runs on older engines on which you depend (directly or transitively) does need them, so you end up paying the price anyway.
If you look at sharper prints of the frontispiece than the one LRB uses, they do look more like hoods or hennins than plague masks, in my opinion.

I took this photo of them from a 17C copy of Leviathan at the British Library: https://ibb.co/DGL4dJj

Edit: Not sure why the parent comment is being downvoted? They're making a completely legitimate observation.
Do you honestly think there's education when a uni teaches cattle class of 200 people for calculus 101, and intends to flunk 80% of them?

This could easily be a set of videos recorded from a real lecture. Problems could be assigned from problem sets (plug n chug from schematics). What someone would pay for is 1 on 1 time from a professional.

And there's NO reason to fail someone, as in retake and pay a pound of flesh again. If you don't get it, go to a different degree that doesn't require it.
Take the most basic example: a Button.

The RN's core Button it’s a Text composed with a Touchable (https://github.com/facebook/react-native/blob/master/Librari...). It behaves in the same way but there are subtle differences in text rendering: the font size and letter spacing is not exactly the same, so when you create a native looking iOS view it doesn’t look the same unless to fine tune the font settings (and of course that will break when iOS decides to change it).
This is just one small example, another one in iOS is “routing”. With the RN Router you don’t get the native components but a simulation of it. But Apple HIG doesn’t document many details of the animations and behavior of headings and nav bar (they assume that you use the native component). So if you want to have a native look and feel your options are: try an alternative router built for iOS, try to build your own adapter (hard unless you have tons of native dev experience), or try to imitate the native platform. All the options have pros and cons, and require more extra work over a small UI detail that you get for free using native tools. At least Flutter took the effort to make it look native by default.

In the end is similar to the desktop: if you want cross platform code is easier to not follow the platform rules. The differentiator of RN is that you have the option to embed the native widgets, which is not always easy. (The last time I used RN was mid-2019, I didn’t see substantial changes since then)
> Those offtopic, face to face chitchats you have with your colleagues or boss

Those have been gone for a long time, though - I've spent the majority of the past 20 years commuting to an office only to report to and work with people who commuted to an office in a different city.
>And there are many ways to have "hallway conversations."

At the start of all this I would have agreed but as the weeks go on my coworkers are just getting more and more introverted and you really have to push to get any sort of discussion about product and strategy, everything ends up into a meeting format you can't just do the sitting down, riffing and chatting which is where the actual creative work happens.

Might have a different perspective because I'm more on the design side than the engineering, but I'm very aware none of the most transformative moves in my company were all born out of discussions outside of work in more social settings between designers and engineers, I know some people don't like hearing that but that's the reality at my company at least.
you can make this less effective by giving more complicated problems with different paths to the answer. it doesn't take a genius to notice that the four people who sit together in lecture turned in very similar exams. students who "change it up a little" tend make superficial changes that almost make it more obvious what they were doing.
There have been studies on the value-add of diversity in the workforce. TL;DR: research "suggests that diverse work environments boost profitability, culture, and public perception.[1]"

1: https://www.purdueglobal.edu/blog/careers/how-does-workplace...
They aid criminals knowingly, and just get a slap on the wrist when they get caught:

https://www.theguardian.com/business/2019/apr/17/deutsche-ba...
Not sure if there’s an @types package for this.

If there’s not I recommend disabling your linter for the line and adding an entry in .d.ts. You lose effectiveness but it still works.
Yes, at least that's what I've been told by ultrasound techs on two separate occasions (one tech even told she has seen cases where repeated damage has been done to one of the spleens, the damaged one was taken out and the other one has taken over the primary function).

Apparently this is the current medical consensus in my country- if the spleen is ruptured but not causing massive internal bleeding, the course of action is to monitor patient to see if it heals on it's own.
In my case the ruptured part formed scar tissues around it, separating itself from the original spleen.
Nope nothing. Just use create-react-app everything is pre-configured for you

It's as simple as `create-react-app my-app`, then `yarn start` for development, and `yarn build` to spit out production ready code into build folder
Master and Emissary is way better than thinking fast and slow
New Ideas to Inspire You to Start a Business
> Gold is a relic and an arbitrary thing that has no significance when Money is not only fiat but digital, and can now be programmed to be be defacto finite.

I feel compelled to point out gold has been outperforming Bitcoin for 2 years now and has been a performant investment to buy in to at basically any point in the last 15 years except 2012.
The whole "coronavirus is affecting out civil liberties" stance is extremely harmful. The government is not out to get you in a pandemic.

If you want to argue that manufacturing can be open safely fine, and it's also fine to sue the county to force their hand.

But coronavirus restrictions save lives (stuff like mask wearing) and tweeting crap like "FREE AMERICA NOW" is extremely unhelpful. We should be arguing about the exact way in which government intervention can be used to reduce the spread.
I suppose y'all pumping this story are aware this concept was already started by someone else? Which probably makes sense, given the pre-loading of key terms "stp tring mae har eas" in this new user's post.

https://medium.com/swlh/stop-trying-to-make-everything-easy-...
Why would they switch? JPM isn’t going to prioritize them.
> "We become what we behold. We shape our tools and then our tools shape us."

I was having a conversation with a friend last night about how he thinks most people are largely aware of how news outlets are "fake"/"liars" and that is a good thing. And that that is the first step to having independent, accountable media.

While I don't disagree with the sentiment. If the new guard is using the same tools (high-speed internet, TV, video, Twitter) they are destined to reach a similar equilibrium.
That we do. I never got a contact with Hussein, but did have the (surprising!) pleasure to find out that the Argentinian ham obligingly swapping bands all the way from 20m through 17, 15 and 12m to give me a couple of new band countries as I got started on HF in 2002 was no other than former president Carlos Menem.

Had no idea until the card arrived; on air, he’d described himself as a retired official.
Definitely not Tesla nor any private company
> Exactly like a web browser.
>
> “Only a portion” meaning your entire React application! The native parts are the RN framework, any native libraries you’re using, and any native code you’ve added yourself.

Exactly, in the sense that JS is a hosted language in both scenarios, but that's pretty much where the similarities end.

In a web browser, JS is the programmatic interface to behavior after the HTML and CSS are rendered. With React, a function of props that returns a JSX data structure is a declarative-ish interface to additional JS behavior. It's JS all the way down to the renderer.

With RN, JS is an interface to a lower level UI API on the host OS. A function of props that returns a JSX data structure is a declarative-ish interface to a bridge to that API, which performs the actual work.

It's hard to visualize the difference when just thinking of a static output, but easy once you start to think about user events. E.g. there is no `onPress` in the JS bridge for these APIs.

All of React is JS. A substantial portion of React Native, itself, is native. That's the difference.

> What RN brings to the table, as compared to a browser, is a different layout model that’s simpler than the DOM and maps a bit more closely to native widgets.

That's... maybe part of what would attract a dev to RN, but certainly not all of it. It also brings actual (not just close) native UI, with all of the performance and UX expectations that come with that. And it brings the ability to implement performance-critical logic in the native environment while sharing a lot of the rest of your logic with code for other environments.

> It also has APIs for sending messages back and forth between JS and native code. That’s also possible with WebViews on all platforms, but RN has a more consistent API (at least on the JS side), so a decent amount of native bindings have been written by third parties.

If I'm not mistaken, that's how RN works. (I could be mistaken.) In any case... that capability is hardly attractive unless the API is not just consistent internally, but with APIs on other platforms.
so you're saying "it's a security, but it shouldn't be treated as security because security law forbids <enter activity here>", which means you want to break the law.

they tried to break the law so it's not allowed. i don't see a problem here
(RTB) Identifying and fixing issues holding your render rate back
i just felt like i was in the matrix for a little bit and that was ok for me :)
I know this doesn't really add much to the discussion, I just wanted to let you know I really, really appreciate HN over other sites for comments like this. Ones that help you learn something new in a really intuitive and on top of that "non-condescending" way (for lack of a better word I can think of). Thank you!
If you're not familiar with the JVM, I think this is a big ask for most people as far as ease is concerned. I have created a template on my github to use clojurescript with your typical NPM setup that would allow you to get started right away. I know of no equivalent in the JVM world mostly because of how tightly Oracle controls the download experience of the JDK.
Flight simulators map a lot of inputs to the keyboard. Is it feasible to fly while using a VR headset? Can motion controls be used to interact with the cockpit?
Cut and paste. I have three kids and they span a broad range of ages. I feel lucky to have a dedicated home office with a door that closes, but that doesn’t stop the constant interruptions from my kids. I can only imagine the global destruction of productivity that is happening right under our noses.
Years of Kerbal Space Program have prepared me for this moment. Almost felt easy, what with RCS thrusters that were actually balanced and not spinning me around when trying to translate (or vice versa), and having already been put in a stationkeeping orbit. Just needed to line up rotation, then Y/Z, then put X+ in the red, grab an early morning beer, come back, and make some final adjustments while slowing back down for contact.

If this really is the same UI used for manual docking, I'd be a bit worried about the lack of visual feedback when translating forward/backward. I guess in a real Dragon 2 you'd probably feel the RCS thrusters, but without that it's pretty jarring.
I think I'd react differently to every kind of stimuli were my spouse not with me.
This is a very American way of looking at things. In many countries singles live with their parents and families live in apartments and the country is not so vast and big so your social circle can go with you all the way from school just because they still live around. So the level of isolation and space can vary and not necessary depends on the parameters you have mentioned, however in the individual level it is pretty correct, the level of isolation and convenience will dictate how happy a remote worker is. Personally I have found that a mix of 2 days at the office and 3 at home works the best for me.
Stop Trying to Make Everything “Easy”
It's almost like people want a new markup language for defining interfaces that isn't based on JavaScript.
Your mistake here was not pitching the idea to someone more senior.
I have looked at the patch, this is a huge patch file that includes lots of changes, this is not a patch that will ever be reviewed as it's not the standard that is expected from kernel developers: small patches that do specific things.

My guess that it comes from a person who is posting a patch for the first time to the mailing list.

attributing this patch to Huawei doesn't make sense, and if they really did want to introduce a backdoor I'll only assume that they would have prepared much better patches.

these kind of one time submissions are most likely to be ignored in the mailing list..

I think it only got attention because someone saw Huawei in the headline.
That itch you're feeling is the itch I feel when I write in a LISP. Other programming languages make up too many of their own rules and get in the way.

But those are just feelings, and if you forget that, you'll bring yourself into a manic state. heh.
>> If we stopped making it a game, without points to earn and rewards for points, people wouldn’t cheat.

I think the OP is saying that if the "reward" for education is that you know more -- and that brings it's own intrinsic value on a cultural and personal basis -- then there will be no need to "score points" on any test or report card. Therefore, no "game" necessary. And that follows that there will be no cheating (why would you cheat if you, and your culture, are happy with the reward of education in and of itself?).

imo, it's will take a quantum leap for us as a culture to reward education for education sake. To the point that when you interview, simply saying, "yes I understand X concept" will be met with belief by the interviewer/teacher (vs/ now when you have to "prove" your knowledge by a game-able "score").

As for personally, imo, people can do it now: love to learn for the sake of learning. No point in cheating on the test if you're learning the subject for your own edification. The test will simply tell you where you are still weak.
Yeah, I think the author is actually a different form of 'superfan' (or cult member), who takes the stance that Dear Leader can largely do no wrong, and any mistake they make is due to the malign influence of corrupt lieutenants.

> While we obviously don’t endorse this type of language, it then led to a good example of a Tesla superfan feeding misinformation to Elon Musk, corrupting his feedback loop.

This feels like pretty standard cult behaviour. It's never Elon's fault; it's the fault of those other misguided (though ultimately righteous) believers. You get similar stuff with dictatorships and religious cults; Netflix has a rather good documentary on the Rajneeshpuram cult which shows this in action.
Books, under normal conditions, will not decay by themselves either. However a librarian is still very much needed to preserve and organize them.

The main issue is that HTTPS as it is developing right now is the antithesis of HTTP1. Everything that HTTP1 relies on is defines as bad by HTTPS. Either we change the direction of HTTPS or we drop HTTP. We can't have both.

Of course, if the server is up and connected to the internet, it will always be accessible by browsers that can be configured to ignore the missing HTTPS features, as it is now. But as I said on a different comment we should not rely on this being here for much longer.
+1. Did a lot with LDAP auth in an all-linux environment but AD is much easier, IMO. I'm not even much of a Windows guy, but the pools documentation/youtube vids/number of people to ask the question to are way deeper.
Huh? I'm talking about what would have been the Saturn
> Funny how this was never an argument when HTTPS was forced on everyone (to solve the problem with JavaScript being insecure),

This misunderstanding is where your argument went off the rails: people wanted HTTPS because they are sending data over networks which aren’t perfectly trustworthy. Starting in the late 1990s there was string consumer demand to feel safe entering credit cards and other personal information even if the site used no JavaScript - our household-name clients expected it even if they only used JS for mouseover effects. That was before WiFi became common, too, and people realized the risks of letting everyone at Starbucks see their information.

DNSSEC has no equivalent because it took so long to be adopted that it offers no meaningful user benefit over HTTPS, and it’d need to be a substantial win to balance out the poor user experience and implementation challenges.
I have heard for decades how Lisp is transformative, how just having learned it, even if you leave, you will never look at things the same way again. Like having served in the Armed Forces.

Every so often I get interested in Lisp, but I always run up against the same conflicts. I look for something that I can run in Windows that has a reasonable set of libraries and then immediately stumble upon the Crusades. You know, the religious wars you saw with emacs vs vi, wars that used to be fought over various Linux distros and window managers, that you will now see about different flavors of agile or whatever. I am quite sure that there are religious wars being fought in the territories of Javascript frameworks that I've never heard of. These wars so often seem to leave the territories barren, the original objectives cloudy, and the participants scarred. What was this good for, again?

Anyway, every time I encounter these things I end up asking myself if I have the knowledge to pick a side in whatever war and if joining up is going to actually provide a solution to the problems I wanted to solve using programming, decide I am neither fit nor armed, and back slowly out of the room.
> How to best handle styled-components/material-ui/other library in ts environment?

I’m using Blueprint 3 in TS environment and it’s really nice to get feedback about, say, wrong props passed to one of its styled components right as you type.

> My experience with typescript has been cumbersome with these libraries. A lot of time is spent figuring out what ”types” to return. I find this very difficult in most cases and not fun at all.

Whether your code is statically typed or not, you generally have to be aware of which data structure goes where—otherwise it’s easy to break things.

When code is statically typed, most things break at compile time, enabling your IDE to give immediate feedback. I find the flow much more pleasant if I don’t have to hunt down runtime errors resulting from using a library (BP3 or anything else) in a wrong way.

There is some upfront effort in specifying types explicitly where compiler can’t figure it out or does so mistakenly; how fun that is might depend on your personality and established habits. In addition, I believe it heavily depends on tooling—I like using TS in VS Code environment, but TS with Vim (which I’ve been using for many years) was somewhat of a hell.

Once in a while I come across an obscure library without TS typings, in which case I would generally provide a `.d.ts` file for it, starting with a catch-all `any` type for its exports, later potentially specifying it further if useful and feasible. This is by far the least fun part.
That font has some unique characteristics (such as the lopsided S and 8). It's not like the Signetics based font from Apple I/II which is very basic, for example.

Also if you look at all the ways letters and numbers have been drawn in C-64, NES, Genesis, and SNES games; there's lots of room for creativity and design even in an 8x8 space.
You'd have to convert them, but you could try a truetype version available here: https://int10h.org/oldschool-pc-fonts/readme/#px437
My favorite illustration of this, is a humorous story that I think actually started in the late 1980s, called "The Parable of the Toaster":

http://www.solipsys.co.uk/new/TheParableOfTheToaster.html
Indeed, I'm hoping that it ends up in movies so they finally have actually relevant visuals. Someone send this to Hollywood.
Apple plans to bring employees back to justify the investment in new campus
For all we know this could've been an Enders-Game-esque "simulation" with actual astronauts' lives in our hands.