skysight-inc/HackerNews huggingface dataset:
I don't understand, I use skhd [0] which uses global shortcuts for things like window switching and I've never seen such a request. Unless asking for accessibility permission is the same thing, which I doubt (but admittedly don't know for certain).

[0] https://github.com/koekeishiya/skhd
> There's no way to optimize for minimizing left turns, especially onto busy streets.

Presumably this is already factored into route timings?
A virus with R0 of 2 and a mortality rate of 2% would kill 1% of the world population if no containment measures are taken. That would be 75 million people.
Discussed here: https://news.ycombinator.com/item?id=22216821
> I find it amusing that we recognize grand masters in chess and elite performs in other fields, but don't wish to acknowledge that such people exist in our fields.

It’s easy to rank people playing a zero-sum game where the only thing that varies is opponent, use ELO and call it a day. Software development is more complicated because the problems and quality of solutions aren’t even clear. So to me it makes sense that we don’t have software development grandmasters outside of things like IOI.
I use a totally different rule, a rule of C: if you feel that a code block needs a comment, extract it into a function with descriptive name.

With this rule duplicates rarely happen anywhere but in utility functions that extend the standard library.
This does exist but bash/sh is missing proper types. Examples include, null and numbers and anonymous functions.

Mathematica and other software platforms use bash as universal installer for Mac and Linux. I have seen languages that compile to bash but use is limited based on the language.
Running sudo requires the user password, which a script might not know. Unless of course sudo is configured with NOPASSWD.
> Why use Godot vs Unity3D?

To me, in part, it's that all licenses are source licenses. :- )

Also, I'm still having trouble cancelling my Unity billing, they are absolute scumbags and I will never ever do business with them again by choice. I think they rely on people giving up on cancelling billing, and they should be ashamed of themselves whether that effect is intentional or not.

If you absolutely must get a Unity license, I must recommend not getting the license on your account's "default project", because you can not delete it, nor can you simply cancel the license, and contrary to their documentation, you can not switch which one is the default.

> Is it easy to get something running for the Quest?

It is very straightforward.

https://github.com/GodotVR/godot_oculus_mobile
there's no way that's true in HK. there's images of people waiting in line to buy face masks.
I should say the first dozen(s) of cases in the same city. Hong Kong is past ten. I don't think any city in the EU or US is approaching that.

Noting the Chinese population doesn't believe their government and estimates the numbers of infected to be at least 10 times whatever is reported.

Also noting, Hong Kong was already in civil war right before the epidemic, remember it was being annexed by China. That's regular protests, transports/tubes/airports periodically closed and shops unable to resupply, so not everything is attributable to the virus.
I've found there can also be an inverse of the "red but no traffic" problem where Google Maps is unable to understand that there can be multiple lanes traveling at different speeds on the same street. When I lived in SF I would always run into this at the freeway entrance on 5th and Bryant (shoutout to the worst intersection in the city). The two leftmost lanes going onto the freeway would be backed up for blocks but because the right lanes were open they would average it to a moderate traffic rating and would always want to route me to get onto the freeway via that shitshow.
Great podcast, just listened while doing the dishes. It is fantastic to consider our limited time on Earth here, contrasted with the other current article today on writings about what to do with our time on Earth.
I like how they named it. If you can get permission for systemwide keystrokes it is also obviously able to see what you’re typing in other apps. More straightforward for those who are not tech oriented.
DOME is partially inspired by Love2D, although I've tried to approach things a bit differently. Love2D seems to expose a lot of SDL's underlying functions and concepts, whereas DOME aims to abstract a lot of that away.
No, literally a face mask, so that people know that you aren't going to give them the virus. I don't know if it's mandatory to wear a face mask.

But it doesn't seem like it would be too different from what always happens in Chinese New Year in Beijing. All the shopkeepers aren't from Beijing originally, so they close shop for two weeks and go back to their hometown. There's pretty much no restaurants open, except maybe chains. And people are shooting off fireworks all day, so the air is just as polluted as always (generally well above the level of an airport smoking lounge in the winter), so you want to be wearing an N95 mask anyway. (Generally if you can't see the mountains around Beijing, you should consider wearing an N95 mask)
Will this also check my form?
My unpopular opinion about black code formatter
The technical deep dive was a great read, thanks! I think it would be a good submission.

