skysight-inc/HackerNews huggingface dataset:
>It seems that the most efficient thing with %eax is not to mention it in an instruction.

I think what you're missing is that UB is a property of the execution of the program, and not just of the code that was compiled.

If in practice the if branch is always taken, then there is NO undefined behavior (surprisingly, perhaps)!

That means GCC has to be prepared to handle that case, and has to set eax to 0 when the if branch is taken.

>Where is that requirement coming from? Not from ISO C, certainly. The behavior is undefined.

Not so! You don't know until the program is run.

-

Edit: (removed some speculation about assuming the branch is always taken, that was not relevant)

>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.

That's absolutely right, by the way. I think this was introduced with Sandy Bridge, in 2011.
It's the opposite. The obligation to take care of your parents is definitely more pronounced in eastern households. See filial piety [1]. I'm Chinese and grew up in both Asia and the US. First of all, wealthy Chinese is a pretty small minority, so most working 20-somethings and 30-somethings are paying a portion of their paychecks to parents to support them. For those lucky enough to come from wealthy families, most are still expected to care for them in other non-monetary ways. For example in America many Chinese immigrants of the older generation can't drive; taking time off your work and taking your parents to their doctor's appointments is often a responsibility you have. (which of course means you can't live far away from them; there's going to be more and more work caring for them as they grow older.)

Like GP, I also grew up in a lower income family and made it out well in tech. My only advantage is that I'm older and started working 15 years ago, which lead to being able to afford to buy a house during the lowest years of the housing market (2010-12) so I have a really low mortgage in crazy bay area. I don't know how anyone in the bay would be able to save up for a house if they have to support their parents in addition to paying their own rent.

[1] https://en.wikipedia.org/wiki/Filial_piety
It really all comes down to what variable one is trying to optimize. I noticed neither article mentioned money as a possible variable to optimize. Here is another take to consider:

https://www.joelonsoftware.com/2001/03/23/strategy-letter-iv...

"In 1993, given the cost of hard drives in those days, Microsoft Excel 5.0 took up about $36 worth of hard drive space.
In 2000, given the cost of hard drives in 2000, Microsoft Excel 2000 takes up about $1.03 in hard drive space.
In real terms, it’s almost like Excel is actually getting smaller!"
Java's "unnecessarily enterprise" feeling didn't come from the paradigms that increase the LoC (abstraction, interfaces, factory classes, etc.), but from the way it developed, where it used and how it behaved.

This feeling is also reinforced by the prime editors of that time: Eclipse and Netbeans. Both are behemoths which were written in Java, heavy, resource intensive and somewhat slow. In the 2000s, Java wasn't that fast and refined, and it showed and felt profoundly, at least by me.

With the open sourcing of Java and the performance jump happened with Intel's Core i series CPUs, Java got a lot lighter. I've never had hard feelings against any programming language, and I hold no grudge against Java, but I currently don't need it, so I'm not using it.
Purdue Is Preparing for a Possible Bankruptcy Amid Opioid Lawsuits
> You'll be surprised at current used prices compared to new

I've tried two times to buy a used car at Carmax, only to find the same model with the same features for less brand new.

I don't understand this market. Who would ever buy used for more than new?
There are plenty of other providers. Here in the UK there's LocalPhone.com for instance. They're even able to get you a number in a country of your choice, forwarding to a phone in a country of your choice.
Good for you! Scrappy young me fresh out of college was willing to do anything. I wasnt a CS student, self taught coder. I grinded HARD for a couple years. But hey you are a 23 year old smelly dude with long hair. Nobody likes you anyways. Might as well work a lot on things you love!

Now at 28, I would still say experience was worth it. However again im' not the CS degree 4.0 straight to FAANG guy who can make 100/yr (or whatever it is) straight from college. I had to hustle a bit to gain the codebro skillz & then find a job. I didnt have FAANG kissing my ass to pay me out the wazoo to 'change the world' with 'machine learning and AI'. News flash, yall are just selling shit , you aint changing the world. You just make really large paychecks and get pampered :p
There was no lawsuit in that Berkeley case. The article's source also does not claim there was a lawsuit. The author made that up out of whole cloth.

