skysight-inc/HackerNews huggingface dataset:
The REPL in Clojure (and other Lisps) is far more tightly integrated with your editor environment. When I wrote python, I would do what you're describing: test something in (i)python, write some code, rinse, repeat. With Clojure, I Write said experiments in the same place my code already is (and will end up). Making that feedback loop 10x tighter makes a world of difference in UX: I don't think it helps insight to equate "typing things in irb" with "mashing C-x C-e until the expr does what you want".

(I have no idea if an equivalent workflow exists in Elxir, but I've never seen it been done that way: just like people use ipython, they use iex in my experience.)
i'd say this is the key, not Dr. Fauci:

>The work in question was a type of gain-of-function research that involved taking wild viruses and passing them through live animals until they mutate into a form that could pose a pandemic threat. Scientists used it to take a virus that was poorly transmitted among humans and make it into one that was highly transmissible—a hallmark of a pandemic virus.

Couple that with State Department expressed concerns about 4 years ago about the safety procedures at those Wuhan labs. Personal conspiracy theory-wise - I'd also add the willingness of Chinese death row inmates to donate organs while alive. Compare to that getting infected with a SARS type virus probably would look like a great luck.

In general it reminds the Chernobyl experiment - lets take the second safety system offline and test how the first one would perform. Well, in science any result of experiment is a result, and in both cases we did obtain the results.
I think org-mode is the best of all these worlds. I can breakout into latex where I need to, or can export to latex. I can export to html5 and css3 with custom templates, and can run code in blocks. I just wish other editors would work on org support because it feels like jupyter will eat a lot of the cake that org mode should be getting.
> I fail to see how the state not enabling bigotry in services offered to the public constitutes oppression.

If you really can't see it, there has to be some kind of observational defect in your model of the world. Forcing people to do work they don't want to do is bad because compulsory labor is bad. It blows my mind that this is not immediately obvious to people who live in a society that (reasonably) vocally opposes slavery.

Also, "not enabling bigotry" is an insanely stilted way of saying "forcing people to perform labor they don't want to".
Fortunately, the vast majority of clients are not in those industries!
This measured race, it did not measure discrimination even by correlation let alone causation. It is not useful as any sort of evidence of discrimination.

The closest thing that can be said is that StackOverflow is biased towards western English speakers, which correlates well with white/European.
> I believe the sentiment most people are expressing when they say you cannot separate the "trip" from the beneficial effects is that they both have the same origin or causative agent.

Perhaps I've swallowed too much propaganda, but this seems like a testable belief. What if it's not true? What if psychadelic-assisted therapy is just one of multiple viable psychadelic-assisted treatment approaches? What if people want to be able to use store-bought neurotransmitters to regulate their minds without going through the trip-induced emotional or spiritual experience that they may not want?

Would achieving a deeper understanding of the relevant neurochemistry and allowing people to make their own choices be so bad? Would more treatment options be a negative?
> ... and can be compiled into finite state machines. ...

I am not a big fan of this argument without a 'but'. It is usually overlooked that the finite state machine can become exponentially large (=totally unusable), because sets of non-deterministic states are used for deterministic states. This caused me major trouble in a project where this effect was not noticed during the design phase.

I find this important to stress because the finite state machine can usually be constructed without problems (e.g. by the flex tool), so this property of regexps is undoubtedly useful.

But sometimes, it may explode on you.
I think that's what killed them.

https://www.wsj.com/articles/the-aclu-retreats-from-free-exp...
When you say "use a REPL", do you mean something like CIDER/SLIME, or do you mean something like ipython/irb? I do REPL (that is: CIDER) driven development all the time, and most of my experiments turn into tests quite naturally.
Biggest UK solar plant approved
Maybe just the "tight community where there's follow up and support" may help.
Ok, doesn't change the fact that not adopting vote by mail as a primary method is not voter suppression. I'm not concerned with intent in this case. It also doesn't change that vote by mail has a larger attack surface than in-person voting and is therefore less secure. If voting accessibility is a problem, expand early in-person voting. Given the current climate, I don't trust that either side will not try to unduly influence the election using any means they think that they can get away with.
Using a scripting language to format text always seemed insane to me. People love LaTeX but it's nowhere near as intuitive as writing formulas down on a piece of paper. Having two panes, one for the output seems also very hacky and unintuitive.

Instant feedback in one view, typing at the speed of thought should be the goal, and if it means a new paradigm I'm all for it. Imagine it was something you could actually program with; those gross inline math functions would suddenly be so much more parsable.
this article is paywalled.
Micorsoft loves OSS as much as they are able to profit off it. Did they spend $7.5B buying github for the love of ideals?

And sure enough they understand OSS for what it is better than anyone else. Thank you, creative person, here is your exposure.
We've been working on something in this space called Violet: https://violet.io. At the core we're a headless API that connects merchants looking to sell their products natively in new channels with the developers (https://violet.dev) who are building those channels.
So: The error seems to be that the keyboard assistant expects qwerty. It must have run some time, and it wanted me to press the button next to the left shift key, which on svdvorak is "ö". I had to delete the library/preferences/com.keyboardsomethingsomething and redo the keyboard identification and press the "<" key (which on svdvorak is about as far away as you can come from the ö key).

Now it works.
I think TDD purists seem to see no point in unit tests that are not written before the code. That is, if the unit tests were not used to drive the design and implementation of the code under test, they are useless. I find a lot of value in the test driven approach, but this purist view does not make sense to me. I sometimes, or often, write the code first (being able to do so in a repl in languages that support that is even better), when I find it easier to think through the problem in terms of implementation rather than expected output. Sometimes I will then comment out the code and begin writing tests and re-writing the code to pass them. I think that's what he should have done here; he could have benefited from playing around in the repl, but reduced his fear of refactoring later on by having the tests.
Interesting. When I did some internships at Los Alamos (LANL) my lab neighbor was a theoretical physicist. He used Word and referred to LaTex as the Fortran of word processors.
I know that there's arguments for and against classes and functions. In recent years, I've come to love functions. But they are both tools that have cases of appropriateness.

However, I think a lot of people are looking at classes the wrong way.

In this thread, I'm hearing that classes should encapsulate functionality. While this is an aspect of classes, I don't think it's the main use case of a class.

A class should represent a type of state. That is, if you create an instance of a state, it should only support the attributes and default properties that are defined for it. This is mainly for shorthand(there's usually a syntax to build instances of classes) and for clear documentation. At a lower level, the availability of a class construct makes it possible for AST parsing to do interesting things to your OO code, although I don't know how common that is outside of JavaScript. If JavaScript didn't support class syntax, it'd probably be more difficult to implement things like decorators, both in terms of the Babel plugins that support it as well as future native syntax support. But I digress.

The way I see it, a class should be responsible for holding a mostly fixed set of attributes, setting defaults for those attributes, and have properties that compute off other properties.

What doesn't belong in a class are methods that do complex things with other objects and class instances. If your method does something complicated that affects outside state, it's time to extract it to a function that takes a context argument. This makes it easy to test your function without necessarily having to meet all the requirements of the classes you'd be using with it, and it makes the code more flexible because you can use it for other contexts besides a single class. (I know that you can use inheritance and composition to kind of do the same thing, but I think this sucks because inheritance introduces problems and composition just adds more code than just importing a function where you actually need to use it.)

More concisely, a class shouldn't be looked at as a module, or a set of related functions that do complex things, especially when not all of those functions rely on a state. That's the job of an actual module construct in the language. Classes have a specific job, which is to build an instance of a type. If your class has a lot of functionality that's not totally dependent on the class instance itself, it doesn't belong there in my opinion. Just because a class can be used like a module doesn't mean that it should.
It is infuriating how Pelosi seems to be the main person who really in the end actually wanted these surveillance powers: she should be celebrating a win here, not wishing that there were still a competent republican in office who would have helped her keep FISA.
That's actually an argument in favor of linear or affine types. In your example, you'd still get a new Wallet from that function, but the compiler would keep you from accidentally using the old one afterwards. That way, you can't make that mistake, but still get the benefits of immutability.
MacPorts does not force you to do that. Homebrew on the other hand pushes you strongly towards their precompiled binaries, and they have steadily removed customizability of what gets installed on your machine as a result because they don't want to shoulder the added complexity on their side (as they'd need to provide binaries for all the options…)
On the other hand, the person in India will relocate thousands of miles for practically any job, while the person in California will pretend that life is hard because of someone else's doing instead of moving to a place they can afford better.
The psychedelic effect IS the therapeutic action.
Perform threat detection on Suricata, CloudTrail, and GitLab logs with Panther
From principles: you want to minimize the left right action of your eyes/neck, to reduce fatigue, and not blast your retinas with a wall of white pixels.

One column of centered text with a non-busy black and white background looks great. For a while I read Amazon books like that because I put the online reader in an iframe.

Now I use a HiSense A5 e-Ink screen with a remote control for page turning and I couldn't ask for more.
I can see that happening at Microsoft for sure. There's no doubt legal would've been involved with the conversations and gave heads up to all people on the interview loop.
I mean, that's what they were proposing; LaTeX is "on top of TeX", and LaTeX is what they were suggesting should be fixed.
U.S. planning to cancel visas of Chinese graduate students
Virtually all open source licenses require at least the inclusion of the original copyright notice in all derivative works. Now, if the code itself were altered in superficial ways, but the structure and mechanism were essentially the same, it is kind of a grey area.

Regardless of the legal case, the idea that concerns of reputation or credit are irrelevant to open source work is a crock. People may be working on open source because they genuinely want to help others, but if you deny them credit for the work they did then you can very well expect the well of open source innovation to dry up pretty quickly. And for a company like Microsoft, reputation is exactly why they are contributing to open source in the first place.
Ask HN: Law enforcement and Non violent arresting protocols
It is clear that the way law enforcement all over the world bind people and render them immobile(by handcuffing and pinning people down)is really not the most harmless protocol.

Is there any other way to do it? Right now it involves 1. laying prone 2. Hands cuffed behind 3. Hauled upright 4. Made to move.

This doesn’t seem right. There has to be a better way using physics? The human body is not designed for this..esp if one is obese/overweight or inflexible.
Can someone clarify the title for me? I am not sure I understand.
Cron is such an important piece of your infrastructure. Are you sure you want to depend on a free service for this?
Gamemakers Inject AI to Develop More Lifelike Characters
Regularly yes, but it’s a small portion of my searches. Google as a company is something I want to avoid.
It just doesn't pop.

Can you make it pop?
It appears the entire app was written with vanilla JS. That's just an observation. I wouldn't have expected that nowadays.

The app is super impressive!
We should certainly scrutinize certain industries more than others, such as the auto industry or those who otherwise benefit from having the masses commutes.
A lot of the classic papers by Maxwell, Newton, Faraday etc. are available online. They look great but you can only imagine what a pain typesetting these used to be.

See, for example this paper by Maxwell from 1865:
https://royalsocietypublishing.org/doi/abs/10.1098/rstl.1865...
> An additional problem MBAs sometimes miss is that when you export jobs to contract orgs is that this accumulated institutional knowledge is lost—it’s no longer held in-house.

This. I have seen consulting companies keeping consulting contract only because the only guy that knew their system inside out was this single consultan that had been there so long that he became the effective sysadmin with the last word on everything related on the subsystem that he had been managing for years.
There's another side to this coin where remote meetings have some benefits. In my experience people tend to schedule fewer pointless meetings and are more likely to get the info they need over slack/email. I don't have to feel like I have to hide my emotional queues, like I can make a "WTF" face any time without fear of reprisal. I can even mute and say really fucked up things out loud to help me get through stupid things that are happening. Many shy people are more comfortable typing what they want to say into a group chat than they are saying it out loud, so in this way text based meetings can be more inclusive.

I suspect after an adjustment period that we'll reach an equilibrium similar to what we had before as far as effectiveness.

There is an interesting social phenomenon going on here which I think is often missed. The old world was designed around the preferences of the most extroverted people. Those people are losing that privilege, and I understand how difficult it must be. Honestly, I'm extremely introverted, and somewhat autistic, enjoy isolation, etc. So if this whole thing has bothered me a little bit, I understand it must feel like torture for someone on the other end of the introvert/extrovert spectrum. Hopefully we'll settle one a better medium that is more amenable to the median person than what we had before.
Irony is that if I want to shop online I have to use Google because DDG pretty much only shows Amazon.

If I wanted Amazon I'd just be on amazon.com not ddg.com, fellas.
There was an excellent discussion about this a couple months ago:

https://news.ycombinator.com/item?id=22207795
Started a 2 min daily newsletter about Bitcoin, free forever. Hope you like it
Actual user metrics will likely negate this in search scoring.
$ time units -v '2 feet + 2 meters' feet
2 feet + 2 meters = 8.5616798 feet
2 feet + 2 meters = (1 / 0.11679951) feet

real 0m0.009s
user 0m0.005s
sys 0m0.004s
You can have name collisions of functions with the same name, same namespace and same signature. But you can have nested namespaces, so namespaces are still the answer in c++.

In languages where those are not available or where you are forced to use classes anyways (e.g., java) I see no problem with classes-as-a-namespace, but especially in java there is no point in discussing "classes that should be free functions", too, as those don't exist.
In university I used to write literally everything in Latex. Papers, homeworks, notes, classnotes during class, personal stuff, everything and everything. All my math/CS professors gave us assignments/exams/everything in documents obviously written in Latex (some of my profs were even kind enough to give us .tex source).

I was taking this Geography class as a social science elective. We had a paper assignment, and my professor was talking about how it's important to submit HW in this specific format and that they'll give sample .docx file. At the time I didn't have any word processor on my computer so I just quickly asked the professor if it's ok to submit PDF in the same format as I use latex to do my hws. She was like "what is latex"? I'm not a native speaker so I thought I just mispronounced it and described it to her, and she was like no I don't know that you should write your paper in Word. I was stunned. I asked her how do geographers submit their research papers, and she said we just use Word.
Speaking from experience - not a bad idea.
Eh, my boss's boss not that long ago suggested that if I really want to quit, they won't have a problem replacing me. His statement is technically true, but then a new person would have to go through the same training and it would take time before they were competent even if they already had experience in the same domain. Remote does mean the pool of candidates expanded, which sucks for me as that usually means my salary has a potential to go down, but the overall skill set did not change. It is not that cannot be replicated, but it does require training, which most businesses avoid like a plague these days.

edit: But then I am in banking, which is its own little world.
The most important factor in this decision is maintaining separation of concerns between user authentication (identity provider) and network authorization (Twingate). Since we rely on an identity authority for access, if the user--or an attacker--is unable to authenticate themselves, we can't allow a network connection to proceed, keeping the destination resources safe. This is even more important for customers using an identity provider like Okta, allowing them to continue managing all of their users centrally.
You only lose deferred execution in this case because it didn't go far enough away from OOP and toward FP. For example, since Haskell is a pure functional language, it can be lazy by default, meaning the function-only version transliterated there will have deferred execution.
Using Python to load JavaScript packages into any website
"The room" has lost most of its meaning, hasn't it? You're no longer limited to working with people who live within driving distance of yourself, you can now meet super smart people from all over the world on lots of websites, talk to them, work with them, learn from them, get inspired by them.
> you're only looking at one side of the story

False dichotomy. Not only are there more than two options, looking to economists among others without medical training on epidemiological matters as though they should have equal standing is asinine. Dunning-Kruger applies here. As said before, might as well ask Mike Pence whether bloom filters are an effective relational database indexing strategy.

"There is a cult of ignorance in the United States, and there always has been. The strain of anti-intellectualism has been a constant thread winding its way through our political and cultural life, nurtured by the false notion that democracy means that “my ignorance is just as good as your knowledge.”"
– Isaac Asimov

https://aphelis.net/wp-content/uploads/2012/04/ASIMOV_1980_C...
Domain knowledge isn't always valued the same by those writing the checks, whereas 50% cheaper is far easier to quantify.
I used LaTeX a lot in college, but I'm gonna be honest - IF I could do the work in Microsoft word, I sure as hell would use word. Doing math in word with its built in math editor was incredibly fast, though at the expense of beauty, structure, flexibility.
Despite being supported, relying on browsers checking CT logs was never something that what going to be deployed at scale because, just like revocation lists, it adds a performance hurdle to every request.

Auditors and monitors are the real protection you get from CT logs.

You get the same problem with any form of DNS validation because you'll never get every little caching server to validate records.
the psychedelic effect is simply (so to speak) the outcome of shutting down your executive function (that one that creates your internal monologue and gives you the perception of the self) so that the rest of your brain function that normally are "kept together and normalized" become more accessible for analysis and introspection.

Psychedelics are not anti-depressant, are just a potent accelerator for discovering WHY you're depressed. The psychedelic experience is necessary to the therapy. If you ever did a dose once you would understand exactly what I'm talking about, it's pretty hard not to understand what's happening once you experience it, just as it is essentially impossible before doing it.
But doesn't this also mean that if enough people start echoing the right sound, like here in this thread and many others, it will start to reverberate in these VC's and startups' ears who then hopefully take these considerations to heart?
I'm not sold on the ledger-as-single-source-of-truth notion either. Blockchain is a solid technological choice for critical transactions that need to stand up to independent verification, but it's certainly not the only one. If it makes enough of a difference to turn these markets digital faster, I'm happy.

What I like is this notion that there are still huge, opaque markets that are extremely costly to take part in. And that tech can whittle them down to be very fast, cheap and easy to participate in.

We pay inefficiency and arbitrage taxes on everything we produce and consume. How many cents out of a dollar I spend on bread go to someone whose only value in the process is manning a phone or providing working capital? The sooner those two go away, the better.
What Shopify and Amazon Can Learn from Mimetic Theory
I miss Delphi. I miss Clipper Summer '87. I miss BeOS. I miss simpler times. Those were good times....