skysight-inc/HackerNews huggingface dataset:
> There is another use case that is less emphasized here. sbang also lets you pass arbitrarily many arguments on the shebang line. If you do this:

Most often when calling programs with a shell script it is recommended to make use of env to find it.

Like...

#!/usr/bin/env python3

As in the limitations link above, env is pretty much everywhere, and when it isn't, you're probably going to struggle anyway to make anything portable to those systems.

env actually has an in-built flag for ensuring you're passing arguments.

#!/usr/bin/env -S python3 -m http.server 8010
United Kingdom lights up its unusual fusion reactor
That's ridiculous and unconstitutional.
Yup. I also seem to remember studies showing that if the reward/punishment is given randomly, it strengthens the Pavlovian response.

I plan (if I ever do this) to program a decay over time, starting at 100% chance/zero seconds, and moving to lower chance and higher random time interval.
Yes, that's how I remember it being explained. But what sort of proof could correspond to a non-standard number? It seems like it would have to be rather strange, but if non-standard numbers aren't infinite, how can the proof be infinite?
I think that is a fair point. It is partially answered by whether a grant was received, but only partially.

On the other hand, data sharing protocols mean the data is going to be made available, so I think that probably addresses that issue.

The problem with pilot data is that lots of things can change in the course of running the pilot; tweaks of the experimental protocol, bug fixes to code, etc.
Tried that. It hit us far too often.

The cat invades the same counter space where we cook and do, well, everything.
A great thanks from Hong Kong. Fight we will with Soviet Union 2.0.
The $6M probably only comes after delivering the product.

$3M might be the what they need to get strong manufacturing going. And it looks like they money comes with a COO and some strong connections. It may be a smart move by the founder to get what they need while giving up as little equity as possible
Back in the 80s, the two programs you ran on a PC clone to confirm if it REALLY was an IBM PC compatible was Lotus 123 and Flight Simulator.

You can now run Flight Simulator in a freakin' browser:

https://archive.org/details/msdos_Microsoft_Flight_Simulator...
I’ve personally never thought I was doing functional programming with React. I think of it more like borrowing from the functional programming paradigm to gain better control over state and corresponding UI behaviours and appearances, at least where it’s useful to do so, and otherwise it’s not very functional at all. It feels like a very borrowed term. There is heaps of non functional programming involved in React code bases.
I agree that everyone should vote for the most solid possible result.

If not with your candidate preference.
When in person, I rarely interrupt. But on Zoom calls, I'm accidentally interrupting all the time. I think it's the slight delay that's the problem. I end up mis-judging when my time to speak is.

Interruptions on video calls are also significantly worse than those that happen in-person, because the presence of a louder person's audio will often completely erase the audio of anyone who was trying to speak at the same time. At least in real-life, you can still catch what the quiet person said amongst the noise if you were paying attention.
See about info
Having a concrete plan with estimates is important. Assigning some "point value" to them, which variously means "complexity", "man-day-equivalent", "man-sprint-equivalent", and possibly others depending on (arbitrarily applied) context and individuals involved, is the gateway to micromanagement.

It's entirely possible to provide meaningful estimates of both complexity and time-to-implement without resorting to story point formulations or any particular PM framework. "This will take about 6 weeks and has a few dependencies and unknowns that make it moderately risky to take longer." Rephrasing that as "This will take 3 sprints and has a story point value of 8 points per print" doesn't add any value, except from management's perspective as a way to put some "objective" quantification to the problem of estimates and deliverables.
That's a popular cargo cult, but you will have to apply UX and engineering considerations to answer the question.
Self-domestication theory: Humans Domesticated Themselves
IMO if you aren't world weary, cynical and misanthropic by 40 you are lying to yourself or blissfully ignorant.

