jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
#!/usr/bin/python3

import os
import glob
import requests
import sqlite3
from dotenv import load_dotenv

load_dotenv()

passwd = os.getenv('PASSWD')
url = os.getenv('URL')
folder = os.getenv('FOLDER')

images = sorted(glob.glob(folder + '*.jpg'))

conn = sqlite3.connect('rpicamera.db')
cur = conn.cursor()

for image in images:
image_name = image.replace(folder, '')
row = cur.execute("SELECT id FROM uploads WHERE filename = '%s'" % image_name)
if len(row.fetchall()) > 0:
continue
response = requests.post(url, files={'file': open(image, 'rb')}, data={'passwd': passwd})
if response.json():
print("Error uploading '%s'" % image_name)
continue
cur.execute("INSERT INTO uploads (filename) VALUES ('%s')" % image_name)
print("'%s' uploaded" % image_name)

cur.close()
conn.commit()
conn.close()
I do all my monetary transactions on an OpenBSD desktop with their Chrome port.

This version of Chrome is a bit old (v93) but it is built with pledge().

I am running it on an older Core 2 Quad Q9550 where I have been able to completely remove the Intel ME malware (I posted the wiped bios elsewhere).

I hope that this is enough.
Meditation FTW!
I liked this part >>

# Why would your project be hard for someone else to duplicate?
This idea requires executing well in several somewhat orthogonal directions, and missteps in any torpedo the entire product.

For example, there's an academic/theoretical component: designing the protocol and app to behave consistently/recoverably when any power or ethernet cord in the chain could pop out at any time. There's a gross Win32 integration piece (ditto for a Mac port). There's a mostly Linux/Unix-oriented operations/sysadmin and scalability piece. Then there's the web design and UX piece to make things simple and sexy. Most of these hats are pretty different, and if executing in all these directions was easy, a good product/service would already exist.
My previous replies were incorrect sorry about that.
Thanks for that. You've just removed 90% of my use cases for opening an actual shell on the remote server.

I've been using vim for a decade or more. I guess it's a salutary lesson for experienced users. I should read the Changelog more carefully when upgrading.
what do y'all mean by anointed? I've been a gov contractor for many years. It doesn't take all that much to get into this space.

Basically, if you're a citizen and don't lie on applications and resumes and in interviews then there's really not any significant barrier to entry.
The choice of package manage is much stickier than the choice of hammer. I can trivially change hammers between projects or even between nails. Changing package managers is a lot more involved, and gets more involved as it's used more---and they've just established a precedent for using npm to package go binaries.
For comparison, here's a video filmed on Christmas day.

https://youtu.be/3RlQFy9WaBE
Right, a senator and some random person on the internet who's existent barely matters are the same vis-a-vis risk.
J Edger Hoover was a cross dressing homosexual who collected blackmail on political opponents while he was himself being blackmailed by organized crime.

https://www.mojeek.com/search?q=j+edgar+hoover+blackmail
In a lot of areas, the through routes end up being major highways, mountains or not.

Where I live, the numbered US bike routes all follow big highway shoulders that are perfectly rideable and likely to be awful most of the way. The shoulders are wide and the traffic is high.

https://www.adventurecycling.org/routes-and-maps/us-bicycle-...
What would you consider the most persuasive statistical proof?
> We left a lot of people behind, then we blamed them for not keeping up.

Haven't they been demanding to be left behind every step of the way? For decades they've opposed minimum wage, socialized healthcare, welfare, unions and just about anything "socialist" that would have helped them. Couple that with ever increasing urbanization that is not going to be reversed anytime soon, what could you possibly do to help them not be left behind?
Gotta start somewhere. There wouldn't be as strong a push for equality in the workspace nowadays if it wasn't for (amongst others) YC backed companies pushing for it.
As the author states, you should just be able to toggle between WYSIWYG and plain text and everyone is happy. This is the nature of all WYSIWYG editors so why does slack not follow this approach?
"Linux" is as much "an operating system" as "Windows" is. Single words aren't expected to catch the nuances of decades long ecosystems, but are still very useful.
>Engaging in "lewd acts" with a romantic partner is not allowed during your stay.

