jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I had the exact same experience. I have to have my friends buy things on Kickstarter for me since I don't feel like faxing Amazon proof of my existence (which they don't seem to require when I want to Amazon Prime some more USB cables).
In my experience tethering via bluetooth the bottleneck is BT not the cellular network. I get 4-5x the speed by using USB.
Most key "management" systems like to hold onto your private key for you and provision your connection for you. That's insane and defeats the whole point (as you point out)!!

As far as server-side, automation keys are often 'server' side (where the server is itself a client). Userify can manage and deploy those keys as well, but it's not super easy (yet) -- currently, you still have to 'invite' a (fake) user, create a new user account (company_backup_account or whatever), and then choose all the servers that you want that public key deployed to. That part could definitely be easier.. and soon will be.
Speed and simplicity of the design. You can for instance download a whole playlist of videos at once and get a .m3u file that includes all the direct links to the top quality videos.
If you are on a freelance platform, don't sell yourself as a coder, sell yourself as a problem solver.
Some freelancer sell them as the professional who reduces your website page loading time, or the guy who is pretty good at building real estate site.
Find a niche. Show to the people you can help them to improve their business. Most of your potential clients have no idea what Ansible or Docker are.
Yep, this is what they're getting at. (I work at Stripe.)
It's strictly anecdotal but I have a friend who's been a Windows guy all his life.

He was already a great programmer, but he took a DevelopMentor Guerrilla .NET class and made contacts there that put him on a contract for Alyeska.

I doubt if he was a mediocre guy they would have noticed him, but he absorbed and mastered the material and got noticed. shrug It happens.
Wow. I feel like you're more likely to get a poor non-CS candidate this way. i.e., you're more likely to get a non-CS candidate who isn't good at reading instructions, or isn't honest.

I myself wouldn't apply for a job that asked a BS in CS, as I don't have one. The best case is still awful: The company is being dishonest about its requirements. Which if they're dishonest about their requirements, who knows what else they're being dishonest about? Benefits? Hours?
A quote: "I have absolutely no interest in attempting to persuade anyone of this conjecture being either true or false."

Be that as it may, you may want to think about how people respond to a rational appraisal of our present circumstances. Remember that evolution and natural selection are at work in the modern world, in human society. So, given that, your audience can be segmented into two groups:

* First, those who are intelligent, compassionate and responsible enough to take remedial action, i.e. stop having children. What? You thought there was some other solution to the looming environmental catastrophe? There isn't -- the relentless mathematics of population increase cannot be bargained with or ignored.

* Second, those who are not intelligent, compassionate or responsible enough will more than make up for the actions of the above class of people by creating the entire future human species. The result is that, as things on Planet Earth get worse, the intelligence and perceptiveness of the survivors will continue to fall.

The above is the simple version of present reality, but it cannot be used to rationalize eugenic or racist policies. We're all in this together and the problem is not which children, it's the fact that there are too many people -- of all kinds -- having children without thinking.

We're victims of our own biological success, and it appears nature has a sick sense of humor.
devs also pay $100 - $300 a year for the privilege
But that’s exactly the point. You pay it because they have something you want. You can say they shouldn’t be allowed to gatekeep their markets but that’s a separate thing. Taxes you have to pay even if you don’t want the services.
I think you'll find in the modern era / younger generation, running Ubuntu on the server is actually very common. Especially in the cloud. Most usage of CentOS I've seen in newer builds is strictly for hardware that requires vendor driver support, which is becoming more and more rare as vendors upstream their drivers.

CentOS was the server standard 10 years ago. And most of the downstream distros like Scientific Linux and Oracle Linux are dying.

80% of the world runs this, citation needed because I don't think that's remotely accurate and likely represents your personal bubble.

https://distrowatch.com/
they dropped plans to e2e encrypt icloud backups because of the FBI: https://www.reuters.com/article/us-apple-fbi-icloud-exclusiv...
Seems like that issue would be fairly simple to solve.
No, windows has no such "user friendly" features...irony off.
The fun thing even those amateurish windows users know how to configure the dns server if they use a static ip.

But maybe Linux users are not so technology affine...second irony off.
Oh hey why isn't there a feed for that? I think that would be cool.
My opinion is that the poor see themselves the way the rich want them to.
>Perhaps a neural network can tell what a cat looks like, but can it tell the difference between a dead cat and a sleeping one, by watching it breathe?

Yes, yes it can: http://arxiv.org/abs/1411.4389 (Long-term Recurrent Convolutional Networks for Visual Recognition and Description)
It's certainly surprising how much of perception can be reduced to classification.
That was actually what the F22 was going to be named.
You can capture the index with a keyword argument default value:

def foo():
lst = []
for i in range(4):
lst.append(lambda i=i: i)
print([f() for f in lst])

