skysight-inc/HackerNews huggingface dataset:
Command line tools in 10 lines of ruby (using this script):

docker ps | rb drop 1 | rb -l split[1]
docker ps -a | rb grep /Exited/ | rb -l 'split.last.ljust(20) + " => " + split(/ {2,}/)[-2]'
df -h | rb 'drop(1).sort_by { |l| l.split[-2].to_f }'

Command line tools in zero lines of ruby (using ruby):

docker ps | ruby -lane 'next if $. == 1; print $F[1]
docker ps -a | ruby -lne 'print $1 if /(Exited .*? ago)/'
df | ruby -lane 'BEGIN { lines = [] }; lines.push [$F[4].to_i, $_] if $. > 0; END { lines.sort { |a,b|b[0] <=> a[0] }.each{|k| print k[1] } }

Bit of a pain as ++ is lacking, as is autovivication. a /bin/sort at the end usually beats `<=>` for terseness.
A bit of a clickbait title, even though it's the original headline.

Maybe a mention of the realtime ray-tracing would make it better suited for HN?
Google TPU does not have 4 bit ALUs.
With 29 hours per frame it would take 378 years to render Toy Story 3 with ~144k frames.
Find something, anything positive to focus on. Then continue to focus on that positive thing. If your mind wonders to something negative, bring your focus back to the positive thing. Perhaps you are focusing on a recurring set of negative thoughts? Reprogram your self with positive thought and you will will your self into a different set of feelings. I've been through something similar, and there are many things to do. I didn't like the thought of seeing a counselor, but having found good genuine help I wish I had started sooner. I like being in the sun, eating fresh fruit, and going out on walks. The basics can help. If this sounds silly, try it and find something that works for you. There are so many helpful posts others have commented. If nothing else helps, ask God to help you? You are more precious than this world.
Disclosure: I work on Google Cloud.

You don’t need to wait, you can put together 8xV100s with NVLINK on major clouds including GCE and AWS. That’s 128 GB of densely connected HBM2.
Borges predicts the Internet :

The Aleph

... “I view him,” he said with a certain unaccountable excitement, “in his inner sanctum, as though in his castle tower, supplied with telephones, telegraphs, phonographs, wireless sets, motion-picture screens, slide projectors, glossaries, timetables, handbooks, bulletins...”
He remarked that for a man so equipped, actual travel was superfluous. Our twentieth century had inverted the story of Mohammed and the mountain; nowadays, the mountain came to the modern Mohammed ...
Commercial logging is not the answer, though mechanical thinning might be to get things back to a natural state before reintroducing a properly balanced fire regime with natural and if necessary prescribed fire.
My guess is that the author was unaware of those flags. matz's idea that Ruby be a worthy successor to Perl was sort of crushed by Java weenies when the Pickaxe book came out.

I know this is ancient history.
Both of you seem to be confusing estimating the likelihood of a random event with predicting the event’a occurrence. These are not remotely the same.
I want to try at least one Poppler.

“They’re like sex, but I’m having them!”
Wait a minute. For real?! Real-time ray-tracing? As in, ray-tracing that could be used in a video game?!
How it works (unless you settle for some amount, which I did, which ended up biting me in the ass when our stock took a 30% haircut, but I digress...) is that there is a community property interest in all assets earned during the marriage, regardless of future vesting schedule. It's all based on when the options were granted, when they vest, how long you worked there, etc.

If you have RSUs, you get to go through the fun process of either giving some value to these RSUs and paying off the other party's community interest in that valuation, or you can try to argue that RSUs have a zero dollars value until granted. Good luck with RSUs and stock options either way, as it can become a complicated mess of laws and formulas.
An open letter to the Hacker Community
Does the RPi Zero have onboard wifi? ( https://www.raspberrypi.org/products/raspberry-pi-zero/ )

It sounds like your realtek dongle may not support monitor mode.
Thanks for sharing those. There's also: Zach Barth: "Zachtronics: Ten Years of Terrible Games" | Talks at Google - https://www.youtube.com/watch?v=Df9pz_EmKhA
No not even close to like it was back then. Literally every major media story was in total panic (not just the financial websites). Layoffs at almost every company were already taking place. Massive banks were on the brink of failure and still there were plenty of short opportunities in the market.

I quickly looked at the oil chart and looks like oil was still above $100 when lehman failed. It dropped way down to like 20's.
I have no idea if the 29 hour figure is accurate. However, regardless of how long it takes, I would assume that frames are rendered in parallel.
Taking the competition and obsession and optimization out of things made some things really enjoyable to me that I used to despise. For example running, when I was younger I would try to optimize and plan and improve constantly until I sucked all the joy out of it. Now I instead just run once around the lake at whatever pace I can keep and it's very cathartic. (I'm not even old)
Yes. Their current demos are of NPR, but it seems promising enough in general.
better suited for HN, and more specific, so just flat-out better headline. Headline updated.
Physics Breakthough: Snapping a Spaghetti Strand into 2 (Not 3) Pieces
No, it’s the downvoters who are confused. :-)
The Atari Jaguar also had a GPU, and this was in 1993.

