skysight-inc/HackerNews huggingface dataset:
> And if whitelisting becomes a thing [...] Not a big deal

But that's the whole (big) deal. The solution is usually the trivial and easy part - getting people to change is the hard part.

Humanity is littered with millions of problems that could be solved if it wasn't for inertia. A solution cannot simply be better or more convenient - it has to be so overwhelmingly better, so much more convenient for people to even consider switching.

And while this solution is better, I don't see your average person caring enough to take the time to make sure they've whitelisted all services they use.
That's a very good point: different languages require different QA strategies (do statically typed languages require less unit tests?).

My initial thought when working with Python wasn't from a bugs/QA point of view but merely looking at the productivity of a developer working on a large code-base. Things like accurate auto-complete, code discovery, architectural understanding, knowing what 'kind' of object a function returns and so on become more important once the codebase and the amount of engineers working on it increases.
> I've always wondered why the government sets speed limits but then doesn't enforce them on manufacturers.

They hope you will break the speed limit so they can make money, that's why.
Parf Edhellen: An Elvish Dictionary
> As jobs appear and wages go up those people spend a great deal of their money in the area

fifty datacenter jobs? These are probably not the folks raking in the big comp and RSUs.

...it's a race to the bottom, legislators see a simple equation that converts public money into tallies in their win column, to be used while jockeying for more power or re-election.
I suppose that is one way to give someone imposter syndrome...
>No it isn't; it costs an extra instruction to initialize that register or memory location to zero.

If you're talking about the "xor eax, eax" that was emitted, then absolutely not. GCC is doing the most efficient thing possible with eax here.

