skysight-inc/HackerNews huggingface dataset:
It's rude in the same context that "yeah" is rude. So ok, there are times when it's more appropriate to answer with "yes", but there are many situations outside of chatting with my friends where I would be comfortable saying "ouais".

Also, verlan is used all the time by everyone under the age of 30. Not all of it; some terms are rarer than others and are, as you say, associated with rough neighborhoods. But it's an extremely common way of speaking.
Two quick remarks:

> Looking at the code it’s quite obvious 3 and 5 are replaceable with any set of other numbers.

What's not obvious to me (I'm not a mathematician) is that both solutions answer the question correctly when the set of numbers is not pairwise coprime. For example, "Find the sum of all the multiples of 3 or 6 below 1000" is clearly just the same as "Find the sum of all the multiples of 3 below 1000", while the inclusion-exclusion algorithm will probably deliver a different answer. So, the set will need some pre-processing to remove common factors, which will then require adjusting the answers.

Next, for the problem "Find the sum of all the multiples of <M numbers> below <N>", the naive algorithm seems to have runtime of about O(NM), while the "sophisticated" algorithm seems to have runtime O(2^M) at least - so, as we increase M (the size of the test set), the "naive" algorithm will soon be faster, or not?
Let's not forget Firefox and Gecko still exist, though.
The issue isn't that the CMU people exploited the "relay early" bug. It's that the FBI subpoenaed all their data, tracked down onion services, and served malware.

This is just the outcome from busting one site, PlayPen:

At least 350 U.S.-based individuals arrested
25 producers of child pornography prosecuted
51 hands-on abusers prosecuted
55 American children successfully identified or rescued
548 international arrests, with 296 sexually abused children identified or rescued

https://www.fbi.gov/news/stories/playpen-creator-sentenced-t...
Multitasking User Interface
Your last point falls flat if they’re already running a public guard though.
Yeah this is awesome
I'd like to see the real prototype myself: those connectors on top of a PCB seem too thick to fit into an EC slot - but there have been SSDs made in that form factor.

Edit: nevermind, he found a thinner connector. I should've read the Indiegogo page before commenting :)

Other than that, this adapter would be great for any laptop with an ExpressCard slot. I can't believe no one's made one before. Kind of late now that new laptops don't have the port, though.
I have a slightly wild theory. I think that it has to do with my brain seeing the textbook topic as one item on a massive stack of items to study. Kind of like how much easier I find it to do a chore when it's not literally an infinifely looking sized amount of work ahead.
You guys ever saw the Captain Marvel promo site, made in the style of the 90s web? It's f---ing brilliant.

https://www.marvel.com/captainmarvel/
Open-source zero learning framework available at https://github.com/facebookincubator/polygames
`sumMultiplesOfTwoAndThree` should probably be `sumMultiplesOfThreeAndFive` right?
No sample?
I actually always found 4chan to be more courteous/less toxic than Reddit, even with it's extra level of anonymity - in its own, incredibly offensive way.
Python Tutorial: Learn Python for Free
I've even seen 100+ Gbps from a single ASN in a single country.
Those gridded links remind me of the NeoPets site which would overlay a very busy "map" image with a tiny link, which would take you to a page with tons of powerful items. You used to be able to find the link with tab - the accessibility feature that barely highlighted / cycled through links. They simply removed that accessibility feature from their page.
Wild. I remember every single one of those milestones.

Back in 04 I wrote some forum software with XmlHttpRequest back before gmail was released. The everybody thought I was a fucking wizard. Then gmail came out and it was like oh you did that gmail thing. Good times.

But yeah, the long slow death of IE 6, crazy stuff. God, it feels like it's been a decade since I've had to seriously think about cross browser bugs, versus that eating up half my development time. Evert time I curse mobile Safari these days I remind myself of IE 6 and calm down pretty quick ;)
It depends on who runs these attacks. Some law enforcement agency could use those attacks to put you in jail.
Mapping out Tor users can be interesting to other entities, too ...
As you can see from the original article these attacks happen. They are also run against more interesting websites or individuals. Obviously, the attackers won't write a publication for their vulnerabilities ;)
Related: https://medium.com/@nusenu/the-growing-problem-of-malicious-...