I've been there buddy. Things have turned around for me, but I'm living life as if the industry will crash or computers will learn to program themselves. Moved to NV to avoid taxes, only buy what is on sale at Costco, use pay for-what-you-use services (Ting for phone and Metromile for insurance), use Libby App for digital ebooks and audiobooks. I could go on. It's really quite fun to live a frugal lifestyle.
Publishing the data in public archives should be enough, no?
Atari FujiNet
> Just give women money every month. A Basic Income only for Women. Maybe 2-3 grand a month.
For those who don't believe offshore4432: As this video (https://twitter.com/JackPosobiec/status/1322646326807568390) shows, the black Trump-supporter vehicle was already close behind the vehicle in front of it before the white Biden vehicle moved into its lane from the left.
I’ve been using hooks for a year, and they are awesome (once you get used to it). I can write the same component in 1/3 of the code in a functional style.

The debugging story isn’t great if you expect to be able to use breakpoints.

It’s all about putting console.log wherever really.

The beauty comes in the speed of coding, I can move so fast that I always build a mock version of my api layer and can have the entire UI done rapidly.
How I Worked from Home Abroad During the Pandemic
>I think you’re getting downvoted (I can’t) because of your first statement.

nobody is reading this stuff anymore. It's just you and me. You have over 800 karma. You CAN downvote and you ARE. There is no theatrics, you're just voting me down, stop.

>I do not consider sqlString to be impure.

It's not "impure." But it doesn't change the fact the way you you write your SQL has imperative side effects within the database. You can trigger a deadlock in the database from within your pure haskell code if you wanted to.

It's not a philosophical thing. You absolutely have to consider imperative side effects even in your pure program.

That is reality. The philosophical part is whether you can call it "pure" or "impure."

>If you want to think that sqlString is “impure” outside of the context of execution (i.o.w. a Monad...) then sure, that’s valid, but so is my assertion that it is pure since it is referentially transparent. It exists in the void as just another string until the programmer decides to make it into an IO value that’s executed for its impure side effects (the only reason we do anything in computing, right?)

Yeah so? I never said your assertion was wrong. I never said that it was "impure." But I did say that you have to account for side effects in your program. Example:

sqlString = "SELECT * FROM ASKDLSADSA DFLDSJFL DLSKFJSDLKFD SDLFKSDJF DSLKFJSDF SDFKLSDFJ "

Is a valid "pure" string, but will trigger a syntax error in your database. You have to account for all of this within your "pure" program. Haskell eliminates side effects in the category Hask but does not actually eliminate the need for YOU to deal with those side effects. This part is an objective fact.

Here's a better way to put it. For this specific example, the impurity of the real world leaks into your pure haskell program by affecting the contents of the string. The type itself can be seperate from the real world but the contents of the string reflects knowledge and impurity from the real world.
Or something like federated platform which supports federated feeds, federated messaging, federated moderation/spam filtering. The idea is to have all the different aspects of the platform federated separately, and have all the aspects under control by the user, they choose who to get services for each aspect from, and can set up their own stuff as well. The user can move on from a service provider for that distributed platform if they don't like it any more.
>Meanwhile a convoy of armed Trump supporters literally tried to run the Biden campaign bus off the road.

Surrounding the bus, while keeping to all traffic laws.