That xor is not inserted because GCC kindly initializes the variable for you to save you from your mistakes, but because it has to initialize eax before returning (look, there's a function call before in the code example).
And after deciding the return value to be 0 it knows "xor eax, eax" is always going to be faster than actually loading the real value of "ret". (In fact it's a zero-idiom, even a NOP instruction is slower than that!)

What I was really trying to talk about is the SSA semantics and not the actual emitted code.
Now in fairness I'm not familiar with GCC's IR, but I'm going to blithely assume what GCC does with unitialized variables somewhat ressembles LLVM's undef semantics.

When I say that picking 0 is a good optimization, I mean that at an SSA level, the compiler is going have a Phi between Undef and the range [0, 0].
If by "leaving those variables alone" you mean that the compiler should have returned Undef as the result of that Phi, that would be a horrible miscompilation! And of course picking something else than 0 would just be silly.

>It's not correct for diagnostics to pertain to versions of the program that were logically altered by the compiler, rather than to the original program.

Agreed. As a user, I am not happy about this lack of diagnostics and I'm happy to call that a bug if you want. And furthermore, I don't think performing the optimizations above is fundamentally incompatible with good diagnostics. Probably just hard to implement for GCC.

Disclaimer: I am not actually a compiler engineer and this probably contains mistakes.
If you actually attribute the tax dollars going to red states, the assertion that blue states fund red states is highly misleading. The bulk of what determines Federal dollars go outside of DC is:

- Where people retire. Social Security, Medicare, etc is a large part of this cash flow. In the US, many people move to the sunbelt States (often from blue States), which are almost all red. We can't prevent people in New York from retiring to Florida.

- Where military bases are located, which tend to be in rural red States where the land is cheap and environmental impact will be minimal. There used to be many more blue State military bases but many were closed in the 1990s to save taxpayer money. The greater San Francisco region is littered with former military bases. Military base expenditures and employment are another big chunk of the cash flow to red States.

- Where Federal offices are located. Outside of Washington DC, a large percentage of Federal employees are involved in things like agriculture, land management, national forests, national laboratories, border protection, etc which predominantly and often inherently involve red rural States. The Federal government operations are literally tied to geography, the location of these offices are not arbitrary nor charity.

Of these, only the first is welfare by any ordinary definition, and while it is a large portion of the net tax flow I don't think most people are suggesting that we eliminate it or prevent retirees from moving. The military to the extent it exists need to be put somewhere, preferably somewhere cheap and uninteresting. The rest of the Federal spending disparity can be largely eliminated overnight by eliminating all Federal employment related to managing geography but I don't think many people would support that either. It isn't the fault of the red States that many of the most popular national parks and natural resources are within their borders.
Exactly. Justice is a public concern and therefore should be entirely funded by taxes. The moment incentives other than serving justice are introduced (money, lawyer win rate, etc), the system is perverted.
I'm not Asian American so take this with a grain of salt, but from what I see in my friends it is NOT uncommon for Asian American parents to have a significant presence in their child's finances particularly when it comes to purchasing property, college, etc.
Parents and grandparents are also more than happy to take care of children.

Two of my Chinese American friends own property in a high COL area due to help from their family (none of them are rich) but they are far from "ashamed" of it nor do they think they did it all by themselves. The "flipside" is that the sons and daughters are expected to house and take care of the parents once they reach very old age and do the same thing their parents did to them with their own children.
> Or wait, BigQuery simply can't handle common crawl size dataset in their public service!

This is not true. Source: ex-googler.
An HDMI signal is already permitted through a USB Type-C connector [0]. HDMI, compared to DisplayPort, isn't as good but what really sucks is the copy protection scheme, HDCP; HDCP is responsible for so many of HDMI's problems.

[0] https://www.hdmi.org/press/press_release.aspx?prid=144
https://www.statista.com/statistics/267606/quarterly-revenue...

https://www.theverge.com/2018/1/2/16842876/google-double-iri...

This company doesn't need tax breaks, it actually needs to pay more taxes. We have to stop this idiotic behavior. There's a word for what the tax breaks are- bribery.
US congressmen seek ban on Huawei PV inverters
I don't really understand the README. Is it a "sensible defaults" reset.css or a "break with old and wrong decisions how CSS works"? How far is it Cross-Browser? How am I supposed to use it as a web designer, in contrast to other reset.css attempts?
Various parts of my family are pretty damn wealthy, as far as I can assume. I cut contact. I won't be in any of their wills, I won't have their money.

And I am immensely happy for that. It means that everything I achieve is purely my own, and with people I love dearly. It's a lot less comfortable but it opened me to opportunities I never would have had.

Like other commenters, my nice programming job in tech helped make that happen. We're pretty damn lucky to learn these skills at this time.
[not from the US, this argument is from first principles]

There is an argument that SALT deductions distribute the burden of supporting Federal spending - mainly health & welfare [0] - away from high taxing states towards low-taxing states. Stereotypically, one might believe that this means fiscally conservative Republicans are subsidising fiscally extravagant Democratic states. That would be unfair because the Republicans should enjoy greater personal wealth due to their frugal choices.

The obvious counterargument is that states like California, Illinois and New York are net contributors to the federal budget [1, 2, 3].

Personally, the SALT deduction is clearly a bad idea and the cap is completely appropriate, paying local taxes shouldn't remove a persons responsibility to the Federal system. However (since the overall system may well be biased against wealthy states) the removal of the deduction should have been paired with a commensurate reduction in the tax take so the net tax payed by individuals didn't change.

[0] https://en.wikipedia.org/wiki/United_States_federal_budget
[1] https://en.wikipedia.org/wiki/Federal_tax_revenue_by_state
[2] https://en.wikipedia.org/wiki/Federal_taxation_and_spending_...
[3] https://en.wikipedia.org/wiki/Cook_Partisan_Voting_Index
This is great, voice-enabled app localization is about to get easier.
Tim Cook being 'intrusive' to Hollywood in quest for family-friendly video fare
Google's advanced protection actually requires you to register two hardware keys.

If you don't have that, printing out backup codes and storing them somewhere safe is probably the way to go.
No, it does not require women to be damsels in distress and to suggest that is to be highly disengenous. It requires discussing greater trends in terms of what career paths women are considering and general industry trends. Women may be a majority of college grads, but that says very little about what they choose to major in, what states they're located in and so forth.

And making biological arguments without any sort of citation or statistical inference is illinformed. You haven't explained what exactly caused the trend reversal in the 80s other than an incredibly strained appeal to biology, which also mischaracterizes software engineering as a whole. Professional engineering is hardly a socially isolated career.
So… maybe I'm missing the details, but is this just basically rebranding TB3 as USB4? That would make a lot of sense, if so.

Edit: Ah, I missed "it will not be exactly Thunderbolt 3 as its functionality will likely be different". That's a clear as mud, then.
Cash bail is a terrible system, but not having it is worse. At least from what I understand, the states removing cash bail end up having the judges keep much more people in jail, as suddenly everybody is a flight risk.
I just uploaded an image with some portuguese custard pies and the model went bananas.
I started off as a wee-lad fresh out of college (degree in science not computer programming) so was on a 50k/yr salary and i got options too.
The statement "So using RSS would be very reasonable discovery mechanism, but an “RSS reader” doesn’t seem like a good direction on the current web." strikes me as needing elaboration.
I wonder if there's a way to surgically implant a GPS transmitter so that they a) can't take it out with a high risk of dying and b) can be tracked by satellite. I suspect that the battery would be the big problem.

On the one hand, if we're gonna do surgery on someone to surveil them hopefully it would be reserved for people actually convicted of a violent crime. On the other hand, I'd very possibly want the surgery myself if I thought the alternative was spending months in jail awaiting trial.
Between 2004 and 2014 women received 50.4% of undergrad degrees in STEM fields.
They weren't that great but we had them 15 years ago. VTLink. Dual monitors for laptop users, PC or Mac.
No, it isn't supposed to be ironic.

The title says "should," after all. Who says every programmer should knows these things about memory? Obviously not you. Ulrich Drepper does - I bet if you asked him, he would say everyone should know these things, but would concede that almost no programmers do and most programmers don't need to.
I think it gets back to self-image. Many many women can 'see' themselves as a teacher. Relatively few imagine themselves in a career in tech.

This is very much a cultural issue- the messages women receive from their media sources rarely contain reinforcement towards technical excellence.

This is a frustration for technically oriented men, I believe, because we aren't directly the source of this disparity- I think the vast majority of STEMish career men would welcome more women into the fold as true peers, but are somewhat aggravated by messages that we are somehow directly responsible for large cultural forces we have little/no power over.

Its been positive to see more girls get into sports as that message has permeated into the culture. Hopeful an equivalent message about women and STEM will percolate into the larger collective id.
Is it fast enough for 4K120 or 8k displays?
Stop thinking about it and go with your gut feeling. EMFs are clearly the only reason you would feel better camping. /s
Note that the last one (which is the only one that has explicit fine-grained - i.e. per-variable - control) is marked "hypothetical".
Or maybe sexual differences cause men and women, on average, to have different interests.

edit: thanks for pointing out that I misread which type of pressure is being applied.
Tree Style Tab[0] automatically builds a tree of which tab opened which, and allows you to hide stuff based on that.

[0]: https://addons.mozilla.org/en-US/firefox/addon/tree-style-ta...
I feel like hand-wringing around that is a bit overexaggerated - at the end of the day the differences really matter for only really tiny subset of devices that need those 10GBit+ transfers and in that case you can guide yourself by the "SuperSpeed 10Gbit" "Superspeed 20Gbit" logos on the actual box.

For everything else the protocols are forward and backward compatible, so you just plug in the cable and it works.
It’s cool! In general, the default is “rust tries to capture each thing the way it needs to be” and you can use move to override that. Sometimes, you do have to do what you wrote, at least in theory. I’ve never actually had to.
I just did some more research, and actually, for many US states, you can request a copy of any corporation's annual report, which includes the # of authorized shares.

The information you actually need is the # of issued shares, which is some fraction of # of authorized shares. You will have to make an assumption as to what that fraction is. From personal experience running several startups, I would recommend using 70%.

So, you need to:

1) Find out what state your employer's corporation is registered in