https://en.wikipedia.org/wiki/Atari_Jaguar#Processors
Where's Waldo With Google’s Cloud AutoML and Raspberry Pi
The original Coco frame times were 1000hrs/f, thanks to millions of light sources (and coming in at 30GB to 120GB of scene data). But engineers got that down to 50hrs/f over the course of production - light acceleration structures that have now ended up in RenderMan 22. (These numbers are single core benchmarks, so you then need to scale by some factor of numbers of cores you have available). In general, I think it’s the huge scene data size that keeps feature films mostly on the CPU.

https://www.fxguide.com/featured/rendermans-visuals-for-coco...
It's a fairly firmly established fact and widely understood as a major cause within firefighting and forest management circles, including the Forest Service, who is largely responsible for such practices over the past century. The natural fire regime kept forests thinned and healthy with lots of relatively small and low intensity fires that would remove standing dead and the understory while largely keeping the healthy stands intact, with occasional pockets of higher intensity fire that would open up areas in the forest (creating meadows, etc.) and making for natural buffer zones and breaks in the fuel, which further reduced the spread of bigger fires, as well as keeping the forest healthier and reducing disease. Indigenous peoples in the Americas are very well known to have managed forests with prescribed fires for centuries, if not millennia, too.

Climate change is definitely a factor for fires in the southwest as well, though.

https://en.wikipedia.org/wiki/History_of_wildfire_suppressio...
What about "unheavy search" ? Synonym for light, but very uncommon as far as I can tell. It's not beautiful or elegant, but it's also not confusing and making me think of gogo dancers. Best I could come up with in 5 minutes.
winamp and napster go hand in hand.

yes i'm implying winamp is piracy.
Anyone who goes into the prediction game is gonna lose. Funny how these big name economist never seem to learn.
Fire suppression is a major problem, for sure. But it wasn't all natural in the past, either. Humans have been managing forests through the use of fire for a very long time, setting fires to thin out the understory and make areas more appealing to wildlife they could then hunt, etc., which would in turn make the forest healthier and less prone to megafires.
This was short, honest, and really refreshing.

That happens with older writers. Generally, the farther back you read, there's less and less of it.
Well it actually is both of those things, if you sit in it long enough you'll melt, if you breathe it in you'll die, so maybe they're smarter than you think :)
> "The intense IR radiation would have originated
from the entire sky. Darkness would
have been eliminated worldwide for several
hours and shadows curtailed. Shadowing effects
would have been restricted to a direct
proportion of the fraction of the sky blocked
by a massive object. An organism at the foot
of a lengthy vertical cliff, for example, would
have been spared radiation from just under
half the sky. It would not have been sufficient
to shelter in a gully, under an isolated tree, or
even under a sparsely forested canopy. Life
confined to Earth’s surface would have perished well before incineration."
I can't begin to explain how excited I am to delve into this! Thank you for the lead.
Do you mean that Germany buries their transmission lines? Or that the neighborhoods are built with buried wires?
I don’t think that negates my point? If you have tensor ops that can get away with 4-bit precision, this is a great chip for you.
Yes and I wonder if media consumers should lose the right to vote too, since their opinions will often be strongly influenced by the media that they read - effectively Murdoch has millions of votes even though he isn't a citizen of this country any more. Surely the only independent people are the MP's themselves, and so they should be able to vote for whomever they please.
It's rare to see someone go above and beyond a benevolent hobby to build a complete solution to a people's problem.
I'm reading a couple books at the moment.