The real reason for the Berkeley study is that the seeming acceptance disparity worried administrators, who proactively asked Bickel to look into it. https://outline.com/2HMrKV
Strictly speaking it isn't a fee. If you have all of the money for your bail you give it up but you get all of it back when you show up court. If you use a bail bondsman that's who charges you the fee. They are basically giving you a loan, and then they are on the hook to make sure you show up.
For what it's worth, a 35% dilution per round is pretty high. If you have good traction 15% is very doable.

That said, I like that it's conservative so you'll undervalue your options - it's very likely that they'll be worth nothing.
>Algorithms would be another, better way to know exactly what makes the determination if a person should be released awaiting trial or not.

Isn't it a source of constant concern that the algorithms that end up being used in law enforcement inevitably end up employing the same stereotypes that their flesh and blood counterparts have?
Indeed. Casio is one of my favorite brands in electronics because they have been so reliable about doing cost reduction without compromising the core device functions. For example, when they do a high end keyboard, which seems to happen about twice a decade, the key features are soon brought back down to their low end models, meaning that at any given moment their offering is most likely biased towards the cheapest of the range, with a bit of price differentiation on features.

Casio is a well-established brand and gets the benefits of scale, but that only makes some parts of the job easier. They still have to carve out market share one product at a time, like everyone else, and they don't do it through the expensive flagship pieces.
I'm not sure if you are being sarcastic, but yes; it seems to be biology.

https://www.theatlantic.com/science/archive/2018/02/the-more...
Yes and letters are sent out informing the person. Sometimes they claimed they returned them, which is only true in a very tiny minority of cases. (Every library checks the claim list every month.) Fines stop at the cost of the item, so the worst they'll have to ever suffer is paying for the items. Every so often, there's a fine forgiveness program and everything is just written off.
Apparently the Earth's orbit places us in the hot end of the inhabitable zone, so only a relatively modest increase in received energy makes us go the way of Venus.
I've never worked in a field where I could compete for a job with a woman, they'd always get first dibs. It is pretty unfair.

However a distinction must be made between the formal systems (extremely sexist favouring women), informal systems (potentially extremely sexist favouring men) and workplace environment (women are continuously sexually propositioned; pretty overwhelming evidence for that IMO).

Making the formal systems sexist is a stupid response to the informal systems being sexist. I wish that people would stop advocating that and instead work on the informal issue - if it isn't due to innate ability (a safe bet) then there must be something that can be done. The propositioning thing is a bit of a poser though, it is so pervasive that I suspect it points to deeper issues.

Also the anecdotal evidence is that if propositioning was successfully stamped out that would do crazy things to the fabric of how relationships get established. Might be a net good or bad.
I guess I don't see why high tax states should be able to keep the tax money for themselves that would otherwise be destined for the federal government. By taking a federal deduction for SALT, it hardly seems to make sense why states would have an incentive to keep taxes low when the federal government would have originally been the one taxing the hit, not the taxpayer.
...so, what kind of rendering tech does a tool like this rely on these days? WebGL? What's considered best practice on this front these days?
Ghost in the Shell (1995) – Nightstalker
I don't think corporations should be allowed to negotiate tax breaks like this, but I think labeling this as bribery is disingenuous because it is neither illegal nor dishonest.
It's actually a longstanding part of phone culture - "extension xxx". It doesn't need to be terribly long to keep out spam - having to enter a single digit would fix the immediate problem, and even when the spammers adapted 3 or 4 still seem sufficient.
How to Install a Bathroom Sink (Incredibly Practical)
Here is a video of what is possible inside a browser!
https://www.youtube.com/watch?v=0dC1ZRdf9JM