2) Request annual report from state's entity search website (e.g. https://icis.corp.delaware.gov/Ecorp/EntitySearch/NameSearch...)

3) Calculate issued shares based on some assumed fraction of authorized shares.
It’s special syntax for the thing before it. You can still do exactly that in rust today, it’s just more verbose.
I'd never seen one before but I'm loving this. It really does have something of a hypnotic effect.
Peter Norvig – The Unreasonable Effectiveness of Data (2010) [video]
Huawei P20. It can charge my MacBook and vice versa. Using the original MacBook Pro USB charging cable. It's a solid phone, but it comes with a USB A type wall plug.
It'd be perfectly accurate to say that San Francisco has discrimination against homosexuals, but people are still relocating there to avoid the discrimination where they are. Some places are enormously better than other places.
Show HN: Golang auto loading env vars into unexported (private) struct fields
I'd be curious about 40Gbps for what cable length. TB3 is great, you can in theory dock a laptop with a single cable that will do charging, 10gbe, USB hub, etc, but with a max 50cm cable, which makes it quite "un-lappable". I'd love to do the same with a 2m cable.
USB or the alternate modes over USB-C connector?
Yes. Multiple U2F devices are possible. I have 2 yubikeys connected as well as the Google prompt.
If a comment from a psuedo-anonymous stranger on the internet pushes you into radical misogyny, you were already there and looking for justification of your abhorrent views.
> It would monitor the page inside the browser, so it would have access to personalized and authenticated content. A key task would be finding ways to present changes in an interesting and compact way. In another experiment I tried some very simple change detection tools, and mostly end up frustrated (small changes look very large to naive algorithms).

