jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
They do mention botnets deploying the attack, the "connections per IP" filtering will not help there.

I agree the chunked encoding statement makes no sense, nor does the "break the protocol" statement.

Some rough calculations (a simpler attack, with this timeout byte trickling isn't required):

Given: 200 bytes of header/transport can get a POST started and down to its content.

Given: A legitimate customer on a shabby, long latency link might take 5 seconds to get his POST request and data sent.

Compute: With a 5 second timeout, a bad person can hold a resource for 40 bytes/second of bandwidth.

Compute: 256[1] resource limit takes only 80kbps.

Compute: 20000 resource limit takes 6Mbps.

Still, you are right, the sky isn't falling:

• identify and throttle bad actors

• throttle single IPs (be careful about your giant corporate customer that NATs everyone)

• reduce the cost of the resource. Don't start a process until you have all the POST data. I would leave the data in the kernel until I had all the POST data or a lot of data (MSG_PEEK is your friend. 'real' requests will all come in the first datagram anyway) (Yes, kernel memory is special, but I sure don't want these attackers to cause swapping, so bytes are bytes and a billion of them are cheap.) Ultimately the TCP connection count will be the expensive resource. Google your way past the 64k limit.

• data tricklers are probably easy to see if you are watching the size of your read()s.

• crazy over the top solution: use a separate IP address on a virtual mac address in your linux box without a kernel IP stack on it. Do your own TCP blending the TCP state machine with your own HTTP request decoding state machine. (Actually, if you have slots, maybe just use another physical controller, it will be faster and you won't shoot your own leg off by accidentally engaging the kernel TCP stack. When you see a spurious RST in response to a SYN, look for that leg.)

EOM

[1] random self discovery of the day: I consider 256 to be one significant digit.
Yup, that's the biggest usability problem on our list; workin' on it!
I was kinda amused to see the manhole problem there.

(because I read this: http://news.ycombinator.com/item?id=1866305 )
Did you miss the "update" part? That was at least a few hours after my post. And, despite using volatile, it still runs faster.
iOS! iOS! iOS!
...please!
Not only for taste, but a lot of the spices (such as ginger, garlic, and especially asafeotida - http://en.wikipedia.org/wiki/Asafoetida) used in india cooking are meant to aid in digestion.

If you want to buy cheap spices you can't go wrong buying whole dried spices (they keep their flavor much longer) from an indian grocery store. I've always found one near where I've lived (mostly east coast, but I did spend a summer in Albuquerque and I found a few there).
They would lose iCloud access. That's what the Chinese Government threatened them with.

It is not "bricking phones" as you said. As much as you don't like this fact, Apple had a choice and decided to put the Chinese government before it's users.
I find that drivers willing to cut into a small gap ahead of me are very likely to change lanes again in 30 seconds. I'm not convinced tailgating saves any time at all.
This works for me in Angular too, on Windows, WSL2 and Docker Desktop.

The environment variable is used actually by the chokidar[1] package, which is used by webpack, angular-cli and others.

[1] https://www.npmjs.com/package/chokidar
Well, in case of Netflix - Netflix run the servers - from hardware to the custom FreeBSD build as the explained in multiple talks.
Sounds plausible. I was in Delhi a couple of years ago, using mostly Ola (Uber didn't seem to like my non-Indian card, strangely enough) and most of them did not have seat belts at all.
It might be nice for someone to combine one of these with a recoloring model.

I remember initially being surprised when my parents told me that "the past was in color; just the photos were in black and white". Apparently, color film photography didn't really become economical until the 1960s. Being able to see black and white photos of the past with added colors can help give a better sense of what the past actually looked like.

(The usual caveats about the risks of incorrect recoloring apply, of course.)
Because the company makes your rating/pay dependent on BS metrics that drive the wrong behavior, such as merging on Friday so that your cycle time isn't too high. Might mean a paycut. Friday deploy gone wrong? Fix the issue, issue another PR that is approved and also deployed in no time? You're the hero and your metrics are also awesome. Cycle time baby!

:(
I was talking with a bunch of friends on Clubhouse last night about Fry's – we made a "Fry's Electronics Grief Support Group", and after giving a lot of space to collective mourning, we started talking about how weird it is that the fun and excitement of shopping for electronics isn't present in e-commerce. Even with TikTok and Discord, it's just not the same. And our grief turned into a desire to build something new and beautiful.

We decided to start a Discord server where we'd begin a community shopping experience just like Fry's. There's already a bunch of cool Discord servers for buying electronics, like buildapc and StockDrops. Why not add one where we recreate all the zany things we love about Fry's – even a channel for the gumball machines!

So far the server is kind of like a Fry's cosplay, but in no time we will actually bootstrap some stock drop bots into all the channels ;)
I rather consider your kind of argument to be hand wavy. "Some people simply have no options or opportunities whatsoever". Can you provide some actual examples? And what is even the point to talk about those hypothetical people? Since nothing can be done, their situation can never ever change, there is no point in discussing it.

Yes there may be some people who are too sick to work. Everybody else can go look for another job. And the ones who are too sick to work probably have other people taking care of their kids already. So those other people can go look for another job.
I would be worried about leaving it unattended though. Are anti-stealing systems any good these days?
I've worked at Amazon in the past for almost 3 years. You have to put in some initial time investment of 6 - 12 months to learn everything about your job. After that it's not very hard to coast and fly under the radar. I still have lots of friends working at Amazon who are not working more 10-15 hours a week at the most.
I love going out and meeting new people and partying. I hate going to the office. Strongly preferring remote work is not just an introvert thing.
In the Netherlands they turn those single one way lanes into bike first streets.
I'm 100% convinced people who do not like remote work are not doing it correctly, or their company is not providing them with the tools and culture to do it correctly. Remote work done correctly is the best option for 99.9% of all jobs that exist.
More people on bikes doesn't mean all people on bikes.
The reason why the word depression is too general is because depression is a normal conceptial state that everyone will endure at least once in life. Real, debilitating, actual depression, is life-long and persist regardless of any one event. It's not just a function of the mind or an emotional relationship related to life, but an absence that can only be described as emotionally detached, sociopathic, and even as an obligation of guilt and doubt simply for existing in a time you can't accept.
A bit off topic but is it conventional to have side mirrors on the hood like the taxi in the image does? Better view?
The problem I've seen is that it's not just geeks this time. Sitting around a New Year's party with mostly non-geeks, everyone was discussing how they were hesitant to install new versions of iOS now thanks to bugs et al (both existent ones and media trumped-up stuff). That's both a direct and a perception problem that Apple has got to fix, stat.

The only good thing for Apple is, the same discussions included frustrations over both Android and Windows 8. Maybe the thing is that now, everyone's an early-adopter geek.
To add something, I actually like Windows 8 and their Metro stuff. I have a 55' LED screen hooked to a PC that I use as my 'media center'. Metro looks gorgeous on it, most of the time I use it for playing music but it had proven useful for other things like opening the allrecipes app and having the recipe displayed while I'm cooking [1].

Aside from that, that PC is always on and being used for days at a time and it never becomes snappy, never drops out of the internet, not anything. And it does it all while using ~2GB ram, I know it's not little, but come on, OS X barely makes it with 4GB.

[1] http://imgur.com/lKYss9D - Check it out, notice the smile on my face.
47 U.S.C. 541(a)(1). https://www.law.cornell.edu/uscode/text/47/541. Part of the 1992 Cable Act: http://www.lib.niu.edu/1994/im940207.html.

"A franchising authority may award, in accordance with the provisions of this subchapter, 1 or more franchises within its jurisdiction; except that a franchising authority may not grant an exclusive franchise and may not unreasonably refuse to award an additional competitive franchise. Any applicant whose application for a second franchise has been denied by a final decision of the franchising authority may appeal such final decision pursuant to the provisions of section 555 of this title for failure to comply with this subsection."

Theoretically, a pre-1992 contract negotiated before the law was passed might still be in effect. In practice, these contracts had 5-10 year terms and expired long ago.
>My teammates have tons of experience

i think it's too early to judge these guys either positively or negatively. it might be that the friction you're experiencing at this point is a result of things like working with rotten code, them withholding the specific domain knowledge, etc. and what you take for your own incompetency in reality is someone else's mess dropped on your head.
> I'd love to see some valid reasons for using Tor to browse HN.

Many countries have restrictive firewalls, for example. In other countries things may not be blocked, but people know their actions are being monitored and would prefer to be able to communicate openly without self-censorship.

If you need more food for thought to stimulate your imagination, the tor project has a page just for this:
https://www.torproject.org/about/torusers.html.en

> To discuss solutions, you need to define the problem first. I don't know, use a VPN service or set up your own?

I think you may have misunderstood the purpose of my post. I am technically inclined and I'm sure I could find many workarounds. But that will not help other tor users. The hope by posting this here is that the HN admins will see it and try to give tor users a better user experience. Other people in the tech community might see it and decide to deal with tor users in a better way themselves.

To preempt the inevitable, I am not saying any of these people have any obligation to serve tor users. But I suspect most of this is not done intentionally and the people running sites do not realize how they inconvenience a segment of their userbase.
If you're new to programming, it's pretty good. If you're an experienced programmer looking to pick up python, then it is very slow going and takes a while before it gets anywhere interesting.

Basically it should really be called Learn Programming The Hard Way Using Python
The article mentions the Project Oberon book and the piece list algorithm, which goes back to Xerox PARC's Bravo editor. Coincidentally I came across this paper recently about different data structures for text editors, which covers the piece list algorithm but also several others: "Data Structures for Text Sequences" (1998), Charles Crowley (https://www.cs.unm.edu/~crowley/papers/sds.pdf).
Wikipedia (6th largest website in the world) serves only unencumbered formats. Apple's Siri uses Speex. As does Flash. This stuff shows up in more places than you think, precisely because it allows innovation without asking permission.
I totally agree: most engineers need to engage in both modes of work (solo and collaborative) in the course of their work week.

The collaborative time is crucial: I've worked in places where there was no culture of collaboration; sometimes programmers working solo would "go dark," spend days going in the wrong direction, or spend inordinate amounts of time spinning their wheels because they were stuck on technical issues that other engineers could have helped them with very easily.

So: yay collaboration! I'm only opposed to work environments that don't even allow engineers to have uninterrupted solo time when they need it.

> But i've never had a problem in an open space.
> You don't wear headphones or a way to indicate
> to others to not disturb you?

Of course. I have an expensive pair of active noise-canceling headphones that I love. It helps. :)

But there are two issues. One is that people often don't respect this - either by intentionally interrupting you, or accidentally interrupting you by having conversations next to your desk that manage to be distracting despite the best efforts of the engineers that made the headphones. We could say that these people are simply being inconsiderate and we'd be right - but I've been doing this for nearly twenty years and sadly this is kind of a universal thing.

The second issue is that open offices often involve a whole lot of visual distraction even if the noise is completely abated. A steady stream of coworkers having animated conversations mere feet away is pretty distracting even with no sound.

> catered lunches, well ventilation/heat' etc.
> If you don't have to worry about those things
> that's less for you to worry about and you can
> focus on working!

Oh, those things are certainly nice! I am a fan of employee-supplied heating and cooling, especially... haha. But I see Silicon Valley companies who pay tens thousands of dollars per employee per year for catered food but don't give their engineers workplaces that encourage focus and concentration and I think: "Those priorities could really be improved..."
At the same time I think the censors do not have the political power to block github all together.

"GitHub is the preferred tool for programmers to learn and connect with the rest of the world," he said in his Chinese-language post. He added that the site supported no political ideology, nor contained any reactionary content. "Blocking GitHub is unjustifiable, and will only derail the nation's programmers from the world, while bringing about a loss in competitiveness and insight."

Lee's post was re-tweeted over 80,000 times on Sina Weibo, and featured in news articles on Wednesday. In another post, he later compared the blocking to trying to catch a mouse by burning the entire house down.

http://www.computerworld.com/article/2493478/internet/github...
I don't think Taylor Swift has any more greed than Spotify. It's just less couth because the profit motive is not in a human's charter.
Right, you are certainly correct about security, I personally pay it pretty loose. As a consumer, I assume that it is possible (and even probable) i am being monitored at some points. However, the people who have the level of technology to do the monitoring are probably not the people who make arrests for $30 of narcotics.
You make many assertions, but you haven't provided any reason to think that your approach is any better.

As a start, reduce class sizes...

This, in particular, is something that I've done a fair amount of research on. Although the jury is still out, the best conclusion I've been able to arrive at is that for most kids, class size isn't strongly correlated with achievement, at least not within a reasonable range. Class size only seems to make an appreciable difference for kids that are "at risk", i.e., those that don't get much academic support at home.

So I might be jumping on you for just one small aspect of your opinion, but from the part of it that I do know about, I have the impression that you're just jumping on board with conventional wisdom that hasn't had much testing.

You might be able to improve some things like this, but to deliver it as a factual answer is a disservice.
Very nice, you should use http://viewtext.org/ API to clean the pages and comments. The PDF will be easier to read and with less pages :)

I love the idea!
As I wrote in the article the interpretation is left to the investor. It could be product features shipped. It could be biz dev deals signed. It could be talented people hired. Whatever. The point is that you get to see how the person accomplishes things that they set out to do. If you meet them only briefly over a 2-week period you don't have enough data points to decide.
It's not just as bad, i would call it worse than a pre-ticked box. As you say accept or abort everything looks like the only two options. There is no decline and continue option.
Let's be honest, this truck won't replace Chevy/Ram/Ford trucks on work sites. This truck will primarily be used to haul mountain bikes, soccer equipment and the occasional run to Home Depot.
I am also a happy insomnia user.
Maps is a clear in-house success.

Android and Docs/Drive/Sheets were two acquisitions.

Google is certainly a contender in cloud computing services, but they have a market share of 4% in 2018 for a product category they were one of the first to enter on a big scale, and I don't think niche success is what they are after.

I'm not sure what I think about Chromebooks. I'd like to hope that it has an exciting, Fuchsia-coloured future.
Ha, the comment right above yours, 7 hours after it, is someone that designs nuclear reactors stating just that https://news.ycombinator.com/item?id=21606744
Interesting. It doesn't work in MSSQL, and I understand that's correct (ie. isn't allowed) per the standard.
documentation =/= presentation
I'm a married father of 3 with 1/4 acre of property. I did fine without a truck for years, but I bought an old pickup for $5k last year as our second family vehicle.

You can certainly make do with a smaller vehicle, but there are these occasional things that make having a truck suuuuper convenient. Some personal examples from the last year:

* Needed to top dress my lawn and it only takes 3 loads of soil from IFA to cover my 1/4 acre

* My father (who lives very close) bought a boat knowing he could use my truck to haul it when necessary. And yes, he talked to me about it first, and my family gets to use it whenever we want.

* I built a treehouse in this giant willow in my front yard and could not have hauled the lumber or fireman's pole without a truck

* With 5 people in the family we get huge Costco runs regularly, these are moderately easier to haul in the back of the truck.

* I get social capital when bringing my truck to any family or friend moving parties

* Used it to haul lumber, tools, and people when the extended family participated in our family cabin area's work day

* Hauled my father inlaw's motorcycle+ATV trailer on a family outing

IMO not everyone needs one, but in a community or geographically close family it is always nice to have that person you can call to borrow their truck, and if you're the one that has the truck then you get social capital when lending it and you also don't have to borrow one yourself.

For us since it's a second vehicle it does sit idle most of the time while we use the minivan for typical travel needs. But I have space to park it, and the truck obviously isn't wasting gas when we're not using it. And since we paid cash and it was cheap, there's just not much of a downside to keeping it around.
Google Maps was not an in-house project. Google assembled it by acquiring mapping companies Where 2 Technologies and Keyhole.
Neither "snuff" (unless you're talking about CSE or other specific categories) nor hate speech are illegal in the US. The supreme Court has repeatedly ruled on this:

https://en.m.wikipedia.org/wiki/Brandenburg_v._Ohio

https://en.m.wikipedia.org/wiki/R.A.V._v._City_of_St._Paul

https://en.m.wikipedia.org/wiki/Snyder_v._Phelps

https://en.m.wikipedia.org/wiki/Hate_speech_in_the_United_St...
I've just tried "Do to others only what you would have them do to you." and got "I just want to do it."
You mean you didn't find it odd that Eric Schmidt traveled to North Korea?
Main discussion: https://news.ycombinator.com/item?id=9279024
It's interesting that the story doesn't mention that Baucus was the one who put it in the healthcare bill in the first place. He's got some good people working for him to pull that PR off.
There is even a conference for languages like this:

Workshop on Self-sustaining Systems (S3)

http://www.hpi.uni-potsdam.de/swa/s3/

The Workshop on Self-sustaining Systems (S3) is a forum for discussion of topics relating to computer systems and languages that are able to bootstrap, implement, modify, and maintain themselves. One property of these systems is that their implementation is based on small but powerful abstractions; examples include (amongst others) Squeak/Smalltalk, COLA, Klein/Self, PyPy/Python, Rubinius/Ruby, and Lisp. Such systems are the engines of their own replacement, giving researchers and developers great power to experiment with, and explore future directions from within, their own small language kernels.
Me too, but it's under an ad and links to two news stories with a photo.

http://cl.ly/3Ekm
I think it really depends on the subreddit. Once you start getting into speciality subreddits, the level of the discourse increases.
The other two comments are right, but the context you might be missing is why you would unroll a loop. Due to cache behavior (and other low-level details), doing something eight times and then checking if it needs to be done another eight times has less overhead than checking after each loop iteration. Why eight? It was probably a sweet spot in time vs. code size, at some point. (Processor caches are larger now.)

Duff's device just gets the (remainder of N/8) steps out of the way the first time through, then drops down to looping eight at a time. If it seems more complicated than that, you're probably overthinking it. It's "just" a creative abuse of C syntax, a bunch of offsets and gotos.

Sometimes low-level optimization like this makes a huge difference, but make sure it's a hotspot first, and that the compiler isn't already doing those things for you. Measurements will keep you objective.

Also, if you're doing a lot with C, check out Lua!
Loyola is an EEO employer that seeks applications from women and members of minority groups.

Yeah... because "women and members of minority groups" is clearly an "equal opportunity".
> NVIDIA may not have any plans to support it right now, but I'm pretty sure they eventually won't have much of a choice.

Yes, because the large market share of Desktop Linux is influential enough to get NVIDIA to bend to its will.
please email me at the address listed on the website. looking forward to chatting more about this!
One of the guys in my D&D group is of this mentality.

I hope he matures soon.