jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> it's trivially easy for anyone to exhaust the battery on a modern smartphone in much less than a day

Watch a 90 minute youtube video over 3G and you're pretty much there. (On my iPhone 3G at least)
If you can build a centrifuge, you'd think you could build a variable speed motor drive which is about 100 times easier.
It's amazing to me that any pundit would be stupid enough to claim that Android will eat Apple's lunch based on an analogy to Windows crushing Macintosh in the 90s.

Apple was a slowly sinking ship after Jobs left, coasting on old ideas and brand loyalty from the 80s. The Apple of the 90s was a different company, and there are no lessons there that are applicable to the Jobs era(s). To argue any differently belies a fundamental misunderstanding of the basis of Apple's success.
I understand what you mean, but I don't think it's horrid. I would call it retro-chic.
Meh, perhaps I've grown crotchety, but I'm not jumping through hoops for you (theoretical employer), sorry. I can solve puzzles just fine, but I'd rather spend the holidays implementing new PostgreSQL driver.
People who break the law are "criminals, period" only in the most uninteresting sense. I certainly would not make any claim that most drug dealers are acting in political protest - I don't know enough to say, and would be unsurprised if the overwhelming majority had purely a narrow profit motive; but I do want to raise the issue that breaking laws is often a powerful part of convincing our fellow citizens to change them. MLK very specifically argued that it is our moral responsibility not to obey an unjust law.
For log files that move particularly fast, I prefer to use "watch tail -n 100" so I don't choke my connection.
Probably volatile. Likely doesn't need to be atomic, just needs to prevent the compiler from optimizing the code into bugs.
> apps shouldn't have the ability to refuse to work without your data

I don’t know. It’s a good signal to me, a user, that it’s an app I probably don’t want to be using anyway. Also, it’s the perfect solution to change the supply and demand structure. If people keep using the apps, they won’t know the difference.

Finally, it’s their app and this their price (personal data). You can chose to pay with it or not. Just like with any other currency, the choice is still yours as a consumer, but you are not entitled to the product by default.
This is fantastic and long overdue.
Couldn't you just mmap a binary final with the same in-memory structure rather than a text file?
Seems likely to be inaccurate - British Airways for example changes it's passwords regularly and the one cited in the Heathrow lounge is already obsolete.
The aim of this is to block tracking. I don’t believe Mozilla or anyone else has much interest in blocking ethical, contextual ads.
People like to satisfy their curiosity. Think of the average tabloid at a newsstand. It provides some provocative information, but it's the curiosity of the details that drives people to buy them. Is it going to improve their life in any material way? Probably not.
I translated Paul's article on Stuff in Dutch, it can be found at http://www.michielovertoom.com/articles/paul-graham-spullen/
> Inflation punishes the lower classes disproportionately for the same reasons. It is the primary driver of income inequality in the world.

If that was true, then economies that use gold and silver as currency, and where there isn't a large supply of new money, there wouldn't be much income inequality. But there was plenty of income inequality in ancient Rome, and in most ancient despotisms. So I suspect your hypothesis is wrong.
I never liked the WWW. xxx.domain.tld should be a host name and not a service determinator.

my http blog is accessible on domain.tld:80 and my telnet comment interface runs on domain.tld:1337 :)

if you're curious about the telnet interface: http://fettemama.org/faq_en.html
"We also accept Bitcoin. Please e-mail to arrange payment via this method."
Every time I enter a www-only-site without the www prefix and see an error page, I think incompetent idiots for a brief period before I add the www
Also: https://sheetless.io/

Relevant to understanding causality in systems: https://en.wikipedia.org/wiki/Twelve_leverage_points
In some areas of the US, we still teach kids (especially girls) that they are damaged if they have sex outside of marriage. That is instead of teaching about safe sex practices and things like that. We don't always take rape seriously - for either sex. Don't show a nipple on TV, especially not on "public" broadcast or during certain times of day. Certainly never, ever show a penis on these channels - that's especially vulgar.

These are all clues that sex is taboo. We can't even have honest conversations about it and it causes a bit of obsession with it devoid of healthy attitudes.
It is something to keep in mind when you purchase your next card. I'll always choose a smooth experience with mainline drivers over 10% more raw power. (And it's incredible how much AMD GPU driver support has progressed over the last few years, going from the total clusterfuck that is Catalyst to everything just working out-of-the-box.)
Eleventy - https://www.11ty.io/

Eleventy is my new Jekyll replacement.

- Node.js based (a simple npx command)

- Easily understood by beginners

- supports multiple template languages

- can build pages programmatically (needed for building pages based on external data sources)

- is quite fast

I’m a huge Gatsby fan but Eleventy is preferred for projects where React isn’t necessary.

Hugo also deserves honorable mention but it’s been relegated behind Jekyll, due to its confusing documentation.
Quote: "What should we take away from the 2010 decade?"

