skysight-inc/HackerNews huggingface dataset:
Surely the easy answer is do something with your knowledge. If you feel you can apply it, then I would say it was useful.

I couldn't imagine reading 3 books on python, and wondering will I get an interview. The question should be, can I write a simple program. Measuring by can I get a job interview is asking the reverse question.

I mean, would you hire you? Can you solve a potential company's problems with your AI toolset.
> Typically resulting in ravioli code instead.

This is an awesome term and I must admit that I've never heard it before.

It does apply to a lot of code that I've seen, and let's face it, written, over the years.
The Media Bias Chart, Version 3.0: What, Are We Reading? (2018)
This is also why I'm against negative reputation. The number of people who can down-vote and do so emotively rather than because something is factually inaccurate is just plain depressing at times. Add to that people who "drive-by down-vote" - in that they'll mod something down but then fail to provide a rebuttal - really does nothing to keep those experienced engineers motivated to keep coming back to the comments section. Thus you end up with more uninformed drivel posted and more people arguing unsubstantiated bullshit.

I used to come on HN daily. Now it's a couple of times a week (and even that feels too frequently at times). Simply because I can discover content without HN and the comments section is increasingly adding little value to HN's aggregation.
It’s exactly the reverse for me. Weird.
Investors have valued Ford at $141B. Assets doesn't affect that statement one bit.

It's a piece of evidence that investors might be wrong.

It's an easy double. Buy Ford, sell of the assets, pay off the debt and pocket $110B for a cost of $42B. Since that's not happening, nor anything like it, investors don't think Ford assets are worth $250B.
That’s really funny. I always assumed that was a troop specific joke. No one ever reacts when I mention the need for one around a campfire :)
This is a really great idea, and appealing in its simplicity -- I think we might try to implement this in my company for some of our tasks which are really very manual, but for which automation is a daunting task.
My understanding is that Ada has memory-safety issues (or leaks like a sieve) if dynamic allocations are used and GC is not.
That the refactored version tries to perform math using the value of an enumeration also makes this feel unrealistically absurd.
If you're about to do a sequence of commands into a terminal, you can create a transcript with the 'script $filename' command ('script' command is in the util-linux package', according to the man page), and it will capture input/output into the transcript. This would probably make this task easier, since you could see the output data, and how the output data is transformed into arguments into the next command ...
Couldn't recommend Mainland China!
Beds with sheets and mattresses are unsuitable for that kind of weather.