And before you say "But what about the Biden car behind the bus?", as this video (https://twitter.com/JackPosobiec/status/1322646326807568390) shows, the black Trump-supporter vehicle was already close behind the vehicle in front of it before the white Biden vehicle moved into its lane from the left.
So why not do debt financing?

I do agree that it seems to be for the connections, and for all we know they gave up 5% for that $3M.
I have on my GitHub what I think is a simpler variant of this.

I implemented a dual architecture wine, that runs the wineserver natively and has native EXEs available, but allows running x86 binaries.

It (mostly) doesn’t share any pointers between architectures so there’s no thunking at the windows layer. It’s basically a very small patch to wine to allow wine to handle multiple exe architectures at once, and a method of compiling both a native arch and Intel wine into the same prefix and picking between them when an exe is executed.

For performance I have a method for thunking alsa and OpenGL to native libraries at the Linux layer, as well as an ABI compatible desktop OpenGL implementation using ES as the backend.
This reminds me of one of the _very few_ bits of freebsd userspace that are better than gnu and was only adopted by gnu much later (8.30, the version first in debian buster, I think): `env -S`.

`env -S` introduces an option parser/splitter for #!-lines which can do just about whatever you need (however, it will not work around over-long lines like sbang proposes to do)
I'm not a Tesla owner, so I have no idea what the context for this UI is, but toggles are hard. I think a good rule is always follow the platform convention and if there isn't one be consistent.

NNGroup just did a post on toggles that is nice: https://www.nngroup.com/articles/state-switch-buttons/

I'd say even NNGroup doesn't really get it right, however. Raskin, The Humane Interface, p39 is a much better discussion.
I unironically like the default Groove Music player on Windows 10. It is simple, extremely easy to use and just does its job without nonsense.
In some groups, you'll never get your turn. As an experiment, I once counted how many half-second (or more) pauses there were in a meeting I had to attend at work. In half an hour (the duration of the meeting), there were none.

On the other hand, I agree with you. I see some people saying "interruption is ok". I disagree. It has to be an exception reserved for keeping the meeting on track. The normal course of things should be that everyone gets their turn to say their bit or to "pass". People who aren't able to wait for their turn or take too long typically will understand if you/the-manager have/has a brief chat with them later (or the person who called for the meeting should bring them back on track).
Applying the author's "parse, don't validate" concept, I think you'd parse the user input into a "safe HTML" type with a definition that excluded the language features that enabled those attacks. It might not be worth writing such code for a single project, but I could get behind a library that did that.
I’ve done that, man (Cheech & Chong reference), but with different languages and contexts.

In my experience, debugging threaded stuff is the worst. Remote-machine threaded debugging (like you see with driver and embedded stuff) makes one wake up screaming for years.

In the eighties and nineties, there was this famous low-level Mac debugger, called “The Debugger V2 & MacNosy.”

If anyone remembers that, I may have just reawakened trauma. Sorry.

The running joke was that the only people that knew how to use that system were the ones personally trained by its author. I never really got the hang of it, myself. I tended to use MacsBug a lot.

My favorite debugging tools were something called “In-Circuit Emulators” (ICEs). These were big-ass machines that had a PGA that you would plonk into the processor slot, and they would emulate the processor. You really could dig out those nasties with an ICE.

Processors are way too hairy for that, nowadays.
Herman Cain’s life and death were more complicated than that
Actually, you can make a more general statement with a function f(x,y) = (w,z), where the proof allows you to verify that this expression is valid for an undisclosed x or/and an undisclosed w
Sentence length is pretty arbitrary considering that in many cases the choice of whether to insert a sentence-ending full stop is arbitrary. Almost any period can be replaced with a semicolon. And what should you do with a clause that starts with "however"? Should it be a separate sentence, or attached to the previous one with a comma or a semicolon? So I've never considered sentence length to be very meaningful.
Always enjoy your perspective from the trenches!
This is part of a larger group:

https://archive.org/details/softwarelibrary

137k+ games for many software platforms including the ones for MS_DOS.
KA Stroud is great :)
"A deal is a deal, no matter how raw you realize yours is."

Seems like a useful philosophy to keep your workers (or, by analogy, a populace) in line.
Appropriate for the election.
Any specific mantras ?
You could add the domain to your adblocker's block list.
Kind of a side point, but the video lectures are already available for download from links on the OCW site, probably with one less generation of compression than on youtube, including from the Internet Archive:

https://archive.org/details/mit_ocw
The Internet Redesigned
You, sir, live in the bubble.
Atari FujiNet – Internet and more for the Atari 8-bits
Everybody makes state management hard.

All you need is a simple layer to make your typed api calls.