Take that is not over yet, the 2010's will end in over a year from now, so still plenty things to happen inside this particular decade.
Pinterest should just be blacklisted from Google altogether.
The retro items we decided on actually about the behaviour of the team. For example, "start explaining tasks written", "stop discussing out of the meetings". This is not an implementable thing that I can do myself.
It is not dead, but also not progressing very fast. I think low adoption rate is their biggest hurdle, and subsequent lack of network effects in the development community. Solid based on a bunch of Linked Data standards which find most traction in small academic circles. Few sexy applications or good libraries to build from.

The Gitter channels are apparently most active.

Web: https://solidproject.org/

Forum: https://forum.solidproject.org/

Gitter channels, etc: https://github.com/solid/information/blob/master/gitter-chat...

Repo: https://github.com/solid/solid
Funnily enough I've always thought Kinder chocolate was way too sweet (even as a kid) and I remember being flummoxed by the tagline of Kinder ads (in Italy, but that's where they're from), which was "more milk, less cocoa". Kid me was thinking: "wait! Isn't milk way cheaper than and less delicious than cocoa?". But then again it was probably aimed at health conscious parents...
15-251 isn't a freshman-year course, is it?
We use Dropbox here at work and it's great. Future looking, are there going to be tiers above 100GB?
It's not a matter of order, it's a categorical difference.
It would remove a lot of nice search features, however. If you just index tokens without positional information, you have a much harder time performing phrase matching. If you include positional information, you can probably crack the encryption because some tokens are statistically more likely to appear next to each other than others.

If you index shingles (phrase chunks) instead, you lose out on sloppy phrases...you can only match exact phrases. I imagine you can perform a similar statistical attack too.

Hell, just getting the term dictionary would probably allow you to reverse engineer the tokens, since written language follows a very predictable power law.

Hashing also removes the ability to highlight search results, which significantly degrades search functionality for an end user.

Basically, yes, you can do search with encrypted tokens...but it will be a very poor search experience.
He's probably worried about those places looking at the sites he connects to, data sizes and other kinds of metadata.

But also, there are plenty of sites around with broken TLS that can be intercepted by a man in the middle.
Its utility diminishes as the difference between its original environment and the current technical environment increases. However, given a replica of its original intended environment (e.g. an OS image in a VM) the code will run just as well as it always did.

So code does spoil. And it doesn't.
In theory, yes. On the other hand, there are cases where a certain degree of interest on an employee's private life might be considered legitimate. Consider a hospital that employs a surgeon who is an alcoholic (or a meth head). Even if he/she only works when sober, alcoholism does impact both the fine motor skills and the judgment needed for such a high precision job, and many people would agree that the hospital in such a case pretty much has to either fire that surgeon or get him or her into rehab.

I agree with you that in general, what I do in my free time is none of the company's business, unless it affects my ability to perform my job. But if it does, I think a company has the right to tell me to either sober up or not bother coming back to work tomorrow.

Then again, this quickly becomes fuzzy and can be abused in all kinds of ways. What if a hospital, say, run by the Catholic church told a gay surgeon to remain abstinent because of the risk of contracting HIV or some other STD?
Abstractly, sure - all software is vulnerable that way. However, specifically, if you create a new codec that is heavily based on previous ones, you are clearly more at risk, than if you create a more original codec using novel methods. The latter is safer.
Sorry, what would AMD's or Intel's "latest and greatest" numbers for the same be?
Reading between the lines, does this mean the attack may have simply been an on-prem install that was compromised, rather than every TeamCity install ever, or JetBrains' official SaaS version?

Any developer tools company worth their salt should be dogfooding their own build system, so they likely build IDEs with this tool. In the worst case, IntelliJ/GoLand/etc could be compromised as a result. This would be unlikely to mean there's malicious source code floating around, but it could mean lots of privileged access to software companies' networks. If the attacks are as targeted as the NY Times article makes it out to be, discovering the full extent of the damage may take quite some time ...
Commenting on my own thread because the window to edit has passed. What is up with the haters today? I share a useful open-source library with everyone that I spent a ton of time working on only to get crapped on by the know-it-all crew? Did you even click the link and read the github readme? This library is tested against NIST data! It also has 100% test coverage and support for corner cases like non-linear unit conversions like temperature. How does anyone enjoy participating in this community?
They're gonna have to link up with the left to go burning teslas, but instead they'll fight the other people without upward mobility.
Nobody is suggesting getting rid of democracy -- this is red herring. This is a bad faith argument about bad faith arguments. It's no wonder people can't decide which direction is up.

