skysight-inc/HackerNews huggingface dataset:
> as usual, Lua-users provides some incite into...

(insight)

It makes me sad that Lua's refusal to standardize good ways to do things led to the language's primary resource being a community message board filled with back-and-forth postcard essays saying "I tried this and it didn't work. Then I tried this and it didn't work." followed by someone else responding "Have you tried this?" and then yet another person saying "No, that doesn't work either." It's absolutely awful, and I hate myself every time I land on the Lua-users site.

I linked to it in another comment, but http://lua-users.org/wiki/SplitJoin is a perfect example. The document starts with "split and join are two common string operators". Note the word "common"! Then it promptly throws up its hands at declaring a reasonable interface and proceeds to plow ahead for literally pages of failed attempts that don't work right!

Even your link to StringTrim, which at least doesn't dick around with a ream of implementations that don't even work, provides _15_ different obscure as hell implementations, many of which only differ meaningfully in performance on really stupid cases, and the clearly superior one is in C, not Lua, so you can't even use it! But Lua itself could have used it and saved everyone the headache!

People shouldn't have to deal with this mess for "common operations".
Why couldn't we evolve the ability to digest cellulose directly like cows, instead of going through cows?

My guess: grazing takes extremely long and so we let cows do the boring job of grazing outside all day then we quickly slurp up whe harvested calories in just a few glasses of milk.
I take 1-2 doses per month (in the 25 microgram range) with 2.5-5mg THC (via mint edible) and that has done wonders for me both in terms of mood, acceptance, and empathy towards others around me. I don't know if it will fix someone with severe issues, but for me it is sort of a maintenance thing that keeps my cognitive health flowing in the right direction and my overall sense of well being positive. It's certainly not for everyone, but definitely a net positive for many.
Is Extended Isolation Killing Older Adults in Long-Term Care?
Their criticism wasn’t that it was difficult, but rather that the weapons don’t contribute much to the environmental simulation. I was also disappointed by how the game didn’t utilize its simulation very well.

If you’re going to reply to someone’s comment, at least reply to what they said.
I just noticed that Steermouse has high CPU usage 5% if you continuously move your mouse cursor. I have a brand new MacBook Pro. It's using more CPU Time than Mail, Finder, Terminal.

Steermouse the easiest to use with most functionality so far compared to Sensible Side Buttons, USB Overdrive, ControllerMate. I tried out Steermouse for past couple of weeks. Just paid for it yesterday... but noticed the CPU usage today.
What’s you’re opinion on why the Republican Party stuck with Trump despite the numerous sexual allegations against him?

https://en.m.wikipedia.org/wiki/Donald_Trump_sexual_miscondu...

I’m not trying to compare Biden and Trump in this, but you seem to imply in your post that dems should have dumped Biden because of that accusation. Why should Biden be treated differently than Trump?
Vine generates real-ish reviews. It doesn't stop fake reviews.
> The other threads need to continue running while the thread waiting on open(2) is paused, but ptrace pauses the whole process.

This definitely doesn't sound right. Running strace, you need to specify -f in order to trace threads, otherwise only the main thread is traced. gdb does stop all threads on interrupts, but only by default for convenience, and I don't think it's atomic.

Because of this, LD_PRELOAD is not the easiest way to delay system calls, strace -e inject:delay is.

$ cat > a.c << EOF
#include <stdio.h>
#include <sys/types.h>
#include <fcntl.h>
#include <pthread.h>
#include <unistd.h>

void *start_thread(void *arg) {
while (1) {
puts("thread");
sleep(1);
}
}