export const ApiService = {

return {
getSomeStuff: async () => ...,
postSomething: ...,
etc,
};
}
I have many friends who speak Sourashtra. It is always exciting and interesting to see how much they love their language and want to keep it in day-today interaction in house hold. I think any language that is spoken in kitchen and in dining table will survive long. Sourashtra will to!
Seriously? It's incredibly slow to boot up and behaves really weirdly, also it seems to have drag controls even with a mouse which makes it a jarring experience to use. Immediately got Foobar2000 after using it for a bit.
This is an approach I've used in C#/Java - you have 'UnvalidatedFoo' and 'ValidatedFoo' types, UnvalidatedFoo has a public constructor, ValidatedFoo has a private constructor.

The only way to acquire a ValidatedFoo is to pass an UnvalidatedFoo into ValidateFoo(). The outer layer of the code deals in UnvalidatedFoos, but past that point you must have a ValidatedFoo to continue.
^Glee show fans
If they go to the grocery store that's hundreds of people they contact potentially.

Its odd that you believe that only contacts and secondary contacts are susceptible.

With an natural r naught of three and the and the fact that it stays on surfaces for days...it's just a matter of time until another outbreak happens.
I imagine all that is pretty easy to tolerate if Facebook is paying you a $ton to do so, and even more to invent it.
Exploding Frog
>The effect of this was predictable (indeed I've been saying it for about two decades): MORE people become anti-immigrant. (the Sweden Democrats are probably the biggest party now, if there'd be an election today)

https://pbfcomics.com/comics/deeply-held-beliefs/
One thing that also sucks about RISC-V is that basic bitwise operators aren't in the core ISA; they're an extension.
windows has visual studio, whose debugger is light years ahead of gdb.

to capture syscall, there are procmon/regmon/sysmon from sysinternals, that are also light years ahead of anything available on linux and come with an amazing UI.

for ldd I am not sure what it would be for, windows is not quite like linux when it comes to dynamic libraries. there is depends.exe from visual studio and there was a nice import analyzer tool I forgot the name.
Statement by Jeremy Scahill Regarding Attacks on the Intercept and Journalists
Well, people who were going to classify me based on race and what it says for "party preference" on my voter registration card aren't generally open to being convinced of anything, in my experience. I've given both variations of the answer before: that I'm so white I'm provably related to a 17th century American colonial governor (literally true); or, that it's none of their damn business. As far as I can tell, both have had roughly the same effect, which is little to none.
True for most, but it wouldn't be so great on the spreadsheet one due to the data structures involved. c# would be my pick.
Since all indian scripts besides the Urdu Nastaliq were originally developed to write sanskrit, the transliteration is indeed perfect!
I think something we don't want to hear is that maybe we dont need non-curated, non peer approved, non verified contents and comments in life.

If newspapers have not evolved before the internet into just readers sending their mails it's because of the ultra low quality of nobody's view on anything.

Social media made us believe they were helping us share opinions to get the conversation started more directly, but in fact they just wanted to sell us toothbrushes while we were addicted to the fast food equivalent of journalism. Then it influenced journalists as well who dont know anymore how to lower their quality to get us to read them, now. Again to sell toothbrushes so they can survive.

And yes this comment itself is obvious, low quality, self contradicting too
I've noticed these interruptions far more from people wearing a wireless headset than those wearing a wired one. The additional latency is significant, especially (but not only) over bluetooth.
yeah i dunno how people live in the PNW, i was totally depressed the 8 months i spent in vancouver BC!

it would be kind of cool to have calendar software which has a "bad weather" feature: correlate the 10-day forecasts of the required attendees, and pick the least sunny timeslot. mind you i'd also want the software to keep track of how frequently i've hiked, because even a sunny day of meetings is OK after a couple days of hiking. gotta mix it up. i'm sure this bin-packing problem has a reasonable enough solution :)
I evaluated it vs multimate and decide to use later. I think it is too shocked to be used by the typing pool that use 8.0 inch floppy wang machine. Unfortunately it did not play out when I found myself surrounded by 20 pretty typists, no not lovely standing there but attacked me like hell. I did not aware the change is not just the pool.