Once in while, Tor node operators will complain about DDOS on the tor mailing lists or similar sites. In most of the cases this is just an attempt to figure out guard nodes or real IP addresses of an individual or server.
Cuda and ... it is not just hardware.
Of course they've had lots of man-time poured into them: they've existed for a long time. But there were first versions of all of those, too, and first versions of tonnes of other complex server-rendered sites and apps.

Mocking inclusion and front-end performance is quite contradictory to "Use The Right Tool". There are several cases where server-side rendering has a place and there are several frameworks and approaches that help with the complexity, just like there are cases when client-side interactivity is a better choice and you can pick a framework that will help with performance and cross-browser issues - and complexity, which exists on the client side as well.
Learning to Predict 3D Objects with Interpolation-Based Differentiable Renderer
I like the distinction between pioneer, settler, and city planner when thinking of the people working on new products. To me, it’s more about the lifecycle of a product as opposed to putting people into boxes.

I feel like I know what business/code trade-offs I should make depending on which of those characters I’m currently playing. I also know what type of flexibility I should build into the product early on and which best practices can wait until market fit has been found.

I wouldn’t want to take a city planner into the wilderness (sewers and squares before we know if anyone wants to even live here, lots of high quality code that has no users). And I also wouldn’t want to be a mayor having pioneers running my subway/water system (bandaid fixes, poor long-term decisions, spaghetti code)

But I agree with you overall that people can adopt these roles based on context and aren’t limited by them
One of the features I like about it, though, is the ability to create arbitrary "pin" extensions that I can give out. I'd love for my phone number to be opt-in, worldwide.

Getting spam on a particular extension? Guess CompanyA leaked my number. Blocked.

Call screening is nice, and I actively use it, but a system that is "zero spam by default" is far more preferable than "click to block spam".
I miss paper magazines. Turns out, they still sell them! I usually only encounter them while waiting around at airports, to have something to read while I'm offline during the flight. Maybe I should get a subscription or two...
A lot of people are integrating FDM or other AM techniques into their production, so it doesn't meant it will be home-produced. You can order small batches from Stratasys, 3D Systems or any of the other big manufacturers and you get reliable parts with good tolerances and post-treatment etc., without committing to with injection molding.
In my case, I'd have to go through the HOA's architectural review process to put one there. So .. not going to be allowed unless enough residents want one, and they can settle on a uniform style.
Quantum Computing 10 mins hands-on tutorial for beginners
Depends where
Why My Startup Failed Despite a Production Ready Tech
You'd have to also change all clients to not execute JavaScript in text/html, if you want application/html to have any bite. Another option, perhaps more likely to have an effect, is to have clients with no JavaScript enabled to include a parameter with the accept type, e.g. `text/html;profile=no-js` or some such. Servers that don't recognize the parameter can just ignore it, and servers that do recognize it can serve up a no-js response. Any client that doesn't know this parameter will just functions as normal. No need to invent a new content type.
That's the problem with French: everything you learn in school or listening to the news anchors will be something different from what you actually use in everyday life. So you have to re-learn it
I bookmarked this once when stumbling across it: https://librehealth.io/. It's an open source Electronic Health Record keeping system, so sounds like it might suit your needs.
Uber suspends 240 users accounts in Mexico over possible virus contact
Very nice, but the #1 problem remains: discoverability.

Say you have a IO intensive database, with about 6000 new insertions per seconds, and every 20 minutes a few reads to use that data for analytics.

Which parameters should you tweak?

Personally, in a situation like that I first focus on the filesystem, to have write cache (xfs_syncd_centisecs etc). Then I analyze the queries and work mostly on RAM assignation.

For the postgresql.conf, I use recipes that build based on my experience, derived from A/B testing a set of individual modifications.

However it remains premature optimization. Only benchmarks can say for sure.