Sheesh. What's the point then?
If this had been written by anyone else, I would not have read it in full, let alone considered its theses. The idea(s) seemed abhorrently trivial at first but in the end, as with many things of this nature, I am -- badum-psh! -- not so militant against this word or the people that use it. And furthermore, after giving it some thought, I would turn it back around and say that the word "is" bears no fault here but instead lies with this worldview which asserts that the word "is" represents an absolute, static, and singular essence of being, instead of a temporary avatar created by circumstance. This may sound like a weird transition, but the stoics were talking about this (at length) thousands of years ago, and it really cuts at the core of the argument presented here: Who is -- badum-psh! -- the master of your mind? Because the person making this argument I think has clearly ceded control of their mind to an external force whenever a person uses the word "is". It may not be such a popular opinion these days, but I think the world could certainly do with less externalization and more introspective critical thought. I'm on board with the assertions of some form of mind control in advertising slogans. However that is kind of the point, right?
This is a prequel so it should stand on its own just as well.
I think it looks incredible. I love it.
> I still don't know why something is "efficient with" (a coefficient).

I can't parse this - would you care to expand on it?

> 3blue1brown is preaching to the choir AFAIK. I get lost trying to watch his videos as they also expect you already know the material.

If you care, you can always track back to earlier material and build your knowledge. Most people I know in a similar situation to yours don't actually care, and won't actually put in any effort.

And that's a reasonable choice. There are places where math is hard, needs work, and most people have come to a point where they feel that the effort won't be worth it, that the ROI isn't there. But if that's your decision, then own it.

If that's not your decision, and you actually want to know more, there are things you can do about it.

FWIW, I know a lot of really good math teachers, but I agree that there are also some really poor teachers. If yours were bad then I feel bad about that, although there's nothing I can do about your experience in the education sector. What you do about it now, if anything, is up to you.
No. The LLVM foundation is.
By numbers, Apple probably isn't even the largest contributor anymore (but this is just a guess based on mailing list traffic)
This paper is worth a read: https://bitcoin.org/bitcoin.pdf

From page 3:

Nodes always consider the longest chain to be the correct one and will keep working on extending it. If two nodes broadcast different versions of the next block simultaneously, some nodes may receive one or the other first. In that case, they work on the first one they received, but save the other branch in case it becomes longer. The tie will be broken when the next proof-of-work is found and one branch becomes longer; the nodes that were working on the other
branch will then switch to the longer one.
Anecdotally, Yosemite (clean install) had an order of magnitude more breakage than Mavericks. YMMV. Perhaps we're so used to the unreasonable expectations of almost everything working that more breakage than usual precipitaes a whinefest "crisis" that gets picked up on TechCrunch as "news." That somehow Apple is "over" because of a few bugs that are fixed in the next patch release. (New releases are buggy, obviously. Best to wait for everyone else to sort them out or help catch them in beta.)
I had a project to use wikipedia as a sort of universal translation memory for scientific/technical terms. Thought of possibly making it into a service, even though it's just as easy to look things up on wikipedia.

For all of us bi- and multi-linguals it would be nice to have a setting in wikipedia to present languages we comprehend and filter all other.
> I suspect a good way to get both range and fuel economy with an electric car is to have a hybrid: So, have an internal combustion engine drive a generator to charge the batteries.

Isn't that how the Chevy Volt/Opel Ampera is operating?
That's what the subtitle says.
IDEA costs money, is not fully open source but is still hip. What gives?
Have anyone done life transcription of sign language ?
You can have multiple accounts, it's not very hard.
Missing from the problematic browsers list: Cliqz
That's why the guy wrote the article. California has 60% the population of the UK, possibly lower as actually nobody really knows how many people live in the UK. The official population stats are biased low by the government's own admission. Thus GDP per capita looks quite different.