int main() {
pthread_t thr;
pthread_create(&thr, NULL, start_thread, NULL);
while (1) {
puts("main");
close(open("/dev/null", O_RDONLY));
sleep(1);
}
}
EOF
$ gcc a.c
$ strace -o /dev/null -P /dev/null -e inject=openat:delay_enter=3s ./a.out
main
thread
thread
thread
thread
thread
main
thread
thread
thread
thread
thread
[ and so on. ]
That exists... sort of: https://www.philips-hue.com/en-us/p/hue-tap-switch/046677473...
How has the whole “protect people from their preferences about drugs” thing been working out for us?
Hammerspoon can do this quite easily, just grab all the windows using hs.window.filter.defaultCurrentSpace:getWindows() and set each's frame to it's screen:frame().
Arduino Launches IoT Cloud Service
My college roommate came back from an economics class one day and giddily told me how the professor talked about awesome it would be to just tax on consumption...except that it would likely incentivize a lot more black market trading.
I'm not sure about speakers becoming microphones, but you can quickly select input and output devices by option+clicking the volume icon in the menu bar.
>have internalized the core api features they depend on

He says he still uses intellisense type features to aid discovery and memory. Just not the advanced stuff for editing.
I'm confused by the focus on liability or responsibility as the relevant question when it comes to the issue, the article brings it up a lot. Is the stalker responsible who harassed someone on grindr? Are the regulators responsible? Are customers responsible? Is society responsible for being racist and enabling violence and the platforms just reflect it? Is capitalism responsible for creating an incentive to produce more verbal diarrhoea?

I think the answer to all of those is "yes, it depends on where you're coming from", which makes it kind of futile, it's like the thing with the blind people touching the elephant

I have a simpler question. Given that we hopefully can agree that genocide and stalking are bad, is intervention on those social platforms actually possible and is there a lever to actually prevent those things from happening?

If the answer is yes we arguably ought to do something, if the answer is no we ought to be looking for other solutions. That seems pragmatic and more fruitful than hunting down the guilty parties in a quest for justice
I agree that it isn't a moral issue, but here is a perspective that goes hand in hand with the issues:

Billionaires have by and large demonstrated the ability to take resources with millions of dollars and transform them into resources worth billions of dollars. That is evidence that they should have disproportionate power. They're obviously competent at creating wealth if given power.

They compare favourably to their closest competitors in the social arena, politicians. When dealing with big name politicians they are doing well if they don't cause excess deaths in their tenures, don't accidental destroy the economy and they generally siphon wealth and opportunity to unimpressive insiders.

There might be an equilibrium that is better, but there are a lot of equilibriums that are worse. If an Amazon-like entity is going to exist at all it makes sense for someone like Bezos to be running it. There are literally billions of people out there who would do a worse job than him. He does deserve some acknowledgement and support.
Cows have to go through quite a lot to make it happen, with a multistage digestion process, multiple stomachs, regurgitation and additional chewing of food, the right microbiome. In short it's not an easy trait to just "evolve". Lactose tolerance on the other hand is just retaining a trait into adulthood (lactase production) usually lost after weaning.
I haven't spotted scheduling features as yet but it would be a fantastic addition!
I assume this requires disabling SIP?
The glue does not make better products. For ages macbooks used a plastic bracket to hold the battery down but now they use glue thats insanely hard to remove. The Dell XPS is a great example of why this is not needed, the battery is still fixed in place with screws and a bracket and the ram is removable while the laptop is slightly thinner than a macbook pro.
I’m always amazed how genuinely humble Carmack sounds.

One of the best programmers in his generation, yet he is always sharing what he’s learned, struggled with and is not particularly good at.
All taxes have an impact on something.

Taxing income disincentivizes circulation of money within community. When A does some work for B, B does some work for C, C does some work for D, and each of them pays a fraction of the income to the govenment, after a few steps the money effectively disappears from the community. The only way to get it back is to do some work for someone outside the community. But maybe the people A, B, C, D are effective at helping each other locally, but not really competitive at providing work outside the community. With no income tax, they could trade with each other. With income tax, their choices are either gray market or poverty.

