skysight-inc/HackerNews huggingface dataset:
Take Udemy Courses at $9.99
Doesn't Xauthority solve this? I thought we could use xauth to generate an unprivileged cookie and launch the program using it. Then it could not meddle with other X clients or even the clipboard.

Of course you should also prevent the program from reading the original privileged Xauthority data. Running it as a different user does the trick.
Surely `await f()` should be a type error if `f` doesn't return a future and checking for that seems useful. I am not up to speed on Python's types but in most type systems you can do something like `f : Future<Int>` which _will_ tell you what the future will eventually yield an `Int`.
I don't agree that mandated storage or fcas would reduce investment: FCAS capability is mandated in other economies, which are powering ahead with offering it. There are many other sources of cost and risk exposure which outweigh this one.

Otherwise, I agree with what you say.

Power investment is not 'oh well, I'll put it into fish oil instead' money, these are firms who specialize in this niche and who are looking to invest in this niche. The lack of government commitment to PV and wind is a bigger threat to them than a requirement to spend more capital including storage and frequency supply logic.
Difference Engine implemented in Brainfuck running on HP15C calculator from 1982
Those people were displaced by newcomers from the south-east. They belonged to haplogroup M,
Apple is reviewing code? I don't think the blob submitted to Apple includes actual source code. The way I understand it, they (briefly) tap through the app manually, and (like other stores) apply some automated heuristics on the binary.
You're right. In fact, there's this:

http://articles.latimes.com/1985-01-22/news/mn-10943_1_baby-...

which is likely the event that this lyric is referring to.
Well, I wonder if he did actually think about it as unfortunate that they weren't around, but also that he did what he thought must be done....

I always got the impression (not sure why) that some of those around him during the revolution thought Stalin was not the brightest.... but apparently that was wrong.
I assume other companies have testing processes that would pick up mining scripts like this. It sounds like "Ubuntu Snap Store" is similar to the AUR (which in fact can have lots of malware) in function. It's just the name is misleading.
Too complicated for whom?

We just gave up on Mesos. It has been impossible to hire a team to support Mesos, which in many ways, is simpler than k8s while delivering greater scale[1]. But it's been me and one other guy building the whole thing when we planned on having ten. We're planning on replacing it with something else, and New Guy wants that something else to be k8s. Or wanted. Then we spent an hour or so asking "So, how will you handle failure mode (that happened) X?" or "What about the teams that need Y?" and no ECS is looking real good to this guy.

At the literal end of the day, when a bug causes masters to lose quorum at 2am, do you want to be fixing that, or do you want an AWS or Azure team to be fixing that. When you have a hundred apps happily running but the coordination framework is down, so that if you lose and agent, or get lots of traffic, the system that would add or replace capacity is down, how fun is that? Well, we didn't have an outage, because all the apps were up and running, but thank goodness we didn't lose an agent of get a spike in traffic. You live in constant terror, because it never gets so bad (site down), but you have lots of near death experiences where you race against time to fix whatever fun way the system failed. God forbid you upgraded to the release (of Marathon) that has a failure mode of "shut everything down" (we didn't, because I'm "overly cautious", but others did).

Now for some companies, where they have the need for a huge cluster, and the cash and reputation to be able to hire for it, then Mesos or k8s seem like a great idea. But for everyone else, use ECS and have a team at AWS keep that thing running.

[1] I suspect it's probably easier to hire people for k8s, and at the same time more difficult to hire people who can actually do the work. k8s looks simpler than mesos, but is far more complicated. Mesos has a smaller following, but those I've met know what they're doing and respect the problem. And Mesos didn't get everything right, but it's "righter" than k8s IMHO. There's a need for a Mesos 2. =)
The Magic Lantern Shows That Influenced Modern Horror
We are talking about different things. I'm talking about keeping Kubernetes/Nomad alive and breathing and happy. The ops part of devops. You are talking about running stuff under them. I agree they are similar in running applications under them.

Operationally simple:

* 1 binary, for both servers and agents.
* 1 config file. For consul & nomad 2 config files.
* Upgrades are simple, bring down a node, replace binary, start it back up.

Docs are straightforward, it's easy to understand how Nomad works it's not complicated, you can get your head around the server/agent split and nodes and everything in an hour probably (for both nomad AND consul). k8s is a very complex beast, with many, many binaries and configs, there are helpers that get you setup, but they all have their own pros and cons, and sharp edges. Chances are you would not want to use a helper in a production setup, which means you have to understand all those moving parts.

Keeping a k8s cluster running nicely and upgraded consistently requires many full-time admins. Keeping a nomad cluster running requires very little work(I do it part time, maybe an hour a month on a busy month).

Arguably for dev/testing under consul & nomad, you would do this:

consul agent -dev &
nomad agent -dev &
nomad run myapp.nomad
nomad run traefik.nomad

Adding vault to the mix for secrets: vault server -dev &

For production use it's obviously more involved, but most of that is just around understanding your operational requirements and getting them working with nomad, not really about nomad itself.
I'll grant you this point given that evidently I don't know much about immigration in America, however this is somewhat removed from my initial claim and we sort of went on an unrelated discussion.

Do you agree that it's best to promote a message of "don't blame others for your failures" over a message of "your life is mostly dictated by luck"? I don't see how you could argue that the latter is better than the former.
sed combined with iTerm's abilities to type in multiple panes lets me edit 100s of config files across multiple servers at the same time.
When I used the word "cult", it seems like many other commenters have taken it in its literal sense (despite being in quotes). But yes I mean tribe.
I think there are class cultural habits ingrained that may ALSO play a role (the study described seems to talk about stress).

I live surrounded by thousands of people in NYCHA housing, as well as live in an area with a poverty rate in the 40 percent range. Now, one thing that strikes me every day, and moreso in the warmer months, is the amount of noise people live within. In stores, a radio plays everything including commercials, while in the courtyards of the buildings people blast music at extremely high levels. And it's not the opera they're blasting, either. It's music that demands attention with massive bass. Cars park with their trunks open doing the same. Now if children grow up in these environments, how in the world can they have sharpened minds if they're assaulted by loud, distracting noise during every weekend and evening?

I don't know how strong a factor this is globally, but I'm pretty confident it's something that should be researched and perhaps, just like we have nutritional health research and recommendations, we should also have 'environmental' ones that include noise levels and effects on children and stress. The poor need it more than anyone since they have no choice. The rest of us move (or help gentrify away noise, if I'm cynical).
Because the left thinks that the fix for housing shortage caused by governmental regulation starving the market of housing is for the government to intervene further and subsidize the thing they made unobtainable.
That might backfire on an HDD and it's a very convoluted scenario (loading from disk and decompressing when hogging all of the CPU).

Many people even with a quad core i5/i7 might have a small SSD just for Windows and important stuff and any large game goes onto the HDD, the fact you'd do such a trade off and make the game size swell only makes the effect worse and user more likely to use HDD.

