skysight-inc/HackerNews huggingface dataset:
What are some good resources to learn about debugging patterns and tips/tricks? My preferred language, Julia, recently introduced a nice set of tools related to debugging. I feel like there's probably things that would make me more productive but I think the techniques would be more broadly applicable than a specific language.
From my 9 years working in Microsoft China, I think Lenovo, Microsoft, and China all have a very good relationship. I’d be very surprised if Microsoft took action against Lenovo, I would be astounded if they went anywhere near where the Chinese government would admonish them.
And do what with the CO2? Burning coal releases a lot of it.
Setting Up a Next.js Docker Image and Deploying to ECR
Forgive me for getting angry at the wilful ignorance of so many useful idiots. I'm just kinda done with being "nice". Over a decade of vetted, verifiable leaks exposing the unbridled evil of the US military-industrial complex, and most Americans are just as lazy and stupid and cowed as ever. Wikileaks releases video of American helicopter pilots laughing while they gun down journalists, and Americans shrug.

So let me get banned for speaking my piece in a disrespectful manner. I welcome it. Frankly, if I could find a "delete my account" button, I'd hit it in a heartbeat. Sheep, the whole goddamn lot of you.
Huawei's software development practices seem quite horrifying. Critical systems like these ideally would be written in specially-designed programming languages that support mathematically proving correctness (Coq comes to mind). There's probably still room in the programming language design field to create new languages that are user-friendly but also integrate Coq-like systems plus other verifiability and correctness techniques into the language itself.
I'm also occasionally using Docker t generate build artifacts (so +1 for that) - how do you pull the built blob out of the image? I've used `docker exec` plus `docker cp`, but it feels a little clunky.
Well, maybe not "Relationships with intense difficulty", but it's a very common and very naive assumption that the perfect person for you will "just work" and there will be no fights and no difficulty. Loving someone is a lot of hard work - and it's extremely rewarding. Teenage relationships where everything "just works" and everyone is in bliss tend to end with a lot of tears.

Anyways, yes, it's not a set-in-stone rule - but typically, anything that's extremely easy also has a disappointing side. The best stuff in life takes work.
I'm not saying that memes have no impact, I'm saying that Memetics have no impact. As in, the scholarly academic study of memes. Obviously memes have had an enormous impact on everything ever since the first cavemen invented the art of grunting and pointing at things. As for Memetics having an impact, well, that would be like a professor of theoretical musicology releasing a #1 charting pop album.
What if we were able to have our receipts sent and associated with our credit card transactions auto magically. Then we could openly export and perform our own analysis using that information.
Agreed - I have Raynaud syndrome, which is fortunately entirely manageable by keeping my core temp up, and wearing warm mittens when it's cold: https://www.blackdiamondequipment.com/en_CA/ski-gloves/super...

Any control in my car that I can't operate while wearing those mitts is essentially useless to me.
> Since git uses content-based addressing, you can't actually alter any commit, only create new ones. And orphaned commits don't get garbage collected for like 30 days even if you explicitly tell git to clean things up. So, the original stuff will still be there. It might just not be obvious how to access it.

SmartGit does a splendid job with this. In the Log window where you see all your commits and how they are related to each other, there is a Recyclable Commits checkbox. Turn that on and everything in the reflog shows up in the log tree, just as if it were any ordinary commit. You can right click one of these commits and add a branch there, or do any of the other operations you can do in the commit log window.

Same thing for stashes. Did you know they are just commits too? I didn't, until I clicked one of the stash checkboxes in SmartGit. Then the stash showed up in the tree just like any other commit.

I don't understand why so many developers are resistant to the idea of using a powerful Git GUI like SmartGit. For me it is like having a superpower compared to the meager options the Git command line gives you.

Even if you like the command line, it's not like you have to choose one or the other. You can use SmartGit and the Git command line, whichever makes any task easier for you.
The 3rd world also releases a lot less air pollution than the west. (I'm not including countries like China, which really shouldn't be considered "third world"). On the whole, rich people tend to release more pollution than poor people.

