jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Sudo and ACLs. There's a lot of power in there under the hood that a lot of people don't think of with these types of problems. For your specific use case, I'd start by creating a new user, something like $USER-npm-install. Next, I'd set acls on $HOME/.npm to allow write access with setfacl, something like setfacl -m u:$USER-npm-install:rwx $HOME/.npm .

For the actual script, I'd have it check to make sure that the current working directory is owned by you, then have it setfacl -m u:$USER-npm-install:rwx . to temporarily give the installer user access, then do sudo -u $USER-npm-install npm install Whatever . After it's done, I'd do sudo chown -R $USER . to get everything owned by you, and setfacl -m u:$USER-npm-install:--- . to revoke the permissions until needed for next time.

If my brain were suitably in gear, I'd give more than a 20000 foot view of what needs to be done, but those are the basics. A lot of people think of sudo as just being something for getting to root, but it is rather useful for creating sandboxed users for potentially dangerous actions as well. Create a user with just enough privileges to do what needs to be done, and have fun.
People once had the right to kick people out of their private business because they didn’t like how someone looked.

Your right to kick me out of your private business because you don’t like my opinions will be looked at the same way. Fundamentally illiberal.

I have a human right to hold and express any political opinion I want. Eventually we’ll have to campaign to make free speech a civil right and a protected class, just like they did in the 60s for race, and later for sexual orientation. We iterate our laws as we acquire new knowledge through moral science.
Pretty much impossible here in India. Whatsapp is so popular here. They are responsible for almost all personal messages sent, and play a huge role for small businesses here.
I was wondering the same thing, because just yesterday I encountered a mention of Gumroad together with OnlyFans in a blog by a creator. Had that not happened I too would have found the parent comment odd.
The site still fails Lighthouse, including the test for "Includes front-end JavaScript libraries with known security vulnerabilities." But wait, I thought it was just HTML and CSS!
> I am all ears to hear better solutions

I've offered an idea for an experiment that could plausibly lead to a (partial) solution here:

https://news.ycombinator.com/item?id=25662949
The tidyverse is the benefit and the curse of metaprogramming, something that R takes from lisp, and something that has cursed (helped?) C++ since it was added.

As far as type systems, there's really two different types of "types": individual types objects that can have generic functions attached to them, etc. This is not as well known, and there are actually several object systems for typing:

http://adv-r.had.co.nz/OO-essentials.html

But these sort of objects are not quite as commonly created by programmers, because the second type of "types" are much more useful: data frames, which is kind of a vectorization of structs. This is what would be used in data oriented design, which is apparently much more common in modern game design.
I wasn't expecting so much traffic, it's up again now
That tweet was perpetuating slander but was not instigating violence...
However, lots of programmers are not that good at marketing their stuff (I included for sure).

When I look at some well marketed JS libraries I often think "huh, why is this stuff so successfull?" and my first reaction is always "good marketing!".

I am not advocating bullshit marketing here, I am thinking about a some times possible win/win between agents/authors versus the current company/employee dominant model.
Well in this fantasy TDD scenario (as in we don't know what happened in MS so I'm just making stuff up), presumably the product requirement was "make IE9 look very fast on the benchmarks without getting caught cheating".

So sure, they solved the first failing unit test (make IE9 look quick), but don't seem to have written enough unit tests to make sure the second part of the requirement works. So they would fail the acceptance tests and have to keep working on it.