Valley of Genius[1] is a history of silicon valley, but told via excerpts and quotes from influential members of the SV community. It's quite a fascinating book, and I highly recommend it. I'm in my early thirties, so this book really helps to provide context for when people say we're just rebuilding things that have been done before. Learning about what was going on at Xerox with Alan Kay is just incredible.

The other book I'm reading is the Selfish Gene[1], by Richard Dawkins. I've read this book 3-4 times already, so at this point I read it for almost philosophical reasons. It's a wonderful explanation of evolution and micro-biology. I'm sure there are more up-to-date texts, but Dawkins is a superb writer.

[1] Valley of Genius: The Uncensored History of Silicon Valley (As Told by the Hackers, Founders, and Freaks Who Made It Boom)

[2] The Selfish Gene, by Richard Dawkins
Interesting, so it's reading text from STDIN into an Array, then executing its arguments as Ruby code in the context of that Array (or if you pass -l, in the context of each line individually). So all the standard methods on the [Array][1] (or [String][2]) class become accessible as top-level methods.

A few examples:

Capitalizing a line:

echo hello world | rb -l capitalize

Printing only unique lines:

printf 'hello\nworld\nhello\n' | rb uniq

Computing the sum of numbers in a table:

printf '1\n2\n3\n' | rb 'map(&:to_i).sum'

Personally I think it's a really cool idea.

[1]: https://ruby-doc.org/core/Array.html

[2]: https://ruby-doc.org/core/String.html
Active discussion already on front page:

https://news.ycombinator.com/item?id=17754445
This is where education is important. Let’s vote for education or learn how to educate the younger population, so that we can better communicate with the younger population, and work together to improve the city/state/country! I think that pushing to remove a voting right feels like an attack and not a cooperating move. Maybe making voting more accessible so that the younger population participates more would be a better development
Which to me begs the question, shouldn't companies be doing more maintenance to ensure fires don't get out of control? If you really believe climate change was responsible, why were they asleep at the wheel?

Otherwise it just seems like a blatant attempt to socialize the losses.
I tried to do so but never made it past their interviewing - which was glacially slow and involved a 1/10th chance all things equal even when there were multiple identical positions open. From what I could gather in many cases the agencies were often at the mercy of poor organization from above.
Or... What if we do not care if the first, second or third order of customers recoup anything.

What if only what is important is that by these being available, and the first several adoption catagories identify new categories/opportunities of work that will allow for the next leap in whichever direction can only manifest on the carcasses of these early adoptions...
Agreed. The pattern could range practically forever, with "B"s appearing for any "A":

A: It's a static solution; the warp bubble is eternal. There is no recipe for turning it on or off.

A: It's a vacuum solution; there is no "ship" inside, and no matter outside. It is everywhere exactly flat except for the compact region of spacetime in the bubble wall. The only way to decide whether it is even meaningfully moving in the sort of way intended is to add something else to the spacetime. One could make a more complicated vacuum solution with a qualitatively similar compact region, or "stitch" Alcubierre's solution into some other solution in a region where the latter is sufficiently flat to use an Israel-Darmois[1] approach, or add matter.

A: Adding matter is hard. Practically anything either breaks the metric
or alternatively requires releases from well-tested constraints on the eigenvalues and eigenvectors of the stress-energy tensor. There is really no point in rehashing Lobo & Visser [2] here, although it would be a decent public service if a good science communicator explained its results.

At least Alcubierre's original paper[3] is short and easily digestible. Everyone should read from the paragraph before eq. (18) to the paragraph following eq. (19).

- --

Ultimately though "B"s are slogans, and matching them with pithier "A" slogans won't make "B"s go away (cf. young Earth creationists and anti-vaxxer). Perhaps it's more fruitful to make it easy for people caught in the middle to distinguish between a sloganeer with no idea of the content of the physical theories involved, and someone who at least knows the standard theory and how to use it before attempting to depart from it (thus excluding e.g. Sonny White).

- --

[1] Misner, Thorne, & Wheeler, §21.13.

[2] Lobo & Visser (!) https://doi.org/10.1088/0264-9381/21/24/011 https://arxiv.org/abs/gr-qc/0406083