So when I feel fancy, I set aside a few days for tests and do a dense exploration of the parameter space for what I think will matter.

Yet this remains constrained by discoverability, i.e. by what I think will matter: if I don't know a parameter may matter, it will not be explored in the test set to avoid the curse of dimensionality.

TLDR: This website is nice, but could benefit from a few "typical scenarios" to know at least which knobs to try to tweak, along with some methodology for tweaking (ex: filesystem first)
Tesla addresses “butt-dialed” in-app purchases with new refund policy
Voice Boost 2 in Overcast
gitcoin.co

I haven't used it for ~8 months so I don't know what it is like now, but in 6 months I was active on there, I made ~$20k, mostly web development stuff to add a single feature to an existing codebase, all open source.
None of them seem relevant for a small-scale unitary project.
>No, Firefox really got a foothold because it had tabs. IE 6 did not have tabs;

I don't think this is right. Firefox got a major foothold because it blocked ads.

This was right as those ads that would open 4 new windows when you closed a previous window started showing up on the web and IE6 could not handle them. It would literally kill your browsing experience and sometimes blue screen your computer. Firefox was the first mainstream browser to block pop ups out of the box and it worked.
This seems to miss the fact that in the US, the police have no legal duty whatsoever to address or prevent crime.

The fact that they shut his business down is entirely unfair, though.
If 402 had actually become part of a means to get paid it would have quickly joined that list of top tier codes right behind 200.
A Brief History of Computer Music
What percentage of bees are bumblebees?
https://www.wearesuperorganism.com/ is done in a similar vein. Great band btw (if you happen to like this kind of music).

Their game (https://escapetheinter.net/) is also an interesting retro / psychedelic Mario style experience.
Doesn't really answer the question.
Something like the X62, but with more updates
> I never really understood this argument. If you really need tons of frames for a competitive game, just turn it off.

I think "if you need tons of frames" may be where your misunderstanding is coming from: most of us don't have tons of frames to give (especially in brand new AAA games that are the only ones implementing this technology).

For most people (and you can see this in sales data and hardware surveys), if they are looking to buy a new graphics card they are going to be buying one that they think will fit their needs for the next few years, not massively overshoot it. If you play games at lower than your monitors resolution, they look bad. If you play games at lower than your monitors refresh rates, you either get bad looking tearing, or lose a much larger proportion of frames than you need to.

To use myself as an example: I recently upgraded my computer that runs on a 3440x1440/60 monitor. My goal was to play games at 1440p60 for the next 3 years (ie until the new console generation settles and we know where things are going). I bought a 5700XT because it provided the best bang for buck, hit 1440p60 in most games benched, and it seemed reasonable that I could drop setting here or there and maintain good frame rates until I was done with it.

The nVidia option was a 2060S / 2070, which would have given me slightly more frames at 1440p, but for $50 more. If I wanted 1440p60 and RTX, I would have had to go all the way up to the 2080ti, which was roughly double the price.
Clean Code Python
Well "vehicle" in this case is unambiguous - there's no confusion between a passenger and a vehicle in the scenario you described. For many there's not such a clear distinction between "cores" and "compute units" so I can see where the confusion arises.
Why?

It "falls flat" if you're using a malicious guard. But then, you're already screwed, in that case.
For this reason I dont think it would ever have happened in China
My work uses anonymous surveys for feedback. On freeform answers, I change my diction, grammar, case usage, etc. I'm still pretty sure that someone could identify my response as me. But hopefully an AI would be stumped!
not making such claims is a the only way to be taken seriously by the community it serves. Those using tor-browser know it's a best effort approach.

The same attitude should be expected from all InfoSek vendors. But it's easier to sell a product with claims it will protect you rather than saying the truth (that it's riddled with edge-cases like everything else).

Tor, unlike many of the VPN companies, thankfully lack a marketing department trying to push it with incorrect claims about its alleged ability.