(Wouldn't count myself as a full on TDD proponent but do use it when the time is right.)
Yeah, I feel like a lot of distributed startups have had these 'video portals' going at one time or another. I know we have.

Generally use drops off (in favor of standard one-on-one or one-to-many videoconferences) after the novelty ends. Primarily because the fidelity sucks and there are better uses for a large monitor, like watching YouTube videos during lunch.
Really cool.

I noticed (in Chrome at least), there's no anti aliasing. Is that a browser limitation, or specific to this implementation?
> That's not true and is horsecrap.

You must be fun at parties.

You do realise that a password of AAAAAAAAAAAAAAAA would be considered completely secure by your system, right?

For your second point your dictionary checking algorithm is only as good as your dictionary. If your dictionary is too small then you're not going to do much. It won't do much good for multilingual users either.

<snip rant about changing passwords every now and again>

So are you proposing that people don't periodically change their passwords?

As for spoofing the IP, it depends on where you are and where the target is. If for example you're both on the same internal network, are NATted and your system's on the Internet then it won't distinguish between the two IP addresses. The same applies if both your and the spoofer are going through a proxy, or the spoofer is between you and them (although it is harder to do than just sitting behind the same NAT gateway it is doable).
I still think Javascript is a pretty elegant language. None of it's features are unique to only it, but it's the combination of the prototype model, the completely dynamic nature, the ability to easily convert objects to and from strings, the callback nature... all of that together makes it as elegant as any language I can think of. At the same time I welcome CoffeeScript and the many DSLs appearing on top of Javascript (Mobl, for example).
Before I got my first software dev job... I was told it's important to learn what you don't like as well.
I was in the grad program at a top 5 stats program. Cheating was rampant. I discovered this in a 2nd semester grad level math stats course. There were 4 problems on the test, and one of them could only be solved either by being much smarter than me or by getting kind of lucky and very quickly divining the right, tricky way to factor the product of some characteristic functions. I thought it was very non obvious. When the class discussed the test there was a bimodal distn of scores on that question; 3 students, including me, got 1/2 credit and everyone else got 0 or full credit. I asked a classmate how in the hell he figured out the problem in the very tight time limit for the test. He basically told me that last year's test -- not distributed by the professor -- had almost an identical problem on it. Once you'd seen the right way to factor the characteristic function the problem was trivial. Pretty disappointing.
I wonder how many people will use "this is fun" as their password after reading this...
I won't attempt to argue that the Liberty Dollar wasn't a misguided enterprise. Even when the law is on your side, the fact that the government controls the courts assures that you'll never get a fair trial.

You're misunderstanding the constitution and what the "right to create currency" means. There are many currencies in circulation, and there have been many state and even private currencies over the years. Even today there are localities that make their own currencies- such as the Ithica Hour
http://www.ithacahours.com/

What the constitution reserves to the federal government is merely the power to determine how many grains of silver are contained in a given dollar.

Thus, actually, the current paper US dollar, which is not denominated in silver, is illegal, it is counterfeit!

Thus it is clear that tradition has long ago seperated from the law. But this is relatively recent. In 1930s it was that the government made ownership of gold illegal and switched from silver certificates to unbacked dollars, but even then the dollar was backed internationally with gold, until Nixon closed the Gold window in the 1970s and defaulted the US government.

An excellent book on the history of Money in the USA, is "The Creature from Jekyll Island" by G. Edward Griffin.
I believe it is you who is wrong. Wikipedia's first sentence on 'currency' is this:

In economics, currency refers to physical objects generally accepted as a medium of exchange.

I don't claim to have the requisite knowledge on the argument at hand, so I won't speak to that, but it appears that the assertions you're arguing as fact are incorrect.
Shouldn't have printed the words "Dollar" and "USA" on the damn coins.
Why is it centered around IE10? Seems biased. A researcher wouldn't do that.
I'd say that "slowing pace of Mac OS development" simply isn't true; if anything, I've felt like there is more development going on now that iOS is creating a large pool of Cocoa/ObjC developers.

And also, it's still not less than ideal. Nothing has changed wrt. MacOS's openness; in fact, Apple continues to promote new APIs that are cross vendor (OpenCL, for example) with new releases of MacOS.

Apple isn't going to one day magically turn off "unapproved" applications with no warning; it will be a gradual process if it ever happens. Indeed, one must see the writing on the wall, but it has to be written first.
I don't understand how the author can say that there aren't coupons on those coupon pages. Apparently since the coupons are from an affiliate program with Savings.com they don't count.

When I go to the "1800Pools Coupons" page that he linked, the main content box has an offer for "$25 off Orders Over $500" . When I click on this, it tells me that the coupon code is "AFF25" and can be added during checkout on the 1800Pools website.

http://www.mahalo.com/1800pools-coupons

Where's the problem? Isn't that exactly what someone who searched on google for "1800pools coupons" is looking for?
This obsession with Calacanis/Mahalo is becoming a Hacker News tic along the lines of the reddit obsession with Bacon/Narwhals/Keanu Reeves.

Most of the content is regurgitated as well. If you have such an issue with Mahalo and/or Mr. Calacanis: STOP PAYING ATTENTION TO THEM.

Nothing dooms a site to the shadows of history like being completely and utterly forgotten.
I agree, but it wouldn't be a bad thing to make it more accessible to them. I started with mIRC scripts myself, and that was because it was just so easy to get to it.
But is it math or programming skills you want to measure? Cause math is not programming. Hell, you don’t need to know more than high school math to program.
Spending time with friends and family.
They don't need to be extermination camps to have mass graves, and if I am not mistaken, many extermination camps were thought by outsiders to be prison / work camps until the truth came out.

All of this- on every side- is pure speculation until a trusted independent inspection can be performed. Unfortunately, I am skeptical that will happen anytime soon- I seriously doubt China would see attempts to do so as anything other than a violation of their sovreignty.
Sure, but you did notice that they had a mailing list and gave them your name and email address and a bit more information so they could get back to you.

This thread explains it in more detail: https://twitter.com/dezren39/status/1359726235929223168

Seems pretty simple. No real story, other than the OP not paying attention.
According to my friends who are in AWS, the attrition rate is really high with many people leaving within less than 2 years.
LinkedIn? The also-Microsoft-owned service where you can pay to send DMs to users?

I have no idea what you're talking about regarding "huge violation of boundaries", because there are none on LinkedIn. I get multiple DMs a week from folks I don't know selling something.
It seemingly doesn't. Yet that's exactly what happens. With jeans, coke, and pop usually there first, long before democracy.
How did I not know about peepcode? I don't mean to hijack this post but: is it worth the money? Does anyone have experience with their videos?
Having lived through several predicted Apocalypses, Ends of the World, and Armageddons (the 1974 Jehovah's Witness prediction is the earliest I can definitely recall, and of course, there's Y2K and GPS rollover in July of 1999), I expect most of us to live through the next "Apocalypse" or "Armageddon" unscathed. A few of us will have lighter wallets.

See you on May 22nd!
I'm not saying they didn't enjoy it... I've had my trips like that before too. Just saying some people approach it differently.
You misunderstand. I don't mean 'simple' as in base, uncomplicated, or trivial. What I mean is there's no programming problem so complex that it requires the use of a hallucinogenic to understand or solve.
Nothing major... About a dozen different strains of magic mushroom, lsd, pot a few times, and opium once. I don't smoke hardly ever, but I do try to trip a few times a year.
I mean the chrome bar and firefox equivalent - not labeled as a search bar, but it works as one. OK, not that new, but in terms of the internet, fairly new.
Unfortunately it's a GUI application. I have a very strong feeling that if you can't force your kids out of the windowed OS environment, the temptation to just go fritter away their time on some Flash game will be too strong. Who's young children haven't already been introduced to online gaming before BASIC or Python or Bash?
Nice to see someone try this. I wrongly thought Apple might do this with their laptops before the iPad was officially announced. Too bad this is so ugly and oddly bulky-looking, though.
If it really is the case that this is copyright infringement, the easiest step may be to send a DMCA complaint to GitHub. The purpose of the DMCA complaint mechanism was to make it cheap and easy to deal with online copyright infringement without resorting to the courts. I know we're used to hearing about silly and illegitimate DMCA complaints, but this would seem like a reasonable use of it.

(This isn't legal advice, of course; I don't know enough of the facts to be sure what applies.)
Standard Padova, Italy HN offer: stop by Padova and we'll take you out for drinks in the piazza, show you around the area, take you out for dinner, etc... depending on time, availability and previous arrangements.
So your birthday is the other solstice? December 21st?
Interesting. I don't know that I ever assigned a semantic meaning to the term, other than "turn it the other way from the default way the game was set up" so "inversion" on a typical FPS would be different than on a typical flight sim.

I use FPS style controls (down mouse = down gun barrel) on FPS games and yoke style (down mouse = pitch up) on flight sims.
This article, poetic as it is, is very wrong, imo.

I got my start in programming working with qbasic as a 12 year old, then graduating to some VB programming. I loved being able to go to any house, quickly type up a program I knew by heart, then mess around with new ideas I had. So I'm pretty nostalgic towards basic as well.

Having said that, today's situation is better. Anyone who wants to can get started on any computer with some simple HTML. In fact, people can come very close to replicating the look of their favorite sites, without needing anything but their computer and access to a few tutorials. Not to mention the fact that the other languages (Python, Ruby) are much better. Better for working, but also better for learning. I don't understand what his problem with Python as a beginner language is: it lets you do actual stuff you want to do much more easily, which is especially important when learning.
That's frightening.
I want to offer some amount of content for users to test-drive prior to purchase, but I imagine locking down more of it once the site launches (maybe 2 free practices before offering a "buy now" link, or some such.)

Currently all of the lesson content is locked down (if you've created an account using the HN signup code, then you get to see it all, such as it is).

I've gotten lots of feedback to the effect that $29 is too high for a webapp, so I certainly will revise that down before launching.

Thanks for the feedback!
yes, once you get to a certain size (or for corporate counsel, start doing big or complex deals)

and the best corporate counsels and HR people get very good compensation from not-startups.
Why I choose the s1300 over the s1500:
Price, size, hybrid (runs mac & windows).

Someone else already did the comparison for me (and you). In short; if you want to scan a lot at once and care about the speed, go with the s1500.

http://www.documentsnap.com/fujitsu-scansnap-how-are-the-s13...

Speed: 20 ppm vs 8 ppm

Capacity: 50 pages vs 10 pages
If you watch your LinkedIn profile, you can tell two things, based on my observations:

People only update their profile on LinkedIn when they are looking for a new job, or just lost a job (for the most part). Some keep tweaking it all the time, but you can spot the ones who never have activity and then suddenly have 7 updates...you know something's cooking there.

You can spot general trends about economic activity, assuming your friends are geospatially similar. If, suddenly, you get spikes in activity where none existed a month ago, you can assume that the job market in your area is getting very turbulent. You can decide whether it's positive or negative based on what you see ("Hey I got a new job", or just plain profile updates while someone is looking...)

Very interesting.
That is simply nonsense, 10 years there was little practical security on domestic US flights. That was the soft underbelly that the 9/11 hijackers exploited. Security on international flights was also lacking compared to e.g. the UK.

The TSA is a hysterical over-reaction.
Totally agreed. We've been using Steak on some projects and find it to be a better alternative when we want to show the client something.

Otherwise, we've just been using Test::Unit or straight RSpec with webrat/capybara.
I suppose he is paranoid of his wife and or kids seeing his chats?
Did he tell this to his slaves?
What are you looking to do? What do you want to learn about?

There are tons of work in a startup, it's important to have some ideas of what you want to get out of the experience. Otherwise I'm afraid you might end up just doing the majority of grunt work, where you don't learn much. You certainly don't want that if you're not getting paid!

I've done unpaid internship at a startup before, and I don't think you want to be treated like an intern. Your time is not valued (since they aren't paying you). They listen to your ideas, but won't implement them, etc...

Instead, I suggest you work on your own projects, with experienced mentors guiding you. This way you have actual freedom on what you work, you can still learn, and most importantly you'll actually turn an idea to something concrete yourself, from start to finish.

Of course, finding mentors is the hard part. If you're around in SF, send me an email, perhaps I can help.
Yup, the 'followed link' is grey. So those are links you have visited.
Since I cant vote down spam ive seen that commenting also lowers a posts karma...
My understanding is that everyone knew Manning was gay. I doubt that has much to do with the case though. Their primary evidence is that someone claiming to be Manning confessed to some other dude via internet chat. It seems to me that anything confessed over (non-video non-voice text only) internet chat should be completely inadmissible as there really is no way to know who you are talking to.
I used to use a C compiler for the Z-80 called BDS C. BDS stood for "Brain-Damaged Software" because it didn't implement floating-point.
When will you release a deployment tool in Haxe?
Thanks Alex!

I really need to put a bit of effort into documenting this, but the idea is that an immutable stream of events is folded over into a model which virtual-dom then renders into the UI.

There are a couple of minimal examples here:

https://github.com/boothead/ohm-examples

specifically the cannonical todo mvc one:

https://github.com/boothead/ohm-examples/blob/master/todo-mv...

It's really awesome to be able to use the excellent pipes, mvc and pipes-concurrency in the browser!
It would, but I don't see people dropping $1k on a screen for a $35 computer.