skysight-inc/HackerNews huggingface dataset:
Ha, I wonder if an attacker could use this bug to prevent or fake the rebooting process by changing the behavior of the lock/volume buttons when they’re held.

I know there’s also a “hard reset” you can do with volume up -> volume down -> power, not sure if that works at a lower level.
I used PHP where everyone would reinvent the wheel and JS where everyone would install hundreds of packages.

This gave me the feeling that the truth is somewhere in-between.

Maybe NPM packages are overall low quality and it would be okay to use more of them if they were better, but I'm now just installing a package when I don't have the time or skills to code it myself. This saved me from dependency hell, but it also helped me to move faster than doing all on my own.
What was your strategy?
This is such a bizarre post. If you have the self-awareness to admit this about yourself, you are probably not a poor programmer.

Poor programmers do things like allowing an incoming request to spin up unlimited concurrent threads. Poor programmers erroneously throw exceptions on any operational deviation - even it if can be handled without error.

Most importantly - poor programmers do not learn from their mistakes and are unable to see that they are poor programmers.
Those seem more like tags for happiness. Or buckets into which happiness can be sorted. As an awkward not-so-great fit into two buckets example, think of someone who puts effort into putting together a collection of objects over a long period of time. Maybe it's art, or toys, or whatever. Over time, they show this collection to others. People hear about it and want to see it before they die. Awards may be won. But the person at the center doesn't necessarily need to decide on either type of happiness, and the philosophy barely even needs to exist. It's more of a journey of attention and energy directed both externally and internally.

I think it's worth considering whether this bi-modal distribution of happiness may in fact be just another perspective among many in an N-dimensional space of perspectives. Sure, it has some leverage. But like any model it should probably be held lightly. A multiple model approach to something as important to humans as happiness would be hard to fault.
>I’m having an existential crisis

Don't. There are so many poorly performing queries and databases in the world that you could make a very tidy income just specializing in sorting that out. Even if you knew nothing else that skill will keep you employable for decades to come.
Napoleon
A Life

by Andrew Roberts
read by John Lee

Worth the time to listen to the 32+ hours.
Stop giving your employer free labor.
I believe the worst-case asymptotic time complexity of spaghetti sort is O(n^2).

The algorithm works for any input list, so I will pick a hard class of inputs: The list shall be some permutation of [1, 2, 3, ..., n].

The sum of the spaghetti lengths is 1+2+3+...+n, which is in O(n^2). You need to spend O(n^2) effort to gather the flour to make the spaghetti. Hence this sets a lower bound on the overall algorithm.
'jobs for the boys' is a well known phrase for a reason. It's rarely used in a positive way
I don't know who said it first, but why would we want to sustain when we can regenerate? Why simply balance the equation? Let's aim for net improvement in our soils and farms. More water infiltration, less desertification. Less topsoil erosion, more carbon capture in longer growing cycles.
> (spelling?)

You were probably thinking of "kitschy", but "corny" would fit your intended meaning better. Though I agree that it's actually not corny at all.
I don't know if it works that way any more.

Nowadays with CVT or with PDK it seems to me that you're merely making a "suggestion" to put the transmission into Neutral. If the transmission software is borked, you're screwed?

But I'm not sure, maybe there is some fail safe override that occurs when you physically move the transmission control stalk into the neutral position?

