skysight-inc/HackerNews huggingface dataset:
Badly formatted code is hardly a true form of tech debt. Especially considering all the automatic tools like prettier out there today.

Tech debt is getting a feature out there, asap by creating work around that normally would require some refactoring.

In a lot of cases, it is forgoing optimization. We have several places in our app where we need to refactor some of our database tables in order to properly join the data and get it in an efficient manner.

But that will take a few days of refactoring and testing so instead, we just query the missing data in a subquery 200 times or whatever.

For now, it works fine, but as the dataset grows, that will obviously become slow and expensive.

But by then, we will have more customers and more budget and hopefully more developers that we can afford to refactor that code.

If we had unlimited time and resources, sure, go ahead and refactor your entire codebase every time you add a feature.

You'll build an amazing company, assuming your customers pay you based on how awesome the source code is, rather than what it can do for them right now.
MON
https://www.youtube.com/watch?v=e7PxzgfXQvg&list=PLobC7gO3zo...

WED
https://www.youtube.com/watch?v=IPW6VRZXFic&list=PLobC7gO3zo...

FRI
https://www.youtube.com/watch?v=ca7q8xFYTEY&list=PLobC7gO3zo...

for yoga - https://bit.ly/2KghBRI at yoga at home section
What's the difference between their treatment protocols and everyone else's?

It's mind boggling anyone has to ask now this has been going on so long but here goes.

1) They had an approach plan beforehand because they had observed the previous SARS epidemic and took the danger seriously.

2) They had "quarantine hotels" freely available for those who were positive to prevent them from infecting others. (Seattle has a few of these, I've heard but they aren't widespread in the US. The idea of housing people freely is anethema to the US.)

3) They did testing early and often.

4) Their doctors and nurses worked with full PPEs, full anti-contamination suits, so they didn't themselves massively spread the illness.

5) They reserved hospitals specifically for the epidemic and had protocols for sending people to these hotel.

6) They had drive through testing and other testing easily and freely available (the US plan of profiting from testing is just so "I can't even").

7) They did systematic contact tracing with an app for people to discover where infectious people had been.

8) They did social distancing with mask from the start.

-- The US had literally done NONE of this. What the US has done is last-ditch efforts by states after the ostensibly responsible parties (the CDC etc) failed massively. And the Federal government is now literally sabotaging the states.
These issues have not been a problem for me, converting 500KLOC codebase with lots of STL from Win32 to Qt.
Deleting is definitely the feature I'd most like to have.

I don't generally love the idea of taking over right click behavior, but I've pushed out a patch to allow removing elements using right click. This is an admittedly poor solution (especially for lines, as they are very small click targets). Hopefully I'll have a chance to develop a more robust way to delete elements such as the box method that you described.
I don’t think your point is germane to the article, but to support it nonetheless:

I love to hire folks, even new graduates, who did the CC-to-UC track, and am sorry than many are embarrassed about it. They tend to have better focus and be more fun to work with.

I have a couple of friends who teach at CC in the Bay Area, one of whom was previously an assistant prof at Stanford for a couple of years.* They both have told me that they like the CC Because the students want to be there, do their homework, and want to learn. I remember as a TA that many Stanford students didn’t seem all that dedicated to doing their homework unless it counted in the grade, though all of them were smart and interesting.

* I believe Stanford didn’t value his contributions and encouraged him to seek alternative employment. This was a long time ago.
Fully-Remote Amateur Radio License Exam Administration
I took the best case scenario: all tested become immune for ever. If you want add a 3x factor for unreported cases and you're still at 10 years waiting time.

Estimates make sense, especially if they proof your point even if you are off by a factor of 10.
I fight for both market rate and subsidized housing in high-opportunity cities because it's the easiest way to life people out of poverty.

Being able to live near high-income jobs is the most direct path to the middle class in America. If we want people to not live in poverty, then it makes sense to subsidize their access to opportunity. That means subsidizing education and housing.