Wealth tax hurts the startups. Income tax hurts the local communities. Land tax hurts the rent seekers. The rent seekers and startups have greater lobbying power than poor communities, and our laws reflect that.
Wait, Mozilla gives money to Rush? I thought they retired the band after the death of Neil Peart.
rwh86 is correct. That was part of my reasoning. I was thinking aged fermented cheeses not fresh cheeses, which do have more lactose.

Aged fermented cheese is what I was figuring they would have made, because of the lactose issues. These take several months to years to make. I was lumping in higher lactose things like milk, soft unripened cheeses and yogurts together as 'high lactose desperation foods' as arguably, all were likely consumed for the same reasons early on.

I would guess the lower lactose fermented cheeses would have been favoured earlier though. Humans have a history of fermentation and the utility of aged cheese is kind of hard to beat as far as such things go regarding fat and calorie content and preservability.
Ars Technica’s tech-savvy staffers conduct happy hours in locked-down 2020
> If being politically active using your real name or real face is required, you'll need to just accept that people will be able to tie your name and face together eventually

That might be fine, need not be a problem. (Maybe)

Instead, he or she (or others in politics) might get doxxed about things unrelated to politics that s/he wants to keep private.

Which might have worse consequences if beinga bit well known because of politics
Have you tried lua-cjson, out of curiosity? They use a cjson.null (or something like that) value for nulls in JSON. But yeah agree with what you've said in general, if I had to do some API JSON manipulation Lua isn't what I'd jump to, even though I'm pretty familiar with it. Do Python or JS actually take that much longer to start up for a script? Node starts up pretty quickly on my system.
"ECC released its implementation of Halo 2 under the TGPPL license."

This had me confused and excited for a second. Alas, it's hot the Halo 2 I was thinking of.
That makes you an unreliable narrator to opine on it.
this is why django is so powerful, I joke that if the team uses Django, whenever we do roadmap planning for any feature, the first step is to try "pip install new-feature-1" :D
Yes, that looks like a problem:

...to distribute or communicate copies of the Original Work and Derivative
Works to the public, with the proviso that copies of Original Work or
Derivative Works that You distribute or communicate shall be licensed
under this Transitive Grace Period Public Licence no later than 12
months after You distributed or communicated said copies

It looks like the effect is that the public versions must always lag a year behind the proprietary versions.

So, this isn't open source, although it is abandonware protection.
I've done this before where we were printing thousands of small objects for a small scale production build. I attached a kicker plate to the print head and modified the gcode to pop it off into a chute before printing the next one. This only really worked because the print was small with little surface area adhering to the print bed.

In all honesty injection molding makes far more sense once you get into high enough numbers assuming the geometry is amenable to that.
There have been a lot of stories about iphone chargers catching fire and it ends up being some $1 ali express charger. I still think a companies right to good PR is lower priority than right to repair.
In over 12 years of using psychedelics intermittently, I have never met a daily user of any of them. It's just not possible. I have met people that abused them slightly for sure, but not like the other drugs you listed. Those are all extremely high risk in the daily abuse category of addiction. This simply isn't a fair comparison. Fiendy/physically addictive drugs =/ Psychedelics
Why wouldn’t we?? Have you seen a cow? :)

An enzyme to break down milk seems to be such an easier adaptation compared to a whole series of stomach, which are basically a series of fermenters.

Having raised goats the size of their rumens to body is pretty amazing.
Interesting. Made me think of the discovery that solar activty changes the rate of radioactive decay on earth by unknown mechanism from about 10 years ago.