How much of this is due to the distorting effects of tech firms is unclear but, according to the article, if the UK were a US state it'd be the second poorest. That's a problem. I am not entirely sure if those stats are reliable, however. Having spent quite a bit of time in the UK and USA it doesn't feel like there's an obvious wealth gap, so how are these things calculated? As a commenter observes, it's possible a lot of the difference comes from healthcare spending.
Historically, I am not long cryptocurrency, for the record.

But I disagree. What makes "Bitcoin", or, if you'll allow, cryptocurrency keep becoming more popular isn't just hype. There's a lot, but I feel like there'd be more.

No, it's because everyone has their own reason for using it. Some people want to hedge against x, and use Bitcoin. Some want to get paid but not subject their users to ads, and use BAT.

Some want to exchange small amounts with friends on the net, or for food, and use Bitcoin Cash, or Litecoin, or whatever's currently got a stable-ish price, because it's that easy to swap in and out of cryptocurrencies.

Cardano, for all of its technical flaws, has sentiment behind it to stand stable. Perhaps like Bitcoin this will come at the dismay of the technical community - or perhaps more people will realize with the current speed of information proliferation, we truly do live in a partially post-truth world. Sentiment is ALL that matters for these matters.
If your code base is large, you've failed as a coder.

If your code base never gets large, you've failed as a company.
I think that sometimes Hungarian notation and strict coding guidelines can help, but more and more I think that there's no way to effectively enforce those things unless you automate them from the beginning. I've worked on very effective teams, where nothing ever got checked into master without two sets of eyes on it, strict rules were followed, etc., and there are always holes from lack of automation and legacy code.

Automation helps: linters, static checkers, runtime memory checkers, automated tests, all should be run on every check in. On a C# project I even created a tool that correlated diffs with a code coverage tool and rejected diffs that weren't covered by unit tests (it misses cases where code paths were executed by preexisting unit tests, so it didn't necessarily require a new test for every diff--I consider this a bug). But you always end up making compromises because there's Xthousand lines of code written at the beginning of the project that you don't have time to go back and write tests for.

One of the reasons I'm really excited about Rust right now is that it makes it easier to set these things up at the beginning. A lot of memory checking you have to do with separate tools in C comes free with Rust's type system, while Cargo makes it very easy to get unit tests up and running. My hope is that if Rust finds wider usage, the projects I come into will be more likely to have been set up properly from square one, and it will be easier to work on larger code bases.

I dunno, I'm somewhat new at technical leadership, so I'm still working out some of this stuff.
I deleted my facebook account about a year ago. I got so sick of seeing all the whining, political arguing, hoax type posts, etc... and if I blocked all of the people that did that stuff, I wouldn't have anyone left on there to follow. I don't miss it at all.
You get a range of skills while working on a science PhD that will benefit you in industry no matter where you end up. If you choose to study an area that actually has industry applications then its even better.

If, on the other hand, you get a science PhD and spend all of your time working with some insanely complex device that only has 1 application studying an esoteric process that has no industry applications... then yeah you're going to have a hard time finding work. This is the story I have seen over and over again among my friends and colleagues that get PhDs.

If you're a graduate student be smart about it and make sure you get the experience necessary to help you find work after graduation! No one else is going to help you with that, it is up to you to build your resume.

Professors that take advantage of cheap labor and don't help their students transition after graduation are a problem that Universities should take up. It is to the University's benefit to get their students into nice industry positions.
Why not talk to people who would find its utility obvious?
There's always character map which has this and like all others you can ever think of. A bit cumbersome, but at least one doesn't have to remember character codes and can search for characters by name.
In addition, it pushes company culture to use passion as a hiring signal, discriminating against developers who do not show sufficient levels because they are not "good". In my opinion, this leads to both the so-called "talent shortage" we have now and the underrepresentation of certain groups in the industry.