And honestly, this is all beside the point--we can talk until we're blue in the face but who can afford to pay for climate change mitigation, but at the end of the day, someone has to do it, or we're all going to be much, much worse off than we are today, rich and poor.
Do you really think people are using alt accounts (a pain to get enough karma to allow downvoting on here) or could it just be they disagree with you making claims that aren't in the article?

It doesn't say anything about Musk's rationale.
Where are you located? Maybe open up the job search wider and be prepared to move to a place where devs are desperately needed and your chances are better.

Also get your CV looked at by people who know what to look for. It might need a spruce up. Make sure it sells you well.

Get a good cv, get to a good city and apply for every good job you can see. You need a good system then of qualification, deciding which leads to prioritise, bullshit detection, dealing with recruiters etc, so come up with one and continually improve it. Use any waiting time to learn standard interview answers both technical and behaviourial and coding puzzles.

In your situation you must be seen as super keen on every job regardless of what you feel. Get offers. If they say is it ok that you work 60h a week the answer is yes. You can reject them later but get offers. Really think of it as a sales job to get the coding job.
Lenovo already makes the Mirage Solo and the Rift S 6Dof headsets. This isn't their first rodeo.
NATS is a solution I have used in the past that supports Request/Reply semantics (I actually really enjoyed NATS). I am not sure Kinesis fits the traditional mold of a "message bus", but it certainly can be used as such, and I have used it as a message broker extensively. Kinesis with its tight integration with lambda can be trivially modified to add Request/Reply semantics with a lambda, but I will concede your point Kinesis is designed to be many ways in and one way out.
Fantastic! This fascinates me how you have reversed engineered a cheap camera to make it fit for purpose and shared your work. It could have applications in low budget computer vision projects. I am researching global shutter cameras now. Thinking Sony IMX264. Quite expensive in a enclosure from Flir or Lucid. Do you know what sort of FPS you could record? Dynamic range? QE etc.
In case there are no repos with exactly 1337 stars, you can show the nearest subsets, like 1336 and 1338.
The public at large had a chance to know they're knee deep in decisions that might cause lawsuits. So, that's probably well-known. Two examples:

https://en.wikipedia.org/wiki/Agent_Orange

https://www.youtube.com/watch?v=eZkDikRLQrw

If anything, I'm only surprised something hasn't happened sooner. And then a bunch more times given the size of their product portfolio.
It's also trivially easy to extend this to Kinesis with a lambda.
Also, the effects of space travel were barely known then. Even today we have little idea what actually happens to the human body when it's in space; only a few weeks ago, NASA published the results of the first twin study on space travel and had a lot of new and interesting findings. In the 1960's we knew even less, and given an abundance of caution, it's probably safest not to recover a crew of astronauts from the Moon and then immediately send them back to the Moon.
This begs the question, what would the cost of 95% carbon neutral be?