Wow!
(not affiliated with them)
Yes, I do. Unfortunately, only the (high) upper middle class and upper class can afford to purchase a house today in those cities. They should still be considered high-income for the purposes of taxation. It's not the federal government's fault California is so unaffordable.
Cutting agg subsidies is an extremely complicated issue that has major economic impact here and around the globe. I'm in favor of killing many of them for the greater global good. Especially cotton.
blender can create 3d printable STL files, so if we're "thinking Blender," then that implies we can 3d model for printing, if i understand what you're saying
Family assistance is more than just cash though. If my mother helps me look after the kids twice a week for free, that frees up hours I could use to "get ahead" in life (study, prep for interviews). Should that not be allowed?
Sure, so give both the option of maternity leave, and let the ones who want to take it do so, and others who don't, won't.
VCs price investments in the context of a portfolio, thus VCs have statistics on their side.

As an employee, you don't have statistics on your side, so you have one shot at being right.

Further, many VCs are managing OPM other people's money (OPM). You are investing your own money.
Not 'just' at all.

USB 2 has a single twisted wire pair, specced for moderate speed.

USB 3 replaces that with two pairs with much tighter requirements, one for transmit and one for receive. This involves a tenfold speed boost (.5Gbps to 5Gbps), with much more modern transceivers using much higher frequencies on much better wires. But it also drops the length a single passive cable can be from about 5 to 2 meters.

USB C doubled the number of pins while making the plug reversible, so they went ahead and made the special case of C-to-C cables connect to all the pins and have four pairs of wires.

But that's only a doubling from 5Gbps to 10Gbps. How are we getting up to 20 or 40? It's mostly coming from restricting cable length even further, down to 1 meter or only half a meter. But on the bright side you can get an active cable, with chips inside, that can get you back up to 1 meter or 2 meters or 60 meters. As long as you're willing to pay enough.
I loathe Ajit Pai as much as anyone but the FCC and Telcos have been fairly swift (by the glacial standards of telecom standards) in coming up with a fix for forged CallerID known as SHAKEN/STIR.

It's still about a year from being deployed, and it's unclear how legacy landlines will be covered, given Nortel's been bankrupt for a decade and Lucent (know Nokia) has been out of the switch business for at least as long (an aunt of mine used to work on the 5ESS software until she was laid off about 15 years ago. She's now a realtor and makes far better money, so I guess nothing lost).

They're doing this out of not-so-enlightened self-interest. Voice is still a huge part of telco revenue and they can see people abandoning voice outright if the last year's trend of 75+% of all calls being spam continues. Millennials have already adopted social standards of phone calls being considered intrusive and rude.
These are very important steps to creating something, but there's not really anything new here.

This is basically a simplified version of the design thinking framework with the implied "build" step at the end made explicit.

For example, the process that has been taught at Stanford for years is: empathize, define, ideate, prototype, test. The first two steps could map to "understand" here with the last three falling among "design" and "build" depending on the fidelity of your prototype.

PDF link to an overview from Stanford: https://dschool-old.stanford.edu/sandbox/groups/designresour...
QR codes are widely used in China for example for quick transactions: https://a16z.com/2017/08/11/qr-codes-in-china/
Huh? The $10K cap applies only to state and local taxes. Mortgage interest, dependent exemptions and charity giving is unaffected by the cap.
Your book in swift with the same title is awesome as well.
All ports on Apple's laptops behave the same for charging - they'll continue to provide power while sleeping, but won't start providing power. If you want to use it as a battery in your backpack while it's closed you have to plug your phone in, wake the computer up, then put it back to sleep. At least that was the case last time I tested it.

For the most part they don't need colors because all of the ports are the same. One recent exception was that the 2016/2017 MBPs had inconsistent Thunderbolt bandwidth because they didn't have enough PCIe lanes. IIRC left side had full 40Gbps ports but the right side had 20Gbps. The 2018 version has full speed on all four.