There are far more developer jobs than there are "passionate" developers. Many developer jobs that need doing are partially or totally a slog that no one would be expected to love.
No union is perfect for an environment without management. Introduce management and a union is required.
Curious: have you found your sentiment to be unpopular here historically? As framed, it seems perfectly reasonable. Plenty of nations full of wonderful people with rich cultures are run by polarizing politicians.
Sure, there are people who identify themselves as fascists. I didn't said it doesn't exist. But nowadays anything even remotely outside the status quo is called fascism by the lunatics on Twitter.

> Unfortunately the First Amendment gives corporations and bankers an enormous amount of power over what they choose to say and publish, which means they have political power. You can't do anything about that except scrap the First Amendment.

As you pointed out yourself, Trump was sued for refusing service to blacks. And yet, the 1A is still here.

> Or you should tell the white supremacists who celebrated Trump's victory[2]. If you're going to fish for weak "both sides are the same" examples, you're going to have to find an example that isn't so easy to counter-argue.

It's funny that you're posting Richard Spencer, because in this elections he was against Trump and he was celebrating Biden's victory.

He was supported by libertarians, nationalists, plain old conservatives or some liberals even. You can't be everything at the same time and this is a very stupid argument to make. Same goes for Biden.
Painted bike lanes do not feel safe enough to most potential cyclists so they don't lead to much modal shift.
This is of course true but at some point you have to pick your battles. There is no FOSS product which does this and there probably never will be. And it’s not in Apple’s business model to try to collect this data.
I didn't open up the "just go start your own twitch" line, I was responding to someone.

> You can say what you want on the internet, but people don't have to listen and companies don't have to broadcast you, promote you or pay you.

That sounds good in a vacuum, but what about when it's a handful of companies doing all of the broadcasting? If this were the internet of the 2000s, with a widely distributed network of self-hosted blogs and BBs, I'd be right there with you, but that's not where we're at.

Alex Jones is big enough to bring his noxious show anywhere. What about the little guy? What if it's the historically persecuted who continue to be persecuted when this all shakes out?
https://news.ycombinator.com/item?id=658691
Interestingly, there's another book with the same title. Both are from 2005:

By Dephillips: https://www.goodreads.com/book/show/437452.Corporate_Confide...

By Shapiro: https://www.goodreads.com/book/show/62085.Corporate_Confiden...
Agree or disagree I don't really see how this is news.

Companies like Twitch will ban people they don't like anyways, they don't need an explicit rule. It seems obvious that someone who commits violence or hate crimes will get banned from popular social media platforms.

Also all of the "severe misconduct" that they state are obviously bad things, like bigotry or actual crimes. Of course they could call "severe misconduct" anything they want, like supporting the Amazon unions. But they could ban the supporters and give whatever explanation they want anyways.
Others have said as much. Here is a quote from William Binney, another NSA whistleblower, on advice that he has for Snowden:

> I would tell him to steer away from anything that isn't a public service — like talking about the ability of the U.S. government to hack into other countries or other people is not a public service. So that's kind of compromising capabilities and sources and methods, basically. That's getting away from the public service that he did initially. And those would be the acts that people would charge him with as clearly treason.

The whole interview is a great read: http://www.usatoday.com/story/news/politics/2013/06/16/snowd...
I've been living in the USA for 3 months now, and he doesn't mention the thing I find most surprising / disturbing / worrying / uncomfortable, which is the amazingly strong correlation between wealth and skin colour. Sure, this exists in S America where I was living before, but I expected better in the "first world".
You should read more of Chazelle or Tarjan; they both write their maths very clearly.