[3] Alcubierre https://doi.org/10.1088/0264-9381/11/5/001 https://arxiv.org/abs/gr-qc/0009013
> Quadro RTX 5000 with 16GB memory: $2,300 ESP*

For reference, I purchased my first 3D card from Evan's and Sutherland to run Softimage with 32MB Ram in ~1996 for $1,800.
Technically Ruby tried to replace Perl, so I guess the shoe fits. It sure has taken a while for someone to do this!
I expect there's certainly a lot of that.

But entry data analysts are ~USD$60k / yr?

At that price, substituting hardware for even low-hanging, first-order prediction models starts to look attractive.
More info on the Strait of Malacca (emphases mine):

"The strait is the main shipping channel between the Indian Ocean and the Pacific Ocean, linking major Asian economies such as India, Indonesia, Malaysia, Singapore, China, Japan, Taiwan, and South Korea. Over 94,000 vessels pass through the strait each year (2008) making it the busiest strait in the world, carrying about 25% of the world's traded goods, including oil, Chinese manufactured products, coal, palm oil and Indonesian coffee. About a quarter of all oil carried by sea passes through the Strait, mainly from Persian Gulf suppliers to Asian markets. In 2007, an estimated 13.7 million barrels per day were transported through the strait, increasing to an estimated 15.2 million barrels per day in 2011."

https://en.wikipedia.org/wiki/Strait_of_Malacca
And evolved into glorified Skinner boxes?
There is absolutely no saying what the likelihood of a recession is.

Agreed, unlike every other random event that exists in the universe, recessions are the one thing whose likelyhood cannot possibly be expressed.
For me the first meaning that comes to mind is a leader of the American Revolutionary War. Wig and all. And I'm not even American.
> How do you tell which bills were targeted with their lobbying dollars?

It looks like this information is published by the senate under the "Lobbying Disclosure Act of 1995"

https://soprweb.senate.gov/index.cfm?event=getFilingDetails&...

opensecrets.org has a more easily-browsed index linking to the senate reports: https://www.opensecrets.org/orgs/lobby.php?id=D000022016
> If there were to be another AI and VR winter I'd expect NVIDIA's marketing to re-focus on power efficiency and architecture tweaks once again.

Others have already pointed out that Nvidia has been improving efficiency at a pretty steady pace (and they are way ahead of AMD in the respect.)

But Volta was much more than just an just an architectural tweak compared to Pascal.

We don’t know the details yet about Turing, but Jen-Hsun said on stage today that it can execute floating point and integer ops in parallel, which suggests that it’s also based on the Volta architecture.
I was looking at some other "Where's Waldo" posts on HN. I found this one from 7 years ago: https://news.ycombinator.com/item?id=3367865

We've come a long way...
True digital transformation is about rethinking your current business model for the 21st century. The process is not just about adding technology to the existing model.

Wtf does that even mean.
That is standard procedure for drafting request for bids pretty much. Some lobbyist makes the draft to suit their own company.
Ask HN: What language/stack to use for “customer ready” SBCs/sensors/GUI?
I've been making various systems using RPi/Arduino/ESP8266 and sensors for a while, but very hobby level. Adafruit parts, prototyped using breadboards, copy/paste code from online and modify it. Have made a few weather stations, and basic home automation.

I'm completely in love with this, and want to take it further, and do these projects "properly".

I don't know any "real" programming languages, but have been tinkering with web projects for 30+ years (php, mysql, js, css, cgi/perl back in the day). Just for background. So I'm willing to learn anything required from scratch, and timeframe doesn't matter, I'm willing to commit long term.

What absolutely matters, is I want to learn stuff that will still be around years from now. I don't care about the latest/greatest frameworks/languages, but longevity and reliability are paramount. These projects will end up being used in real-life situations on family farms and in family companies, and I want them to be good enough to set/forget.

Getting sensor data read and stored is easy enough in any language, but I'd really also like to be able to put nice GUIs on touchscreens for it. I currently do that with Raspbian + i3wm and web apps, which has ridiculous overhead. I'd like the final products to be on-par quality-wise with in-car headunits and other commercially available touch interfaces.

Python + Qt/PyQT? Python + Kivy? Something entirely different?