https://news.ycombinator.com/submit
The difficulty in this case is that the user must use this service. Most users want to use credit card or PayPal.
> I can't compare multiple modes of transportation on the same map. E.g. driving vs. walking vs. transit.

I do this all the time. I click between car, public transport, and walking to see the difference in travel time.
Flask Dashboard Black – Free Admin Panel Coded in Flask
But why would that permission be needed at all for this use case? Is there not a simple "allow us to create a keyboard shortcut" permission?
I did, it runs way too warm.

I am a bit afraid this mod will have the same problem.

Instead of plastic, it would be better to use a material that can conduct heat.
Is it basically the equivalent of the phrase "Corporate America"?
On Google maps on mobile, you should be able to touch the volume icon, then pick one of three audio modes, on, off, or one in between where I think it just gives you warnings but not street by street directions (has a speaker with a ! next to it as an icon.
But it only shows up when you are actually routing
> I don't think we have good models for power consumption to find out in a simulation, either.

There are excellent models available to predict power consumption but you'll need access to the processor RTL (the design of the processor typically written in a language such as verilog or vhdl) and / or the outputs of the implementation flow (like the netlist which is the description of the actual logic gates and their connectivity) to be able to use them.

Such things are normally not available outside the company building the processor and potentially their customers.
In the Google Maps app (both on Android and Android Auto) you can toggle between "Muted", "Alerts only" and "Unmuted". Alerts only is what I almost always use, and it only comes up to warn of congestion (eg "6 minutes of congestion ahead, this is still the fastest route"), accidents, suggested or required detours, etc.

The Google Maps android and web apps also let you switch between transportation modes to compare driving, walking, cycling and public transit. You can even change it to "leave at" or "arrive by" for any time of day for any day of the week, and it'll give you a decent idea of trip time.

I agree with the other suggestions though, it would be handy to minimize (unprotected) left turns, and optimize travel time.

The last one is probably more nuanced than it seems though. For example, I will usually want to go to the grocery store last to minimize the time groceries are sitting in a hot/freezing car, depending on what I'm buying and the weather.
Only because MacOS doesn't provide a more specific shortcut functionality. It should let an app register the specific keystrokes to get notified by, and doesn't need to notify which app was foreground when the shortcut was invoked.
I meant what numbers are you using.

Googling around, I got 9-17 tons of CO2 to produce a new car. Let's assume 17. For a mid sized gas-powered car, I found an estimate of 0.133 kg CO2/km driven, and for an EV, 0.043 kg.

Let's not count the CO2 the beater car's production put out, that's old news. Let's assume a new car gets driven 200 000 km before it is scrapped. For 200 000 km driven, we get these CO2 footprints:

Beater: 26.6 tons CO2
EV: 25.6 tons CO2.

So for those values, it's really pretty similar! The devil is in the details though - 17 tons of CO2 is a pretty rough estimate for production, one would hope to get more than 200 000 km out of a new car, and the means of electricity production has an effect on the EV's footprint per KM.
PalindromeDay: Geeks around the world celebrate 02/02/2020
Also a net negative engineer in one setting might not be a net negative in another. Where I used to work we had a senior programmer who never wrote any tests, claimed c++ was the best language ever while pushing c++ code with correctness errors, switched to go and wrote an algorithm with stateful variables that couldn't be multithreaded. Yet I'm sure that probably at least a few tines he must have written a few lines code at Facebook that saved them on the order of millions of dollars
I've visited and I wouldn't say that is true. There is all kinds of seedy. There are white/skinny seedy people walking rats, kinda freaky. But taking the downtown bus gave equal race representation when someone started a fight with me over there bag's right to occupy my seat. The Asian gangs robbing/hitting people on the bart I was on showed a different side of seedy. The uniquely San Fran treat was someone asking my opinion on my beat poetry they wrote around race struggles. After commenting positively (just to be nice) said Poet offered to sell and when refused when on racial rant and become very aggressive.

It's a diverse place of seed and rich. It's a very future feeling place. The experience made me think this is a slice of what the future will look like. It's kinda has this dystopian gothic novel feel. The mini subways (barts) are automated and cool and look like they are in the future but look like they are falling apart too. You get this weird post apocalyptic feeling of a future that has come and gone but hasn't reached you yet
I think the point is that the Chinese government didn't act swiftly, arrested people who initially spread information about the disease in Wuhan, failed to contain the situation, and has now allowed it to become a global problem.

Due to the way China's government has lied in the past, I am hesitant to believe their numbers or their narrative until it can be confirmed by outside parties.
Naoko Yamada: Filmed with the Heart
Bulletin Board Systems: The Vice Exposé
> ...if you don't like me and my solutions, what else is there?

I'd like to broaden this position a bit before laying out the alternative. I think the philosophy here (which I largely share) is that "if what you're doing isn't working, try something else".

Get educated, sure, but also think about moving for opportunities. See what's working for other people, and make it work for you. If your town's coal mine is shutting down, don't tell your kid to be a coal miner -- change something.

Funnily enough, this is an old-fashioned value on both the left and the right, even though it doesn't sound "conservative". It stresses drive and personal responsibility. It's a founding American value -- come to America, "Go West", all that. The policies to support it encourage a strong economy, education, transport, and a limited safety net, so when you fall down you can get back up again.

But "personal responsibility" sounds a bit like "poor people choose to be poor". And so the more recent philosophy: If there isn't a future for coal miners, don't tell people to do something else -- that's insulting, they are coal miners. You're not going to win any votes telling people their identity is wrong, and they should just try being something else.

If that coal mine is shutting down, we should protect the industry. We should move some government jobs into town to support the local economy. We should support them.

That's the message TFA is trying to get across. In America's new "identity-politics" mood, the poor are no longer "temporarily embarrassed millionaires", the less educated aren't just in need of more education. It's a populist philosophy that says to voters "We love you just they way you are, and we want to protect you and help you without judging you or changing you."
Warning: Potential Security Risk Ahead

Firefox detected an issue and did not continue to sci-hub.tw. The website is either misconfigured or your computer clock is set to the wrong time.

It’s likely the website’s certificate is expired, which prevents Firefox from connecting securely. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details.

What can you do about it?

Your computer clock is set to 2 February 2020. Make sure your computer is set to the correct date, time, and time zone in your system settings, and then refresh sci-hub.tw.

If your clock is already set to the right time, the website is likely misconfigured, and there is nothing you can do to resolve the issue. You can notify the website’s administrator about the problem.
Accessibilty is even more powerful/general control than this.

https://www.howtogeek.com/297083/why-do-some-mac-apps-need-t...
The case I find most annoying is driving from one city to another. I don't need directions on how to get to the highway, nor on how to drive straight for 200km[1]. I just want directions when I get close to the city I'm unfamiliar with. Currently, the best solution is turning on directions only when I get a chance to stop near my destination city.

[1] It seems this has gotten better in recent years with less frequent nagging to "proceed straight for 50km" from the app.
Sort of like the English phrase "in a few moments from now", also beloved of broadcasters.
Sounds like a bad API. There should be a way to register shortcuts and macros without giving keystroke information to the app.
It's also important for these apps to consider if it's really legally allowed for the current driver of the current vehicle to drive on that street.
Amazing work, I wish every service was covered like this!

Some feedback/things I'd like to see (or not see):

- Make the Comments section collapsible, right now it takes 1/4 of the screen

- Filtering by categories is kinda confusing, since filters affect both the left sidebar as well as the main view I'd expect the filtering UI to sit on top of both

- Better visibility/categorization for parameters that can only be set via command line
not the OP but I don't think the conclusion that many others have to stay poor if we go down the route of a dematerialised economy is true.

If anything I'd argue the steps towards prosperity in an ecologically sustainable way in this scenario are shorter for developing countries, it will protect their ecology (it is the third world who works in the strip mines for the batteries for affluent tesla drivers in California), accelerating digitization is cheaper than traditional infrastructure, it gives them the opportunity to leapfrog over traditional industries, it will drastically reduce the impact of climate change and so on.
Not at all. Kludge being the operative word. I claim the brain is fantastically not kludgy. It has incredibly flexibility, adaptiveness and no duct tape or shortcuts. It “has to be” incredibly good at so many things - it’s basically the perfect general computation machine. It “has to be” not kludgy. Minsky is part of an era where scientists were all about showing how humans were easily fallible and much of that was debunked.

Sorry but you’re not following my point or his if you think they agree.
> , not creating unnecessary tech debt, pro-actively owning and solving problems

Yea lots of junior programmers 'design for future' and 'follow best practices'.
She Helped a Customer in Need. Then U.S. Bank Fired Her
And I am guessing those who died were having already poor health
This is the first comment I've made on this forum about China, so whoever you're speaking to is clearly not me but a collective "you" instead. Responding as myself, I simply added balance to the comment above me. Many people are making the exact same argument the person I responded to is making, and while that argument isn't false, it's clearly misleading.

China does get credit for responding to the situation as they did after the central government got involved. However, we must remember that the situation would likely not have occurred in the first place if the people speaking out about it early on weren't punished, which wouldn't happen in most western countries as local governments have way less power and way less incentives to make that kind of thing happen. This situation is a good example of the problems of their authoritarian system, and a good reminder of why we value (or why we should value) the things we value in the West, like free speech.
Biggest difference I found moving from Europe was that you can make a right turn on a red traffic in many states in the US (but not in New york city apparently!). You have to treat it like a stop sign and yield to any traffic on the road you're joining. Ends making a journey of rights turns much fast than one with left turns, particularly in rush hour
Fair. I was talking specifically about emacs.
https://apollokit.org has this implemented somewhere, forget where... Probably an interesting code base for you anyhow
It’s maybe different in the UK but it’s great to have it for motorway (highway) journeys where a closure of a section of road can leave you dealing with a 4 mile route around winding roads. It’s also great for avoiding the traffic in the first place.
ERNIE is on display in the Science Museum in London if you happen to be in the area and want to have a look.

It's pretty impressive when you're up close and personal with it.

https://collection.sciencemuseumgroup.org.uk/objects/co62675...
The biggest challenge on the island would be loneliness.

While the bible is interesting and insightful, it isn't focused on the question of how to be happy living an isolated life.

I'm not sure there good books on that. Maybe Sara Maitland's book "how to be alone". maybe.
"Just a tiny change, password feedback is now enabled by default. So when you type your sudo password you’ll see asterisks instead of wondering if you’re typing anything at all ;)"

Argh. https://medium.com/elementaryos/loki-updates-for-the-new-yea...
Please thing I never understood was there app insisting on this is still the fastest route. As if it's supposed to be anything else when you searched for the fastest route to start with.
They take space for anything at reasonable size I'd guess.

Strangely enough though it's one of the few things I miss about the city I grew up in (Jeddah, Saudi Arabia) - lots of outdoor art and sculptures because they had lots of very large roundabouts (check Google images to see what I mean about the outdoor art).
Can an old Thinkpad run Linux? Is that the question? The answer is, definitely. Source: I have seven of them.
That’s like saying Florida is governed by fear because ppl are leaving and bunkering down when news of a big hurricane hits.

Come on.
The Good Parts of AWS Book by Daniel Vassallo
The threat here is if a non-interactive non-root user (e.g. one used for a service like Apache's httpd) is pwned by another means and then this is used to further escalate to root.

Otherwise you're right, despite much cargo cult, in practice pwning an user that can interactively run as root, is the same as pwning root.
I’m typing this reply on a T490. It ain’t your parents Thinkpad. Don’t get me wrong, it’s nice but I’d be surprised if it lasts me longer than an XPS or equivalent would.

Opening it up to add more memory and larger SSD was nerve racking. I was worried I might snap the tabs on the “glass fiber” shell. Better than an Inspiron or Pavilion but not confidence inspiring. I don’t look forward to replacing the battery in a couple years.
Competition is what should keep prices at bay, assuming no significant change in cost of production and market with no monopoly. Actually, more automation should in the long term reduce prices in real terms.
My opinion: If the model is based on crime stats, it’s ok. If it’s based on demographics, it’s a problem.
_What_ it tells you, however, depends on whether or not the combined metrics are used to evaluate people (or more accurately, whether people _think_ they're being evaluated by those metrics). Goodhart's Law[1], ruining everything since 1975.

[1] https://www.lesswrong.com/posts/YtvZxRpZjcFNwJecS/the-import...
Check out MapFactor Navigator. Has a good single-line global offline search feature, usually two search terms (such as street/POI name and city or postal code) suffice.
Also very good turn by turn voice navigation, an intuitive touch UI and other things one likes to see in a GPS app.
Completely free on Android with OSM offline maps (which they distribute in a heavily compressed but rather complete format).
Not affiliated but wouldn't drive out of town without it. You can also buy and use commercial TomTom maps within the same app if preferred.
https://play.google.com/store/apps/details?id=com.mapfactor....
There is also an iOS version.
I'm so confused as to why this is being downvoted.
In many (not all) times, these "universal installers" are only a small number of POSIX-compilant shell lines followed by some Base64-encoded binary. The whole purpose of the shell commands is to extract this binary.
I want the screen to stop dimming when navigating crucial junctions.
Oh of course. We can summarize the conflicts, complaints and angry points of the working class as nothing more than an urge to "complain and break things". I'm sorry but that's a load of dismissive nonsense. So is the notion that only the "far right" seeks to build text-book authoritarianism with a daddy figure who tells the working class how to feel and who to hate.

Either you've completely failed to pay attention to modern history or are deliberately ignoring a huge part of it but the left is just as guilty of the right of that very thing. They just (and even this only lightly) couch their authoritarianism and drive to spread hatred in different terms. In some countries (such as where I live), the left is just as nationalistic as any rightist.

To also claim that the elites with murderous, dishonest and literally criminal intentions are mostly unique to the self described right of politics is absurd.
Did I miss something? Have there been a lot of bad medicines that Trump's FDA approved and then had to recall because of adverse events?
There are downsides to democracy, one of those is that old people, women and minorities get a say in what happens. If they don’t want to sell out to corporate interests pushing growth at any cost, they can use their votes to favor slower more sustainable growth policies that protect people at the expense of corporate profits.
Every time I see a fiddly fix like this where we're changing a buffer counter to a postfix instead of a prefix increment, I always think "why are we doing this shit ourselves?"

We should have standardized a C API to safely read/write buffers from files, networks, etc. decades ago. But here we are in 2020 manually moving pointers around - and what a surprise that we're finding "whoops, another off-by-one error, you know how it goes."

No one should be writing new code to read/write bytes. This should be settled. It's like a carpenter building their own nail gun each time they want to build a house.
I spent my birthday at his zoo in 2018. Fascinating place and I highly recommend going there for the history. Also you can get stupidly close to zebras and donkey zebra hybrids that roam the area.