I'd say that you could always turn the engine off. But Toyota made a mockery of that. Q: Who knew that you needed to press and hold the OFF button for a full five seconds before the car decided to comply? A: Not everyone knew --- people died!
> Finally, let the computer do the work; Dave Kirk talks about the elegance of brute force (I don't know if it original with him). This is a cousin of KISS. Hardware is fast. Software is hard.

Yeah, I don’t know. The cloud bill is going to be expensive.
They will not do a helical weld because the steel's thickness varies from the top to the bottom of the cylinder, according to Elon Musk.
https://twitter.com/HarryStoltz1/status/1162595874561617920
https://twitter.com/elonmusk/status/1162601447235604480?lang...
The Future of Precision Medicin in Healthcare
From the comments below on testing one’s experience, I don’t think that there is a way to actually test one’s soft skill experience, and if they are the right candidate for the job, other than leveraging the networking aspect for recommending a candidate for a job.

One important requirement for a senior executive job these days is their Soft Skills. If you can find a way to measure that, well you have solved a major issue.
Director of engineering at a former employer once said in the span of 30 seconds: “we’re trying to hire more diversity” and “please reach out to your social network”.

To an audience of 98% white males.

The director acknowledged the incongruity, thankfully, but never solved the problem.
So, you now claim that:

because there exist some characteristic axes that are not protected,

that it is therefore impossible that the reason that some classes are protected cannot, by definition be in order to mitigate hare and provide equitable treatment?

That is like saying: 'in 1875, because women didn't yet have the right to vote, the purpose of banning slavery could not have been to reduce harm to the slaves and give them equality, because women are still being harmed and are unequal'.

I'd like to know, if you think that the purpose of the EOE laws is not to reduce harm and promote equitable treatment, what do you think IS the purpose of these laws?
Sure. Bottled water for example. ;-)
Sorry, what's the evidence for the reason why the vehicle stopped? I mean, it stopped. That's what it's supposed to do. You have some cite showing that it wasn't a sensor detection?

And of course it hadn't "slowed", at this speed (looks like about ~1 m/s) the time taken to stop (at about the .7G a car on its wheels can achieve) is about 4 frames of that 30 Hz video, and it happens over a distance of about 7cm, most of which is the vehicle just rocking forward on its suspension. Be real, we're talking about parking lot maneuvering here.
Sure, he could be lying when he says he believes crazy conspiracy theories, but I don't know if that is much of a defense: "He's not crazy, he just dishonestly manipulates crazy people who actually believe the insane theories he repeats".
I think you're getting downvoted because of your flippant tone, but I am also curious how the cargo would get on/off the ship.
OTOH, I feel that the kleptocracy in Russia is one of the few that can work towards long term results. For example, in India, leaders work on a standard 5 year electoral cycle, and thus have to show results in that time - which leads to very short-termist thinking on their part, which might be very damaging to Indian interests in the long-term.

I imagine that the Russian rulers do not have to worry about the 4/5/6 year electoral cycles, because they know that they can rig the results and come back to power, and so they can decisions that will bear fruit over the long term instead.
Colorschemes are wanted to be distributed with Vim
That’d be a lot of fun. I find so much joy in that actually. Figuring out what variation of a query satisfies the query planner to create the most performant plans is fun!
I think derivation proofs are useful (and definition) but other types of proofs such as correctness hasn't helped me as much.
A little more context -- I stream playing games (because it's entertaining to have people drop by). I have no interest in being a streamer for a career, so I don't feel I need to compete with anyone, but if folks found my side project interesting and dropped by to chat I think that could be a nice break.

Do you find it difficult to converse with folks while programming? How do you maintain flow state while streaming? (Maybe this is just a skill you pick up?)
Amid fears about the death of books, finding new ways to bring them to life
In more recent versions this exists, though I'm not sure how long it'll let you push it off.
Quite sure this is electoral fraud and illegal. Downvoted.
I bought hardware back when starting out and it has been the best thing for my networking experience. I have simulators, but they just are not the same and will leave student unprepared for the real world when things go wrong which only happen on actual hardware. The simulators just do not give the same appreciation when you are looking at a big BGP routed network with multiple VPNs and other network types that you setup from scratch in a few full racks that work just like production.

You can get older equipment and newer equipment which is a good mix to teach students how to work with the old and the new.

For new hardware a few Catalyst 9300s should do with a few ISR 4000s and for the best of student at least two ASR 1001Xs and two ASA latest versions just be sure to order them to spec for what you have available. If you want a classic setup you can use 3x Cisco 2911s and 3x Catalyst 3750s with an ASA 5510. Insure all the products you get have the K9 Security Bundle so they can do crypto (SSH, SSL, IPSec, HTTPS, etc.) without that license everything will be unencrypted only (telnet, http, etc.). Normally you can get the older ones hardware licensed, ask the vendor to run the sh version command to verify the license before you order. You will also want to make sure you get things stackable if possible so students are not setting up LAGs when they can use stacking instead so they do not have to give up ports, though do teach them how to do this so they will know what to do if they are in that situation and are not able to do stacking or need to do both in a mixed environment.

You will also want to insure students know the different types of fiber, coax, etc. type connectors and how to set things up once providers have brought connectivity in through for them to finish the setup.
> Poor programmers do things like allowing an incoming request to spin up unlimited concurrent threads. Poor programmers erroneously throw exceptions on any operational deviation - even it if can be handled without error.

All of these examples make sense in the context of your business, but in some environments these might be best practice ;)
Agreed except for training data is larger. Training data is often far smaller for humans. You probably saw a few cats before generalizing and understanding what a cat looks like. A neural net might require hundreds of thousands if not more samples to be a robust classifier for cats. AlphaGo et al look at tens of millions of games, humans look at a small fraction.
A couple of reasons come to mind:

- it would probably cost more than you think per person to get someone to pick up their life and move to a state of your choosing

- it's not clear ahead of time how many people you need to get to move

- it's not even really clear ahead of time which places you want them to move to. How many people would have guessed that moving Democrats to Wisconsin ahead of 2016 would be the most efficient path?
Both libraries do the same thing. Boost lets you set your exception policy and I'm unsure if this Bounded Integer library gives the same level of control.
Quit conflating the issue.

The poster you're defending (and, frankly, the whole argument) was trying to make the point that "targeted ads", as a category and devoid of context, was a good thing because you reach the target you want to reach. Fair enough. But if it's an employment ad, and you only want to reach upper class white males, well, that's discrimination. Period. If your "principles" enable that, well there you go.
It's a Windows game. People are asking him about the possibility of a Mac port.
Hey, this is very helpful. Would love for you to list more things.
This is a persistent compromise. That will not help.
Thank you, you beat me to it.

I would add this article https://www.bloomberg.com/news/features/2019-02-13/why-ameri... which explains my matchstick metaphor

> Building codes evolved, too, as insurers and fire-safety-equipment manufacturers pushed for scientific, “performance-based” codes that emphasized lab-determined fire-resistance ratings over specific materials and incorporated new technologies such as the automated fire sprinkler.

> Stick construction allows builders to use cheaper casual labor rather than often-unionized skilled tradespeople. And it makes life easier for electricians, plumbers, and the like because it leaves open spaces through which wires, pipes, and ducts can run. Still, there’s a reason why stick wasn’t the default for big apartment buildings until recently, and why these buildings are limited in height: Sticks burn.
Seems likely that the hard reset works on a lower level as it works even if the phone is hung.
Can we keep the fuckup that is California politics limited to that state as much as possible, please?
Trail of Bits sells a jailbreak detection app the same way Ikea sells Swedish Meatballs. It's good jailbreak detection, but it's hardly what Trail is about.
It’s common in both software and especially hardware to render at a higher resolution and then filter & downsample. The 2x2 or 3x3 or 4x4 etc pixels in the higher resolution that correspond to the 1 pixel at final resolution, those are called subpixels. For example, you can read about subpixels in descriptions of traditional aliasing as well as GPU antialiasing.

https://en.m.wikipedia.org/wiki/Spatial_anti-aliasing

https://en.m.wikipedia.org/wiki/Multisample_anti-aliasing