I'm somewhat surprised by this - I would have expected a modern diffing algorithm on the HTML (after the page has finished rendering) to work quite ok. I wonder what would be the reason it doesn't?
Thunderbolt is PCIe so instead of a backplane you can use a cable. So basically anything you'd use PCIe for (drives, external GPUs etc) you can use TB for.
Gday
I am unsure what countries still use miles instead of KM
but I cant see most people needing over 125 Km/per hour

------------------

* 80 mph is 128.74 km/per hour

* 85 mph is 136.79 km/per hour

* 112mph is 180 km/per hour
> GCC is doing the most efficient thing possible with eax
here.

It seems that the most efficient thing with %eax is not to mention it in an instruction.

There may be some quirk/feature of modern Intel processors that clearing a register will dis-entangle it from considerations of prior hazards. So that is to say, when we execute 'xorl %eax, %eax', the processor knows that any prior value in `%eax` is no longer required by subsequent code. A new lifetime has begun for that register. Therefore, there is no need to execute a pipeline stall to wait for that prior value, if it so happens that that prior value is not yet ready. Internally to the processor, the ISA-level register `%eax` can be assigned to a different internal register at that point, under the discipline of "register renaming".

In the absence of any such hardware considerations, the clearing of %eax is pure waste.

> it has to initialize eax before returning

Where is that requirement coming from? Not from ISO C, certainly. The behavior is undefined. It was the programmer's job to ensure that the return value is calculated by a well-defined expression, not that of the compiler. From that standpoint alone, it's perfectly conforming to emit code that just leaves the existing content in %eax and returns.
One time I got phone-DDoS'd by a robocaller who was using my number to call everyone else in my area code. Then for several hours, people were calling me back nonstop and saying "Calling you back...".

Incredibly annoying. When I complained to my phone provider they basically said there is no way to stop it since the callback numbers are spoofed and they apparently have no logs at all. Its _unreal_.
Intel said that a couple of years ago, and yet you won't find an AMD laptop/desktop that supports thunderbolt.
They are, of course, significantly stupidly expensive and would cost more than many devices using USB as connecting protocol.
This figure is higher that those cited elsewhere in the discussion thread. Could you provide a source?
As a pre-Quantum Tab Groups user, I find that Simple Tab Groups is considerably more stable and has a slightly better UX than the old support. So A+ for that. I still feel like there's some missing "secret sauce" here, but I haven't had the time to really delve into the problem to suss out what that might be.