I've had fun nights talking with friends about starting a city. It's really fun to think about how we'd design the city to maximize opportunity, but there's no getting away from the value an existing city provides. Fixing a city with already high opportunity is just fundamentally cheaper than starting a city from scratch. All we need to do is win a few elections -- we're talking less than $100MM. A new city that is aiming to compete is a $100B+ project.

As engineers we often think the best way to fix something is to build a new version. But this is rarely true in institutions. Think of governments as legacy systems: they've been built up over time and have a ton of hacks keeping it running. Think of Spolsky's generally good advice: "Don't rewrite code" https://www.joelonsoftware.com/2000/04/06/things-you-should-...

It is easier to fix an old and broken system than to replace it wholesale. Let's focus on fixing government instead of replacing it.
Haha one step at a time. First I need to finish this final round of reviews and edits to get this manuscript out the door!
"Playing hardball" does not require Google to abandon Australian customers, it just requires Google to have special treatment for Australian media sites - not providing any snippets from these sites, prioritizing all other sites when possible (so Australian sites only show up in searches for local news, and not on e.g. lifestyle articles) and of course they can simply not show any ads on the (very small portion) of the searches linking to Australian news sites, so that they get a percentage of $0.

I think the media conglomerates overestimate their importance to Australian customers - for countries like France there's a language barrier, but the vast, vast majority of searches by Australians can be served well without needing any content from the Australian news companies. If linking to your content is expensive, and linking to other content is cheap, then it's perfectly reasonable and generally legal to prefer cheap sources whenever possible.
It's a very custom solution.

For Bash, in ~/.bashrc:

export PROMPT_COMMAND="myLocalHistory"

# we don't need everything within the history
alias useHistory='grep -E -v "^ls$|^ll$|^l$|^dir$|^cd |^bg$|^fg$|^qstat |^note |^mutt|^std|^clear$|^qinfo$|^gh|^qw$" | wc -l'

function myLocalHistory()
{
HISTORYLINE=`history | tail -1 | sed 's:^ *[0-9]* *::g'`
if [ `echo $HISTORYLINE | useHistory` == 1 ] ; then
((date +%F.%H-%M-%S | tr -d '\n' ; echo " $HISTORYLINE") >>.history.$USER) 2>/dev/null
fi
}

For ZSH, in ~/.zshrc:

preexec () {
~/dotfiles/system-tools/helpers/local-history-add.py $1 >/dev/null
}

For Fish, in ~/.config/fish/config.fish:

function fish_preexec --on-event fish_preexec
~/dotfiles/system-tools/helpers/local-history-add.py $argv &
end

The script local-history-add.py is here: https://github.com/albertz/helpers/blob/master/local-history...

The Bash solution probably could also be simplified by using this script, which takes care of filtering logic and adding it to the history file, in your preferred format.
You can all that with a helix or axed if you’re going to mindlessly slave everything to a master track. All straightforward midi.

Except those all have pedalboards so you can do it all with your feet while playing if you are actually creating anything.

I’m still confused why you think all this total automation is a good thing. It’s like selling a sewing machine that only works with premade patterns.
Can you elaborate? Source code to GUN is right here: https://github.com/amark/gun/tree/master/src
More and more poor people who do jobs to serve the rich will definitely have no choice but to go back to work despite the disproportionate risk they take on due to their lack of adequate health care and prevalence of preexisting conditions.

I doubt you will see the ruling class rubbing elbows with the plebs again until there is a vaccine, or at least very comprehensive therapeutics available.
Rust version is faster and in active development.

https://github.com/cberner/raptorq

https://www.cberner.com/2019/03/30/raptorq-rfc6330-rust-opti...
GM will effectively end sales once they wind down the Holden brand over the next year.
I don't think it's a many tens of millions of dollars proposition. It was about 45 minutes of my time to get it deployed on my zones, tested, automated, and then installed by my registrar.. and it's been reliable for 3 years since. I understand the tooling is better now, too, so some of the crap I fiddled with is probably not necessary anymore. And it's even mechanized entirely for you if you use Cloudflare DNS, etc.
>What makes you think that FB/G don't have the power here?