The term subpixel is often referring to virtual pixels used to compute some final pixel value, as opposed to the LCD specific idea of a physical subpixel that’s red, green, or blue. Look around, for example, for discussions on subpixel resolution, subpixel positioning, subpixel animation, etc. Those are usually talking about the virtual kind used in traditional antialiasing, not the physical LCD subpixels.
Wouldn't adding more of the existing pieces in the back row change the game a bit too? Which piece(s) would you suggest having more of to accomodate the extra fields?
The lack of an equal shot is no excuse to make things even more unequal, wouldn’t you agree?
I've spent some time in Singapore. The country is too tiny for me to live. I love natural beauty and exploring new places, which Singapore lacks IMO.
> Now it's absolutely true that different parts of the world use different materials -- cinder blocks vs. wood vs. stone -- but that has much more to do with climate, available materials, and century of construction, rather than "quality".

Another reason you missed is money. Ticky tacky is cheap and ubiquitous in your average dwelling in America.
It's also a useful tool for practising programmers as well!

The documentation for it isn't so great but Lean is a fully dependently typed programming language with a good VM. It is optimized for interactive theorem proving which means the type checker is really fast. I think getting a good native compiler out of it is not far off.
> Capitalism is the one system which has lifted more people out of poverty than any other

I often hear this, but is it really true?

The millions lifted from poverty in USSR and China, was not due to capitalism.
I reboot my phone once in a blue moon, but my phone reboots itself roughly every other day (usually because I space on charging it). Am I that unusual, or is "the phone is rarely going to reboot" not really a reliable predicate for attackers?
Cloudflare has made quiche, but I can't personally say that it's the go-to; I just haven't had direct experience enough. We'll just see how it all shakes out.
Combining the roof with the solar panels seems like a win.
A very large percentage of the cost of solar installation (50% last I checked) was labor. So when it's time to redo the roof on a house, you can also install solar panels. The interesting question is whether the panel lifecycle is the same as the roof lifecycle.
> The significance of what is being advertised doesn't exactly change the definition of right and wrong.

We are discussing legality and yes, what is being advertised has a significant impact. The rules around employment and housing are VERY different from the rules around makeup and viagra.

> The issue seems to be when people _exclude_ certain groups, rather than when people _target_ specific ones;

Nope, both are illegal (for protected classes) when it comes to housing and employment.
No, it's exactly not that.
About a week of work :-)
That's coming, for sure :-)
A combination of a lawyer and some minor touch-ups I've made over the years as things have changed.

Do you mind clarifying what you find brutal? I am very far from being a lawyer, so I just wanted to make sure I'm protected, which is why I contracted the work out in the first place.
Be careful if you're at work. There's already porn on this thing in some of the Imgur links.

I miss the late 90s when you had a lot of small, independent websites. Sure there was always a war against spammers and scripts, but I feel like you could find more independent content from individuals instead of these big link aggregation platforms (remember web-rings?)

There is more to think about today when making something that hosts other's content (or links to that content). I'm surprised ActivityPub networks (Mastodon, Pleroma, etc.) haven't had more issues with spam and bad actors.