“Who are you that changed my word processor and typewriter! Who are you?! What is that rubbish computer you are giving to us.” Given that they are serving all the top bosses in the organisation ... (drama at the last minute ... paper nit typing because the IT dept gave this ... I can imagine the sad face sitting outside one’s office abd who is this computer thing ... we are not accountant we use pen and type it out ...) I have to give up. Wang pc with wang software is the maximum I can do. Can’t remember I get that far.

At least I have not sell them windows 1.0 the tile design in retrospect. Typist scared me in my whole career. :-(
The way to ensure type safety of new types is smart constructors: https://wiki.haskell.org/Smart_constructors

You have a constructor function which does the input check, and it lives in a module that only exports the smart constructor, not the type constructor. It doesn’t matter if another module deconstructs the type, since the input was already checked.

For example:

newtype Username = Username Text

mkUsername :: Text -> Either Text Username

mkUsername t = if t == “” then Left “Username cannot be blank” else Right (Username t)

If you don’t export the constructor for Username, and only export mkUsername, it doesn’t matter if someone deconstructs the Text from Username, because it must already be validated.
If you’re suggesting just putting in a latex header and footer and writing your text in between then latex is not relevant.
I automatically distrust this just from the name. I know what holograms are and that is not it.

It looks like it's just a full body video conference with a blank screen behind the person.
The article gives some examples why smart constructors don't fully solve the problem in the section "Newtypes as tokens"
Metrics Relation Graph Helps DBAs Quickly Locate Performance Problems
Super cynical interpretation, but an interpretation nonetheless.

A more positive view: The story is about celebrating the good (his brother/son came back!) and not focusing on perceived injustices. In other words, gratitude.
There is some issue with priority... modern Shudh Hindi (the standard literary dialect) only dates from the 19th century when it was essentially invented by a number of Hindu intellectuals mostly in Benares. Urdu is older, along with the lovely Hindi dialect Braj Bhasha (both dating from the mid 16th century onward). The earliest Hindavi writing is Kabir, from the the 13th century. Also, Panjabi is a complex relation, since it's also the same language, filtered through the gilded pen of Guru Nanak.
>Does this mean thath the polls for this presidential election are even more wrong than they were in 2016?

Yes.

The final Democracy Institute poll (https://www.express.co.uk/news/world/1354506/us-election-202...) that came out Saturday predicts a Trump victory contrary to most other polls, because it found that 79% of Trump voters do not tell others that they support him, while only 21% of Biden voters are shy.

USC's poll predicts a Biden victory, but when experimental questions are asked to figure out how those polled really feel, it forecasts a Trump win (https://dornsife.usc.edu/news/stories/3338/experimental-poll...).
“Advice” not “advices”.
Don't overlook that it's pretty recent that our beds are comfortable and our teeth don't hurt. Men not having extra children and wives to compensate for watching them die is pretty neat as well.

Pick your time post ww2 otherwise forget it. Even the roaring 20s were total and utter garbage compared to when penicillan existed.

In the west, Boomers did pretty well. When they were at their horny age there was this great new pill and STDs were all treatable. We really should rename the baby-boomers the boomer-bunnies. ;-) Probably had it the easiest economically, no world wars.

We sleep on the beds of emperors, kings and queens and banquets from the 4 corners of the earth is our norm.
> The researchers also surveyed the scientists involved to find out why so many animals were missing. The most common reasons they gave were that the studies didn’t achieve statistical significance, a controversial but commonly used threshold for publication

I do not come from academia so I may be mistaken, but why would you publish a non statistically significant result? There seems to me there's a very distinct difference between "this is most likely true" and "this might be true, we can't say yet". The first is useful, the second adds to the chatter needlessly. Some may say that it promotes further research, but what if a false weakly proven result misleads instead?
Put quotes around the site. I learned this recently after years of using. Helps sometimes.

youtube-dl.exe "https://vidsite.com/foo?bar"
Yeah, I don’t find those points very convincing. Obviously if you export other ways to construct the type, it doesn’t work...

It’s like saying “if you forget to sanitize input it won’t get sanitized.” Okay?