Any suggestions on stacks/pathways for this are appreciated.
In case it’s helpful, as someone who doesn't know ruby, it's hard to understand. Not too readable. Split.last.ljust I just barely understood (left-justify the last match), but I have no idea what the next part is even trying to accomplish.

It's a cool script though.
I'm fairly confident this is because plenty of men would not sleep with a trans woman and it makes it easier for them avoid an appearance of impropriety. It's probably a dirty little secret because these same men likely would not want to publicly admit to an essentially transphobic position

I’m really curious about that comment. No one would say a heterosexual male that doesn’t want to sleep with a man is necessarily homophobic. Why would it be different if a heterosexual male wouldn’t want to sleep with a trans woman?
Thoughts about the Ph.D Process
Twitter sysadmin: “I’m deleting the Twitter app from all my devices”
I find it rather insulting that you think it must be a shitty job.
a huge swath of talent will be ineligeble to work on this as GovCloud/FedRamp requirements for US Citizen employees

That doesn't stop some DoD contractors from still subcontracting foreign nationals. Crazy what goes on.

Question: How do you vet a non-citizen for work on a DoD system? Let me give you a tiny example. Let's say you have a system for keeping track of jet parts. Super important stuff. What's to say a foreign agent couldn't make a subtle "mistake" that allows for misuse or misallocation of parts by not properly storing their flight history? Planes fail and fall out of the sky. This could totally happen (not saying it has although, again, the stories I hear JFC) and a competing state would be foolish not to try it.
Thanks, I didn't know that until now.
Something like this is a pretty standard and unsurprising result. Here is one quick google hit: http://www.visualcapitalist.com/2000-years-economic-history-...

No one should be surprised that that India and China were the big dogs for most of history. Perhaps more surprising are that:

a) This continued well into the 19th century, and

b) India was bigger than China in medieval times.

I'd say that (b) is not a fair comparison, China is just one empire, India is a whole bunch. While (a) should not be a surprise that economic size lags behind whatever structural strengths might have made European powers famous and powerful for a while.
I'm pretty sure there are personal styles, which might be undiagnosed cognitive issues.

I probably have whatever "hearing dyslexia" is called. I seem to misunderstand a lot more words than the people around me. I'm the living version of that Benny Hill gag. Or Radner's SNL "violence on TV" skit.

Regardless, I either have to take notes or totally lock my attention onto the speaker (which most people find creepy) to retain much.
I guess I don't have any links, but it isn't hard to imagine interstate trade in the US in the mind 20th century. There were military considerations later on but the groundwork before that wasn't entirely military focused.
its a pretty nifty idea
echo hello world | ruby -pe '$_.capitalize!'

printf 'hello\nworld\nhello\n' | ruby -le 'puts STDIN.to_a.uniq

ps | ruby -lane 'BEGIN { b = 0 }; b += $F[0].to_i; END { print "sum of PIDs: #{b}" }

select whatever column you want, to sum up.

Really what Ruby needs is a flag that adds some capabilities to NilClass, so that these BEGIN blocks aren't needed.
let's see. PG&E sells 970 billion cubic feet of gas per year [1] and the most recent study I could find pegs the CO2 output of electrical generation at 456 lbs per MWh in 2007 [2] (which is pretty low), and generated or bought about 80 terawatt-hours in 2014 [3]

456 lbs * 80,000,000 megawatt-hours = 36.5 billion lbs CO2 or 1.65 million metric tons from electrical generation/purchased generated power.

Natural gas releases 117 lbs of CO2 per thousand cubic feet [5] so 970 million * 117 lbs = 5.148 million metric tons.

California as a whole emits 359 million metric tons of CO2 per year [4] and PG&E generates 27% of the power in California, 27% of 359 million is 97 million metric tons. PG&E sells products which directly contribute 6.798 million metric tons, or about 7% of what I would consider "their share"

It's honestly lower than I was expecting but still significant.

[1] https://www.pge.com/en_US/safety/how-the-system-works/natura...

[2] http://www.pgecorp.com/corp_responsibility/reports/2007/envi...

[3] http://www.pgecorp.com/corp_responsibility/reports/2015/bu01...

[4] https://en.m.wikipedia.org/wiki/List_of_U.S._states_by_carbo...

[5] https://www.eia.gov/environment/emissions/co2_vol_mass.php