skysight-inc/HackerNews huggingface dataset:
In saying that there cannot be a turndown because stocks are rallying, you are not comparing apples to apples. Companies can circle the drain while their stock rallies. Companies can do good business while their stock gets crushed.

First, people are buying equities in general because interest rates are being held low artificially by the Fed, which has been pressured by the President to do this.

Second, few traders and investors understand how to differentiate semiconductor companies, so when it blows, it will all blow. People get out of crowded trades chaotically. Investors and traders, who are largely unsophisticated about the specific technologies that each company develops and markets, will punish the sector rather than choosing individual names to sell. I will say it again: most people who trade tech professionally have no fucking clue what these companies actually build. They look at numbers, watch earnings reports, and listen to buzzword-laden commentary from research analysts.

Look at Apple. Their supply chain is threatened by factory shutdowns and a huge market of theirs has basically been put on ice, but their stock is near all-time highs. They haven't made a game-changing product since the days of Steve Jobs, and people usually say their value now comes from their execution. But how can you execute if your suppliers are shut down and one of your major markets is closed for business?

INTC is facing tons of pressure in enterprise and PC from AMD, their 10nm has been a disaster for them, and yet their stock popped 9% on earnings due to cloud demand. It's trading near dot-com bubble levels. They are getting hurt in their competition vs TSMC on fab, and losing market share to AMD, yet their stock is like a rocket ship. Doesn't this seem weird?

QCOM has been hit hard by several regulators and in a number of lawsuits for its IP bullying, it has come out and said that coronavirus is going to hurt smartphone manufacturing and sales, and yet its stock is trading near all-time highs.

Don't ever confuse stock performance with company performance. Boeing stock is trading at more than double where it was when the 737 Max 8 took its first flight four years ago.
Holy shit at number three. As if we didn't have enough reasons to despise Equifax already.
is it not possible to specify global constraints and verify the code against that ? (ex. minimum 2 sensors should give an estimate of each attribute, vehicle should not be able to crash into anything, hierarchical control modes for sensor failure, etc.)
There's also the big difficulty to harvest laser beans...

But seriously, I wouldn't say this one is less efficient, both attacks are quite different in scope.
The laser-based attack requires line-of-sight to the device and apparently works only on stationary home-assistants (i.e. your Google Home), while this ultrasonic method explicitly targets Smartphones and has potential for wide unfocused attacks at public spaces (i.e. by rigging a table in a coffee-shop).
Shouldn't you be able to avoid this by simply hashing the password before POSTing it?
I think drivers speeding is considerably more dangerous than cyclists running red lights.

In my experience, the vast majority of the time cyclists run red lights, they check both directions before going and there are not conflicts. The examples shown in the article are fairly rare.

Plus, the danger from a cyclist running a red light is mostly to the cyclist, while the danger to a driver speeding is to everyone nearby on the road.

Add on top of that the fact that there are many more drivers on the road than cyclists. The net effect is that speeding is a much bigger safety problem in total than cyclists running red lights.