FWIW I played around with this issue in various languages in this blog post: https://my.smeuh.org/al/blog/lost-in-scope
Once you get the difference between block scope and function scope, it's quite easy to see what's happening.
Indeed. For more real-world examples of people who thought that they had "big data", but didn't, see https://news.ycombinator.com/item?id=6398650 ("Don't use Hadoop - your data isn't that big"). The linked essay has:

> They handed me a flash drive with all 600MB of their data on it (not a sample, everything). For reasons I can't understand, they were unhappy when my solution involved pandas.read_csv rather than Hadoop.

User w_t_payne commented:

> I have worked for at least 3 different employers that claimed to be using "Big Data". Only one of them was really telling the truth.

> All of them wanted to feel like they were doing something special.

I think that last line is critical to understanding why a CIO might feel this way.
Latency would worry me with this. The browser VMs aren't real time systems.
As long as you do not own what is being produced you will always be in a 'time for money' situation. You are trading your time for money (sometimes 5% more a year - or 15% more a year, if you strategically play chess with the job market and your skills niche).

I believe we are all much better off if we focus on building our own niche community/product (a.k.a. http://javascriptweekly.com - the number of subscribers is not as important as the quality of the subscribers).
It's a nice trick, but it's not too "blazingly" fast.

In [73]: cProfile.run('for i,v in enumerate(open(fn)): pass\nprint(i)')
15496799
406215 function calls in 10.998 seconds

If you really don't want to do anything with the content of the file, better not spend time splitting lines, just read in the data in nice, big chunks.

def file_block_count_lf(f) :
while True :
k = f.read(1<<20)
if k == '' :
break
yield k.count('\n')

In [77]: cProfile.run('print(sum(file_block_count_lf(open(fn))))')
15496800
10977 function calls in 6.479 seconds

On the other hand, I think sum(1 for l in open(fn)) is a little more pythonesque, and can also be written in one single expression, if you must. It's a little slower, though.

In [70]: cProfile.run('sum(1 for l in open(fn))')
15903016 function calls in 14.409 seconds

Besides cProfile, also "timeit" is a useful python module for this kind of micro benchmarks.

(the long output of the profiler is a little more interesting, I've put it in a pastebin http://pastebin.com/WXX93sS8 )

EDIT/ADD: There's an awful lot time spent in decoding the characters to unicode strings!

def file_block_count_lf(f) :
while True :
k = f.read(1<<20)
if not k :
break
yield k.count(b'\n')

In [48]: cProfile.run("sum(file_block_count_lf(open('more_logs.txt','rb')))")
4768 function calls in 2.969 seconds
I've done timing tests and it is typically on par with tail & wc. The bulk of the time is wasted reading your file into ram, the time it takes to count the lines is essentially 0.

Edit: Of course I misspoke, yes tail is much faster for getting the last line of the file! I meant for getting the line count the loop methods is typically just ~5% slower than wc on sufficiently large files.
I find this article rather bizarre. The opening paragraph sounds a note that the rest of the article fails to pick up. It seems to me newsworthy that so many of the presumed candidates for 2016 are attached to past presidents, and "aristocracy" in that sense is definitely worrying and worth public discussion. But that's not the subject of the article.

The subject of the article is the privilege ("aristocracy" even) of intelligence. The thesis is that intelligent parents beget intelligent children, and since intelligence tends to beget success and wealth, intelligence represents a sort of inheritable good, a "fortune," in effect, handed down through family lines. Since all such inherited benefits undermine equality (the claim goes), they are a societal evil and should be combatted. The article suggests that the best way to combat them is to promote the less-intelligent or the intelligent-without-parentage. This is soft-gloving the issue; if inherited intelligence really is a societal evil, surely holding down those who are intelligent would also be a valid strategy.

This is a wonky argument at best. A few of the holes:

In what way is this situation new? If the inheritance of intelligence gives a unfair advantage to the heirs, when in all of human history was this ever not a source of inequality?

Surely inequality (in this abstract sense) is not such a universal, unmitigated evil that it must be fought everywhere it appears. People are in fact different; some people have advantages; some of these advantages are inherited. Where's the evil, the danger, in that? "Equality" in the sense that democracies embrace and fight for has never been taken as encompassing personal traits. If I'm beautiful and my parents are beautiful, should I hide my face in shame in a democratic nation? If I'm a great pole vaulter and so was my mother, should I hide my skill or contribute extra funds to support the training of weaker pole vaulters? The article misunderstands the notion of equality and, consequently, misidentifies the "danger" or "unfairness" arising from differences in people's abilities.

This is no innocent error. If we truly believed, as a society, that smart/beautiful/talented/gifted people posed a danger to society, represented a form of inequality, and formed an "aristocracy," we would be motivated to perpetrate the grossest sort of manipulations (at best) and atrocities (at worst) to equalize them with us ordinary folk. The result would be horrific, evil, and destructive to the utmost, not only for those unfortunates who were subjected to "equalization" but also for society itself.

Attack the privileged, if you must, when their possessions or powers pose a threat to the wellbeing of members of society in general. Do not attack those who simply have great abilities, even if their parents did too, or you'll achieve nothing but spite against your own face.
I can't help but feel that the VHDL that was written is a bit overly verbose. You could probably write something like:

i_sm: process(clk, reset)
begin
if (reset) then
state <= DATA_BITS;
elsif (clk'event and clk = '1') then
case (state)
when DATA_BITS =>
if (data_valid = '1') then
if (count < 8) then
count <= count + 1;
else
state <= STOP_BIT;
count <= 0;
end if;
end if;
when STOP_BITS =>
if (data_valid = '1') then
if (count < num_stop_bits) then
count <= count + 1;
else
state <= DATA_BITS;
count <= 0;
end if;
end if;
end case
end if;
end process i_sm;

which is not too dis-similar from the Cx example (I've missed a few things out like port/signal declerations, just wanted to show the guts of the code). The thing I like about VHDL/Verilog is that its easy to tell the exact port names, what the clk is, the name and type of reset, etc which is useful information for putting the block in the context of an overall system.
Were these articles written in response to each other - as you sometimes see on HN?
There's a perception that hadoop commands are terribly complex. If you run

$spark-shell

you can execute (interactively)

val file = spark.textFile("hdfs://...")
val errors = file.filter(line => line.contains("ERROR"))
errors.count()

And wordcount a file - ok the wget is not there, but this is really not complex!
alias dired='emacs -Q -nw .'
You could make a case that an ISP or proxy operator that replaces advertising with other advertising is stealing from the operator of the original website. But blocking ads is the same as not looking at ads in the paper. If you're not going to act on them or read them you might as well block them for the bandwidth savings and speed improvement. Besides that, not all advertising has your best interest at heart, there is quite a bit of malware that uses distribution via advertising networks as their vector onto your machine. So now adblocking has the perfect fig-leaf: it will keep malware of your machine. This makes adblocking mandatory within organizations if they're savvy about this, why take the risk of having to re-image a bunch of machines or allow a bunch of drive-by malware to gain a foothold behind your precious corporate firewall if you can simply block it at the source.
But it depends how we define wealth - if you define it by income it's going to cast a wider net than if you define it by assets.

My view is we should define the 1% by assests
A naive way of looking at it:

Benefit to humanity = Number of people it affects * Impact per person.
Numeric stability is very tricky to get right.
Yes, I'm happy to provide my feedback. I am not a designer, so I cannot articulate on every detail that needs improvement. I was just pointing out that it took longer than normal to grasp the functionality of everything. The most obvious improvement is removing one of the two search boxes. Even though you mention that designers can improve it themselves, the default design and color scheme should be very strong if you want to scale beyond early adopters that are passionate about your product. So the Christmas color theme should be changed. Reading text in a red font strains the human eye, so I'd do away with that as well.

I used MS Paint to make a few edits:
http://yfrog.com/eodesign0j

The startup I am at has gone through 16 completely redesigned home pages over the course of a year before landing on the one we're at now. We are always asking ourselves what could be improved and watching User Fly videos to see where users are getting confused. I'm only trying to provide food for thought to improve and enhance your product; a product that is off to a great start.
Related: https://news.ycombinator.com/item?id=26222160
While it’s not perfect it’s significantly better than burning coal.

Geographically we can’t rely on solar; I’m not sure why we don’t have more wind turbines!
Your comment was down voted because it mentioned a political figure. In today's hyper-polarized society, any mention of politics in a discussion about something apolitical preemptively draws silence or disregard. No one wants to be dragged into an adjacent unproductive argument.

Looking at your other posts, it also seems that you easily show a pessimistic attitude, similar to how old people will complain about younger generations. No one responds positively to such generalizations.
is schemaless still the db now?
The way I see it is, there's no benefit to you if your involvement with a guru is to follow, support, admire, and believe. If that's all you do, then the benefit only goes to the guru. On the other hand, if you believe that any benefit will come through building your own understanding through work, thought, and experience, and they influence you to do this work, then you will benefit, and it hardly matters if they personally have any great insights or not.

There are gurus who encourage the first kind of involvement at the expense of their students, but different people can take different things from the same teacher. Some people are strongly predisposed towards one or the other forms of involvement. Some people want to just sit and listen, and they'll get little benefit whether they're listening to a saint or a fraud.

As for intellect, when someone is presented to you as a guru, all or nearly all of their specific insights are going to be well-worn, recycled cliches. A guru is more of a coach than an intellectual. An intellectual's job is to say new things, or old things in new ways. A coach's job is to say what you need to hear even if it's been said a hundred million times before.

For some reason we get this all mixed up when it comes to "spirituality," and we believe everything hinges on the quality of the ideas. Instead, imagine your kid's soccer team is being coached by the great soccer manager Carlo Ancelotti. Imagine that they spend every practice sitting on the ground and listening to him lecture them on technique and tactics (not that he would make this mistake.) Meanwhile, the other teams are coached by parents who know nothing about soccer, who run their teams through dribbling and passing drills they looked up on the internet, followed by some chaotic scrimmaging. Your kid's team is not going to win a single game, even though they have a "true intellect" for a coach, and the other teams are coached by frauds.
CNN, who themselves lean Democrat, do not seem to agree with your perspective in the article I linked. They are stressing the Democrats' and Biden's role in this

> Democratic lawmakers are expected to introduce a resolution on Friday to hold Saudi Arabia accountable for Khashoggi's death and dismemberment as well as other human rights violations.

> the President has ended US support for the Saudi-led war in Yemen launched by the crown prince six years ago. Biden has also ordered an end to some weapons sales to the kingdom and will soon release the report,

> Dennis Ross, who has worked on Middle East issues in multiple administrations, said Biden is using the report's release to send a message to Congress,

> "I think the Biden administration wants to demonstrate clearly that it is a new day after the Trump administration
> Do you know if there is a formal term for this kind of dependency chain and update order scheduling is called?

ECS might make this an independent-enough concern that techniques from build systems would be applicable. See "Build systems a la carte" [0], for instance, which captures the (an?) essence of build systems as managing a graph of dependent dataflow processes. (In ECS, the dataflow would be mediated by the database of component tables, just as in Make the dataflow is mediated by the filesystem.)

[0] https://www.microsoft.com/en-us/research/publication/build-s...
Indeed. The problem isn't that you can't install anything, it's that the goalposts for getting software installation approved are so high that it's faster to reinvent the wheel using the tools you have.
> Overall, this is just another way where most politicians (in this case, Republicans and moderate Democrats) are representing their lobbyists more than their constituents.

I would be careful with this interpretation. Universal healthcare has broad support but when phrased in the context of specifics or in the context of what has to be given up to achieve it the percentage of people supporting it declines.
Perhaps. That's what I myself did when adding handling for affine unit conversions in a project I worked on.
I was early 30's when I finally bought my house; for me, it was a combination of not feeling like settling in a house just yet (I switched jobs and cities a few times over the years), and once I was ready, I didn't just settle for the first thing that came up but I had some basic requirements (things like some outdoor space and a separate bedroom, I know, shocking). Then came the issue that housing prices went up faster than my income could keep up with. And of course I was single / single income; entering into a financial interdependency (my vocabulary is on fire today) is not the norm, and cynically speaking, most relationships end up in tears, sharing a mortgage in that case is even more sucky.

But anyway, the rent I spent on various 'student' housing over the years does add up to a quarter of the value of my current house. In retrospect, I should've bought a cheap apartment ten years ago.
My favorite feature of that scene in Wargames is that when Joshua/WOPR gets down to two or one digit remaining, there is still time to have suspenseful dialog. This in spite of the fact that there would only be 100 or 10 remaining permutations to test with so few digits remaining, and the animation shows several dozen being tested per second. Nevertheless, Joshua seems to keep trying the wrong last couple digits to give the humans some more time to act.
And may no longer even EXIST ... seriously love when working with old libraries and all i have is some dump copy on github of a long dead source code littered with comments about see the web page for the docs... the docs dont come from the comments, and lo and behold, the stack overflow post ... slaps you in the face with yet another link.
alt.emo, lol
Qualified immunity is unrelated to whether the city will cover the settlement for the cop (which they usually do) this is about whether if a cop does something illegal to you, that hasn't explicitly been called illegal in identical circumstances, can you sue them like you could any other person that violated your rights.
Please. Try to make the public transport comfortable. That means a seat (I get that in a car), not having to crawl over somebody else next to me or have them sit too close.

It means not having to worry is a fight is about to break out, having some punk shine a laser in your eyes (happened to me), having space to put down my bag and some place to put my feet (I am short, I don't reach the floor in most busses). It means no crying children (meaning no small children on the buss at all). It means that and a million other things.

It also means I don't have to stand in the rain to wait for a bus, ever.

Oh, and it means no pandemic. I am not going to sit in an enclosed space with strangers at this time.
Even if you guess the marital status "right", you will still offend many. Why should women be defined according to marital status, especially when men are not?
If I recall from booking airline tickets (in the long, long ago), you always have to enter your birthdate to book the ticket in the first place. Why wouldn't that information just be used to determine child/adult?
Definitely - in a last job, I wast told to not make waves (about how we could cooperate in a better way) and follow the agile process.

I resisted sending that scrum master a first sentence of agile manifesto and left promptly.