I do love that tab groups are malleable to the user's concept of organization, not some artificial notion such as grouping by website.
That is a viable option for many types of debt, but some forms of student debt cannot be discharged under bankrtupcty[1]. There is no easy answer here, because the immediate first-order reaction to questions about blanket student loan forgiveness is the inevitable moral hazard angle.

[1] https://qz.com/1367412/1-5-trillion-of-us-student-loan-debt-...
Gnome keyring was storing credentials in memory in plain text until very recently

https://nvd.nist.gov/vuln/detail/CVE-2018-20781
More an experiment with the safe / reflect packages rather than anything substantial :)
Well you can already get cheap usb-c cables that only have usb 2 speeds and power delivery capacity, if that is what your hinting at.
>how many workplaces have an engineering team which are 50% female? 25% female? 10% female? 5% female?

All I can find is data from 2012[1], but <20% of engineering and computer science graduates are female. I help with interviews for the group I work in and just skimmed every job announcement (intern through senior level) to see the breakdown of who applied. In 5 years we had 81 people apply for jobs, which included only 3 women. Although I don't have access to any data, the previous job I had was similar: I estimate that I screened 30-40 candidates over 2 years and only one was female in that time.

Our job postings (and those of my previous employer) were generic descriptions of the work and benefits. Perhaps generic job descriptions are inherently hostile towards women?

[1] https://www.ncwit.org/sites/default/files/resources/girlsini...
We actually got a bigger bonus as part of the acquisition, just not technically stock options. My total comp after the take-over is roughly 120k (pretax).

For my situation , it was pretty amazing. I'm not on the standard path of CS degree + working at FAANG. I'm a DIY-er , self taught. Given where I am now, 23 year old self would be fucking amazed. We built and sold a digital company from nothing to some mega corporate suit bros worth billions of dollars!
Having a certain amount of Mechanical Sympathy (https://mechanical-sympathy.blogspot.com/2011/07/why-mechani... ) is important for having a good intuitive feel for the appropriate way to implement something.

For example, an O(n^2) algorithm can often beat an O(n) one when n is "small". How do you get that "experienced" feel for which to choose when you're designing your program?

This is even important for people doing REST APIs, Web Services and Microservices. Milliseconds matter when the load gets beyond a certain point and your system ends up full of stragglers. How do you get that "experienced" feel for where that point might be and how far you can push a particular architecture without investing in a major rework?

The effect of tail latency on most web servers might surprise you:

http://latencytipoftheday.blogspot.com/

http://latencytipoftheday.blogspot.com/2014/06/latencytipoft...

TL;DR: most of your visitors will experience the bottom 1% of your performance curve on every page load.
But the two are tied. The assumption was that the local tax increases wouldn't be as burdensome on the tax payer in those states because it would be offset by the SALT deduction at the federal level. The whole picture can be considered.

Someone living in NJ could easily be offered a tax increase from a state lawmaker, feel that there is a benefit to them in the service that tax will pay for, do the math and realize that with the SALT deduction, they wouldn't be paying any extra money in taxes for their services. Changing the SALT deduction is what changes the math here.

They weren't voting for "higher taxes" they were voting for "more services".
I am of the extremely unpopular opinion that USB 2.0 is plenty fast for my needs. For those who do need more than 450Mb/s, however, it seems logical to standardize on a single type-C connector. But with so many competing and superseding protocols implemented over the type-C cable, I feel like labeling should be mandatory so that users know what they can and can’t use a cable for (and don’t fry a power supply or run into incompatibilities).
Dawn of Man
> practice what you preach

But that's not dogfooding. If you were a ReactOS developer using ReactOS to compile future version of ReactOS, then you would be "eating your own dogfood", but simply using it as a daily driver doesn't count.