edit: https://news.stanford.edu/news/2010/august/sun-082310.html
Polish is too easy to copy. You can copy CSS and page layout directly these days.
You could use Mailgun for this: https://www.mailgun.com/email-parsing-software
Gluing everything together will absolutely affect your drop tests, and your conversations with ID, and your conversations with manufacturing who don’t want to have 18 screws in the assembly. There are many more stakeholders other than consumers and evil bean counters who don’t want you buy a third party battery. I’ve seen drop tests alone dictate the use of adehesives.
Yes but if the borrow checker is not enforced people _will_ release unsafe code because the borrow checker was optional. It's sort of like how Go enforces same line curlies. It was a decision made to unify the look of the syntax at it's birth, and unfortunately even a curly bracket enforcement is enough of a deterrent as it limits one's expression regarding personal choice. The designers of these languages have an agenda, and by using their tooling we agree to their idea of wisdom. The alternative is something like C. While fun to write, it's a mistake to use unless every programmer onboard is highly skilled with it's pitfalls
If I'm reading the blog post right, it's essentially MIT for 12 months after you make changes, then (A?)GPL after. (To be clear, not those actual licenses.)
That's for uncured resin, which you shouldn't touch anyway. I think protocol calls for using gloves when handling this stuff.

Do you happen to know if that fertility issue is only for clear resin, or all resins they offer?

Frankly somewhat surprised to learn this. I think I've seen them push clear resin for microfluidic applications where you would have biological samples, which would indicate low or no toxicity.
Why? It's not the same concept, just vaguely similar to some other thing. But all of the interesting aspects are in the difference, otherwise we wouldn't bother mathematically with the concept in the first place.

Similar != Same

And treating similar things as same is the source of a lot of error and confusion and misinterpretation.

If its just to help a beginner at first with a little bit of understanding, you can just say X is a bit like Y, but also very different in really important ways so forget most of what you assume about X, because Y does not work like X, even though it has relations to it.
Did the headphone jack get removed because everyone wanted it gone, too? :P
A New Front in Coronavirus Pandemic: College Towns
The start of this article talks about how competition is supposedly bad, but the rest of the article talks about how to out-compete other companies by being better at finding a niche.
It behooves them to solve the problem before Walmart or whoever takes over their customers.

Legit manufacturers hate Amazon due to counterfeits. Ali is cheaper. Shopping websites get easier to make every year.
Sellers can hook up to multiple websites easily. What's Amazon's moat? It's been "the reviews".
The samsung s5 solved this already. You put a rubber seal around the back plate. This is basic engineering and every other waterproof product does exactly the same thing.
sure, but my point is that despite all the rhetoric, when it comes to actually spending money, kids seem to get the short end of the stick.
Dunno if I'd call PinePhone "more compact". It's thinner, but it's bigger (about 1.5cm higher). I'm holding both of them next to each other right now and Librem 5 ends where the PinePhone's camera begins.
Have a couple more, although they are purely eye candy:

defaults write com.apple.dock mineffect -string suck
defaults write com.apple.dock slow-motion-allowed -bool YES
> while others have slowly inflated supply to lower payments.

Could you give some examples? Real personal income has been rising pretty steadily for as long as the data has been collected [1]. So the median person earns more as the years go on, not less.

[1] https://fred.stlouisfed.org/series/MEPAINUSA672N
Venture Capital’s Biggest Fear (2011)
I barely stutter when I speak my third language which is english. Probably because it lacks hard plosive consonants my first language is riddled with.
Hello fellow 3D print curmudgeon,

The Makerbot Automated Build Platform was terrible in many ways so an eternity ago I forked ReplicatorG and got it printing continuously from a queue.

Once I did that I really appreciated being able to leave my printer running all day and have it produce bins full of parts. I especially appreciated being able to add prints to the queue while iterating on my CAD designs.

So, shameless plug: Inspired by that experience with the Makerbot I've been writing an entirely new print conveyor-ready print queue for the raspberry pi. Coming this fall at https://tegapp.io/
Makes sense not to reserve usernames for people who are just using the account to follow and don’t tweet themselves.

This is a problem Twitch runs into, there are many more people watching than streaming but everyone has an account name and can stream so a lot of names are taken.
Carmack would be far more convincing if he could have said something like "I was once a power user of vim/emacs but I went back to programming in nano because I didn't need all those features."

Somehow I never hear anybody say that.