The traditional Indian Charpai (https://en.wikipedia.org/wiki/Charpai) is much more suited. It's like a hammock, but flat and stable on the ground, with great air circulation underneath the body. In hot weather one sleeps without a sheet on top.
One thing this article suggests is that this event caused mass extinction itself as the climate change probably wiped out those North Pole turtles. I think that is just the point of unexpected consequences I’m trying to raise. Previous attempts to reverse catastrophic changes to ecological environments have been unmitigated disasters. Just ask Australians about the cane toad or rabbits.
> I can't begin to imagine living somewhere like Delhi which is even hotter!

And then combine it with tons of pollution...
Using Clojure to Generate Java to Reimplement Clojure (2014)
I've tweaked this to allow for the comments/favourite/etc. to show after you stop moving your mouse for a while:

tr.athing + tr { opacity: 0; }

tr.athing:hover + tr,
tr.athing + tr:hover { opacity: 1; transition: opacity 2.3333s cubic-bezier(1.000, 0.005, 1.000, -0.500); }
I am under the impression that the courses are designed for EE/CS engineers to get familiar with the foundations of modern ML, but it's not sufficient education to work as a full time ML engineer.

I returned to grad school for ML two years ago, and even now I still struggle with some ML job interviews when it comes to statistics and theoretical questions that I've studied two years for. One particularly challenging part of ML interview is that it covers much more than a typical CS interviews that I'm used to. I had a ML engineer internship interview with a famous ML company recently, and I was asked about sorting algorithms, hashing algorithms, non-convex optimization techniques, gaussian processes and manually compute the jacobian of a NN for backprop on the spot.
Adani protesters block entry to Abbot Point, French journalist and crew charged
Business Voicemail Greetings: Top Sample Scripts
Ok, so you don't have a reference. If we take the admin at its word, they say they want a better deal.If you believe Bolton doesn't follow orders, than he seeks war. The one thing nobody of any disposition ever said they seek is 'regime change'. That's because a ground invasion is inconceivable and homegrown revolution unlikely when it's the regime with all the guns.
Chaos in Hong Kong as hundreds of masked men assault protesters, journalists
Localized is good. It means that the next time there’s a new thing, there’s only one place you need to change to specify its unique set of properties. Often, this can even be removed from the code entirely into a configuration file, so that a recompilation isn’t necessary for every new situation.
"With Indian style toilets", I know, my hometown is Jaipur.

For the rest, In Indian style toilets, you don't wipe your ass, you splash it clean either with a water jet or your hands. So hot water .....
True, but if we believe the problem is serious and urgent, then a relatively cheap and quick stopgap is exactly what we need.
Apart from using almost 95% of homegrown technologies, One high feat is that the entire mission cost around $141 million which is half the cost of Latest Avengers Movie..
227 hours of machine time, $70 of plastic filament, multiple failed parts and hours of hand finishing. Truly, this is the future of manufacturing.
Albert of CyberSpyGuru is the best in the business of fixing credit, second to none…He got rid of all my negative listings and eviction on my credit at a reasonable price. Thanks to him I am gladly living with an excellent score of 810, now as i speak he has also helped over Three of my friends clear their Mortgage and boost their Fico scores , I cant imagine what my life would have been like without him. And for those interested in his services. CYBERSPYGURU AT Gmail {Dot} com
Last week in Madrid was hard.
I bike to work (it's 1 metro station away from home) and last week about 4pm was harder that usual.

I remember a beer commercial some time ago about an alien invasion. Everybody was scared, but the people in Seville was happy because the alien mothership casted a shadow over the city and suddenly the heat was tolerable.
> "It didn't work with a small group, so we should try again with a large group! Also, here's a personal insult."

Your brain on politics, folks.
I am an Entrepreneur, I work as a FLAT AND SALES MANAGER but I have been in a sorrowful mood and pressure since my 40’s days ,I have not been able to acquire all my desires despite earning a lot of money doing businesses, my score deprived me of many things in life. But all thanks to God and Albert Gonzalez of CyberSpyGuru (At) Gmail DOT (com) he help me fix my credit report and removed all my evictions within 48hours ,now as I speak I have finally gotten a new home for Family. I didn’t believe at first and It’s just like a miracle but I can’t doubt what’s happening physically in my life.
Would that matter? I don't believe you can work around government sanctions by simply registering a subsidiary in another jurisdiction and saying "look, the company isn't officially in the US, even though it's owned by us".
HN itself can filter by the points, afaik. Search for “Undocumented Hacker News”, it's mentioned there among other features. However, that's on the site—dunno about the feed.
I get it, but this script looks a lot like a checklist to me. Seems like a checklist is a good place to start, no?

If you want more "interest" during the process, make it a point to refine the documentation for your process (clarify a step here, split one command into two steps). Then you have a very clear spec by the time the process needs to be automated.
The article says it will take about 5 weeks for touchdown. and "Making a soft landing will be the hardest part — an Israeli lander trying to do the same thing crashed on the moon in April."
Speaking of “clean business practices” - haven’t Americans literally invented patent trolling?
DNS firewalls can burn security teams
That's a great article. Was also discussed here:

https://news.ycombinator.com/item?id=8180493
Yup, Microsoft jumped at just the wrong moment on this stuff.

Today you just go "Eh, text is Unicode" and any weird corner cases go in the Private Use Area bucket never to be seen again.

And in the 1980s you'd go "Eh, text is ASCII" and just tell office workers that too bad they can't have an emoticon in their email, try writing :) instead.

But just at that moment where Windows exploded and everybody was getting a PC with a graphical user interface there was that awkward moment where it seemed reasonable to act as though text was arbitrary indexes into a font and doesn't actually _mean_ anything except that a lot of the fonts map to ASCII. So now you can write [HN removes actually Emoji] but it doesn't mean [HN removed the same emoji here] it just looks that way on PCs with the exact same font.

And that mistake infected Microsoft Office and all of Windows. I wrote a presentation on a work PC in about 1995 and then my boss printed it from her work Mac, and on every single sheet of the presentation the trademark symbol was replaced by some other symbol Macs had because of this useless ambiguity.
> There’s an obvious trend as to which comments section I am mostly drawn to: ones with inflamed arguments.

I come here because of the value of some comments but this, above, as soon I can feel a flame wars starts, is the reason I stop immediately reading comments on a topic.
I think your number is too big, home many nude mods can be for a game? If you mean some revealing armor/clothing then that is not porn not even "adult".

There will always be a large number of lower effort mods, it is easy to retexture or cut parts of existing armors then building new ones from scratch.

The main issue I see with some modding communities is the big egos of some people that leads to terms of use like "don't share this, this mod should not be shared on as different website" , it will make it kind of illegal then when the specified website will no longer exists to archive and move the mods or to create mod packs.
AFAIK most of the CVEs are not for the kernel itself (and the article doesn't say anything about replacing or rewriting the kernel itself), it's for everything that's built upon it. That's also a point Brian Cantrill makes in one of his talks:

> the safety argument just doesn't carry as much weight for kernel developers, not because the safety argument isn't really, really important. It's just because it's safe, because when it's not safe, it blows up, and everyone gets really upset. We figure out why. We fix it. And we develop a lot of great tooling to not have these problems.
RIP Glitch <3
I left a comment the first time this was posted, but to reiterate, the MGS translations were excellent (and arguably better than later installments, though MGS3 was pretty high quality too).

Jeremy played a huge part in launching an incredibly successful series. I hope he doesn't feel too put out by Kojima's reaction.
Free oxygen is a pretty good sign of life and if we were to see it in other planets' atmospheres that would be a good indication that life was there. But on the other hand, there was life on Earth for a long period of time before photosynthesis was evolved, then there was a long period of time before large amounts accumulated in the atmosphere. So while this test is relatively easy to apply across a large number of planets it would tend to give a lot of false negatives.

It seems plausible that on many planets you have life evolving but because it's slow to develop photosynthesis the solar wind strips away all the hydrogen before the production of oxygen creates a protective ozone layer. Maybe that even happened on Mars, though with the lack of magnetic field there and shallow gravity well it was going to lose its hydrogen eventually even with an ozone layer.
Great news on the launch. But it ain't over till the land rover starts transmitting, so to speak. This will orbit earth for a bit till the moon snags it into its own orbit, and then it lands on the moon in September.
That's probably true. But it's doing so on a timescale of centuries, whereas the cooling happened over hundreds of millennia.

Maybe an apt metaphor is with pressure. Go from ten atmospheres of pressure to one in an hour and your ears will pop. Do it in less than a second and your blood vessels will pop.
Not again with this. This is comparing peanuts to oranges. Two completely separate domains, with their own requirements and goals.

If you need to compare then compare it with costs of other missions. And even then it would be unfair, as almost no two space missions have the exact same requirements, goals and parameters.
Shifting the goalposts, strawmanning. Please at least make an effort.
Might be, but I wouldn't discounting culture as a mechanism reinforcing it. People aren't working in isolation; they build on each other, and enshrine "best practices" that are often enough the sources of these problems.

But thinking of it, Sturgeon's law may be at play. PHP used to suffer from similar reputation to JavaScript, and only started regaining its status as a proper server choice once the masses moved to greener pastures. Sure, the language was a "fractal of bad design" and had footguns galore, but it wasn't that bad, and most of the traps were avoidable when you had half a brain and used it. The web may be crap very well because it's where anyone fresh to programming can find a high-paying job, and you can become a "senior engineer" after one year of job experience.

But that, still, is a problem. Outside of programming, there are quality standards on the market - often enforced by governments. Even if 90% of chairs are crap, you can't go and sell that crap to the public. Quality standards filter most of the crap out.

If that's the case, I'm not sure what to do. Introducing quality regulations to programming might help solve the problem of website bloat and constant leaks of private data, but it would also destroy the best thing about the web and programming in general - if you have an idea and a computer, you can make it and show it off to everyone.
Can I open and reply to 25 different emails, and have the replies sit in my outbox until I reconnect? Because that’s a lot more useful to me than how fast it loads.
No it's not quite that simple. The Indians leaving behind their homes aren't always doing it because they want to enrich their pockets (which BTW is not wrong and something anyone would do). They are often compelled to do it because there is a lack of local resources, like drinking water or electricity. That's one of the points of the main article, maybe you missed it.
> When she was treated at an ophthalmologist’s office, they asked about her lenses. “I said Hubble and they said, ‘Oh, that’s it. You’re not the first,’” she said

I'm no expert, but that doesn't sound like a solid diagnosis. Sounds more like "we don't like those people". My immediate question would be "why are they at fault?" A corneal ulcer has many possible causes, and if I was the patient, I'd really like to know what exactly caused this condition. I mean, if Hubble is selling faulty lenses that causes this condition, at the very least you would be able to hold them responsible.
I understand the author origin point: To an extent, you cannot simplify an already complex domain problem with code. However, this has nothing to do with Spaghetti code.
You could have one 1500 lines function that is not spaghetti code. It's hard to imagine, but it's possible. Similarly you can definitely have a bunch of functions, classes etc. that are spaghetti code, even if they are 3 lines each.
Spaghetti is about the order in which you make your calls, the convoluteness of your loop etc.

I think the only point of the article is "Don't try to retro engineer the logic behind a complex domain that you do not master".
Do you even manage to get anything done in such temperature?

How hot it is during the night?
I expect this (VERY relevant to the current discussion) proves you wrong. Democratically elected, modern minded minister being "replaced" (he died in the process) by the secret services of the US and UK.

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

It's not about some "end goal" its about both gov'ts using dirty tricks to further their own goals and the goals of the oligarchs that are associated with them.

My take: both are not worth my promo. US has, as other have pointed out, caused a lot more harm to a lot more people since WW2 then Iran has in the last 250 years.
I often find posts on the "new" page more interesting than the one on the front page, you should give it a try.
I spent quite some time looking into the problem. The solution imo is twofold. First, yup, collapse all comments past 2nd level by default, show only top comments (others collapsed) on second level.

Second, the same model used for HN threads should be applied to comments - not just karma, but a combination of recency and karma. Right now we are demotivated to post on 1st level of existing threads exactly because of karma accumulation for top level posts. Hence, my comment is here :)

We're working on a relevant product for communities so if you're also interested in this problem, let me know.
Two overlapping CAS operations that deterministically get executed in a particular interleaving produce a deterministic result and as such are, by definition, not a race condition.

A race the result of which is known ahead of time is not a race.
Yeah, no need for Go or anything server-side for this.

But also, an annoying aspect of HN's design is that the markup lacks semantic classes and is thus difficult to amend with CSS.
This idea is great. You could even argue that these scripts actually do something: they allow storing and updating the state of a process. By having these scripts run in a shell rather than in your head, the current state is stored in a machine, not in an unreliable human brain.
Intel’s New (Patented) Magic Wand
Ask HN: When Is Documentation Bad?
At work, I've noticed some people are against documentation because, in their opinion, it goes stale so it's better to look at the code.

There have also been some situations where PR's to add comments to things were scoffed at. Usually things that would require a developer to navigate 3-5 repositories to find out what certain things mean.

I'm wondering two things:
* When is documentation bad?
* Have you noticed a trend against documentation (in favor of more pure code reading) at your work?
> not to our benefit

That remains to be seen, IMHO because it would be very lucky that the current global climate is the optimum for human activities.

For example, with a bit more CO2 in the atmosphere plants grow bigger. Warming might also open more land to agriculture than is lost. Etc.
What's most interesting to me is remote + scale.

There are many small remote companies that don't try to scale, as they prioritise just having a nice product that solves 1 relatively simple task very well, while having a comfortable life style for the employees.

But so far there's no remote-first company on the stock market.
Iran has troops in at least three countries thousands of km of its border, its on the offence. Besides, it's not like these missiles could do more than tickle the American army. Their only use is to menace the other countries of the region, except no country in the region is even capable of invading Iran. In short, their purpose is offensive.

Now, 'Moderate' President Rafsanjani argued that "the use of a nuclear bomb in Israel will leave nothing on the ground, whereas it will only damage the world of Islam". It's best we do not allow such an apocalyptic scenario - such a war could hardly be contained to the Middle East.
Yes, Chandrayaan-1 already crash landed on moon once. The new part of this mission is soft landing for a rover, which will only happen in early September.
To be fair, ISRO probably didn't have to pay $100M in star salaries
If Iran stopped funding active offensive organisations like Hezbollah there would be no reason to restrict their weapons purchases or impose sanctions. The sanctions aren't the root cause, they are responses to specific stated goals and actions of Iran. Goals of destroying specific foreign states, which it insists on pursuing through violent means. No nation has a specific stated goal of destroying Iran, nor are they acting in order to achieve it.

>About annihilating another state: How can Iran annihilate a state which has 200 nuclear warheads? It might be other way around.

If the US or Israel really wanted to destroy Iran they could. The US invaded Iraq and Afghanistan, in both cases in response to hideously brutal attacks on themselves or their allies. They could do it to Iran, so why haven't they? Because they don't want to, they have nothing to gain from it. They didn't want to invade Iraq or Afghanistan either, and have been trying to get their troop out as fast as possible ever since. The only reason they attacked Saddam or Afghanistan was because of the invasion of Kuwait and the 9/11 attacks. If Iran would just leave them and their allies alone, they'd be fine just buying their oil and selling them Coca-Cola.
> That is completely false. CGI has basically no attack surface. And personally, I trust Perl or C or even bash (which do have an attack surface) more than I trust all these random frameworks.

While you're technically right that CGI doesn't include Perl/C/Bash, it feels like you're hand-waving somewhat to avoid discussing the real crux of the problem. Having spent a significant amount of the last 30 years writing software in Perl, C and Bash (languages that I genuinely do enjoy coding in too), I honestly don't trust anyone's ability to knock their own framework out as securely as many of the established frameworks already out there.

There's all sorts of hidden traps in those languages themselves, hidden traps in the way the the web behaves as well as bugs you could introduce just through human error.

CGI is fun for hacking stuff together but if you're building anything for public consumption - even if it's only going to be a low hit count - then you have to consider what damage could be done if that machine was compromised (though it's prudent to follow that train of thought regardless of the framework you end up on).

> Except oftentimes these days you need both an HTTP server and an app server (as mentioned). CGI only needs an HTTP server.

Except oftentimes you also don't. And even in the instances where you do, often something like S3 or some CDNs will fill the role (as often it's just static content you need hosting and some CDNs allow you to manually transfer content). Or if a CDN isn't an option and you do need a webserver + app server (eg nginx + php-fpm) then you can run them as two docker containers (for example) on the same server....and even if that isn't an option, it's really not that much more work monitoring 2 servers than it is 1 (if you were talking about a farm of dozens or more then you'd have a point. But then CGI also becomes a clear no-go because of it's performance penalties).

My point is there are a breadth of options out there these days and CGI rarely stacks up well against them.
VHDL to PCB