Linux (the kernel) is compressed by default (that's why the filename is vmlinuz, vm for virtual memory support, z for compression) and it doesn't impact the startup enough to have many/most distros take it out.

Simple compression might not bring lots of savings but it'll at least help a bit. And with BMP instead of PNG a game would just blow up in size to crazy proportions. There also is some (still patented?) lossy tech to decompress on the GPU, not the CPU: https://en.wikipedia.org/wiki/S3_Texture_Compression

Ooodle from RAD game tools (kind of a veteran gaming middleware company with some prominent game devs employed at it and prices being 'contact us') also has some really fast compressors and decompressors (but I've never used them and I don't want to ask for a testing SDK if I don't consider buying their product).

You can also trade time on your end for optimization that is then literally free to the end user, e.g. use pngopti.

Tokyo Dark (a VN-ish game from Japan) was notorious (for like 30 reasons but this one is very annoying) and loaded entire several hours long 500+ meg game off of the disk at once at start up for no reason other than it being simple to do or done by their Construct 2 set up. Just some compression or pngopti would help a lot for that, I remember cutting like 5 or 10 percent of game size using just pngopti.

John Carmack said that to make Rage's MegaTexture system assets work (and they still ended up being huge) he used some 200 GB server to optimize it for hours.

Crash Bandicoot also used some smart packers that took ages to run at the time on multi thousand dollar workstations (90s).

All in all: I mean to say that compression and size optimization might still be worthwhile, is cheap and doesn't have to imply a big cost to the end user, more often than not the cost is very asymmetric and the compressor pays way more than the decompressor (e.g. 7zip ultra takes hours to pack many gigs of files and uses 17 GB of RAM but the unpacking of such an archive takes just 10-30 minutes and is actually limited by my HDD speed).
Some people simply don't get addicted to the same drugs despite similar usage habits as others. So I suspect susceptibility to addiction is almost purely a function of biology.

That's not to say people can't get past the handicap, but IMO it's not even close to a level playing field.

Personally, I have zero attraction to alcohol and drink something like 3-5 times a decade. However, even a brief exposure to cigarettes as a teen as in less than a single pack was enough to get a very strong craving. I responded to that by avoidance, but even 20 years later I still have a craving it simply never went away. However plenty of people have the reverse reactions with heavy alcohol addiction.
One word: electron.
At the time, Russia was far far behind industrially, even under the Romanovs, and a highly industrialized Germany was rumbling next door.

Kind of like in the early days of the civil war, few union generals were up for kamikazeing their men against heavily fortified confederate positions. In Grant, we found a man unconcerned enough to pull that trigger.

Have to wonder if the reign of Stalin was a consequence of communism, a peculiarity of a dire military circumstance, or maybe a little of both...
The parent brings to mind Steve Jobs responding to the email of a critic: And what have you done? What have you created?
Indeed, there is not.

I had to run the example design to fully understand what it's trying to do.
New Ebola Outbreak Could Take 'Three, Maybe Four' Months to Control
Prop 13 is just a phenomenal transfer of wealth from the young and working class to the old and wealthy. Don’t kid yourself that it was ever about anything else.
How to Build a $750/Month WordPress Business: An Interview with Kernl.us Founder
There are tests that take that issue into account.

Sure, you can study/practice and improve your score, but so can the other guy, and the relative difference between your scores remains largely the same.
I can't remember where I read it, but I recently read something along the lines of: "no posture is perfect; the body is not a static entity, we are constantly moving and adjusting to our environment". Moving a lot and in different ways seems like it's better than sitting/standing still in the same position all day long.
Sweden: Church calls forbidden in town were mosque is allowed to air 110dB
From what I gather, Snappy is mostly a marketing gimmick by Canonical. If you want to packages apps, you should use something like FlatPak or AppImage.
Reviving Smalltalk-78 (2014) [pdf]
Fair enough. To your original comment, I was part of a large transition from bare metal servers and custom rolled CI, deployment, monitoring, etc over to using Mesos and the end result was infinitely more pleasurable and productive to work with as an engineer.
It’s the government dictating who can live where and do what via egregious over regulation that bans people from the city. If they’d cut the red tape and let housing be built the economy would normalize toward construction cost over time.
Pretty much this whole thread is people coming up with better ways of solving the problem. I love Hacker News! :)
But I think the point of the blog (for me) is showing what 'ed' is and where can you use it for (the problem at hand is secondary). And it did exactly that for me, I knew about 'ed' but never really understood what made it special or where/how you could use it. Thanks Julia for enlightening me!
Wasn't this on HN a few days ago?
> a laptop sat in place of the bingo drum. Kenneth Biby, the property manager at Natalie Gubb Commons, clicked a button, sending the lottery numbers to a randomizing website.

Surely not?
So, what does the word “static” mean in this context, that the binary’s behavior does not change?
The author writes "Programming language dies, when somebody deletes all code and documentation files and backups of files, books, papers etc from everywhere in the world."

I disagree. That's not the definition that people use when they say that a human language is dead, and it shouldn't be the definition people use when describing a computer language.

Latin is a dead language. That doesn't mean that no one speaks it, nor does it mean that no literature is available in Latin. It's still an official language of the Vatican. There's also Nuntii Latini, a news service which broadcasts in Latin. They've had to make up vocabulary for concepts which didn't exist 2,000 years ago.

But Latin is still a dead language.

Similarly, PL/I is a dead computer language. Sure, there's still support for it (https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?subtype=c... ). But it's a dead language.

So is SNOBOL and its many variants.

So is TRAC, despite the many fans who learned about it through Nelson's 1974 book "Computer Lib".

Hieroglyphic Egyptian is a dead language, even though people can read and write it.

So is cgi-lib.pl, which was the most popular web framework back when Perl4 ruled the web. (I checked; last update was 19 years ago.)
That’s a reasonable answer, although I think the better solution for those people would be to pay them more. Increase taxes and prices.

I read the other day on the nytimes that a fire chief in the Bay Area makes $500k. Doesn’t it make more sense to pay people better than to create separate classes of people who either pay real world prices or those who get subsidized.
In Toronto highly-trained cops are leaving because salaries in the exurbs are comparable and afford a higher standard of living (because you’re not forking as much over for housing).

This is a loss for the city because training is expensive. This movement is being repeated across professions.
Ideally the free market would take care of this. But homeowners have been able to hijack the market through rent seeking behaviours that tightly regulate housing. It's very hard to break the market dominance of land owners. Until someone can develop a palletable political solution to do so affordable housing will have to be government mandated or provided.

Further there will always be a segment of the population who can't afford to house themselves (note this is much smaller than those who can't afford housing due to the dysfunctional market). As a society we should be looking out for people who need extra help.

Edit: I'm getting downvoted on this. That's fine, but can someone explain what I said wrong?
But also wealthy single family owners being heavily subsidized by prop 13.
Hm. Fair enough. I guess I still had in mind the recent "brutalism on web" articles that showed stuff which really had nothing to do with actual brutalism-the-architectural-style.

Anyway, I was only arguing priorities.
Also, artists et cetera are fun to have around. Look up the history of the Hotel Chelsea, originally sold as luxury long-stay rooms where wealthy folk could mingle with artists staying in subsidised apartments. The model is coming back into favour in New York.
> teachers? Police? Those in the restaurant industry?