EDIT - another potential point of confusion, they don't mark Thunderbolt ports vs USB-C ports. On any given device they're all the same, but they expect you to know that the 12"-mini-macbook is just USB-C while the Pro and Air are all Thunderbolt.

So yeah, it'd be helpful to have some symbols on the laptops. They do label ports on their desktops. I assume this comes down to Ive not wanting labels on his beautiful chunk of aluminum where someone might accidentally see them while using it.
Japan and Korea are 'very gendered' countries.

Technically, everything could be equal, but men and women have much stronger gender roles there, it's very deeply ingrained into culture.
How much do you trust the ~100 employees you have to hire to run your infrastructure?
Bay area to Hawaii: Southwest Airlines offers Hawaii flights
Hi Drew! What you're doing sounds awesome -- more power to you, both figuratively and literally! Hey, I'd love to see an "About Us" web page on your website with team bio's, list of VC's, etc. (Hey, you've already written half of that page in what you've posted here!). Also, please ignore the naysayers here. Everyone in history who has tried to advance science has always had naysayers, it's just the nature of what you're trying to do! Good luck, and I hope you succeed wildly!
It lists 3D printing as a use case. It also has a dedicated set of tutorials on working with exact dimensions.

https://www.vectary.com/3d-modeling-learn/dimensions-how-to-...
This has been done but it spoils the narrative.

It is money given to retirees (Social Security, Medicare, etc) and the location of Federal employees, notably military bases (intentionally located in cheap and rural places) and various agency offices involved in land management and natural resources (inherently distributed in rural, western areas).

Since no one is going to shrink Social Security/Medicare, and military bases need to be put somewhere in flyover country, and no blue State wants to shrink/eliminate the National Parks, forest service, EPA, etc, it starts to become clear why the current flow of Federal spending in rural red States exists.

A huge amount of Federal employment outside of Washington DC is intrinsically tied to extremely rural locales, which tend to be "red". Oftentimes, like with the Department of Interior agencies, the employees aren't even local -- it is an assignment from Washington DC.
I was being a bit facetious with the initial suggestion, honestly. Mostly poking at color being used as a universal indicator, and then you have a case like Razer where they introduce green to be complementary to their laptop's color scheme.

Beyond just switching to brand + version number (ie [USB logo] 4, [thunderbolt logo] 3, etc.), I don't know of a great way to really go about this. Otherwise you end up with the super speed championship edition thing you posted, which isn't going to help anyone really.

I think the color one was a great idea on their part in that you didn't have to look too close to see which port you were plugging into, but all it takes is one detractor to deviate from it (say if MSI came out with a gaming laptop with red USB2 ports), and then the whole idea is shot.
Agreed; the mortgage interest deduction is stupid (although wildly popular, unfortunately)
Good point. I may add I constantly try to learn and understand best software or engineering practice while working hard to also stay aware of whats most useful for the business. As you say " There is a balance to be struck"!

Like trying to know enough to deliver value while avoiding shooting yourself in the foot and also not wasting time on what's only seen as a black box by outsiders?
Exploiting MySQL arbitrary file read: a honeypot that kicks
Radio Lockdown: Better legislation implies the ban of bazookas to kill a fly
This is why we need more remote work! People need to be able to live where they need (or want) to live for a plethora of reasons ... brains are just as good in the midwest, or in the south, as they are on the coast.
My math may be a bit off but if you have a 230Ah battery (Telsa Model 3) and you want to charge it in 10 minutes you need something on the order of 1380A charging current even ignoring losses. At 350V, the voltage of the Tesla Model 3 battery pack, this is 483,000 Watts! There are major problems with this type of charging happening at scale at every level of the energy grid.
Lower-middle income families are quite rich by world standards, let alone upper-middle income families.
I guess I'm confused to why a system needs to have bail bondsmen - isn't the idea behind bail being something you can possibly give up but want to get back? Isn't bail bonds something you can't afford? Even just paying the fee might be too much for people, but the alternative is to wait in jail an unjust amount of time.
Definitely webgl
That sounds like '10Gbit ought to be more than enough for anybody' to me.

