skysight-inc/HackerNews huggingface dataset:
I love the code smell of spaghetti code in the morning...
Madrid will keep it's car ban after all
Voice memos were a thing before we had voice assistants. Hell in the 15-20 years before that we even had plenty of automatic voice-memo systems that could be activated with a simple command.
Show HN: I made an iPhone app to help you relax and unwind
> It's so that images that you felt relevant to convey to your sighted audience can also be conveyed to your visually impaired audience.

Completely disagree. When used correctly, while background-image is an enhancement for sighted viewers, it's actually a distraction for visually impaired viewers where a screen reader needs to read the information sequentially.

Again, printing (where CSS background-images aren't shown by default) is a good test. If the printed page is still understandable, and actually easier to read on paper, without the background-image, it's probably a good use of the feature. If critical info is missing (stuff that would also be left out by a screen reader), it's a bad use of background-image.
Aren't quantum processors essentially special purpose accelerators, where most of the computation is still done on a classical computer? Shor's algorithm at least looks that way.
I agree. I have no direct experience with Heroku so I can’t comment on the experience/restrictions, but if a PaaS works well for what you’re doing, I’d go for it.
But the large majority doesn't know any better. I'd argue very few voters understand what's going on, or even what the policies of their chosen party had to offer. I mean, liberals had barely any policies and they won off a fear and smear campaign against labor.

Unfortunately it seems that all this taught labor is that they should push whatever the libs are in order to slow their fall.

Facebook and Google should absolutely tell the government to FO and block their services here. Our bratty government will then hopefully see that there are limits to their power and stupidity
I like the self-checkout because it enables me to get rid of a fistful of change without annoying the cashier.
Found some instructions for how to use the Golang backend: https://github.com/andyarvanitis/purescript-native/blob/gola...
Jonathan Blow draws some interesting implications of discoveries like this one in a recent talk: https://www.youtube.com/watch?v=pW-SOdj4Kkk
> I won't be the guy who causes shrinkage but it seems reasonable for the seller to pay something for the buyers' labor as cashier.

If it's reasonable, there's nothing stopping anyone from asking the store if they'd like to make that deal.

I suspect they don't offer a discount for self-checkout because those lanes would be overwhelmed.
I don’t believe Apple will transition away from x86 anytime soon but for different reasons. They would abandon the pro market if it moved to arm. Most x86 pro applications would have to be rewritten. What would be the incentive for software makers?

Apple might very will be able to bring out a arm stack for consumer market but there is no indication that they can compete with x86 pro or server market.
Hey I like this idea. This is something that needs to happen. Every website starts with aggressive CPU throttling, and then they can ask for permission to be unthrottled. "Our web page requires lots of CPU to deliver text, for some reason we would prefer you not think about, can you please unthrottle us?". This seems like an action browsers could take to significantly improve the web.
Don’t you have to do it just once though? I have a CloudFormation template that I wrote in 2014 to set up all VPCs, Subnets, Gateways, Security Groups, etc, and it’s still all valid today.
I can't help but feel T2 chip is just another cynical ploy to gradually kill off third party repairs by baking software functions into proprietary hardware that only the manufacturer have access to. It may be a sound security decision, but I have doubts whether it's worth it for the end user. It also goes against a wider industrial trend of moving from ARM to RISCV and other architectures.

On the other hand, do all these things matter to users and developers as long as external components are hidden behind buses and abstractions?
Where the heck is the link to the calculator?
Apple has already spent significant engineering effort to develop internal ARM chips, so RISCV doesn't seem on the horizon.

That said, at least one apple researcher has probably looked at RISC-V at some point, given their size and budget.
I feel your analogy needs a fourth sport to complete the 4 elements. But what sport would be represented by fire? Perhaps competitive shooting (gunpowder=fire)
I can't see Apple using any ARM chip other than their own. If they commit to converting OS X to ARM then they'll either produce it in-house or, less likely, buy AMD (or maybe just buy AMD's Zen tech only).

One of the main reasons for Apple to move to ARM is to control more of their technology stack. It's the direction they've been moving in for a while now and this would be part of that strategy.
I understand your concern and sympathize with those who starve themselves pathologically. However, the posts that you’re referencing are full of joy in the conquering of an addiction to eating. These people are taking steps that truly enhance quality of life and longevity.
Again, you don't pay taxes in terms of purchasing power.

You pay taxes in terms of USD.
(1) Nah, it certainly doesn't work "fantastically", but might work decently enough for you if you have bought an additional ipad stand. (2) If this was some really great solution and not just your personal workaround, Apple would have been promoting it years ago.

My point is the only way iPadOS can displace laptops is to be a laptop. Not this tablet-stand bullshit.
night and day imho
All depends on what your goal is. Are you looking for large scale out? Or are you iterating fast and don't want to mess with managing databases, CDN's, KV stores etc...? Note: A version of premature optimization is premature scaling. So beware of those offerings that require you to use a certain technology to enable AWS scale-out it can slow you down.
I am in agreement with everything generally except for CloudFormation and setting up Route53 zones manually.

I use Terraform to setup my infrastructure as service on AWS, including Route53 zones.

After the latest 0.12 upgrade to the language, Terraform is quite a bit more user friendly than CloudFormation, and importantly, not locked down to just Amazon -- it supports multiple clouds and on-premises solutions for declarative orchestration of resources.
For me hunger is a major distraction and doesn't quite help me to stay focused. How does one manage to keep going at work with the hunger?
I would add one important thing: it does not apply to business and politics when you want self serving or short term results. Otherwise, I would argue that it still applies.
This is what Jim Collins found with his colleagues in research about exceptional CEOs, and put in book "Good to great"
Fourier is gonna be big for representation discovery in reinforcement learning.
> The point though is not to create a dramatic effect.

Your comment reads like that of someone that studied film making, so I'm sure you realise that what you described is almost exactly a pure copy of Kubrik's framing of Bowman's helmet+face with light reflections in the 'entering the monolith' segment of 2001. As such, I'd be wary of being so sure it's not for artistic purposes.
Well done. I understood that. Thank you.
learn you a background-image
Pet peeve: everyone does math with CURRENT emissions rate. Um, we have over a century of backlog emissions we need to deal with too.

The only thing I last heard that was economical/promising was olivine, is that turning into a dead end?

Pumping CO2 into the ground sounds like it works great on paper, but I think we're fooling ourselves that it won't reenter the atmosphere.

Iron fertilization in the ocean might help acidification, but not atmospheric.

Tree planting might help but the trees die and decay eventually, and we need to sacrifice grazing land for that.
I wonder if ppl overthink this and make it more complex then it should with apps and references to ppl who really didn’t know much more than we do today about the brain.

Anyone tried sensory deprivation tank (or floating as it’s now known)?

Floating to me is the easiest method to let go of the monkey mind without trying. Dr John Lilly (the inventor) took it few notches further taking various substances to heighten his experience. I’m sure some ppl need that sort of journey to let go of memory loops/ptsd, but not required to float.
It seems like it would make sense to list the crimes that would fall under the "second chance" agreement to provide more information.

Like, some dingus 'hacking' into their school to change their sick days is very different than the criminal context of a 16 year old buying stolen credit cards online and using them to sell stuff on Instagram.

The type of kid that would fall into the police's 'naive-idiot' hacker criteria for this program is also probably not someone that would fare well in prison either.
These are publicly traded companies. We do not need to guess what they are doing.

Walmart has a profit margin of 1.62% https://www.macrotrends.net/stocks/charts/WMT/walmart/net-pr...

Target: 3.96% https://www.macrotrends.net/stocks/charts/TGT/target/net-pro...

BJs: 1.13% https://www.macrotrends.net/stocks/charts/BJ/bjs-wholesale-c...

For reference:

Alphabet: 19.71% https://www.macrotrends.net/stocks/charts/GOOG/alphabet/net-...

Microsoft: 31.18% https://www.macrotrends.net/stocks/charts/MSFT/microsoft/net...

McDonalds: 28.19% https://www.macrotrends.net/stocks/charts/MCD/mcdonalds/net-...
Very interesting point.

But what about maintenance?

Working in a place where we have hundreds of small apps, the issue of maintaining umpteen servers is a great pain. Docker reduces the footprint of what has to be maintained substantially.
Erased from history: how Sydney destroyed its trams for love of the car
I expect it’s that skim has the same amount of lactose sugar. But, with less fat you’ll likely drink more of it before being satisfied.

Everyone should try lactose-free milk just once just to see how very sweet it is. It has the same sugar content as regular milk, but regular milk’s lactose is a form of sugar that we don’t taste as strongly.
https://github.com/tilfin/aws-extend-switch-roles/blob/maste... may be interesting to you.

The fact that this has to exist is also interesting...
The wind subsidies have been in place since the 90's...

In fact there's strong evidence that such subsidies do more to inhibit energy innovation than promote its flourishing, especially since the govt picks and chooses winners/losers usually tied to certain contractors, groups or ideologies.

You might be a socialist. You might be anti capitalist. You might want and need the govt to provide you (I assume you think we all need it as well) purpose and meaning, and to give you absolution methods.

I'm good with all that. However, attempting to sell thinking individuals on the idea that without the government we'd all be living in wood shanties with coal stoves talking about technology is the devil is nonsense..

Texas has been an energy giant not because of govt, in spite of it.

Please keep your ideas in California.. We've got enough of you guys in Austin.
I love my iPad with the keyboard case. When I hook it up to an external monitor and my Kinesis keyboard, it’s even better. I’m looking forward to mouse support in iOS 13.

One of my favorite apps when it comes to the keyboard is Blink. It’s an SSH/Mosh client with a limited local shell. I use it to build a Jekyll site on an EC2 instance. Blink supports multi-monitor, so I can have different shells on different screens.

Multi-window in iOS 13 is going to be another game changer. This is the best device I’ve owned and I’m excited about what’s to come.
I’m curious what kinds of tasks and projects do you usually find yourself working on. Are they short term, long term, big/small, ...?
Seems like a distinction without a difference. On any PC with an SSD there is "a controller" and "some NAND" the difference with the recent Apple gear is they've changed which part you can remove and replace, and which you cannot. My computer also has NAND you can only address through a dedicated controller that handles the encryption, but I don't think of it as indicative of a revolution.
Damn, I wasn't thinking this through clearly. And it's damn complicated.

The relevant comparison is arguably greenhouse gas emissions per km. For ICE, you clearly must include emissions during refining. But that could be ~zero, if all the process energy were wind, solar or nuclear electricity. Or it could be an additional 70%, if all the process energy were petroleum. So the range is 1.0-1.7 times nominal fuel emissions.

For BEV, total emissions could be ~zero, if all the electricity were wind, solar or nuclear. But if the electricity were generated from fossil fuels, you'd have nominal fuel emissions plus both refining process energy and generation loss.

Electricity from natural gas could be the clear winner, because you get additional energy from two H2 for C converted to CO2. Unless leakage were too great. And there's ~no conversion loss in the vehicle. So that's maybe 0.4-0.7 relative to gasoline/diesel fuel emissions.

Electricity from coal and petroleum would clearly be worse. For coal, because there's ~no H2, and because generation efficiency is lower than for natural gas. And for petroleum, because you have the 0%-70% process energy, less H2 per C, and somewhat lower generation efficiency. But there's ~no conversion loss in the vehicle for either. So overall that's maybe 0.8-1.4 relative to gasoline/diesel fuel emissions.

Bottom line, relative to nominal ICE fuel emissions:

ICE ~1 to ~1.7
BEV ~0 to ~1.4

But hey, those are totally thumbnail estimates.
Extremely unlikely. The beauty about RISC-V is that it's open source and royalty free. Both arguments aren't that relevant for Apple, as they got an architectural license from ARM which gives them full access to everything and allows them to design their own chips and because the royalty charges are vanishingly small compared to the prices Apple charges for it's products.

Apple has also already invested so much effort in its own ARM chips that I believe it wouldn't make much sense for them to throw that away in favor of RISC-V, just for saving a few million dollars per year in royalties.
They're writing code obviously, but they are happy hiring mediocre programmers these days for their boring, mediocre products. They pay far lower than Google, Facebook and Amazon do. They make zero effort to recruit the brightest minds in the industry.
Higher Math Guide to Quadratic Factorisation – Theory and Applications
Swimming is the lowest impact on your body too. Anything involving running includes frequent jolts to ankles/knees/hips/lower back.

Cycling on standard bicycles concentrates pressure on your genitals and the nerve-dense region areas around them, and puts some pressure on the lower back.

Swimming can cause unique injuries to shoulders if your form isn't right, but otherwise is very smooth and low-impact.
I believe the distinction is that with PASETO, the versions are by specification not backwards compatible.

So, if my application supports v2 and you "forge" a v1 token, my application will not validate it.
I emailed him about this, and his response was essentially, it's not within the ability of publishers and their writers to get rid of these kinds of ads. Pop up ads went away because the consumers worked around them - that's why advertisers stopped demanding publishers put them on their sites.

So, wanna get rid of tracking cookies, continue as a consumer to block them and make them pointless. Advertisers will then stop demanding BoingBoing uses them.
Rewritten or recompiled?
Author here. Fair. I never used Terraform beyond playing with it briefly, so I can’t really comment on the differences. I tend to choose CFN mostly because I’m familiar with it.
I keep reading that Google Cloud is excellent. It is definitely enticing.

That being said, for me, the fact that it's Google is a big detractor. Non existent support, the worst documentation last I checked, and I read a "my account was closed unexpectedly" story every now and then.

Then there's the privacy angle, but the alternative companies are hardly bastions of user privacy themselves.

I worry that I will overcome my fears and start using it one day, only to years later try to undo that decision and wean off it like with Android, Search, Chrome, and (not yet) Gmail/GSuite.
Sort of related to this, but can someone explain to me why Zappa[1] isn't a bigger deal? It completely delivers, as far as I can tell, on the promise of deploying a WSGI app into a Lambda in a way that requires minimal configuration.

And yet, the project seems to have stagnated somewhat. Maybe it just did everything it set out to do? I'm not sure, but when people say "forget about Lambda because you'll have to roll your own shit" I wonder if they've heard of Zappa or not.

[1] https://github.com/Miserlou/Zappa
Applying a double standard between people is in itself unethical; that is my entire point. We can all choose to live by Amazon's rules, where maximizing profit without regard to ethics is acceptable, or we can live by our conventional sense of morality (which is what I want.) But insofar as we hold ordinary people to a different standard than Amazon, we are behaving unethically. The shoplifting is not central to my point.
What about development-wise? One of the big advantages I’ve found with Docker (at least on my teams) is that we’ve mostly eliminated discussions about things breaking on local dev machines due to environment differences. When things break it’s almost always due to code and configuration within our application itself rather than some OS package being a wrong version or something similar. How do you achieve that just using EC2 AMIs without maintaining remote EC2 instances for each developer and keeping them up to date?
I hate to say it because I'm generally an advocate of nationalized health care and think it's a good idea, but this is exactly the kind of case where in a national system she would have gotten no help. The US system allows for a lot of coverage for specialists for middle class patients that would be completely inaccessible in a single payer system. For those I know in developed countries with single payer systems what they've done for complex and critical medical cases like this is fly to the U.S. and pay what they can out-of-pocket.

21000 is a lot of money, but I would say the specialist care in this case was worth it. And her insurance undoubtedly paid out at least 4x that amount. It's sad that far from all people can afford an amount like that, but I would say this is more of an example of the system working rather than not working, since it seems like the alternative is no one (except maybe celebrities and elite) getting such care at all.
That's consolidating some controllers. It probably has more to do having fewer parts, fewer vendors, and better repair lock-in. It's not really an architectural step towards replacing the CPU--it's a southbridge with better marketing.
Can anyone think of any evidence to back up the claim a third of google searches are for images?
Ok, we've taken anti-pattern out of the title in the hope of this conversation getting on to something non-titley.
Ok, but the title isn't the article, and there are other things to discuss here.

https://news.ycombinator.com/item?id=20545932
Yes I can see that. I was never in a situation of maintaining more than a couple of apps, so my perspective might be shaped through that.
I'm a sucker, too. I tell the DMV how much I actually paid for the car. I had to go out of my way to ensure Garmin understood they sent me a second $600 watch, and be extra clear that when I returned it, they needed to make sure they didn't send me another in the RMA process.

I could say I sleep better at night. But I don't know. I'd get over selling the extra watch on eBay. I'm sure I've understated vehicle value in the past to save a few bucks on taxes. I apparently regret it so little that I can't even remember for sure. I've DEFINITELY bought things from out of state to avoid tax. shrug

None of us are perfect or perfectly moral, but I think starting out by not considering yourself a sucker for doing the logically correct thing (without bringing morals into it) is a good start.
They had that briefly at my local Costco, then killed it shortly after. Never found out why...
Personal/regional attacks are not allowed on Hacker News. Please don't post like that here.

https://news.ycombinator.com/newsguidelines.html

Also, please don't use HN for ideological battle. It's boring and predictable, and invites worse.
There are great points on SEO and accessibility, the latter which is sadly often an afterthought. However, the author does shoot themselves in the foot a little when the first "typical" example they offer is a div tag with an inline style="background-image: ...". It negates the the preceding point made on how it is bad for CMSes and CDNs and shackles them. Finally, advocating a polyfill to support the small number of users that don't need object-fit could potentially add more render-blocking for everyone if not done carefully.
I'll hate on GCP all day long but the one thing it has going for it is the permissions.
Multiple factors contribute. Paul Baran, inventor of packet-switched networks, added a footnote to a 1968 monograph noting that his parents' inner-city Philadelphia fire insurance had just been cancelled.

The unavailability, or high cost, of insurance may prove fatal to both homeownership and businesses.

https://www.rand.org/pubs/papers/P3780.html (footnote, p. 7)

Note too that Marginal Revolution, based at George Mason University, pushes an explicitly libertarian, market. fundamentalist, ideology. Cowan and Taborrok occasionally break type, but the exceptions prove the rule.

I'd need to review the article in depth, but an immediate observation is that in a media-saturated, advertising-filled world, demand is anything but exogenous.
Dude, you can strap your smartphone to a quadcopter and you have a flying 20-megapixel 60 fps camera with a multi-megabit internet connection. You can do real-time control of the flight. That's something you couldn't do with a 386, not unless you had a Predator to put it in.

And there's a whole category of new challenges not because of limited resources but because of abundant resources. Your photogrammetry drone can generate 72 gigapixels per minute of photogrammetry data. You have 200 teraflops on your desktop. How good of a 3-D model can you make? With how little human effort?

How about making things simpler and more flexible? Old GUI toolkits were designed around the need for 2-D raster operations to be hardware-accelerated. Are there simpler designs possible now that that's no longer a constraint? I'm exploring this in BubbleOS.

Sure, lots of game AIs are finite state machines. So in lots of games there's no challenge unless the NPCs gang up on you. But AlphaGo is also a game AI. It's a bit more sophisticated than an A* search! What would a game look like where you worked on a team with such AIs?

Smartphones also have multitouch. Yet >90% of people's interaction on them is using an on-screen keyboard, one-finger scrolling of lists, and tapping on prepackaged options. Can we do better? Are there UI paradigms that multitouch enables that would allow more creativity, despite the horrifying levels of lag in existing systems?

Security is a big problem, and most of the world is wasting their time on approaches like virus-scanners that can't work even in theory. But then there's seL4. What would a personal computer based on seL4 look like? How could we translate the guarantees it provides into practically useful power in the hands of everyday people?

Can you do voice recognition on every FM and AM radio channel in your area at once? What's the minimum hardware you'd need to do it?

There's lots of interesting challenges out there.