When starting a project like this, I think a few small things authors should consider right off the bat: implement some Captcha (preferably an open source implementation that's not Google mandated tracking, if you can find something decent), for at least account creation .. maybe posts too. I'm not sure what Lobsters uses for spam testing/filtering, but it'd be worth looking at that and other projects for any quick solutions. Prismo (https://gitlab.com/prismosuite/prismo) also comes to mind.
I'm a 30M Indian, relocated to Canada about 5 years ago (when I was your age). I have Permanent Residence here but now moving back to India. The reason is absolute amount of savings and a better path to financial independence.

I wanted to live in a western country and command a higher salary. US was a no-go because of obvious visa issues, so went to the closest place which was Canada. I've been employed here for 5 years now, and definitely earned and saved a lot more than I used to back in India. But, as the years went by, I the downsides of living here started taking a toll like the brutal weather and lack of interesting opportunities. I continued traveling to India to visit family and was updated with the tech there. I now realize the job market in India has grown significantly and given the cost of living, you could effectively save the same amount at a good senior-level job position in Bangalore, Hyderabad etc. I have friends there who save more than I do in Toronto on a 200k CAD salary, with equivalent quality of life.

Sure, I could apply for citizenship, then go to the US on a TN but that's not going to make things easy either. For financial independence, what matters most to me are two things: absolute amount of money I can save/invest TODAY; and my physical health so that once I retire early I'm still in good health to do the things I want to. I could work in Silicon Valley, but if I lived a good healthy (mental and physical) life the amount of money saved will drop. I'd have to live like a miser given the CoL, something I'm not willing to do. I can live frugal but not like a miser.
I must also mention that I'm married now and planning kids in the next year or two. The cost of childcare will significantly affect my CoL if continued in Canada. This may not apply to you now, but could in the future. One more point: most of our vacation days are spent in traveling to India visiting family and we haven't actually had a vacation in 4 years.

I feel the tech scene in India is really booming and lots of interesting startups are coming up in Bangalore, Pune. Companies like Amazon are also expanding operations and hiring massively in Hyderabad while paying well.

I have already done the calculations and given my current offer in Hyderabad, it'll take me about 6-7 years to retire and 10-12 years if done in Canada.
I'd hop in my Millenium Falcon and start exploring the galaxy.
You say that, but I hear differently, from people with firsthand experience. My suspicion is that you believe Stallman doesn't harass people because you want it to be true, not because you honestly believe it is true.
Why should being aware of how lacking you are as a programmer have much bearing on whether you're good or not?

When I started programming seriously I had a mentor who gave me a long list of my shortcomings. It's taken years of hard, dedicated work to rectify most of those problems and I still have a huge distance to cover to be as good as I want to be.

Being a good programmer is a skillet acquired with hard, concentrated effort over time; not just a good attitude with some self-awareness.
If Windows also required code signing as a deterrent to malware being distributed, we'd see similar prices (depending on the code signing reseller, currently cheapest is $59/year for 3 years). Instead, we have a huge third-party antivirus market that only deals with malware after the fact. Notarization is Apple's approach to pre-screening applications and will certainly be constantly improving its detection.
Yes, it is theoretically possible to create backdoors that are hard or impossible to detect, if you start 20 years ago and subvert the standards used by the entire industry.

An improvement in security and privacy isn't limited to "make it impossible, even theoretically, for anything bad to ever happen OR you've accomplished nothing". Most back doors aren't inserted by competent NSA-level actors 20 years in advance. Most are "whenever a message passes through, send a copy to this third party". They are inserted by court order for a specific case due to the government becoming interested late in the game due to a specific case. For example, when terrorists start using some secure email service, the government tries to force the service to allow them to snoop on the relevant conversations. Open sourcing the code would allow you (with the help of the community) to detect these sorts of attempts when the product involves end-to-end encryption.

So while having the source and a community auditing changes to that source doesn't prevent every possible attack against your privacy, it prevents almost every one that is plausibly detectable, which is literally as good as you can do.
It is also terrible advice in regards to Energy consumption
Ask HN: How to be honest on a resume/job interview with a poor job history?
I got a CS degree in 2011 and I've been trying get my CS career started since then. Unfortunately, my job history has been patchy to say the least. I average about 3 months per company with gaps in between. Obviously, this doesn't look great on a resume and I'm often asked why this is at job interviews. I don't really have a good answer for this. I just find work very overwhelming to the point where I quit. I try to grit my teeth and get through it as much as possible but I always feel like I'm at my ultimate limit. Is it worth coming clean about this in a job interview? How can I present this information without being dishonest?
I spend at least two hours a day on personal projects, for the pleasure and the challenge. They just have nothing to do with programming or software engineering, i.e. my job.
https://lmgtfy.com/?q=%22donated+money+to+King%27s+cause+or+...