They also risk losing that entire market as well. Let's be honest, nobody loves F or G. If a decent competitor stands up people will gladly switch, even more if they market it as "by Australians for Australians".

SV companies are big and great and all that, but to think they are above state jurisdictions is delusional.
Consumer Ed home economics is not how you learn about supply chain works from farm gate to retail.
Generating Random Floating-Point Numbers by Dividing Integers: A Case Study
That's cool, but it would be only useful for a single image, such a displaying a recipe.
No. TLS is a many-tens-of-millions proposition, demonstrably so, and TLS is easier than DNSSEC. You're intuiting global cost from a single extremely simple test case; I think you're mistaken both about the multiplicand and the multiplier.

Further evidence on this is easily obtained both from survey papers that collect DNSSEC misconfiguration statistics (they're hilarious) and from the IANIX collection; many of the organizations IANIX notes are extraordinarily clueful operators.

I'm right about this. It's feasible to get DNSSEC deployed globally (it would be a catastrophe, but we indeed have the tools to make that catastrophe happen). But it would be very, very expensive.

This has been a fun thread, but we are way into the right margin now and are probably the only two people reading it, so I suggest we tie it off at whatever your next response is.
Gas stations here in Norway haven't primarily been about selling gas for quite a while, and most want to continue to get people to buy hot dogs, hamburgers, sodas and candy in the future. So they're installing fast chargers as well...
> , if you mainly just need the sheepskin, this might be an unusually easy time to get one.

It’s a good point: this year and next will have an unusually high percentage of pass/fail options, but networking will be quite restricted.
If you don't want them to index your content and send you free traffic, you can already specify that in your robots.txt; for free.
https://en.wikipedia.org/wiki/Robots_exclusion_standard

There are no ads on Google News.

There is an apparent glut of online news: supply exceeds demand and so the price has fallen.
Thank you for your donations! All of my work is in a volunteer capacity, so your donations help pay for our office space, pay for the few full-time staff we employee, and fund outreach, education, and direct advocacy to move municipalities in our direction.

Your summary is correct. Most of our donations are small dollar from individuals. A few people donate more, and that's because they agree with what we're doing and they have the means to contribute. We're grateful for all support, and donations never influence any of our decisions about what to advocate for.
Even as someone who isn't blind, I think popularizing more screenless tools (or even tools with just fewer visuals) could be useful for the dev community as a whole. My eye strain is getting especially bad now that we're in quarantine since I'm sitting in front of a monitor nearly the entire day.

Hope to see some cool suggestions, tools, and software posted in this thread!
Not looking forward to it. That would be dismal entertainment.
Is this a discussion site anymore? Or just a circle of mindless yes men?
Thank you for your explanation & links, much appreciated.
Probably better off on the street in the open air, than a 'shelter' full of asymptomatic COVID cases...
There's fair amount of useful information here https://news.ycombinator.com/item?id=18522497
One thing to consider is to write a blog on accessibility - it’ll help expose issues to those who develop developer tools which is great but it’ll also help you get exposure for getting work.
I am by no means rich by Hacker News standards, and I live a very modest life in a modest home. The money I do have, I use on a personal assistant, housecleaning services, a nanny, and other things that allow me to be as productive as possible at work so when I'm at home, I can maximize family time with the kids and my partner.

I very much believe in the ego depletion theory (though I know, it's not been reproduced) - the more choices I have to make in a sub-arena, the more fatigued I get, and the lower self-control I have. I've just admitted to myself that I am poor at time management, so I've outsourced a lot of things to my personal assistant (whom I would never hire in the past given my income bracket). We have a housecleaner service despite the fact that I'm perfectly capable of cleaning the house, but in doing so I just pile up more tasks that I really don't want to do.

I've had these discussions with other people in my income bracket who say they can't afford to get help around the house, but they drive Teslas, have super nice clothes, buy expensive TVs / electronics, eat out a lot, go on posh vacations... it's about what you prioritize your money towards. I spend a huge amount of my money on my family and their needs, and I want for very little in my personal life.

I see it this way: I'm an entrepreneur, getting to do my thing. That's enough for me. I don't need nice stuff or to go to foreign lands; all the clothes I wear are free from vendors or cheaply purchased at Old Navy / Goodwill / etc. My family emotionally supports my self-employment, which is more than anyone can ask for in this life. They deserve everything else.
But if you disable Thunderbolt in the UEFI interface macOS can't re-enable it, can it?
feel like we discussed this here before and it was a different country (france?)

so the issues is using content in google news or in snippets shown in google search results. i commented before that i seldom leave news or the main search anymore because of these snippets.

why isn't it fair that the ads revenue is shared with these news publishers if their content is taken?
This inspired me to start doing this myself. I made a start here: https://github.com/simonw/til
Kiwi here, I belive this is either snake oil or a conceptual idea rather than a product. The media are touting it as credit card sized device, but with a battery it would need to be much thicker.

Here in lockdown we are allowed to go for a walk or cycle. Potentially this card could register thousands of contacts.
Thanks for the information. I'm a SW developer but I also do semi-professional photo editing sometimes (so Docker, VMs and Adobe products needs to work for me). Now I know in which direction I need to look for!
As of April 17, in the age group of 15-24, 13 deaths were attributable to COVID-19, 37 to influenza.

https://www.cdc.gov/nchs/nvss/vsrr/COVID19/

If you are a college student the risk of dying of alcohol poisoning is higher than of COVID-19.
No one HAS to build those services. The services Google and FB provide are 100% nonessential to successful society.

Correct me if I'm wrong, but alternatives already exist for both.
They’re simply not capable of such things. The government fails to grasp technology entirely, passes technically impossible bills and destroys even the good things it creates (ftth is now fttn).

While there’s some precedents with piracy website DNS entries removed from ISP dns, I doubt the gov would want to pick a fight with a multi billion (trillion?) dollar company who would actually fight back.
Because sometimes you find an article on hacker news that you didn't search for but did stumble upon. Then you can't search for it because you weren't searching for it in the first place.
Original Content podcast: ‘Devs’ asks unsettling questions about free will
Qualcomm didn't invest Raptor codes (they bought out the earlier LT codes, which apparently are still patent protected[1]) so it's still somewhat a concern.

[1] https://patents.google.com/patent/US7139960B2/en
Google Birinci – Google Birinci
It's fantastic food for search engines. I write a lot online, and a few times a year I'll type something into Google and find the answer in something I wrote years ago and forgot about!
most Australian news outlets are 100% non essential click bait trash, too.
Hive GC overhead limit exceeded
Can i run 3 screens if the gpu has enough outputs? I mean will it work as it would if it was not vm?
This article looks like it's part of the genre of "act like an authority on fact while giving a slanted view of reality that confirms my own opinions" literature that seems more and more popular nowadays.

Just because you think you're including a "liberal point of view" (the author leans right) doesn't mean both sides are really covered. Especially when you call that point of view "a scaremongering campaign from a biased “liberal” media" as the author does. Or... sorry, he says that "others" are calling it that. Which I guess means he can wash his hands of that politically charged statement.

I have to wonder if authors like this are actually trying to deceive their audience or if they genuinely believe that "the other side" follows the arguments they lay out. It feels like the author's version of democrats is what my crazy uncle would say they are and his only interaction with liberal ideas are from people making fun of them on his facebook feed.

Edit: I don't want this comment to come off as too angry, but I've been seeing more and more of this brand of "intellectualism" and it's been making me frustrated. I just wish that people would fairly represent their opponent and not pretend that their version of what's going on is unbiased.
> Never does he predict that 1% will be infected.

But he uses exactly this in his argument, in the same paragraph: "If we had not known about a new virus out there, and had not checked individuals with PCR tests, the number of total deaths due to “influenza-like illness” would not seem unusual this year. At most, we might have casually noted that flu this season seems to be a bit worse than average."

Then later: "Some worry that the 68 deaths from Covid-19 in the U.S. as of March 16 will increase exponentially to 680, 6,800, 68,000, 680,000 … along with similar catastrophic patterns around the globe. Is that a realistic scenario, or bad science fiction?"

Then he claims that "The most valuable piece of information for answering those questions would be to know the current prevalence of the infection in a random sample of a population"

But I claim he already had, at the moment he wrote that article, much better data than that already available: specifically, that all the statistics everybody could find even in the Wikipedia already gave much more information that he claimed has to be obtained by "a random sample of a population."

One can evaluate "how random" all already known cases, at the time he wrote the article, were. But also one can evaluate, if these known cases, even if they weren't random, were actually saying more, not less, by the nature the numbers were obtained.

And that was exactly the case: time and again, in country after country, the statistics included much more people than the small randomness based study would include, and it gave reasonable estimates about both the speed of the spread and percentage of the people affected.

His argument was not based on analyzing already available data, but on "not knowing" by *refusing to even look at the already available data.

Which is fraudulent, ignorant or both. But there were some big names doing exactly the same, exactly at the time he published that article. So his article was just political, not scientific at all.
"I think it’s too early to judge success."

Uh really?

South Korea suppressed an epidemic and strengthened the tools they had for suppressing epidemics, maintaining economic strength and social cohesion.

How are they not best position in the stage of managing the epidemic (the appropriate term used by the ggp).

Oh, I know one really bad answer people are ready with - they didn't let the virus burn through their population to acquire herd immunity. The degree to which any other approach is going to leave a society ready to deal with new waves of this seems really, really low. Certainly, current US events aren't preparing for any future crisis.
Biggest advice, start programming with your monitor covered up by a sheet or turned off now while you still have the option to turn it back on to figure out what you just did.

Gradually have it turned off for longer periods without turning it on to see what's happening until you can do it without seeing it at all.
> but no one shut down travel from Europe during March. Biggest mistake ever

The USA did shut their border to a lot of Europe in early March. But at the time the WHO opposed border closure.
> You can call these tutorials "wrong"

I don't know who you're quoting there, but it isn't me! I said C "does not support" it. And it doesn't!

> Section 6.3.2.3 of the C standard indicates it is implementation defined

Yes... and how does the implementation tells it defines it?

If you check the GCC documentation you'll find they don't commit to doing anything when you cast an integer to a pointer and then use it. They deliberately leave it undefined themselves. It could do absolutely anything. And not necessarily what you think it should based on existing code and online tutorials.

If I was reviewing your code that did this, and I asked you "how do you know that this will work as you expect", you'd have nothing to stand on to back it up! You'd just be able to say "well everyone assumes it works". That's not good engineering!

I know it's a common pattern to use. But who is supporting that it will work? Not the C language spec. Not the compiler documentation. It's not supported by anyone. Hence, "does not support it".

Make sense now?
Cloud Bigtable is eventually consistent, Spanner is strongly consistent.
I'm very sorry to hear that.

I'm not sure where you're based, but I've heard of Usher's Syndrome after hearing a talk from someone named Molly Watt, who also has Usher's Syndrome. It might be worth dropping her a line, as in her line of work she might be able to either give some advice, or point you towards someone in your situation that can help.

https://www.mollywatt.com/
Hey, there you have a few references that could be of some help!

Google: https://www.businessinsider.com/how-blind-google-engineer-wr...

Visual Studio: https://www.youtube.com/watch?v=94swlF55tVc

Forzano (Amazon) https://www.youtube.com/watch?v=57P_dCEPtRw, https://blog.aboutamazon.com/working-at-amazon/blind-since-b...

Wishing you the best, J
Show HN: Graphic Design bot for IG – example Shopify site
Even in vulnerable groups, the case fatality rate doesn't seem high enough that it would make a big impact in future statistics for that reason (probably bigger impact through lasting behavioral changes.)