In a conversation that is supposedly about how people are being mislead by media we're 2 seconds away of Godwin's law again. It's exhausting.
At least one person has been shot. https://twitter.com/AP/status/1346918654076723202
A root cause behind this is a shift from news as a public service (something closer to the modern-day BBC) to an info-tainment business that must turn a quarterly profit.
At the very least this goes back to the Tea Party, but many would point to Nixon's Southern strategy.
Would you really rather live a pleasing fiction than face a sad or uncomfortable reality? Would you be okay if we just pumped you up on some concoction or other and called it a day of it caused you to be happier?
Most modern payment gateway APIs will offer a 'verify' command. This will tell you if the card is viable (not closed) and you can usually pass additional fraud-scoring data (address and CVV verification) to further sanity check. Some APIs will use this to provide you extra metadata (i. e. the card issuer or type) which could theoretically be useful for fraud checking or customizing an offer (I'm imagining a cross-promoted "Pay with your Citibank debit card for 2% off") These typically don't even register on your statement.

The next step up from there is the "authorize only" that some of the other commenters mentioned. You can do a $1 authorization, but if you're going that way, you may as well authorize for the full amount, because the APIs typically let you convert that directly to a live charge if it was successful; it also helps avoid customers gaming your trial process by giving you a prepaid card with just $1 on it.

In some cases, they'll implement the "verify" process as something like "Authorize-only for 1 cent, then immediately cancel it" for technical reasons.

The entire payments ecosystem is a layer cake of abstractions that don't quite match each other perfectly.
Good point.

I'd say anonymous payments is a little different from being uncensorable though. You'll stay anonymous even after the payment has gone through.

As for transaction fees, if we exclude Bitcoin which has really high fees, cryptocurrency fees are very small and almost negligible.[0]

Getting money out of the country is always relative. Even with Bitcoin's volatility it's much preferred to losing all your money. Either you cannot bring it with you through the border, or Venezuela's hyperinflation will eat it up in a flash.

[0]: https://whycryptocurrencies.com/cheaper_faster.html
Prologue:

http://techcrunch.com/2015/03/19/anti-censorship-service-gre...

See links around this article, similar attacks have happened before:

http://www.netresec.com/?page=Blog&month=2015-03&post=China%...
Or some kind of abstraction layer.
Similar to the Airbnb tales recently on HN we forgive them these bad experiences. Where in the past we would never use the companies again if we had bad experiences now we just discount them "oh, but it's worth it and its so useful now regardless of the minor pain", "most of the time it Just Works", "you had a bad experience with an individual but the service as a whole is great"

I think it's partly because of the ease of use - usability, partly because of brand investment and loyaly, but with Uber and Airbnb, there are no direct competitors that have the same user experience. That people are willing to put up with hosts cancelling their uber stays or swapping them for something dodgy and that people are willing to put up with bad Uber experiences speaks volumes. I also think it might be because when things go wrong, we users will blame the driver not the company, we will blame the airbnb host, not the company.
Every piece of code or bit of functionality you write has a cost of ownership to your business.

Every preference requires more testing to make sure that other things don't break as a result of a user changing an obscure setting.

If you don't mind having to write test cases for thousands of permutations of possible settings, go ahead and let your customer change everything. A simple product, however, is far easier to maintain.
the icechick
I always seem to get "Well, you should call my uncle Bob, he's always looking for bright new people. I'm sure he could find something for you to do."

I know they mean well, but more than once I've growled back self not un.
Just in case anybody else got confused:

You don't take down an Erlang system to upgrade the code, you simply cause the nodes to update themselves, by sending them a message.
dropbox is great but their upload speeds kills the service. I get around 40-60kb/s while on other sites i get 400-500kb/s
You have to use gnome to use Dropbox, hopefully they fix that. Then all the systems folk will probably use this for quick n' dirty research projects.
Yes, and? This was specifically in response to the denial that racism is not a structural thing, which we have objective historical examples of structural racism affecting different populations.
I've been using react-table in Polar since the beginning and it's a great library.

We're using it in the document and annotation views and it provides pagination, sorting, etc.

I'm a bit nervous about this 7.0 release not providing a basic table UI as that was one of the wins for us migrating.

For example, here's a screenshot of the document repository:

https://getpolarized.io/#document-repository

... which is sort of the main view. React table allows you to sort by progress, creation time, update time, etc.

We used the same react table code to build the annotation viewer:

https://getpolarized.io/#annotation-viewer

One big issue we had was with context menus and selecting multiple items.

This doesn't come out of the box (of course) but I think platform-consistent multi-select is important so we had to implement all that functionality.

We're still a way from a more clear cut API for managing this stuff on the web + desktop + mobile.

I REALLY wish I could have web technology transparently work on mobile!
Forgiving student debt is, in my view, admitting that our college system is no longer worth its cost for many who borrow aganist their future life, and sacrifice much to attend. The root issue is that degrees no longer reliably indicate higher competencies. Anyone hiring recently will notice the difference between degree holders and those without, is mainly their economic background, ocassionaly their drive, and seldom their critical thinking skills.

While forgiveness for students might be proper, scrutiny must be redoubled back at the institutions that drove this crisis.
I moved from CA to MT a few months ago. Same experience. I've wanted to hug the DMV people here every time I've gone because they are so nice and helpful.
Google shouldn't be restricted to a subset of the available technology because a niche browser isn't updating to available technology. Yes, a side-effect of this is that the blind community using Lynx can't use Google. While unfortunate, it's also a tiny, tiny, TINY community.

If you want to be upset, be upset with Lynx for falling behind. Or don't be upset and switch to JAWS, BRLTTY, Orca, etc. But the idea that anyone is supposed to support every possible browser is just silly.
Also, an email or other means for the service to contact you, the user, is necessary for account recovery. Building a SaaS product without any efficient way to recover a lost password is silly. It leads to a ton of customer service headaches.
It feels like Zapier and IFTTT are the successors to Pipes, but I never quite got the same feeling from them (maybe I haven't checked Zapier in a while). But Pipes was ahead of its time and I'm still not sure of anything that really comes close to what I could do with pipes even back then. Thank you.
Ouch. Give me a needle please.
If you're looking for something very specific and the hiring is such that there's no time for a hire to get up to speed, vetting candidates to make sure they already have exactly the knowledge you need makes sense. But a lot of technical interviews are not really doing that. Google does not care about the specific knowledge they ask you about at interviews for the most part; they have so many Google-specific internal systems and processes you couldn't possibly have any experience with, that there is going to be some getting up to speed anyway. Instead, they're using the interview gauntlet as a proxy for something they're actually interested in, something vaguely like "technical skill".
> especially once chrome gets it's grubby hands all over my RAM

Have you considered switching to Firefox, which is a bit more conservative with memory usage? :)
I personally like Yoda Conditions, but a few coworkers have pointed out that any linter worth its salt will catch an = inside a conditional, so this doesn't actually gain much in safety. I've stopped using them because there a large number of coworkers find them confusing.
Don't need an import for Math.random(). Random is in java.util, while Math is in java.lang.
I literally tried about 200 different dot com names for our startup and they were all taken. I had some brilliant ideas. They were all taken. Even the weird ones I came up with were taken.

In the end I settled for something I wasn't 100% happy with. It was a dot com and quite relative to the business, but it wasn't catchy. At the point of registration I knew this would not be the final name. So I decided to stop wasting time fretting about a name and focus on the business and product. I know that at a later stage I will be able to get some clever creative team to come up with a great theme and name and a catchy dot com that encapsulates that theme / brand. So for now our site has a clean design with not too much branding, but will easily be able to apply the changes once the creative team work their magic.
I have started to look into this as well. But it is not as simple, every country in the EU actually has different copyright laws. Also the situation in the US does not seem to be that clear either.
I know I'm old school, but having a set period for QA is just as important as having a spec. I always avoid having the coders test their own code, otherwise that's like having a writer proofread their own copy.
Wow, that's all you have to say? I hate to disappoint you but this is not StackOverblow. And while we're at it tell your fat friend to do some research before writing posts on that funny blog of his. He writes about a lot of stuff he heard about just the day before in a style which suggests that he's an expert on those topics, which may turn very unproductive for kids who read the funny blog and take his word for granted without further investigations.
Beautiful code.
NYC traffic and cycling is in a state of transition. Only now, after years of advocacy, are we starting to get the NYPD to even think about enforcing traffic laws, and likewise it took tons of work to get even a limited number of speed enforcement cameras to ticket drivers going over 10mph over the speed limit.

Likewise, many city cyclists still practice the lawless messenger/madman style that was necessary to survive in a city with no bike lanes and no traffic law enforcement, and others revert back to it after being cut off by turning cars and riding past 10 blocks of a bike lane being blocked by cabs and cops and ...

We're making steady progress in NYC, but we're not there yet. It seems like we're making a dent, with some actual enforcement of speed laws taking place, and widespread media concern about dangerous driving and people being killed in crashes. CitiBike bikeshare is a normal part of the city transit system, and now has competent management that are fixing its software and investing in its expansion.

As you note, there's a gap in the East Side bike path due to the UN Headquarters. It's being filled, but since the UN Headquarters is sovereign territory, it's a very complex process.
Those communities only grew a long time after reddit's initial success. Remember reddit didn't even have subreddits when it started.
I meant to mod this up but missed the touch target. I'm sorry.
Aside: how come people are voting this comment down so hard? Even if it's incorrect, it's not nasty or ill-spirited. Shouldn't it be left at a "1"?
When I started out, about 30 years ago, the male/female ratio in IT was about 60:40. But I presume that men were also a larger percentage of the total workforce at that time, at least in "professional" roles.

The first time I really noticed the change was at Sun around 1998/99 when my group, containing about 100 engineers, only had two women in it.