Plus the good thing about USB is it just works, you don't have to worry about any tiny subset (well that's the theory anyway).

I've had enough of my monitor, mouse, keyboard and printer all using different connectors thank you very much.

Edit: Making make sense.
It is from San Jose and Oakland airports.

Amazing tips from the points guys
https://thepointsguy.com/guide/southwest-flights-to-hawaii/
Negotiations also play a factor, 2 employees with the same tech skillset can have a different way of negotiating resulting in different salaries.
It's not that simple. If we didn't kill any more plants, would the plants be able to pull CO2 out of the air at the rate we're producing it? I am not an expert, but I believe that the answer is no.
In this we will need regulation to prevent the lazy from destroying the environment and possibly poisoning all of us. These microplastics are becoming an increasing problem. It stems from lack of responsibility in the preserving the commons.
No, I mean the behavior is undefined in that case when the function returns the indeterminate value, which was initialized anyway.

Look, GCC (what I have here: 7.3.0) is doing this even for the following trivial function:

int undef(void)
{
int ret;
return ret;
}

With -O2 this turns out:

xorl %eax, %eax
ret

do we still know until run-time that this has UB?
Maximizing Conversions on Free Trial Offers
The modes don't matter if bandwidth is not there.

Ultimately, I just want every monitor and TV to support a single universal interface, fast enough for the highest resolution/refresh rate. I don't care how it's called or how it works. If "USB 4.0" can be it, great.
I can tell you the models that Google hands out in Advanced Protection packs at some privacy-oriented conferences:

1. Feitian FIDO MultiPass

2. Feitian ePass FIDO NFC
You might find this an interesting read.

https://www.theatlantic.com/science/archive/2018/02/the-more...

Quote:

The upshot of this research is neither especially feminist nor especially sad: It’s not that gender equality discourages girls from pursuing science. It’s that it allows them not to if they’re not interested.
That's certainly a possibility. In fact, maybe most people wouldn't enjoy a career in STEM.

Or, like another commented suggested, maybe something about STEM appeals to men disproportionately.

If I had to guess, it's probably a combination of multiple factors. STEM isn't for everyone. But at a young age, more men are encouraged to pursue it. The high salary of tech jobs might attract men more than women, if men face more pressure to make a lot of money. Now you have a male dominated industry. And that starts to self perpetuate. Young boys see role models and women don't. Women outnumbered in male dominated workplaces become subject to more harassment. STEM starts to become a "man" thing, and less women feel like pursuing the career, especially when there are so many other occupations that seem more interesting. I think that's a plausible explanation for how we got to where we are today.

But nobody knows for sure. My point is, biology shouldn't be the default answer whenever we see gender gaps.
Which is why as a startup you have to offer something that FANG can't offer, like full remote working or similar.

That or taking the people who fail to get FANG offers / naive jrs.
They were voting to keep the money for their state and short the federal government. That's how the unlimited SALT deduction worked and it gave states an incentive to raise taxes sky high, because it didn't affect the residents of the state, it just dropped what the federal government took in. If I was in one of those states I would've agreed with it too: keep more money for ourselves at no additional cost!

Now the law has changed where, regardless of state, your federal tax burden remains the same. It leveled the playing field and states will have to adapt and lower their taxes, otherwise risk losing residents to states where tax money is better managed.
One, what AMD laptop?

Two, I'd be interested to know if AMD bans board manufacturers from including TB or if they just don't do it because their heuristics say users don't care or want it.

I'd imagine now with the rise of USB-C it would be the latter. Before that AMD was stuck on a 5 year old desktop platform that probably couldn't run thunderbolt ports even if board makers wanted to include it.