(We absolutely need to pay for it regardless, but it's still worth knowing these numbers, if only for planning.)
Thanks for the downvote whoever it was. History is not going to be kind to those unaware of basic facts however, in this case the fact that the Assange case was re-opened in 2010 on the basis of fabricated evidence:

https://www.smh.com.au/world/no-assange-dna-on-torn-condom--...

https://www.rt.com/news/assange-condom-no-dna-277/

Assume that people can get their hands on the UK high court ruling. It takes only a bit of reading to confirm the complete accuracy of the statements above.
> That is done through rational and logical debate... So when you say that I’m inviting people for a debate I have to agree. After all, isn’t that the purpose of a public forum?

This is what you'd like from this forum. Actually, political debates are not what I'm here for even though I participate sometimes.

> If we can’t go deep and have meaningful discussions what’s the point?

You're not really entitled to a sympathetic audience here. Nor is it necessarily obvious that you're debating.

> Just do some virtue signaling and bash whoever is the person we are bashing this time?

If you're mad that humans tend to influence one another, why are you here? Does it not infuriate you?

And what is virtue signaling if not this very post you've written, trying to appeal to a Hitchens-ian notion that only through debate of your style and terms can we reach truth. You're constantly reminding people of the importance of debating you foe the sake of the public forum and talking about "profecy" that no coward dares to debate you. Is that not itself a kind of virtue signaling?

> I’m just pointing out the fact that people are being “deplatformized” arbitrarily and I don’t agree with that.

The guy literally went to court, swore and oath to tell the truth, and told the court his entire show was an act to sell soy supplements. He's not news, he's not a content creator, he's a weird surrealist advertiser of postmodernist medical products. Advertisers don't get free rides, they have to pay.
I find GCC compile times to be unnoticeable and perfectly usable as a scripting language, certainly competitive with the startup time of many scripting languages. By the time you're getting to noticable compile times your well into "this should be a proper project" territory, but everything from small scripts to simple GUI programs compile quickly. I wrote my own shebang scripts but there's a more full featured implementation here: https://github.com/RhysU/c99sh
https://en.wiktionary.org/wiki/per_se
I’m not sure if I count as self taught or not since I first learned programming outside of formal education, only later getting a degree in IT (for which I really didn’t learn anything new except graph theory). But we never talked about queues in school, in fact I only learned about them when I started working professionally. If you want to be exposed to all kinds of interesting problems, I would suggest working at some mid-stage startup (i.e. around the B or C rounds).

They’ll be starting to get in good people who are fixing up the mess the early employees made* and can help you learn why certain patterns are anti-patterns and how to fix them. At this stage they’re still small enough that if you pay attention, you can just learn by paying attention to what everyone else is working on.

* Before you downvote me I’ve contracted for pre-seed startups, am currently working at a seed stage startup and have been at companies all the way from a series A to a series E. So yeah I’ve been the one making a mess (because of the whole minimum part of MVP) and cleaning up said mess.
My experience has been quite different. True that some of the most technically skilled programmers I know of had no degree, but the polished ones, the ones I find easier to work with, tend to have one. Further it's pretty easy for me to tell if a person's degree was a CS degree or not just by talking to someone about the problems they have and how such problems might be solved with code.

That's not to say it's required; some of the best professionals I know have non-CS degrees (one in fine art -- painting) or no degree. But if you're still young, I submit that a CS degree is totally worth your time.
Theres also the hypothesis that genetics for height correlate with genetics for being a strong leader.

Maybe one day an intelligent AI can tell us how our bodys work so we can stop the guessing game.
> Or to be in that tiny little shuttle orbiting around the moon at what is essentially the height of an airplane flying across the ocean.

Minor correction: the lander was not "orbiting" the moon, the command module was.
Nope. Ctrl-A and Ctrl-E both give the failed match (rather than what I typed). I'm not sure if there's a way to do what I want.
The left-wing bias in comment shadow-censorship.

I don't think it can be fixed.
Getting a raise from an adequate salary to a great one made it possible to move to the city and eliminate my commute, buying me more hours and energy for exercise and lower-friction access to my friends.

Money buys urban real estate, and urban real estate buys happiness.
If you find that horrifying, don't look at Cisco CVEs ;)
The title has been modified.

WhatsApp voice calls used to inject Israeli spyware on phones
Automation means some people are richer (mostly the machine sellers and end-consumers), with more to trade for the products of some other kind of job.

People create new jobs about as fast as they destroy old ones, and that has little relation to the kind of jobs and technology involved. There are some second-order factors that create the bad kinds of unemployment, but the ones that currently are relevant have little relation to automation.

That's not saying that automation unemployed can not become relevant. It certainly can, and has done so a few times in history, with results varying from bad to disastrous. I'm just saying that job creation and destruction aren't different phenomena, and you delude yourself if you think somebody can study one without also studying the other.
I'd be curious to see how this trend holds up among the various blue-collar careers. My parents were commercial fishermen and they wanted me to get as far away from fishing as possible.
Let’s not forget that these were all very complicated missions and not duplicative. It would be nearly impossible to train for two at once, and do it well. Too disfocussing.
Chris Hadfield told a good story about "going blind in space" in his TED talk:
https://www.youtube.com/watch?v=Zo62S0ulqhA&t=31s
OT, but scroll down with “showdead” and it should become apparent exactly why. It is HN trying to promote substantive discussion on the topic without devolving into flame war.
> - The consumer needs to validate the incoming requests. Just like any input sources, the incoming data cannot be trusted until validated.

That's correct. And the producer will be long gone by the time the consumer attempts to validate that message and rejects it.
South Korea's latest big export: Jobless college graduates
Twitter bug disclosed some users’ location data to an unnamed partner
Every Apollo mission had a primary crew and a backup crew (which was usually also the primary crew of a future mission). Apollo 13 famously swapped one of their primary crew, Ken Mattingly, for backup Jack Swigert because of a risk that Mattingly had contracted rubella. Mattingly was in good health, however, which allowed him to help NASA figure out how to keep the astronauts alive after the failure of the service module.
No, that's "a bad batch."

The issue here (as a sibling post points out) is QA.
Ah, let me restate the question: suppose the user has clicked a button to approve sending 5,000 emails; the server process puts 2,000 messages onto a queue for later processing--but then, something occurs to interrupt adding the remaining 3,000 messages to the queue.

Presuming the queue doesn't support any transactionality beyond per-message, and optionally supposing a queue consumer has already started sending some of these emails, how do you recover from the fault and help the user send the rest of the email (without duplicating outbound email)?
Maybe environmental and retirement liabilities should be treated like student loans so you can't escape from them in bankruptcy?
SOME hedge funds consider this a win. Others think it is an error in the legal system which should be fixed as a matter of good public policy.
That is an amazing article.
Low level unix tools. Learning how to read a file, tail a file as it grows (like a logfile), or look at just the beginning, or just the number of lines in the file, or merge a bunch of files into one, etc...

How to get a file from one machine to another with scp. How to use more advanced features of SSH like agents, forwarding, your config file, SOCKS proxying, etc..., How to debug system issues, find where config files should be, find out why your app wont compile. Learn how to install code from source, using configure and make. Learn how to operate your own basic network services like HTTP servers, mail servers, local file sharing with NFS or SMB, etc...
Hmm, I agree the article was uninspiring.

I looked into the course a bit more though and one of the first lectures addresses this preconception people seem to go into the course with in what the professor calls the "GI Joe Fallacy." She refers to it as "this mistaken idea that knowing is half the battle."

There will undoubtedly be behavioral practices or studies in positive psychology you may have come across before, but there is a difference in knowing those things vs. putting them to use through conscious, habitual effort.

I can't speak to how good the course is on that type of learned discipline, but it might be worth another go if you were interested enough to read the article.
Privacy Possum Is Privacy Badger on Steroids (2018)
>The company with the "suave" CEO is likely building revenue as a result of sales and people charisma rather than core innovation.

Yes, because tall people can't have good products too...?
>There's no story of "ecosystem damage" where there is no ecosystem in the first place.

There's also no story of humanity where there is no ecosystem in the first place.

I think the hazard isn't in stomping on an exo-Earth ecosystem.

I think it's that if we can't avoid damage to multi-billion year evolved, robust ecosystems on our home planet, we might not successfully craft off-planet ecosystems that will sustain us indefinitely.
I'm sure bazel is a good tool when it is used properly, but as a greenhorn in the tech field, the constant version mismatching between bazel and tensorflow can become quite the pain when you have to build tensorflow from source.
There is a reason we have expressions like "Good Time Charlie."

Relationships based solely on shallow, easy and fun experiences tend to be weak relationships that aren't likely to withstand the inevitable storms of life.

On the one hand, you don't want the person to be the primary source of trouble in your life. On the other hand, if there isn't some kind of inherent friction, the odds are good that everything will fall apart at the first strong wind, so to speak.

Strong relationships tend to be relationships where the personal bond is sufficient to withstand some stress. This is very often due in part to inherent friction within the relationship.

People who need to work at it and actually do tend to have stronger relationships than those with so-called chemistry. Relationships that "start with a bang" often soon end with one.
Without government intervention there would be no law, there would only be anarchy and the law of the biggest and brutest. It would be Wild West all over again. Wild West of course is great for the fastest and biggest gun in town but less so for everybody else. I can already hear the fastest gun in town declaring "NO GOVERNMENT INTERVENTION !!!"
Are there any proposals for making this possible on the required scale in an economical way? I don't think so.
Picking things is surprisingly hard. It will by automated at some point, but it may be one of the last jobs to disappear from warehouses.
Anywhere, and in one of a dozen formats.
The mission details were quite different so there would have been no time for training. In addition they tried to rotate the crews and not rely on a few people.
This is indeed the elephant in the room. All app developers, except spotify, are too terrified to directly confront with Apple. That's the chilling effect of a true monopoly.
Clone Medium on Node.js and React.js
Right - the recce proved a fresh team could reach the moon. So that's what they did - sent a fresh team to the moon. Sending a team back to the moon would have been something untested.
China Hits Back in Trade War With US
That makes saying how many current dollars a guilder is pointless. Candles have gotten way cheaper, but land around Amsterdam much more expensive. IMO the only sensible comparison is how much time it took for an average tradesman to make X amount of money.
Facebook to Raise Pay for Thousands of Contract Workers and Content Moderators
Sorry, I assumed you were talking about the article.
It's my impression that common implementations of BLAS have fortran at the core because fortran (moreso than C) lends itself to automatic vectorization.
I've seen this same effect a lot when talking about Teslas. Any failure on their part is instantly chalked up to alleged poor practices, laziness, and general lack of care or professionalism, whereas an identical failure on the part of an established manufacturer is shrugged off as "oh well, sometimes parts fail."

(Take the issue with fires, for instance - Teslas catch fire far less frequently than conventional cars, but every time it happens it's global front-page news.)
Capture it and bury it underground turning it into rock

https://phys.org/news/2019-05-iceland-carbon-dioxide-cleaner...

Capture it and convert it to fuel
https://phys.org/news/2018-10-catalyst-door-carbon-dioxide-c...

Capture it and convert it to plastics
https://phys.org/news/2018-11-co2-ingredients-fuel-plastics-...

etc...
Random observation that might be related. If you take some bands that were formed in late 60s, early 70s like Rush, Jethro Tull, Pink Floyd, King Crimson and follow their careers, as they became older their music became angrier and angrier lol(especially starting late 90s and into 2000s). I always attributed it to band members getting older and bitter at life but maybe as you say it’s due to times changing...
They did know. They didn't know they would react the way they did.
Read to the final paragraph:

> In fairness, other automakers have had issues with touchscreens as well. Just last year, Ford settled a class action lawsuit over a host of problems with its MyFordTouch systems and had previously extended warranty coverage for its SYNC systems. Cadillac had to recently revamp its CUE touchscreen system after numerous issues including "the dreaded spiderweb cracks." But [like, it's totally different for Tesla for reasons not having anything to do with screens or reliability][1]"

Basically, screens suck. Everyone's screens break. Apple and Samsung have shipped junk screens too. But Tesla's bad screens are an existential crisis. The auto industry hates them so much...

[1] Paraphrased.
75 years? What the hell..
They did know. They didn't know how it would affect them long term. They mention feeling ashamed for reacting the way they did BECAUSE they knew it would be gorey.
The dark reason so many millennials are miserable and broke