edit: if the threat model is to protect against corporate mass-surveillance ("the big guys"), then Tor is incredibly effective. They wouldn't go through the trouble to identify and blacklist exit nodes and present users with a captcha otherwise. (ofc assuming that it is used correctly: never log in, or if you must only log-in with sock-puppet identities etc).
Is that position available for remote? (2019)
Involuntary Memory
A better resource is this:

https://github.com/nothings/stb/blob/master/docs/stb_howto.t...

There's an important difference between C++ style header-only libs, where the implementation is often done in inline code (especially for template-heavy APIs) and thus visible in each compilation unit (which is indeed bad for compile times), and "STB-style single-file libs", where the implementation is only visible in a single compilation unit.

The difference between a single .h file and a .h/.c pair is really just different packaging for distribution and integration into projects.
If you have sources for X61 batteries tell me!

I left a good one in it while docked but unplugged, the dock apparently killed the battery.

I'm pondering whether changing the 16550 cells make senses
> The Human Palindrome will be born tomorrow and die on 2121-12-12 at the age of 101. And in true palindromic fashion, his life will start and end with diapers.

Amazingly, my last comment swapping "his" with "their" was flagged to death.

If we're ever going to be more embracing of people other than men, it's gotta start with us. We can't just mis-gender and then pat ourselves on the back thinking we're doing something to fix the inequalities in our fields, and the fact that it sticks out like a sore thumb on hackernews is heartbreaking. :(
Each compute unit handles 2560 hardware threads (64 per clock tick per compute unit).

AMDs GCN architecture runs 4 threads over 4 clock ticks natively. I forget if it was vertical SIMD or horizontal SIMD or whatever the proper terminology was. But this 4 threads over 4 clock ticks avoids the register stall issue. (RDNA performs 1 thread per clock tick and schedules around the stalls)

The other threads come from an SMT-like / hyperthread-like feature, allowing 10 hardware threads per slot.

All together, a compute unit supports 16 way SIMD per vALU x 4 vALUs per CU x 4 threads over 4 clock ticks x 10 'hyperthread-like' = 2560 hardware threads (over 4 clock ticks)

16 SIMD x 4 clock ticks gives your 64 sized wavefronts / warps that the programmer works with. The majority of the 'threads' are for latency hiding: work the GPU can do while waiting for RAM to respond. (In contrast to a CPU, which will search ~200 instructions out of order for work while waiting on RAM)
Unless you depend on screen reader support. Table-based layout (as this is what you are quoting) is inaccessible.
Well, push the commodity price to the limit. LVMH designing purses with diamond studs? Bedazzled dresses? Jewelry shifting more to intricate designs, brand increasing in importance, and more use of gold or platinum?

If a girl in Iowa can easily get a 3 carat diamond ring, what will the girl in New York now want?
That assumes that all of this complexity was done for complexity’s sake.

There’s a big difference between a web developer who has to serve a few thousand people 10 webpages with someone who has to serve millions of customers in hundreds of countries with dozens of languages.

I suspect that a lot of the “old farts” you reference in this way aren’t old farts at all, but are just folks who haven’t been full time web developers in years, or have never done web development for a large web-based SaaS company.

I don’t think it’s about physical age at all.
Mutability in Rust for Functions and Closures
I can now truly vouch for the idea that women have it generally harder vs men in Western culture.

Based on what? You do not believe men have these same thoughts about their spouse and what happens to their loved ones after they pass? Even guilt as you described. I ask this with respect and curiocity.
John le Carré on Brexit: ‘It’s breaking my heart’
Maybe on Windows if you omit half of the CRLF ;-)

Oh wait, then it’s a Unix komme or a Mac line. Bummer...
I'm curious about how "relaxed adherence to rules" will be implemented.

If you're merging from an onramp into the rightmost lane of traffic, you'll get in either in front of someone or behind someone. Meanwhile, the merge lane that you're in is narrowing.

Say that after the merge lane disappears, there's a nice, fat shoulder, divided from the highway by a white stripe. You're not supposed to cross that stripe.

If things go wrong, you might sometimes elect to continue on into the shoulder, and then merge. Or you might just stop in the merge lane, which has its own problems.