(Note that I'm not endorsing running red lights.)
Why is the blog author wasting his time? The privacy statement says WACOM collects data. He does research and proofs it. -_-
Let’s Try Anonymous Pull Requests
I'm working on cataloging and indexing the table of contents for all the cookbooks my wife and I have acquired over the years. It'll make it much easier to search by recipe name across all our cookbooks when there's a dish we want to cook.

https://www.hellocookbook.com/
Indeed. Don't live in Georgia.
Established ERP systems take so long to configure that sometimes, it makes more sense to write your own in-house. Tesla did just that. And in only 4 months.
Coding the Impossible: Palindrome Detector with a Regular Expressions
I'm really surprised that the OS makes so much difference to CPU bound tasks.
Compared to the salary of skilled workers, it isn't really that much.
Correct. A self-selecting sample if there ever was one.

Immigrating and deciding to live in another country takes a lot determination.

If you take ambitious and motivated black parents in America I am quite sure their children far outcompete the averages.
While building this developer dashboard[0], improving productivity has been one of the main goals. However at the individual level, it still comes down to eliminating distractions, prioritization, and other things outside the scope of a dashboard. This article gets individual productivity right, which is high-touch and specific to each person.

[0] https://wakatime.com/
For me the problem is not really distractions (I don't care if people interrupt me from time to time, in fact I like it). My problem is the mental strain that stems from lack of privacy, the knowledge that people can see me and my monitor all the time, it's like there's a background process in my mind that checks whether what I want to do (move a lot in my chair, comment on HN, eat something) is ok with people around me. And this constant monitoring and self-control is tiring.
You're telling that to someone who has Lisp in their username :)

There's still a difference between testing while writing it and after writing it that's independent of whether you have a REPL or not.
Change Management Is Both Technical and Cultural
In what way is this not fraud?

In the way where you buy the legal definition of fraud from the senate.
I just tried this, and it's somewhat strange? Zoom out until you can see the globe, and forests are shown. Zoom in one step, and forests are all but invisible. As you continue to zoom in, contrast is all over the place.

Turning on terrain mode does, however, increase contrast for every zoom level.
You would message and email more because you can't just turn your chair around to chat about something you are working on. If you do that, you kill the productivity of a dozen other people while you have that chat, and get them mad at you as a bonus.

I remember one office design where they had these tables placed between desks faced back to back, on the theory that people would use those tables for collaborative work. Instead, the tables just became oversized bookshelves. People couldn't have a conversation over them because conversations make noise.
No, that's just another public rationale. Programmer salaries are much more expensive than even private offices.

In a past life, when I wrote software for a living, I would ask my managers how much it cost, so I could pay out of pocket for my own private office. In every case, when pressed, they admitted it wasn't about the money at all. They just needed me to be a Team Player.

It wasn't even about built-out cost. The private offices already existed, and were sitting empty, in anticipation of future sales team growth -- even though I don't think we were hiring for that yet. Everyone on the business side always got a private office. Come to think of it, I don't remember ever hearing management try to explain why the sales team apparently didn't need to be team players.
Programmer here, i built this app in my spare time, then went full time on it in Sept 2018 after quitting my full time job. Been doing a little contracting on the side but this app has grown quite nicely and now has more than a thousand subscribers. Doing mid 4 figure monthly revenue, which is more than I ever expected from an app of mine.
I think you’re viewing the problem backwards. It’s not that they intend to send out a standard bill and know in advance who can pay. It’s that they intend to send out bills scaled to people’s ability to pay.

It’s probably more profitable for them to send a small bill to a poor person than a large bill that is never collected. It’s definitely more profitable to throw the most ludicrous bill at those who can and will pay whatever cost is sent at them. You can also adjust the kinds of treatments given according to likelihood of profit.

I wouldn’t be surprised if the latter case is illegal (or happening or not). I’m pretty sure the former case is perfectly legal, though symptomatic of a bigger problem.
Yes! But that has various pros and cons as well.
Let’s see. Robotics problems were claimed to be tractable through AI. However, a large majority of robotics solutions today are 90% derived through control systems (which follow some degree of causal analysis) followed by AI to optimize the last few percentages if possible.

Finding something odd for an algorithm (especially a deep neural network) is hard because they fail in just so many ways. For example, lenet for mnist almost always gives high confidence predictions for random tensors(torch.randn). Most imagenet models fail in the presence of just 20-30% salt and pepper noise. (Both of these are problems solvable through simple preprocessing techniques)
The IKEA Test for New Hires in Startups
Especially with C++ its very easy to shoot yourself in the foot and experience is invaluable.
I've argued in several of these threads on self-driving the following point: safety in terms of fatalities per billion vehicle miles travelled (VMT) is already in the single-digit range in Europe, and likely far below 1 fatality per billion VMT when restricted to "highways AND modern cars AND good conditions".

So you need ridiculously huge samples to get statistically significant data on the safety of a single manufacturer's system. As in the order of magnitude of a hundred thousand miles per car for every one of the ~ 900k Teslas sold so far.

Thus you reach a paradox: with current trends in "normal" car safety improvement, you won't know for sure if a particular self-driving model is safer than non-self-driving models until they are close to end-of-life. And then it's a bit late to find out.
Honestly, it really just depends on what their "hardcore coding test" actually entails.

If they give you like 1 short task that you're supposed to solve on a white board, well, that doesn't really map well with what you're actually supposed to do.

But if they sit you down for 8 hours with a reasonably interesting task (both optimization and architecture wise), that's a pretty decent filter. It just takes a lot of time and effort from both the company and the candidate so almost nobody does it.

It's not like the usual filters (engineering experience or education) are this amazing gold standard either. Just because someone wrote barely passable C++98 code for 15 years that doesn't make him a great programmer, and neither does having degree.
It only proves that the server isn't storing your original password (since it never receives it). Well designed servers using salts and good password hashing don't do this anyway (but there are plenty of bad ones out there).

It doesn't prove that the server isn't just storing the derived password in plain text (which is all that is needed to log in to this server).

And it still doesn't mean that the original password can't be recovered if the password db is compromised.
I've used Simulink to model dynamic systems. I would say the C code it generates is "safe" in terms of memory access that can be used for embedded systems, but it does not check for undefined control behavior.
I've was a TL for a few years in my career and still play that role from time to time.

1. have your team's back, no matter what. They (and you) are going to screw up but your team is counting on you.

2. make the team better, every single day. Whether it's technical, emotional, productiveness, it doesn't matter. The team just needs to be better every single day.

3. get rid of the assholes, acquire those who want to be better

4. see the forest through the trees. Understand and appreciate how the work your team does translates into dollars for payroll

also, a while back someone posted this link on leadership from the Army. It's more straightforward and clear than any airport bookstore leadership book you'll ever find.

https://fas.org/irp/doddir/army/adp6_22.pdf
I've been flying with a passport my entire adult life. In fact, I carry the passport with me everywhere and use it for other identification needs as well (e.g. buying beer, getting my tickets from will call, etc). I appreciate that the passport lists only my name, birth date, and place of birth whereas my driver's license includes my address, gender, height, weight, and eye color. Places that have technology to scan driver's licenses are almost never able to scan my passport, making for that many fewer databases my presence is indelibly recorded in. Ever since my state started using facial recognition technology on their IDs I've asked to have my driver's license made without a photo, so I can't even use it as an ID card if I wanted to.

Nowadays you can get a "passport card" which has the exact same form factor as a drivers license and can be used the same way as an "enhanced real id" for domestic flights or travel to/from Canada and Mexico.
SlaaS: Slacker as a Service. Delay Send Updates to Jira and Pivotal Tracker
1.Have patience as you transition into this role

2. Lead by example - be the change you wish to see

3. Focus on strengthening your team members (designers and product managers included!)

4. Ensure your engineers are given ownership and leadership opportunities

5. Do not be afraid to let someone else lead - actually encourage this

6. Do not overload yourself (surprisingly easy to do)

7. Expect the amount of time you spend developing to decrease

8. Expect the amount of time you spend in meetings to increase

9. Actually spend time learning the business your code supports

10. Become a resource to the non-technical ppl your team supports

A lot of good advice in this thread, but remember to have patience with both yourself and your team as you take on this new role. Nothing changes overnight and it might be a number of weeks/months until you find your groove.

Congratulations and best of luck.
Of course, we should distinguish regexen that include extensions like back references, from formal regular expressions.

The given technique works for finite palindromes using regexen that support back references. If we want to use a formal regular expression to recognize finite palindromes...

Any language that has a finite number of sentences, and is composed of strings of a finite length, can be recognized by a formal regular expression.

Worst case, we can brute force it by making a big union of strings in the language.

This applies to palindromes of a fixed length iff the alphabet of our language is finite.

e.g., if our alphabet is the second smallest (0|1), then recognizers for palindromes of length 1, 2, 3, 4... are:

0|1
00|11
000|010|101|111
0000|0110|1001|1111
...
Not to mention the fact that most models are trained without a background class and tend to give overconfident predictions on out of distribution samples.
If people are trying to treat one another well, asking if anyone should be offended makes sense. The problem is the self-righteous criticism and censorship, not finding reasons to be offended. It's about attitude and action, not thought policing.
Effective regulation might be okay. Then maybe people like former Dr. Christopher Duntsch wouldn't be able to practice for years, killing and maiming dozens of patients.
Build engines suck. Help GPSD select a new one
The Mandalorian: VFX Behind the Scenes
I was just thinking about this this morning. I feel like any time I update the OS on a device it gets slower, and was wondering if there was some OS focused on being fast (and hopefully battery-efficient). Maybe I'll have to try throwing Clear Linux on my old 2011 notebook and seeing how it does!
Unfortunately, there is no evidence of this, especially when Republicans recently took away food stamps people rely on to feed themselves.

Can't revolt if you're disabled and untreated, tied to your job to keep your kids healthy, incapacitated by treatable illness or weak from hunger.
Spend Bill Gates' Money
Yeah, it's a tad hyperbolic, but mainly with regard to the proximity. It's likely that more competitive employers will not be in walking range, especially not in this week's weather! ;)

It also depends on how long you've been at your current employer. Conventional wisdom is that once you're somewhere ~2 years, you're automatically leaving 10-15% on the table, because most companies are very stingy with raises. In an overheated market like SLC, that estimate is probably quite low.

Here's an anecdote: recruiters are so desperate that one of them spammed myself and several associates for a specific role, and this particular solicitation contained an apology that the base was "only" 135k. I know that's "just out of school" rate in SF/LA, but in most of the country, that's considered pretty darn good. And this recruiter is here pre-emptively apologizing to every stranger she spams for the "low" rate.

I got a lot more anecdotes, most of which are substantially better than that, but that's a quick simple one indicative of the kind of market we're in right now.

At a recent-but-former employer, we routinely hired in new people at +40% more than their peers who'd been there for >3 years, simply because the market wouldn't accept anything less and HR was hyperskeptical of any raise >2%.

My advice to anyone unhappy with their current compensation or employer is to go out and ask for the most ridiculous number you can think of. You may be surprised.
Which sometimes makes me wonder, why pay for insurance at all? Sure sounds like a racket, "pay us and you may get into medical debt, don't pay us and we'll make sure that you do"
Various potential applications in biomedical, environmental, and energy fields.[1]
Could improve the efficiency of solar thermal power stations:

"Control over the absorption spectral range of surfaces is of major importance for a wide range of applications, such as selective solar absorbers, thermal emitters, structural colouring water condensation and daytime and night-time radiative cooling. In particular, for a solar-thermal energy absorber operating at high temperature, the absorber should be an SSA since the main cooling mechanism is thermal radiation... an ideal solar light absorber has nearly 100% absorbance within the solar spectrum and negligible thermal emittance within the blackbody radiation spectral range at mid-to-high temperatures (100–500 °C), i.e., an SSA. SSAs can thus maximise the temperature of solar absorbers and increase the efficiency of a heat engine driven by solar radiation."

[1] https://www.nature.com/articles/s41377-020-0242-y (full text paper)
PyTorch3D: An open-source library for 3D deep learning
I can understand there are compatibility issues at play wrt embedded systems, but aren't there ways to formally verify C/C++ code ?
> If you're not verifying the actual code, then how do you prevent bugs creeping during whatever happens between verification and actually writing the application code?

Code review! So, SO much code review. Also testing and type systems and linters and code review.

(There's also some work on automatic synthesis, like PGo, but that's all very, very far from being production-ready.)

The main benefit of using TLA+ is that it lets you hammer out issues in the high-level design. Less "oops this has a buffer overrun" and more "oops if this service stalls out for too long our recovery mechanism will violate a core safety guarantee." Turns out that lots of the nastiest bugs are in the design, not the implementation, so using TLA+ saves a lot of time and money. But you still need to code review!
Ya I know. I think i remember reading somewhere (probably in that biography) that he actually basically self-educated himself to PhD level in aerospace engineering while starting SpaceX.
Which is not the same as the semantic meaning of doing stack allocations or being stored in registers.
> Scooter is more safe than a bicycle (for a rider).

Weird, I feel the opposite. You can't really just step off a scooter when its at any decent speed (I accidentally tried when the brakes failed on one… would not recommend.) Scooters feel way less stable, and have really weak braking compared to bicycles.
That's good to know. I was/am interested in working there. I might apply anyway just for the experience (currently not working in software development, but I'd like to get back into it).
people just need to leave their comfort zone occasionally

It would be nice if that happened, though. You tell your students, 75 % of whom have no grasp of 8th-grade math, that they have been cheated out of an education and that consequently they now need to work twice as hard. But instead of knuckling down they all march off to the Dean to complain. Of course the Dean enables the underperformance.

You can't frame "easy life" only in terms of money, "easy life" also means coasting through an underperforming school and never having to face reality.
Precisely because "pay us and you may get into medical debt, don't pay us and we'll make sure that you do".
You are right about the wheels. When a big cycling charity ride — thousands of people — crosses railroad tracks at an angle, there are always multiple people who catch a wheel in the tracks and take a spill. For bike wheels you need that special condition of a narrow groove the right size, but for the tiny wheels on the older scooters, it's much easier for almost any angled imperfection in the pavement to grab your wheel or simply knock you off balance if you don't take care to hit it right. Anecdotally, it's something you have to be constantly aware of on imperfect city streets, and I took a bad spill when I hit something on the street that I didn't see in the dark.

That said... the biggest danger is always collisions with cars, which is the same danger you face on a bike, and the danger the article concentrates on. I almost got hit on my bike by a car turning right across the bike lane just yesterday, and the outcome was a matter of luck, not a matter of what vehicle I was on. The article mentions the "Three E’s of Traffic Safety: engineering, enforcement, and education" and I think we need more of all three. The driver who almost hit me (I caught up to him and spoke to him) was an older man who looked to be from out of town and probably had no idea he needed to check his blind spot when turning right, because that simply wasn't a thing until the advent of bike lanes, not when he was learning to drive and maybe still not in the town or city where he lives.

EDIT: You're also right about braking. The wheels skid easier than bike wheels, and it's harder to keep your weight back and down so the braking force gets transferred to your body.
> I wounder a judge would actually enforce that clause.

Yes. It's a normal and enforceable clause. It's very common in all kinds of contracts.
I have been traveling in Latin America for the past 2.5 years. In Mexico, life expectancy is 77 years, pretty much the same as in the US. An American retiree expat told me that his MRI cost him $200 here, versus $3500 in the US. I have been to doctors too. A typical payment for a doctor visit is $30 cash, less than my copay in the US. I had a stomach parasite from Guatemala when I flew back to the US. My PCP scheduled tests, then more tests, copays, bills and finally a $200 medication. While doing all this, I simply took a Mexican anti parasitic medication that I bought for $1 (one dollar) in Arrilaga, and it went away, before I got the $200 medication!

I think the medical field here in Mexico is much more affordable because it's cash based, with real competition between doctors