If they can't afford to live in the city then you could not fill the jobs without increasing wages. It's a self balancing problem. Further, higher wages increases the costs of restaurants etc which feeds back into pay.

Planned economies don't work because economies are ridiculously complex. Yet people always want to say 'just this once we need subsidies' for say corn production while ignoring the huge negatives associated with such choices.
The Thirty Million Line Problem [video]
Can you survive in a city with no one but bankers and tech people? No police, no resturaunts, no firefighters, no cleaners, app because the closest place they can afford is 4+ hours away? Are you going to take turns with your co-workers to clean the bathroom everyday, take out the trash, and clean the floors? Are you able to pull the long hours tech jobs require and still have time to cook food everyday? How would you even get that food if supermarkets can't keep employees around to stock the shelves?

This is all the extreme end of the situation, and we're not there yet, but it's the path we're on in many cities with San Francisco being at the forefront.

You can't have every worker specialize in to a narrow niche and then suddenly remove half of those niches from your society with no replacement and expect it to run smoothly
Thermal Resonator Generates Electricity from Thin Air
GitLab. We at GNU Wget have almost entirely moved all our development processes to Gitlab and its been amazing.

The CI integration is far better than what github + Travis offer.

Gitlab has been steadily improving and I don't see any lags and slowdowns which used to be a thing in the past.

Not to mention that they are far more open about their platform and don't enforce propriety scripts on you.
If the iPhone counts as a new idea then I don't see why the Apple Watch doesn't. The airpods should probably count as well.
Well I hope we meet again on a thread that's a more appropriate platform to spread my lunatic gardener beliefs.

I enjoyed the discussion and learned something new about the honey bee.
That applies to most things that take an extreme amount of effort: most don't have the opportunity (or make it) to travel far from where they come from. As an intrepid traveller myself, I found that it doesn't really matter when you are interacting with people you like: everyone interesting travels somewhere in their mind, if not the world, and has stories to tell.

But yeah reading this article I'm thinking, I HOPE I never have to worry about frostbite. Kudos to the author.
Humans just don't live long enough to benefit as a generation when it comes to this kind of rapid and radical progress, which is sad.

That said, I think the issue is largely one of mindset. Although we don't live very long, we are unusually adaptable, a feature which becomes lost in the comfort of an agreeable status quo. Unfortunately for the Luddites, it wasn't a feature that manifested again when that status quo was upended.
Interesting, I've seen the opposite trend, which is especially noticeable overseas (5 years ago you would see virtually no MacBooks, now its 50%+).
Whoa, I made Hextris (https://github.com/hextris/hextris, one of the games removed from the store) a few years ago! Is there any precedent in OSS developers being held responsible for misuse of their code?
This is what I’ve observed in ultra liberal (mostly white cities) on the west coast especially: all of the local residents are for helping the poor, until they realize that helping the poor implies they have to do more than discuss social issues with their children at dinner. When it comes to supporting policies, it becomes pure self interest and “preserving the character of my city” ie everyone is white and wealthy.
Looks like a more efficient and much faster way to explore the area if they can solve the thinner atmosphere but, if their missions are autonomous and it seems that can't be modified in real time, what happens with the mars storms?

I hope that they have a software to take measures if the air pressure or the light levels change suddenly.

Couldn't the differences in temperature between shadowed and sunny areas create turbulences?
I very much enjoyed the development of the answer by eliminating the less sensible ideas and methods, and the way that this caused an incremental telescoping toward what he wanted to say. In short, it mimicked the process of elimination, and a self help read featuring deductive logic was very refreshing.

>But a man who procrastinates in his CHOOSING will inevitably have his choice made for him by circumstance.

This hit close to home. Tough decisions are not easy to make, but waiting and thinking too long certainly has disadvantages. Often, ime, hindsight is the only entity that knows the correct choice. I was a floater early on and, at times, find myself wishing I had swam instead. Anyhow, I had never read this before, but it goes right up there with the Desiderata[0], imo.

>0: https://en.wikipedia.org/wiki/Desiderata
I asked this of Ed Lee directly at an event at work and he hemmed and hawed and said "how can you be against teachers?". At which I reiterated, "Your new affordability test would allow a new college grad software engineer at Google to get below-market rent; why can't we just pay specific people, say teachers and firefighters with families more?". He had no answer.

My conclusion is that most of our policies are driven by a combination of people not thinking through the consequences and people giving handouts to developers. Sometimes those are the same people :).
Really depends on the person. Many people like myself with ADD type symptoms get better focus by having background sensory input. Helps to alleviate boredom and fatigue. Of course, many things can still be obnoxious. Id agree having a choice is a better life