So, if traffic is thick and stubborn, will an autonomous vehicle stop in the merge lane, or continue into the shoulder?
Does Your Pet Need Cat TV or a Dog Playlist?
I’m sure that whatever keyboards they have me code on at the new job will be fine.
Slate Star Codex
Browsers Always Assume TBODY
It feels like some Germans invaded over the border and brought some compound word rules.
On set -e:

This is like adding a setting to your Java or Python program to immediately exit if any method call throws any kind of exception, with no possibility of catching and handling that exception.

This does not seem to be a smart thing to do as compared to checking return codes, etc.

Every script I've seen with set -e has been buggier than without it.

The main problem with scripts is that they often do not go through a normal software review and testing process.
Cloudera Certifications: The Eternal Suffering
We wrote a bunch of utility methods around io-ts at work with custom error reporting/handling, otherwise it can indeed feel a bit too fp-/boilerplate-heavy for your every day frontend development, especially in combination with other stuff such as rxjs/redux.

But once you have those set up, it's an easy breeze, and the benefits are enormous. Our helper-method with the hopefully self-explanatory name "validateOrThrow<T>(t:TypeGuardForT)" is essentially called at every point where there is some form of incoming external data, and the amount of debugging-headaches that have simply disappeared because of this is mind-blowing.
From the same presenter, Anders Norås (@anoras)

A Brief History of Computer Art

https://vimeo.com/291392795

Some counter programming for your Super Bowl Sunday ;)
Extraction of 96% of total O2 and production of metal alloys from lunar regolith
Making a Website – Finishing Touches
> And it's not hard to fix, really. All you need is firewall rules that allow only the Tor process to access the Internet. That's doable with Windows Firewall. But I've never seen anything about that on the Tor Project site.

Generally malware on the local system is nearly always game over. There's little you can do about it without wiping the system. But other than that I suppose the Tor project could give more visibility and advocacy for both Whonix and Tails, as they provide better system-wide protection than the Tor Browser can do. As you say, neither of those well known projects are mentioned anywhere easily locatable on their site.
If your experience is that "everyone and their mother" says "putain" I am afraid that French people will conclude that you did not stay in the best area, to say the least.

That being said, 'putain' is also used a lot in some southern areas of the country. But you should not conclude that you can safely say it as you please all over the country without people thinking less of you.

I can assure you that in the "best neighbourhood in Paris" you will get funny looks if you sprinkle your language with 'putain' and reply to questions using "ouais".
I've always hated it because it makes the assumption that everyone is at the same position in the class hierarchy - I'm poor, the last time I drank a coffee shop coffee was something like 8 years ago and even then it was bought for me by my psychologist, your 'cup of coffee a day' price just sounds extravagant to me.
What working for the Japanese company LINE was like – a tale of politeness
How many hits is a lot?

Not a lot of people had computers with Internet back then. So sure, you can’t captivate the same percentage of the entire World Wide Web - but why would you expect that to be a reasonable assumption?

Sure, in a world where the web was a couple million nerds you’d expect your content to be a bit more visible.

But the web is measured in billions of users now.

I would also suggest that writing content just to ensure that people read it is looking at it the wrong way. That’s a shallow popularity contest. If the production of that content doesn’t bring you satisfaction on its own then it doesn’t matter whether you have 1 view or a million, it’s not making you happy.
Do the phones have to be open and navigating somewhere,or is it enough for them to just be idle on the home screen?
C'est pas faux
I recreated a Polaroid camera with CSS gradients only
My uncle likes to call it “fictional nonfiction,” saying that the human brain is better at following stories than piles of facts.
Very cool hack. Thought about that this could be possible several times now, nice that someone actually did and succeeded :)
You can just say « Qu’est-ce ? » as well which is literally "what is it" ;)
(written form rather than colloquial)
Ask HN: How do people with extreme social anxiety get internships?
Hi HN, I'm a third-year Computer Science student and all my friends already have multiple internships and jobs under their belt. I want to intern but the fear of rejection is overwhelming. I know this is a very first-world problem, but do you have any advice?