As a long time user of both vim and emacs, I find it intensely painful to watch some seasoned programmers tediously mouse their way through mountains of text.

I often think to myself, "ok, you've just taken half an hour to do what I could have done in less than a minute."

Honestly, I have better things to do with my time than edit text, and when I do edit text I want to get the maximum accomplished in the minimum amount of time so I can get on to the thousands of other things I want to do with my life.

Using a crippled editor or not taking advantage of editor features that could save you massive amounts of time, errors, and headaches runs directly contrary to that intention.

It's great that Carmack is satisfied with his own setup but in my case you'd have to pry my vim and emacs from my cold, dead fingers.
So don't tax the first (e.g.) $25,000 of a person's annual income/consumption, then tax the remainder at a progressive rate.
> could go on the Home Depot website

Not good for Amazon.
Schools actually end up with a lot of broken computers because kids are careless and destructive. They would pick the keys off the laptops. You used to be able to trivially replace the keyboard on laptops without pulling the whole laptop apart but now apple seals it up with rivets.
Not sure why this blog spam has so many upvotes?

If you think IT repair and refurbishment in education is an amazing solution you're either naive or so brilliant no one else in the industry can see it.

Random thought, physical destruction of hard disks is often required, as it should.

If you could find a way to do it electronically and be auditable, it might be step one. The erasing is easy, the auditing is hard.
No it’s not. The only way to sustainably fund smart people in the humanities is for the State to provide such funding, and we should be funding a lot more than we do today. I find it incredibly difficult to understand why Americans don’t understand that funding for scholars is a solved problem and we should simply be committing more to it. The US has the largest number of universities but could easily support double that, not to mention expanding existing universities, which are mostly well run.
> Furthermore, the volume production stuff is just silly. If I'm printing a bunch of small objects, I'd rather fill a build tray with them, and then swap it out every 8 hours when it's done. The belt release stuff really seems to have reliability issues. Or, just use an appropriate manufacturing technique for high volumes...

As I stated in another comment I've done this before. The problem with a build tray full of objects is if one object screws up, e.g. it pops off the build plate, the entire build will end up being scrap. If you're printing a lot then maintenance of the build plate becomes a pretty large issue. I definitely agree that more appropriate manufacturing techniques like injection molding is better after a specific point.
> The claim that "whites" are going to become a minority soon is arrived at by redefining "white" to exclude white-identified Hispanic people.

You can look at the numbers in your chart and see that basically all of the U.S. Hispanic population is found under this "white" category, 55 million Hispanics. Total Hispanic population in U.S. is at most a few million more. 90%+ of all U.S. Hispanics feel like they are part of a "white" majority? You must be joking.

So I don't think that "white identified majority" in the census numbers means what you think it does. The vast majority of Hispanics in it fully realize and are made to feel like they are part of a minority in the U.S.
I would go further... you can be poor at typing and be a great programmer.

(Of course, most are at least competent at it, due to plenty of practice.)

By a couple orders of magnitude, what’s going on in your head is a lot more important than what your fingers are doing.
Couldn't we have invented some way of doing all that cow-stomach stuff in a pot? Like cooking, grinding, fermenting etc, similar to how we turn other inedible plant stuff like wheat into yummy stuff like bread?
Millennials are triggered by neither communism nor Islam.
I'm confused by your confusion given the fact that I clearly stated that whatever someone says has to be within the bounds of the law. As far as I can see there is no room for confusion here, freedom of expression is bounded by certain laws which forbid a number of things. As long as you don't violate those laws you can say whatever you want.
Isn't the sample size a little small to draw conclusions about a whole continent?
University was more like that. School was a prison.
Created both accounts from same ip address?
Taking acid to "improve your productivity at startups" is a tool for people with no appreciation for leisure or mind expansion. There's also a difference between taking something to cope or function and taking something because you think it makes you the Rembrandt of startups or whatever. I mean do what you want, and I'll reserve my right to clown on goofballs like this.