Thank you for an amazing series of faux-blog posts on this thread. As an undergraduate hoping to enter math research, these have been invaluable to me. I can't upvote you enough times.
The main gain is that you no longer have to worry about getting hit by this class of attack whilst browsing as normal. XSS attacks are happening all the time, even on major websites run by extremely clever techies. You think that is very little gain. To me, that gain is worth the hassle of having to manage NoScript. There is also a positive secondary benefit in that most websites which don't require js to work will run a little faster with NoScript enabled.
How about balancing the increased submission rate with more items on the front page?
Exactly. It allows people to easily reset their passwords if they've forgotten them while reducing their need to update their password if someone accidentally/maliciously attempts a reset.
I feel that we are gradually going in the direction of stock android on phones. Motorola has rolled back it's Motoblur to just blur, Samsung has been catching a ton of heat for the lack of updates to old BeholdII phones and the slow pace of updates for Galaxy S phones.

If the Nexus S is commercially successful (and I hope it is as I own one) then I see more handset manufactures moving in that direction.
you wouldn't get access to the cookie in most browsers. The github session cookie is apparently marked as httponly in which case JS wouldn't see it.
Funny you should mention Mass Effect, because I'm playing that for the first time as well. Evidently there's a romantic sub-plot, making it even more relevant to this story. Will I get an Xbox achievement and 25 gamer points if I get lucky?
Thanks.

I realized why I missed the bit about the PIN:

1. It is omitted from the steps in the main content area, and

2. Due to a design neurosis I have, I did not process the bit at the top that talks about the PIN being required because my brain fixated on the different icon styles (Logo: what I think of as SVG style; Gmail: well, Gmail; Phone: Silk-esque; PIN/shield: Vista/Win 7). I trust the vast majority of your visitors will be able to retain the information you presented instead of doing whatever my own mind does…

Anyway, thanks for pointing that out. I think I’ll try it out!
in my experience a lean mean libevent api is the winner. once i need dns or http for size or speed there are more choices than to bog down the event handler. Yes, I understand the benefit of having dns/http/and who knows what in the event handler. once a program needs event handling for multi platform simplicity still the best way to go. i stopped using libevent since the dns/http stuff was added. and in some cases i had to write event handlers from scratch for different oses to have uniformly good acceptable performance.
Interesting idea. Will try it. Congrats.
Not at all! It wasn't that bad -- the object files just needed to have sections that had particular size restrictions, names, etc. Nothing too tricky.

I don't recall the hardware being too separately encumbered. Sony Research provided all of the early adopters with significant technical specifications about the hardware itself, though admittedly much of it was documented in Japanese and this is ~10 years before google translate. I remember one other independent research group rewrote all of Sony's dynamic stability code and was able to increase walking speed significantly, and there was a lot of that level of information available.
> You don't seem to accept that other people may have different tastes than you.

No. I'm well aware that others have different tastes.

What I'm arguing is that this feature that some people find convenient and harmless is not in fact harmless, and actually systemically degrades the site over time.

It's a systems problem, not a problem with any one individual.
yes. that's what rob told me too.
Or you could just get a local prepaid data SIM
I think I’m going to hold off on trying this after all, for security reasons. Seeing a stack trace/debug info is frightening because it’s not just a bug, it’s a configuration error that belies a certain lack of caution.
Are you suggesting anti-union actions from a US corporation on a news site run by venture capitalist?

I mean... I hope this is not a new revelation to anyone.
With at-will employment, almost any reason is justifiable.
But how does that brick the device? I guess the hour counter overflows, goes negative and that screws up a calculation later on, causing the firmware to crash (over and over again..)

If only SSD vendors would do the usual cost-cutting measure of loading firmware from the host computer, this could be trivially fixed.
I think it’s obvious they’ve concluded they have little to fear from the government or the NLRB with the current administration.
Assuming the station is open 24 hours
It's probably the SMART "hours of operation" field. I see no reason for anything else to be stored in units of hours instead of seconds.

Yes, this means that a field meant for diagnosing failures was responsible for a failure. Oops.
Yeah, ClojureScript is amazing.